OSDN Git Service

105c95fb4f0f4ec9d23f1853d9f56685da30292d
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
2
3         * Makefile.am: Add imported files.
4         * Makefile.in: Regenerate.
5
6         2004-10-24  Casey Marshall  <csm@gnu.org>
7
8         * javax/security/auth/login/LoginContext.java: Implemented.
9         * javax/security/auth/login/Configuration.java (getConfig): New method.
10         * javax/security/auth/spi/LoginModule.java,
11         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
12
13 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
14
15         Import/Merge the X.509 certificate code from Classpath.
16
17         * Makefile.am: Add imported files.
18         * Makefile.in: Regenerate.
19
20         2004-11-07  Casey Marshall  <csm@gnu.org>
21
22         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
23         priviliged action. Add new algorithms.
24         * gnu/java/security/provider/X509CertificateFactory.java
25         (engineGenerateCertificate): Chain exceptions.
26         (engineGenerateCertificates): Likewise.
27         (engineGenerateCRL): Likewise.
28         (engineGenerateCRLs): Likewise.
29         (engineGenerateCertPath): New methods.
30         (generateCert): Throw exception if 'inStream' is null.
31         (generateCRL): Likewise.
32         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
33         version from GNU Crypto CVS.
34         * gnu/java/security/x509/X509CRL.java: Likewise.
35         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
36         * gnu/java/security/x509/X509Certificate.java: Likewise.
37         * java/security/cert/TrustAnchor.java: Call 'toString' and not
38         toRFC2253.
39         * gnu/java/security/provider/CollectionCertStoreImpl.java,
40         * gnu/java/security/provider/EncodedKeyFactory.java,
41         * gnu/java/security/provider/GnuDHPublicKey.java,
42         * gnu/java/security/provider/GnuRSAPrivateKey.java,
43         * gnu/java/security/provider/GnuRSAPublicKey.java,
44         * gnu/java/security/provider/MD2withRSA.java,
45         * gnu/java/security/provider/MD4withRSA.java,
46         * gnu/java/security/provider/MD5withRSA.java,
47         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
48         * gnu/java/security/provider/RSA.java,
49         * gnu/java/security/provider/RSAKeyFactory.java,
50         * gnu/java/security/provider/SHA1withRSA.java,
51         * gnu/java/security/x509/GnuPKIExtension.java,
52         * gnu/java/security/x509/PolicyNodeImpl.java,
53         * gnu/java/security/x509/Util.java,
54         * gnu/java/security/x509/X509CRLSelectorImpl.java,
55         * gnu/java/security/x509/X509CertPath.java,
56         * gnu/java/security/x509/X509CertSelectorImpl.java,
57         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
58         * gnu/java/security/x509/ext/BasicConstraints.java,
59         * gnu/java/security/x509/ext/CRLNumber.java,
60         * gnu/java/security/x509/ext/CertificatePolicies.java,
61         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
62         * gnu/java/security/x509/ext/Extension.java,
63         * gnu/java/security/x509/ext/GeneralNames.java,
64         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
65         * gnu/java/security/x509/ext/KeyUsage.java,
66         * gnu/java/security/x509/ext/PolicyConstraint.java,
67         * gnu/java/security/x509/ext/PolicyMappings.java,
68         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
69         * gnu/java/security/x509/ext/ReasonCode.java,
70         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
71         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
72
73         2004-11-07  Casey Marshall  <csm@gnu.org>
74
75         * gnu/java/security/x509/X509CRL.java:
76         Missed import statements in previous checkin.
77
78         2004-11-07  Casey Marshall  <csm@gnu.org>
79
80         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
81         to 'X509CertificateImpl' from previous checkin.
82
83 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
84
85         PR other/14264
86         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
87
88 2004-11-11  Casey Marshall  <csm@gnu.org>
89
90         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
91         channel is open.
92         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
93         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
94
95 2004-11-11  Robert Schuster <thebohemian@gmx.net>
96
97         Fixed regression:
98         * gnu/java/beans/IntrospectionIncubator.java:
99         (addMethod): Corrected classification of normal and property methods.
100         (capitalize): Added documentation.
101         (DoubleKey): [class] Added documentation.
102
103 2004-11-09  Tom Tromey  <tromey@redhat.com>
104
105         * include/jni.h: Added FIXME.
106
107 2004-11-08  Tom Tromey  <tromey@redhat.com>
108
109         * java/util/GregorianCalendar.java: Removed unused imports.
110         * java/util/Vector.java: Removed unused import.
111
112 2004-11-07  Michael Koch  <konqueror@gmx.de>
113
114         * java/lang/Process.java:
115         Import cleanups.
116
117 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
118
119         * java/util/zip/ZipEntry.java
120         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
121
122 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
123
124         Fixes bug #10908
125         * gnu/java/beans/IntrospectionIncubator.java:
126         (addMethod): static methods are discarded now, too.
127
128 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
129
130         * java/util/GregorianCalendar.java
131         Added/amended documentation.
132
133 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
134
135         * java/util/Collections.java
136         Added documentation.
137         * java/util/SortedMap.java
138         Clarified some method examples.
139         * java/util/SortedSet.java
140         Clarified some method examples.
141
142 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
143
144         * java/util/Currency.java
145         Documented variables and methods more fully.
146         Caches the currency instances, so that a request
147         for a locale, l, only ever returns the same
148         instance (i.e. successive calls to getInstance(l)
149         are reference equivalent (==)).
150
151 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
152
153         * java/util/Date.java
154         Added missing documentation.
155
156 2004-11-06  Michael Koch  <konqueror@gmx.de>
157
158         * java/util/zip/CheckedInputStream.java,
159         java/util/zip/InflaterInputStream.java,
160         java/util/zip/ZipFile.java,
161         java/util/zip/ZipInputStream.java:
162         Import cleanups.
163
164 2004-11-06  Tom Tromey  <tromey@redhat.com>
165
166         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
167         package-private.
168         (connections): Likewise.
169         (scavenger): Likewise.
170         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
171         package-private.
172         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
173         package-private.
174         (ptr): Likewise.
175         * gnu/classpath/ServiceFactory.java (log): Now package-private.
176
177 2004-11-06  Tom Tromey  <tromey@redhat.com>
178
179         * javax/naming/directory/BasicAttributes.java (attributes): Now
180         package-private.
181         * javax/imageio/spi/ServiceRegistry.java (categories): Now
182         package-private.
183
184 2004-11-06  Tom Tromey  <tromey@redhat.com>
185
186         * java/net/URLClassLoader.java (URLClassLoader): Now
187         package-private.
188         * java/nio/charset/CoderResult.java (CoderResult): Now
189         package-private.
190         (get): Likewise.
191         (Cache): Likewise.  Don't synchronize on `this'.
192         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
193         package-private.
194         * java/util/TimeZone.java (timezones): Now package-private.
195
196 2004-11-06  Tom Tromey  <tromey@redhat.com>
197
198         * java/security/Permissions.java (perms): Now package-private.
199         * java/security/UnresolvedPermission.java (permissions): Now
200         package-private.
201
202 2004-11-06  Tom Tromey  <tromey@redhat.com>
203
204         * java/io/FilePermission.java: Reindented.
205
206 2004-11-06  Tom Tromey  <tromey@redhat.com>
207
208         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
209         package-private.
210         (setBlockDataMode): Likewise.
211
212 2004-11-06  Tom Tromey  <tromey@redhat.com>
213
214         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
215         package-private.
216         (Encoder): Likewise.
217         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
218         (Encoder): Likewise.
219         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
220         package-private.
221         (Encoder): Likewise.
222
223 2004-11-06  Mark Wielaard  <mark@klomp.org>
224
225         * Makefile.am: Add new javax.imageio files.
226         * Makefile.in: Regenerated.
227
228 2004-11-06  Michael Koch  <konqueror@gmx.de>
229
230         * javax/imageio/event/IIOReadProgressListener.java,
231         javax/imageio/event/IIOReadUpdateListener.java,
232         javax/imageio/event/IIOReadWarningListener.java,
233         javax/imageio/event/IIOWriteProgressListener.java,
234         javax/imageio/event/IIOWriteWarningListener.java,
235         javax/imageio/metadata/IIOMetadataFormat.java,
236         javax/imageio/stream/FileCacheImageInputStream.java,
237         javax/imageio/stream/FileCacheImageOutputStream.java,
238         javax/imageio/stream/ImageInputStreamImpl.java:
239         Import cleanup.
240         * javax/imageio/metadata/package.html: New file.
241
242 2004-11-06  Michael Koch  <konqueror@gmx.de>
243
244         * javax/imageio/spi/ImageReaderSpi.java
245         (isOwnReader): New method.
246         * javax/imageio/spi/ImageWriterSpi.java
247         (isOwnWriter): Likewise.
248
249 2004-11-06  Michael Koch  <konqueror@gmx.de>
250
251         * javax/imageio/ImageWriter.java
252         (convertImageMetadata): New abstract method.
253         (convertStreamMetadata): Likewise.
254         (write): Likewise.
255         * javax/imageio/stream/FileCacheImageInputStream.java
256         (close): Fixed setting of stream to null.
257         (checkStreamClosed): Throws IOException.
258
259 2004-11-06  Michael Koch  <konqueror@gmx.de>
260
261         * javax/imageio/stream/FileCacheImageInputStream.java,
262         javax/imageio/stream/FileCacheImageOutputStream.java,
263         javax/imageio/stream/FileImageInputStream.java,
264         javax/imageio/stream/FileImageOutputStream.java,
265         javax/imageio/stream/MemoryCacheImageInputStream.java,
266         javax/imageio/stream/MemoryCacheImageOutputStream.java:
267         New files.
268
269 2004-11-06  Michael Koch  <konqueror@gmx.de>
270
271         * javax/imageio/metadata/IIOInvalidTreeException.java,
272         javax/imageio/metadata/IIOMetadataFormatImpl.java,
273         javax/imageio/metadata/IIOMetadataNode.java:
274         New stub files.
275
276 2004-11-06  Michael Koch  <konqueror@gmx.de>
277
278         * javax/imageio/stream/ImageInputStreamImpl.java,
279         javax/imageio/stream/ImageOutputStreamImpl.java:
280         New files.
281
282 2004-11-06  Michael Koch  <konqueror@gmx.de>
283
284         * javax/imageio/ImageIO.java:
285         Added much new methods.
286
287 2004-11-06  Michael Koch  <konqueror@gmx.de>
288
289         * javax/imageio/ImageReader.java,
290         javax/imageio/ImageWriter.java,
291         javax/imageio/spi/ImageWriterSpi.java:
292         Add SOME new methods.
293
294 2004-11-06  Michael Koch  <konqueror@gmx.de>
295
296         * javax/imageio/IIOParam.java,
297         javax/imageio/ImageReadParam.java,
298         javax/imageio/ImageReader.java,
299         javax/imageio/ImageWriter.java:
300         Mostly implemented.
301         * javax/imageio/spi/ImageReaderSpi.java,
302         javax/imageio/spi/ImageWriterSpi.java:
303         New files.
304
305 2004-11-06  Michael Koch  <konqueror@gmx.de>
306
307         * javax/imageio/ImageWriteParam.java,
308         javax/imageio/metadata/IIOMetadataFormat.java:
309         Implemented.
310
311 2004-11-06  Michael Koch  <konqueror@gmx.de>
312
313         * javax/imageio/ImageTypeSpecifier.java:
314         Mostly implemented.
315
316 2004-11-06  Michael Koch  <konqueror@gmx.de>
317
318         * javax/imageio/metadata/IIOMetadata.java:
319         Mostly implemented.
320
321 2004-11-06  Michael Koch  <konqueror@gmx.de>
322
323         * javax/imageio/IIOImage.java,
324         javax/imageio/ImageReadParam.java,
325         javax/imageio/metadata/IIOMetadataController.java,
326         javax/imageio/metadata/IIOMetadataFormat.java:
327         New files.
328         * javax/imageio/stream/ImageOutputStream.java:
329         Implemented.
330
331 2004-11-06  Michael Koch  <konqueror@gmx.de>
332
333         * javax/imageio/IIOParam.java,
334         javax/imageio/IIOParamController.java,
335         javax/imageio/ImageTypeSpecifier.java,
336         javax/imageio/ImageWriteParam.java,
337         javax/imageio/metadata/IIOMetadata.java:
338         New files.
339         * javax/imageio/ImageTranscoder.java:
340         Implemented.
341
342 2004-11-06  Michael Koch  <konqueror@gmx.de>
343
344         * javax/imageio/spi/ImageInputStreamSpi.java,
345         javax/imageio/spi/ImageOutputStreamSpi.java:
346         Reworked import startments.
347         * javax/imageio/spi/ServiceRegistry.java:
348         Reworked import startments. Fixed XHTML in javadocs.
349         (ServiceRegistry): Added @param tag to javadoc.
350         * javax/imageio/stream/ImageInputStream.java
351         (mark): Doesn't throws IOException;
352
353 2004-11-06  Michael Koch  <konqueror@gmx.de>
354
355         * javax/imageio/ImageIO.java:
356         New file.
357
358 2004-11-06  Michael Koch  <konqueror@gmx.de>
359
360         * javax/imageio/spi/IIORegistry.java
361         (static): Don't register ImageReaderSpi.class and
362         ImageWriterSpi.class yet.
363
364 2004-11-06  Michael Koch  <konqueror@gmx.de>
365
366         * javax/imageio/spi/IIORegistry.java:
367         New file.
368
369 2004-11-06  Noa Resare  <noa@resare.com>
370
371         * java/net/Socket.java (getPort): Return 0 instead of -1 on
372         unconnected sockets.
373
374 2004-11-06  Michael Koch  <konqueror@gmx.de>
375
376         * java/lang/StringBuffer.java,
377         java/lang/Throwable.java,
378         java/security/spec/DSAParameterSpec.java,
379         java/util/zip/ZipEntry.java,
380         java/util/zip/ZipFile.java,
381         java/util/zip/ZipInputStream.java,
382         java/util/zip/ZipOutputStream.java:
383         Removed redundant and reordered modifiers.
384
385 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
386
387         * java/io/Vector.java
388         (writeObject): New function to serialized output thread safe.
389
390         * java/io/ObjectOutputStream.java
391         (writeObject): Move the assignment of the class handle to after
392         the assignment of class descriptor handle.
393
394 2004-11-06  Robert Schuster <thebohemian@gmx.net>
395
396         Fixes documentation and indentation
397         * java/beans/PropertyEditorSupport.java:
398         reworked initial API doc
399         (value): changed name from val
400
401 2004-11-06  Robert Schuster <thebohemian@gmx.net>
402
403         Updates to 1.5
404         * java/beans/PropertyEditorSupport.java
405         (PropertyEditorSupport()): Changed modifier to public
406         (PropertyEditorSupport(Object): Changed modifier to public
407         (setSource): New method
408         (getSource): New method
409
410 2004-11-06  Robert Schuster <thebohemian@gmx.net>
411
412         Fixes bug #10799
413         * java/beans/PropertyEditorSupport.java
414         (setValue): Fire property change event
415
416 2004-11-03  Tom Tromey  <tromey@redhat.com>
417
418         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
419         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
420         returns jobjectArray.
421         (_Jv_JNIEnv::NewObjectArray): Likewise.
422
423 2004-11-01  Tom Tromey  <tromey@redhat.com>
424
425         * verify.cc (state::check_no_uninitialized_objects): Removed.
426         (push_jump): Updated.
427         (push_exception_jump): Likewise.
428         (handle_ret_insn): Likewise.
429         (handle_jsr_insn): Likewise.
430
431 2004-10-30  Mark Wielaard  <mark@klomp.org>
432
433         PR libgcj/18234
434         * java/lang/Runtime.java (static): Call init().
435         (Runtime): Remove call to init().
436         (init): Make static.
437
438 2004-10-28  David Daney  <ddaney@avtrex.com>
439
440         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
441         * Makefile.am: Build it.
442         * Makefile.in: Regenerate.
443
444 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
445
446         PR libgcj/18104
447         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
448         colon.
449         * Makefile.in: Regenerate.
450         * configure: Regenerate.
451         * configure.ac (CLASSPATH_SEPARATOR): Define.
452         * gcj/Makefile.in: Regenerate.
453         * include/Makefile.in: Regenerate.
454         * testsuite/Makefile.in: Regenerate.
455         * testsuite/lib/libjava.exp (libjava_arguments): Fix
456         CLASSPATH separator handling for Windows.
457
458 2004-10-26  Michael Koch  <konqueror@gmx.de>
459
460         * gnu/java/net/protocol/http/Connection.java
461         (getOutputStream): Implicitely switch to POST method.
462
463 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
464
465         * libjava/java/lang/Class.h
466         (java::lang::Class): Correct friend class declaration.
467
468 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
469
470         * Makefile.am (DARWIN_CRT_SRC): New.
471         (libgcj_la_SOURCES): Use it.
472         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
473         * darwin.cc: New file.
474         * include/jvm.h (_Jv_RegisterClasses): Constify.
475         (_Jv_RegisterClasses_Counted): New prototype.
476         * java/lang/Class.h: Include stddef.h.  
477         (_Jv_RegisterClasses): Constify.
478         (_Jv_RegisterClasses_Counted): New prototype.
479         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
480         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
481         (_Jv_RegisterClasses_Counted): New function.
482         * configure: Regenerate.
483         * Makefile.in: Regenerate.
484         * gcj/Makefile.in: Regenerate.
485         * include/Makefile.in: Regenerate.
486         * testsuite/Makefile.in: Regenerate.
487
488 2004-10-25  Tom Tromey  <tromey@redhat.com>
489
490         * java/util/ResourceBundle.java (tryBundle): Use
491         Class.isAssignableFrom rather than catching ClassCastException.
492
493 2004-10-25  Tom Tromey  <tromey@redhat.com>
494
495         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
496         initialize `iter'.
497         * gnu/java/text/SentenceBreakIterator.java
498         (SentenceBreakIterator): Don't initialize `iter'.
499         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
500         initialize `iter'.
501         * gnu/java/text/CharacterBreakIterator.java
502         (CharacterBreakIterator): Don't initialize `iter'.
503         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
504         constructor.
505         * java/text/BreakIterator.java: Updated documentation.
506
507 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
508
509         PR other/18138
510         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
511
512 2004-10-23  Michael Koch  <konqueror@gmx.de>
513
514         * javax/print/DocFlavor.java,
515         javax/print/attribute/standard/JobStateReason.java,
516         javax/print/attribute/standard/MultipleDocumentHandling.java:
517         Added missing constants.
518
519 2004-10-22  Tom Tromey  <tromey@redhat.com>
520
521         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
522         typo.
523
524 2004-10-22  Michael Koch  <konqueror@gmx.de>
525
526         PR libjava/14009
527         * gnu/java/net/protocol/http/Connection.java
528         (sendRequest): Handle case when url.getFile() returns an empty string.
529
530 2004-10-22  Michael Koch  <konqueror@gmx.de>
531
532         * java/lang/Math.java,
533         java/lang/StackTraceElement.java,
534         java/nio/Buffer.java,
535         java/nio/ByteBuffer.java,
536         java/nio/CharBuffer.java,
537         java/nio/DoubleBuffer.java,
538         java/nio/FloatBuffer.java,
539         java/nio/IntBuffer.java,
540         java/nio/LongBuffer.java,
541         java/nio/ShortBuffer.java,
542         java/nio/charset/Charset.java,
543         java/rmi/server/RMIClassLoader.java,
544         java/rmi/server/RMISocketFactory.java,
545         java/security/Policy.java,
546         java/text/ChoiceFormat.java,
547         java/text/CollationElementIterator.java,
548         java/text/DateFormat.java,
549         java/text/DecimalFormat.java,
550         java/text/DecimalFormatSymbols.java,
551         java/text/MessageFormat.java,
552         java/text/NumberFormat.java,
553         java/text/RuleBasedCollator.java,
554         java/text/SimpleDateFormat.java,
555         java/util/BitSet.java,
556         java/util/Calendar.java,
557         java/util/Collections.java,
558         java/util/IdentityHashMap.java,
559         java/util/Locale.java,
560         java/util/TreeMap.java,
561         java/util/logging/LogRecord.java,
562         java/util/logging/XMLFormatter.java,
563         java/util/prefs/AbstractPreferences.java,
564         java/util/prefs/Preferences.java,
565         javax/crypto/interfaces/DHPrivateKey.java,
566         javax/crypto/interfaces/DHPublicKey.java,
567         javax/crypto/interfaces/PBEKey.java,
568         javax/net/ssl/HandshakeCompletedEvent.java,
569         javax/security/auth/Subject.java:
570         Removed redundant and reordered modifiers.
571
572 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
573
574         * gnu/java/net/natPlainSocketImplPosix.cc
575         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
576         with 'int *' argument instead of 'long *'.
577
578 2004-10-21  Michael Koch  <konqueror@gmx.de>
579
580         * java/net/NetworkInterface.java,
581         java/text/Format.java,
582         javax/security/auth/x500/X500Principal.java,
583         javax/security/auth/x500/X500PrivateCredential.java,
584         javax/security/cert/X509CertBridge.java,
585         javax/security/sasl/Sasl.java,
586         javax/sql/XAConnection.java:
587         Import cleanup.
588
589 2004-10-21  Michael Koch  <konqueror@gmx.de>
590
591         * javax/net/ssl/HandshakeCompletedEvent.java,
592         javax/net/ssl/KeyManagerFactory.java,
593         javax/net/ssl/SSLContext.java,
594         javax/net/ssl/SSLServerSocketFactory.java,
595         javax/net/ssl/SSLSession.java,
596         javax/net/ssl/SSLSocketFactory.java,
597         javax/net/ssl/TrustManagerFactory.java:
598         Import cleanup.
599
600 2004-10-21  Michael Koch  <konqueror@gmx.de>
601
602         * javax/naming/directory/BasicAttribute.java,
603         javax/naming/directory/BasicAttributes.java,
604         javax/naming/directory/InitialDirContext.java,
605         javax/naming/event/NamingEvent.java,
606         javax/naming/ldap/ControlFactory.java,
607         javax/naming/ldap/ExtendedRequest.java,
608         javax/naming/ldap/InitialLdapContext.java,
609         javax/naming/ldap/LdapReferralException.java,
610         javax/naming/spi/DirObjectFactory.java,
611         javax/naming/spi/DirStateFactory.java,
612         javax/naming/spi/DirectoryManager.java,
613         javax/naming/spi/InitialContextFactory.java,
614         javax/naming/spi/InitialContextFactoryBuilder.java,
615         javax/naming/spi/NamingManager.java,
616         javax/naming/spi/ObjectFactory.java,
617         javax/naming/spi/ObjectFactoryBuilder.java,
618         javax/naming/spi/StateFactory.java:
619         Import cleanup.
620
621 2004-10-21  Michael Koch  <konqueror@gmx.de>
622
623         * javax/crypto/Cipher.java,
624         javax/crypto/EncryptedPrivateKeyInfo.java,
625         javax/crypto/ExemptionMechanism.java,
626         javax/crypto/KeyAgreement.java,
627         javax/crypto/KeyGenerator.java,
628         javax/crypto/Mac.java,
629         javax/crypto/SecretKeyFactory.java,
630         javax/crypto/SecretKeyFactorySpi.java,
631         javax/crypto/spec/SecretKeySpec.java:
632         Import cleanup.
633
634 2004-10-21  Michael Koch  <konqueror@gmx.de>
635
636         * java/security/AlgorithmParameterGenerator.java,
637         java/security/AlgorithmParameters.java,
638         java/security/AlgorithmParametersSpi.java,
639         java/security/AllPermission.java,
640         java/security/BasicPermission.java,
641         java/security/Certificate.java,
642         java/security/CodeSource.java,
643         java/security/DigestInputStream.java,
644         java/security/DigestOutputStream.java,
645         java/security/GuardedObject.java,
646         java/security/KeyFactory.java,
647         java/security/KeyFactorySpi.java,
648         java/security/KeyPairGenerator.java,
649         java/security/KeyStore.java,
650         java/security/KeyStoreSpi.java,
651         java/security/Permissions.java,
652         java/security/Security.java,
653         java/security/Signature.java,
654         java/security/UnresolvedPermission.java,
655         java/security/cert/CertPathBuilder.java,
656         java/security/cert/CertPathValidator.java,
657         java/security/cert/CertStore.java,
658         java/security/cert/Certificate.java,
659         java/security/cert/CertificateFactory.java,
660         java/security/cert/PolicyQualifierInfo.java,
661         java/security/cert/TrustAnchor.java,
662         java/security/cert/X509CRL.java,
663         java/security/cert/X509CRLSelector.java,
664         java/security/cert/X509CertSelector.java:
665         Import cleanup.
666
667 2004-10-21  Michael Koch  <konqueror@gmx.de>
668
669         * java/rmi/MarshalledObject.java,
670         java/rmi/Naming.java,
671         java/rmi/activation/Activatable.java,
672         java/rmi/activation/ActivationGroup.java,
673         java/rmi/activation/ActivationGroupDesc.java,
674         java/rmi/activation/ActivationInstantiator.java,
675         java/rmi/activation/ActivationMonitor.java,
676         java/rmi/activation/ActivationSystem.java,
677         java/rmi/activation/Activator.java,
678         java/rmi/registry/LocateRegistry.java,
679         java/rmi/registry/Registry.java,
680         java/rmi/server/LogStream.java,
681         java/rmi/server/ObjID.java,
682         java/rmi/server/RMIClientSocketFactory.java,
683         java/rmi/server/RMIServerSocketFactory.java,
684         java/rmi/server/RMISocketFactory.java,
685         java/rmi/server/RemoteCall.java,
686         java/rmi/server/RemoteServer.java,
687         java/rmi/server/ServerRef.java,
688         java/rmi/server/UID.java,
689         java/rmi/server/UnicastRemoteObject.java:
690         Import cleanup.
691
692 2004-10-21  Tom Tromey  <tromey@redhat.com>
693
694         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
695         exception if we hit EOF of `in'.
696         (read): Handle case where inflating returns -1.
697
698 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
699
700         * gnu/java/nio/channels/natFileChannelPosix.cc
701         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
702         argument instead of 'long *'.
703
704 2004-10-21  Tom Tromey  <tromey@redhat.com>
705
706         * java/util/ResourceBundle.java (tryBundle): Also ignore
707         ClassCastException.
708
709 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
710
711         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
712         for all sh*-*-linux* targets.
713         * configure: Regenerate.
714         * include/sh-signal.h: New file.
715
716 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
717
718         * java/lang/ieeefp.h: Add m32r support.
719
720 2004-10-20  Andreas Schwab  <schwab@suse.de>
721
722         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
723         to uaddr, not int.
724         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
725         Likewise.
726
727 2004-10-20  Michael Koch  <konqueror@gmx.de>
728
729         * javax/print/attribute/standard/ColorSupported.java,
730         javax/print/attribute/standard/Compression.java,
731         javax/print/attribute/standard/Copies.java,
732         javax/print/attribute/standard/CopiesSupported.java,
733         javax/print/attribute/standard/DateTimeAtCompleted.java,
734         javax/print/attribute/standard/DateTimeAtCreation.java,
735         javax/print/attribute/standard/DateTimeAtProcessing.java,
736         javax/print/attribute/standard/DocumentName.java,
737         javax/print/attribute/standard/Fidelity.java,
738         javax/print/attribute/standard/Finishings.java,
739         javax/print/attribute/standard/JobHoldUntil.java,
740         javax/print/attribute/standard/JobImpressions.java,
741         javax/print/attribute/standard/JobImpressionsCompleted.java,
742         javax/print/attribute/standard/JobImpressionsSupported.java,
743         javax/print/attribute/standard/JobKOctets.java,
744         javax/print/attribute/standard/JobKOctetsProcessed.java,
745         javax/print/attribute/standard/JobKOctetsSupported.java,
746         javax/print/attribute/standard/JobMediaSheets.java,
747         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
748         javax/print/attribute/standard/JobMediaSheetsSupported.java,
749         javax/print/attribute/standard/JobMessageFromOperator.java,
750         javax/print/attribute/standard/JobName.java,
751         javax/print/attribute/standard/JobOriginatingUserName.java,
752         javax/print/attribute/standard/JobPriority.java,
753         javax/print/attribute/standard/JobPrioritySupported.java,
754         javax/print/attribute/standard/JobSheets.java,
755         javax/print/attribute/standard/JobState.java,
756         javax/print/attribute/standard/JobStateReason.java,
757         javax/print/attribute/standard/JobStateReasons.java,
758         javax/print/attribute/standard/Media.java,
759         javax/print/attribute/standard/MultipleDocumentHandling.java,
760         javax/print/attribute/standard/NumberOfDocuments.java,
761         javax/print/attribute/standard/NumberOfInterveningJobs.java,
762         javax/print/attribute/standard/NumberUp.java,
763         javax/print/attribute/standard/NumberUpSupported.java,
764         javax/print/attribute/standard/OrientationRequested.java,
765         javax/print/attribute/standard/OutputDeviceAssigned.java,
766         javax/print/attribute/standard/PDLOverrideSupported.java,
767         javax/print/attribute/standard/PageRanges.java,
768         javax/print/attribute/standard/PagesPerMinute.java,
769         javax/print/attribute/standard/PagesPerMinuteColor.java,
770         javax/print/attribute/standard/PrintQuality.java,
771         javax/print/attribute/standard/PrinterInfo.java,
772         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
773         javax/print/attribute/standard/PrinterLocation.java,
774         javax/print/attribute/standard/PrinterMakeAndModel.java,
775         javax/print/attribute/standard/PrinterMessageFromOperator.java,
776         javax/print/attribute/standard/PrinterMoreInfo.java,
777         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
778         javax/print/attribute/standard/PrinterName.java,
779         javax/print/attribute/standard/PrinterStateReason.java,
780         javax/print/attribute/standard/PrinterStateReasons.java,
781         javax/print/attribute/standard/PrinterURI.java,
782         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
783         javax/print/attribute/standard/RequestingUserName.java:
784         Reorganized imports and removed redundant final modifiers.
785
786 2004-10-20  Michael Koch  <konqueror@gmx.de>
787
788         * javax/security/sasl/SaslClient.java,
789         javax/security/sasl/SaslClientFactory.java,
790         javax/security/sasl/SaslException.java,
791         javax/security/sasl/SaslServer.java,
792         javax/security/sasl/SaslServerFactory.java:
793         Remvoed CVS tags.
794
795 2004-10-20  Michael Koch  <konqueror@gmx.de>
796
797         * javax/security/auth/login/NullConfiguration.java,
798         javax/security/auth/x500/X500Principal.java,
799         javax/security/cert/X509Certificate.java,
800         javax/security/sasl/AuthenticationException.java,
801         javax/security/sasl/AuthorizeCallback.java,
802         javax/security/sasl/RealmCallback.java,
803         javax/security/sasl/RealmChoiceCallback.java,
804         javax/security/sasl/Sasl.java,
805         javax/security/sasl/SaslClient.java,
806         javax/security/sasl/SaslClientFactory.java,
807         javax/security/sasl/SaslException.java,
808         javax/security/sasl/SaslServer.java,
809         javax/security/sasl/SaslServerFactory.java:
810         Cleaned up import statements and copyright notices.
811
812 2004-10-20  Michael Koch  <konqueror@gmx.de>
813
814         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
815
816 2004-10-20  Michael Koch  <konqueror@gmx.de>
817
818         * java/sql/Timestamp.java,
819         java/text/AttributedCharacterIterator.java,
820         java/text/AttributedString.java,
821         java/util/zip/CheckedOutputStream.java,
822         java/util/zip/DeflaterOutputStream.java,
823         java/util/zip/ZipFile.java,
824         javax/crypto/Cipher.java,
825         javax/crypto/ExemptionMechanismException.java,
826         javax/crypto/SecretKey.java,
827         javax/crypto/SecretKeyFactory.java,
828         javax/naming/directory/ModificationItem.java,
829         javax/naming/directory/SearchControls.java,
830         javax/naming/event/NamingListener.java,
831         javax/naming/ldap/Control.java,
832         javax/naming/ldap/ExtendedResponse.java,
833         javax/net/ssl/SSLSocketFactory.java:
834         Reorganized imports and fixed copyright headers.
835
836 2004-10-20  Michael Koch  <konqueror@gmx.de>
837
838         * java/util/logging/ConsoleHandler.java,
839         java/util/logging/ErrorManager.java,
840         java/util/logging/FileHandler.java,
841         java/util/logging/Filter.java,
842         java/util/logging/Formatter.java,
843         java/util/logging/Handler.java,
844         java/util/logging/Level.java,
845         java/util/logging/LogManager.java,
846         java/util/logging/LogRecord.java,
847         java/util/logging/Logger.java,
848         java/util/logging/LoggingPermission.java,
849         java/util/logging/MemoryHandler.java,
850         java/util/logging/SimpleFormatter.java,
851         java/util/logging/SocketHandler.java,
852         java/util/logging/StreamHandler.java,
853         java/util/logging/XMLFormatter.java:
854         Standardized copyrigth header.
855
856 2004-10-20  Michael Koch  <konqueror@gmx.de>
857
858         * java/security/AlgorithmParameterGenerator.java,
859         java/security/AlgorithmParameters.java,
860         java/security/DigestInputStream.java,
861         java/security/Identity.java,
862         java/security/KeyFactory.java,
863         java/security/KeyPairGenerator.java,
864         java/security/KeyStore.java,
865         java/security/MessageDigest.java,
866         java/security/MessageDigestSpi.java,
867         java/security/Policy.java,
868         java/security/SecureRandom.java,
869         java/security/Security.java,
870         java/security/Signature.java,
871         java/security/SignatureSpi.java,
872         java/security/cert/CertPathBuilder.java,
873         java/security/cert/CertPathValidator.java,
874         java/security/cert/CertStore.java,
875         java/security/cert/Certificate.java,
876         java/security/cert/CertificateFactory.java,
877         java/security/cert/PolicyQualifierInfo.java,
878         java/security/cert/TrustAnchor.java,
879         java/security/cert/X509CRL.java,
880         java/security/cert/X509CRLEntry.java,
881         java/security/cert/X509Certificate.java,
882         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
883         Import statements reorganized, some little formatting issues,
884         used java-style array declarations, added comments in empty catch
885         blocks.
886
887 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
888
889         * java/security/Security.java
890         (static): Use AccessController.doPrivileged to get system property.
891
892 2004-10-18  Sven de Marothy  <sven@physto.se>
893
894         * java/nio/ByteBufferHelper.java
895         (putDouble): Use Double.toRawLongBits instead.
896
897 2004-10-18  Mark Wielaard  <mark@klomp.org>
898         Andrew Haley  <aph@redhat.com>
899
900         * testsuite/libjava.lang/ExtraClassLoader.java: New.
901
902 2004-10-18  Andrew Haley  <aph@redhat.com>
903
904         PR java/18036:
905         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
906         and correct logic used to find interpreter.
907         
908 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
909
910         * java/util/logging/LogManager.java
911         (findAncestor): Fixed IndexOutOfBoundsException.
912
913 2004-10-18  Michael Koch  <konqueror@gmx.de>
914
915         * java/io/BufferedInputStream.java: Fixed @author tag.
916         (read): Simplified expression.
917         (read): Merged javadoc a bit more.
918         (read): Renamed 'remain' to 'totalBytesRead'.
919         * java/io/DataInputStream.java,
920         java/io/DataOutputStream.java,
921         java/io/ObjectInputStream.java,
922         java/io/ObjectOutputStream.java:
923         Reworked modifier order.
924
925 2004-10-18  Michael Koch  <konqueror@gmx.de>
926
927         * java/net/Inet4Address.java: Merged file header and javadocs.
928         * java/net/Inet6Address.java: Likewise.
929         * java/net/InetAddress.java
930         (getCanonicalHostName): Create Inet4Address object instead of
931         InetAddress and add comment regarding IPv6.
932         (toString): Simplified.
933
934 2004-10-18  Michael Koch  <konqueror@gmx.de>
935
936         * gnu/java/net/protocol/http/Connection.java,
937         java/nio/MappedByteBufferImpl.java,
938         java/text/RuleBasedCollator.java,
939         java/util/ResourceBundle.java:
940         Reworked import statements.
941
942 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
943
944         * java/security/IdentityScope.java
945         (systemScope): Removed useless initializer.
946         * java/security/Policy.java
947         (currentPolicy): Likewise.
948
949 2004-10-18  Michael Koch  <konqueror@gmx.de>
950
951         * java/lang/System.java: Revert accidential change.
952
953 2004-10-18  Michael Koch  <konqueror@gmx.de>
954
955         * java/lang/Math.java,
956         java/lang/Package.java,
957         java/lang/Runtime.java,
958         java/lang/StrictMath.java,
959         java/lang/System.java,
960         java/lang/Thread.java,
961         java/lang/ThreadLocal.java,
962         java/lang/Void.java:
963         Reworked import statements, HTML in javadocs and modifier orders.
964
965 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
966
967         * java/util/Timer.java
968         (nr): Removed useless initializer.
969         * java/util/logging/LogRecord.java
970         (lastSeqNum): Likewise.
971         * javax/naming/spi/NamingManager.java
972         (icfb, ofb): Likewise.
973
974 2004-10-18  Michael Koch  <konqueror@gmx.de>
975
976         * gnu/java/net/PlainDatagramSocketImpl.java:
977         Reworked import statements.
978         * gnu/java/security/provider/DSAParameters.java:
979         Fixed copyrigth years.
980         * java/net/JarURLConnection.java:
981         Fixed HTML in @author tags.
982         
983
984 2004-10-18  Michael Koch  <konqueror@gmx.de>
985
986         * java/rmi/activation/ActivationSystem.java
987         (SYSTEM_PORT): Initialize with correct port number.
988
989 2004-10-18  Michael Koch  <konqueror@gmx.de>
990
991         * java/lang/reflect/Proxy.java: Improved javadocs.
992
993 2004-10-18  Michael Koch  <konqueror@gmx.de>
994
995         * java/lang/reflect/AccessibleObject.java
996         (checkPermission): Removed redundant final modifier.
997         (secureSetAccessible): Likewise.
998         * java/lang/reflect/Proxy.java:
999         Reworked import statements.
1000         (generate): Removed redundant final modifier.
1001         * java/lang/reflect/ReflectPermission.java:
1002         Reorder package declaration and import statement.
1003
1004 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1005
1006         * java/lang/reflect/Proxy.java
1007         (count): Removed useless initializer.
1008
1009 2004-10-17  Michael Koch  <konqueror@gmx.de>
1010
1011         * java/net/BindException.java,
1012         java/net/ConnectException.java,
1013         java/net/ContentHandler.java,
1014         java/net/ContentHandlerFactory.java,
1015         java/net/DatagramPacket.java,
1016         java/net/DatagramSocket.java,
1017         java/net/DatagramSocketImpl.java,
1018         java/net/DatagramSocketImplFactory.java,
1019         java/net/FileNameMap.java,
1020         java/net/HttpURLConnection.java,
1021         java/net/MalformedURLException.java,
1022         java/net/MulticastSocket.java,
1023         java/net/NetworkInterface.java,
1024         java/net/NoRouteToHostException.java,
1025         java/net/PasswordAuthentication.java,
1026         java/net/PortUnreachableException.java,
1027         java/net/ProtocolException.java,
1028         java/net/ServerSocket.java,
1029         java/net/Socket.java,
1030         java/net/SocketException.java,
1031         java/net/SocketImpl.java,
1032         java/net/SocketImplFactory.java,
1033         java/net/SocketOptions.java,
1034         java/net/SocketPermission.java,
1035         java/net/SocketTimeoutException.java,
1036         java/net/URI.java,
1037         java/net/URISyntaxException.java,
1038         java/net/URL.java,
1039         java/net/URLDecoder.java,
1040         java/net/URLEncoder.java,
1041         java/net/URLStreamHandler.java,
1042         java/net/URLStreamHandlerFactory.java,
1043         java/net/UnknownHostException.java,
1044         java/net/UnknownServiceException.java:
1045         Big import statement and @author tag cleanup.
1046
1047 2004-10-17  Michael Koch  <konqueror@gmx.de>
1048
1049         * gnu/java/security/OID.java,
1050         gnu/java/security/provider/DSAParameters.java,
1051         gnu/java/security/provider/DSASignature.java,
1052         gnu/java/security/x509/X500DistinguishedName.java,
1053         gnu/java/security/x509/X509CRL.java:
1054         Import statements cleaned up.
1055
1056 2004-10-16  Michael Koch  <konqueror@gmx.de>
1057
1058         * gnu/java/nio/NIODatagramSocket.java,
1059         gnu/java/nio/ServerSocketChannelImpl.java:
1060         Reorganized import statements.
1061
1062 2004-10-16  Michael Koch  <konqueror@gmx.de>
1063
1064         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1065         gnu/java/rmi/rmic/RMIC.java,
1066         gnu/java/rmi/server/RMIHashes.java,
1067         gnu/java/rmi/server/RMIObjectInputStream.java,
1068         gnu/java/rmi/server/RMIObjectOutputStream.java,
1069         gnu/java/rmi/server/UnicastConnection.java,
1070         gnu/java/rmi/server/UnicastConnectionManager.java,
1071         gnu/java/rmi/server/UnicastRemoteCall.java,
1072         gnu/java/rmi/server/UnicastServer.java,
1073         gnu/java/rmi/server/UnicastServerRef.java,
1074         java/rmi/MarshalledObject.java,
1075         java/rmi/Naming.java,
1076         java/rmi/RMISecurityManager.java,
1077         java/rmi/Remote.java,
1078         java/rmi/activation/Activatable.java,
1079         java/rmi/activation/ActivationDesc.java,
1080         java/rmi/activation/ActivationGroup.java,
1081         java/rmi/activation/ActivationGroupDesc.java,
1082         java/rmi/activation/ActivationGroupID.java,
1083         java/rmi/activation/ActivationID.java,
1084         java/rmi/activation/ActivationInstantiator.java,
1085         java/rmi/activation/ActivationMonitor.java,
1086         java/rmi/activation/ActivationSystem.java,
1087         java/rmi/activation/Activator.java,
1088         java/rmi/dgc/DGC.java,
1089         java/rmi/dgc/Lease.java,
1090         java/rmi/dgc/VMID.java,
1091         java/rmi/registry/LocateRegistry.java,
1092         java/rmi/registry/Registry.java,
1093         java/rmi/registry/RegistryHandler.java,
1094         java/rmi/server/LoaderHandler.java,
1095         java/rmi/server/LogStream.java,
1096         java/rmi/server/ObjID.java,
1097         java/rmi/server/Operation.java,
1098         java/rmi/server/RMIClassLoader.java,
1099         java/rmi/server/RMIClassLoaderSpi.java,
1100         java/rmi/server/RMIClientSocketFactory.java,
1101         java/rmi/server/RMIFailureHandler.java,
1102         java/rmi/server/RMIServerSocketFactory.java,
1103         java/rmi/server/RMISocketFactory.java,
1104         java/rmi/server/RemoteCall.java,
1105         java/rmi/server/RemoteObject.java,
1106         java/rmi/server/RemoteRef.java,
1107         java/rmi/server/RemoteServer.java,
1108         java/rmi/server/RemoteStub.java,
1109         java/rmi/server/ServerRef.java,
1110         java/rmi/server/Skeleton.java,
1111         java/rmi/server/SkeletonMismatchException.java,
1112         java/rmi/server/UID.java,
1113         java/rmi/server/UnicastRemoteObject.java,
1114         java/rmi/server/Unreferenced.java:
1115         File headers and import statements cleaned up.
1116
1117 2004-10-16  Michael Koch  <konqueror@gmx.de>
1118
1119         * libjava/gnu/java/nio/charset/UTF_16.java,
1120         libjava/gnu/java/nio/charset/UTF_16BE.java,
1121         libjava/gnu/java/nio/charset/UTF_16LE.java,
1122         libjava/java/nio/ByteOrder.java,
1123         libjava/java/nio/MappedByteBuffer.java,
1124         libjava/java/nio/channels/Channels.java,
1125         libjava/java/nio/channels/spi/SelectorProvider.java,
1126         libjava/java/nio/charset/Charset.java:
1127         Cleanup.
1128
1129 2004-10-16  Michael Koch  <konqueror@gmx.de>
1130
1131         * gnu/java/nio/charset/UTF_16Encoder.java
1132         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1133
1134 2004-10-16  Michael Koch  <konqueror@gmx.de>
1135
1136         * java/math/BigDecimal.java, java/math/BigInteger.java:
1137         Reorganized import statements, removed redundant and
1138         reorganized modifiers.
1139
1140 2004-10-16  Michael Koch  <konqueror@gmx.de>
1141
1142         * gnu/java/beans/ExplicitBeanInfo.java:
1143         Explicitely import java.awt.Image.
1144         (getIcon): Fixed off-by-one error.
1145
1146 2004-10-15  Andrew Haley  <aph@redhat.com>
1147
1148         * Makefile.am (nat_files, xlib_nat_files): New.
1149         * Makefile.in: Regenerate.
1150
1151 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1152
1153         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1154         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1155
1156 2004-10-13  Andrew Haley  <aph@redhat.com>
1157
1158         * interpret.cc (_Jv_InterpMethod::run): Initialize
1159         _Jv_StartOfInterpreter.
1160         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1161         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1162         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1163         _Unwind_FindEnclosingFunction to discover whether PC is within the
1164         interpreter.
1165
1166 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1167
1168         PR libgcj/17903:
1169         * testsuite/libjava.lang/md5test.java: New file.
1170         * testsuite/libjava.lang/md5test.out: Likewise.
1171         * testsuite/libjava.lang/shatest.java: Likewise.
1172         * testsuite/libjava.lang/shatest.out: Likewise.
1173
1174 2004-10-11  Richard Henderson  <rth@redhat.com>
1175
1176         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1177         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1178
1179 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1180
1181         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1182         field as a DST boundary may have been crossed.
1183         * java/util/GregorianCalendar.java (add): Throw 
1184         IllegalArgumentException on attempt to add to DST_OFFSET or 
1185         ZONE_OFFSET fields. Update javadoc.
1186
1187 2004-10-09  Michael Koch  <konqueror@gmx.de>
1188
1189         * java/io/CharArrayWriter.java
1190         (resize): Removed redundant 'final' modifier.
1191         * java/io/DataInputStream.java
1192         (readFully): Throw IndexOutOfBoundsException of len < 0.
1193         * java/io/FileDescriptor.java,
1194         java/io/FileInputStream.java,
1195         java/io/FileOutputStream.java,
1196         java/io/ObjectOutputStream.java,
1197         java/io/ObjectStreamClass.java,
1198         java/io/PipedInputStream.java,
1199         java/io/RandomAccessFile.java:
1200         Reorganized import statements.
1201
1202 2004-10-09  Michael Koch  <konqueror@gmx.de>
1203
1204         * gnu/java/rmi/rmic/RMIC.java,
1205         gnu/java/rmi/server/RMIHashes.java,
1206         gnu/java/rmi/server/RMIObjectInputStream.java,
1207         gnu/java/rmi/server/UnicastConnection.java,
1208         gnu/java/rmi/server/UnicastConnectionManager.java,
1209         gnu/java/rmi/server/UnicastRemoteCall.java,
1210         gnu/java/rmi/server/UnicastServerRef.java:
1211         Reworked import statements and fixed file headers.
1212
1213 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1214
1215         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1216         emission rule.
1217         * configure: Rebuilt.
1218
1219 2004-09-30  Tom Tromey  <tromey@redhat.com>
1220
1221         * java/text/MessageFormat.java (Field): Constructor now
1222         protected.
1223
1224 2004-09-30  Tom Tromey  <tromey@redhat.com>
1225
1226         * javax/crypto/MacSpi.java: Fixed typo.
1227
1228 2004-09-30  Michael Koch  <konqueror@gmx.de>
1229
1230         * java/net/InetAddress.java: Reformatted.
1231         (loopback): Initialize with Inet4Address object.
1232         (static): Initialize ANY_IF with Inet4Address object.
1233         (InetAddress): Removed unused package-private constructor.
1234
1235 2004-09-30  Michael Koch  <konqueror@gmx.de>
1236
1237         * java/beans/Beans.java,
1238         java/beans/EventHandler.java,
1239         java/beans/EventSetDescriptor.java,
1240         java/beans/Introspector.java,
1241         java/beans/PropertyEditorManager.java,
1242         java/beans/beancontext/BeanContext.java,
1243         java/beans/beancontext/BeanContextChild.java,
1244         java/beans/beancontext/BeanContextChildSupport.java,
1245         java/beans/beancontext/BeanContextMembershipEvent.java:
1246         Reordered import statements and removed redundant modifiers.
1247
1248 2004-09-29  Tom Tromey  <tromey@redhat.com>
1249
1250         PR libgcj/17715:
1251         * Makefile.in: Rebuilt.
1252         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1253         files.
1254         (all_property_files): New macro.
1255
1256         * Makefile.in: Rebuilt.
1257         * Makefile.am (ordinary_java_source_files): Re-sorted.
1258         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1259
1260 2004-09-28  Tom Tromey  <tromey@redhat.com>
1261
1262         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1263
1264         PR libgcj/17222:
1265         * Makefile.am (libgcj.la): Restored.
1266         * Makefile.in: Rebuilt.
1267
1268 2004-09-28  Michael Koch  <konqueror@gmx.de>
1269
1270         * java/net/URLConnection.java: Reformatted.
1271         * java/net/URLClassLoader.java: Reformatted.
1272         (getContent): Reordered return of content.
1273         (getContentHandler): Don't check for null explicitely.
1274
1275 2004-09-27  Michael Koch  <konqueror@gmx.de>
1276
1277         * java/io/BufferedInputStream.java
1278         (BufferedInputStream): Added Jeroen Frijters to authors.
1279         (count): Don't explicitely initialize with default value.
1280         (pos): Likewise.
1281         (marklimit): Likewise.
1282         (read): Changed boolean expression to match GNU classpath' version.
1283         (reset): Add proper message to exception.
1284         (skip): Check for closed stream.
1285         (refill): Likewise.
1286
1287 2004-09-26  Per Bothner  <per@bothner.com>
1288
1289         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1290         avoid warnings in the non-POSIX_VERSION case.
1291         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1292         so place it inside an #if block.
1293         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1294         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1295         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1296         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1297
1298 2004-09-26  Per Bothner  <per@bothner.com>
1299
1300         * prims.cc (process_gcj_properties):  Optimization.
1301
1302 2004-09-26  Per Bothner  <per@bothner.com>
1303
1304         * java/util/Collections.java (sort):  Copy from array in forwards
1305         order, rather than reverse order which may be much less efficient.
1306
1307 2004-09-26  Mark Wielaard  <mark@klomp.org>
1308
1309         * java/lang/System.java (properties): Make package private.
1310         * java/lang/Throwable.java (StaticData.nl): Initialize through
1311         directly accessing System.properties.getProperty().
1312
1313         * java/lang/Throwable.java (nl): Remove static field.
1314         (StaticData): New private static inner class.
1315         (stackTraceStringBuffer): Use StaticData.nl.
1316
1317 2004-09-26  Casey Marshall <csm@gnu.org>
1318
1319         * java/security/ProtectionDomain.java
1320         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1321         `true'.
1322
1323         * java/security/SecureClassLoader.java
1324         (defineClass): make protection domain dynamically bound.
1325         (getPermissions): call `getCurrentPolicy' to avoid permission
1326         check.
1327
1328 2004-09-25  Mark Wielaard  <mark@klomp.org>
1329
1330         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1331         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1332         * Makefile.in: Regenerated.
1333
1334         * gcj/javaprims.h: Regenerated.
1335
1336         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1337         (getDefaultTimeZone): Make package private. Check that GMToffset
1338         contains at least one digit.
1339         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1340         VMTimeZone.
1341         * util/VMTimeZone.java: New file with above methods.
1342
1343         * java/util/natTimeZone.cc: Removed (renamed).
1344         * java/util/natVMTimeZone.cc: Added (renamed).
1345
1346 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1347
1348         * java/util/TimeZone.java
1349         (getDefaultTimeZone): Fixed test to distinguish between hours and
1350         minutes in specified timezone.
1351
1352 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1353
1354         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1355         handling of default package. (generate): Removed confused comments
1356         and code about making Method and Field accessible.
1357
1358 2004-09-25  Tom Tromey  <tromey@redhat.com>
1359
1360         PR java/17500:
1361         * testsuite/libjava.compile/pr17500.java: New file.
1362
1363 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1364             Mark Wielaard  <mark@klomp.org>
1365
1366         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1367         * gnu/regexp/RETokenLookAhead.java: New file.
1368
1369         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1370         * Makefile.in: Regenerated.
1371
1372 2004-09-25  Michael Koch  <konqueror@gmx.de>
1373
1374         * java/io/ObjectStreamField.java:
1375         Removed unused import statement.
1376
1377 2004-09-24  Tom Tromey  <tromey@redhat.com>
1378
1379         PR java/15656:
1380         * testsuite/libjava.compile/pr15656.xfail: New file.
1381         * testsuite/libjava.compile/pr15656.java: new file.
1382
1383         PR java/16789:
1384         * testsuite/libjava.lang/pr16789.out: New file.
1385         * testsuite/libjava.lang/pr16789.java: New file.
1386
1387 2004-09-24  Andrew Haley  <aph@redhat.com>
1388
1389         PR java/16927
1390         * testsuite/libjava.compile/AssertBug.java: New file.
1391
1392 2004-09-24  Casey Marshall <csm@gnu.org>
1393
1394         * java/util/PropertyPermissionCollection.java
1395         (implies): avoid infinite loop.
1396
1397 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1398
1399         * javax/security/auth/PrivateCredentialPermission.java
1400         (PrivateCredentialPermission): added serialization UID
1401
1402
1403 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1404
1405         * gnu/java/rmi/server/UnicastServer.java
1406         (incomingMessageCall): Added code to handle Errors.
1407         * gnu/java/rmi/server/UnicastServerRef.java
1408         (incomingMessageCall): Added code to handle Errors.
1409
1410
1411 2004-09-24  Tom Tromey  <tromey@redhat.com>
1412
1413         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1414         (definedPackages): Likewise.
1415
1416 2004-09-24  Michael Koch  <konqueror@gmx.de>
1417
1418         * java/io/ObjectInputStream.java:
1419         Re-ordered imports.
1420
1421 2004-09-24  Casey Marshall <csm@gnu.org>
1422
1423         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1424         `ClassNotFoundException'.
1425
1426 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1427
1428         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1429         of Externalizable classes to ObjectStreamClass.
1430         * java/io/ObjectStreamClass.java (newInstance): New method to
1431         instantiate Externalizable (while ignoring the accessibility of
1432         the constructor). (constructor): New field to cache the constructor.
1433
1434 2004-09-24  Mark Wielaard  <mark@klomp.org>
1435
1436         * java/net/URL.java (systemClassLoader): New static field.
1437         (getURLStreamHandler): Always use system/application classloader
1438         for finding URLStreamhandler. Remove unecessary instanceof checks.
1439
1440 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1441
1442         * java/net/URL.java
1443         (set): This method now matches the behaviour of the JDK.
1444         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1445
1446 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1447
1448         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1449
1450 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1451
1452         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1453         Don't set authority if host isn't specified.
1454
1455 2004-09-24  Michael Koch  <konqueror@gmx.de>
1456
1457         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1458         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1459         * gnu/java/nio/VMPipe.java,
1460         gnu/java/nio/VMSelector.java:
1461         New files.
1462         * gnu/java/nio/natPipeImplEcos.cc,
1463         gnu/java/nio/natPipeImplPosix.cc,
1464         gnu/java/nio/natPipeImplWin32.cc:
1465         Ported to VMPipe.
1466         * gnu/java/nio/natSelectorImplEcos.cc,
1467         gnu/java/nio/natSelectorImplPosix.cc,
1468         gnu/java/nio/natSelectorImplWin32.cc:
1469         Ported to VMSelector.
1470         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1471         gnu/java/nio/VMSelector.java.
1472         * Makefile.in: Regenerated.
1473
1474 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1475
1476         * java/lang/StackTraceElement.java
1477         (className): Renamed field to declaringClass to be compatible
1478         with Sun serialization format.
1479
1480 2004-09-23  Michael Koch  <konqueror@gmx.de>
1481
1482         * java/applet/AppletContext.java,
1483         java/applet/Applet.java,
1484         java/applet/AppletStub.java,
1485         java/applet/AudioClip.java:
1486         Jalopied and checkstyle clean.
1487
1488 2004-09-23  Mark Wielaard  <mark@klomp.org>
1489
1490         * java/util/Collections.java
1491         (binarySearch(List, Object, Comparator)): Explicitly
1492         reverse direction in list iterator.
1493         (rotate): Just return when list is empty.
1494
1495 2004-09-23  Tom Tromey  <tromey@redhat.com>
1496
1497         PR java/17329:
1498         * testsuite/libjava.compile/pr17329.java: New file.
1499
1500         PR java/17380:
1501         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1502         9.2-implicit-7.
1503
1504 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1505
1506         * Makefile.am: Run aclocal with -I ../config
1507         * acinclude.m4: Delete macros picked up from ../config and tidy.
1508         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1509         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1510         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1511
1512 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1513
1514         * aclocal.m4: Regenerate with aclocal 1.9.2.
1515         * configure: Regenerate.
1516         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1517         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1518
1519 2004-09-22  David Daney  <ddaney@avtrex.com>
1520
1521         PR libgcj/17623
1522         * java/net/URL.java (URL): Copy userInfo from context.
1523         (getUserInfo): Return cached userInfo if present.
1524
1525 2004-09-22  Tom Tromey  <tromey@redhat.com>
1526
1527         PR libgcj/6182:
1528         * mauve-libgcj: Enable java.lang.Character tests.
1529
1530 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1531
1532         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1533         dependencies.
1534         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1535         * Makefile.in: Regenerated.
1536
1537 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1538
1539         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1540         * configure: Regenerate.
1541         * include/config.h.in: Likewise.
1542         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1544         macro to gtkpeer.h.
1545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1546         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1547         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1548         architectures.
1549         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1550         Likewise.
1551
1552 2004-09-22  Tom Tromey  <tromey@redhat.com>
1553
1554         PR libgcj/14446:
1555         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1556         when comparing CRCs.
1557         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1558         field.
1559         (read()): New overload.
1560
1561 2004-09-21  Tom Tromey  <tromey@redhat.com>
1562
1563         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1564         Indentation fix.
1565
1566 2004-09-21  Michael Koch  <konqueror@gmx.de>
1567
1568         * java/net/Socket.java
1569         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1570
1571 2004-09-21  Casey Marshall  <csm@gnu.org>
1572
1573         * javax/crypto/MacSpi.java (clone): Provide meaningful
1574         implementation.
1575
1576 2004-09-21  Tom Tromey  <tromey@redhat.com>
1577
1578         PR libgcj/16869:
1579         * Makefile.in: Rebuilt.
1580         * Makefile.am (MOSTLYCLEANFILES): Removed.
1581         (mostlyclean-local): Remove header files.
1582
1583 2004-09-21  Casey Marshall  <csm@gnu.org>
1584
1585         * java/security/cert/X509CRLSelector.java:
1586         (match): remove unreachable try-catch clauses.
1587         Reported by: Dalibor Topic <robilad@kaffe.org>
1588
1589 2004-09-21  Mark Wielaard  <mark@klomp.org>
1590
1591         * java/util/TreeMap.java (root): Don't initialize.
1592         (TreeMap(Comparator)): Call fabricateTree(0).
1593         (fabricateTree): Initialize root and size when count is 0.
1594
1595 2004-09-21  Sven de Marothy <sven@physto.se>
1596
1597         * java/nio/ByteBuffer.java (hashCode): Implemented.
1598         * java/nio/CharBuffer.java: Likewise.
1599         * java/nio/DoubleBuffer.java: Likewise.
1600         * java/nio/FloatBuffer.java: Likewise.
1601         * java/nio/LongBuffer.java: Likewise.
1602         * java/nio/IntBuffer.java: Likewise.
1603         * java/nio/ShortBuffer.java: Likewise.
1604
1605 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1606
1607         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1608
1609 2004-09-21  Michael Koch  <konqueror@gmx.de>
1610
1611         * javax/net/ssl/SSLServerSocket.java:
1612         Removed comment about "Do not edit this file, it's generated.".
1613
1614 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1615
1616         Import the big Crypto/Jessie/Security merge from Classpath.
1617
1618         * Makefile.am: Add imported files.
1619         * Makefile.in: Regenerate.
1620
1621         2004-08-14  Casey Marshall <csm@gnu.org>
1622
1623         The Big Crypto Merge of 2004.
1624
1625         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1626         Crypto's version.
1627
1628         Files imported from GNU Crypto.
1629         * javax/crypto/BadPaddingException.java
1630         * javax/crypto/Cipher.java
1631         * javax/crypto/CipherInputStream.java
1632         * javax/crypto/CipherOutputStream.java
1633         * javax/crypto/CipherSpi.java
1634         * javax/crypto/EncryptedPrivateKeyInfo.java
1635         * javax/crypto/ExemptionMechanism.java
1636         * javax/crypto/ExemptionMechanismException.java
1637         * javax/crypto/ExemptionMechanismSpi.java
1638         * javax/crypto/IllegalBlockSizeException.java
1639         * javax/crypto/KeyAgreement.java
1640         * javax/crypto/KeyAgreementSpi.java
1641         * javax/crypto/KeyGenerator.java
1642         * javax/crypto/KeyGeneratorSpi.java
1643         * javax/crypto/Mac.java
1644         * javax/crypto/MacSpi.java
1645         * javax/crypto/Makefile.am
1646         * javax/crypto/NoSuchPaddingException.java
1647         * javax/crypto/NullCipher.java
1648         * javax/crypto/NullCipherImpl.java
1649         * javax/crypto/SealedObject.java
1650         * javax/crypto/SecretKey.java
1651         * javax/crypto/SecretKeyFactory.java
1652         * javax/crypto/SecretKeyFactorySpi.java
1653         * javax/crypto/ShortBufferException.java
1654         * javax/crypto/interfaces/DHKey.java
1655         * javax/crypto/interfaces/DHPrivateKey.java
1656         * javax/crypto/interfaces/DHPublicKey.java
1657         * javax/crypto/interfaces/PBEKey.java
1658         * javax/crypto/spec/DESKeySpec.java
1659         * javax/crypto/spec/DESedeKeySpec.java
1660         * javax/crypto/spec/DHGenParameterSpec.java
1661         * javax/crypto/spec/DHParameterSpec.java
1662         * javax/crypto/spec/DHPrivateKeySpec.java
1663         * javax/crypto/spec/DHPublicKeySpec.java
1664         * javax/crypto/spec/IvParameterSpec.java
1665         * javax/crypto/spec/PBEKeySpec.java
1666         * javax/crypto/spec/PBEParameterSpec.java
1667         * javax/crypto/spec/RC2ParameterSpec.java
1668         * javax/crypto/spec/RC5ParameterSpec.java
1669         * javax/crypto/spec/SecretKeySpec.java
1670         * javax/security/auth/AuthPermission.java
1671         * javax/security/auth/DestroyFailedException.java
1672         * javax/security/auth/Destroyable.java
1673         * javax/security/auth/Policy.java
1674         * javax/security/auth/PrivateCredentialPermission.java
1675         * javax/security/auth/RefreshFailedException.java
1676         * javax/security/auth/Refreshable.java
1677         * javax/security/auth/Subject.java
1678         * javax/security/auth/SubjectDomainCombiner.java
1679         * javax/security/auth/callback/Callback.java
1680         * javax/security/auth/callback/CallbackHandler.java
1681         * javax/security/auth/callback/ChoiceCallback.java
1682         * javax/security/auth/callback/ConfirmationCallback.java
1683         * javax/security/auth/callback/LanguageCallback.java
1684         * javax/security/auth/callback/NameCallback.java
1685         * javax/security/auth/callback/PasswordCallback.java
1686         * javax/security/auth/callback/TextInputCallback.java
1687         * javax/security/auth/callback/TextOutputCallback.java
1688         * javax/security/auth/callback/UnsupportedCallbackException.java
1689         * javax/security/auth/login/AccountExpiredException.java
1690         * javax/security/auth/login/AppConfigurationEntry.java
1691         * javax/security/auth/login/Configuration.java
1692         * javax/security/auth/login/CredentialExpiredException.java
1693         * javax/security/auth/login/FailedLoginException.java
1694         * javax/security/auth/login/LoginContext.java
1695         * javax/security/auth/login/LoginException.java
1696         * javax/security/auth/login/NullConfiguration.java
1697         * javax/security/auth/x500/X500PrivateCredential.java
1698         * javax/security/sasl/AuthenticationException.java
1699         * javax/security/sasl/AuthorizeCallback.java
1700         * javax/security/sasl/RealmCallback.java
1701         * javax/security/sasl/RealmChoiceCallback.java
1702         * javax/security/sasl/Sasl.java
1703         * javax/security/sasl/SaslClient.java
1704         * javax/security/sasl/SaslClientFactory.java
1705         * javax/security/sasl/SaslException.java
1706         * javax/security/sasl/SaslServer.java
1707         * javax/security/sasl/SaslServerFactory.java
1708         * org/ietf/jgss/ChannelBinding.java
1709         * org/ietf/jgss/GSSContext.java
1710         * org/ietf/jgss/GSSCredential.java
1711         * org/ietf/jgss/GSSException.java
1712         * org/ietf/jgss/GSSManager.java
1713         * org/ietf/jgss/GSSName.java
1714         * org/ietf/jgss/MessageProp.java
1715         * org/ietf/jgss/Oid.java
1716         * org/ietf/jgss/MessagesBundle.properties
1717
1718         Files imported from Jessie <http://www.nongnu.org/jessie/>
1719         * javax/net/ServerSocketFactory.java
1720         * javax/net/SocketFactory.java
1721         * javax/net/VanillaServerSocketFactory.java
1722         * javax/net/VanillaSocketFactory.java
1723         * javax/net/ssl/HandshakeCompletedEvent.java
1724         * javax/net/ssl/HandshakeCompletedListener.java
1725         * javax/net/ssl/HostnameVerifier.java
1726         * javax/net/ssl/HttpsURLConnection.java
1727         * javax/net/ssl/KeyManager.java
1728         * javax/net/ssl/KeyManagerFactory.java
1729         * javax/net/ssl/KeyManagerFactorySpi.java
1730         * javax/net/ssl/ManagerFactoryParameters.java
1731         * javax/net/ssl/SSLContext.java
1732         * javax/net/ssl/SSLContextSpi.java
1733         * javax/net/ssl/SSLException.java
1734         * javax/net/ssl/SSLHandshakeException.java
1735         * javax/net/ssl/SSLKeyException.java
1736         * javax/net/ssl/SSLPeerUnverifiedException.java
1737         * javax/net/ssl/SSLPermission.java
1738         * javax/net/ssl/SSLProtocolException.java
1739         * javax/net/ssl/SSLServerSocket.java
1740         * javax/net/ssl/SSLServerSocketFactory.java
1741         * javax/net/ssl/SSLSession.java
1742         * javax/net/ssl/SSLSessionBindingEvent.java
1743         * javax/net/ssl/SSLSessionBindingListener.java
1744         * javax/net/ssl/SSLSessionContext.java
1745         * javax/net/ssl/SSLSocket.java
1746         * javax/net/ssl/SSLSocketFactory.java
1747         * javax/net/ssl/TrivialHostnameVerifier.java
1748         * javax/net/ssl/TrustManager.java
1749         * javax/net/ssl/TrustManagerFactory.java
1750         * javax/net/ssl/TrustManagerFactorySpi.java
1751         * javax/net/ssl/X509KeyManager.java
1752         * javax/net/ssl/X509TrustManager.java
1753         * javax/security/cert/Certificate.java
1754         * javax/security/cert/CertificateEncodingException.java
1755         * javax/security/cert/CertificateException.java
1756         * javax/security/cert/CertificateExpiredException.java
1757         * javax/security/cert/CertificateNotYetValidException.java
1758         * javax/security/cert/CertificateParsingException.java
1759         * javax/security/cert/X509CertBridge.java
1760         * javax/security/cert/X509Certificate.java
1761
1762         2004-08-20  Casey Marshall  <csm@gnu.org>
1763
1764         * java/security/cert/X509CRLSelector.java: New file.
1765         * java/security/cert/X509CertSelector.java: New file.
1766
1767 2004-09-15  Michael Koch  <konqueror@gmx.de>
1768
1769         * gnu/java/net/protocol/file/Handler.java
1770         (openConnection): Don't throw exception if host part for file: URI is
1771         present. setURL() keeps file: protocol if ftp: protocol is not
1772         available.
1773
1774 2004-09-14  Richard Henderson  <rth@redhat.com>
1775
1776         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1777         value of sigsuspend.
1778
1779 2004-09-12  Tom Tromey  <tromey@redhat.com>
1780
1781         * javax/naming/CompoundName.java (CompoundName): Don't check for
1782         separator in "flat" case.
1783
1784 2004-09-12  Michael Koch  <konqueror@gmx.de>
1785
1786         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1787         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1788         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1789         Regenerate.
1790
1791 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1792
1793         PR libgcj/14751
1794         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1795         handle in newly-allocated _Jv_Thread_t.
1796         (_Jv_ThreadDestroyData): Close thread handle.
1797         (_Jv_ThreadStart): Remove obsolete comment.
1798         Store handle of newly-created thread in _Jv_Thread_t.
1799         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1800         before including <windows.h>
1801         #define _Jv_HaveCondDestroy
1802
1803 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1804
1805         * java/lang/natThread.cc (finalize_native): Destroy
1806         join conditional variable and mutex if these destroy
1807         operations are supported.
1808
1809 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1810
1811         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1812         (DEFAULT_PERMISSION): New constant.
1813         (Connection): Create a FilePermission with permission to read file.
1814
1815 2004-09-10  Michael Koch  <konqueror@gmx.de>
1816
1817         * gnu/java/net/protocol/file/Connection.java
1818         (getLastModified): Moved around.
1819         (getPermission): Return stored permission.
1820
1821 2004-09-10  Michael Koch  <konqueror@gmx.de>
1822
1823         * Makefile.in: Regenerate.
1824
1825 2004-09-10  Michael Koch  <konqueror@gmx.de>
1826
1827         * Makefile.am: Reverted accidently commited stuff.
1828         * configure: Regenerated.
1829
1830 2004-09-10  Michael Koch  <konqueror@gmx.de>
1831
1832         * gnu/java/net/protocol/file/Connection.java
1833         (lineSeparator): Made non-final.
1834         (static): Removed.
1835         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1836         instead of StringBufferInputStream.
1837
1838 2004-09-10  Michael Koch  <konqueror@gmx.de>
1839
1840         * gnu/java/net/protocol/file/Connection.java
1841         (connect): Handle file is a directory case.
1842
1843 2004-09-10  Michael Koch  <konqueror@gmx.de>
1844
1845         * Makefile.am
1846         (xlib_includes): Removed.
1847         (AM_CPPFLAGS): Renamed from INCLUDES.
1848         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1849         * Makefile.in: Regenerate.
1850
1851 2004-09-09  Michael Koch  <konqueror@gmx.de>
1852
1853         * java/security/ProtectionDomain.java,
1854         * java/util/PropertyPermissionCollection.java:
1855         Fixed javadocs all over.
1856
1857 2004-09-09  Sven de Marothy  <sven@physto.se>
1858
1859         Patch from David Gilbert <david.gilbert@object-refinery.com>
1860         * java/lang/Comparable.java: Fixed documentation errors.
1861         * java/util/Arrays.java: Likewise.
1862
1863 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1864
1865         * java/net/Inet4Address.java
1866         (Inet4Address): Added comment to serialization UID.
1867         * java/text/Format.java
1868         (Format): Added comment to serialization UID.
1869
1870 2004-09-09  Michael Koch  <konqueror@gmx.de>
1871
1872         * java/lang/System.java
1873         (err): Fixed javadoci to point to setErr() and not setOut().
1874
1875 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1876
1877         (normalizePath): Added special case for windows systems.
1878
1879 2004-09-09  Michael Koch  <konqueror@gmx.de>
1880
1881         * java/io/File.java
1882         (dupSeparator): Made private.
1883         (File(URI)): New constructor.
1884         (getParentFile): Fixed javadoc.
1885         (createTempFile): Reformated.
1886         (setReadOnly): Added comment.
1887         (deleteOnExit): Merged javadoc with classpath version.
1888
1889 2004-09-09  Michael Koch  <konqueror@gmx.de>
1890
1891         * Makefile.am: Don't try to include deps.mk.
1892         * Makefile.in: Regenerated.
1893
1894 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1895
1896         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1897         .d files.
1898         * configure: Rebuilt.
1899
1900 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1901
1902         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1903         Changed pfn from static local to local.
1904
1905 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1906             H.J. Lu  <hongjiu.lu@intel.com>
1907
1908         PR libgcj/17290
1909         * Makefile.am (GCJCOMPILE): Remove definition.
1910         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1911         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1912         * Makefile.in: Rebuilt.
1913
1914 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1915
1916         * configure.ac (enable-gc-debug): Update help for new syntax.
1917         * configure: Regenerate.
1918
1919 2004-09-03  David Daney  <ddaney@avtrex.com>
1920
1921         * include/mips-signal.h: Update copyright.
1922
1923 2004-09-03  David Daney  <ddaney@avtrex.com>
1924
1925         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1926         * include/mips-signal.h: Added HANDLE_FPE support.
1927         
1928 2004-08-31  Michael Koch  <konqueror@gmx.de>
1929
1930         * javax/swing/plaf/basic/BasicTextAreaUI.java
1931         (create): New method.
1932         * javax/swing/text/DefaultHighlighter.java
1933         (DefaultHighlightPainter.debugRect): Removed.
1934         * javax/swing/text/StyleContext.java
1935         (DEFAULT_STYLE): New field.
1936
1937 2004-08-31  Michael Koch  <konqueror@gmx.de>
1938
1939         * javax/swing/plaf/basic/BasicLookAndFeel.java
1940         (initComponentDefaults): Add keybindings for selection.backward and
1941         selection-forward for text components.
1942         * javax/swing/plaf/basic/BasicTextUI.java
1943         (paintSafely): Paint highlight only when something is actually
1944         selected.
1945         * javax/swing/text/DefaultCaret.java
1946         (handleHighlight): New method.
1947         (setSelectionVisible): Don't do anything when nothing changes.
1948         Handle highlight.
1949         (moveDot): Reimplemented. Handle highlight.
1950         (setDot): Set mark too. Handle highlight.
1951         (getSelectionPainter): New method.
1952         * javax/swing/text/DefaultEditorKit.java
1953         (defaultActions): Added new actions for text selection.
1954         * javax/swing/text/DefaultHighlighter.java
1955         (DefaultHighlightPainter): New inner class.
1956         (DefaultPainter): New field.
1957         (paint): Implemented.
1958         * javax/swing/text/PlainView.java
1959         (paint): Don't draw background here again.
1960         * javax/swing/text/Utilities.java
1961         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1962         (drawTabbedText): Likewise.
1963
1964 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1965
1966         * javax/swing/JComponent.java
1967         (resetKeyboardActions): Add null checks.
1968
1969 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1970
1971         * javax/swing/DefaultButtonModel.java:
1972         Skip group notification when no group is set.
1973
1974 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1975
1976         * javax/swing/JColorChooser.java: 
1977         Make a couple inner classes static, for jikes.
1978
1979 2004-08-31  Michael Koch  <konqueror@gmx.de>
1980
1981         * javax/swing/plaf/basic/BasicTextUI.java
1982         (RottView.modelToView): New method.
1983         (UpdateHandler): Renamed from EventHandler.
1984         (updateHandler): Renamed from eventHandler.
1985         (modelToView): Implemented.
1986         * javax/swing/text/AbstractDocument.java
1987         (BranchElement.getElement): Return null for non-existing indeces.
1988         (BranchElement.getElementIndex): Return 0 in some corner cases.
1989         * javax/swing/text/FieldView.java
1990         (modelToView): New method.
1991         * javax/swing/text/PlainView.java
1992         (modelToView): Made public.
1993
1994 2004-08-31  Kim Ho  <kho@redhat.com>
1995
1996         * Makefile.am: New files.
1997         * Makefile.in: Regenerate.
1998         * gcj/Makefile.in: Regenerate.
1999         * include/Makefile.in: Regenerate.
2000         * java/awt/Color.java: Fix documentation.
2001         (RGBtoHSB): Use floats for conversions.
2002         * javax/swing/ButtonGroup.java: Run Jalopy.
2003         (setSelected): Reimplement.
2004         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2005         (changeState): Let ButtonGroup know that the button 
2006         is changing state.
2007         * javax/swing/JColorChooser.java: Implement.
2008         * javax/swing/JLabel.java: Run Jalopy.
2009         * javax/swing/JSpinner.java: Run Jalopy.
2010         (setValue): New method.
2011         * javax/swing/JTabbedPane.java: Run Jalopy.
2012         (removeTabAt): Call correct remove method.
2013         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2014         (getPreviousValue): Compare minimum value.
2015         * javax/swing/Timer.java: Run Jalopy.
2016         (run): Comment out println.
2017         * javax/swing/ToolTipManager.java:
2018         (mouseMoved): Get new tooltip text for location.
2019         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2020         Jalopy and Javadoc.
2021         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2022         Implement.
2023         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2024         Run Jalopy.
2025         (setSelectedColor): Fire ChangeEvent.
2026         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2027         New file. Implement.
2028         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2029         Ditto.
2030         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2031         Ditto.
2032         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2033         Ditto.
2034         * javax/swing/plaf/basic/BasicArrowButton.java:
2035         (getArrow): Fix size of upward pointing button.
2036         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2037         Implement.
2038         * javax/swing/plaf/basic/BasicSliderUI.java:
2039         (getWidthOfWidestLabel): Use preferred dimensions.
2040         (getHeightOfTallestLabel): Ditto.
2041         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2042         Run Jalopy.
2043         (mousePressed): Disable changes to spinner if it is not enabled.
2044         * testsuite/Makefile.in: Regenerate.
2045
2046
2047 2004-08-31  Michael Koch  <konqueror@gmx.de>
2048
2049         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2050         javax/swing/plaf/basic/BasicTableUI.java:
2051         Added copyright notice.
2052
2053 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2054
2055         * Makefile.am: Added new files.
2056         * Makefile.in: Regenerate.
2057         * javax/swing/ComboBoxEditor.java: Added javadocs.
2058         * javax/swing/ComboBoxModel.java: Likewise.
2059         * javax/swing/DefaultComboBoxModel.java: Implemented.
2060         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2061         and ran through jalopy to fix formatting style.
2062         (getListCellRendererComponent): Use appropriate border
2063         if renderer has focus and use noFocusBorder when it doesn't.
2064         * javax/swing/JComboBox.java: Implemented.
2065         * javax/swing/JList.java:
2066         (locationToIndex): New Method. Implemented.
2067         (indexToLocation): New Method.
2068         * javax/swing/JPopupMenu.java: 
2069         (visible): New field.
2070         (isVisible): Changed to use new field above.
2071         (setVisible): Likewise.
2072         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2073         * javax/swing/plaf/basic/BasicArrowButton.java: 
2074         (shadow): Changed default color to Color.gray.
2075         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2076         UI delegate for JComboBox.
2077         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2078         Popup menu containing list of JComboBox's items.
2079         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2080         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2081         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2082         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2083         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2084         (popupMenuWillBecomeVisible): Set selected path to the first
2085         element only if it is of type MenuElement. Also fix formatting
2086         style.
2087         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2088         methods signatures.
2089         
2090 2004-08-31  Michael Koch  <konqueror@gmx.de>
2091
2092         * javax/swing/text/AbstractDocument.java
2093         (createBranchElement): Use new constructor of BranchElement.
2094         (createLeafElement): Renamed arguments.
2095         (getRootElements): Implemented.
2096         (BranchElement.start): Removed.
2097         (BranchElement.end): Likewise.
2098         (BranchElement.BranchElement): Fixed arguments.
2099         (BranchElement.getEndOffset): Reimplemented.
2100         (BranchElement.getStartOffset): Likewis.
2101         * javax/swing/text/DefaultCaret.java
2102         (paint): Draw simple vertical line as caret instead of a rectangle.
2103         * javax/swing/text/JTextComponent.java
2104         (setText): Use doc directly.
2105         * javax/swing/text/PlainView.java
2106         (nextTabStop): Implemented.
2107         * javax/swing/text/Utilities.java
2108         (drawTabbedText): nextTabStop() returns an absolute x position.
2109         (getTabbedTextWidth): Likewise.
2110
2111 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2112
2113         * java/awt/Component.java 
2114         (isFocusTraversable): Predicate on isLightweight()
2115         (setFocusable): Set isFocusTraversableOverridden.
2116         (requestFocus): Predicate peer dispatch on !isLightweight()
2117         (requestFocusInWindow): Likewise.
2118         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2119         * java/awt/Container.java
2120         (dispatchEventImpl): Predicate on event mask.
2121         (LightweightDispatcher): Remove focus machinery.
2122         * java/awt/DefaultFocusTraversalPolicy.java
2123         (accept): Expand predicate to include isFocusable(). 
2124         * java/awt/DefaultKeyboardFocusManager.java:
2125         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2126         * java/awt/KeyboardFocusManager.java
2127         (redispatchEvent): Synchronize on event to prevent feedback.
2128         * javax/swing/AbstractButton.java
2129         (ButtonFocusListener): Remove class.
2130         (init): Set focusPainted, focusable.
2131         * javax/swing/ActionMap.java (get): Check parent for null. 
2132         * javax/swing/InputMap.java (get): Likewise. 
2133         * javax/swing/JComponent.java
2134         (inputMap_whenFocused): New InputMap.
2135         (inputMap_whenAncestorOfFocused): Likewise.
2136         (inputMap_whenInFocusedWindow): Likewise.
2137         (getActionForKeyStroke): Rewrite.
2138         (getConditionForKeystroke): Likewise.
2139         (ActionListenerProxy): New private class.
2140         (setInputMap): Implement.
2141         (getInputMap): Likewise.
2142         (setActionMap): Likewise.
2143         (getActionMap): Likewise.
2144         (processComponentKeyEvent): New empty method.
2145         (processKeyEvent): Implement.
2146         (processKeyBinding): Likewise.
2147         (resetKeyboardActions): Rewrite.
2148         * javax/swing/KeyStroke.java: Rewrite.
2149         * javax/swing/SwingUtilities.java
2150         (notifyAction): Implement.
2151         (replaceUIActionMap): Likewise.
2152         (replaceUIInputMap): Likewise.
2153         * javax/swing/plaf/basic/BasicButtonListener.java
2154         (focusGained): Implement.
2155         (focusLost): Repaint if focusPainted().
2156         (installKeyboardActions): Install pressed / released actions.
2157         (uninstallKeyboardActions): Implement.
2158         * javax/swing/plaf/basic/BasicButtonUI.java
2159         (focusColor): New field.
2160         (installDefaults): Load focus color, install input map.
2161         (installKeyboardActions): Implement.
2162         (uninstallKeyboardActions): Likewise.
2163         (paintFocus): Rewrite.
2164         * javax/swing/plaf/basic/BasicLookAndFeel.java
2165         (Button.focus): New default, midPurple. 
2166         * javax/swing/plaf/basic/BasicTextUI.java
2167         (kit): Make static.
2168         (installUI): Get doc from kit, load defaults.
2169         (getKeymapName): Implement.
2170         (createKeymap): Likewise.
2171         (installKeyboardActions): Likewise.
2172         (getInputMap): Likewise.
2173         (getActionMap): Likewise.
2174         (createActionMap): Likewise.
2175         * javax/swing/text/AbstractDocument.java
2176         (getStartPosition): Implement.
2177         (getEndPosition): Likewise.
2178         * javax/swing/text/DefaultEditorKit.java
2179         (CopyAction): New class.
2180         (CutAction): Likewise.
2181         (DefaultKeyTypedAction): Likewise.
2182         (InsertBreakAction): Likewise.
2183         (InsertContentAction): Likewise.
2184         (InsertTabAction): Likewise.
2185         (PasteAction): Likewise.
2186         (defaultActions): New static table.
2187         (createCaret): Implement.
2188         (getActions): Likewise.
2189         * javax/swing/text/JTextComponent.java
2190         (KeymapWrapper): New private class.
2191         (KeymapActionMap): Likewise.
2192         (DefaultKeymap): New class.
2193         (keymaps): New static table.
2194         (keymap): New field.
2195         (getKeymap): Implement.
2196         (removeKeymap): Likewise.
2197         (addKeymap): Likewise.
2198         (setKeymap): Likewise.
2199         (loadKeymap): Likewise.
2200         (getActions): Likewise.
2201         (margin): New field.
2202         (JTextComponent): Build and install default keymap.
2203         * javax/swing/text/TextAction.java
2204         (textAction): Call super properly.
2205         (getTextComponent): Implement.
2206         * javax/swing/text/Utilities.java
2207         (drawTabbedText): Adjust position by ascent.
2208
2209 2004-08-31  David Jee  <djee@redhat.com>
2210
2211         PR AWT/17156
2212
2213         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2214         (setEnabled): Make it a native method.
2215         * java/awt/DefaultKeyboardFocusManager.java
2216         (postProcessKeyEvent): Only post event if the menu item
2217         is active.
2218         * java/awt/MenuItem.java:
2219         Private field 'enabled' should be true by default.
2220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2221         (setEnabled): New function.
2222
2223 2004-08-31  David Jee  <djee@redhat.com>
2224
2225         PR AWT/17059
2226
2227         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2228         (nativeSetHelpMenu): New native method declaration.
2229         (addHelpMenu): Call nativeSetHelpMenu().
2230         (addMenu): Remove.
2231         * java/awt/MenuBar.java
2232         (setHelpMenu): Call addNotify() on the new help menu.
2233         (add): Call addNotify() on the new menu.
2234         (addNotify): Set the help menu if one exists.
2235         * java/awt/peer/MenuBarPeer.java
2236         (addMenu): Remove.
2237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2238         (nativeSetHelpMenu): New method.
2239
2240 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2241
2242         * Makefile.am: Add new files.
2243         * Makefile.in: Regenerate.
2244         * javax/swing/Box.java: Fix setting of layout in ctor.
2245         * javax/swing/JScrollPane.java: Scroll headers as well.
2246         * javax/swing/JTable.java: Reimplement.
2247         * javax/swing/JViewPort.java: Only add non-null children.
2248         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2249         * javax/swing/Timer.java: Fix stopping null waker.
2250         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2251         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2252         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2253         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2254         * javax/swing/table/DefaultTableModel.java: Clean up.
2255         * javax/swing/table/JTableHeader.java: Implement.
2256
2257 2004-08-31  Mark Wielaard  <mark@klomp.org>
2258
2259         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2260         semi-colon.
2261
2262 2004-08-31  Mark Wielaard  <mark@klomp.org>
2263
2264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2265         Declare variables at top of functions/block.
2266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2267
2268 2004-08-31  Mark Wielaard  <mark@klomp.org>
2269
2270         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2271         first.
2272
2273 2004-08-31  Michael Koch  <konqueror@gmx.de>
2274
2275         * javax/swing/text/PlainView.java
2276         (selectedColor): New field.
2277         (unselectedColor): Likewise.
2278         (font): Likewise.
2279         (updateMetrics): New method.
2280         (lineToRect): Likewise.
2281         (modelToView): Likewise.
2282         (drawSelectedText): Use color from JTextComponent ad draw with
2283         Utilities class.
2284         (drawUnselectedText): Likewise.
2285         (paint): Initialize helper fields.
2286         * javax/swing/text/View.java
2287         (getChildAllocation): New method.
2288         (getViewIndex): Likewise.
2289         (getToolTipText): Likewise.
2290
2291 2004-08-31  Michael Koch  <konqueror@gmx.de>
2292
2293         * javax/swing/text/Utilities.java
2294         (drawTabbedText): Reimplemented.
2295         (getTabbedTextWidth): Likewise.
2296
2297 2004-08-31  Michael Koch  <konqueror@gmx.de>
2298
2299         * javax/swing/plaf/basic/BasicTextUI.java
2300         (installDefaults): Install caret and highlighter.
2301         (modelToView): Use Bias.Forward when calling sibling.
2302         * javax/swing/text/AbstractDocument.java
2303         (ElementEdit): Implements DocumentEvent.ElementChange.
2304         (ElementEdit.ElementEdit): New method.
2305         (ElementEdit.getChildrenAdded): Likewise.
2306         (ElementEdit.getChildrenRemoved): Likewise.
2307         (ElementEdit.getElement): Likewise.
2308         (ElementEdit.getIndex): Likewise.
2309         * javax/swing/text/DefaultCaret.java
2310         (color): Removed.
2311         (textComponent): Renamed from parent, made private.
2312         (selectionVisible): Renamed from vis_sel, made private.
2313         (blinkRate): Renamed from blink, made private.
2314         (magicCaretPosition): Renamed from magic, made private.
2315         (visible): Renamed from vis, made private.
2316         (dot): Made private.
2317         (mark): Likewise.
2318         (deinstall): Remove as MouseMotionListener.
2319         (install): Initialize textComponent first. Add as MouseMotionListener.
2320         (paint): Reimplemented.
2321         * javax/swing/text/JTextComponent.java
2322         (setCaret): Deinstall old caret, install new one and fire property
2323         change after setting property.
2324         (setHighlighter): Deinstall old highlighter, install new one and fire
2325         property change after setting property.
2326         (setCaretColor): Fire property change after setting property.
2327         (setDisabledTextColor): Likewise.
2328         (setSelectedTextColor): Likewise.
2329         (setSelectionColor): Likewise.
2330         (modelToView): New method.
2331
2332 2004-08-31  Michael Koch  <konqueror@gmx.de>
2333
2334         * javax/swing/text/AbstractDocument.java
2335         (getText): Simplified.
2336         * javax/swing/text/Segment.java
2337         (current): New field.
2338         (current): Reimplemented.
2339         (first): Likewise.
2340         (getIndex): Likewise.
2341         (last): Likewise.
2342         (next): Likewise.
2343         (previous): Likewise.
2344         (setIndex): Likewise.
2345
2346 2004-08-31  Michael Koch  <konqueror@gmx.de>
2347
2348         * javax/swing/plaf/basic/BasicButtonUI.java
2349         (defaultTextIconGap): Made protected.
2350         (defaultTextShiftOffset): Likewise.
2351         (textShiftOffset): New field.
2352         (clearTextShiftOffset): New method.
2353         (getTextShiftOffset): Likewise.
2354         (setTextShiftOffset): Likewise.
2355
2356 2004-08-31  Michael Koch  <konqueror@gmx.de>
2357
2358         * javax/swing/plaf/basic/BasicTextUI.java
2359         (installUI): Add eventHandler as property listener.
2360         (uninstallUI): remove eventHandler as propert listener.
2361         (installDefaults): Added comment.
2362         (installListeners): Likewise.
2363         (installKeyboardActions): Likewise.
2364         (uninstallDefaults): Likewise.
2365         (uninstallListeners): Likewise.
2366         (uninstallKeyboardActions): Likewise.
2367
2368 2004-08-31  Michael Koch  <konqueror@gmx.de>
2369
2370         * javax/swing/text/AbstractDocument.java:
2371         Fixed some typos in comments.
2372         (insertString): Reimplemented.
2373         (remove): Likewise.
2374         (replace): New method.
2375         (children): Dont use fully qualified class name.
2376         (DefaultDocumentEvent.offset): Renamed from off.
2377         (DefaultDocumentEvent.length): Renamed from len.
2378         (DefaultDocumentEvent.type): New field.
2379         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2380         (DefaultDocumentEvent.getType): Implemented.
2381
2382 2004-08-31  Michael Koch  <konqueror@gmx.de>
2383
2384         * javax/swing/plaf/basic/BasicTextUI.java
2385         (RootView.textComponent): Removed.
2386         (RootView.RootView): Don't initialize textComponent.
2387         (RootView.getViewFactory): New method.
2388         (EventHandler): New inner class.
2389         (rootView): Initialize at instance creation.
2390         (eventHandler): New field.
2391         (installUI): Don't create view hierarchy directly,
2392         call modelChanged() instead.
2393         (modelChanged): New method.
2394         * javax/swing/text/JTextComponent.java
2395         (setDocument): Fire property change event.
2396
2397 2004-08-31  Michael Koch  <konqueror@gmx.de>
2398
2399         * javax/swing/plaf/basic/BasicTextUI.java
2400         (RootView.paint): Removed debug output.
2401         (paintSafely): Draw highlighter before text.
2402         (paintBackground): Use background color of text component.
2403         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2404         Reformatted.
2405
2406 2004-08-31  Michael Koch  <konqueror@gmx.de>
2407
2408         * javax/swing/plaf/basic/BasicToolBarUI.java
2409         (BasicToolBarUI): Fixed arguments for constructor.
2410         (createUI): Fixed creation of object.
2411
2412 2004-08-31  Michael Koch  <konqueror@gmx.de>
2413
2414         * javax/swing/DefaultListSelectionModel.java
2415         (fireValueChanged): Renamed from fireSelectionValueChanged,
2416         made protected.
2417
2418 2004-08-31  Michael Koch  <konqueror@gmx.de>
2419
2420         * javax/swing/text/TabSet.java
2421         (TabSet): Implements java.io.Serializable.
2422         * javax/swing/text/TabStop.java
2423         (TabStop): Implements java.io.Serializable.
2424         (TabStop): Made public.
2425
2426 2004-08-31  Michael Koch  <konqueror@gmx.de>
2427
2428         * javax/swing/JComponent.java
2429         (setUI): Fire PropertyChange.
2430         * javax/swing/JLabel.java
2431         (text): Renamed from labelText.
2432         (horizontalAlignment): New default vlaue.
2433         (icon): Renamed from activeIcon.
2434         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2435         (displayedMnemonicIndex): Renamed from underlineChar.
2436         (setDisplayedMnemonic): Reimplemented.
2437         * javax/swing/JRadioButton.java
2438         (JRadioButton): New constructors.
2439         * javax/swing/JTextField.java
2440         (JTextField): Throw exception if colums < 0, initialitialz
2441         this.columns directly and initialize document with text conditionally.
2442
2443 2004-08-31  Michael Koch  <konqueror@gmx.de>
2444
2445         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2446         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2447         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2448         * javax/swing/text/FieldView.java
2449         (paint): Just call super method for now.
2450         * Makefile.am: Added new files.
2451         * Makefile.in: Regenerated.
2452
2453 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2454
2455         * javax/swing/AbstractSpinnerModel.java,
2456         javax/swing/JSpinner.java,
2457         javax/swing/SpinnerNumberModel.java,
2458         javax/swing/plaf/basic/BasicSpinnerUI.java:
2459         New files.
2460         * javax/swing/plaf/basic/BasicLookAndFeel.java
2461         (initClassDefaults): Added defaults for BasicSpinnerUI.
2462
2463 2004-08-31  Michael Koch  <konqueror@gmx.de>
2464
2465         * Makefile.am: Added new files.
2466         * Makefile.in: Regenerated.
2467
2468 2004-08-31  Michael Koch  <konqueror@gmx.de>
2469
2470         * javax/swing/TransferHandler.java,
2471         javax/swing/plaf/basic/ComboPopup.java: New files
2472         * Makefile.am: Added javax/swing/TransferHandler.java and
2473         javax/swing/plaf/basic/ComboPopup.java
2474         * Makefile.in: Regenerated.
2475
2476 2004-08-31  Roman Kennke  <roman@ontographics.com>
2477
2478         * javax/swing/text/Utilities.java: New file.
2479
2480 2004-08-31  Michael Koch  <konqueror@gmx.de>
2481
2482         * Makefile.am: Added javax/swing/text/Utilities.java.
2483         * Makefile.in: Regenerated.
2484
2485 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2486
2487         * javax/swing/text/SimpleAttributeSet.java: New file.
2488         * javax/swing/text/StyleConstants.java: New file.
2489         * javax/swing/text/StyleContext.java: New file.
2490         * javax/swing/text/TabSet.java: New file.
2491         * javax/swing/text/TabStop.java: New file.
2492         * javax/swing/text/AbstactDocument.java:
2493         (AbstractElement): Implement attribute support.
2494         * javax/swing/text/AttributeSet.java
2495         (NameAttribute): New static field.
2496         (ResolveAttribute): New static field.
2497         * Makefile.am: Update for new files.
2498         * Makefile.in: Regenerate.
2499
2500 2004-08-31  Craig Black  <craig.black@aonix.com>
2501
2502         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2503         (drawImage): Add support for scaling pixmaps.
2504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2505         (copyAndScalePixmap): New native method.
2506  
2507 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2508
2509         PR AWT/16121
2510         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2511         type-punning compiler warnings using unions.
2512         (throw): Replace bzero with memset.
2513
2514 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2515             Thomas Fitzsimmons  <fitzsim@redhat.com>
2516
2517         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2518         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2519         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2520         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2521         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2522
2523 2004-08-31  Mark Wielaard  <mark@klomp.org>
2524
2525         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2526         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2527         and stdlib.h, not gtkpeer.h.
2528         (*vm): New static variable.
2529         (areaPreparedID): Make static.
2530         (areaUpdatedID): Likewise.
2531         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2532         (area_prepared): Likewise.
2533         (area_updated): Likewise.
2534         (closed): Likewise.
2535         (initStaticState): Initialize *vm javaVM.
2536         (pumpBytes): Use given env, not global gdk_env.
2537
2538 2004-08-31  Mark Wielaard  <mark@klomp.org>
2539
2540         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2541         comments.
2542
2543 2004-08-31  Sven de Marothy  <sven@physto.se>
2544
2545         * java/awt/geom/CubicCurve2D.java: Reindent.
2546         (contains): Implemented.
2547         (intersects): Implemented.
2548         * java/awt/geom/QuadCurve2D.java: Likewise.
2549         * java/awt/geom/GeneralPath.java: Reindent and document.
2550         Fully (re)implemented using separate xpoints and ypoints
2551         float[] coords.
2552         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2553
2554 2004-08-31  Michael Koch  <konqueror@gmx.de>
2555
2556         * javax/swing/JMenuItem.java
2557         (getMenuDragMouseListeners): New method.
2558         (getMenuKeyListeners): Likewise.
2559
2560 2004-08-31  Michael Koch  <konqueror@gmx.de>
2561
2562         * javax/swing/AbstractButton.java
2563         (model): Made protected.
2564         (actionListener): Likewise.
2565         (changeListener): Likewise.
2566         (itemListener): Likewise.
2567         (multiClickThreshhold): New field.
2568         (getActionListeners): New method.
2569         (getChangeListeners): Likewise.
2570         (getItemListeners): Likewise.
2571         (fireItemStateChanged): Simplified implementation.
2572         (fireActionPerformed): Likewise.
2573         (fireStateChanged): Likewise.
2574         (getMultiClickThreshhold): New method.
2575         (setMultiClickThreshhold): Likewise.
2576
2577 2004-08-31  Tom Tromey  <tromey@redhat.com>
2578
2579         * java/awt/image/Kernel.java (clone): Use super.clone().
2580
2581 2004-08-31  David Jee  <djee@redhat.com>
2582
2583         PR AWT/16682
2584         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2585         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2586         (nativeSetIconImageFromData): New native method declaration.
2587         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2588         * gnu/java/awt/peer/gtk/GtkImage.java
2589         (getPixelCache): New method.
2590         (getColorModel): New method.
2591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2592         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2593         (free_pixbuf_data): New helper function.
2594         (nativeSetIconImageFromData): New function.
2595
2596 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2597
2598         PR SWING/16576
2599         * javax/swing/JLayeredPane.java 
2600         (setLayer): Permit changing layer after addition.
2601         (setPosition): Permit over-length positions.
2602         (layerToRange): Compare intValue()s.
2603         * javax/swing/Box.java (createHorizontalBox): Implement.
2604         (createRigidArea): Likewise.
2605         (createVerticalBox): Likewise.
2606
2607 2004-08-31  Kim Ho  <kho@redhat.com>
2608
2609         * java/awt/Component.java:
2610         (processMouseEvent): Consume event after
2611         listeners process it.
2612         (processMouseMotionEvent): ditto.
2613         (processMouseWheelEvent): ditto.
2614         * java/awt/Container.java:
2615         (acquireComponentForMouseEvent):
2616         Do not dispatch to events that have been
2617         removed from the Container.
2618         (handleEvent): Consume the MouseEvents.
2619         * javax/swing/RepaintManager.java:
2620         (paintDirtyRegions): Do not add to list of 
2621         damaged areas if the component has no root.
2622
2623 2004-08-31  Michael Koch  <konqueror@gmx.de>
2624
2625         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2626
2627 2004-08-31  Mark Wielaard  <mark@klomp.org>
2628
2629         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2630         null when a MissingResourceException is thrown. Should never happen.
2631
2632 2004-08-31  Mark Wielaard  <mark@klomp.org>
2633
2634         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2635         when argument is null.
2636
2637 2004-08-31  Mark Wielaard  <mark@klomp.org>
2638
2639         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2640         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2641         Define hid at start of function.
2642         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2643         Likewise.
2644
2645 2004-08-31  Mark Wielaard  <mark@klomp.org>
2646
2647         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2648         * javax/swing/JButton.java: Reindent.
2649         * javax/swing/JCheckBox.java: Reindent.
2650
2651 2004-08-31  Mark Wielaard  <mark@klomp.org>
2652
2653         * Makefile.am (gtk_c_source_files): Added
2654         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2655         (gtk_awt_peer_sources): Added
2656         gnu/java/awt/peer/gtk/GThreadMutex.java and
2657         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2658         * Makefile.in: Regenerated.
2659
2660 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2661
2662         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2663
2664 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2665
2666         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2667         Added jfieldID, jmethodID.
2668
2669 2004-08-31  Mark Wielaard  <mark@klomp.org>
2670
2671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2672         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2673         gdk_env before calling any gdk or gtk function.
2674
2675         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2676         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2677         (run): Set gtkInitCalled.
2678
2679 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2680
2681         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2682         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2683
2684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2685         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2686         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2687         init_glib_threads. 
2688         (init_glib_threads): New function.
2689
2690 2004-08-31  Mark Wielaard  <mark@klomp.org>
2691
2692         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2693         PRIORITY when not already defined in header file.
2694
2695 2004-08-31  Mark Wielaard  <mark@klomp.org>
2696
2697         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2698         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2699
2700 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2701
2702         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2703         Implemented missing functions for GTK2.
2704         Added error handling.
2705         Renamed static functions out of the g_ namespace.
2706         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2707         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2708         Rewrote global-reference code.
2709         Eliminated cascading errors.
2710         (mutex_trylock_jni_impl) Fully implemented.
2711         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2712         resolution.
2713         (setup_cache) New function.
2714         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2715         bug where they were not unlocking the GMutex associated with the
2716         condition variable during the wait on that condition variable.
2717
2718         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2719         native/jni/gtk-peer/gthread-jni.c,
2720         native/jni/gtk-peer/gthread-jni.h
2721         (g_thread_jni_functions): Renamed to ...
2722         (portable_native_sync_jni_functions): this name.
2723         (gdk_vm): Renamed to...
2724         (the_vm): this name.
2725
2726         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2727         (gdk_vm): Removed duplicate definition.
2728         (gtkInit): Removed stray message to stdout.
2729         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2730         (gtkInit): Fix a const assignment bug.
2731         (gtkInit): Simplified code.
2732
2733         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2734         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2735         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2736         gnu/java/awt/peer/gtk/GThreadMutex.java:
2737         New files.
2738
2739 2004-08-31  Mark Wielaard  <mark@klomp.org>
2740
2741         * javax/swing/Box.java: Put FIXME comment above class declaration.
2742         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2743         * javax/swing/JCheckBox.java: Likewise.
2744         * javax/swing/JDialog.java: Likewise.
2745         * javax/swing/JRadioButton.java: Likewise.
2746         * javax/swing/JToggleButton.java: Likewise.
2747         * javax/swing/UIManager.java: Likewise.
2748         * javax/swing/border/TitledBorder.java: Likewise.
2749         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2750         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2751         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2752         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2753         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2754         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2755         * javax/swing/text/JTextComponent.java: Likewise.
2756
2757 2004-08-31  David Jee  <djee@redhat.com>
2758
2759         PR AWT/16682
2760         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2761         (setIconImage): Add a FIXME for unhandled cases.
2762
2763 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2764
2765         PR AWT/16040
2766         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2767         getModifiers.  Replace old button masks with new ones.
2768         * gnu/awt/xlib/XEventLoop.java: Likewise.
2769         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2770         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2771         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2772         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2773         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2774         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2775         * java/awt/Component.java: Replace old modifier masks with new
2776         ones.
2777         * java/awt/Container.java: Call getModifiersEx, not
2778         getModifiers.
2779         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2780         old modifier masks.
2781         * javax/swing/JMenuItem.java: Replace old button masks with new
2782         ones.
2783         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2784         getModifiers.
2785         * javax/swing/SwingUtilities.java: Likewise.
2786         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2787         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2789         mask macros with new ones.
2790         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2791         macros with new ones representing new masks.
2792
2793 2004-08-31  Craig Black  <craig.black@aonix.com>
2794
2795         * gnu/java/awt/peer/gtk/GdkGraphics.java
2796         (drawRoundRect): Implemented.
2797         (fillRoundRect): Implemented.
2798         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2799         (drawRoundRect): Reimplemented to match GdkGraphics.
2800         (fillRoundRect): Reimplemented to match GdkGraphics.
2801
2802 2004-08-31  Mark Wielaard  <mark@klomp.org>
2803
2804         * Makefile.in: Regenerated.
2805
2806 2004-08-31  Michael Koch  <konqueror@gmx.de>
2807
2808         * gnu/java/awt/EmbeddedWindow.java
2809         (addNotify): Use AccessController to allow execution of privileged
2810         code.
2811
2812 2004-08-31  Michael Koch  <konqueror@gmx.de>
2813
2814         * gnu/java/awt/EmbeddedWindow.java
2815         (static): Removed.
2816         (addNotify): Set peer via reflection.
2817         (setWindowPeer): Removed.
2818         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2819         * Makefile.am (nat_source_files):
2820         Removed gnu/java/awt/natEmbeddedWindow.cc.
2821
2822 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2823
2824         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2825         and gnu/java/security/action/SetAccessibleAction.java.
2826
2827 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2828
2829         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2830         Renamed from 'setName'. New 2-argument form with default value.
2831         (run): Pass default 'value' parameter to System.getProperty().
2832         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2833         typos.
2834
2835 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2836
2837         * gnu/java/security/action/GetPropertyAction.java: New class.
2838         * gnu/java/security/action/SetAccessibleAction.java: New class.
2839
2840 2004-08-31  David Jee  <djee@redhat.com>
2841
2842         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2843         (setIconImage): Check if image is null.
2844
2845 2004-08-31  David Jee  <djee@redhat.com>
2846
2847         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2848         (create): Set the icon image.
2849         (nativeSetIconImage): New native method declaration.
2850         (setIconImage): Implement.
2851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2852         (nativeSetIconImage): New function.
2853
2854 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2855
2856         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2857         (filenameFilterCallback): Declare local variable accepted before use.
2858
2859 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2860
2861         * gnu/java/awt/ComponentDataBlitOp.java:
2862         Cleaned up imports.
2863
2864 2004-08-31  Tom Tromey  <tromey@redhat.com>
2865
2866         * gnu/java/awt/peer/GLightweightPeer.java,
2867         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2868         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2869         javax/swing/JScrollPane.java: Removed
2870         redundant imports.
2871
2872 2004-08-31  David Jee  <djee@redhat.com>
2873
2874         * java/awt/DefaultKeyboardFocusManager.java
2875         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2876         event.  Fix shift modifier checking.
2877         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2878         (accel_attach): Remove.
2879         (setupAccelGroup): Remove calls to accel_attach.
2880
2881 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2882
2883         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2884         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2885
2886         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2887         GtkArgList.java.
2888         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2889         * Makefile.in: Regenerate.
2890         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2891         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2892         (create(String)): New method.
2893         (create): Call new create method.
2894         (getArgs): Remove method.
2895         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2896         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2897         (nativeCreate): Rename to create.
2898         (gtkSetLabel): Rename to gtkButtonSetLabel.
2899         (gtkToggleButtonSetActive): New method.
2900         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2901         (setState): Replace set call with gtkToggleButtonSetActive.
2902         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2903         (getArgs): Remove method.
2904         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2905         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2906         (gtkWidgetSetSensitive): New method.
2907         (gtkWidgetSetParent): Likewise.
2908         (GtkComponentPeer): Call setParent, setComponentBounds and
2909         setVisibleAndEnabled.
2910         (setParent): New method.
2911         (setComponentBounds): New method.
2912         (setVisibleAndEnabled): New method.
2913         (setEnabled): Call gtkWidgetSetSensitive.
2914         (getArgs): Remove method.
2915         Remove all set methods.
2916         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2917         gtkWindowSetModal, setTitle and setResizable.
2918         (getArgs): Remove method.
2919         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2920         (setComponentBounds): New method.
2921         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2922         Replace set call with gtkWindowSetResizable.
2923         (getArgs): Remove method.
2924         (create): Call setTitle and setResizable.
2925         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2926         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2927         (gtkWindowSetTitle): New method.
2928         (gtkWindowSetResizable): New method.
2929         (gtkWindowSetModal): New method.
2930         (setParent): New method.
2931         (setVisibleAndEnabled): New method.
2932         (getArgs): Remove method.
2933         (setTitle): Call gtkWindowSetTitle.
2934         (setResizable): Call gtkWindowSetResizable.
2935         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2936         and off locking instrumentation.
2937
2938 2004-08-31  Kim Ho  <kho@redhat.com>
2939
2940         * Makefile.am: Add new file.
2941         * Makefile.in: Regenerate.
2942         * gcj/Makefile.in: Regenerate
2943         * include/Makefile.in:
2944         * java/awt/Container.java:
2945         (acquireComponentForMouseEvent): Respect 
2946         the event mask when looking for candidate.
2947         * javax/swing/JComponent.java:
2948         Remove toolTip field.
2949         (createToolTip): Create a tooltip on demand.
2950         (setToolTipText): Register with the ToolTipManager.
2951         (getToolTipText(MouseEvent)): Return getToolTipText().
2952         * javax/swing/JToolTip.java: Implement.
2953         * javax/swing/Timer.java: Jalopy.
2954         (restart): Call stop, then start.
2955         (stop): Interrupt the timer rather than wait for
2956         the timer to come to a stop naturally.
2957         * javax/swing/ToolTipManager.java: Implement.
2958         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2959         Change ToolTip.background color.
2960         * javax/swing/plaf/basic/BasicToolTipUI.java:
2961         Implement.
2962         * testsuite/Makefile.in: Regenerate
2963
2964 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2965
2966         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2967         constructor param comments.
2968
2969 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2970
2971         * java/awt/Component.java: Document AWT 1.0 event handler
2972         methods.
2973
2974 2004-08-31  Roman Kennke  <roman@ontographics.com>
2975
2976         * javax/swing/Box.java:
2977         (createGlue): Implemented
2978         (createHorizontalGlue): Implemented
2979         (createHorizontalStrut): Implemented
2980         (createVerticalGlue): Implemented
2981         (createVerticalStrut): Implemented
2982
2983 2004-08-31  David Jee  <djee@redhat.com>
2984
2985         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2986         (GtkChoicePeer): Do not automatically select first item.
2987         (getHistory): Remove.
2988         (nativeGetSelected): New method.
2989         (nativeRemoveAll): New method.
2990         (add): Use nativeGetSelected() instead of getHistory().
2991         (remove): Likewise.
2992         (removeAll): Call nativeRemoveAll().
2993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2994         (create): Migrate to GtkComboBox.
2995         (append): Likewise.
2996         (nativeAdd): Likewise.
2997         (nativeRemove): Likewise.
2998         (select): Likewise.
2999         (nativeRemoveAll): New method.
3000         (nativeGetSelected): New method.
3001         (selection_changed): New method.
3002         (getHistory): Remove.
3003         (item_activate): Remove.
3004         (item_removed): Remove.
3005         (connect_choice_item_selectable_hook): Remove.
3006
3007 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3008
3009         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3010         variable in setEditable call.
3011
3012         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3013         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3014         (gtkWidgetSetBackground): New method.
3015         (gtkWidgetSetForeground): Likewise.
3016         (create): Set peer's editable state based on awtComponent's.
3017
3018         * java/awt/Button.java (Button()): Use empty string rather than
3019         null in no-label constructor.
3020
3021 2004-08-31  Roman Kennke  <roman@ontographics.com>
3022
3023         * javax/swing/BoxLayout.java: Reimplement.
3024
3025 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3026
3027         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3028         gnu_java_awt_peer_gtk_GdkGraphics.c
3029         (initState(GtkComponentPeer)): Don't return array of colour
3030         values.
3031         (GdkGraphics(int,int)): Set default font to size 12.
3032         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3033         component's foreground colour.
3034         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3035         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3036         (initState(GtkComponentPeer)): Don't return array of colour
3037         values.
3038         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3039         colours to component's colours.
3040         (current_colors_of_widget): Remove function.
3041         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3042         Return a new graphics object.
3043         * java/awt/Font.java (toString): Fix format.
3044         * java/awt/Graphics.java (toString): Likewise.
3045
3046 2004-08-31  Craig Black  <craig.black@aonix.com>
3047
3048         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3049         (addTearOff): New function.
3050         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3051         New native method.
3052         (init): Call addTearOff() when menu.isTearOff().
3053
3054 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3055
3056         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3057         Default implementation.
3058         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3059         Implement using GdkPixbufDecoder.
3060
3061 2004-08-31  David Jee  <djee@redhat.com>
3062
3063         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3064         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3065         setting the size of GtkFileDialogPeers.
3066         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3067         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3068         use their default sizes rather than their natural requisitions.
3069
3070 2004-08-31  Michael Koch  <konqueror@gmx.de>
3071
3072         * javax/swing/JFormattedTextField.java
3073         (JFormattedTextField): Implemented.
3074         * javax/swing/text/DefaultEditorKit.java
3075         (BeepAction): New inner class.
3076         * javax/swing/text/Segment.java
3077         (partialReturn): New field.
3078         (setPartialReturn): New method.
3079         (isPartialReturn): Likewise.
3080         * javax/swing/text/View.java
3081         (createFragment): Fixed typo.
3082         (getStartOffset): New method.
3083         (getEndOffset): Likewise.
3084
3085 2004-08-31  Michael Koch  <konqueror@gmx.de>
3086
3087         * javax/swing/table/DefaultTableColumnModel.java
3088         (serialVersionUID): Made private.
3089         (listenerList): Initialize.
3090         (changeEvent): Initialize.
3091         * javax/swing/table/JTableHeader.java
3092         (JTableHeader): New constructors.
3093         (createDefaultColumnModel): New method.
3094         * javax/swing/table/TableColumn.java
3095         (setHeaderRenderer): Simplified code.
3096         (setCellRenderer): Likewise.
3097         (setWidth): Likewise.
3098
3099 2004-08-31  Tom Tromey  <tromey@redhat.com>
3100
3101         * java/text/AttributedString.java (AttributedString): Use
3102         ArrayList to build array of attribute ranges.  Don't use
3103         `attribs' before it is set.
3104
3105 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3106
3107         * HACKING: Remove reference to special automake. No longer needed.
3108
3109 2004-08-30  Tom Tromey  <tromey@redhat.com>
3110
3111         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3112         return result from `add'.
3113
3114 2004-08-30  Tom Tromey  <tromey@redhat.com>
3115
3116         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3117
3118 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3119
3120         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3121
3122 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3123
3124         * java/io/File.java File(String,String): Fixed handling of empty
3125         path.
3126
3127 2004-08-30  Casey Marshall  <csm@gnu.org>
3128
3129         Author e-mail updated for all files.
3130         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3131         instance of OID.
3132         (compareTo): Use `equals'.
3133         * gnu/java/security/der/BitString.java (equals): Test if the
3134         argument is an instance of BitString.
3135         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3136         class final. Made fields private.
3137         (<init>): New constructor.
3138         (skip): New method.
3139         (makeString): Made static; don't use NIO.
3140         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3141         * gnu/java/security/der/DERWriter.java: Fixed imports.
3142         (writeString): Don't use NIO.
3143         (toIso88591, toUtf16Be, toUtf8): New methods.
3144         * gnu/java/security/der/DERValue.java: Formatting changes only.
3145         * gnu/java/security/der/DER.java: Likewise.
3146
3147 2004-08-30  Tom Tromey  <tromey@redhat.com>
3148
3149         * java/nio/CharBuffer.java (put): Fix typo.
3150         * java/nio/DoubleBuffer.java (put): Fix typo.
3151         * java/nio/FloatBuffer.java (put): Fix typo.
3152         * java/nio/IntBuffer.java (put): Fix typo.
3153         * java/nio/LongBuffer.java (put): Fix typo.
3154         * java/nio/ShortBuffer.java (put): Fix typo.
3155
3156 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3157
3158         * java/nio/ByteBuffer.java (put): Fix typo.
3159
3160 2004-08-30  Casey Marshall  <csm@gnu.org>
3161
3162         * java/security/DummyKeyPairGenerator.java (clone): Removed
3163         useless instanceof check.
3164         * java/security/DummyMessageDigest.java (clone): Likewise.
3165         * java/security/DummySignature.java (clone): Likewise.
3166         * java/security/MessageDigest.java (clone): Remove useless
3167         instanceof check.
3168         * java/security/MessageDigestSpi.java (clone): Likewise.
3169         * java/security/Signature.java (clone): Provide meaningful
3170         implementation.
3171         * java/security/SignatureSpi.java (clone): Likewise.
3172
3173 2004-08-29  Mark Wielaard  <mark@klomp.org>
3174
3175         * java/util/Arrays.java
3176         (sort(byte[], int, int)): Check fromIndex < 0.
3177         (sort(char[], int, int)): Likewise.
3178         (sort(short[], int, int)): Likewise.
3179         (sort(int[], int, int)): Likewise.
3180         (sort(long[], int, int)): Likewise.
3181         (sort(float[], int, int)): Likewise.
3182         (sort(double[], int, int)): Likewise.
3183         (sort(Object[], int, int, Comparator)): Likewise.
3184         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3185         (qsort(char[], int, int)): Likewise.
3186         (qsort(short[], int, int)): Likewise.
3187         (qsort(int[], int, int)): Likewise.
3188         (qsort(long[], int, int)): Likewise.
3189         (qsort(float[], int, int)): Likewise.
3190         (qsort(double[], int, int)): Likewise.
3191
3192 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3193
3194         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3195         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3196         java/util/ArrayList.java, java/util/Arrays.java,
3197         java/util/BitSet.java, java/util/Calendar.java,
3198         java/util/Collection.java, java/util/ListIterator.java,
3199         java/util/Map.java, java/util/SortedSet.java:
3200         Added additional exceptions to documentation, along
3201         with some additions and corrections.
3202
3203 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3204
3205         * configure.ac: Handle --enable-gc-debug.
3206         * configure: Regenerate.
3207         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3208         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3209         Rearrange include file order.
3210         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3211         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3212         (disable_gc_mutex): Delete along with all references.
3213         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3214         adjust for debug header size.
3215         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3216         debug case.
3217         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3218         (gcj_describe_type_fn): New.
3219         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3220         Register gcj_describe_type_fn.
3221         * include/boehm-gc.h:
3222         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3223         Don't define, but declare, for debug case.
3224         * java/lang/natObject.cc:
3225         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3226
3227 2004-08-26  Mark Wielaard  <mark@klomp.org>
3228
3229         Fixes PR libgcj/17002:
3230         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3231         a TimeZoneId string and then try to convert that to a TimeZone with
3232         getDefaultSystemTimeZone(String).
3233         (timezones0): Changed type from Hashtable to HashMap.
3234         (timezones): Create HashMap, not Hashtable.
3235         (getDefaultTimeZone): New method, rewritten from CNI version.
3236         (readTimeZoneFile): New method.
3237         (readtzFile): Likewise.
3238         (skipFully): Likewise.
3239         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3240         getDefaultTimeZoneId and rewritten.
3241         (getDefaultTimeZoneId): Rewritten in java.
3242         
3243 2004-08-25  David Daney  <daney@avtrex.com>
3244
3245         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3246         * Makefile.in: Regenerated.
3247
3248 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3249
3250         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3251         only if jvmpi is enabled.
3252         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3253         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3254         (_Jv_AllocString): Likewise.
3255         (_Jv_AllocPtrFreeObject): Likewise.     
3256
3257 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3258
3259         * defineclass.cc: Include <stdio.h>.
3260         * java/lang/natClassLoader.cc: Include <stdio.h>.
3261
3262 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3263             Michael Koch  <konqueror@gmx.de>
3264
3265         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3266         * Makefile.in: Regenerated.
3267
3268 2004-08-20  Michael Koch  <konqueror@gmx.de>
3269
3270         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3271         AC_COMPILE_IFELSE macros.
3272
3273 2004-08-20  Michael Koch  <konqueror@gmx.de>
3274
3275         * configure.in: Renamed to configure.ac.
3276         * configure.ac: New file.
3277         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3278         include/config.h.in, testsuite/Makefile.in: Regenerated.
3279
3280 2004-08-20  Michael Koch  <konqueror@gmx.de>
3281
3282         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3283         * aclocal.m4, configure: Regenerated.
3284
3285 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3286             Michael Koch  <konqueror@gmx.de>
3287
3288         * configure.in, Makefile.am: Ported to automake 1.9.
3289         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3290         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3291         Regenerated.
3292
3293 2004-08-19  Tom Tromey  <tromey@redhat.com>
3294
3295         * java/net/DatagramSocket.java: Fixed typo.
3296
3297 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3298
3299         PR libgcj/17081
3300         * java/net/URI.java (string): New field. Make all other fields
3301         transient.
3302         (readObject): Implemented.
3303         (writeObject): Implemented.
3304         (URI): Set 'string'.
3305
3306 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3307
3308         PR libgcj/17079
3309         * java/util/logging/Handler.java (isLoggable): Accept record if its
3310         log level equals the threshold level. From Robin Green.
3311
3312 2004-08-18  David Daney  <ddaney@avtrex.com>
3313
3314         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3315         instead of sigwait.
3316
3317 2004-08-17  Michael Koch  <konqueror@gmx.de>
3318
3319         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3320         * Makefile.in: Regenerated.
3321
3322 2004-08-16  Tom Tromey  <tromey@redhat.com>
3323
3324         PR java/8473:
3325         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3326
3327 2004-08-16  Michael Koch  <konqueror@gmx.de>
3328
3329         * Makefile.am
3330         (math_c_files): Renamed from c_files.
3331         (math_c_source_files): Renamed from c_source_files.
3332         * Makefile.in,
3333         gcj/Makefile.in,
3334         include/Makefile.in,
3335         testsuite/Makefile.in: Regenerated.
3336
3337 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3338
3339         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3340         to avoid autoconf warning.
3341         * configure: Rebuilt.
3342
3343 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3344
3345         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3346         localhostAddress to loopbackAddress.
3347         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3348
3349 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3350
3351         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3352         boehm-gc's include dirs.
3353         * configure: Rebuilt.
3354         * include/boehm-gc.h: Include gc_config.h.
3355
3356 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3357
3358         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3359         localhostAddress.
3360         (getByName): Return loopback address for null hostname, without
3361         security check. Use lookup(), not getAllByName.
3362         (getAllByName): Return loopback address for null hostname, without
3363         security check.
3364         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3365         check here.
3366
3367 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3368
3369         PR libgcj/17020
3370         Reported by Robin Green.
3371         * defineclass.cc (handleField): Don't throw exception on unrecognised
3372         modifier. Add FIXME comments for spec compliance.
3373         (handleMethod): Likewise.
3374
3375 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3376
3377         PR libgcj/16662
3378         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3379         (Almost everywhere): add LOG calls, fix, add comments.
3380         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3381         Add explicit check for LOCKED bit in slow case (PR 16662).
3382         (_Jv_MonitorExit): Add casts in debug-only code.
3383         Always release LOCKED bit before throwing exception.
3384         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3385         isn't.  Handle easy cases without lock acquisition.
3386         (Object::wait): Use NotifyAll for lock inflation.
3387
3388 2004-08-12  David Daney  <ddaney@avtrex.com>
3389
3390         * testsuite/libjava.lang/Process_1.java: New test.
3391         * testsuite/libjava.lang/Process_2.java: New test.
3392         * testsuite/libjava.lang/Process_3.java: New test.
3393         * testsuite/libjava.lang/Process_4.java: New test.
3394         * testsuite/libjava.lang/Process_5.java: New test.
3395         * testsuite/libjava.lang/Process_6.java: New test.
3396         * testsuite/libjava.lang/Process_1.out: Expected result.
3397         * testsuite/libjava.lang/Process_2.out: Expected result.
3398         * testsuite/libjava.lang/Process_3.out: Expected result.
3399         * testsuite/libjava.lang/Process_4.out: Expected result.
3400         * testsuite/libjava.lang/Process_5.out: Expected result.
3401         * testsuite/libjava.lang/Process_6.out: Expected result.
3402
3403 2004-08-12  David Daney  <ddaney@avtrex.com>
3404
3405         PR libgcj/11801
3406         * java/lang/PosixProcess.java: Rewrote.
3407         * java/lang/natPosixProcess.cc: Rewrote.
3408         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3409         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3410         * posix-threads.cc (block_sigchld) New function.
3411         (_Jv_ThreadRegister) Use it.
3412         (_Jv_ThreadStart) Use it.
3413         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3414         * Makefile.am: ... to specify extra native headers.
3415         * configure: Regenerated.
3416         * include/config.h: Regenerated.
3417         * Makefile.in: Regenerated.
3418         * gcj/Makefile.in: Regenerated.
3419         * include/Makefile.in: Regenerated.
3420         * testsuite/Makefile.in: Regenerated.
3421
3422 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3423
3424         PR tree-optimization/16867
3425         * testsuite/libjava.lang/PR16867.java: New test.
3426
3427 2004-08-09  Per Bothner  <per@bothner.com>
3428
3429         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3430         with private fields and access methods.
3431         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3432         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3433         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3434         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3435         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3436         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3437         * jni.cc: Likewise.
3438         * resolve.cc: Likewise.
3439         * gcj/field.h: Likewise.
3440         * include/jvm.h: Likewise.
3441         * java/lang/Class.h: Likewise.
3442         * java/lang/natClass.cc: Likwise.
3443         * java/lang/natClassLoader.cc: Likewise
3444         * java/lang/reflect/natMethod.cc: Likewise
3445         * verify.cc: Likewise.
3446         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3447         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3448
3449 2004-08-10  Andrew Haley  <aph@redhat.com>
3450
3451         * testsuite/libjava.lang/err14.java: New file.
3452         * testsuite/libjava.lang/err14.out: New file.
3453
3454 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3455
3456         * Makefile.am: Fix missing rename from x_nat_headers to 
3457         xlib_nat_headers.
3458         * Makefile.in: Regenerated.
3459
3460 2004-08-04  Andrew Haley  <aph@redhat.com>
3461
3462         * java/security/BasicPermission.java: Don't check wildcards.
3463
3464 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3465             Michael Koch  <konqueror@gmx.de>
3466
3467         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3468         * configure.in: Replaced all usages of AC_LINK_FILES by
3469         AC_CONFIG_LINKS.
3470         * aclocal.m4,
3471         configure: Regenerated.
3472
3473 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3474             Michael Koch  <konqueror@gmx.de>
3475
3476         * acconfig.h: Removed.
3477         * Makefile.am: Rename variables for xlib peer to include xlib and
3478         gtk_c_headers to gtk_jni_headers.
3479         * Makefile.in: Regenerated.
3480
3481 2004-08-04  Andrew Haley  <aph@redhat.com>
3482
3483         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3484         debugging.
3485
3486 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3487
3488         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3489         Replace most top level 'dnl' comments with '#' comments, conforming
3490         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3491         help strings.
3492         * configure: Rebuilt.
3493
3494 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3495
3496         * acinclude.m4: Include no-executables.m4.
3497         * aclocal.m4: Rebuild.
3498         * configure.in: Convert to the autoconf 2.59 version of
3499         of the no-executables hack, and also of the nonstandard CXX
3500         hack and the multilibbed CC and CXX hack.  Change prerequisite
3501         to autoconf 2.59.
3502         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3503         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3504         testsuite/Makefile.in: Regenerate.
3505
3506 2004-08-03  Tom Tromey  <tromey@redhat.com>
3507
3508         * jni.cc: Reindented.
3509
3510 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3511
3512         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3513
3514 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3515
3516         * testsuite/libjava.compile/PR16701.java: New test.
3517
3518 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3519
3520         * java/util/Collection.java, java/util/List.java,
3521         java/util/Map.java, java/util/Set.java,
3522         java/util/SortedMap.java, java/util/SortedSet.java:
3523         Added additional exceptions to documentation.
3524
3525 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3526
3527         PR libgcj/16814
3528         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3529         * configure. Regenerate.
3530         * include/win32.h: Explicitly include winsock2.h
3531         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3532         Winsock api.
3533
3534 2004-07-30  Michael Koch  <konqueror@gmx.de>
3535
3536         * java/util/zip/GZIPInputStream.java
3537         (GZIPInputStream): Increase buffer size to 4k.
3538         * java/util/zip/GZIPOutputStream.java
3539         (GZIPOutputStream): Likewise.
3540         * java/util/zip/Inflater.java
3541         (setInput): Merged formating with GNU classpath.
3542         * java/util/zip/InflaterInputStream.java
3543         (InflaterInputStream): Increase buffer size to 4k.
3544         (fill): Throw exception if stream ends early.
3545         (read): Merged endless-loop with GNU classpath.
3546         (skip): Increase buffer size to 2k.
3547
3548 2004-07-30  Michael Koch  <konqueror@gmx.de>
3549
3550         * gnu/java/awt/EmbeddedWindow.java
3551         (addNotify): Use AccessController to allow execution of privileged
3552         code.
3553
3554 2004-07-29  Michael Koch  <konqueror@gmx.de>
3555
3556         * gnu/java/lang/MainThread.java:
3557         Explicitely import used classes.
3558         (args): Make it type String[].
3559
3560 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3561
3562         * gnu/java/awt/ComponentDataBlitOp.java,
3563         gnu/java/beans/ExplicitBeanInfo.java,
3564         gnu/java/beans/IntrospectionIncubator.java,
3565         gnu/java/beans/editors/ColorEditor.java,
3566         gnu/java/beans/editors/FontEditor.java,
3567         gnu/java/beans/editors/NativeBooleanEditor.java,
3568         gnu/java/beans/editors/NativeByteEditor.java,
3569         gnu/java/beans/editors/NativeDoubleEditor.java,
3570         gnu/java/beans/editors/NativeFloatEditor.java,
3571         gnu/java/beans/editors/NativeIntEditor.java,
3572         gnu/java/beans/editors/NativeLongEditor.java,
3573         gnu/java/beans/editors/NativeShortEditor.java,
3574         gnu/java/beans/editors/StringEditor.java,
3575         gnu/java/io/ClassLoaderObjectInputStream.java,
3576         gnu/java/io/decode/Decoder.java,
3577         gnu/java/io/encode/Encoder.java,
3578         gnu/java/lang/ClassHelper.java,
3579         gnu/java/locale/Calendar.java,
3580         gnu/java/locale/Calendar_de.java,
3581         gnu/java/locale/Calendar_en.java,
3582         gnu/java/locale/Calendar_nl.java,
3583         gnu/java/locale/LocaleInformation_de.java,
3584         gnu/java/locale/LocaleInformation_en.java,
3585         gnu/java/locale/LocaleInformation_nl.java:
3586         Cleaned up imports.
3587
3588 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3589
3590         * README: Remove obsolete info. Update bug URL.
3591         * THANKS: Updated.
3592         * NEWS: Updated with news up to GCC 3.4 release.
3593
3594 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3595
3596         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3597         Renamed from 'setName'. New 2-argument form with default value.
3598         (run): Pass default 'value' parameter to System.getProperty().
3599         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3600         typos.
3601         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3602         not 'setName'.
3603
3604 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3605
3606         * configure.in: Check for minimum GTK version 2.4 requirement.
3607         * configure: Rebuilt.
3608
3609 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3610
3611         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3612         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3613         Reduce sleep time.
3614         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3615         compiler bug.
3616         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3617         address. Reduce sleep times. Synchronize with target threads before
3618         attempting to interrupt them. Don't try to calibrate yeild count,
3619         instead, always loop for a fixed time.
3620         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3621         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3622         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3623         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3624         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3625         * testsuite/libjava.lang/pr179.java: Likewise.
3626         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3627         time. Remove upper bounds check on sleep time. 
3628
3629 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3630
3631         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3632         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3633
3634 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3635
3636         * java/io/File.java (toURI): Throw RuntimeException, not 
3637         InternalError.
3638         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3639         class name, not instance.
3640
3641 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3642
3643         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3644         and gnu/java/security/action/SetAccessibleAction.java.
3645         * Makefile.in: Rebuilt.
3646
3647 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3648
3649         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3650         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3651         _Jv_InitPrimClass.
3652         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3653         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3654         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3655
3656 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3657
3658         * Makefile.am: Replace jar, rmic and rmiregistry references with
3659         gjar, grmic and grmiregistry.
3660         * configure.in: Likewise.
3661         * Makefile.in: Regenerate.
3662         * configure: Likewise.
3663         * gcj/Makefile.in: Likewise.
3664         * include/Makefile.in: Likewise.
3665         * testsuite/Makefile.in: Likewise.
3666
3667 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3668
3669         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3670         for privileged getProperty calls.
3671         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3672         SetAccessibleAction instead of anonymous class for doPrivileged call.
3673         (getMethod): Likewise.
3674         (setAccessible): New field. PrivilegedAction object to use when
3675         calling setAccessible.
3676         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3677         SetAccessibleAction instead of anonymous class for diPrivileged call.
3678         (setFields): Likewise.
3679         (getClassUID): Likewise.
3680         (findMethod): Likewise.
3681         * gnu/java/security/action/GetPropertyAction.java: New class.
3682         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3683
3684 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3685
3686         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3687         for final fields.
3688         * testsuite/libjava.lang/Serialization.java: New test.
3689         * testsuite/libjava.lang/Serialization.out: New.
3690
3691 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3692
3693         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3694         missed in last commit.
3695
3696 2004-07-23  Mark Wielaard  <mark@klomp.org>
3697
3698         * java/lang/System.java (static): Set http.agent system property when
3699         not yet set.
3700         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3701         from system property inside AccessController.doPrivileged() call.
3702         (proxyPort): Made package private.
3703         (proxyInUse): Likewise.
3704         (proxyHost): Likewise.
3705         (userAgent): Likewise.
3706
3707 2004-07-23  Mark Wielaard  <mark@klomp.org>
3708
3709         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3710         implementation.
3711
3712 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3713
3714         * Makefile.am (ordinary_java_source_files): Add
3715         DefaultContentHandlerFactory.java.
3716         * Makefile.in: Rebuilt.
3717         * java/net/URLConnection.java (defaultFactory): New field.
3718         (getContent): 
3719         (getContentHandler): Renamed from 'setContentHandler'. Try 
3720         defaultFactory after user-set factory, if any. Search for content 
3721         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3722         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3723         Implemented.
3724         (getLastModified): Implemented.
3725         (getPermission): Create file permission here, instead of in
3726         constructor.
3727         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3728         Implemented.
3729         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3730         Implemented.
3731         (getLastModified): Implemented.
3732         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3733         Default implementation.
3734         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3735         Implement using GdkPixbufDecoder.
3736         
3737 2004-07-21  Michael Koch  <konqueror@gmx.de>
3738
3739         * javax/swing/JTextArea.java
3740         (setLineWrap): Fire property change event after new value is set.
3741         (setTabSize): Likewise.
3742
3743 2004-07-21  Michael Koch  <konqueror@gmx.de>
3744
3745         * javax/swing/JTable.java
3746         (autoCreateColumnsFromModel): New field.
3747         (autoResizeMode): Likewise.
3748         (cellEditor): Likewise.
3749         (cellSelectionEnabled): Likewise.
3750         (columnModel): Likewise.
3751         (dataModel): Likewise.
3752         (defaultEditorsByColumnClass): Likewise.
3753         (defaultRenderersByColumnClass): Likewise.
3754         (editingColumn): Likewise.
3755         (editingRow): Likewise.
3756         (gridColor): Likewise.
3757         (preferredViewportSize): Likewise.
3758         (rowHeight): Likewise.
3759         (rowMargin): Likewise.
3760         (rowSelectionAllowed): Likewise.
3761         (selectionBackground): Likewise.
3762         (selectionForeground): Likewise.
3763         (selectionModel): Likewise.
3764         (showHorizontalLines): Likewise.
3765         (showVerticalLines): Likewise.
3766         (tableHeader): Likewise.
3767         (JTable): Implemented.
3768         (getColumnModel): Likewise.
3769         (getSelectedRow): Likewise.
3770         (getSelectionModel): Likewise.
3771         (setModel): Likewise.
3772         (setSelectionModel): Likewise.
3773         (createScrollPaneForTable): New method.
3774         (createDefaultDataModel): Likewise.
3775         (createDefaultListSelectionModel): Likewise.
3776         (getModel): Likewise.
3777         (getTableHeader): Likewise.
3778         (setTableHeader): Likewise.
3779         (getColumnSelectionAllowed): Likewise.
3780         (setColumnSelectionAllowed): Likewise.
3781         (getRowSelectionAllowed): Likewise.
3782         (setRowSelectionAllowed): Likewise.
3783         (getAutoResizeMode): Likewise.
3784         (setAutoResizeMode): Likewise.
3785         (getColumnCount): Likewise.
3786         (getRowCount): Likewise.
3787         (getCellRenderer): Likewise.
3788         * javax/swing/JTree.java
3789         (cellRenderer): New field.
3790         (editable): Likewise.
3791         (rootVisible): Likewise.
3792         (showsRootHandles): Likewise.
3793         (getModel): New method.
3794         (setModel): Likewise.
3795         (isEditable): Likewise.
3796         (setEditable): Likewise.
3797         (isRootVisbile): Likewise.
3798         (setRootVisible): Likewise.
3799         (getShowsRootHandles): Likewise.
3800         (setShowRootHandles): Likewise.
3801         (getCellRenderer): Likewise.
3802         (setCellRenderer): Likewise.
3803
3804 2004-07-21  Michael Koch  <konqueror@gmx.de>
3805
3806         * javax/swing/JFormattedTextField.java
3807         (setDocument): Implemented.
3808         * javax/swing/JRootPane.java:
3809         Fixed javadocs.
3810         * javax/swing/JTable.java
3811         (getDefaultRenderer): New method.
3812         * javax/swing/JTextField.java
3813         (setFont): Likewise.
3814         (getPreferredSize): Likewise.
3815         * javax/swing/JToggleButton.java
3816         (getAccessibleContext): Fix javadoc.
3817         * javax/swing/JTree.java:
3818         Add some javadocs.
3819         * javax/swing/JViewport.java:
3820         Likewise.
3821
3822 2004-07-21  David Jee  <djee@redhat.com>
3823
3824         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3825         Collect all native method declaration at the top.
3826         (create): Set the filename filter if necessary.
3827         (setDirectory): Call nativeSetDirectory().
3828         (setFilenameFilter): Implement.
3829         (filenameFilterCallback): New method.
3830         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3831         (create): Configure dialog to show hidden files.
3832         (filenameFilterCallback): New function. 
3833         (nativeSetFilenameFilter): New function.
3834         (nativeSetDirectory): New function.
3835
3836 2004-07-21  Kim Ho  <kho@redhat.com>
3837
3838         * javax/swing/plaf/basic/BasicSliderUI.java:
3839         Ran Jalopy.
3840         (paintTrack): Fill the track before painting
3841         the borders.
3842
3843 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3844
3845         patch from Roman Kennke <roman@ontographics.com>
3846         * javax/swing/Spring.java: New file.
3847         * javax/swing/SpringLayout.java: New file.
3848         * Makefile.am: Add new files.
3849         * Makefile.in: Regenerate.
3850
3851 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3852
3853         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3854         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3855         * javax/swing/ScrollPaneLayout.java: Likewise.
3856
3857 2004-07-21  Kim Ho  <kho@redhat.com>
3858
3859         * javax/swing/DefaultDesktopManager.java:
3860         (findMinimum): Removed.
3861         (resizeFrame): Trust the UI to pass valid 
3862         bounds.
3863         * javax/swing/JOptionPane.java:
3864         Implemented showInternalXXXDialog methods.
3865         (startModal): New method.
3866         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3867         (BorderListener::mouseDragged): Verify that the new 
3868         bounds are valid before passing them to the DesktopManager.
3869         (preferredLayoutSize): Delegate
3870         to getSize.
3871         (minimumLayoutSize): Ditto.
3872         (getSize): New method.
3873         (GlassPaneDispatcher): Reimplemented by copying 
3874         a stripped down LightweightDispatcher from Container.
3875         (getMinimumSize): Call minimumLayoutSize.
3876         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3877         Ran Jalopy.
3878         (mousePressed): Add ability to properly close 
3879         JInternalFrames.
3880         * javax/swing/plaf/basic/BasicToolBarUI.java:
3881         (DragWindow): Set owner for DragWindow.
3882
3883 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3884
3885         * java/awt/image/ShortLookupTable.java: New file.
3886         * java/awt/image/ByteLookupTable.java: New file.
3887         * Makefile.am: Added new files.
3888         * Makefile.in: Regenerated.
3889
3890 2004-07-21  David Jee  <djee@redhat.com>
3891
3892         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3893         (create(GtkContainerPeer)): New native method.
3894         (create()): Call native create(), passing in the parent frame
3895         as the paramter. Natively set the current file and directory.
3896         (setFile): Construct an absolute filename before passing it to
3897         the native peer.
3898         (nativeGetDirectory): New method.
3899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3900         (window_closed): Removed.
3901         (ok_clicked): Likewise.
3902         (cancel_clicked): Likewise.
3903         (handle_response): New method.
3904         (create): Use GtkFileChooserDialog.
3905         (connectSignals): Connect to handle_response.
3906         (nativeGetDirectory): New method.
3907         (nativeSetFile): Use GtkFileChooserDialog.
3908
3909 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3910
3911         * java/awt/image/LookupTable.java: New file.
3912         * Makefile.am: Added new file.
3913         * Makefile.in: Regenerated.
3914
3915 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3916
3917         * java/awt/image/Kernel.java: New file.
3918         * Makefile.am: Added new file.
3919         * Makefile.in: Regenerated.
3920
3921 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3922
3923         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3924         * javax/swing/JMenu.java: Likewise.
3925         * javax/swing/JMenuBar.java: Likewise.
3926         (MARGIN_CHANGED_PROPERTY): New property.
3927         (setMargin): Implemented.
3928         * javax/swing/JMenuItem.java: Fixed javadocs.
3929         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3930         (LABEL_CHANGED_PROPERTY): New property.
3931         (add): changed to use createActionComponent.
3932         (createActionComponent): Implemented.   
3933         (setLabel): Fire PropertyChangeEvent if label property
3934         changes.
3935         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3936         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3937         (ContainerHandler): Repaint if margin property has changed.
3938         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3939         (installUI): Call installComponents().
3940         (uninstallUI): Call uinstallComponents().
3941         * javax/swing/plaf/basic/BasicMenuUI.java:
3942         Fixed javadocs.
3943         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3944         Likewise.
3945
3946 2004-07-21  Kim Ho  <kho@redhat.com>
3947
3948         * javax/swing/plaf/basic/BasicToolBarUI.java:
3949         (DragWindow): Use the right constructor.
3950
3951 2004-07-21  Kim Ho  <kho@redhat.com>
3952
3953         * javax/swing/JToolBar.java:
3954         (layoutContainer): Use getComponents.
3955         * javax/swing/plaf/basic/BasicToolBarUI.java:
3956         (DragWindow): Don't use SwingUtilities' 
3957         getOwnerFrame
3958         (ToolBarDialog): ditto.
3959
3960 2004-07-21  Kim Ho  <kho@redhat.com>
3961
3962         * javax/swing/JRootPane.java:
3963         Ran jalopy.
3964         (layoutContainer): Set the glasspane's size to 
3965         be the same as the content pane.
3966         (createGlassPane): Set opaque property to false.
3967
3968 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3969
3970         * java/awt/Component.java (requestFocus()): Don't handle Panels
3971         specially.
3972         (requestFocus(boolean)): Likewise.
3973         (requestFocusInWindow(boolean)): Likewise.
3974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3975         Set GTK_CAN_FOCUS flag.
3976
3977 2004-07-21  Kim Ho  <kho@redhat.com>
3978
3979         * Makefile.am: Added new file.
3980         * Makefile.in: Regenerated.
3981         * gcj/Makefile.in: Regenerated.
3982         * include/Makefile.in: Regenerated.
3983         * javax/swing/AbstractButton.java:
3984         Add rollOverEnabled property.
3985         (setRolloverEnabled): Use new property.
3986         (isRolloverEnabled): Use new property.
3987         * javax/swing/JTabbedPane.java:
3988         (setComponent): Remove useless JTabbedPane.this.
3989         * javax/swing/JToolBar.java: Finish implementation.
3990         * javax/swing/plaf/basic/BasicArrowButton.java:
3991         (paint): Moved border painting to a border.
3992         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3993         Change JToolBar look and feel defaults.
3994         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3995         (actionPerformed): Return Integer index instead of name.
3996         (addButtonComponents): Check to see if component is
3997         JButton last.
3998         (createMessageArea): Don't use components that are not
3999         completed yet.
4000         (getIconForType): Use temporary icons.
4001         * javax/swing/plaf/basic/BasicSliderUI.java:
4002         (mousePressed): Do not return if it's on thumb.
4003         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4004         (paintMinorTickForVertSlider): ditto.
4005         (paintMajorTickForHorizSlider): ditto.
4006         (paintMajorTickForVertSlider): ditto.
4007         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4008         Add a border around the SplitPaneDivider.
4009         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4010         Remove comments.
4011         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4012         New file. Implemented.
4013         * javax/swing/plaf/basic/BasicToolBarUI.java:
4014         Implemented.
4015         * testsuite/Makefile.in: Regenerated.
4016
4017 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4018
4019         * javax/swing/Timer.java (run): Queue events each time cycle.
4020
4021 2004-07-21  David Jee  <djee@redhat.com>
4022
4023         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4024         (imageComplete): Call image.imageComplete().
4025         * java/awt/image/MemoryImageSource.java:
4026         Reimplement consumers as a Vector instead of a Hashtable.  This is
4027         because enumeration on a Hashtable is not thread-safe.
4028         (addConsumer): Adapt to Vector consumers.
4029         (isConsumer): Adapt to Vector consumers.
4030         (removeConsumer): Adapt to Vector consumers.
4031         (startProduction): Adapt to Vector consumers. Call imageComplete()
4032         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4033         (newPixels): Adapt to Vector consumers.
4034         (sendPicture): Set the color model of the image consumer.
4035         (newPixels(IIII)): Adapt to Vector consumers.
4036         (newPixels(IIIIB)): Adapt to Vector consumers.
4037
4038 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4039
4040         * java/awt/Component.java (deliverEvent): Implement.
4041         (postEvent): Implement.
4042         (handleEvent): Implement.
4043         (translateEvent): New method.
4044         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4045         * java/awt/Container.java (deliverEvent): Implement.
4046         * java/awt/Event.java (paramString): Fix formatting.
4047         * java/awt/Font.java (toString): Likewise.
4048         * java/awt/Window.java (postEvent): Implement.
4049
4050 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4051
4052         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4053         Set window's focus owner upon receiving a FOCUS_LOST event.
4054         * java/awt/Window.java (Window()): Refocus the previously
4055         focused component within the window when the window regains the
4056         top-level focus.
4057         (setFocusOwner): New method.
4058         * java/awt/Component.java (requestFocus): Add FIXME.
4059
4060         * libgcj.pc.in: Remove library flags.
4061
4062 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4063
4064         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4065         MOUSE_PRESSED event.
4066         * java/awt/Component.java (requestFocus()): Handle Panel
4067         specially.  Post FOCUS_LOST event on opposite component.
4068         (requestFocus(boolean)): Likewise.
4069         (requestFocusInWindow(boolean)): Likewise.
4070         (paramString): Reorder dimension fields.
4071         * java/awt/Container.java (paramString): Fix string format.
4072         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4073         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
4074         process key events if the focus owner is non-null.
4075         (dispatchKeyEvent): Likewise.
4076         * java/awt/Frame.java (paramString): Fix formatting.
4077         (generateName): New method.
4078         (getUniqueLong): Likewise.
4079         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4080         the temporary focus owner is null.  If so, return the permanent
4081         focus owner.
4082         * java/awt/Panel.java (generateName): New method.
4083         (getUniqueLong): Likewise.
4084         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4085         signal handling to make callbacks more specific.
4086
4087 2004-07-21  Michael Koch  <konqueror@gmx.de>
4088
4089         * javax/swing/text/Position.java
4090         (Bias): Implemented.
4091
4092 2004-07-21  Michael Koch  <konqueror@gmx.de>
4093
4094         * javax/swing/LookAndFeel.java
4095         (provideErrorFeedback): New method.
4096
4097 2004-07-21  Michael Koch  <konqueror@gmx.de>
4098
4099         * javax/swing/JTextArea.java
4100         (tabSize): New field.
4101         (getTabSize): New method.
4102         (setTabSize): Likewise.
4103
4104 2004-07-21  Michael Koch  <konqueror@gmx.de>
4105
4106         * javax/swing/ActionMap.java:
4107         Fixed javadocs all over.
4108         (serialVersionUID): Made private.
4109         (parent): Don't explicitely initialize with default value.
4110         (get): SImplified.
4111         (keys): Reimplemented.
4112         (allKeys): Likewise.
4113         (convertSet): Removed.
4114         * javax/swing/ComponentInputMap.java:
4115         Fixed javadocs all over.
4116         (ComponentInputMap): Implemented.
4117         (put): Likewise.
4118         (clear): Likewise.
4119         (remove): Likewise.
4120         (SetParent): Likewise.
4121         (getComponent): Likewise.
4122         * javax/swing/InputMap.java:
4123         Fixed javadocs all over.
4124         (serialVersionUID): Made private.
4125         (parent): Don't explicitely initialize with default value.
4126         (get): SImplified.
4127         (keys): Reimplemented.
4128         (allKeys): Likewise.
4129         (convertSet): Removed.
4130
4131 2004-07-21  Michael Koch  <konqueror@gmx.de>
4132
4133         * javax/swing/ActionMap.java,
4134         javax/swing/ComponentInputMap.java,
4135         javax/swing/InputMap.java,
4136         javax/swing/table/DefaultTableColumnModel.java,
4137         javax/swing/table/TableColumn.java,
4138         javax/swing/table/TableColumnModel.java,
4139         javax/swing/table/TableModel.java,
4140         javax/swing/text/AbstractDocument.java,
4141         javax/swing/text/TextAction.java:
4142         Reformated.
4143
4144 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4145
4146         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4147         Make method non-static.
4148         * javax/swing/AbstractButton.java:
4149         Rename fields to match property names where possible.
4150         (iconTextGap): New property.
4151         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4152         (init) New method, call from after various constructors.
4153         * javax/swing/JComponent.java (revalidate): 
4154         Invalidate before queueing repair.
4155         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4156         Reimplement in terms of visibleRowCount property.
4157         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4158         * javax/swing/JScrollPane.java (createScrollListener): 
4159         Remove tracing chatter.
4160         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4161         * javax/swing/RepaintManager.java (addInvalidComponent): 
4162         Don't invalidate.
4163         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4164         calculations.
4165         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4166         Mimic sun behavior on top left/right positioning.
4167         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4168         Remove mistaken use of preferredScrollableViewportSize here.
4169         (layoutContainer): Use view's preferred size as basis.
4170         * javax/swing/plaf/basic/BasicButtonUI.java:
4171         Set, get, and use textIconGap property.
4172         (paint) Paint text returned from layout (with ellipsis).
4173         * javax/swing/plaf/basic/BasicListUI.java:
4174         Remove tracing chatter, correct various minor calculations.
4175         (getCellBounds): Update layout state before calculating.
4176         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4177         Use margin default similar to sun's.    
4178         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4179         (createIncreaseIcon): Center icon, minimize margins.
4180         (createDecreaseIcon): Likewise.
4181         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4182         Implement.
4183         (installUI): Call it.
4184         (uninstallDefaults): Implement.
4185         (uninstallUI): Call it.
4186         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4187         Call existing Window constructor.
4188         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4189         Set clip before painting.
4190
4191 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4192         
4193         * javax/swing/JMenuItem.java:
4194         (processMouseEvent): Reimplemented to deal with
4195         mouse drag events.
4196         (createMenuDragMouseEvent): New private helper method.
4197         Creates MenuDragMouseEvent.
4198         * javax/swing/MenuSelectionManager.java
4199         (componentForPoint): Implemented.
4200         (isComponentPartOfCurrentMenu): Made public.
4201         (processMouseEvent): Reimplemented to deal with 
4202         mouse drag events.
4203         (setSelectedPath): Corrected small mistake that caused
4204         path to be set incorrectly.
4205         (getPath): If given component is JMenu then also add this
4206         menu's popup menu to the selected path.
4207         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4208         (getPath): Ditto.
4209         (getPreferredSize): Call getPreferredMenuItemSize().
4210         (getPreferredItemSize): Moved code from getPreferredSize to here.
4211         (installListeners): Install MouseMotionListeners.
4212         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4213         if mouse wasn't released in the bounds of this menu item.
4214         (MenuDragMouseHandler): Implemented.
4215         * javax/swing/plaf/basic/BasicMenuUI.java:
4216         (installListeners): Install MouseMotionListener and 
4217         MenuDrageMouseListener.
4218         (MenuDragMouseHandler): Implemented.
4219         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4220         (uninstallListeners): Implemented.
4221         
4222 2004-07-21  Michael Koch  <konqueror@gmx.de>
4223
4224         * javax/swing/JCheckBox.java: Reformated.
4225         (JCheckBox): Fixed all constructors.
4226         (isBorderPaintedFlat): New method.
4227         (setBorderPaintedFlat): New method.
4228         * javax/swing/JEditorPane.java
4229         (createEditorKitForContentType): Made public.
4230         (scrollToReference): Likewise.
4231         * javax/swing/JTextArea.java
4232         (setLineWrap): Fire property change.
4233         * javax/swing/JToggleButton.java
4234         (JToggleButton): New constructor.
4235         (JToggleButton): Simplified.
4236         * javax/swing/text/AttributeSet.java
4237         (FontAttribute): Renamed from FontCharacterAttribute.
4238         * javax/swing/text/JTextComponent.java
4239         (KeyBinBinding): Added javadoc.
4240         (JTextComponent): Likewise.
4241         (getAccessibleContext): Fixed javadoc.
4242         * javax/swing/text/View.java
4243         (View): Added javadoc.
4244         * javax/swing/text/TabableView.java: New file.
4245         * Makefile.am: Added javax/swing/text/TabableView.java.
4246         * Makefile.in: Regenerated.
4247
4248 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4249
4250         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4251         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4252         (GtkErrorImage): New helper class.
4253         (bufferedImageOrError): New helper method.
4254         (createImage): Use it.
4255
4256 2004-07-21  David Jee  <djee@redhat.com>
4257
4258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4259         (setCaretPosition): Scroll the text view so the new caret position
4260         is visible on screen.
4261
4262 2004-07-21  David Jee  <djee@redhat.com>
4263
4264         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4265         (setBounds): Do not validate awtComponent here.
4266         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4267         (getPreferredSize): New method.
4268         * java/awt/ScrollPane.java
4269         (ScrollPane): Set default size to 100x100.
4270         (addNotify): If child is not a Panel, wrap it with a new Panel.
4271         (paramString): Implement.
4272
4273 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4274
4275         * javax/swing/JMenu.java:
4276         (setSelected): Display popup menu only if this menu 
4277         is showing on the screen.
4278         * javax/swing/JPopupMenu.java:
4279         (processMouseEvent): Added comment.
4280         (processKeyEvent): Likewise.
4281         * javax/swing/MenuSelectionManager.java:
4282         (clearSelectedPath): Only fireStateChanged() after
4283         selected path was changed, not before.
4284         (setSelectedPath): Likewise.
4285         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4286         (paintMenuItem): Corrected position of menu item's
4287         icon.
4288         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4289         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4290         (popupMenuCanceled): Reimplemented.
4291         (popupMenuWillBecomeVisible): Select first menu item by default 
4292         when displaying free floating popup menus.
4293         (TopWindowListener): Reimplemented.
4294
4295 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4296
4297         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4298         Panel from being painted twice when it is first shown.
4299
4300 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4301
4302         * java/awt/Window.java: Reverted changes from my 
4303         previous patch for creating window without an owner.
4304         * javax/swing/SwingUtilities.java: 
4305         (SwingUtilities.OwnerFrame): made static.
4306         (OwnerFrame.setVisible): New method. Overridden with
4307         empty implementation.
4308         (OwnerFrame.isShowing): New method. Ovverridden
4309         to return always true.
4310
4311 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4312
4313         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4314         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4315         (GtkComponentPeer): Remove temporary try/catch block.
4316         (setVisible): Call show and hide.
4317         (show): Make native.
4318         (hide): Likewise.
4319         (getArgs): Don't add "visible" argument.
4320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4321         (property_notify_predicate): Return Bool instead of int.
4322         (find_layout): New function.
4323         (connectJObject): Call find_layout.
4324         (connectSignals): Likewise.
4325         (moveLayout): Likewise.
4326         (gtkLayoutSetVisible): Likewise.
4327
4328 2004-07-21  Mark Wielaard  <mark@klomp.org>
4329
4330         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4331         on notifier object before calling notifyAll().
4332
4333 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4334
4335         * java/awt/Window.java: Changed constructors to use new
4336         method that is described below. Constructors call this
4337         methods only if newly created window should have an owner.
4338         (setWindowOwner): New method. Implementation for
4339         this method is moved from this(owner,configuration).
4340         * javax/swing/JWindow.java:
4341         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4342         instead of owner.
4343         * javax/swing/SwingUtilities.java:
4344         (ownerFrame): Change type of this field to OwnerFrame.
4345         (getOwnerFrame): Changed to return object of type OwnerFrame.
4346         (SwingUtilities.OwnerFrame): New class. Represents owner
4347         of a Window that is not provided with one.
4348
4349 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4350
4351         *  javax/swing/AbstractButton.java: 
4352         (configurePropertiesFromAction): Set action command
4353         to button's text by default if action command is not 
4354         explicitely specified.
4355         * javax/swing/JMenu.java: Remove unnecessary listener
4356         and methods relevant to it.
4357         (setSelected): Reimplemented.
4358         (menuSelectionChanged): Moved most part of implementation to
4359         setSelected() and call it instead.
4360         * javax/swing/JMenuItem.java: 
4361         (init): Comment out statement that sets paint_border to false.
4362         (configurePropertiesFromAction): Do not set accelerator
4363         for JMenu.
4364         (menuSelectionChanged): Change selected index in the selection
4365         model of menu item's parent.
4366         * javax/swing/JPopupMenu.java:
4367         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4368         instead of GridBagConstraints.HORIZONTAL.
4369         (insert): Likewise.
4370         (createActionChangeListener): Implemented.
4371         (setVisible): Correct location of HeavyWeightMenu and 
4372         don't firePopupMenuCanceled().
4373         (menuSelectionChanged): Implemented.
4374         (ActionChangeListener): New Listener. Implemented.
4375         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4376         (BasicMenuBarUI.ContainerHandler): Implemented.
4377         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4378         (paintMenuItem): Uncommented out code that paints 
4379         icon, now that icons are working properly.
4380         (PropertyChangeListener): Implemented.
4381         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4382         Added javadocs.
4383         (topWindowListener): New field.
4384         (Constructor): initialize topWindowListener.
4385         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4386         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4387         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4388         Implemented.
4389
4390 2004-07-21  Michael Koch  <konqueror@gmx.de>
4391
4392         * javax/swing/plaf/basic/BasicButtonUI.java
4393         (paintFocus): Fixed method signature.
4394         (paintButtonPressed): Likewise.
4395         (paintButtonNormal): Likewise.
4396         (paintText): New method.
4397         * javax/swing/plaf/basic/BasicLabelUI.java
4398         (paint): Re-indented.
4399         * javax/swing/plaf/basic/BasicTextUI.java
4400         (installUI): Set parent textComponent to opaque.
4401         * javax/swing/text/DefaultHighlighter.java
4402         (checkPositions): New helper method.
4403         (addHighlight): Throws BadLocationException, check positions.
4404         (changeHighlight): Likewise.
4405         * javax/swing/text/EditorKit.java
4406         (EditorKit): Implements Serializable.
4407         * javax/swing/text/JTextComponent.java
4408         (getUI): Added javadoc.
4409         (setUI): Likewise.
4410         (upadteUI): Added javadoc, don't revalidate and repaint.
4411
4412 2004-07-21  David Jee  <djee@redhat.com>
4413
4414         * java/awt/GridBagLayout.java
4415         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4416         * javax/swing/AbstractButton.java
4417         (setText): Reindent.
4418         * javax/swing/RepaintManager.java
4419         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4420
4421 2004-07-21  Michael Koch  <konqueror@gmx.de>
4422
4423         * javax/swing/JFormattedTextField.java
4424         (value): New field.
4425         (JFormattedTextField): Implemented.
4426         (getValue): Likewise.
4427         (setValue): Likewise.
4428         * javax/swing/LookAndFeel.java
4429         (getSupportsWindowDecorations): New method.
4430         * javax/swing/UIDefaults.java:
4431         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4432         (addPropertyChangeListener): Made public.
4433         (addResourceBundle): Likewise.
4434         (removeResourceBundle): Likewise.
4435         (setDefaultLocale): Likewise.
4436         * javax/swing/plaf/basic/BasicRootPaneUI.java
4437         (BasicRootPaneUI): Implements PropertyChangeListener.
4438         (propertyChange): New method.
4439         * javax/swing/plaf/basic/BasicTextUI.java
4440         (BasicHighlighter): New inner class.
4441         (createHighlighter): New method.
4442         * javax/swing/plaf/basic/BasicToolBarUI.java
4443         (DragWindow): Extends java.awt.Window.
4444         * javax/swing/text/JTextComponent.java
4445         (getDocument): Removed debug output.
4446         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4447         javax/swing/text/DefaultHighlighter.java,
4448         javax/swing/text/FieldView.java,
4449         javax/swing/text/PlainView.java: New files.
4450         * Makefile.am: Added new files.
4451         * Makefile.in: Regenerated.
4452
4453 2004-07-21  Michael Koch  <konqueror@gmx.de>
4454
4455         * javax/swing/JEditorPane.java
4456         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4457         (createEditorKitForContentType): Likewise.
4458         * javax/swing/text/DefaultEditorKit.java
4459         (serialVersionUID): Added constant field.
4460         (EndOfLineStringPropery): Fixed typo.
4461         (DefaultEditorKit): New constructor.
4462         * javax/swing/text/Segment.java:
4463         Import java.text.CharacterIterator.
4464         * javax/swing/text/CharacterIterator.java,
4465         javax/swing/text/PlainEditorKit.java: Removed.
4466         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4467         javax/swing/text/PlainEditorKit.java.
4468         * Makefile.in: Regenerated.
4469
4470 2004-07-21  Michael Koch  <konqueror@gmx.de>
4471
4472         * javax/swing/JButton.java,
4473         javax/swing/text/DefaultEditorKit.java,
4474         javax/swing/text/EditorKit.java,
4475         javax/swing/text/Segment.java,
4476         javax/swing/text/StyledEditorKit.java:
4477         Reformatted.
4478
4479 2004-07-21  Michael Koch  <konqueror@gmx.de>
4480
4481         * javax/swing/ImageIcon.java
4482         (file): Removed.
4483         (description): Renamed from descr.
4484         (ImageIcon): Added missing constructors.
4485         (setParent): Removed.
4486         (setImageObserver): New method.
4487         (getImageObserver): New method.
4488         (paintIcon): Handle observer = null.
4489         * javax/swing/JButton.java
4490         (removeNotify): Fixed javadoc.
4491         (updateUI): Simplified.
4492         * javax/swing/JRootPane.java
4493         (serialVersionUID): New constant field.
4494         * javax/swing/UIManager.java:
4495         Fixed javadocs all over.
4496         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4497         * javax/swing/text/AbstractDocument.java
4498         (createPosition): Throws BadLocationException.
4499         (getText): Likewise.
4500         (remove): Likewise.
4501         * javax/swing/text/ComponentView.java
4502         (modelToView): Likewise.
4503         * javax/swing/text/DefaultEditorKit.java:
4504         Made all public methods public.
4505         (read): Throws BadLocationException and IOException.
4506         (write): Likewise.
4507         * javax/swing/text/EditorKit.java:
4508         Made all public methods public.
4509         (serialVersionUID): New constant field.
4510         (clone): New method.
4511         (read): Throws BadLocationException and IOException.
4512         (write): Likewise.
4513         * javax/swing/text/Segment.java
4514         (array): Made public.
4515         (count): Likewise.
4516         (offset): Likewise.
4517         (Segment): New constructors.
4518         (clone): Reimplemented.
4519         * javax/swing/text/StyledEditorKit.java
4520         (serialVersionUID): New constant field.
4521
4522 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4523
4524         * java/awt/image/BufferedImage.java 
4525         (getSource): Implement.
4526         * javax/swing/ImageIcon.java 
4527         (ImageIcon): Implement ctor.
4528         * javax/swing/ScrollPaneLayout.java 
4529         (preferredLayoutSize): Be more careful about nulls.
4530
4531 2004-07-21  Michael Koch  <konqueror@gmx.de>
4532
4533         * javax/swing/text/AttributeSet.java
4534         (CharacterAttribute): New interface
4535         (ColorAttribute): Likewise.
4536         (FontCharacterAttribute): Likewise.
4537         (ParagraphAttribute): Likewise.
4538         * javax/swing/text/DefaultCaret.java
4539         (moveCaret): New method.
4540         (positionCaret): Likewise.
4541         (repaint): Made protected.
4542         * javax/swing/text/JTextComponent.java
4543         (KeyBinding): Made it static.
4544         * javax/swing/text/View.java
4545         (getContainer): Honor parent == null.
4546
4547 2004-07-21  Michael Koch  <konqueror@gmx.de>
4548
4549         * javax/swing/text/AbstractDocument.java:
4550         Reformatted.
4551
4552 2004-07-21  Michael Koch  <konqueror@gmx.de>
4553
4554         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4555         Import javax.swing.UIManager explicitely.
4556         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4557         (ScrollingButton): Made it static.
4558
4559 2004-07-21  Michael Koch  <konqueror@gmx.de>
4560
4561         * javax/swing/UIDefaults.java
4562         (ActiveValue): Made public.
4563         (LazyValue): Likewise.
4564         * javax/swing/plaf/basic/BasicTextUI.java
4565         (RootView): Reintroduced.
4566         (view): Removed.
4567         (rootView): New field.
4568         (installUI): Create document if needed, initialize rootView.
4569         (uninstallUI): Hanle rootView.
4570         (paint): Likewise.
4571         (getRootView): Likewise.
4572         (setView): Likewise.
4573         * javax/swing/text/DefaultCaret.java:
4574         Renamed all "evt" variables to "event".
4575
4576 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4577
4578         * libgcj.spec.in: Add -l-java-util-logging.
4579
4580 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4581
4582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4583         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4584         gtk-xft-dpi can no calculate the right value.
4585         (dpi_changed_cb): Mark *pspec as unsused.
4586
4587 2004-07-21  David Jee  <djee@redhat.com>
4588
4589         * java/awt/Component.java
4590         (move): Delegate to setBounds().
4591         (resize): Likewise.
4592         (reshape): Fix so it repaints parent and self only when necessary.
4593
4594 2004-07-21  David Jee  <djee@redhat.com>
4595
4596         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4597         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4598         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4599         (setVisible): Likewise.
4600         (show): Likewise.
4601         (hide): Likewise.
4602         (getArgs): Likewise.
4603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4604         (property_notify_predicate): Likewise.
4605         (find_layout): Likewise.
4606         (connectJObject): Likewise.
4607         (connectSignals): Likewise.
4608         (moveLayout): Likewise.
4609         (gtkLayoutSetVisible): Likewise.
4610
4611 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4612
4613         * Makefile.am
4614         (jv_convert_LDADD):
4615         (gij_LDADD):
4616         (rmic_LDADD):
4617         (rmiregistry_LDADD): Add lib-java-util-logging.la
4618         * Makefile.in: Regenerate.
4619
4620 2004-07-21  Michael Koch  <konqueror@gmx.de>
4621
4622         * javax/swing/text/AbstractDocument.java
4623         (replace): Dont use protected method of java.util.Vector directly.
4624
4625 2004-07-21  Michael Koch  <konqueror@gmx.de>
4626
4627         * javax/swing/plaf/basic/BasicTextUI.java
4628         (installUI): Call specialized install methods.
4629         (installDefaults): New method.
4630         (installListeners): Likewise.
4631         (installKeyboardActions): Likewise.
4632         (uninstallUI): Likewise.
4633         (uninstallDefaults): New method.
4634         (uninstallListeners): Likewise.
4635         (uninstallKeyboardActions): Likewise.
4636         (getPropertyPrefix): New abstract method.
4637         (paint): Made final, just call paintSafely().
4638         (paintSavely): New method.
4639         (paintBackground): Likewise.
4640         (getVisibleEditorRect): Likewise.
4641         * javax/swing/text/LayeredHighlighter.java,
4642         javax/swing/text/TabExpander.java: New files.
4643         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4644         and javax/swing/text/TabExpander.java.
4645         * Makefile.in: Regenerated.
4646
4647 2004-07-21  Michael Koch  <konqueror@gmx.de>
4648
4649         * javax/swing/plaf/basic/BasicTextUI.java
4650         (BasicTextUI): Made abstract.
4651         (BasicCaret): New inner class.
4652         (view): Don't explicitely initialize with "null".
4653         (textComponent): New field.
4654         (textColor): Removed.
4655         (disabledTextColor): Removed.
4656         (normalBackgroundColor): Removed.
4657         (RootView): Removed commented out inner class.
4658         (createUI): Removed.
4659         (createCaret): New method.
4660         (getComponent): Likewise.
4661         (installUI): Initialize textComponent only.
4662         (getPreferredSize): Use installed JTextComponent.
4663         (setView): New method.
4664         (create): Likewise.
4665         * javax/swing/text/JTextComponent.java
4666         (highlighter): New field.
4667         (caretColor): Likewise.
4668         (disabledTextColor): Likewise.
4669         (seletedTextColor): Likewise.
4670         (selectionColor): Likewise.
4671         (setUI): New method.
4672         (getCaretColor): Likewise.
4673         (setCaretColor): Likewise.
4674         (getDisabledColor): Likewise.
4675         (setDisabledColor): Likewise.
4676         (getSelectedTextColor): Likewise.
4677         (setSelectedTextColor): Likewise.
4678         (getSelectionColor): Likewise.
4679         (setSelectionColor): Likewise.
4680         (getHighlighter): Likewise.
4681         (setHighlighter): Likewise.
4682         (replaceSelection): Likewise.
4683
4684 2004-07-21  Michael Koch  <konqueror@gmx.de>
4685
4686         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4687         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4688         * javax/swing/plaf/basic/BasicToolBarUI.java
4689         (BasicToolBarUI): Implements SwingConstants.
4690
4691 2004-07-21  Michael Koch  <konqueror@gmx.de>
4692
4693         * javax/swing/JPopupMenu.java: Removed CVS tags.
4694         * javax/swing/UIDefaults.java: Reformatted.
4695         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4696         Explicitely import used classes.
4697
4698 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4699
4700         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4701         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4702         (GtkComponentPeer): Remove temporary try/catch block.
4703         (setVisible): Call show and hide.
4704         (show): Make native.
4705         (hide): Likewise.
4706         (getArgs): Don't add "visible" argument.
4707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4708         (property_notify_predicate): Return Bool instead of int.
4709         (find_layout): New function.
4710         (connectJObject): Call find_layout.
4711         (connectSignals): Likewise.
4712         (moveLayout): Likewise.
4713         (gtkLayoutSetVisible): Likewise.
4714
4715 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4716
4717         * javax/swing/AbstractButton.java:
4718         (setDisplayedMnemonicIndex): Check if button
4719         text is not null before checking its length.
4720         * javax/swing/JMenuItem.java:
4721         (processMouseEvent): Disarm menu item if mouse has
4722         exited it.
4723         * javax/swing/plaf/basic/BasicMenuUI.java:
4724         (MouseInputHandler.mouseEntered): Do not raise
4725         popup menu if this menu is already selected.
4726         (MouseInputHandler.mousePressed): Do not fire 
4727         MenuEvents.
4728         (MenuHandler): Implemented.     
4729
4730 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4731
4732         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4733         (getSelectedObjects): Implemented.
4734         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4735         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4736         Added javadoc for few methods.
4737         (processMouseEvent): Made public.
4738         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4739         (processMouseEvent): Likewise.
4740
4741 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4742
4743         * javax/swing/AbstractButton.java:
4744         (init): Set display mnemonic index to -1.
4745         (setMnemonic(char)): Use setMnemonic(int).
4746         (setMnemonic(int)): Set display mnemonic index.
4747         (getDisplayedMnemonicIndex): Change method signature
4748         by removing 'index' parameter.
4749         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4750         Added default for Menu.selectionBackground.     
4751         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4752         (paintMenuItem): Change background color of the selected
4753         menu item.
4754         (paintText): Paint differently when menu item is disabled.
4755         Also paint mnemonic if it appears in the menu item's label.
4756         (paintAccelerator): Paint accelerator differently
4757         if menu item is disabled.
4758         * javax/swing/plaf/basic/BasicMenuUI.java:
4759         (installDefaults): Install defaults for 
4760         selectionForeground and selectionBackground.
4761         (uninstallDefaults): Uninstall defauls for 
4762         selectionForeground and selectionBackground.
4763
4764 2004-07-21  Michael Koch  <konqueror@gmx.de>
4765
4766         * javax/swing/text/AbstractDocument.java
4767         (BranchElement): Implemented.
4768         (LeafElement): Implemented.
4769         * javax/swing/text/DefaultCaret.java:
4770         Import used classes.
4771         (serialVersionUID): New constant.
4772         * javax/swing/text/JTextComponent.java
4773         (AccessibleJTextComponent): Removed dead declaration.
4774         (caretPos): Removed.
4775         (setCaret): New method.
4776         * javax/swing/text/PlainDocument.java
4777         (rootElement): New field.
4778         (PlainDocument): Initialize rootElement.
4779         (createDefaultRoot): New method.
4780         (getDefaultRootElement): Implemented.
4781         * javax/swing/text/View.java: Reformatted.
4782         * javax/swing/text/ViewFactory.java
4783         (create): Added javadoc.
4784
4785 2004-07-21  Michael Koch  <konqueror@gmx.de>
4786
4787         * javax/swing/ToolTipManager.java: Reformatted.
4788
4789 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4790
4791         * javax/swing/AbstractButton.java
4792         (changeEvent): New field.
4793         (fireItemStateChanged): Change source of the event
4794         to 'this' before firing it to button listeners.
4795         (fireActionPerformed): Likewise.
4796         (fireStateChanged): Likewise.
4797         (createActionListener): Do not set source 
4798         of the event to AbstractButton.                                  
4799         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4800         (ContainerHandler.componentAdded): Removed 
4801         print out statement.
4802         (ContainerHandler.componentRemoved): Likewise.
4803
4804 2004-07-21  Michael Koch  <konqueror@gmx.de>
4805
4806         * javax/swing/text/Highlighter.java: New file.
4807         * Makefile.am: Added javax/swing/text/Highlighter.java.
4808         * Makefile.in: Regenerated.
4809
4810 2004-07-21  Michael Koch  <konqueror@gmx.de>
4811
4812         * javax/swing/ToolTipManager.java
4813         (stillInsideTimerAction): Fixed constructor arguments.
4814         (outsideTimerAction): Likewise.
4815         (insideTimerAction): Likewise.
4816
4817 2004-07-21  Michael Koch  <konqueror@gmx.de>
4818
4819         * javax/swing/JButton.java: Reformatted.
4820         * javax/swing/JFormattedTextField.java
4821         (getUIClassID): Implemented.
4822         * javax/swing/JRootPane.java
4823         (serialVersionUID): New constant.
4824         * javax/swing/JTextField.java
4825         (align): New field.
4826         (JTextField): Simplified.
4827         (getUIClassID): New method.
4828         (getActionListeners): Added @since tag.
4829         (setColumns): Invalidate layout and repaint.
4830         (getHorizontalAlignment): New method.
4831         (setHorizontalAlignment): New method.
4832         (selectAll): Removed.
4833         * javax/swing/SwingUtilities.java
4834         (getAncestorOfClass): Removed redundant @see tag.
4835         (isLeftMouseButton): Fixed implementation.
4836         (isMiddleMouseButton): Likewise.
4837         (isRightMouseButton): Likewise.
4838         * javax/swing/text/AbstractDocument.java
4839         (AttributeContext.addAttribute): New method.
4840         (AttributeContext.addAttributes): New method.
4841         (AttributeContext.getEmptySet): New method.
4842         (AttributeContext.reclaim): New method.
4843         (AttributeContext.removeAttribute): New method.
4844         (AttributeContext.removeAttributes): New method.
4845         * javax/swing/text/Document.java
4846         (createPosition): Throws BadLocationException.
4847         (getText): Likewise.
4848         (remove): Likewise.
4849         * javax/swing/text/JTextComponent.java
4850         (getText): Return null if no document is set. Catch
4851         BadLocationException.
4852         (getUI): Return ui.
4853         (updateUI): Simplified.
4854
4855 2004-07-21  Michael Koch  <konqueror@gmx.de>
4856
4857         * javax/swing/JButton.java
4858         (removeNotify): Fixed javadoc.
4859         (updateUI): Simplified.
4860
4861 2004-07-21  David Jee  <djee@redhat.com>
4862
4863         * gnu/java/awt/image/ImageDecoder.java
4864         (startProduction): Only add consumer if it's not added yet.
4865         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4866         (GdkPixbufDecoder): Don't call initState() here.
4867         (produce): Call initState() here, to ensure area_prepared and
4868         area_updated signals are properly connected.
4869         * gnu/java/awt/peer/gtk/GtkImage.java
4870         (setColorModel): Use equals() to compare ColorModel objects.
4871         (setPixels): Likewise.
4872         * java/awt/image/ColorModel.java
4873         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4874         * java/awt/image/RGBImageFilter.java
4875         (setColorModel): Set consumer's color model.
4876         (setPixels): Use equals() to compare ColorModel objects.
4877
4878 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4879
4880         * java/net/URLConnection.java (position): New field.
4881         (dateFormat1, dateFormat2, dateFormat3): Removed.
4882         (dateFormats): New field.
4883         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4884         each time instead of re-allocating.
4885         (initializeDateFormats): Initialize 'dateFormats'.
4886
4887 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4888
4889         PR libgcj/16591
4890         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4891         is defined.
4892
4893 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4894
4895         * java/net/Socket.java (getImpl): Now private. Remove comment.
4896
4897 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4898
4899         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4900         of chained Writer when calling super-constructor.
4901         * java/io/FilterWriter.java (FilterWriter): Likewise.
4902         * java/io/PrintWriter.java (PrintWriter): Likewise.
4903
4904 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4905
4906         * prims.cc (process_gcj_properties): Don't increment i within LHS
4907         of assignment.
4908
4909 2004-07-19  Per Bothner  <per@bothner.com>
4910
4911         Print -verbose:message on "loading", not initialization.
4912         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4913         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4914         gcj::verbose_class_flag.
4915         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4916         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4917         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4918         (_Jv_PrepareCompiledClass):  Likewise.
4919
4920 2004-07-18  Matthias Klose  <doko@debian.org>
4921
4922         * configure.in: Substitute target_noncanonical.
4923         * configure: Regenerate
4924
4925 2004-07-17  Michael Koch  <konqueror@gmx.de>
4926
4927         * java/lang/String.java: Fixed javadocs all over.
4928
4929 2004-07-17  Mark Wielaard  <mark@klomp.org>
4930
4931         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4932         when size is smaller.
4933         * java/io/RandomAccessFile.java (setLength): Use truncate for
4934         shrinking the file and seek plus write for expanding the file.
4935
4936 2004-07-17  Michael Koch  <konqueror@gmx.de>
4937
4938         * gnu/java/nio/channels/natFileChannelPosix.cc
4939         (implTruncate): Always save current position. Only reposition file
4940         pointer to where we started if not beyond new lenght. Reposition file
4941         pointer to file length if it points beyond the end of file.
4942
4943 2004-07-17  Mark Wielaard  <mark@klomp.org>
4944
4945         * javax/swing/Box.java: Put FIXME comment above class declaration.
4946         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4947         * javax/swing/JCheckBox.java: Likewise.
4948         * javax/swing/JDialog.java: Likewise.
4949         * javax/swing/JRadioButton.java: Likewise.
4950         * javax/swing/JToggleButton.java: Likewise.
4951         * javax/swing/UIManager.java: Likewise.
4952         * javax/swing/border/TitledBorder.java: Likewise.
4953         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4954         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4955         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4956         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4957         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4958         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4959         * javax/swing/text/JTextComponent.java: Likewise.
4960
4961 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4962
4963         * java/net/DatagramPacket.java (setAddress): Removed check for
4964         null address.
4965
4966 2004-07-17  Michael Koch  <konqueror@gmx.de>
4967
4968         * java/net/DatagramSocket.java
4969         (getLocalAddress): Check if socket is bound or not.
4970         * java/net/Socket.java
4971         (getLocalAddrss): Check if socket is bound or not.
4972         (getPort): Return -1 when not connected. Dont check getImpl() for
4973         null.
4974         (setReuseAddress): Check if socket is closed.
4975         (isConnected): Check if getImpl() returns null.
4976
4977 2004-07-17  Mark Wielaard  <mark@klomp.org>
4978
4979         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4980         on notifier object before calling notifyAll().
4981
4982 2004-07-17  Michael Koch  <konqueror@gmx.de>
4983
4984         * gnu/java/nio/channels/FileChannelImpl.java
4985         (finalize): Added javadoc.
4986
4987 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4988
4989         * java/text/CollationElementIterator.java
4990         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4991         (setText): Use ArrayList instead of Vector.
4992
4993 2004-07-17  Michael Koch  <konqueror@gmx.de>
4994
4995         * java/nio/ByteOrder.java
4996         (static): Removed. Not needed.
4997         Thanks to Patrick Reali for noticing.
4998         * java/nio/charset/CharsetDecoder.java
4999         (decode): Fix for classpath bug #9177: Reset state before flipping.
5000
5001 2004-07-17  Michael Koch  <konqueror@gmx.de>
5002
5003         * java/security/Security.java: Fixed javadocs all over.
5004
5005 2004-07-17  Michael Koch  <konqueror@gmx.de>
5006
5007         * gnu/java/awt/EmbeddedWindow.java
5008         (static): Removed.
5009         (addNotify): Set peer via reflection.
5010         (setWindowPeer): Removed.
5011         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5012         * Makefile.am (nat_source_files):
5013         Removed gnu/java/awt/natEmbeddedWindow.cc.
5014         * Makefile.in: Regenerated.
5015
5016 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
5017
5018         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5019         assignment.
5020         * configure: Regenerated.
5021
5022 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
5023
5024         * configure.in: Use build_noncanonical rather than build_alias.
5025         * configure: Rebuild.
5026
5027         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5028         by logic refactoring.  Move default definition of NATIVE closer
5029         to first alternate definition.
5030         * configure: Regenerate.
5031
5032         * Makefile.am: Set ZIP and GCJH directly using autoconf.
5033         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5034         gcj/Makefile.in: Regenerate.
5035         * configure.in: Set ZIP and GCJH.  Remove redundant condition
5036         in AM_CONDITIONAL(NATIVE,...)
5037         * configure: Regenerate.
5038
5039 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
5040
5041         * configure.in: Use target_noncanonical rather than
5042         target_alias for forward-compatibility with autoconf 2.59.
5043         * configure: Regenerate.
5044         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5045         testsuite/Makefile.am: Substitute target_noncanonical.
5046         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5047         testsuite/Makefile.in: Regenerate.
5048
5049         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5050         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5051         * acinclude.m4: Include acx.m4.
5052         * aclocal.m4: Regenerate.
5053         * configure: Regenerate.
5054
5055 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
5056
5057         PR libgcj/16574
5058         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5059         (decimalFormat): New static variable.
5060         (sbuf): Likewise.
5061         (getTime): New. Override Date.getTime().
5062         (toString): Synchronize. Use decimalFormat to format nanos value
5063         correctly. Truncate extra zeros.
5064         (before): Compare getNanos() only if getTime() is equal.
5065         (after): Likewise.
5066         
5067 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5068
5069         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5070         * configure.in: ...here.
5071         * aclocal.m4: Regenerate.
5072         * configure: Regenerate.
5073
5074         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5075         * configure: Rebuilt with autoconf 2.13.
5076         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5077         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5078
5079 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
5080
5081         PR libgcj/16204
5082         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5083         large file support.
5084         * Makefile.in: Rebuilt.
5085         * testsuite/libjava.lang/LargeFile.java: New test case.
5086         * testsuite/libjava.lang/LargeFile.out: New file.
5087
5088 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5089
5090         * java/beans/EventHandler.java: Remove debugging statements.
5091
5092 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5093
5094         * java/beans/EventHandler.java: New file.
5095         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5096         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5097         testsuite/Makefile.in: Regenerate.
5098
5099 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5100
5101         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5102         flag to the gcj_setup.
5103         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5104         the tclsh.
5105         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5106         deprecation flag change. 58 XFAILS removed.
5107
5108 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5109
5110         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5111         -fno-use-divide-subroutine.
5112         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5113         (HANDLE_FPE): Define.
5114         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5115         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5116         (HANDLE_DIVIDE_OVERFLOW): Define.
5117
5118 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5119             Matthias Klose  <doko@debian.org> 
5120
5121         * java/awt/im/InputContext.java: Initialize in, line.
5122
5123 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5124
5125         * interpret.cc (run): Correctly access libffi return values of
5126         integral smaller-than-int type; these are implicitly promoted.
5127
5128 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5129
5130         PR libgcj/7587
5131         * interpret.cc (compile_mutex): New.
5132         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5133         (run): Lock compile_mutex before calling compile() if compilation is
5134         required.
5135         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5136         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5137
5138 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5139
5140         PR libgcj/15713
5141         * include/jvm.h (_Jv_value): New union type.
5142         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5143         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5144         union members.
5145
5146 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5147
5148         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5149         * gnu/awt/xlib/XOffScreenImage.java
5150           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5151           constructor argument. Add constructor using ImageProducer.
5152           (getSource): Implement.
5153           (imageComplete): New method.
5154           (setColorModel): New method.
5155           (setDimensions): New method.
5156           (setHints): New method.
5157           (setPixels): New method.
5158           (setProperties): New method.
5159         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5160         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5161
5162 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5163
5164         PR libgcj/16478 
5165         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5166         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5167         (finalizerReady): Now native.
5168         (run): Likewise.
5169         (runFinalizers): Removed.
5170         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5171         a primitive lock, and don't hold it while running the finalizers.
5172         (runFinalizers): Implement. Don't aquire any Java lock.
5173         (finalizerReady): Use lock primitives to signal finalizer thread.
5174
5175 2004-07-11  Mark Wielaard  <mark@klomp.org>
5176
5177         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5178         * java/net/URLStreamHandler.java (parseURL): When url file part
5179         doesn't contain a '/' just ignore context.
5180
5181 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5182
5183         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5184         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5185         (MAKE_THROW_FRAME): Do not modify PSW address.
5186         (INIT_SEGV): Install SIGINFO-style signal handler.
5187         (INIT_FPE): Likewise.
5188
5189 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5190
5191         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5192         status. 21 xfail's removed, 1 added.
5193
5194 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5195
5196         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5197
5198 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5199
5200         * java/text/MessageFormat.java
5201         (formatInternal): Append "{n}" if argument n is unavailable.
5202         (format(Object, StringBuffer, FieldPosition)): This
5203         should be equivalent to format(Object[],
5204         StringBuffer, FieldPosition).
5205
5206 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5207
5208         * java.util.Calendar.java (cache): New private static field. Cached
5209         mappings of locales->calendar classes.
5210         (ctorArgTypes): New private static field. Singleton argument for
5211         calendar class constructor lookup.
5212         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5213         Optimize by bypassing reflection instantiation for the 
5214         GregorianCalendar case.
5215
5216 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5217
5218         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5219         ResourceBundle.getBundle() calls.
5220         * java/util/GregorianCalendar.java: Likewise.
5221         * java/util/Currency.java: Likewise.
5222         * java/text/BreakIterator.java: Likewise.
5223         * java/text/Collator.java: Likewise.
5224         * java/text/DateFormat.java: Likewise.
5225         * java/text/DateFormatSymbols.java: Likewise.
5226         * java/text/DecimalFormatSymbols.java: Likewise.
5227         * java/text/NumberFormat.java: Likewise.
5228         * java/awt/Window.java: Likewise.       
5229
5230 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5231
5232         * java/util/ResourceBundle.java (bundleCache): Renamed from
5233         resourceBundleCache. Update comments.
5234         (getObject): Don't catch MissingResourceException.
5235         (getBundle(String)): Remove 'final'. Use system classloader if
5236         getCallingClassLoader returned null.
5237         (getBundle(String, Locale)): Likewise.
5238         (BundleKey): New private class. HashMap key for bundle cache lookup.
5239         (lookupKey): New. Singleton instance of BundleKey.
5240         (nullEntry): New. Cache entry to represent failed lookups.
5241         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5242         caching strategy, no-allocation lookup, and new tryBundle methods.
5243         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5244         name using given classloader.
5245         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5246         baseName for given Locale and attempt to load bundle.
5247
5248 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5249
5250         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5251         illegal protected method calls.
5252
5253 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5254
5255         Fix or remove some bogus test cases.
5256         * testsuite/libjava.compile/pr10459_2.java: Removed.
5257         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5258         not Object.clone().
5259         * testsuite/libjava.compile/inner_data.java: Test against its own
5260         protected field.
5261
5262 2004-07-09  Michael Koch  <konqueror@gmx.de>
5263
5264         * scripts/unicode-muncher.pl: Updated to version 2.1
5265         from GNU classpath. Added some clarifications on where to find the
5266         needed files from www.unicode.org.
5267         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5268         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5269         Removed, these can directly be downloaded from www.unicode.org if
5270         needed. 
5271         * gnu/java/lang/CharData.java: Regenerated.
5272         * include/java-chartables.h: Regenerated.
5273         * Makefile.am (ordinary_java_source_files):
5274         Removed gnu/java/lang/CharData.java.
5275         * Makefile.in: Regenerated.
5276
5277 2004-07-09  Michael Koch  <konqueror@gmx.de>
5278
5279         * java/security/AccessControlContext.java,
5280         java/security/SecureClassLoader.java:
5281         Fixed javadocs.
5282
5283 2004-07-09  Michael Koch  <konqueror@gmx.de>
5284
5285         * java/io/ObjectInputStream.java (readFields): Use long datatype
5286         when shifting byte values more then 24 bits left.
5287
5288 2004-07-09  Michael Koch  <konqueror@gmx.de>
5289
5290         * java/util/zip/DeflaterOutputStream.java,
5291         java/util/zip/GZIPInputStream.java,
5292         java/util/zip/GZIPOutputStream.java,
5293         java/util/zip/InflaterInputStream.java:
5294         Reformatted. Added javadocs. Reordered all stuff.
5295         Renamed variables to be more clear.
5296
5297 2004-07-09  Michael Koch  <konqueror@gmx.de>
5298
5299         * javax/imageio/IIOException.java,
5300         javax/imageio/event/IIOReadProgressListener.java,
5301         javax/imageio/event/IIOReadUpdateListener.java,
5302         javax/imageio/event/IIOReadWarningListener.java,
5303         javax/imageio/event/IIOWriteProgressListener.java,
5304         javax/imageio/event/IIOWriteWarningListener.java:
5305         New files.
5306         * Makefile.am: Added new files.
5307         * Makefile.in: Regenerated.
5308
5309 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5310
5311         * java/text/RuleBasedCollator.java
5312         (mergeRules): Use ArrayList instead of Vector.
5313         (subParseString): likewise.
5314         (parseString): likewise.
5315         (buildCollationVector): likewise.
5316         (getCollationKey): likewise.
5317
5318 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5319
5320         * java/text/DateFormat.java (parse):
5321         Improved javadoc. Improved exception message.
5322
5323 2004-07-09  Mark Wielaard  <mark@klomp.org>
5324
5325         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5326         interrupted() method to clear interupt flag of our Thread.
5327
5328 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5329
5330         * java/nio/Buffer.java,
5331         java/nio/ByteBuffer.java,
5332         java/nio/ByteBufferHelper.java,
5333         java/nio/ByteBufferImpl.java,
5334         java/nio/CharBuffer.java,
5335         java/nio/CharBufferImpl.java,
5336         java/nio/CharViewBufferImpl.java,
5337         java/nio/DirectByteBufferImpl.java,
5338         java/nio/DoubleBuffer.java,
5339         java/nio/DoubleBufferImpl.java,
5340         java/nio/DoubleViewBufferImpl.java,
5341         java/nio/FloatBuffer.java,
5342         java/nio/FloatBufferImpl.java,
5343         java/nio/FloatViewBufferImpl.java,
5344         java/nio/IntBuffer.java,
5345         java/nio/IntBufferImpl.java,
5346         java/nio/IntViewBufferImpl.java,
5347         java/nio/LongBuffer.java,
5348         java/nio/LongBufferImpl.java,
5349         java/nio/LongViewBufferImpl.java,
5350         java/nio/MappedByteBufferImpl.java,
5351         java/nio/ShortBuffer.java,
5352         java/nio/ShortBufferImpl.java,
5353         java/nio/ShortViewBufferImpl.java:
5354         Fixed javadocs all over. Improved input error
5355         checking.
5356
5357         * java/nio/Buffer.java
5358         (checkForUnderflow, checkForOverflow, checkIndex,
5359         checkIfReadOnly, checkArraySize): New helper methods
5360         for error checking.
5361
5362         * java/nio/ByteBufferHelper.java
5363         (checkRemainingForRead, checkRemainingForWrite,
5364         checkAvailableForRead, checkAvailableForWrite): Removed
5365         no longer needed methods.
5366
5367 2004-07-09  Michael Koch  <konqueror@gmx.de>
5368
5369         * gnu/regexp/CharIndexedInputStream.java:
5370         Reordered imports to match classpath.
5371
5372 2004-07-09  Michael Koch  <konqueror@gmx.de>
5373
5374         * gnu/java/awt/EmbeddedWindow.java:
5375         Load native library for setWindowPeer method.
5376
5377 2004-07-08  Randolph Chung  <tausq@debian.org>
5378
5379         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5380         * configure: Regenerate.
5381         * configure.host: Set can_unwind_signal for hppa*-linux.
5382         * include/pa-signal.h: New file.
5383
5384 2004-07-07  Per Bothner  <per@bothner.com>
5385
5386         * Makefile.am:  Add rules to build libgij from just gij.cc.
5387
5388         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5389         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5390         (initializeClass):  If verbose_class_flag, print message.
5391         * gij.cc (main):  Handle -verbose:class flag.
5392
5393 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5394
5395         * configure.host: Enable hash synchronization on Darwin.
5396         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5397         ';', since this is a comment on Darwin.
5398         (compare_and_swap_release): Likewise.
5399
5400 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5401
5402         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5403         file portion of URL in addition to spec for file: protocol.
5404
5405 2004-07-05  Anthony Green  <green@redhat.com>
5406
5407         * java/io/File.java (toURI): Merge from Classpath.
5408
5409 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5410
5411         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5412         before passing to URL constructor. Rethrow any MalformedURLException
5413         as a RuntimeException. Catch MalformedURLException specifically, not
5414         all exceptions.
5415
5416 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5417
5418         * java/util/Locale.java (readObject): Intern strings read from object
5419         stream.
5420
5421 2004-07-04  Michael Koch  <konqueror@gmx.de>
5422
5423         * gnu/gcj/runtime/FirstThread.java,
5424         gnu/gcj/runtime/natFirstThread.cc: Removed.
5425         * gnu/java/lang/MainThread.java,
5426         gnu/java/lang/natMainThread.cc: New files.
5427         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5428         * Makefile.am: Added new files and removed deleted ones.
5429         * Makefile.in: Regenerated.
5430
5431 2004-07-03  Mark Wielaard  <mark@klomp.org>
5432             Anthony Green  <green@redhat.com>
5433
5434         * java/net/URL.java (getFile): Clarify return value doc.
5435         (getPath): Return null if file is empty - not empty String.
5436         (set): Convert protocol to lower case before doing anything.
5437         Only change the protocol handler if it's different.
5438
5439 2004-07-03  Anthony Green  <green@redhat.com>
5440
5441         * java/net/URL.java (URL): Convert protocol to lower case before
5442         doing anything, so we getURLStreamHandler() with the proper value.
5443
5444 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5445
5446         * java/util/Locale.java (hashcode): Made transient.
5447         (hashCode): No longer synchronized.
5448         (equals): Remove comment.
5449         (writeObject): No longer synchronized. Implement using writeObject 
5450         calls instead of tweaking hashCode field. Update doc.
5451         (readObject): Implement using readObject calls.
5452
5453 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5454             Andreas Tobler  <a.tobler@schweiz.ch>
5455
5456         * configure.host (powerpc-*-darwin*): New case, define
5457         can_unwind_signal.
5458         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5459         * configure: Regenerate.
5460         * include/darwin-signal.h: New.
5461
5462 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5463
5464         * java/beans/Statement.java (doExecute): Fix formatting.
5465
5466 2004-06-29  Per Bothner  <per@bothner.com>
5467
5468         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5469         etc etc):  Remove needless parenthesis, which causes __stdcall__
5470         attribute on MinGW to get ignored.
5471
5472 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5473
5474         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5475
5476 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5477
5478         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5479
5480 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5481
5482         * java/beans/Expression.java: New file.
5483         * java/beans/Statement.java: New file.
5484         * Makefile.am: Added new files.
5485         * Makefile.in: Re-generate.
5486
5487 2004-06-27 Mark Wielaard  <mark@klomp.org>
5488
5489         * java/io/FilePermission.java (usingPerms): Removed.
5490         (actionsString): Made final.
5491         (cachePerms): Renamed to checkPerms.
5492         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5493         on action String.
5494         (FilePermission): Check arguments, call checkPerms().
5495         (equals): Remove cachePerms() call.
5496         (implies): Likewise.
5497
5498 2004-06-27  Mark Wielaard  <mark@klomp.org>
5499
5500         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5501         final field.
5502         (sendRequest): Use new field in user-agent http agent.
5503
5504 2004-06-27  Mark Wielaard  <mark@klomp.org>
5505
5506         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5507         when argument is null.
5508
5509 2004-06-26  Mark Wielaard  <mark@klomp.org>
5510
5511         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5512         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5513         GetMethodID call.
5514         (cancel_clicked): Likewise.
5515
5516 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5517
5518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5519         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5520         can not calculate the right value.
5521         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5522
5523 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5524
5525         * testsuite/libjava.jacks/jacks.xfail: Remove
5526         15.9.1-qualified-concrete-20.
5527
5528 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5529
5530         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5531         encoding name to iconv.
5532         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5533
5534 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5535
5536         PR libgcj/16134:
5537         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5538         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5539         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5540
5541 2004-06-21  Andrew Haley  <aph@redhat.com>
5542
5543         * java/io/ObjectOutputStream.java: Add DEBUG statements
5544         everywhere.
5545         (dumpElementln): New method.
5546         (depth): New field.
5547         * java/io/ObjectInputStream.java
5548         (currentClassLoader): Make native.
5549         (callersClassLoader): New field.
5550         (depth): New field.
5551         (readObject): ENDBLOCKDATA is generated if the class has a write
5552         method, not if it has a read method.
5553         (readObject): Save and restore this.currentObject and
5554         this.currentObjectStreamClass around calls to callReadMethod().
5555         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5556         method.
5557
5558 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5559
5560         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5561         darwin.
5562
5563 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5564
5565         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5566         if desired, before the default class loader is initialised.
5567         Call INIT_SEGV only if HANDLE_SEGV is defined.
5568
5569 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5570
5571         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5572         directory only if it actually exists.
5573
5574 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5575
5576         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5577         Fix up non-ansi comments.
5578
5579 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5580
5581         * javax/swing/text/AbstractDocument.java: Adding missing import
5582         for javax.swing.event.EventListenerList.
5583         * javax/swing/text/DefaultCaret.java: Likewise.
5584
5585 2004-06-17  Michael Koch  <konqueror@gmx.de>
5586
5587         * javax/swing/JToolBar.java
5588         (name): Removed.
5589         (JToolBar): Use Component.setName(String) instead of doing it all
5590         alone.
5591         * javax/swing/Timer.java
5592         (queueEvent): Added missing modifier.
5593
5594 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5595
5596         * Makefile.am: Added new file.
5597         * Makefile.in: Re-generate.
5598         * javax/swing/JMenu.java:
5599         (insertSeparator): Implemented.
5600         * javax/swing/JPopupMenu.java:
5601         (JPopupMenu.Separator): Implemented.
5602         * javax/swing/MenuSelectionManager.java:
5603         (processMouseEvent): Use java.awt.Component 
5604         for event source instead of javax.swing.JComponent. 
5605         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5606         New File. Implemented.
5607         
5608 2004-06-16  David Jee  <djee@redhat.com>
5609
5610         * java/awt/GridBagLayout.java
5611         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5612         Make sure pos_x and pos_y are never negative.
5613
5614 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5615
5616         * Makefile.am: Add new file.
5617         * Makefile.in: Re-generate.     
5618         * javax/swing/JToolBar.java
5619         Partially implemented.
5620         * javax/swing/plaf/basic/BasicToolBarUI.java
5621         New file. Partially implemented.
5622
5623 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5624
5625         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5626         (setComposite): Accept AlphaComposite arguments.
5627         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5628         (createBufferedImage): Add new overloads.
5629         * gnu/java/awt/peer/gtk/GtkToolkit.java
5630         (createImage): Use GdkPixbufDecoder.createBufferedImage
5631         when useGraphics2D() is true.
5632         (getImage): Delegate to createImage.
5633         * javax/swing/JList.java
5634         (isSelectionEmpty):
5635         (getFirstVisibleIndex):
5636         (getLastVisibleIndex):
5637         (setSelectedValue):
5638         (ensureIndexIsVisible): New methods.
5639         * javax/swing/Timer.java: Reimplement.
5640
5641 2004-06-16  Michael Koch  <konqueror@gmx.de>
5642
5643         * javax/swing/text/AbstractDocument.java
5644         (AbstracElement): Made public, implements java.io.Serializable.
5645         (AttributeContext): Made public.
5646         (BranchElement): Likewise.
5647         (Content): Likewise.
5648         (DefaultDocumentEvent): Made public, extends
5649         javax.swing.undo.CompoundEdit.
5650         (ElementEdit): Made public, extends
5651         javax.swing.undo.AbstractUndoableEdit.
5652         (LeafElement): Made public.
5653         (LeafElement.LeafElement): Made public.
5654
5655 2004-06-16  Michael Koch  <konqueror@gmx.de>
5656
5657         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5658         methods (that were obviously never be intended to get included hi this
5659         class. Added some methods too.
5660
5661 2004-06-16  Michael Koch  <konqueror@gmx.de>
5662
5663         * javax/swing/text/PlainDocument.java
5664         (serialVersionUID): New constant.
5665         (lineLimitAttribute): Likewise.
5666         (tabSizeAttribute): Likewise.
5667         (tabSize): New field.
5668         (PlainDocument): Made public.
5669         (PlainDocument): New constructor.
5670
5671 2004-06-16  Michael Koch  <konqueror@gmx.de>
5672
5673         * javax/swing/text/AbstractDocument.java
5674         (insertString): Throws BadLocationException.
5675         * javax/swing/text/Document.java
5676         (insertString): Likewise.
5677         * javax/swing/text/JTextComponent.java:
5678         Javadocs and comments cleaned up.
5679
5680 2004-06-16  Michael Koch  <konqueror@gmx.de>
5681
5682         * javax/swing/event/UndoableEditListener.java: Reformatted.
5683         * javax/swing/text/AbstractDocument.java
5684         (AbstractDocument): Implements java.io.Serializable.
5685         (doc_list): Removed.
5686         (undo_list): Removed.
5687         (AbstractElement.serialVerionUID): New field.
5688         (BranchElement.serialVerionUID): Likewise.
5689         (DefaultDocumentEvent.serialVerionUID): Likewise.
5690         (ElementEdit.serialVerionUID): Likewise.
5691         (LeafElement.serialVerionUID): Likewise.
5692         (serialVerionUID): Likewise.
5693         (BAD_LOCATION): New constant.
5694         (BidiElementName): Likewise.
5695         (ContentElementName): Likewise.
5696         (ParagraphElementName): Likewise.
5697         (SectionElementName): Likewise.
5698         (ElementNameAttribute): Likewise.
5699         (AbstractDocument): Made protected.
5700         (AbstractDocument): New construtor.
5701         (listenerList): New field.
5702         (fireChangedUpdate): Implemented.
5703         (fireInsertUpdate): Likewise.
5704         (fireRemoveUpdate): Likewise.
5705         (fireUndoableEditUpdate): Likewise.
5706         (getListeners): Likewise.
5707         (addDocumentListener): Likewise.
5708         (removeDocumentListener): Likewise.
5709         (addUndoableEditListener): Likewise.
5710         (removeUndoableEditListener): Likewise.
5711         (getDocumentListeners): New method.
5712         (getUndoableEditListeners): Likewise.
5713         (getAsynchronousLoadPriority): Made public.
5714         (getBidiRootElement): Likewise.
5715         (setAsynchronousLoadPriority): Likewise.
5716         (setDocumentProperties): Likewise.
5717         * javax/swing/text/BadLocationException.java
5718         (serialVerionUID): New field.
5719         * javax/swing/text/DefaultCaret.java
5720         (changeEvent): New field.
5721         (listenerList): Likewise.
5722         (changes): Removed.
5723         (addChangeListener): Reimplemented.
5724         (removeChangeListener): Likewise.
5725         (getListeners): New method.
5726         (getChangeListeners): Likwise.
5727         (getComponent): Likewise.
5728         * javax/swing/text/GapContent.java
5729         (GapContent): Implements java.io.Serializable.
5730         (serialVerionUID): New field.
5731
5732 2004-06-16  Michael Koch  <konqueror@gmx.de>
5733
5734         * javax/swing/JTree.java
5735         (treeModel): New field.
5736         (JTree): New constructors, one existing one made public.
5737         (createTreeModel): New method.
5738         (addTreeExpansionListener): Likewise.
5739         (removeTreeExpansionListener): Likewise.
5740         (getTreeExpansionListeners): Likewise.
5741         (fireTreeCollapsed): Likewise.
5742         (fireTreeExpanded): Likewise.
5743         (addTreeSelectionListener): Likewise.
5744         (removeTreeSelectionListener): Likewise.
5745         (getTreeSelectionListeners): Likewise.
5746         (fireValueChanged): Likewise.
5747         (addTreeWillExpandListener): Likewise.
5748         (removeTreeWillExpandListener): Likewise.
5749         (getTreeWillExpandListeners): Likewise.
5750         (fireTreeWillCollapse): Likewise.
5751         (fireTreeWillExpand): Likewise.
5752
5753 2004-06-16  Michael Koch  <konqueror@gmx.de>
5754
5755         * javax/swing/JTree.java: Reformatted.
5756
5757 2004-06-16  Michael Koch  <konqueror@gmx.de>
5758
5759         * javax/swing/JTextArea.java: New file.
5760         * javax/swing/JTextField.java
5761         (actions): Removed.
5762         (notifyAction): New constant.
5763         (columns): New field.
5764         (JTextField): New constructors.
5765         (createDefaultModel): New method.
5766         (addActionListener): Reimplmemented.
5767         (removeActionListener): Reimplemented.
5768         (getActionListeners): New method.
5769         (fireActionPerformed): New method.
5770         (getColumns): New method.
5771         (setColumne): New method.
5772         * javax/swing/text/JTextComponent.java
5773         (AccessibleJTextComponent.serialVersionUID): New field.
5774         (serialVersionUID): Likewise.
5775         (DEFAULT_KEYMAP): Likewise.
5776         (FOCUS_ACCELERATOR_KEY): Likewise.
5777         (doc): Made private.
5778         (icon_gap): Likewise.
5779         (icon): Likewise.
5780         (align): Likewise.
5781         (JTextComponent): Some constructors removed.
5782         (getScrollableTracksViewportHeight): New method.
5783         (getScrollableTracksViewportWidth): Likewise.
5784         * Makefile.am: Added javax/swing/JTextArea.java.
5785         * Makefile.in: Regenerated.
5786
5787 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5788
5789         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5790         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5791         * javax/swing/JViewport.java 
5792         (getExtentSize): Return size rather than preferred size.
5793         (toViewCoordinates): New methods.
5794         (getViewSize): Return size rather than preferred size.
5795         (setViewSize): Note view size as set.
5796         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5797         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5798         (getPreferredSize): Don't redo layout.
5799         * javax/swing/plaf/basic/BasicViewportUI.java 
5800         (paint): Translate image properly and eat exceptions.
5801
5802 2004-06-15  Kim Ho  <kho@redhat.com>
5803
5804         * javax/swing/JTabbedPane.java
5805         (setComponent): Remove old component and
5806         add new component.
5807         (setSelectedIndex): Don't operate on the 
5808         components if they're null. Don't set index
5809         on the model if the index is the same.
5810         (insertTab): Don't add or hide the component
5811         if it's null. Repaint the container.
5812         * javax/swing/plaf/basic/BasicLookAndFeel.java
5813         Change colors for TabbedPane.
5814         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5815         (mousePressed): Re-layout and paint the component.
5816         (layoutContainer): Don't set location on the view.
5817         (ScrollingViewport::paint): Remove.
5818
5819 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5820
5821         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5822         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5823
5824         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5825         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5826         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5827         critical region.
5828         (drawLine): Call gdk_flush before leaving GDK critical region.
5829         (fillRect): Likewise.
5830         (drawRect): Likewise.
5831         (copyArea): Likewise.
5832         (copyPixmap): Likewise.
5833         (clearRect): Likewise.
5834         (drawArc): Likewise.
5835         (drawPolyline): Likewise.
5836         (drawPolygon): Likewise.
5837         (fillPolygon): Likewise.
5838         (fillArc): Likewise.
5839         (drawOval): Likewise.
5840         (fillOval): Likewise.
5841
5842         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5843         style parameter.
5844         (GdkFontMetrics): Add style argument to initState call.
5845         (stringWidth(String,int,int,String)): Add style parameter.
5846         (stringWidth(String)): Add style argument to stringWidth call.
5847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5848         (initState): Set pango font style and weight based on AWT style
5849         parameter.  Pass default GTK language to
5850         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5851         simply dividing by PANGO_SCALE.
5852         (stringWidth): Set pango font style and weight based on AWT style
5853         parameter.
5854
5855         * java/awt/Button.java (next_button_number): New field.
5856         (paramString): Change output.
5857         (generateName): New method.
5858         (getUniqueLong): New method.
5859
5860 2004-06-14  Kim Ho  <kho@redhat.com>
5861
5862         * javax/swing/JTabbedPane.java:
5863         (setComponentAt): Set the component, not
5864         the enabled status.
5865         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5866         (actionPerformed): Let deiconize catch exception.
5867
5868 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5869
5870         * javax/swing/JPopupMenu.java:
5871         (setVisible): Corrected location of a 
5872         heavyweight popup menu.
5873
5874 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5875
5876         * javax/swing/MenuSelectionManager.java: 
5877         Ran through jalopy to fix formatting style.
5878
5879 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5880         
5881         * javax/swing/JLayeredPane.java: 
5882         (remove): Revalidate and repaint layered pane after
5883         the component was removed.
5884         javax/swing/JMenu.java:
5885         (setVisible): Display popup menu at the user location,
5886         if one was set by the user.
5887         (setMenuLocation): Reimplemented. Fixed javadoc.
5888         * javax/swing/JMenuBar.java: Added javadoc.
5889         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5890         (MODEL_CHANGED_PROPERTY): New Property.
5891         (isSelected): Implemented.
5892         (setBorderPainted): Fire PropertyChangeEvent
5893         if paintBorder property changes.
5894         (setSelected): Implemented.
5895         (setSelectionModel): Implemented.
5896         * javax/swing/JPopupMenu.java: Added Javadoc
5897         (pack): Implemented.
5898         (setVisible): Reimplemented.
5899         (show): Fixed location.
5900         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5901         Container instead of JPanel.
5902         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5903         (clearSelectedPath): Reimplemented to clear selectedPath
5904         in reverse order.
5905         (processMouseEvent): Reimplemented.
5906         (setSelectedPath): Fire stateChange event indicating that
5907         selected menu path has changed.
5908         (getPath): Change to use ArrayList instead of Vector.
5909         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5910         (installUI): call installKeyboardActions().
5911         (uninstallUI): call uninstallKeyboardActions().
5912
5913 2004-06-13  Michael Koch  <konqueror@gmx.de>
5914
5915         * javax/swing/text/DefaultCaret.java,
5916         javax/swing/text/BadLocationException.java:
5917         Reformatted.
5918
5919 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5920
5921         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5922         DEFAULT_COLS): New variables.
5923         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5924         values to DEFAULT_ROWS or DEFAULT_COLS.
5925         (getMinimumSize): Likewise.
5926         (getPreferredSize): Likewise.
5927         (minimumSize): Likewise.
5928         (preferredSize): Likewise.
5929         (create): Set peer's editable state.
5930         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5931         zero.  Update javadocs.
5932         (TextArea(String)): Likewise.
5933         (TextArea(int,int)): Fix javadocs.
5934         (TextArea(String,int,int,int)): Only throw exception if one of
5935         rows or columns is zero.  Fix javadocs.
5936
5937 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5938
5939         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5940         addition to Components.
5941
5942         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5943         wasn't consumed by normal processing, send it to the parent
5944         menu.
5945
5946         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5947         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5948         translation.
5949
5950 2004-06-11  David Jee  <djee@redhat.com>
5951
5952         * java/awt/MediaTracker.java
5953         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5954         (addImage(Image,int,int,int)): Likewise.
5955
5956 2004-06-11  Michael Koch  <konqueror@gmx.de>
5957
5958         * javax/swing/text/AbstractDocument.java,
5959         javax/swing/text/Document.java,
5960         javax/swing/text/GapContent.java,
5961         javax/swing/text/JTextComponent.java,
5962         javax/swing/text/PlainDocument.java:
5963         Reformatted.
5964
5965 2004-06-11  Michael Koch  <konqueror@gmx.de>
5966
5967         * javax/swing/JRootPane.java
5968         (AccessibleJRootPane.serialVersionUID): New field.
5969         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5970         (AccessibleJRootPane.getAccessibleRole): New method.
5971         (RootLayout): Implements Serializable.
5972         (RootLayout.serialVersionUID): New field.
5973         (RootLayout.RootLayout): New constructor.
5974         (setJMenuBar): Made public.
5975         (getJMenuBar): Likewise.
5976         (JRootPane): Likewise.
5977         (createContentPane): Likewise.
5978         (createGlassPane): Likewise.
5979         (createLayeredPane): Likewise.
5980
5981 2004-06-11  Michael Koch  <konqueror@gmx.de>
5982
5983         * javax/swing/SwingUtilities.java
5984         (isLeftMouseButton): Fixed javadoc.
5985         (isMiddleMouseButton): Likewise.
5986         (isRightMouseButton): Likewise.
5987
5988 2004-06-11  Michael Koch  <konqueror@gmx.de>
5989
5990         * javax/swing/JScrollPane.java
5991         (serialVersionUID): New field.
5992         (columnHeader): Made protected.
5993         (rowHeader): Likewise.
5994         (lowerLeft): Likewise.
5995         (lowerRight): Likewise.
5996         (upperLeft): Likewise.
5997         (upperRight): Likewise.
5998         (horizontalScrollBar): Likewise.
5999         (horizontalScrollBarPolicy): Likewise.
6000         (verticalScrollBar): Likewise.
6001         (verticalScrollBarPolicy): Likewise.
6002         (viewport): Likewise.
6003
6004 2004-06-11  Michael Koch  <konqueror@gmx.de>
6005
6006         * javax/swing/LookAndFeel.java: Fixed javadocs.
6007
6008 2004-06-11  Michael Koch  <konqueror@gmx.de>
6009
6010         * javax/swing/JEditorPane.java: Fixed javadocs.
6011         (JEditorPane): Removed redundant call to to this().
6012         (fireHyperlinkUpdate): Implemented.
6013
6014 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6015
6016         * javax/swing/JMenu.java: Fixed file name 
6017         in the file comment.
6018
6019 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6020
6021         * javax/swing/JMenu.java: Added javadoc.
6022         (JMenu): Added MenuChangeListener to listen to 
6023         ChangeEvents occuring in menu's model. 
6024         (insert): Throw IllegalArgumentException if 
6025         index is less than 0
6026         (setSelected): Reimplement.
6027         (setPopupMenuVisible): Call menu's model isEnabled()
6028         (setDelay): Throw IllegalArgumentException if 
6029         given amount of delay is less than 0.
6030         (createActionComponent): Implemented.
6031         (createActionChangeListener): Implemented.
6032         (addSeparator): Implemented.
6033         (getItem): Throw IllegalArgumentException if index is 
6034         less than 0.
6035         (getItemCount): Implemented.
6036         (fireMenuSelected): Changed to use menuEvent.
6037         (fireMenuDeselected): Likewise.
6038         (fireMenuCanceled): Likewise.
6039         (setAccelerator): Changed to throw an error if this 
6040         method is used. 
6041         (doClick): Implemented.
6042         (JMenu.ActionChangedListener): New inner class to handle
6043         PropertyChangeEvents occuring in the actions associated with menu.
6044         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6045         (BasicMenuUI): Added PropertyChangeListener to the menu.
6046         (createChangeListener): Implemented.
6047         (createMenuDragMouseListener): Likewise.
6048         (createMenuKeyListener): Likewise.
6049         (createPropertyChangeListener): Likewise.
6050         (uninstallListeners): Likewise.
6051         (BasicMenuUI.MouseInputHandler): Reimplemented.
6052         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6053         (BasicMenuUI.ChangeHandler): Likewise.
6054         (BasicMenuUI.MenuDragMouseHandler): Likewise.
6055         (BasicMenuUI.MenuKeyHandler): Likewise.
6056
6057 2004-06-10  David Jee  <djee@redhat.com>
6058
6059         * java/awt/MediaTracker.java
6060         (imageUpdate): Only do notifyAll() if the image is complete.
6061
6062 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6063
6064         * javax/swing/JApplet.java:
6065         (getJMenuBar): Made public.
6066         (setJMenuBar): Likewise.
6067         * javax/swing/JFrame.java:
6068         (getJMenuBar): Made public.
6069         (setJMenuBar): Likewise.
6070         * javax/swing/JWindow.java:
6071         (getJMenuBar): Removed.
6072         (setJMenuBar): Removed.
6073
6074 2004-06-10  Michael Koch  <konqueror@gmx.de>
6075
6076         * javax/swing/JEditorPane.java
6077         (createEditorKitForContentType): Fixed visibility.
6078         (fireHyperlinkUpdate): Likewise.
6079         (getContentType): Likewise.
6080         (getEditorKit): Likewise.
6081         (getEditorKitForContentType): Likewise.
6082         (getPage): Likewise.
6083         (read): Likewise.
6084         (registerEditorKitForContentTyoe): Likewise.
6085         (replaceSelection): Likewise.
6086         (setContentType): Likewise.
6087         (setEditorKit): Likewise.
6088         (setPage): Likewise.
6089
6090 2004-06-10  Michael Koch  <konqueror@gmx.de>
6091
6092         * javax/swing/Timer.java
6093         (Timer): New constructor.
6094         * javax/swing/plaf/basic/BasicProgressBarUI.java
6095         (animationTimer): Don't initialize at construction.
6096         (startAnimationTimer): Added since tag.
6097         (stopAnimationTimer): Likewise.
6098         (installUI): Use new Timer constructor.
6099         * javax/swing/plaf/basic/BasicScrollBarUI.java
6100         (installUI): Likewise.
6101         * javax/swing/plaf/basic/BasicSliderUI.java
6102         (installUI): Likewise.
6103
6104 2004-06-10  Michael Koch  <konqueror@gmx.de>
6105
6106         * javax/swing/ButtonGroup.java
6107         (serialVersionUID): Made private.
6108         (buttons): Renamed from v, added javadoc.
6109         (sel): Added javadoc.
6110         (ButtonGroup): Likewise.
6111         (add): Likewise.
6112         (remove): Likewise.
6113         (getElements): Likewise.
6114         (getSelection): Likewise.
6115         (setSelected): Likewise.
6116         (isSelected): Likewise.
6117         (getButtonCount): Likewise.
6118
6119 2004-06-10  Michael Koch  <konqueror@gmx.de>
6120
6121         * javax/swing/ButtonGroup.java,
6122         javax/swing/ImageIcon.java,
6123         javax/swing/JEditorPane.java,
6124         javax/swing/JRootPane.java,
6125         javax/swing/JTextField.java,
6126         javax/swing/LookAndFeel.java,
6127         javax/swing/plaf/basic/BasicTextUI.java:
6128         Reindented.
6129
6130 2004-06-10  Michael Koch  <konqueror@gmx.de>
6131
6132         * javax/swing/text/Style.java: Added javadocs.
6133
6134 2004-06-10  Michael Koch  <konqueror@gmx.de>
6135
6136         * javax/swing/JComponent.java
6137         (fireVetoableChange): Removed redundant cast.
6138         * javax/swing/JLabel.java
6139         (getDisabledIcon): Save icon for next call.
6140
6141 2004-06-10  Michael Koch  <konqueror@gmx.de>
6142
6143         * javax/swing/KeyStroke.java
6144         (getKeyStroke(char,boolean)): Marked deprecated.
6145
6146 2004-06-10  Michael Koch  <konqueror@gmx.de>
6147
6148         * javax/swing/DefaultCellEditor.java,
6149         javax/swing/GrayFilter.java,
6150         javax/swing/event/DocumentEvent.java,
6151         javax/swing/text/JTextComponent.java,
6152         javax/swing/text/MutableAttributeSet.java:
6153         Reindented.
6154
6155 2004-06-10  Michael Koch  <konqueror@gmx.de>
6156
6157         * javax/swing/plaf/BorderUIResource.java:
6158         Added serialVersionUID all over.
6159
6160 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6161
6162         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6163
6164 2004-06-10  Michael Koch  <konqueror@gmx.de>
6165
6166         * javax/swing/table/DefaultTableCellRenderer.java
6167         (noFocusBorder): Initialize directly.
6168
6169 2004-06-10  Michael Koch  <konqueror@gmx.de>
6170
6171         * javax/swing/plaf/basic/BasicArrowButton.java
6172         (setDirection): Use method argument.
6173
6174 2004-06-10  Michael Koch  <konqueror@gmx.de>
6175
6176         * javax/swing/plaf/BorderUIResource.java,
6177         javax/swing/plaf/ComponentUI.java,
6178         javax/swing/undo/CompoundEdit.java,
6179         javax/swing/undo/StateEdit.java:
6180         Fixed javadocs all over.
6181
6182 2004-06-10  Michael Koch  <konqueror@gmx.de>
6183
6184         * javax/swing/DefaultButtonModel.java
6185         (ARMED): Made public final, fixed value.
6186         (ENABLED): Likewise.
6187         (PRESSED): Likewise.
6188         (ROLLOVER): Likewise.
6189         (SELECTED): Likewise.
6190         (stateMask): Initialize directly.
6191         (listenerList): Likewise.
6192         (mnemonic): Likewise.
6193         (fireStateChanged): Removed argument, use changeEvent as event.
6194         All places where this method is called are fixed too.
6195         (getActionCommant): Fixed javadoc.
6196         (setGroup): Fixed javadoc.
6197         (getGroup): New method.
6198
6199 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6200
6201         * javax/swing/AbstractButton.java
6202         (AbstractButton): Use init() to initialize the button.
6203         (init): New Method. Initializes AbstractButton.
6204         * javax/swing/JMenuItem.java: Documented.
6205         (JMenuItem): Reimplemented.
6206         (init): Implemented.
6207         (setEnabled): Changed to call super.setEnabled()
6208         (processMouseEvent): Reimplemented.
6209         (fireMenuKeyPressed): Implemented.
6210         (fireMenuKeyReleased): Implemented.
6211         (fireMenuKeyTyped): Implemented.
6212         (menuSelectionChanged): disarm the model if the menu item was
6213         deselected.
6214         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6215         (getPath): Change to use ArrayList instead of Vector.
6216         (getPreferredSize): Renamed variable.
6217         (paintMenuItem): Paint margin area of menu item.
6218         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6219         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6220         menu item's bounds before clearing the selection.       
6221
6222 2004-06-09  David Jee  <djee@redhat.com>
6223
6224         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6225         (GtkTextComponentPeer): Set caret position to 0.
6226         * java/awt/TextComponent.java
6227         (setText): Set caret position to 0.
6228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6229         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6230         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6231         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6232         Likewise.
6233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6234         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6235         visible.
6236
6237 2004-06-09  Kim Ho  <kho@redhat.com>
6238
6239         * Makefile.am: New files
6240         * Makefile.in: Regenerated
6241         * java/awt/Container.java
6242         (getComponentAt): Removed.
6243         * javax/swing/AbstractAction.java
6244         (ENABLED_PROPERTY): New property.
6245         (putValue): Fire PropertyChangeEvents.
6246         (setEnabled): ditto.
6247         (firePropertyChange): Javadoc and implement
6248         convenience method.
6249         * javax/swing/AbstractButton.java
6250         (setAction): Don't create PropertyChangeListener
6251         if new Action is null.
6252         (setIcon): Don't set icon till after comparing
6253         it.
6254         (configurePropertiesFromAction): Check mnemonic
6255         key before calling intValue().
6256         (createActionPropertyChangeListener): Check
6257         properties rather than bulk change.
6258         * javax/swing/DefaultDesktopManager.java:
6259         Implement.
6260         * javax/swing/DesktopManager.java:
6261         Jalopy and javadoc.
6262         * javax/swing/JComponent.java
6263         (fireVetoableChange): Implement.
6264         (paintImmediately): Use root component.
6265         * javax/swing/JDesktopPane.java: Implement
6266         * javax/swing/JInternalFrame.java: Implement
6267         * javax/swing/JLabel.java
6268         (getDisabledIcon): Return grayscaled icon if
6269         no disabled icon specified.
6270         * javax/swing/JMenuBar.java
6271         (getComponentAtIndex): Use getComponent
6272         * javax/swing/JOptionPane.java
6273         (getDesktopPaneForComponent): Use SwingUtilities'
6274         getAncestorOfClass
6275         (getFrameForComponent): ditto.
6276         * javax/swing/JSplitPane.java
6277         (remove): Use getComponent.
6278         * javax/swing/SwingUtilities.java
6279         (convertPoint): Implement.
6280         * javax/swing/plaf/basic/BasicButtonUI.java
6281         (paintButtonNormal): Check opaqueness before
6282         filling background.
6283         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6284         Implement
6285         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6286         Implement.
6287         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6288         Implement.
6289         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6290         Implement.
6291         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6292         Change InternalFrame and Desktop colors.
6293
6294 2004-06-09  David Jee  <djee@redhat.com>
6295
6296         * java/awt/Container.java
6297         (remove): Do not set component to invisible.
6298
6299 2004-06-09  Michael Koch  <konqueror@gmx.de>
6300
6301         * javax/swing/tree/DefaultMutableTreeNode.java
6302         (getLeafCount): Renamed enum to e.
6303
6304 2004-06-09  Michael Koch  <konqueror@gmx.de>
6305
6306         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6307         (positionForMouseEvent): Removed redundant semicolon.
6308         (continueDrag): Use method arguments.
6309
6310 2004-06-09  Michael Koch  <konqueror@gmx.de>
6311
6312         * javax/swing/border/TitledBorder.java,
6313         javax/swing/filechooser/FileSystemView.java,
6314         javax/swing/plaf/basic/BasicButtonListener.java,
6315         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6316         javax/swing/plaf/basic/BasicLabelUI.java,
6317         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6318         javax/swing/plaf/basic/BasicScrollBarUI.java,
6319         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6320         javax/swing/plaf/basic/BasicSliderUI.java,
6321         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6322         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6323         javax/swing/table/JTableHeader.java,
6324         javax/swing/text/AbstractDocument.java,
6325         javax/swing/text/DefaultCaret.java,
6326         javax/swing/text/StyledEditorKit.java,
6327         javax/swing/tree/DefaultTreeCellEditor.java:
6328         Reworked import statements.
6329
6330 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6331
6332         * javax/swing/Box.java: Temporarily comment out code
6333         broken due to visibility bug.
6334
6335 2004-06-09  Michael Koch  <konqueror@gmx.de>
6336
6337         * javax/swing/ImageIcon.java
6338         (ImageIcon): Added missing constructor.
6339
6340 2004-06-08  Michael Koch  <konqueror@gmx.de>
6341
6342         * javax/swing/JToggleButton.java
6343         (JToggleButton): New constructor.
6344         (getAccessibleContext): Moved documentation into javadoc.
6345         (getUIClassID): Likewise.
6346
6347 2004-06-08  Michael Koch  <konqueror@gmx.de>
6348
6349         * javax/swing/AbstractButton.java
6350         (getDisabledIcon): Create disabled icon if none exists yet.
6351
6352 2004-06-08  Michael Koch  <konqueror@gmx.de>
6353
6354         * javax/swing/plaf/basic/BasicLookAndFeel.java
6355         (initClassDefaults): Added FormattedTextFieldUI.
6356         (loadResourceBundle): Renamed enum to e.
6357
6358 2004-06-08  Michael Koch  <konqueror@gmx.de>
6359
6360         * javax/swing/plaf/basic/BasicButtonUI.java
6361         (paintIcon): Simplified.
6362         (paintText): Paint disabled button correctly.
6363
6364 2004-06-08  Michael Koch  <konqueror@gmx.de>
6365
6366         * javax/swing/JComponent.java
6367         (createToolTip): Use official JToolTip API.
6368
6369 2004-06-08  Michael Koch  <konqueror@gmx.de>
6370
6371         * javax/swing/JToolTip.java
6372         (JToolTip): No arguments in API.
6373         (setTipText): New method.
6374
6375 2004-06-08  Michael Koch  <konqueror@gmx.de>
6376
6377         * javax/swing/SwingUtilities.java
6378         (isLeftMouseButton): New method.
6379         (isMiddleMouseButton): New method.
6380         (isRightMouseButton): New method.
6381
6382 2004-06-08  Michael Koch  <konqueror@gmx.de>
6383
6384         * javax/swing/AbstractButton.java,
6385         javax/swing/CellRendererPane.java,
6386         javax/swing/JCheckBoxMenuItem.java,
6387         javax/swing/JColorChooser.java,
6388         javax/swing/JComboBox.java,
6389         javax/swing/JComponent.java,
6390         javax/swing/JDesktopPane.java,
6391         javax/swing/JFileChooser.java,
6392         javax/swing/JMenu.java,
6393         javax/swing/JMenuItem.java,
6394         javax/swing/JOptionPane.java,
6395         javax/swing/JPasswordField.java,
6396         javax/swing/JPopupMenu.java,
6397         javax/swing/JProgressBar.java,
6398         javax/swing/JRadioButtonMenuItem.java,
6399         javax/swing/JScrollBar.java,
6400         javax/swing/JSeparator.java,
6401         javax/swing/JSlider.java,
6402         javax/swing/JSplitPane.java,
6403         javax/swing/JTabbedPane.java,
6404         javax/swing/JTextField.java,
6405         javax/swing/JToolBar.java,
6406         javax/swing/text/JTextComponent.java:
6407         Fixed all constructors of accessibility classes.
6408
6409 2004-06-08  Michael Koch  <konqueror@gmx.de>
6410
6411         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6412         over.
6413
6414 2004-06-08  Michael Koch  <konqueror@gmx.de>
6415
6416         * javax/swing/Box.java
6417         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6418         (AccessibleBoxFiller.serialVersionUID): New member variable.
6419         * javax/swing/DefaultButtonModel.java
6420         (stateMask): Made protected.
6421         (listenerList): Likewise.
6422         (changeEvent): Likewise.
6423         (group): Likewise.
6424         (mnemonic): Likewise.
6425         (actionCommand): Likewise.
6426         (getListeners): New method.
6427         (getActionListeners): New method.
6428         (getItemListeners): New method.
6429         (getChangeListeners): New method.
6430         (fireItemStateChanged): Simplified.
6431         (fireActionPerformed): Simplified.
6432         (fireStateChanged): Simplified.
6433         * javax/swing/JFrame.java
6434         (JFrame): Implements WindowContants.
6435         (HIDE_ON_CLOSE): Removed.
6436         (EXIT_ON_CLOSE): Removed.
6437         (DISPOSE_ON_CLOSE): Removed.
6438         (DO_NOTHING_ON_CLOSE): Removed.
6439         (processWindowEvent): Exit with code 0.
6440         (setDefaultCloseOperation): Do security check before setting value.
6441         * javax/swing/JOptionPane.java
6442         (message): Initialize only in constructor.
6443         * javax/swing/JToolTip.java: Removed unused imports.
6444         * javax/swing/JViewport.java
6445         (serialVersionUID): New member variable.
6446         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6447         (BLIT_SCROLL_MODE): Likewise.
6448         (BACKINGSTORE_SCROLL_MODE): Likewise.
6449         (scrollUnderway): Made protected.
6450         (isViewSizeSet): Likewise.
6451         * javax/swing/ListModel.java: Fixed javadoc.
6452         * javax/swing/Popup.java: Likewise.
6453         * javax/swing/RepaintManager.java
6454         (paintDirtyRegions): Don't use internal classes of
6455         java.util.AbstractMap.
6456         * javax/swing/ScrollPaneConstants.java: Reindented.
6457         * javax/swing/ScrollPaneLayout.java
6458         (viewport): Made protected.
6459         (verticalScrollBar): Made protected, renamed to vsb.
6460         (horizontalScrollBar): Made protected, renamed to hsb.
6461         (rowHeader): Made protected, renamed to rowHead.
6462         (columnHeader): Made protected, renamed to colHead.
6463         (lowerLeft): Made protected.
6464         (lowerRight): Made protected.
6465         (upperLeft): Made protected.
6466         (upperRight): Made protected.
6467         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6468         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6469
6470 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6471
6472         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6473         LOADING if flags has SOMEBITS set.
6474
6475 2004-06-07  Michael Koch  <konqueror@gmx.de>
6476
6477         * javax/swing/AbstractButton.java: Reorganized imports.
6478         * javax/swing/ActionMap.java: Likewise.
6479         * javax/swing/DefaultButtonModel.java: Likewise.
6480         * javax/swing/DefaultListModel.java: Likewise.
6481         * javax/swing/ImageIcon.java: Likewise.
6482         (serialVersionUID): New member variable.
6483         * javax/swing/JComboBox.java: Reorganized imports.
6484         * javax/swing/JComponent.java: Likewise.
6485         (ui): Made protected.
6486         (listenerList): Made protected.
6487         (TOOL_TIP_TEXT_KEY): New constant.
6488         (scrollRectToVisible): Removed redundant null check.
6489         * javax/swing/JFrame.java: Reorganized imports.
6490         * javax/swing/JInternalFrame.java: Reorganized imports.
6491         * javax/swing/JProgressBar.java: Likewise.
6492         * javax/swing/JRootPane.java: Likewise.
6493         * javax/swing/JScrollBar.java: Likewise.
6494         * javax/swing/JSeparator.java: Likewise.
6495         * javax/swing/JSlider.java: Likewise.
6496         * javax/swing/JTabbedPane.java: Likewise.
6497         * javax/swing/JTextField.java: Likewise.
6498         * javax/swing/JToolBar.java: Likewise.
6499         * javax/swing/JTree.java: Likewise.
6500         * javax/swing/JViewport.java: Likewise.
6501         * javax/swing/JWindow.java: Likewise.
6502         * javax/swing/KeyStroke.java: Likewise.
6503         * javax/swing/LookAndFeel.java: Likewise.
6504         * javax/swing/MenuSelectionManager.java: Likewise.
6505         * javax/swing/SwingUtilities.java: Likewise.
6506         * javax/swing/Timer.java: Likewise.
6507         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6508         * javax/swing/JList.java
6509         (HORIZONTAL_WRAP): Made final, fixed value.
6510         (VERTICAL): Likewise.
6511         (VERTICAL_WRAP): Likewise.
6512
6513 2004-06-07  Michael Koch  <konqueror@gmx.de>
6514
6515         * javax/swing/AbstractButton.java
6516         (serialVersionUID): New member variable.
6517         (AccessibleAbstractButton.serialVersionUID): Likewise.
6518         (AbstractButton): Made public.
6519         * javax/swing/Box.java
6520         (AccessibleBox.serialVersionUID): New member variable.
6521         (Filler.serialVersionUID): Likewise.
6522         * javax/swing/DefaultListSelectionModel.java
6523         (serialVersionUID): Likewise.
6524         * javax/swing/JApplet.java
6525         (serialVersionUID): Likewise.
6526         * javax/swing/JCheckBox.java
6527         (serialVersionUID): Likewise.
6528         * javax/swing/JCheckBoxMenuItem.java
6529         (serialVersionUID): Likewise.
6530         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6531         * javax/swing/JColorChooser.java
6532         (serialVersionUID): Likewise.
6533         (AccessibleJColorChooser.serialVersionUID): Likewise.
6534         * javax/swing/JComponent.java
6535         (serialVersionUID): Made private.
6536         (AccessibleJComponent.serialVersionUID): New member variable.
6537         * javax/swing/JDesktopPane.java
6538         (serialVersionUID): Likewise.
6539         * javax/swing/JDialog.java
6540         (serialVersionUID): Likewise.
6541         * javax/swing/JFormattedTextField.java
6542         (serialVersionUID): Fixed value.
6543         * javax/swing/JFrame.java
6544         (serialVersionUID): New member variable.
6545         (getDefaultCloseOpertation): Made public.
6546         * javax/swing/JLayeredPane.java
6547         (serialVersionUID): Likewise.
6548         (LAYER_PROPERTY): Made final, fixed value.
6549         (JLayeredPane): Made public.
6550         * javax/swing/JMenu.java
6551         (AccessibleJMenu.serialVersionUID): New member variable.
6552         (WinListener.serialVersionUID): Likewise.
6553         * javax/swing/JMenuBar.java
6554         (serialVersionUID): Likewise.
6555         (getComponentAtIndex): Added @deprecated tag.
6556         * javax/swing/JMenuItem.java
6557         (serialVersionUID): New member variable.
6558         (AccessibleJMenuItem.serialVersionUID): Likewise.
6559         * javax/swing/JOptionPane.java
6560         (serialVersionUID): Likewise.
6561         (AccessibleJOptionPane.serialVersionUID): Likewise.
6562         * javax/swing/JPopupMenu.java
6563         (serialVersionUID): Likewise.
6564         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6565         (getPopupMenuListeners): New method.
6566         (getComponentAtIndex): Added @deprecated tag.
6567         * javax/swing/JProgressBar.java
6568         (serialVersionUID): New member variable.
6569         (AccessibleJProgressBar.serialVersionUID): Likewise.
6570         * javax/swing/JRadioButton.java
6571         (serialVersionUID): Likewise.
6572         * javax/swing/JRadioButtonMenuItem.java
6573         (serialVersionUID): Likewise.
6574         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6575         * javax/swing/JScrollBar.java
6576         (serialVersionUID): Likewise.
6577         (AccessibleJScrollBar.serialVersionUID): Likewise.
6578         * javax/swing/JSeparator.java
6579         (serialVersionUID): Likewise.
6580         (AccessibleJSeparator.serialVersionUID): Likewise.
6581         * javax/swing/JSlider.java: Fixed javadocs.
6582         (AccessibleJSlider.serialVersionUID): New member variable.
6583         * javax/swing/JSplitPane.java: Added copyright statement.
6584         (serialVersionUID): New member variable.
6585         (AccessibleJSplitPane.serialVersionUID): Likewise.
6586         * javax/swing/JTabbedPane.java
6587         (serialVersionUID): Likewise.
6588         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6589         (ModelListener.serialVersionUID): Likewise.
6590         (ModelListener.ModelListener): New constructor.
6591         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6592         (WRAP_TAB_LAYOUT): Likewise.
6593         * javax/swing/JTable.java
6594         (serialVersionUID): New member variable.
6595         * javax/swing/JToggleButton.java
6596         (serialVersionUID): Likewise.
6597         (ToggleButtonModel): Made static.
6598         (ToggleButtonModel.serialVersionUID): New member variable.
6599         * javax/swing/JToolTip.java
6600         (serialVersionUID): Likewise.
6601         * javax/swing/JTree.java
6602         (serialVersionUID): Likewise.
6603         * javax/swing/JWindow.java
6604         (serialVersionUID): Likewise.
6605         * javax/swing/Timer.java
6606         (serialVersionUID): Likewise.
6607
6608 2004-06-06  Michael Koch  <konqueror@gmx.de>
6609
6610         * javax/swing/SwingConstants.java
6611         (NEXT): New constant.
6612         (PREVIOUS): Likewise.
6613         * javax/swing/UIManager.java
6614         (LookAndFeel): Made public.
6615         (LookAndFeel.getClassName): Likewise.
6616         (LookAndFeel.getName): Likewise.
6617
6618 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6619
6620         * javax/swing/JCheckBoxMenuItem.java:
6621         Removed CVS tags.
6622         * javax/swing/JMenu.java: Likewise.
6623         * javax/swing/JMenuBar.java: Likewise.
6624         * javax/swing/JMenuItem.java: Likewise.
6625         * javax/swing/JPopupMenu.java: Likewise.
6626         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6627         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6628         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6629         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6630         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6631         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6632         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6633
6634 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6635         
6636         * javax/swing/plaf/basic/BasicMenuUI.java:
6637         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6638         Call getPath() from super class instead.
6639
6640 2004-05-31  David Jee  <djee@redhat.com>
6641
6642         * java/awt/Container.java
6643         (remove): Set component visibility to false after removing it.
6644
6645 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6646
6647         * java/awt/Component.java (getForeground): Return SystemColor if
6648         parent is null.
6649         (getBackground): Likewise.
6650
6651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6652         (item_highlighted): New function.
6653         (connectSignals): Set item_highlighted as list's select
6654         function.
6655
6656         * java/applet/Applet.java: Revert changes from 2004-04-29,
6657         2004-03-15 and 2004-03-14.
6658
6659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6660         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6661         factor.
6662
6663         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6664         "Dialog" as the default font.
6665         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6666         Likewise.
6667         * java/awt/Component.java (getFont): Return "Dialog" font by
6668         default.
6669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6670         Multiply size argument to pango_font_description_set_size by the
6671         DPI conversion factor rather than by PANGO_SCALE.
6672         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6677         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6679         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6681         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6682         Divide baseline y coordinate by DPI conversion factor rather
6683         than by PANGO_SCALE.
6684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6685         (area_prepared): Fix typo.
6686         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6687         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6689         (dpi_conversion_factor): New global variable.
6690         (init_dpi_conversion_factor): New function to calculate and
6691         track DPI conversion factor.
6692         (dpi_changed_cb): New callback.
6693         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6694
6695 2004-05-27  David Jee  <djee@redhat.com>
6696
6697         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6698         (getGraphics): Return a new GdkGraphics instance.
6699         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6700         (getGraphics): Call super.getGraphics().
6701
6702 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6703
6704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6705         (setNativeBounds): Clamp width and height values to >= 0.
6706
6707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6708         (find_fg_color_widget): Handle GtkOptionMenu specially.
6709
6710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6711         (pre_event_handler): Only post configure events to visible
6712         top-level windows.
6713
6714 2004-05-26  David Jee  <djee@redhat.com>
6715
6716         * java/awt/BorderLayout.java
6717         (layoutContainer): Fix size calculations.
6718
6719 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6720
6721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6722         (window_wm_protocols_filter): Remove function.
6723         (create): Remove filter that removes WM_TAKE_FOCUS client
6724         messages.
6725
6726 2004-06-17  Anthony Green  <green@redhat.com>
6727
6728         * java/util/zip/ZipFile.java (getInputStream): Return null if
6729         entry not found.
6730
6731         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6732         directory contents to the class path.
6733
6734 2004-06-15  Andrew Haley  <aph@redhat.com>
6735
6736         * java/lang/natSystem.cc (getenv0): Don't assume environment
6737         variable is Latin 1 coded.
6738
6739 2004-06-14  Andreas Jaeger  <aj@suse.de>
6740
6741         * configure.in: Support --enable-version-specific-runtime-libs.
6742         * configure: Regenerated.
6743
6744 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6745
6746         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6747         to pass ClassLoader argument.
6748         * java/util/GregorianCalendar.java: Likewise.
6749         * java/util/Currency.java: Likewise.
6750         * java/text/BreakIterator.java: Likewise.
6751         * java/text/Collator.java: Likewise.
6752         * java/text/DateFormat.java: Likewise.
6753         * java/text/DateFormatSymbols.java: Likewise.
6754         * java/text/DecimalFormatSymbols.java: Likewise.
6755         * java/text/NumberFormat.java: Likewise.
6756         * java/awt/Window.java: Likewise.
6757
6758 2004-06-14  Andrew Haley  <aph@redhat.com>
6759
6760         * java/lang/System.java: (getenv0): New method.
6761         (getenv): Add security check.  Do the right thing.
6762         * java/lang/natSystem.cc (getenv0): New method.
6763
6764 2004-06-12  Mark Wielaard  <mark@klomp.org>
6765
6766         * javax/swing/RepaintManager.java
6767         (paintDirtyRegions): Use entrySet(), not values().
6768
6769 2004-06-10  Mark Wielaard  <mark@klomp.org>
6770
6771         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6772         NoSuchMethodError.
6773
6774 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6775
6776         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6777         when we already know the answer.
6778         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6779         (setStartRule,setEndRule): Don't take abs of day number.
6780         (getOffset): Clarify docs.  Add argument checks.
6781         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6782         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6783         endTimeMode.
6784
6785 2004-06-10  Tom Tromey  <tromey@redhat.com>
6786
6787         * interpret.cc (run): Handle wide fload.
6788
6789 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6790
6791         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6792
6793 2004-06-05  Michael Koch  <konqueror@gmx.de>
6794
6795         * javax/swing/SwingConstants.java
6796         (NEXT): New constant.
6797         (PREVIOUS): Likewise.
6798
6799 2004-06-05  Michael Koch  <konqueror@gmx.de>
6800
6801         * javax/swing/UIManager.java
6802         (LookAndFeel): Made public.
6803         (LookAndFeel.getName): Likewise.
6804         (LookAndFeel.getClassName): Likewise.
6805
6806 2004-06-03  Michael Koch  <konqueror@gmx.de>
6807
6808         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6809         (requestFocus): Revert last changes.
6810         (gtkRequestFocus): Removed.
6811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6812         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6813         Renamed to ...
6814         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6815         Reverted last patch.
6816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6817         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6818         Reverted comment change.
6819
6820 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6821
6822         * javax/swing/JCheckBoxMenuItem.java:
6823         Removed CVS tags.
6824         * javax/swing/JMenu.java: Likewise.
6825         * javax/swing/JMenuBar.java: Likewise.
6826         * javax/swing/JMenuItem.java: Likewise.
6827         * javax/swing/JPopupMenu.java: Likewise.
6828         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6829         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6830         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6831         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6832         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6833         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6834         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6835
6836 2004-06-01  Tom Tromey  <tromey@redhat.com>
6837
6838         * java/io/ObjectStreamField.java: Cleaned up imports.
6839
6840 2004-06-01  Michael Koch  <konqueror@gmx.de>
6841
6842         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6843       
6844 2004-06-01  Mark Wielaard  <mark@klomp.org>
6845
6846         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6847
6848 2004-06-01  Michael Koch  <konqueror@gmx.de>
6849
6850         * java/security/Security.java
6851         (insertProviderAt): Use equals() instead of ==.
6852         (removeProvicer): Likewise.
6853         (getProvider): Likewise.
6854         * java/security/Signature.java
6855         (sign): Don't set state to UNINITIALIZED.
6856         (verify): Likewise.
6857
6858 2004-06-01  Mark Wielaard  <mark@klomp.org>
6859
6860         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6861         Implement by calling gtkRequestFocus.
6862         (gtkRequestFocus): New native method.
6863         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6864         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6865         Renamed to ...
6866         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6867         New function name.
6868         (filter_expose_event_handler):
6869         Mark static.
6870         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6871         (menu_pos): Mark static.
6872
6873 2004-06-01  Michael Koch  <konqueror@gmx.de>
6874
6875         * java/text/CollationElementIterator.java,
6876         java/text/CollationKey.java,
6877         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6878         * testsuite/libjava.mauve/xfails: Removed all
6879         java.text.CollationElementIterator tests.
6880
6881 2004-06-01  Michael Koch  <konqueror@gmx.de>
6882
6883         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6884         version.
6885         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6886         Java 1.5 keyword usage.
6887
6888 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6889
6890         * javax/swing/plaf/basic/BasicMenuUI.java:
6891         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6892         Call getPath() from super class instead.
6893
6894 2004-05-31  Michael Koch  <konqueror@gmx.de>
6895
6896         * java/io/SequenceInputStream.java:
6897         Rename enum to e because enum is a keyword in Java 1.5.
6898
6899 2004-05-31  Michael Koch  <konqueror@gmx.de>
6900
6901         * gnu/java/rmi/rmic/CompilerProcess.java:
6902         Fixed javadoc to by XHTML compliant.
6903
6904 2004-05-30  Mark Wielaard  <mark@klomp.org>
6905
6906         * java/awt/Toolkit.java (loadSystemColors): Implement.
6907
6908 2004-05-30  Michael Koch  <konqueror@gmx.de>
6909
6910         * java/lang/System.java: Reordered imports.
6911
6912 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6913
6914         * java/text/DecimalFormat.java
6915         (parse): Fixed parsing of decimal strings. Number of maximum
6916         digits to be read should now work.
6917         * java/text/SimpleDateFormat.java
6918         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6919         formatter. This fixes DateFormatTest.
6920
6921 2004-05-30  Michael Koch  <konqueror@gmx.de>
6922
6923         * java/nio/Buffer.java
6924         (limit): Fixed off by one error.
6925         * java/nio/CharBuffer.java
6926         (wrap): Fixed arguments, added javadocs.
6927
6928 2004-05-30  Michael Koch  <konqueror@gmx.de>
6929
6930         * gnu/java/beans/BeanInfoEmbryo.java,
6931         java/awt/im/InputContext.java,
6932         javax/swing/tree/DefaultMutableTreeNode.java:
6933         Rename enum to e because enum is a keyword in Java 1.5.
6934
6935 2004-05-30  Michael Koch  <konqueror@gmx.de>
6936
6937         * gnu/java/math/MPN.java,
6938         java/awt/geom/Arc2D.java:
6939         Fixed javadocs all over.
6940
6941 2004-05-30  Michael Koch  <konqueror@gmx.de>
6942
6943         * java/awt/DefaultKeyboardFocusManager.java
6944         (dispatchEvent): Call method to get key event dispatchers.
6945         (dispatchKeyEvent): Call method to get key event post processors.
6946         * javax/swing/JComponent.java
6947         (listenerList): Made protected.
6948         * javax/swing/JOptionPane.java
6949         (message): Don't initialize.
6950         (JOptionPane): Set message text.
6951         * javax/swing/JPopupMenu.java
6952         (show): Fixed typo in argument name.
6953         * javax/swing/RepaintManager.java
6954         (paintDirtyRegions): Use public API of java.util.Map.
6955         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6956         (positionForMouseEvent): Removed redundant ';'.
6957         (continueDrag): Use method arguments.
6958
6959 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6960
6961         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6962         results.
6963
6964 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6965
6966         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6967         _Jv_AllocBytes.
6968         * gnu/gcj/RawDataManaged.java: New file.
6969         * java/lang/Thread.java (data): Declare as RawDataManaged.
6970         * java/lang/natThread.cc (init_native): Cast natThread data to
6971         RawDataManaged, not jobject.
6972         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6973         * Makefile.in: Rebuilt.
6974
6975 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6976
6977         * java/util/SimpleTimeZone.java: Reverting my last change until I
6978         can fix it properly.
6979
6980 2004-05-27  Michael Koch  <konqueror@gmx.de>
6981
6982         * javax/swing/JPopupMenu.java
6983         (isVisible): Do not use visible directly.
6984         (setVisible): Likewise.
6985         * javax/swing/JWindow.java
6986         (JWindow): call accessible constructor.
6987         * javax/swing/RepaintManager.java
6988         (paintDirtyRegions): Use public methods to obtain iterator.
6989
6990 2004-05-25  David Jee  <djee@redhat.com>
6991
6992         * java/awt/Container.java
6993         (remove): Set component's parent to null only after we removed the
6994         component from its parent's layout manager.
6995
6996 2004-05-25  David Jee  <djee@redhat.com>
6997
6998         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6999         (GtkComponentPeer): Set bounds regardless of whether awtComponent
7000         is valid.
7001         * gnu/java/awt/peer/gtk/GtkListPeer.java
7002         (getSize): Change native method declaration.
7003         (minimumSize): Pass visible row count into getSize().
7004         (preferredSize): Likewise.
7005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7006         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7007         natural size. Use visible row count to determine the final height
7008         value to return.
7009
7010 2004-05-21  Graydon Hoare  <graydon@redhat.com>
7011
7012         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
7013         (setClip): Minor correction to order of operations.
7014
7015         * javax/swing/JScrollPane.java: Extend sketchy implementation.
7016         * javax/swing/ScrollPaneLayout.java: Likewise.
7017         * javax/swing/JViewPort.java: Likewise.
7018         * javax/swing/ViewportLayout.java: Likewise.
7019
7020         * javax/swing/JComponent.java: Rewrite.
7021         * javax/swing/RepaintManager.java: Likewise.
7022
7023         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7024         * javax/swing/JList.java 
7025         (setSelectedIndices):
7026         (getSelectedIndices):
7027         (getSelectedValues): New functions.
7028         (getPreferredScrollableViewportSize): Return preferred size.
7029         (getScrollableUnitIncrement):
7030         (getScrollableBlockIncrement): Initial implementations.
7031         * javax/swing/JRootPane.java: Clean up slightly.
7032         (getUI):
7033         (setUI):
7034         (updateUI):
7035         (getUIClassID):
7036         (isValidateRoot): Add overrides from JComponent.
7037         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7038         * javax/swing/UIManager.java (getDimension): Return the dimension.
7039
7040         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7041         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7042         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7043         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7044         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7045         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7046         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7047         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
7048         Likewise, and set background.
7049         * javax/swing/plaf/basic/BasicListUI.java: 
7050         Likewise, and improve a bit.
7051         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
7052         Likewise, and adjust calculations.
7053         * javax/swing/plaf/basic/BasicViewportUI.java:
7054         Likewise, and improve a bit.
7055         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7056         (Button.margin): Shrink.
7057
7058         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7059         Hack to set horizontal always, workaround pango.
7060
7061         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7062         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7063         Synchronize more often, check cairo status after ops,
7064         handle changes to cairo pattern API, check for disposal.
7065
7066 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
7067
7068         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7069         (BasicMenuItemUI): Create propertyChangeListener.
7070         (getPath):Implemented.
7071         (installListeners): Add propertyChangeListener to menuItem.
7072         (uninstallListeners): Remove propertyChangeListener from menuItem.
7073         (update): Implemented.
7074         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7075         (mouseEntered): Take insets of popup menu into account when
7076         calculating position of popup menu.     
7077         
7078 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7079
7080         * Makefile.am: Added new file. 
7081         * Makefile.in: Regenerate.
7082         * javax/swing/JMenuBar.java:
7083         Started implementation.
7084         * javax/swing/JPopupMenu.java:
7085         (setVisible): Fixed location of lightweight/mediumweight
7086         popup menu.
7087         (show): Fixed location of PopupMenu.
7088         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7089         New file. UI Delegate for JMenuBar.
7090         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7091         (mouseEntered): Corrected position of the submenu.
7092
7093 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7094
7095         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7096         to _gtk_accel_group_attach.
7097         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7098         Likewise.
7099
7100         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7101         package access.  Don't override setFont.
7102         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7103         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7104         gtkWidgetRequestFocus package access.
7105         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7106         setFont.
7107         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7108         Give gtkWidgetRequestFocus package access.
7109         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7110         gtkWidgetRequestFocus package access.  Don't override setFont.
7111         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7112         setFont.
7113         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7114         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7115         region.
7116         (gtkSetFont): Likewise.
7117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7118         Implement.
7119         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7120         (gtkSetFont): Whitespace fix.
7121
7122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7123         (gtkWidgetSetUsize): Remove method.
7124
7125 2004-05-18  David Jee  <djee@redhat.com>
7126
7127         * java/awt/image/MemoryImageSource.java
7128         (newPixels(int,int,int,int,boolean)): Set only the specified
7129         rectangle of pixels.
7130         (newPixels(byte[],ColorModel,int,int)): Implement.
7131         (newPixels(int[],ColorModel,int,int)): Implement.
7132
7133 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7134
7135         * Makefile.am: Added new file.
7136         * Makefile.in: Regenerate.
7137         * javax/swing/JMenu.java: Started 
7138         implementation.
7139         * javax/swing/JPopupMenu.java:
7140         (insert): If specified index is -1, then
7141         add component at the end.
7142         (isPopupTrigger): Reimplemented.
7143         (JPopupMenu.LightWeightPopup): setBounds
7144         of the lightWeightPopup before adding it 
7145         to the layeredPane.
7146         (javax/swing/plaf/basic/BasicIconFactory.java):
7147         (getMenuArrowIcon): Implemented.
7148         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7149         (getPreferredSize): Add size of the arrow icon 
7150         if this menu item is instance of JMenu.
7151         (paintMenuItem): Paint arrow icon if this 
7152         menu item is a submenu.
7153         * javax/swing/plaf/basic/BasicMenuUI.java:
7154         New File. UI Delegate for JMenu.
7155
7156 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7157
7158         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7159         Post KEY_TYPED events.
7160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7161         (generates_key_typed_event): Remove function.
7162
7163 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7164
7165         * javax/swing/JRootPane.java
7166         (JRootPane.RootLayout): Reimplemented to 
7167         set bounds of contentPane and menuBar.
7168         (setJMenuBar): Add menu bar to the layered pane.
7169         (createLayeredPane): Set layout of layeredPane
7170         to null.
7171         * javax/swing/JLayeredPane.java:
7172         (addImpl): Calculate index of the component in the
7173         layeredPane according to the specified position within 
7174         the layer.      
7175
7176 2004-05-17  David Jee  <djee@redhat.com>
7177
7178         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7179         (setPixels): Change color model to the default model after
7180         converting pixels.
7181         * java/awt/image/MemoryImageSource.java
7182         (newPixels): Set only the specified rectangle of pixels.
7183
7184 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7185
7186         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7187         -l-java-beans -l-javax-accessibility -l-javax-swing.
7188
7189         * java/awt/AWTEvent.java (toString): Print source's name rather
7190         than the source itself.
7191
7192 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7193
7194         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7195         native.
7196         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7197         (gdk_color_to_java_color): New function.
7198         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7199
7200 2004-05-12  David Jee  <djee@redhat.com>
7201
7202         * java/awt/image/RGBImageFilter.java:
7203         Initialize origmodel as null.
7204         (makeColor): Fix pixel component order.
7205         (filterRGBPixels): Fix pixel iteration.
7206         (setPixels): Add extra checks for index color model. Convert pixels
7207         to default color model if necessary.
7208         (convertColorModelToDefault): New override method for byte pixels.
7209         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7210         (makeColorbyDefaultCM): New override method for byte pixels.
7211         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7212         (makeColor): Fix pixel component order.
7213
7214 2004-05-11  Kim Ho  <kho@redhat.com>
7215
7216         * javax/swing/Box.java:
7217         Comment out more parts of Box.Filler.
7218
7219 2004-05-11  Kim Ho  <kho@redhat.com>
7220
7221         * javax/swing/Box.java:
7222         Remove reference to AccessibleAWTComponent so
7223         it compiles again.
7224
7225 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7226
7227         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7228         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7229         implementation of list peer to use GtkTreeView instead of
7230         deprecated GtkCList.
7231
7232 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7233
7234         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7235         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7236         (handleEvent): Remove keyChar argument to
7237         gtkWidgetDispatchKeyEvent calls.
7238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7239         compiler warnings.
7240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7242         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7243         Likewise.
7244
7245 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7246
7247         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7248         (gtkWidgetRequestFocus): Mark protected.
7249         (GtkComponentPeer): Only set the peer's bounds if its component
7250         is valid.
7251         * java/awt/Component.java (static): Set the default keyboard
7252         focus manager.
7253         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7254         requestFocusInWindow(temporary)): Don't request focus if the
7255         component is not showing.  Get tree lock before traversing
7256         component hierarchy.
7257         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7258         Only set the global focus owner if it is not a Window.
7259         (processKeyEvent): Consume keystrokes associated with the focus
7260         traversal keystroke.
7261         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7262         downFocusCycle): Call requestFocusInWindow instead of
7263         requestFocus.
7264         * java/awt/EventDispatchThread.java (run): Move setting of
7265         default keyboard focus manager to Component.java.
7266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7267         (awt_keycode_to_keysym): New function.
7268         (gtkWidgetDispatchKeyEvent): Finish implementation.
7269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7270         (pre_event_handler): Add FIXME comment.
7271
7272         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7273         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7274         (gtkWidgetRequestFocus): New method.
7275         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7276         disable Tab and Shift-Tab keystrokes.
7277         (addNotify, appendText, insertText, replaceText): Simplify peer
7278         retrieval code.
7279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7280         (connectSignals): Remove connections to "commit" signals.
7281         Remove C++-style comments.
7282
7283         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7284         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7285         (handleEvent): Activate GTK button when the space bar key is
7286         pressed.
7287         (gtkActivate): New method.
7288
7289 2004-05-06  David Jee  <djee@redhat.com>
7290
7291         * java/awt/image/CropImageFilter.java
7292         (setPixels): Implement for byte array pixels.
7293         * java/awt/image/ReplicateScaleFilter.java
7294         (setPixels): Implement for byte array pixels.
7295         (replicatePixels): Overload for byte array pixels.
7296
7297 2004-05-06  Kim Ho  <kho@redhat.com>
7298
7299         * javax/swing/Box.java:
7300         (getAccessibleContext): Return an instance of the 
7301         correct class.
7302
7303 2004-05-05  David Jee  <djee@redhat.com>
7304
7305         * gnu/java/awt/peer/gtk/GdkGraphics.java
7306         (drawImage): When component is null, use SystemColor.window as
7307         the default bgcolor.
7308         * gnu/java/awt/peer/gtk/GtkImage.java
7309         (setPixels): We can avoid iterating through the pixel rows only
7310         when height is 1.
7311         * java/awt/Image.java
7312         (getScaledInstance): Partially implement.
7313         * java/awt/image/CropImageFilter.java
7314         (setProperties): Fix "filter" property.
7315         (setPixels): Implement.
7316         * java/awt/image/ReplicateScaleFilter.java
7317         (setDimensions): Use scaled dimensions.
7318         (setPixels): Implement.
7319         (replicatePixels): New method.
7320
7321 2004-05-05  David Jee  <djee@redhat.com>
7322
7323         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7324         (convertPixels): If either pixels or model is null, return null.
7325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7326         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7327         is null, do nothing and return.
7328
7329 2004-05-03  Kim Ho  <kho@redhat.com>
7330
7331         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7332         (getGraphics): Like GtkFramePeer, the Graphics
7333         object needs to be translate to account for
7334         window decorations.
7335         (postMouseEvent): New method. Account for
7336         translation.
7337         (postExposeEvent): ditto.
7338         * javax/swing/Box.java: Stubbed.
7339         * javax/swing/JDialog.java: Ran through jalopy
7340         to fix indentation.
7341         (JDialog): Call SwingUtilities' getOwnerFrame
7342         for null owners.
7343         (setLayout): Check isRootPaneCheckingEnabled
7344         * javax/swing/JOptionPane.java: Re-implemented.
7345         * javax/swing/SwingUtilities.java:
7346         (getOwnerFrame): Static method to grab a default
7347         owner frame for Dialogs that don't specify owners.
7348         * javax/swing/event/SwingPropertyChangeSupport.java:
7349         (firePropertyChange): Fix early exit condition.
7350         * javax/swing/plaf/basic/BasicLabelUI.java:
7351         (paint): Avoid painting text if it is null 
7352         or empty.
7353         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7354         Implement.
7355
7356 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7357
7358         * Makefile.am: Added new file.
7359         * Makefile.in: Regenerate.
7360         * javax/swing/JPopupMenu.java:
7361         Started implementation.
7362         * javax/swing/JWindow.java
7363         (JWindow): call super() if parent for window
7364         is not specified.
7365         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7366         New File. UI Delegate for JPopupMenu.
7367
7368 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7369
7370         * javax/swing/JApplet.java: Indicated that JApplet
7371         implements RootPaneContainer and made method of this
7372         interface public. 
7373         * javax/swing/JFrame.java: Ditto.
7374         * javax/swing/JWindow.java: Ditto.
7375         
7376 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7377
7378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7379         (nativeSetBounds): Call gdk_window_move in addition to
7380         gtk_window_move.
7381
7382         * java/applet/Applet.java (preferredSize): Call parent's
7383         preferredSize if the applet stub is null.
7384         (minimumSize): Likewise for parent's minimumSize.
7385
7386 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7387
7388         * javax/swing/JMenuItem.java
7389         (createActionPropertyChangeListener): Implemented.
7390         (processMouseEvent): Ditto.
7391         (fireMenuDragMouseEntered): Ditto.
7392         (fireMenuDragMouseExited): Ditto.
7393         (fireMenuDragMouseDragged): Ditto.
7394         (fireMenuDragMouseReleased): Ditto.
7395         (menuSelectionChanged): Ditto.
7396         (getSubElements): Ditto.
7397         (getComponent): Ditto.
7398         (addMenuDragMouseListener): Ditto.
7399         (removeMenuDragMouseListener):Ditto.
7400         (addMenuKeyListener): Ditto.
7401         (removeMenuKeyListener): Ditto.
7402         * javax/swing/plaf/basic/BasicMenuItemUI.java
7403         (doClick): Imlemented.
7404         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7405         Don't handle mouse events here. Pass them to 
7406         MenuSelectionManager.
7407         
7408 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7409         Used correct version of jalopy configuration
7410         file to fix style in the files below.
7411
7412 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7413
7414         * javax/swing/JCheckBoxMenuItem.java: 
7415         Fixed style and removed unnecessary comments.
7416         * javax/swing/JMenuItem.java: Ditto.
7417         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7418         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7419         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7420         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7421
7422 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7423
7424         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7425         C-style.
7426
7427         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7428
7429         * java/awt/ContainerOrderFocusTraversalPolicy.java
7430         (getComponentAfter): Start from current component and work up
7431         the component hierarchy until an acceptable component is found.
7432         Synchronize on tree lock.
7433         (getComponentBefore): Likewise.
7434
7435 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7436
7437         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7438         focus-related debugging messages.
7439         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7440         * java/awt/EventDispatchThread.java: Likewise.
7441         * java/awt/KeyboardFocusManager.java: Likewise.
7442         * java/awt/Window.java: Likewise.
7443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7444         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7445
7446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7447         new C++-style comments to C-style comments.
7448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7449
7450         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7451         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7452         (handleEvent): Dispatch key press and key release events to
7453         backing widget.
7454         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7455         (gtkWidgetRequestFocus): New method.
7456         (gtkWidgetDispatchKeyEvent): Likewise.
7457         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7458         requestFocusInWindow, requestFocusInWindow(boolean),
7459         getFocusCycleRootAncestor, nextFocus, transferFocus,
7460         transferFocusBackward, transferFocusUpCycle, hasFocus,
7461         isFocusOwner): Implement and document focus-handling methods.
7462         (setFocusTraversalKeys): Inherit focus traversal keys when
7463         keystrokes argument is null.  Fix focus-handling documentation
7464         throughout class.
7465         * java/awt/Container.java (setFocusTraversalKeys,
7466         getFocusTraversalKeys, areFocusTraversalKeysSet,
7467         isFocusCycleRoot, setFocusTraversalPolicy,
7468         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7469         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7470         Implement and document focus-handling methods.
7471         (transferFocusBackward): Remove method.
7472         (readObject, writeObject): Implement and document serialization
7473         methods.
7474         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7475         and document.
7476         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7477         document.
7478         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7479         partially document.
7480         * java/awt/EventDispatchThread.java (run): Set default keyboard
7481         focus manager.  Attempt to dispatch each event to the keyboard
7482         focus manager before normal dispatch.
7483         * java/awt/KeyboardFocusManager.java: Implement and partially
7484         document.
7485         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7486         (show): Focus initial component when window is shown for the
7487         first time.
7488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7489         (pre_event_handler): Replace complex key press and key release
7490         logic with simple callbacks into GtkComponentPeer.
7491         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7492
7493 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7494
7495         * javax/swing/MenuSelectionManager.java
7496         (componentForPoint): Added new method. 
7497         (defaultManager): New Method. Implemented.
7498         (getSelectedPath): Ditto.
7499         (isComponentPartOfCurrentMenu): Ditto.
7500         (processKeyEvent): Added new method.
7501         (processMouseEvent): New Method. Implemented.
7502         (setSelectedPath): Ditto.
7503         (getPath): Ditto.
7504
7505 2004-04-19  Kim Ho  <kho@redhat.com>
7506
7507         * java/awt/Container.java: 
7508         (remove): Set the component's parent to null.
7509         (getComponentAt): Implement.
7510         * javax/swing/JComponent.java:
7511         (JComponent): Initialize defaultLocale
7512         (getDefaultLocale): Implement.
7513         (setDefaultLocale): ditto.
7514         * javax/swing/JSlider.java:
7515         (JSlider): Fix calculation of value.
7516         * javax/swing/JSplitPane.java: Implement.
7517         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7518         Change SplitPane's default divider size.
7519         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7520         (paint): Remove unused code.
7521         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7522         Added comments and ran through jalopy.
7523         (setBasicSplitPaneUI): Get reference to hidden divider
7524         and set up one touch buttons if necessary.
7525         (setBorder): Fire propertyChangeEvent only if 
7526         borders are different.
7527         (getPreferredSize): Defer to layout manager.
7528         (propertyChange): Implement.
7529         (oneTouchExpandableChanged): ditto.
7530         (createLeftOneTouchButton): Use BasicArrowButton.
7531         (createRightOneTouchButton): ditto.
7532         (moveDividerTo): New method. Moves the divider
7533         to a set location based on the last divider location.
7534         (BasicSplitPaneDivider::MouseHandler): Implement.
7535         (BasicSplitPaneDivider::OneTouchButton): Removed.
7536         (BasicSplitPaneDivider::DragController): Implement.
7537         (BasicSplitPaneDivider::VerticalDragController):
7538         ditto.
7539         (BasicSplitPaneDivider::DividerLayout): ditto.
7540         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7541         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7542         (calculateLayoutInfo): Don't show component if it's
7543         null.
7544         (paintTab): Fix title paint logic.
7545
7546 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7547
7548         PR libgcj/8321
7549         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7550         (setStartRule,setEndRule): Don't take abs of day number.
7551         (getOffset): Clarify docs.  Add argument checks.
7552         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7553         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7554         endTimeMode.
7555         * testsuite/libjava.mauve/xfails
7556         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7557
7558 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7559
7560         Layout interfaces during preparation, not initialization. 
7561         * java/lang/natClass.cc (initializeClass): Move 
7562         _Jv_LayoutInterfaceMethods call...
7563         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7564
7565 2004-05-19  Anthony Green  <green@localhost.localdomain>
7566
7567         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7568         gnu.javax.rmi code.
7569         * Makefile.in: Rebuilt.
7570         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7571         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7572         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7573         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7574         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7575         gnu/javax/rmi/CORBA/DelegateFactory.java,
7576         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7577         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7578         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7579         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7580         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7581         gnu/javax/rmi/PortableServer.java: Remove files.
7582
7583 2004-05-19  Anthony Green  <green@redhat.com>
7584
7585         * Makefile.am: Define JAVA_EXT_DIRS.
7586         * Makefile.in: Rebuilt.
7587         * java/lang/natRuntime.cc (insertSystemProperties): Set
7588         java.ext.dirs property.
7589
7590 2004-05-16  Mark Wielaard  <mark@klomp.org>
7591
7592         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7593
7594 2004-05-15  Mark Wielaard  <mark@klomp.org>
7595
7596         * doc/cni.sgml: Removed, merged into gcj.texi.
7597
7598 2004-05-15  Mark Wielaard  <mark@klomp.org>
7599
7600         * Makefile.am (ordinary_java_source_files): Add new javax.print
7601         classes.
7602         * Makefile.in: Regenerated.
7603
7604 2004-05-15  Michael Koch  <konqueror@gmx.de>
7605
7606         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7607         javax/print/attribute/standard/DateTimeAtCreation.java,
7608         javax/print/attribute/standard/DateTimeAtProcessing.java,
7609         javax/print/attribute/standard/DocumentName.java,
7610         javax/print/attribute/standard/JobHoldUntil.java,
7611         javax/print/attribute/standard/JobImpressionsCompleted.java,
7612         javax/print/attribute/standard/JobMessageFromOperator.java,
7613         javax/print/attribute/standard/JobName.java,
7614         javax/print/attribute/standard/JobOriginatingUserName.java,
7615         javax/print/attribute/standard/JobPriority.java,
7616         javax/print/attribute/standard/JobPrioritySupported.java,
7617         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7618         javax/print/attribute/standard/OutputDeviceAssigned.java,
7619         javax/print/attribute/standard/PrinterInfo.java,
7620         javax/print/attribute/standard/PrinterLocation.java,
7621         javax/print/attribute/standard/PrinterMakeAndModel.java,
7622         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7623         javax/print/attribute/standard/PrinterName.java,
7624         javax/print/attribute/standard/QueuedJobCount.java,
7625         javax/print/attribute/standard/RequestingUserName.java:
7626         Fixed javadocs all over.
7627
7628 2004-05-15  Michael Koch  <konqueror@gmx.de>
7629
7630         * javax/print/DocFlavor.java,
7631         javax/print/attribute/standard/ColorSupported.java,
7632         javax/print/attribute/standard/Compression.java,
7633         javax/print/attribute/standard/CopiesSupported.java,
7634         javax/print/attribute/standard/Fidelity.java,
7635         javax/print/attribute/standard/Finishings.java,
7636         javax/print/attribute/standard/JobImpressionsSupported.java,
7637         javax/print/attribute/standard/JobKOctetsSupported.java,
7638         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7639         javax/print/attribute/standard/JobSheets.java,
7640         javax/print/attribute/standard/JobState.java,
7641         javax/print/attribute/standard/JobStateReason.java,
7642         javax/print/attribute/standard/JobStateReasons.java,
7643         javax/print/attribute/standard/Media.java,
7644         javax/print/attribute/standard/MediaSizeName.java,
7645         javax/print/attribute/standard/MultipleDocumentHandling.java,
7646         javax/print/attribute/standard/NumberUpSupported.java,
7647         javax/print/attribute/standard/OrientationRequested.java,
7648         javax/print/attribute/standard/PDLOverrideSupported.java,
7649         javax/print/attribute/standard/PageRanges.java,
7650         javax/print/attribute/standard/PresentationDirection.java,
7651         javax/print/attribute/standard/PrintQuality.java,
7652         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7653         javax/print/attribute/standard/PrinterMoreInfo.java,
7654         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7655         javax/print/attribute/standard/PrinterResolution.java,
7656         javax/print/attribute/standard/PrinterState.java,
7657         javax/print/attribute/standard/PrinterStateReason.java,
7658         javax/print/attribute/standard/PrinterStateReasons.java,
7659         javax/print/attribute/standard/PrinterURI.java,
7660         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7661         javax/print/attribute/standard/Severity.java,
7662         javax/print/attribute/standard/SheetCollate.java,
7663         javax/print/attribute/standard/Sides.java:
7664         Added serialVersionUID and removed final keyword where it doenst
7665         belong.
7666
7667 2004-05-15  Michael Koch  <konqueror@gmx.de>
7668
7669         * javax/print/PrintServiceLookup.java: New file.
7670
7671 2004-05-15  Michael Koch  <konqueror@gmx.de>
7672
7673         * javax/print/DocFlavor.java:
7674         Implemented all flavor classes.
7675
7676 2004-05-15  Michael Koch  <konqueror@gmx.de>
7677
7678         * javax/print/attribute/standard/ColorSupported.java,
7679         javax/print/attribute/standard/Compression.java,
7680         javax/print/attribute/standard/CopiesSupported.java,
7681         javax/print/attribute/standard/Fidelity.java,
7682         javax/print/attribute/standard/Finishings.java,
7683         javax/print/attribute/standard/JobImpressionsSupported.java,
7684         javax/print/attribute/standard/JobKOctetsSupported.java,
7685         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7686         javax/print/attribute/standard/JobSheets.java,
7687         javax/print/attribute/standard/JobState.java,
7688         javax/print/attribute/standard/JobStateReason.java,
7689         javax/print/attribute/standard/JobStateReasons.java,
7690         javax/print/attribute/standard/Media.java,
7691         javax/print/attribute/standard/MediaSizeName.java,
7692         javax/print/attribute/standard/MultipleDocumentHandling.java,
7693         javax/print/attribute/standard/NumberUpSupported.java,
7694         javax/print/attribute/standard/OrientationRequested.java,
7695         javax/print/attribute/standard/PDLOverrideSupported.java,
7696         javax/print/attribute/standard/PageRanges.java,
7697         javax/print/attribute/standard/PresentationDirection.java,
7698         javax/print/attribute/standard/PrintQuality.java,
7699         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7700         javax/print/attribute/standard/PrinterMoreInfo.java,
7701         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7702         javax/print/attribute/standard/PrinterResolution.java,
7703         javax/print/attribute/standard/PrinterState.java,
7704         javax/print/attribute/standard/PrinterStateReason.java,
7705         javax/print/attribute/standard/PrinterStateReasons.java,
7706         javax/print/attribute/standard/PrinterURI.java,
7707         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7708         javax/print/attribute/standard/Severity.java,
7709         javax/print/attribute/standard/SheetCollate.java,
7710         javax/print/attribute/standard/Sides.java: New files.
7711
7712 2004-05-15  Michael Koch  <konqueror@gmx.de>
7713
7714         * javax/print/Doc.java
7715         (getPrintData): Throws IOException.
7716         (getReaderForText): Likewise.
7717         (getStreamForBytes): Likewise.
7718         * javax/print/DocFlavor.java:
7719         Fixed filename in copyright.
7720         (serialVersionUID): New field.
7721         * javax/print/ServiceUIFactory.java:
7722         Made all constants final.
7723         * javax/print/AttributeException.java
7724         javax/print/MultiDoc.java
7725         javax/print/MultiDocPrintJob.java
7726         javax/print/MultiDocPrintService.java
7727         javax/print/StreamPrintService.java
7728         javax/print/URIException.java: New files.
7729         * javax/print/Makefile.am
7730         (EXTRA_DIST): Added all new files.
7731
7732 2004-05-15  Michael Koch  <konqueror@gmx.de>
7733
7734         * javax/print/attribute/standard/Copies.java,
7735         javax/print/attribute/standard/DateTimeAtCompleted.java,
7736         javax/print/attribute/standard/DateTimeAtCreation.java,
7737         javax/print/attribute/standard/DateTimeAtProcessing.java,
7738         javax/print/attribute/standard/DocumentName.java,
7739         javax/print/attribute/standard/JobHoldUntil.java,
7740         javax/print/attribute/standard/JobImpressions.java,
7741         javax/print/attribute/standard/JobImpressionsCompleted.java,
7742         javax/print/attribute/standard/JobKOctets.java,
7743         javax/print/attribute/standard/JobKOctetsProcessed.java,
7744         javax/print/attribute/standard/JobMediaSheets.java,
7745         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7746         javax/print/attribute/standard/JobMessageFromOperator.java,
7747         javax/print/attribute/standard/JobName.java,
7748         javax/print/attribute/standard/JobOriginatingUserName.java,
7749         javax/print/attribute/standard/JobPriority.java,
7750         javax/print/attribute/standard/JobPrioritySupported.java,
7751         javax/print/attribute/standard/NumberOfDocuments.java,
7752         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7753         javax/print/attribute/standard/NumberUp.java,
7754         javax/print/attribute/standard/OutputDeviceAssigned.java,
7755         javax/print/attribute/standard/PagesPerMinute.java,
7756         javax/print/attribute/standard/PagesPerMinuteColor.java:
7757         Fixed @return tag all over.
7758
7759 2004-05-15  Michael Koch  <konqueror@gmx.de>
7760
7761         * javax/print/attribute/AttributeSetUtilities.java
7762         (verifyCategoryForValue): Fixed typo in javadoc.
7763         * javax/print/attribute/HashAttributeSet.java
7764         (containsKey): Fixed @return tag.
7765         (comtainsValue): Likewise.
7766         (equals): Likewise.
7767         * javax/print/attribute/IntegerSyntax.java
7768         (equals): Likewise.
7769         * javax/print/attribute/ResolutionSyntax.java
7770         (equals): Likewise.
7771         (getCrossFeedResolution): Removed unused code.
7772         (getFeedResolution): Likewise.
7773         * javax/print/attribute/SetOfIntegerSyntax.java
7774         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7775         (equals): Fixed @return tag.
7776         * javax/print/attribute/TextSyntax.java
7777         (TextSyntax): Take locale into account.
7778         (hashCode): Better implementation.
7779
7780 2004-05-15  Michael Koch  <konqueror@gmx.de>
7781
7782         * javax/print/CancelablePrintJob.java,
7783         javax/print/Doc.java,
7784         javax/print/DocFlavor.java,
7785         javax/print/DocPrintJob.java,
7786         javax/print/FlavorException.java,
7787         javax/print/PrintException.java,
7788         javax/print/PrintService.java,
7789         javax/print/ServiceUIFactory.java: New files.
7790
7791 2004-05-15  Mark Wielaard  <mark@klomp.org>
7792
7793         * gnu/regexp/CharIndexedReader.java: Removed.
7794         * gnu/regexp/REFilterReader.java: Likewise.
7795         * gnu/regexp/RETokenLookAhead.java: Likewise.
7796         * Makefile.am (ordinary_java_source_files): Remove above classes.
7797         * Makefile.in: Regenerated.
7798
7799 2004-05-14  Tom Tromey  <tromey@redhat.com>
7800
7801         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7802         not `XGraphicsConfiguration.XOffScreenImage'.
7803
7804 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7805
7806         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7807
7808 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7809
7810         * include/jni.h (_Jv_func): Removed.
7811         (struct JNINativeInterface): Use `void *' for reserved slots.
7812         (struct JNIInvokeInterface): Likewise.
7813
7814 2004-05-11  Michael Koch  <konqueror@gmx.de>
7815
7816         * gnu/java/net/natPlainSocketImplPosix.cc
7817         (read): Fixed typo in expression.
7818
7819 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7820
7821         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7822         ld_library_additions. Adjust all calls to libjava_invoke to match
7823         the new argument.
7824
7825         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7826         path to cxxflagslist.
7827         Pass path of libstdc++ to libjava_invoke.
7828
7829         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7830         libjava_invoke arguments.
7831
7832 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7833
7834         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7835         reality.
7836
7837 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7838
7839         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7840         main binary against the JNI shared library.
7841
7842 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7843
7844         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7845         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7846         (SimpleTimeZone): Tweak docs.  Add new variation.
7847         (setStartRule,setEndRule): Add new variations.  Use
7848         startTimeMode and endTimeMode.
7849
7850 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7851
7852         * java/util/Calendar.java (getActualMinimum,
7853         getActualMaximum):  Remove abstract.  Implement.
7854
7855 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7856
7857         Run the jni tests using the interpreter.
7858         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7859         options_cxx to shared lib compile command.
7860         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7861         they are used to link the shared lib, not the main binary.
7862         Use libjava_invoke to run gij.
7863
7864 2004-05-06  Michael Koch  <konqueror@gmx.de>
7865
7866         * java/util/logging/Level.java
7867         (parse): Use == instead of String.equals().
7868
7869 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7870
7871         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7872         verify_field_signature and verify_method_signature, not 
7873         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7874         (_Jv_ClassReader::handleField): Likewise.
7875         (_Jv_ClassReader::handleMethod): Likewise.
7876
7877 2004-05-06  Michael Koch  <konqueror@gmx.de>
7878
7879         * javax/swing/table/TableColumn.java:
7880         Reformated.
7881
7882 2004-05-06  Michael Koch  <konqueror@gmx.de>
7883
7884         * javax/imageio/spi/ImageReaderWriterSpi.java
7885         (ImageReaderWriterSpi): Made it public.
7886         * javax/imageio/stream/ImageInputStream.java:
7887         Clean up imports.
7888
7889 2004-05-06  Michael Koch  <konqueror@gmx.de>
7890
7891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7892         Removed empty line.
7893
7894 2004-05-06  Michael Koch  <konqueror@gmx.de>
7895
7896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7897         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7898         New files.
7899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7900         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7902         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7903         their own source file.
7904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7905         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7906         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7907         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7908         (create): Define variable on top of function.
7909         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7910         (menu_pos): Prototyped.
7911         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7912         (setTitle): Removed.
7913         * jni/gtk-peer/gthread-jni.c
7914         (gdk_threads_wake): Removed.
7915         * Makefile.am (gtk_c_source_files): Added new files
7916         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7917         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7918         * Makefile.in: Regenerated.
7919
7920 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7921
7922         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7923         call.
7924
7925 2004-05-05  Mark Wielaard  <mark@klomp.org>
7926
7927         * javax/swing/AbstractButton.java: Replace special HTML entities with
7928         ASCII equivalent.
7929         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7930         * javax/swing/DefaultButtonModel.java: Likewise.
7931         * javax/swing/DefaultListModel.java: Likewise.
7932         * javax/swing/JList.java: Likewise.
7933         * javax/swing/JSlider.java: Likewise.
7934         * javax/swing/ListModel.java: Likewise.
7935         * javax/swing/Popup.java: Likewise.
7936         * javax/swing/SwingUtilities.java: Likewise.
7937
7938 2004-05-05  Michael Koch  <konqueror@gmx.de>
7939
7940         * javax/swing/AbstractButton.java,
7941         javax/swing/ActionMap.java,
7942         javax/swing/DefaultButtonModel.java,
7943         javax/swing/DefaultListModel.java,
7944         javax/swing/ImageIcon.java,
7945         javax/swing/JComboBox.java,
7946         javax/swing/JComponent.java,
7947         javax/swing/JFrame.java,
7948         javax/swing/JInternalFrame.java,
7949         javax/swing/JMenuBar.java,
7950         javax/swing/JMenuItem.java,
7951         javax/swing/JOptionPane.java,
7952         javax/swing/JProgressBar.java,
7953         javax/swing/JRootPane.java,
7954         javax/swing/JScrollBar.java,
7955         javax/swing/JScrollPane.java,
7956         javax/swing/JSeparator.java,
7957         javax/swing/JSlider.java,
7958         javax/swing/JTabbedPane.java,
7959         javax/swing/JTable.java,
7960         javax/swing/JTextField.java,
7961         javax/swing/JToolBar.java,
7962         javax/swing/JToolTip.java,
7963         javax/swing/JTree.java,
7964         javax/swing/JViewport.java,
7965         javax/swing/JWindow.java,
7966         javax/swing/KeyStroke.java,
7967         javax/swing/LookAndFeel.java,
7968         javax/swing/SwingUtilities.java,
7969         javax/swing/Timer.java,
7970         javax/swing/ToolTipManager.java,
7971         javax/swing/UIDefaults.java,
7972         javax/swing/border/TitledBorder.java,
7973         javax/swing/filechooser/FileSystemView.java,
7974         javax/swing/plaf/basic/BasicButtonListener.java,
7975         javax/swing/plaf/basic/BasicButtonUI.java,
7976         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7977         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7978         javax/swing/plaf/basic/BasicLabelUI.java,
7979         javax/swing/plaf/basic/BasicMenuItemUI.java,
7980         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7981         javax/swing/plaf/basic/BasicRootPaneUI.java,
7982         javax/swing/plaf/basic/BasicScrollBarUI.java,
7983         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7984         javax/swing/plaf/basic/BasicSliderUI.java,
7985         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7986         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7987         javax/swing/table/JTableHeader.java,
7988         javax/swing/text/AbstractDocument.java,
7989         javax/swing/text/DefaultCaret.java,
7990         javax/swing/text/StyledEditorKit.java,
7991         javax/swing/tree/DefaultTreeCellEditor.java:
7992         Cleaned up imports.
7993
7994 2004-05-05  Michael Koch  <konqueror@gmx.de>
7995
7996         * java/util/prefs/AbstractPreferences.java
7997         (AbstractPreferences): Added parenthesis for clarity.
7998         Closes classpath bug #7940.
7999
8000 2004-05-05  Tom Tromey  <tromey@redhat.com>
8001
8002         * javax/naming/CompoundName.java (endsWith): Look at correct
8003         element of source name.
8004
8005 2004-05-05  Mark Wielaard  <mark@klomp.org>
8006
8007         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8008         * java/util/HashMap.java (rehash): Add entry at start of bucket.
8009
8010 2004-05-05  Tom Tromey  <tromey@redhat.com>
8011
8012         * java/io/BufferedReader.java (skip): Removed unused
8013         variable.
8014
8015 2004-05-05  Michael Koch  <konqueror@gmx.de>
8016
8017         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8018
8019 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
8020
8021         * java/text/AttributedString.java,
8022         java/text/AttributedStringIterator.java,
8023         java/text/Collator.java,
8024         java/text/DecimalFormatSymbols.java,
8025         java/text/NumberFormat.java,
8026         java/text/RuleBasedCollator.java:
8027         Cleaned up imports.
8028
8029 2004-05-05  Tom Tromey  <tromey@redhat.com>
8030
8031         * java/text/Format.java: Cleaned up imports.
8032         * java/text/DecimalFormat.java: Cleaned up imports.
8033         * java/security/SecureRandom.java: Cleaned up imports.
8034         (SecureRandom): Removed unused variable.
8035         * java/security/UnresolvedPermission.java: Cleaned up imports.
8036         * java/util/Date.java (parse): Removed unused variable.
8037         * java/util/ResourceBundle.java: Cleaned up imports.
8038         (getBundle): Removed unused variable.
8039         (tryBundle): Likewise.
8040         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8041
8042 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8043
8044         * java/text/SimpleDateFormat.java:
8045         (formatWithAttribute): New method. It implements
8046         the formatting process with attributes.
8047         (format): Use formatWithAttribute.
8048         (formatToCharacterIterator): New method. Use
8049         formatWithAttribute.
8050
8051 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8052
8053         * java/text/MessageFormat.java:
8054         (class Field): New class.
8055         (formatToCharacterIterator): New method.
8056         (format): Use formatInternal now.
8057         (formatInternal): New method. String formatter should
8058         be done here (with attributes). Attributes merging supported.
8059         (parse): More documentation.
8060         (getFormatsByArgumentIndex): New method.
8061         (setFormatByArgumentIndex): New method.
8062         (setFormatsByArgumentIndex): New method.
8063
8064 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8065
8066         * java/text/DecimalFormat.java
8067         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8068         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8069         (parse): Fixed handling of exponentiation notation and grouping.
8070
8071 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8072
8073         * java/text/DecimalFormat.java
8074         (scanFix): Build attribute array. Fixed error reporting.
8075         (applyPatternWithSymbols): Store attributes for the prefix and
8076         suffix.
8077         (formatInternal): New method. Changed the way the string is
8078         computed. Implemented attributes. Cleant up rounding in
8079         exponential notation.
8080         (format): Use formatInternal.
8081         (formatToCharacterIterator): New method.
8082         (exponentRound, negativePrefixRanges, positivePrefixRanges,
8083         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8084         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8085         New fields.
8086
8087 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8088
8089         * java/security/interfaces/DSAKeyPairGenerator.java,
8090         java/security/interfaces/DSAPrivateKey.java,
8091         java/security/interfaces/DSAPublicKey.java,
8092         java/security/interfaces/RSAPrivateKey.java,
8093         java/security/interfaces/RSAPublicKey.java:
8094         Cleaned up imports.
8095
8096 2004-05-04  Michael Koch  <konqueror@gmx.de>
8097
8098         * java/nio/ByteBuffer.java,
8099         java/nio/CharBuffer.java,
8100         java/nio/DoubleBuffer.java,
8101         java/nio/FloatBuffer.java,
8102         java/nio/IntBuffer.java,
8103         java/nio/LongBuffer.java,
8104         java/nio/ShortBuffer.java:
8105         (compareTo): Fixed bogus implementation in all buffer classes.
8106
8107 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8108
8109         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8110         32 bit pixels not 8 bit pixels.
8111         (isCompatibleRaster): Added javadoc comment.
8112
8113 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8114
8115         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8116         scanline stride.
8117
8118 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8119
8120         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8121         (getColorModel): Return the actual color model.
8122         (getRaster): Implemented.
8123         (ColorRaster): New inner class.
8124         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8125         a PaintContext.
8126         * java/awt/Color.java (<init>): Make exception more verbose.
8127         (createContext): Use ColorModel when creating a PaintContext.
8128
8129 2004-05-04  Michael Koch  <konqueror@gmx.de>
8130
8131         * gnu/java/text/CharacterBreakIterator.java
8132         (previous): Removed unused variable.
8133
8134 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8135
8136         * gnu/java/text/FormatBuffer.java,
8137         gnu/java/text/AttributedFormatBuffer.java,
8138         gnu/java/text/StringFormatBuffer.java: New classes to implement
8139         attributed iterators in java.text.
8140         * gnu/java/text/FormatCharacterIterator.java: Moved 
8141         from java/text as it is an internal class.
8142         * java/text/FormatCharacterIterator.java: Removed.
8143         * java/text/Format.java:
8144         Import gnu.java.text.FormatCharacterIterator.
8145         * Makefile.am (java_source_files): Added new files.
8146         * Makefile.in: Regenerated.
8147         
8148
8149 2004-05-04  Mark Wielaard  <mark@klomp.org>
8150
8151         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8152
8153 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8154
8155         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8156         * Makefile.in: Rebuilt.
8157
8158 2004-05-03  Mark Wielaard  <mark@klomp.org>
8159
8160         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8161         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8162         * java/net/URL.java
8163         (set(String, String, int, String, String, String, String, String)):
8164         Assign this.file to path or path + "?" + query.
8165         * java/util/Arrays.java: Call static methods staticly.
8166         * java/util/zip/ZipEntry.java: Likewise.
8167         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8168         dir to this.direction.
8169         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8170         Assign static field only once.
8171         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8172
8173 2004-05-03  Mark Wielaard  <mark@klomp.org>
8174
8175         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8176         unused variables hScrollbarHeight and vScrollbarWidth.
8177         (preferredSize): Likewise.
8178         * gnu/java/security/provider/DSAParameters.java (engineToString):
8179         Removed unused call to System.getProperty("line.seperator");
8180         * java/security/Security.java (loadProviders): Return result.
8181
8182 2004-05-03  Tom Tromey  <tromey@redhat.com>
8183
8184         * java/net/URLStreamHandler.java (toExternalForm): Removed
8185         unused variables.
8186         unused constructor.
8187         * java/math/BigDecimal.java (divide): Removed unused variable.
8188         * java/lang/Throwable.java: Cleaned up imports.
8189         * java/lang/ClassLoader.java: Cleaned up imports.
8190         * java/io/FilePermission.java (implies): Removed unused
8191         variable.
8192         * java/awt/TextComponent.java: Removed unused import.
8193         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8194         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8195         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8196         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8197         import.
8198         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8199         * gnu/java/text/CharacterBreakIterator.java: Removed
8200         unused import.
8201         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8202         Cleaned up imports.
8203         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8204         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8205         unused method.
8206         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8207         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8208         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8209         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8210         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8211         (lookupProviders): Removed unused variable.
8212         (loadNextServiceProvider): Likewise.
8213         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8214
8215 2004-05-03  Michael Koch  <konqueror@gmx.de>
8216
8217         Fixes PR libgcj/14695:
8218         * java/net/NetworkInterface.java
8219         (getByName): Return null when no interface was found.
8220
8221 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8222             Tom Tromey  <tromey@redhat.com>
8223
8224         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8225         additional option "-Wmissing-prototypes" for compiling C sources.
8226         Print actual filename for pass/fail rather than $name.c.
8227         * testsuite/libjava.jni/PR15133.java: New testcase file.
8228         * testsuite/libjava.jni/PR15133.c: Likewise.
8229         * testsuite/libjava.jni/PR15133.out: Likewise.
8230
8231 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8232
8233         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8234         ceil and floor.
8235
8236 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8237         
8238         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8239         limit the maximum heap size to avoid unnecessary thrashing.
8240
8241 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8242
8243         * java/text/CollationElementIterator.java (reset): Reset
8244         lookahead variables.
8245
8246 2004-04-23  Mark Wielaard  <mark@klomp.org>
8247
8248         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8249
8250 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8251
8252         * java/sql/DriverManager.java:
8253         Cleaned up imports.
8254
8255 2004-04-23  Michael Koch  <konqueror@gmx.de>
8256
8257         * java/net/URL.java
8258         (hashcode): Don't initialize with default value explicitely.
8259         (getContent): Removed redundant "final" keyword.
8260         (openStream): Likewise.
8261         (getURLStreamHandler): Fixed coding style.
8262         * java/net/URLConnection.java
8263         (defaultAllowUserInteraction): Don't initialize with default value
8264         explicitely.
8265         (connected): Likewise.
8266         (doOutput): Likewise.
8267         (ifModifiedSince): Likewise.
8268         (dateformats_initialized): Likewise.
8269         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8270
8271 2004-04-23  Michael Koch  <konqueror@gmx.de>
8272
8273         * gnu/java/nio/channels/FileChannelImpl.java
8274         (SET, CUR): Unused, removed.
8275         (read): Implement here directly.
8276         (implRead): Removed.
8277         (write): Implement here directly.
8278         (implWrite): Removed.
8279
8280 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8281
8282         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8283         javax/rmi/CORBA/Stub.java,
8284         javax/rmi/CORBA/Util.java,
8285         javax/rmi/CORBA/ValueHandler.java,
8286         javax/rmi/CORBA/ValueHandler.java,
8287         javax/rmi/PortableRemoteObject.java:
8288         Cleaned up imports.
8289
8290 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8291
8292         * java/util/jar/JarFile.java,
8293         java/util/jar/JarInputStream.java,
8294         java/util/jar/JarOutputStream.java,
8295         java/util/jar/Manifest.java:
8296         Cleaned up imports.
8297
8298 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8299
8300         * java/util/ArrayList.java,
8301         java/util/Calendar.java,
8302         java/util/Currency.java,
8303         java/util/HashMap.java,
8304         java/util/HashSet.java,
8305         java/util/Hashtable.java,
8306         java/util/LinkedList.java,
8307         java/util/Properties.java,
8308         java/util/PropertyPermission.java,
8309         java/util/TimeZone.java,
8310         java/util/TreeMap.java,
8311         java/util/TreeSet.java,
8312         java/util/Vector.java,
8313         java/util/WeakHashMap.java:
8314         Cleaned up imports.
8315
8316 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8317
8318         * java/util/logging/FileHandler.java,
8319         java/util/logging/Formatter.java,
8320         java/util/logging/Handler.java,
8321         java/util/logging/Logger.java,
8322         java/util/logging/SimpleFormatter.java,
8323         java/util/logging/XMLFormatter.java:
8324         Cleaned up imports.
8325
8326 2004-04-22  Mark Wielaard  <mark@klomp.org>
8327
8328         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8329         -Wno-long-long flags variable.
8330         (gtk_c_files): Use PEDANTIC_CFLAGS.
8331         * Makefile.in: Regenerated.
8332
8333 2004-04-22  Mark Wielaard  <mark@klomp.org>
8334
8335         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8336         Changed C++ comments into C comments.
8337         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8338         Likewise.
8339
8340 2004-04-22  Michael Koch  <konqueror@gmx.de>
8341
8342         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8343         Merged copyright year with GNU classpath.
8344
8345 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8346
8347         * javax/security/auth/x500/X500Principal.java:
8348         Cleaned up imports.
8349
8350 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8351
8352         * javax/swing/JSlider.java:
8353         Fixed HTML tags in comments.
8354
8355 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8356
8357         * javax/accessibility/AccessibleText.java:
8358         Cleaned up imports.
8359
8360 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8361
8362         * java/net/URLStreamHandler.java
8363         (parseURL): Convert the file path to using '/' instead of native
8364         file separator.
8365
8366 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8367
8368         * java/net/URL.java
8369         (userInfo): New field.
8370         (URL): Set authority to the right value.
8371         (setURL): Fixed authority and file initialization.
8372         * java/net/URLStreamHandler.java
8373         (parseURL): Take care of the query tag. Build authority.
8374         (toExternalForm): Fixed URL building using authority.
8375
8376 2004-04-22  Michael Koch  <konqueror@gmx.de>
8377
8378         * java/net/Socket.java
8379         (impl): Made package-private.
8380         * java/net/ServerSocket.java
8381         (implAccept): Access Socket.impl field directly.
8382
8383 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8384
8385         * java/util/prefs/Preferences.java,
8386         java/util/prefs/InvalidPreferencesFormatException.java,
8387         java/util/prefs/BackingStoreException.java,
8388         java/util/prefs/AbstractPreferences.java:
8389         Cleaned up imports.
8390
8391 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8392
8393         * java/util/regex/Matcher.java,
8394         java/util/regex/Pattern.java:
8395         Cleaned up imports.
8396
8397 2004-04-22  Michael Koch  <konqueror@gmx.de>
8398
8399         * java/nio/charset/IllegalCharsetNameException.java
8400         (charsetName): Made private.
8401         (IllegalCharsetNameException): Added @param tag to javadoc.
8402         (getCharsetName): Added @return tag to javadoc.
8403         * java/nio/charset/MalformedInputException.java
8404         (MalformedInputException): Added @param tag to javadoc.
8405         (getInputLength): Revised method description, added @return tag.
8406         (getMessage): Added @return tag.
8407
8408 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8409
8410         * java/awt/Font.java (deriveFont): Implement missing variants.
8411         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8412         missing variants.
8413
8414 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8415
8416         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8417         Set method->index values for interface methods to their itable index.
8418         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8419
8420 2004-04-21  Michael Koch  <konqueror@gmx.de>
8421
8422         * java/nio/DirectByteBufferImpl.java
8423         (shiftDown): Made static, give address as argument and
8424         provide a convenience method that overwrites shiftDown in
8425         ByteBufferImpl and calls the native shiftDown.
8426         * java/nio/MappedByteBufferImpl.java
8427         (): Use optimized method in DirectByteBufferImpl.
8428         * java/nio/natDirectByteBufferImpl.cc
8429         (shiftDown): Changed method signature. Removed usage of array_offset.
8430
8431 2004-04-21  Michael Koch  <konqueror@gmx.de>
8432
8433         * gnu/java/net/natPlainSocketImplPosix.cc
8434         (SocketInputStream::read): Make sure returned data is a byte value.
8435
8436 2004-04-21  Michael Koch  <konqueror@gmx.de>
8437
8438         * gnu/classpath/ServiceFactory.java,
8439         gnu/classpath/ServiceProviderLoadingAction.java,
8440         javax/imageio/ImageReader.java,
8441         javax/imageio/ImageTranscoder.java,
8442         javax/imageio/ImageWriter.java,
8443         javax/imageio/package.html,
8444         javax/imageio/spi/IIOServiceProvider.java,
8445         javax/imageio/spi/ImageInputStreamSpi.java,
8446         javax/imageio/spi/ImageOutputStreamSpi.java,
8447         javax/imageio/spi/ImageReaderWriterSpi.java,
8448         javax/imageio/spi/ImageTranscoderSpi.java,
8449         javax/imageio/spi/RegisterableService.java,
8450         javax/imageio/spi/ServiceRegistry.java,
8451         javax/imageio/spi/package.html,
8452         javax/imageio/stream/IIOByteBuffer.java,
8453         javax/imageio/stream/ImageInputStream.java,
8454         javax/imageio/stream/ImageOutputStream.java,
8455         javax/imageio/stream/package.html:
8456         New files.
8457         * Makefile.am
8458         (ordinary_java_source_files): Added
8459         gnu/classpath/ServiceFactory.java and
8460         gnu/classpath/ServiceProviderLoadingAction.java.
8461         (javax_source_files): Added
8462         javax/imageio/ImageReader.java,
8463         javax/imageio/ImageTranscoder.java,
8464         javax/imageio/ImageWriter.java,
8465         javax/imageio/spi/IIOServiceProvider.java,
8466         javax/imageio/spi/ImageInputStreamSpi.java,
8467         javax/imageio/spi/ImageOutputStreamSpi.java,
8468         javax/imageio/spi/ImageReaderWriterSpi.java,
8469         javax/imageio/spi/ImageTranscoderSpi.java,
8470         javax/imageio/spi/RegisterableService.java,
8471         javax/imageio/spi/ServiceRegistry.java,
8472         javax/imageio/stream/IIOByteBuffer.java,
8473         javax/imageio/stream/ImageInputStream.java and
8474         javax/imageio/stream/ImageOutputStream.java.
8475         * Makefile.in: Regenerated.
8476
8477 2004-04-21  Michael Koch  <konqueror@gmx.de>
8478
8479         * java/util/Properties.java
8480         (load): Fix wrongly merged fix.
8481
8482 2004-04-21  Mark Wielaard  <mark@klomp.org>
8483
8484         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8485         malloc and free buf.
8486
8487 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8488
8489         * javax/naming/AuthenticationException.java,
8490         javax/naming/AuthenticationNotSupportedException.java,
8491         javax/naming/CannotProceedException.java,
8492         javax/naming/CommunicationException.java,
8493         javax/naming/CompoundName.java,
8494         javax/naming/ConfigurationException.java,
8495         javax/naming/ContextNotEmptyException.java,
8496         javax/naming/InitialContext.java,
8497         javax/naming/InsufficientResourcesException.java,
8498         javax/naming/InterruptedNamingException.java,
8499         javax/naming/LimitExceededException.java,
8500         javax/naming/LinkException.java,
8501         javax/naming/LinkLoopException.java,
8502         javax/naming/LinkRef.java,
8503         javax/naming/MalformedLinkException.java,
8504         javax/naming/Name.java,
8505         javax/naming/NameAlreadyBoundException.java,
8506         javax/naming/NameNotFoundException.java,
8507         javax/naming/NamingSecurityException.java,
8508         javax/naming/NoInitialContextException.java,
8509         javax/naming/NoPermissionException.java,
8510         javax/naming/NotContextException.java,
8511         javax/naming/PartialResultException.java,
8512         javax/naming/ReferralException.java,
8513         javax/naming/ServiceUnavailableException.java,
8514         javax/naming/SizeLimitExceededException.java,
8515         javax/naming/TimeLimitExceededException.java,
8516         javax/naming/directory/Attribute.java,
8517         javax/naming/directory/Attributes.java,
8518         javax/naming/directory/SearchResult.java,
8519         javax/naming/event/NamingExceptionEvent.java,
8520         javax/naming/spi/ResolveResult.java:
8521         Cleaned up imports.
8522
8523 2004-04-21  Mark Wielaard  <mark@klomp.org>
8524
8525         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8526         Changed C++ comments into C comments. Removed commented out code.
8527         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8528         Likewise.
8529         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8530         Likewise.
8531         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8532         Likewise.
8533         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8534         Likewise.
8535         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8536         Likewise.
8537         * native/jni/gtk-peer/gthread-jni.c:
8538         Likewise.
8539
8540 2004-04-21  Mark Wielaard  <mark@klomp.org>
8541
8542         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8543         static fields defined in interface.
8544         * javax/awt/JDialog.java: Likewise.
8545         (JDialog): Make constructors public.
8546         (getDefaultCloseOperation): Make public.
8547         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8548         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8549         * javax/swing/JViewport.java (JViewport): Make constructor public.
8550
8551 2004-04-21  Michael Koch  <konqueror@gmx.de>
8552
8553         * java/util/Map.java
8554         (Entry): Removed redundant "static" modifier.
8555         * java/text/AttributedCharacterIterator.java:
8556         Updated copyright year.
8557
8558 2004-04-20  Michael Koch  <konqueror@gmx.de>
8559
8560         * javax/naming/directory/SearchControls.java:
8561         Don't explicitely extend java.lang.Object.
8562         * javax/naming/spi/DirStateFactory.java:
8563         Merged copyright year with GNU classpath.
8564
8565 2004-04-20  Michael Koch  <konqueror@gmx.de>
8566
8567         * java/nio/channels/Channels.java:
8568         Merged coding style with GNU classpath.
8569
8570 2004-04-20  Michael Koch  <konqueror@gmx.de>
8571
8572         * java/net/ServerSocket.java
8573         Merged coding style from GNU classpath.
8574
8575 2004-04-20  Michael Koch  <konqueror@gmx.de>
8576
8577         * java/io/BufferedWriter.java:
8578         Reordered variables to be at top of the class.
8579         (localFlush): Removed redundant final keyword.
8580
8581 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8582
8583         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8584
8585 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8586
8587         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8588         for percent and permill check.
8589
8590 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8591
8592         * java/text/FieldPosition.java
8593         (FieldPosition) Constructor now behaves as it should according
8594         to the java documentation.
8595
8596 2004-04-20  Mark Wielaard  <mark@klomp.org>
8597
8598         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8599         documentation.
8600
8601 2004-04-20  Michael Koch  <konqueror@gmx.de>
8602
8603         * java/nio/Buffer.java,
8604         java/nio/channels/AlreadyConnectedException.java,
8605         java/nio/channels/AsynchronousCloseException.java,
8606         java/nio/channels/ByteChannel.java,
8607         java/nio/channels/CancelledKeyException.java,
8608         java/nio/channels/Channel.java,
8609         java/nio/channels/Channels.java,
8610         java/nio/channels/ClosedByInterruptException.java,
8611         java/nio/channels/ClosedChannelException.java,
8612         java/nio/channels/ClosedSelectorException.java,
8613         java/nio/channels/ConnectionPendingException.java,
8614         java/nio/channels/DatagramChannel.java,
8615         java/nio/channels/FileChannel.java,
8616         java/nio/channels/FileLock.java,
8617         java/nio/channels/FileLockInterruptionException.java,
8618         java/nio/channels/GatheringByteChannel.java,
8619         java/nio/channels/IllegalBlockingModeException.java,
8620         java/nio/channels/IllegalSelectorException.java,
8621         java/nio/channels/InterruptibleChannel.java,
8622         java/nio/channels/NoConnectionPendingException.java,
8623         java/nio/channels/NonReadableChannelException.java,
8624         java/nio/channels/NonWritableChannelException.java,
8625         java/nio/channels/NotYetBoundException.java,
8626         java/nio/channels/NotYetConnectedException.java,
8627         java/nio/channels/OverlappingFileLockException.java,
8628         java/nio/channels/Pipe.java,
8629         java/nio/channels/ReadableByteChannel.java,
8630         java/nio/channels/ScatteringByteChannel.java,
8631         java/nio/channels/SelectableChannel.java,
8632         java/nio/channels/SelectionKey.java,
8633         java/nio/channels/Selector.java,
8634         java/nio/channels/ServerSocketChannel.java,
8635         java/nio/channels/SocketChannel.java,
8636         java/nio/channels/UnresolvedAddressException.java,
8637         java/nio/channels/UnsupportedAddressTypeException.java,
8638         java/nio/channels/WritableByteChannel.java,
8639         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8640         java/nio/channels/spi/AbstractSelectableChannel.java,
8641         java/nio/channels/spi/AbstractSelectionKey.java,
8642         java/nio/channels/spi/AbstractSelector.java,
8643         java/nio/channels/spi/SelectorProvider.java,
8644         java/nio/charset/spi/CharsetProvider.java:
8645         Fixed javadocs and jalopied all over java.nio.
8646
8647 2004-04-20  Michael Koch  <konqueror@gmx.de>
8648
8649         * java/nio/ByteBufferImpl.java,
8650         java/nio/CharBufferImpl.java,
8651         java/nio/DirectByteBufferImpl.java,
8652         java/nio/DoubleBufferImpl.java,
8653         java/nio/DoubleViewBufferImpl.java,
8654         java/nio/FloatBufferImpl.java,
8655         java/nio/FloatViewBufferImpl.java,
8656         java/nio/IntBufferImpl.java,
8657         java/nio/IntViewBufferImpl.java,
8658         java/nio/LongBufferImpl.java,
8659         java/nio/LongViewBufferImpl.java,
8660         java/nio/MappedByteBufferImpl.java,
8661         java/nio/ShortBufferImpl.java,
8662         java/nio/ShortViewBufferImpl.java:
8663         Made sure all classes are final and removed final keyword from all
8664         methods.
8665
8666 2004-04-20  Michael Koch  <konqueror@gmx.de>
8667
8668         * java/rmi/MarshalledObject.java,
8669         java/rmi/Naming.java,
8670         java/rmi/RemoteException.java,
8671         java/rmi/activation/ActivationException.java,
8672         java/rmi/server/ServerCloneException.java,
8673         java/security/AccessController.java,
8674         java/security/AlgorithmParameterGenerator.java,
8675         java/security/AlgorithmParameters.java,
8676         java/security/CodeSource.java,
8677         java/security/Identity.java,
8678         java/security/IdentityScope.java,
8679         java/security/KeyPairGenerator.java,
8680         java/security/KeyStore.java,
8681         java/security/Security.java,
8682         java/security/Signature.java,
8683         java/security/SignatureSpi.java,
8684         java/security/SignedObject.java,
8685         java/security/spec/DSAParameterSpec.java,
8686         java/security/spec/DSAPrivateKeySpec.java,
8687         java/security/spec/DSAPublicKeySpec.java,
8688         java/sql/Array.java,
8689         java/sql/DatabaseMetaData.java,
8690         java/sql/ResultSet.java,
8691         java/text/ChoiceFormat.java,
8692         java/text/CollationElementIterator.java,
8693         java/text/CollationKey.java,
8694         java/text/Collator.java,
8695         java/text/DateFormat.java,
8696         java/text/DateFormatSymbols.java,
8697         java/text/DecimalFormatSymbols.java,
8698         java/text/Format.java,
8699         java/text/ParsePosition.java,
8700         java/text/RuleBasedCollator.java,
8701         java/text/SimpleDateFormat.java,
8702         java/text/StringCharacterIterator.java,
8703         java/util/Collections.java,
8704         java/util/PropertyResourceBundle.java,
8705         java/util/ResourceBundle.java,
8706         java/util/StringTokenizer.java,
8707         java/util/jar/Attributes.java,
8708         java/util/logging/ConsoleHandler.java,
8709         java/util/logging/LogManager.java,
8710         java/util/logging/MemoryHandler.java,
8711         java/util/logging/SocketHandler.java,
8712         javax/naming/NamingException.java:
8713         Fixed javadoc, coding style and argument names all over.
8714
8715 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8716
8717         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8718         constructor. (valid) Added null check.
8719
8720 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8721
8722         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8723         * java/io/FileOutputStream.java
8724         (FileOutputStream) Reorganized constructors. Constructors now
8725         check whether the given path is directory.
8726
8727 2004-04-20  Michael Koch  <konqueror@gmx.de>
8728
8729         * java/net/Authenticator.java,
8730         java/net/BindException.java,
8731         java/net/ConnectException.java,
8732         java/net/ContentHandler.java,
8733         java/net/ContentHandlerFactory.java,
8734         java/net/DatagramPacket.java,
8735         java/net/DatagramSocket.java,
8736         java/net/DatagramSocketImpl.java,
8737         java/net/DatagramSocketImplFactory.java,
8738         java/net/FileNameMap.java,
8739         java/net/HttpURLConnection.java,
8740         java/net/Inet4Address.java,
8741         java/net/Inet6Address.java,
8742         java/net/InetAddress.java,
8743         java/net/InetSocketAddress.java,
8744         java/net/JarURLConnection.java,
8745         java/net/MalformedURLException.java,
8746         java/net/MulticastSocket.java,
8747         java/net/NetPermission.java,
8748         java/net/NetworkInterface.java,
8749         java/net/NoRouteToHostException.java,
8750         java/net/PasswordAuthentication.java,
8751         java/net/PortUnreachableException.java,
8752         java/net/ProtocolException.java,
8753         java/net/ServerSocket.java,
8754         java/net/Socket.java,
8755         java/net/SocketAddress.java,
8756         java/net/SocketException.java,
8757         java/net/SocketImpl.java,
8758         java/net/SocketImplFactory.java,
8759         java/net/SocketOptions.java,
8760         java/net/SocketPermission.java,
8761         java/net/SocketTimeoutException.java,
8762         java/net/URI.java,
8763         java/net/URISyntaxException.java,
8764         java/net/URL.java,
8765         java/net/URLClassLoader.java,
8766         java/net/URLConnection.java,
8767         java/net/URLDecoder.java,
8768         java/net/URLEncoder.java,
8769         java/net/URLStreamHandler.java,
8770         java/net/URLStreamHandlerFactory.java,
8771         java/net/UnknownHostException.java,
8772         java/net/UnknownServiceException.java:
8773         Fixed javadocs, coding style and argument names all over.
8774
8775 2004-04-20  Michael Koch  <konqueror@gmx.de>
8776
8777         * java/lang/Byte.java,
8778         java/lang/CharSequence.java,
8779         java/lang/ClassLoader.java,
8780         java/lang/Compiler.java,
8781         java/lang/Double.java,
8782         java/lang/Float.java,
8783         java/lang/Integer.java,
8784         java/lang/Long.java,
8785         java/lang/Math.java,
8786         java/lang/Number.java,
8787         java/lang/Package.java,
8788         java/lang/Runtime.java,
8789         java/lang/RuntimePermission.java,
8790         java/lang/SecurityManager.java,
8791         java/lang/Short.java,
8792         java/lang/StringBuffer.java,
8793         java/lang/System.java,
8794         java/lang/ThreadGroup.java,
8795         java/lang/Throwable.java,
8796         java/lang/reflect/InvocationHandler.java,
8797         java/lang/reflect/Proxy.java:
8798         Fixed javadocs, coding style and argument names all over.
8799
8800 2004-04-20  Michael Koch  <konqueror@gmx.de>
8801
8802         * java/io/BufferedWriter.java,
8803         java/io/ByteArrayInputStream.java,
8804         java/io/CharArrayWriter.java,
8805         java/io/DataInput.java,
8806         java/io/DataInputStream.java,
8807         java/io/File.java,
8808         java/io/FilterInputStream.java,
8809         java/io/InputStream.java,
8810         java/io/InputStreamReader.java,
8811         java/io/ObjectInputStream.java,
8812         java/io/ObjectStreamClass.java,
8813         java/io/PipedInputStream.java,
8814         java/io/PipedReader.java,
8815         java/io/PushbackInputStream.java,
8816         java/io/PushbackReader.java,
8817         java/io/RandomAccessFile.java,
8818         java/io/SerializablePermission.java,
8819         java/io/StreamTokenizer.java,
8820         java/io/StringWriter.java,
8821         java/io/WriteAbortedException.java,
8822         java/io/Writer.java:
8823         Fixed javadocs all over, rename arguments to match javadocs,
8824         fixed coding style.
8825
8826 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8827
8828         * java/awt/FontMetrics.java:
8829         (charsWidth): fixed accumulation of total_width
8830         (getWidth): simple default implementation
8831         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8832         in Rectangle constructor.
8833         * java/awt/image/Raster.java (toString): Added method. 
8834         * java/awt/image/SampleModel.java (<init>): Added error cause
8835         information to thrown exception.
8836         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8837         New method.
8838         (setDataElements): New method.
8839         (setPixels): New method.
8840         (toString): New method.
8841
8842 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8843
8844         * java/awt/image/ComponentColorModel.java
8845         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8846         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8847         Mauve tests on this method. Improved documentation.
8848
8849 2004-04-20  Michael Koch  <konqueror@gmx.de>
8850
8851         * javax/swing/JLayeredPane.java,
8852         javax/swing/plaf/BorderUIResource.java,
8853         javax/swing/plaf/ComponentUI.java,
8854         javax/swing/undo/CompoundEdit.java,
8855         javax/swing/undo/StateEdit.java:
8856         Fixed HTML tags in javadocs all over.
8857
8858 2004-04-20  Michael Koch  <konqueror@gmx.de>
8859
8860         * javax/print/attribute/EnumSyntax.java
8861         (getOffset): Made protected.
8862         * javax/print/attribute/HashAttributeSet.java
8863         (HashAttributeSet): Likewise.
8864         * javax/print/attribute/ResolutionSyntax.java
8865         (getFeedResolution): Fixed typo in exception name.
8866         (getCrossFeedResolution): Likewise.
8867         * javax/print/attribute/SetOfIntegerSyntax.java
8868         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8869         * javax/print/attribute/TextSyntax.java
8870         (TextSyntax): Handle locale correctly.
8871         (hashCode): Calc better hashcode value.
8872         (equals): Fixed @return tag.
8873         (toString): New method.
8874
8875 2004-04-20  Michael Koch  <konqueror@gmx.de>
8876
8877         * gnu/java/nio/FileLockImpl.java
8878         (static): Removed, not needed anymore.
8879         * gnu/java/nio/channels/FileChannelImpl.java
8880         (FileChannelImpl): Made final.
8881         (mode): Made private.
8882         (READ, WRITE, APPEND): Made public.
8883         (EXCL, SYNC, DSYNC): Likewise.
8884         (static): Load native JNI library, when needed.
8885         (length): Unused, removed.
8886         (available): Made public.
8887         (implPosition): Throws IOException.
8888         (seek): Likewise.
8889         (implTruncate): Likewise.
8890         (unlock): Likewise.
8891         (lock): Likewise.
8892
8893 2004-04-20  Michael Koch  <konqueror@gmx.de>
8894
8895         * java/awt/AWTPermission.java,
8896         java/awt/Component.java,
8897         java/awt/ComponentOrientation.java,,
8898         java/awt/Dialog.java,
8899         java/awt/FontMetrics.java,
8900         java/awt/Graphics.java,
8901         java/awt/datatransfer/DataFlavor.java,
8902         java/beans/Introspector.java,
8903         java/beans/PropertyEditor.java,
8904         java/beans/PropertyEditorManager.java,
8905         java/beans/beancontext/BeanContextServiceProvider.java:
8906         Fixed HTML tags in javadocs all over.
8907
8908 2004-04-20  Mark Wielaard  <mark@klomp.org>
8909
8910         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8911         MissingResourceException is thrown.
8912         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8913         null when a MissingResourceException is thrown. Should never happen.
8914
8915 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8916
8917         * java/awt/image/DataBufferShort.java,
8918         java/awt/image/DataBufferFloat.java,
8919         java/awt/image/DataBufferDouble.java,
8920         java/awt/image/PixelInterleavedSampleModel.java: New files.
8921         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8922         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8923
8924 2004-04-20  Michael Koch  <konqueror@gmx.de>
8925
8926         * Makefile.am (java_source_files): Added
8927         java/awt/image/DataBufferDouble.java,
8928         java/awt/image/DataBufferFloat.java,
8929         java/awt/image/DataBufferShort.java and
8930         java/awt/image/PixelInterleavedSampleModel.java.
8931         * Makefile.in: Regenerated.
8932
8933 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8934  
8935         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8936         undocumented CNI calls.
8937         * include/java-interp.h (_Jv_InterpClass): No longer
8938         extends java.lang.Class.
8939         * java/lang/Class.h (Class): Add new field `aux_info'.
8940         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8941         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8942         Use Class->aux_info instead.
8943         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8944         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8945         Use Class->aux_info instead.
8946         * java/io/natObjectInputStream.cc (allocateObject): Use
8947         _Jv_AllocObject.
8948         * java/lang/natClass.cc (newInstance): Likewise.
8949         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8950         * java/lang/natObject.cc (clone): Likewise.
8951         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8952         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8953         JvAllocObject. Allocate klass->aux_info here for interpreted
8954         class.
8955         
8956 2004-04-17  Mark Wielaard  <mark@klomp.org>
8957
8958         * javax/swing/JToggleButton.java (ToggleButtonModel):
8959         Make public static inner class.
8960         * javax/swing/JTabbedPane.java (setComponentAt):
8961         Call Page.setComponent().
8962         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8963         (WRAP_TAB_LAYOUT): Make public, value is 0.
8964         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8965         Make private static inner class.
8966
8967 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8968
8969         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8970         arguments to match new signature. Remove FIXME comments.
8971
8972 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8973
8974         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8975         Remove method.
8976         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8977         unused code.
8978
8979 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8980
8981         * Makefile.am: Added new file.
8982         * Makefile.in: Regenerate.
8983         * javax/swing/ImageIcon.java: 
8984         (ImageIcon(file)): set description of the icon 
8985         to the file name
8986         * javax/swing/JCheckBoxMenuItem.java:
8987         Mostly Implemented. Work in progress.
8988         * javax/swing/JRadioButtonMenuItem.java:
8989         Reimplement constructors to use JToggleButtonModel.
8990         * javax/swing/plaf/basic/BasicIconFactory.java:
8991         (getCheckBoxMenuItemIcon): return check box
8992         icon.
8993         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8994         paint menu item selected only when it is armed and 
8995         pressed. 
8996  
8997 2004-04-02  David Jee  <djee@redhat.com>
8998
8999         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9000         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9001         * java/awt/Component.java
9002         (add): Set the parent of the popup as this component.
9003         * java/awt/PopupMenu.java
9004         (addNotify): Create popup menu when peer is null.
9005         (show): Call addNotify() if peer is null.
9006         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9007         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9008         argument for gtk_menu_popup() as zero. This causes the popup menu to
9009         respond to any mouse button.
9010
9011 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
9012
9013         * Makefile.am: Added new file.
9014         * Makefile.in: Regenerate.
9015         * javax/swing/JRadioButtonMenuItem.java:
9016         Implemented.
9017         * javax/swing/plaf/basic/BasicIconFactory.java:
9018         (getRadioButtonMenuItemIcon): Return
9019         radio button icon.
9020         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9021         (getPreferredSize): Add size of checkIcon if it
9022         exists.
9023         (installDefaults): Don't initialize checkIcon.
9024         It's value will be set in subclasses. 
9025         (uninstallDefaults): remove uninstallation of 
9026         checkIcon.
9027         (paint): Moved code to paintMenuItem().
9028         (paintMenuItem): Implemented.
9029         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9030         UI delegate for JRadioButtonMenuItem.
9031         
9032 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9033
9034         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9035         Corrected position of the accelerator.
9036
9037 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9038
9039         * Makefile.am: Added new file. 
9040         * Makefile.in: Regenerate.
9041         * javax/swing/JMenuItem.java: Partly 
9042         implemented. Work in progress
9043         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9044         Changed default value of acceleratorDelimiter.
9045         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9046         New class. Partly implemented.
9047                 
9048 2004-03-26  Mark Wielaard  <mark@klomp.org>
9049
9050         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9051         (item_activate): Declare label before use.
9052         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9053         (gtkSetFont): Removed unused variable label.
9054         (addExposeFilter): Declare variables before use.
9055         (removeExposeFilter): Likewise.
9056         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9057         (ok_clicked): Declare str_fileName before use.
9058
9059 2004-03-26  David Jee  <djee@redhat.com>
9060
9061         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9062         (addSeparator): Remove.
9063         * java/awt/Menu.java
9064         (separator): Remove static final MenuItem field.
9065         (separatorLabel): New static final String field.
9066         (addSeparator): Do not use peer method; use add(MenuItem) instead.
9067         Use separatorLabel to denote that it is a separator.
9068         (insertSeparator): Create a new MenuItem with separatorLabel, instead
9069         of reusing the static separator instance, because a MenuItem instance
9070         can't be added more than once without being cloned.
9071         * java/awt/peer/MenuPeer.java
9072         (addSeparator): Remove from interface.
9073
9074 2004-03-26  David Jee  <djee@redhat.com>
9075
9076         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9077         (connectSignals): New native method declaration.
9078         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9079         * java/awt/MenuItem.java
9080         (getActionCommand): Return the label if the action command is not set.
9081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9082         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9083         gtk_menu_shell_append().
9084         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9085         (item_activate): Fix argument type.
9086         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9087         signal here.
9088         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9089         method.
9090         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9091         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9092         given. Add the menu widget's top-level GtkWindow to the global window
9093         group, so it can grab the pointer.
9094         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9095         gtk_menu_shell_append().
9096
9097 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9098
9099         * java/text/AttributedString.java 
9100         (addAttribute): Fix off-by-one.
9101         (getIterator): Likewise.        
9102         * java/text/AttributedStringIterator.java 
9103         (getRunLimit): Correct logic.
9104         (getRunStart): Likewise.
9105         (getAttribute): Fix inequality.
9106         (getAttributes): Likewise.
9107         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9108
9109 2004-03-23  Kim Ho  <kho@redhat.com>
9110
9111         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9112         (calculateSizes): Return real width and height.
9113
9114 2004-03-23  Kim Ho  <kho@redhat.com>
9115
9116         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9117         (calculateTabRects): Set the selectedRun before
9118         trying to rotate tabs.
9119
9120 2004-03-23  Kim Ho  <kho@redhat.com>
9121
9122         * Makefile.am: New file
9123         * Makefile.in: Regenerate
9124         * java/awt/Graphics.java: (drawRect):
9125         Draw to the correct point.
9126         * javax/swing/DefaultSingleSelectionModel.java
9127         (isSelected): Return true if the selected index
9128         is not -1.
9129         * javax/swing/JLabel.java: Do not change mnemonic
9130         index if text is null.
9131         * javax/swing/JProgressBar.java: Use JComponent's
9132         EventListenerList.
9133         * javax/swing/JScrollBar.java: Ditto.
9134         * javax/swing/JSlider.java: Ditto.
9135         * javax/swing/JTabbedPane.java: Reimplement.
9136         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9137         Add defaults for TabbedPane.
9138         * javax/swing/plaf/basic/BasicArrowButton.java:
9139         Implement
9140         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9141         (paintDeterminate): Don't paint String if it's
9142         empty.
9143         (paintIndeterminate): ditto.
9144         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9145         Reimplement.
9146
9147 2004-03-19  Michael Koch  <konqueror@gmx.de>
9148
9149         * java/awt/image/AffineTransformOp.java
9150         (AffineTransformOp): Made public.
9151         * javax/swing/JComponent.java
9152         (listenerList): Made protected.
9153         (accessibleContext): Likewise.
9154         * javax/swing/JList.java
9155         (valueChanged): Dont use internal fields of ListSelectionEvent.
9156         * javax/swing/JViewport.java
9157         (getView): Dont use internal fields of Component.
9158         (addImpl): Likewise.
9159         * javax/swing/Timer.java
9160         (isRunning): Made public.
9161         (start): Likewise.
9162         (stop): Likewise.
9163         * javax/swing/UIDefaults.java
9164         (getInt): Made public.
9165         * javax/swing/plaf/basic/BasicListUI.java
9166         (mousePressed): Dont use internal fields of MouseEvent.
9167         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9168         * javax/swing/plaf/basic/BasicScrollBarUI.java
9169         (arrowIcon): Made static.
9170         * javax/swing/plaf/basic/BasicViewportUI.java
9171         (stateChanged): Dont use internal field on ChangeEvent.
9172         * javax/swing/text/JTextComponent.java
9173         (getUI): Call UIManager.getUI().
9174         (updateUI): Use getUI().
9175
9176 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9177
9178         * javax/swing/JComponent.java: Turn off double buffer by default.
9179         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9180         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9181         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9182         Use cairo to copy areas.
9183         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9184         Initialize and set clip region.
9185
9186 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9187
9188         * java/applet/Applet.java (preferredSize): Override deprecated
9189         variant of getPreferredSize.
9190         (minimumSize): Override deprecated variant of getMinimumSize.
9191
9192 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9193
9194         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9195         (drawImage(img,xform,bgcolor,obs)): New Method.
9196         Helper function that every drawImage method will
9197         use.
9198         (drawRaster): Added new parameter, bgcolor. All
9199         transparent pixels are changed to bgcolor before 
9200         image is drawn.
9201         (drawRenderedImage): Fixed to use changed drawRaster().
9202         (drawImage(image,xform,obs): Fixed to use new helper function 
9203         (drawImage(image,op,x,y)): Ditto.
9204         (drawImage (img,x,y,observer)): Ditto.
9205         ((PainterThread) bgcolor): New Field.
9206         ((PainterThread) (setPixels)): Changed all transparent pixels 
9207         to bgcolor.     
9208         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9209         Fixed FIXME - all the transparent pixels are 
9210         changed to the specified bgcolor. 
9211         (drawImage(img, x, y, width, height, observer): Changed to 
9212         use function above.
9213         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9214         Fixed FIXME- changed all transparent pixels to bgcolor.
9215         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9216         Changed to use function above. 
9217
9218 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9219
9220         * java/applet/Applet.java (dimensions): New field.
9221         (getDimensions): New method.
9222         (getPreferredSize): Call getDimensions.
9223         (getMinimumSize): Likewise.
9224
9225 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9226
9227         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9228         * jni/classpath/jnilink.c: Likewise.
9229
9230         * java/applet/Applet.java (getPreferredSize): New method.
9231         (getMinimumSize): New method.
9232
9233 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9234
9235         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9236         (_Jv_AllocObjectNoFinalizer): Likewise.
9237         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9238         (_Jv_AllocPtrFreeObject): Likewise.
9239         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9240         directly even in the JVMPI case.        
9241         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9242         _Jv_AllocObject calls.
9243         * gcj/javaprims.h: Update prototypes.
9244         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9245         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9246         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9247
9248 2004-04-14  Andrew Haley  <aph@redhat.com>
9249             Bryce McKinlay  <mckinlay@redhat.com>
9250
9251         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9252         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9253         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9254
9255         * testsuite/libjava.lang/InvokeInterface.java: New file.
9256         * testsuite/libjava.lang/InvokeInterface.out: New file.
9257
9258 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9259         
9260         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9261         modified lookup().
9262         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9263         StackTraceElement directly.
9264         (newElement): New native helper method to create StackTraceElement
9265         bypassing Java access control.
9266         (createStackTraceElement): Use newElement() instead of directly
9267         calling StackTraceElement's constructor.
9268         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9269
9270 2004-04-01  Michael Koch  <konqueror@gmx.de>
9271
9272         * java/lang/SecurityManager.java
9273         (checkAwtEventQueueAccess): Implemented.
9274
9275 2004-04-01  Gary Benson  <gbenson@redhat.com>
9276
9277         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9278         (_Jv_SearchMethodInClass): Likewise.
9279
9280 2004-03-26  Peter Moon  <peterm@miraculum.com>
9281
9282         * java/text/NumberFormat.java: Fix spelling of setCurrency
9283         method.
9284
9285 2004-03-21  Anthony Green  <green@redhat.com>
9286
9287         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9288         recursion when searching for the system ClassLoader.
9289
9290 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9291
9292         * java/net/ServerSocket.java
9293         (accept): Close the socket when error occured.
9294
9295 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9296
9297         * java/net/URI.java (parseURI): Added unquoting.
9298         (unquote): New method.
9299         (quoteAuthority): Implemented.
9300         (quote(String,String)): New method.
9301         (quotePath): Implemented.
9302         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9303         (getSchemeSpecificPart): Removed FIXME comment.
9304         (getRawAuthority): Return new rawAuthority field.
9305         (getAuthority): Removed FIXME comment.
9306         (getRawUserInfo): Return new rawUserInfo field.
9307         (getUserInfo): Removed FIXME comment.
9308         (getRawPath): Return new rawPath field.
9309         (getPath): Removed FIXME comment.
9310         (getRawQuery): Return new rawQuery field.
9311         (getQuery): Removed FIXME comment.
9312         (getRawFragment): Return new rawFragment field.
9313         (getFragment): Removed FIXME comment.
9314
9315 2004-03-20  Michael Koch  <konqueror@gmx.de>
9316
9317         * java/net/URLConnection.java: Merged copyright year with classpath.
9318
9319 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9320
9321         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9322         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9323         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9324         rmi-message.
9325         (getObjectInputStream): Return object reference, throw IOException if null.
9326         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9327         (getObjectOutputStream): Return object reference, throw IOException if null.
9328         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9329         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9330         (UnicastConnectionManager): Throw RemoteException if port is not available.
9331         (getInstance): Throw RemoteException.
9332         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9333         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9334         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9335         Collect Exceptions which are returned by a rmi-call and fix void returns.
9336         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9337         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9338         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9339         (dispatch): Answer ping messages which are sent by other java implementions.
9340         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9341         for every rmi-message and fix void return problems.
9342         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9343         (UnicastServerRef): Throw RemoteException.
9344         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9345         In some situations it is necessary to export a subclass of the class which has the _Stub.
9346         For instance when the class with has the _Stub is abstract.
9347         (findStubSkelClass): New method which looks for the class which has the _Stub.
9348         (getClientHost): Implementated.
9349         * gcc/libjava/java/rmi/server/RemoteServer.java
9350         (getClientHost): Implementated.
9351         * gcc/libjava/Makefile.am (rmi_java_source_files):
9352         Added gnu/java/rmi/server/RMIIncomingThread.java.
9353         * Makefile.in: Regenerated.
9354
9355 2004-03-20  Michael Koch  <konqueror@gmx.de>
9356
9357         * java/net/InetAddress.java
9358         (getLocalHostname): Added javadoc.
9359
9360 2004-03-19  Per Bothner  <per@bothner.com>
9361
9362         * configure.in: FILE variable  overrides FLATFORM when linking
9363         natFileChannelXXX.cc.
9364
9365         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9366         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9367
9368 2004-03-19  Per Bothner  <per@bothner.com>
9369
9370         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9371         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9372         * Makefile.am:  Update accordingly.
9373         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9374         as aliases for UnicodeLittle and UnicodeBig.
9375
9376 2004-03-20  Mark Wielaard  <mark@klomp.org>
9377
9378         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9379         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9380         Don't access ws when it is null.
9381         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9382         Likewise.
9383
9384 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9385
9386         * java/lang/ThreadGroup.java (list): Changed print to println.
9387
9388 2004-03-19  Mark Wielaard  <mark@klomp.org>
9389
9390         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9391         happy.
9392
9393 2004-02-10  Randolph Chung  <tausq@debian.org>
9394  
9395         * configure.in: Build java for hppa target.
9396         * configure: Regenerate.
9397         * libjava/configure.host (hppa-*): Add target.
9398         * libjava/sysdeps/pa/lock.h: New file.
9399
9400 2004-03-19  Mark Wielaard  <mark@klomp.org>
9401
9402         Reported by Stephen Crawley
9403         * java/io/FilePermission.java (implies): Use String.length() -1 to
9404         access last char of String.
9405
9406 2004-03-19  Michael Koch  <konqueror@gmx.de>
9407
9408         * java/awt/image/AffineTransformOp.java
9409         (AffineTransformOp): Made public.
9410         * javax/swing/JComponent.java
9411         (listenerList): Made protected.
9412         (accessibleContext): Likewise.
9413         * javax/swing/JList.java
9414         (valueChanged): Dont use internal fields of ListSelectionEvent.
9415         * javax/swing/JViewport.java
9416         (getView): Dont use internal fields of Component.
9417         (addImpl): Likewise.
9418         * javax/swing/Timer.java
9419         (isRunning): Made public.
9420         (start): Likewise.
9421         (stop): Likewise.
9422         * javax/swing/UIDefaults.java
9423         (getInt): Made public.
9424         * javax/swing/plaf/basic/BasicListUI.java
9425         (mousePressed): Dont use internal fields of MouseEvent.
9426         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9427         * javax/swing/plaf/basic/BasicScrollBarUI.java
9428         (arrowIcon): Made static.
9429         * javax/swing/plaf/basic/BasicViewportUI.java
9430         (stateChanged): Dont use internal field on ChangeEvent.
9431         * javax/swing/text/JTextComponent.java
9432         (getUI): Call UIManager.getUI().
9433         (updateUI): Use getUI().
9434
9435 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9436
9437         * verify.cc: Undef PC.
9438
9439 2004-03-18  Michael Koch  <konqueror@gmx.de>
9440
9441         * java/nio/channels/spi/AbstractSelectableChannel.java
9442         (keys): Initialize at declaration.
9443         (locate): keys cant be null.
9444         (add): Removed.
9445         (addSelectionKey): New method.
9446         (removeSelectionKey): New method.
9447         * java/nio/channels/spi/AbstractSelectionKey.java
9448         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9449         * java/nio/channels/spi/AbstractSelector.java
9450         (provider): Javadoc added.
9451         (cancelledKeys): Javadoc added.
9452         (cancelKey): Javadoc added, add key to cancelledKeys.
9453         (deregister): Implemented.
9454
9455 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9456
9457         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9458         MAP_FAILED to void *.
9459
9460 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9461
9462         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9463         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9464         * javax/swing/JList.java (ListListener): Revalidate on changes.
9465         * javax/swing/JScrollPane.java: Reimplement.
9466         * javax/swing/JViewport.java: Reimplement.
9467         * javax/swing/ScrollPaneLayout.java: Reimplement.
9468         * javax/swing/ViewportLayout.java: Tidy up.
9469         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9470         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9471         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9472         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9473         backing store only.
9474
9475 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9476
9477         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9478         (window_wm_protocols_filter): New function.
9479         (window_focus_in_cb): Remove function.
9480         (window_focus_out_cb): Likewise.
9481         (window_focus_or_active_state_change_cb): New function.
9482         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9483         (connectSignals): Don't attach handlers to focus-in-event or
9484         focus-out-event signals.  Handle notify signal.
9485
9486 2004-03-11  David Jee  <djee@redhat.com>
9487
9488         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9489         (gtkSetLabel): New native method declaration.
9490         (setLabel): Use gtkSetLabel.
9491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9492         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9493
9494 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9495
9496         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9497         black when color argument is null.
9498
9499 2004-03-10  Kim Ho  <kho@redhat.com>
9500
9501         * java/awt/Container.java: Remove check
9502         for drag events.
9503
9504 2004-03-10  Kim Ho  <kho@redhat.com>
9505
9506         * java/awt/Container.java: (visitChild):
9507         Remove candidate clip. Use the component
9508         clip to intersect.
9509         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9510         (handleEvent): Use the PaintEvent's clip.
9511
9512 2004-03-10  Kim Ho  <kho@redhat.com>
9513
9514         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9515         (handleEvent): Don't set the clip for the
9516         Graphics object.
9517
9518 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9519
9520         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9521         Fix double <-> fixed macros, reset font transform.
9522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9523         Likewise.
9524
9525 2004-03-09  Kim Ho  <kho@redhat.com>
9526
9527         * java/awt/Container.java: (visitChild): Move
9528         the x and y coordinate of the component rectangle
9529         to correct position.
9530         (handleEvent): Forward drag events to the pressed
9531         component.
9532         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9533         Fix comments.
9534         (ArrowButtonListener::mousePressed): Stop the
9535         existing timer.
9536         (mouseDragged): Implement.
9537         (TrackListener::mousePressed): Only react if
9538         the press doesn't occur on the thumb, otherwise
9539         just set the offset.
9540         (TrackListener::mouseReleased): Unset the isAdjusting
9541         value.
9542         (createIncreaseIcon): Switch icon.
9543         (createDecreaseIcon): Switch icon.
9544         (calculatePreferredSize): Use width.
9545         (getThumbBounds): Use the top as the lower value.
9546         (layoutVScrollBar): Switch the button locations.
9547         (paintIncreaseHighlight): Paint correct side of thumb.
9548         (paintDecreaseHighlight): ditto.
9549         (valueForYPosition): Use top as the lower value.
9550         * javax/swing/plaf/basic/BasicSliderUI.java:
9551         Fix comments.
9552         (mouseDragged): Implement.
9553         (mousePressed): Only react when the thumb isn't
9554         pressed, otherwise just set offset.
9555         (mouseReleased): Handle a release of the thumb.
9556         (scrollDueToClickInTrack): Stop the timer first.
9557         * javax/swing/JProgressBar.java:
9558         (setString): Fix change condition.
9559         * javax/swing/JSeparator.java:
9560         Remove println's.
9561
9562 2004-03-08  David Jee  <djee@redhat.com>
9563
9564         * java/awt/image/AffineTransformOp.java:
9565         (filter): Use Graphics2D interface instead of directly using the
9566         GdkGraphics2D peer.
9567
9568 2004-03-05  David Jee  <djee@redhat.com>
9569
9570         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9571         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9572         * java/awt/Container.java
9573         (acquireComponentForMouseEvent): Fixed.
9574         (handleEvent): Fixed.
9575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9576         (state_to_awt_mods_with_button_states): New method.
9577         (pre_event_handler): Fixed mouse event generation.
9578
9579 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9580
9581         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9582         (GdkGraphics2D (BufferedImage)): Initialize
9583         pixmap associated with specified BufferedImage.
9584         (setPaint): Changed implementation of Texture
9585         Paint to use AffineTransformOp.
9586         * java/awt/image/AffineTransformOp.java
9587         (createCompatibleDestRaster): Throw RasterFormatException 
9588         if resulting width or height of raster is 0.
9589
9590 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9591
9592         * java/awt/image/AffineTransformOp.java:
9593         Removed unnecessary field interpolationType.
9594         Formatted some of the lines to be consistent with 
9595         the GNU style.
9596         (AffineTransformOp): Create new RenderingHints 
9597         containing specified interpolation type.
9598         (createCompatibleDestImage): Implemented.
9599         (createCompatibleDestRaster): Implemented.
9600         (filter): Implemented.
9601         (getBounds2D(BufferedImage)): Implemented.
9602         (getBounds2D(Raster)): Implemented.
9603         (getInterpolationType): Get interpolation value from 
9604         rendering hints.
9605
9606 2004-03-04  David Jee  <djee@redhat.com>
9607
9608         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9609         (setFont): Check if child peers are null.
9610
9611 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9612
9613         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9614         .libs in -L option.
9615         (libjava_arguments): Add new libraries to argument list.
9616
9617 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9618
9619         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9620         * Makefile.in: Re-generated.
9621         * java/awt/image/AffineTransformOp.java: New Class.
9622
9623 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9624
9625         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9626         (setPaint): Interpret correctly TexturePaint's
9627         anchor rectangle.
9628         (drawImage): Fixed scale factors of the affine
9629         transform.
9630
9631 2004-02-27  David Jee  <djee@redhat.com>
9632
9633         * gnu/java/awt/peer/gtk/GdkGraphics.java
9634         (GdkGraphics(Component)): Inherit font from component.
9635         (drawString): Use font style.
9636         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9637         (gtkSetFont): New native method declaration.
9638         (setFont): New method.
9639         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9640         (gtkSetFont): New native method declaration.
9641         (setFont): Call new native method gtkSetFont.
9642         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9643         (setFont): For all child components who do not their fonts set,
9644         set their peers' fonts with this container's font.
9645         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9646         Move all native method declarations to the top for readability.
9647         (gtkSetFont): New native method declaration.
9648         (setFont): New method.
9649         * java/awt/Component.java
9650         (setFont): Invalidate after setting the font.
9651         * java/awt/Container.java
9652         (invalidateTree): New method.
9653         (setFont): Invalidate the container tree after setting the font.
9654         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9655         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9657         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9659         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9660         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9661         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9662
9663 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9664
9665         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9666         (updateBufferedImage): New helper function.
9667         Updates BufferedImage in memory if it was changed.
9668         (draw): changed to update BufferedImage in memory after
9669         this drawing operation
9670         (fill): Ditto.
9671         (draw3DRect): Ditto.
9672         (fill3DRect): Ditto.
9673         (clearRect): Ditto.
9674         (drawRaster): Ditto.
9675         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9676         no affine transformation.
9677         (drawGlyphVector): Ditto.
9678
9679 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9680
9681         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9682         (isBufferedImageGraphics): New Helper function. 
9683         Returns true if this graphics2d can be used to draw 
9684         into buffered image and false otherwise.
9685         (updateImagePixels): New Helper function. 
9686         Updates pixels in the BufferedImage.
9687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9688         (getImagePixels): New function. Returns pixels
9689         of the buffered image associated with 
9690         this Graphics2D.
9691
9692 2004-02-26  David Jee  <djee@redhat.com>
9693
9694         * java/awt/BorderLayout.java
9695         (layoutContainer): Fix width and height calculations to ensure
9696         that they're non-negative.
9697         * java/awt/Component.java
9698         (setBackground): If c is null, inherit from closest ancestor whose
9699         background color is set.
9700
9701 2004-02-26  Kim Ho  <kho@redhat.com>
9702
9703         * Makefile.am: Add new files.
9704         * Makefile.in: Re-generate.
9705         * javax/swing/JProgressBar.java: 
9706         (JProgressBar(int, int int)): Throw
9707         IllegalArgumentException if orientation is
9708         invalid.
9709         (JProgressBar(BoundedRangeModel)): Create
9710         ChangeListener and register it. UpdateUI.
9711         (getChangeListeners): Implement.
9712         (setModel): Reset ChangeListener.
9713         * javax/swing/JScrollBar.java: Implement.
9714         * javax/swing/JSeparator.java: Implement.
9715         * javax/swing/JSlider.java:
9716         (JSlider(int, int, int, int)): Throw 
9717         IllegalArgumentException if orientation
9718         is invalid.
9719         (getChangeListeners): Fix method name.
9720         * javax/swing/SwingUtilities.java:
9721         (layoutCompoundLabel): If there is no text,
9722         set the text rectangle dimensions to 0.
9723         * javax/swing/plaf/basic/BasicButtonUI.java:
9724         (paint): If there is no text, don't paint it.
9725         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9726         Implement.
9727         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9728         Implement.
9729         * javax/swing/plaf/basic/BasicSliderUI.java: 
9730         (propertyChange): If the model changes, change
9731         the listeners accordingly.
9732
9733 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9734
9735         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9736         * javax/swing/JList.java: Reimplement.
9737         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9738         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9739         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9740         * javax/swing/ListModel.java: Javadoc.
9741         * javax/swing/ListSelectionModel.java: Add missing methods.
9742         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9743         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9744         * javax/swing/ListModel.java: Javadoc and corrections.
9745         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9746
9747 2004-02-25  David Jee  <djee@redhat.com>
9748
9749         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9750         (GtkFontPeer): Change default size to 12.
9751         * gnu/java/awt/peer/gtk/GtkToolkit.java
9752         (getFontPeer): Change default size to 12.
9753         (getClasspathFontPeer): Likewise. Set default name to "Default".
9754         * java/awt/Font.java
9755         (Font(Map)): Call Font(String,Map).
9756         (Font(String,Map)): If attrs is null, initialize it as an empty
9757         HashMap, which will ensure that the Font will get default attributes.
9758
9759 2004-02-25  David Jee  <djee@redhat.com>
9760
9761         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9762         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9763         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9764         * gnu/java/awt/peer/gtk/GtkToolkit.java
9765         (getFontPeer(String,int)): Call the new overload method with size 1.
9766         (getFontPeer(String,int,int)): New method. Overloaded with size
9767         attribute.
9768         (getClasspathFontPeer): Set the size of the font.
9769
9770 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9771
9772         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9773         (bimage): New field.
9774         (GdkGraphics2D): New Constructor. Constructs Graphics
9775         object that can be used to draw into the Buffered Image.
9776         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9777         (GdkGraphicsEnvironment): Fixed to include public 
9778         keyword.
9779         (createGraphics): Implemented.
9780         * gnu/java/awt/peer/gtk/GtkToolkit.java
9781         (getLocalGraphicsEnvironment): Implemented.
9782         * java/awt/GraphicsEnvironment.java:
9783         (getLocalGraphicsEnvironment): Implemented.
9784         * java/awt/image/BufferedImage.java:
9785         (createGraphics): Implemented.
9786                 
9787 2004-02-24  David Jee  <djee@redhat.com>
9788
9789         * java/awt/Component.java
9790         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9791         * java/awt/Container.java
9792         (addNotifyContainerChildren): Fix event enabling.
9793
9794 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9795
9796         * Makefile.am: Added 
9797         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9798         * Makefile.in: Re-generated.
9799         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9800         New Class. 
9801         
9802 2004-02-19  Kim Ho  <kho@redhat.com>
9803
9804         * Makefile.am: Add BasicProgressBarUI
9805         * Makefile.in: Regenerate.
9806         * javax/swing/JProgressBar.java: 
9807         Re-implement.
9808         * javax/swing/plaf/basic/BasicLookAndFeel.java
9809         Add constants for JProgressBar.
9810         * javax/swing/plaf/basic/BasicProgressBarUI.java
9811         Implement.
9812         * javax/swing/plaf/basic/BasicSliderUI.java
9813         Change comments.
9814         (calculateGeometry): New method
9815         (paint): Remove unnecessary size calculations.
9816
9817 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9818
9819         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9820         (drawRaster): Fixed small error that caused
9821         imageToUser transformation to be set incorrectly.
9822         (toString): Implemented.
9823
9824 2004-02-18  David Jee  <djee@redhat.com>
9825
9826         * java/awt/CardLayout.java
9827         (addLayoutComponent): Show the first component added as the default.
9828         (removeLayoutComponent): After removing, show the next component.
9829         (gotoComponent): If there is only one component, show it and return.
9830
9831 2004-02-18  Kim Ho  <kho@redhat.com>
9832
9833         * javax/swing/JSlider.java: Re-order
9834         modifiers.
9835         * javax/swing/JLabel.java: Re-order
9836         modifiers.
9837         * javax/swing/JComponent.java: 
9838         (addPropertyChangeListener):
9839         Implement.
9840         (removePropertyChangeListener):
9841         ditto.
9842         (firePropertyChangeEvent):
9843         ditto.
9844
9845 2004-02-17  David Jee  <djee@redhat.com>
9846
9847         * java/awt/Component.java
9848         (show): Dispatch ComponentEvent via system event queue.
9849         (hide): Likewise.
9850         (move): Likewise.
9851         (resize): Likewise.
9852         (reshape): Likewise.
9853         * java/awt/Window.java
9854         (setBoundsCallback): Likewise.
9855
9856 2004-02-17  David Jee  <djee@redhat.com>
9857
9858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9859         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9860         Use gtk_widget_set_size_request() instead of the deprecated
9861         gtk_widget_set_usize().
9862
9863 2004-02-17  Kim Ho  <kho@redhat.com>
9864
9865         * javax/swing/JSlider.java: Fix comments and
9866         make property strings constants.
9867         (createStandardLabels): Use the labels
9868         preferred size as bounds.
9869         * javax/swing/plaf/basic/BasicSliderUI.java
9870         Fix comments.
9871         (ScrollHandler::actionPerformed): Don't
9872         calculate the timer stop value. Let the
9873         MouseListeners find the stop location.
9874         (getPreferredHorizontalSize): Re-implement.
9875         (getPreferredVerticalSize): ditto.
9876         (getMinimumHorizontalSize): ditto.
9877         (getMinimumVerticalSize): ditto.
9878         (getPreferredSize): ditto.
9879         (getMinimumSize): ditto.
9880         (getMaximumSize): ditto.
9881         (paintTicks): Use doubles to find the
9882         tick location.
9883         (paintHorizontalLabel):  Use preferredSize
9884         as initial width and height.
9885         (paintVerticalLabel): ditto.
9886
9887 2004-02-17  Kim Ho  <kho@redhat.com>
9888
9889         * javax/swing/JLabel.java: Changed 
9890         property strings to constants.
9891         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9892         New property.
9893         (setText): Change mnemonic index if
9894         text is too short.
9895         (setDisplayedMnemonicIndex): Fire property
9896         change event.
9897         (getDisplayedMnemonicIndex): Remove check
9898         against short text.
9899
9900 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9901
9902         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9903         (drawImage(img,xform,obs)): Invert xform before
9904         passing the xform to cairo.
9905         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9906         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9907         implemented.
9908         (drawImage (img,x,y,w,h,obs)): Implemented.
9909         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9910         bgcolor,obs)): Partly implemented.
9911         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9912         Implemented.
9913         * java/awt/image/BufferedImage.java:
9914         (copyData): if dest is null, create raster with same
9915         dimensions as the current image.
9916
9917 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9918
9919         * javax/swing/plaf/basic/BasicLabelUI.java 
9920         (getPreferredSize): Use layoutCL.
9921         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9922         (getPreferredButtonSize): Start with empty view rect, layout using
9923         component's preferred alignment.
9924         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9925         List defaults.
9926
9927 2004-02-16  David Jee  <djee@redhat.com>
9928
9929         * java/awt/Component.java
9930         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9931         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9932         (move): Erase old bounds and repaint new bounds. Dispatch
9933         COMPONENT_MOVED ComponentEvent.
9934         (resize): Erase old bounds and repaint new bounds. Dispatch
9935         COMPONENT_RESIZED ComponentEvent.
9936         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9937         ComponentEvents.
9938         * java/awt/Window.java
9939         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9940         ComponentEvents.
9941
9942 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9943
9944         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9945         (setRenderingHint): Added implementation of 
9946         Interpolation rendering hints.
9947         (setRenderingHints): Ditto.
9948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9949         (drawPixels): fixed to allow user to choose type 
9950         of filtering that should be used when displaying images.
9951         (cairoSurfaceSetFilter): New method. Sets filter type for 
9952         interpolation of pixel values.
9953
9954 2004-02-16  David Jee  <djee@redhat.com>
9955
9956         * java/awt/GridBagLayout.java
9957         (calcCellSizes): Rows or columns with zero sizes should still be
9958         considered for extra space distribution.
9959
9960 2004-02-16  Kim Ho  <kho@redhat.com>
9961
9962         * javax/swing/JLabel.java: Re-implement.
9963         * javax/swing/plaf/basic/BasicLabelUI.java
9964         Re-implement.
9965         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9966         Added constant.
9967
9968 2004-02-16  Kim Ho  <kho@redhat.com>
9969
9970         * javax/swing/JSlider.java: Fix indentation and comments.
9971         (setModel): Remove null check to conform with Sun's.
9972         (setOrientation): Throw exception if not
9973         HORIZONTAL or VERTICAL.
9974         (getInverted): Use private variable instead of 
9975         ComponentOrientation.
9976         (setInverted): ditto.
9977         * javax/swing/plaf/basic/BasicSliderUI.java:
9978         Fix indentation and comments.
9979         (propertyChange): Remove check for inverted slider, handle
9980         in main paint.
9981         (getMinimumSize): Return preferred size.
9982         (getMaximumSize): ditto.
9983         (calculateFocusRect): Don't relocate rectangle.
9984         (drawInverted): Return XOR of the slider's inversion and 
9985         the component's orientation.
9986         (paint): Update leftToRightCache
9987
9988 2004-02-13  David Jee  <djee@redhat.com>
9989
9990         * java/awt/GridBagLayout.java
9991         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9992         code to helper methods.
9993         (sortBySpan): New helper method.
9994         (distributeSizeAndWeight): Likewise.
9995         (calcCellWeights): Likewise.
9996         (calcCellSizes): Add comments.
9997
9998 2004-02-13  David Jee  <djee@redhat.com>
9999
10000         * java/awt/Component.java
10001         (show): Only do something if component is invisible at the moment.
10002         (hide): Only do something if component is visible at the moment.
10003         (reshape): If lightweight, erase old bounds and repaint new bounds.
10004
10005 2004-02-13  Kim Ho  <kho@redhat.com>
10006
10007         * Makefile.am: Updated for new file.
10008         * Makefile.in: Regenerated.
10009         * javax/swing/JSlider.java: Reimplement.
10010         * javax/swing/SwingUtilities.java
10011         (layoutCompoundLabel): Use icon height
10012         instead of width.
10013         (paintComponent): Implement.
10014         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10015         Add JSlider defaults.
10016         * javax/swing/plaf/basic/BasicSliderUI.java:
10017         Implement. New file.
10018
10019 2004-03-17  Michael Koch  <konqueror@gmx.de>
10020
10021         * gnu/java/net/PlainDatagramSocketImpl.java
10022         (RECEIVE_LOCK): New member field.
10023         (SEND_LOCK): New member field.
10024         (send0): New method.
10025         (send): Synchronize on SEND_LOCK.
10026         (receive0): New method.
10027         (receive): Synchronize on RECEIVE_LOCK.
10028         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10029         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10030         gnu/java/net/natPlainDatagramSocketImplWin32.cc
10031         (send0): Renamed from send.
10032         (receive0): Renamed from receive.
10033 2004-03-17  Michael Koch  <konqueror@gmx.de>
10034
10035         * gnu/java/net/natPlainSocketImplPosix.cc
10036         (write): Just call write(jbyteArray, offset, len).
10037         (read): Just call read(jbyteArray, offset, len).
10038
10039 2004-03-16  Michael Koch  <konqueror@gmx.de>
10040
10041         * javax/swing/JTabbedPane.java
10042         (serialVersionUID): New field.
10043
10044 2004-03-16  Norbert Frese  <postfach@nfrese.net>
10045
10046         * java/net/InetAddress.java
10047         (getByName): Handle hostname == "" case.
10048
10049 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
10050
10051         Reported by: Adam Heath <doogie@debian.org>
10052         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10053         class loader.
10054
10055 2004-03-15  Michael Koch  <konqueror@gmx.de>
10056
10057         * java/util/Locale.java: Reverting my last patch
10058         and add a comment why the original version was okay.
10059
10060 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
10061
10062         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10063         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10064         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10065         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10066
10067 2004-03-12  Michael Koch  <konqueror@gmx.de>
10068
10069         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10070
10071 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10072
10073         * java/net/URI.java (toURL): Implemented.
10074
10075 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10076
10077         * java/net/URI.java
10078         (URI_REGEXP) updated to contain scheme specific part.
10079         (SCHEME_SPEC_PART_GROUP) new constant.
10080         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10081         updated to make room for SCHEME_SPEC_PART_GROUP.
10082         (parseURI) parse scheme specific part.
10083         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10084         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10085         getQuery, getFragment) implemented.
10086
10087 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10088
10089         * libraries/javalib/java/net/URI.java
10090         partially implemented using java.util.regex.
10091         (URI_REGEXP) new constant. Used to parse URIs.
10092         (SCHEME_GROUP) new constant representing index of scheme group
10093         in parsed URI.
10094         (AUTHORITY_GROUP) new constant representing index of authority
10095         group in parsed URI.
10096         (PATH_GROUP) new constant representing index of path group in
10097         parsed URI.
10098         (QUERY_GROUP) new constant representing index of query group in
10099         parsed URI.
10100         (FRAGMENT_GROUP) new constant representing index of fragment
10101         group in parsed URI.
10102         (getURIGroup) new static utility method.
10103         (parseURI) implemented.
10104         (quote) stub for new static utility method.
10105         (quoteAuthority) stub for new static utility method.
10106         (quoteHost) stub for new static utility method.
10107         (quotePath) stub for new static utility method.
10108         (quoteUserInfo) stub for new static utility method.
10109         (URI) implemented.
10110         (create) don't throw URISyntaxException. Implemented.
10111         (toString) implemented.
10112
10113 2004-03-12  Michael Koch  <konqueror@gmx.de>
10114
10115         * java/net/HttpURLConnection.java
10116         (getResponseCode): Fix another typo in javadoc.
10117
10118 2004-03-11  Michael Koch  <konqueror@gmx.de>
10119
10120         * java/util/logging/Level.java
10121         (parse): Use String.equals() instead of ==.
10122
10123 2004-03-11  Michael Koch  <konqueror@gmx.de>
10124
10125         * gnu/java/net/protocol/jar/Connection.java
10126         (getContentLength): New method.
10127
10128 2004-03-11  Michael Koch  <konqueror@gmx.de>
10129
10130         * gnu/java/net/PlainSocketImpl.java:
10131         Reformated to merge better with classpath's version.
10132
10133 2004-03-11  Michael Koch  <konqueror@gmx.de>
10134
10135         * java/util/Locale.java
10136         (getISO3Language): Use String.equals() instead of ==.
10137         (getISO3Country): Likewise.
10138
10139 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10140
10141         * java/text/AttributedString.java
10142         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10143         Use HashMap instead of Hashtable since value can be null, and
10144         you can not store a null value in a Hashtable.
10145
10146 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10147
10148         * java/text/AttributedStringIterator.java
10149         (getAllAttributesKey): Return only keys concerned
10150         by the current iterator.
10151         (getAttributes): Use strict inequality for
10152         end_index. 
10153
10154 2004-03-11  Michael Koch  <konqueror@gmx.de>
10155
10156         * java/net/HttpURLConnection.java:
10157         Fixed typo in javadoc.
10158
10159 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10160
10161         * java/io/BufferedInputStream.java (marktarget): New field for max
10162         mark limit.
10163         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10164         (mark): Use new fields.
10165         (read): Likewise.
10166         (read(byte[],int,int)): Likewise.
10167         (skip): Likewise.
10168         (refill): Likewise.
10169
10170 2004-03-11  Mark Wielaard  <mark@klomp.org>
10171
10172         * java/beans/BeanDescriptor.java (BeanDescriptor):
10173         Set the FeatureDescriptor programmatic name.
10174
10175 2004-03-11  Michael Koch  <konqueror@gmx.de>
10176
10177         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10178         This file was was just copied form java/io/natFileDescriptorEcos.cc
10179         and never changed to compile correctly.
10180
10181 2004-03-11  Michael Koch  <konqueror@gmx.de>
10182
10183         * gnu/java/nio/PipeImpl.java
10184         (SourceChannelImpl): Made final.
10185         (read): Implemented.
10186         (SinkChannelImpl): Made final.
10187         (write): Implemented.
10188
10189 2004-03-11  Michael Koch  <konqueror@gmx.de>
10190
10191         * gnu/java/net/PlainDatagramSocketImpl.java:
10192         Reformated to match classpath's version more.
10193
10194 2004-03-11  Michael Koch  <konqueror@gmx.de>
10195
10196         * gnu/java/awt/peer/ClasspathFontPeer.java:
10197         Fixed javadoc to be correct xhtml.
10198         * gnu/java/awt/peer/gtk/GtkArgList.java
10199         (add): Use Boolean.valueOf() instead of new Boolean().
10200
10201 2004-03-09  Michael Koch  <konqueror@gmx.de>
10202
10203         * java/lang/Thread.java
10204         (runnable): Moved around.
10205         (daemon): Renamed from daemon_flag.
10206         (contextClassLoader): Renamed from context_class_loader.
10207         (Thread): Reordered constructors.
10208         (activeCount): Use group directly.
10209         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10210         (holdsLock): Reworked javadoc.
10211         (setDaemon): Reworked.
10212         * java/lang/natThread.cc
10213         (destroy): Removed.
10214
10215 2004-03-08  Anthony Green  <green@redhat.com>
10216
10217         * Makefile.am: Build property resource files into libgcj.
10218         * Makefile.in: Rebuilt.
10219         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10220         java/util/regex/PatternSyntaxException.java,
10221         gnu/regexp/CharIndexed.java,
10222         gnu/regexp/CharIndexedCharArray.java,
10223         gnu/regexp/CharIndexedInputStream.java,
10224         gnu/regexp/CharIndexedReader.java,
10225         gnu/regexp/CharIndexedString.java,
10226         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10227         gnu/regexp/REException.java,
10228         gnu/regexp/REFilterInputStream.java,
10229         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10230         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10231         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10232         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10233         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10234         gnu/regexp/RETokenLookAhead.java,
10235         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10236         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10237         gnu/regexp/RETokenStart.java,
10238         gnu/regexp/RETokenWordBoundary.java,
10239         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10240
10241 2004-03-03  Per Bothner  <per@bothner.com>
10242
10243         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10244         Optimize when argument is a FileChannelImpl.
10245         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10246         New native methods.
10247         * java/nio/channels/natChannels.cc:  New file for new native methods.
10248         * Makefile.am:  Update accordingly.
10249
10250 2004-03-02  Jan Hubicka  <jh@suse.cz>
10251
10252         * configure.host: Pass -fno-omit-frame-pointer for i386.
10253         * configure.in: Likewise.
10254         * configure: Regenerate.
10255
10256 2004-03-01  Per Bothner  <per@bothner.com>
10257
10258         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10259
10260 2004-02-29  Per Bothner  <per@bothner.com>
10261
10262         * java/nio/channels/FileChannelImpl.java:  Moved to package
10263         gnu/java/nio/channels, since we need to refer to it from java.io.
10264         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10265         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10266         from java/nio/channels.  Don't depend on FileDescriptor.
10267         (in, out, err):  New static fields.
10268         (mode):  New field.
10269         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10270         from FileDescriptor.
10271         (by):  Removed MappedByteBuffer field.
10272         (map):  New working implementation.
10273         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10274         some code "ported" from natFileDescriptoPosix.cc.
10275         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10276         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10277         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10278         Remove native methods.
10279         * Makefile.am, configure.in:  Updated accordingly.
10280
10281         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10282         (ch):  New FileChannelImpl field.  Update constructor to match.
10283         (releaseImpl):  Remove native method.  Instead ...
10284         (release):  Call unlock on channel.
10285         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10286
10287         * java/io/natFileDescriptorEcos.cc:  Remove file.
10288         * java/io/natFileDescriptorPosix.cc:  Remove file.
10289         * java/io/natFileDescriptorWin32.cc:  Remove file.
10290         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10291         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10292         (<init>(FileChannelImpl)):  New package-private constructor.
10293         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10294         (available, close, read, skip):  Implement using FileChannelImpl.
10295         (getFD):  Allocate FileDescriptor if needed.
10296         (getChannel):  Is now trivial.
10297         * java/io/FileOutputStream.java:  Corresponding changes.
10298         * java/io/RandomAccessFile.java:  Corresponding changes.
10299
10300         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10301         unmapImpl):  New dummy methods, to be overridden by subclass.
10302         (finalize, isLoaded, load, force):  New methods.
10303         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10304         Now works, at least for read mapping.
10305
10306         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10307         streams using FileChannelImpl, not FileDescriptor.
10308         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10309
10310 2004-02-28  Michael Koch  <konqueror@gmx.de>
10311
10312         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10313         wrong code.
10314
10315 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10316
10317         * java/io/ObjectInputStream.java
10318         (readClassDescriptor): Keep elements of the mapping non null.
10319         (checkTypeConsistency): New method.
10320         (readFields): Fixed main loop and base logic. Small reindentation.
10321         * java/io/ObjectStreamField.java
10322         (lookupField): New method to update the field reference.
10323         (checkFieldType): New method.
10324         * java/io/ObjectStreamClass.java
10325         (setClass, setFields): Call lookupField when building the field
10326         database. Check the real field type.
10327
10328 2004-02-28  Michael Koch  <konqueror@gmx.de>
10329
10330         * java/nio/ByteOrder.java
10331         (nativeOrder): Use equals() to compare strings.
10332
10333 2004-02-26  Michael Koch  <konqueror@gmx.de>
10334
10335         * gnu/java/nio/FileLockImpl.java
10336         (finalize): Made protected.
10337         * java/nio/channels/FileChannel.java
10338         (MapMode.READ_ONLY): Made final.
10339         (MapMode.READ_WRITE): Made final.
10340         (MapMode.PRIVATE): Made final.
10341         * java/nio/channels/SocketChannel.java
10342         (open): Simplified code.
10343         * java/nio/channels/spi/AbstractSelectableChannel.java
10344         (registered): Unused, removed.
10345         (keyFor): Check channel is open, only locate key
10346         and not add a new one.
10347         (register): Don't delete attachments.
10348
10349 2004-02-26  Michael Koch  <konqueror@gmx.de>
10350
10351         * gnu/java/awt/ComponentDataBlitOp.java
10352         (INSTANCE): Made final.
10353         * gnu/java/awt/image/ImageDecoder.java:
10354         Reworked imports.
10355         (cm): Unused, removed.
10356
10357 2004-02-26  Michael Koch  <konqueror@gmx.de>
10358
10359         * gnu/java/nio/DatagramChannelImpl.java
10360         (send): Check if target address is resolved.
10361
10362 2004-02-26  Michael Koch  <konqueror@gmx.de>
10363
10364         * Makefile.am: Generate and install headers for inner classes in
10365         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10366         * Makefile.in: Regenerated.
10367
10368 2004-02-24  Anthony Green  <green@redhat.com>
10369
10370         * java/lang/StringBuffer.java: No need to NULL out remainder of
10371         buffer since ensureCapacity_unsynchronized will have done this for
10372         us.
10373
10374 2004-02-20  Michael Koch  <konqueror@gmx.de>
10375
10376         * gnu/java/net/protocol/jar/Handler.java
10377         (): Removed unneeded check for file != null. java.net.URL.getFile()
10378         returns an empty string but never null.
10379
10380 2004-02-20  Michael Koch  <konqueror@gmx.de>
10381
10382         * gnu/gcj/convert/Convert.java
10383         (main): Use equals() to compare strings.
10384
10385 2004-02-20  Michael Koch  <konqueror@gmx.de>
10386
10387         * javax/swing/AbstractButton.java: Made several constants final.
10388         (getRolloverSelectedIcon): Made public.
10389         (getSelectedIcon): Made public.
10390
10391 2004-02-16  Per Bothner  <per@bothner.com>
10392
10393         * java/nio/CharBufferImpl.java:  Inline super constructor.
10394         * java/nio/DoubleBufferImpl.java:  Likewise.
10395         * java/nio/FloatBufferImpl.java:  Likewise.
10396         * java/nio/IntBufferImpl.java:  Likewise.
10397         * java/nio/LongBufferImpl.java:  Likewise.
10398         * java/nio/ShortBufferImpl.java:  Likewise.
10399         * java/nio/CharBuffer.java:  Remove unused constructor.
10400         * java/nio/DoubleBuffer.java:  Likewise.
10401         * java/nio/FloatBuffer.java:  Likewise.
10402         * java/nio/IntBuffer.java:  Likewise.
10403         * java/nio/LongBuffer.java:  Likewise.
10404         * java/nio/ShortBuffer.java:  Likewise.
10405         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10406         Fix buggy call to super constructor.
10407         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10408         * java/nio/FloatViewBufferImpl.java:  Likewise.
10409         * java/nio/IntViewBufferImpl.java:  Likewise.
10410         * java/nio/LongViewBufferImpl.java:  Likewise.
10411         * java/nio/ShortViewBufferImpl.java:  Likewise.
10412         
10413         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10414         java.nio classes can inherit it.
10415         (<init>):  Don't bother clearing array_offset.
10416         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10417         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10418         Remove redundant test.
10419
10420         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10421         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10422         Use new XxxViewBufferImpl constructors.
10423         * java/nio/MappedByteBufferImpl.java:  Likewise.
10424         * java/nio/DirectByteBufferImpl.java:  Likewise.
10425
10426         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10427         Inline super in remaining constructor.
10428         * java/nio/ByteBuffer.java:  Remove unused constructor.
10429
10430         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10431
10432         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10433         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10434         (offset):  Remove unused field.
10435         (<init>):  Modify one and add another constructor.  Change callers.
10436         (allocateDirect):  Removed - not used.
10437         (getImpl, putImpl):  Make static and pass address explicitly,
10438         to make them useful for MappedByteBufferImpl.
10439         (get, put):  Check for underflow.  Modify for new getImpl.
10440         (getImpl):  New native method where target is array.
10441         (get(byte[],int,int)):  Use the above.
10442         (adjustAddress):  New static native method.
10443         (slice, duplicate, asReadOnly):  New implementations.
10444         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10445         adjustAddress):  New or updated native methods.
10446
10447 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10448
10449         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10450         overflow of fieldmapping.
10451
10452 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10453
10454         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10455
10456 2004-02-14  Per Bothner  <per@bothner.com>
10457
10458         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10459         Set closed before calling implCloseChannel, as in the spec.
10460
10461 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10462
10463         * javax/swing/ToggleButtonModel.java: Remove dead class.
10464         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10465         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10466         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10467         * Makefile.am: Update for new and removed files.
10468         * Makefile.in: Regenerate.
10469
10470         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10471         * javax/swing/AbstractButton.java 
10472         (AbstractButton): Initialize fields correctly in ctor.
10473         * javax/swing/JCheckbox.java 
10474         (JCheckBox): Override painting flags.
10475         * javax/swing/DefaultButtonModel.java: Conform to sun.
10476         * javax/swing/JComponent.java (paint): Fill with background color
10477         if available.
10478         (processComponentKeyEvent)
10479         (processFocusEvent)
10480         (processKeyEvent)
10481         (processMouseMotionEvent): Remove event-consuming empty methods.
10482         (getUIClassID): Return "ComponentUI" not "JComponent"
10483         * javax/swing/JFrame.java: Remove some debugging chatter.
10484         (JFrame): Subscribe to window events.
10485         * javax/swing/JRadioButton.java 
10486         (JRadioButton): Override painting flags.
10487         * javax/swing/JRootPane.java 
10488         (JRootPane): Set background from UIDefaults.
10489         * javax/swing/JToggleButton.java 
10490         (ToggleButtonModel): New inner class.
10491         (JToggleButton): Override layout alighment.
10492         * javax/swing/SwingUtilities.java:
10493         (getLocalBounds): Return width and height, not x and y.
10494         (calculateInnerArea): Use local bounds, not bounds.
10495         (layoutCompoundLabel): Provide overridden form.
10496         (layoutCompoundLabel): Correct bugs.
10497         * javax/swing/UIDefaults.java: Correct comment.
10498         * javax/swing/plaf/basic/BasicButtonUI.java: 
10499         Move most logic into defaults, external listener.
10500         (paintIcon): Implement icon painting.
10501         (paint): Fix state painting to conform to changes in model.
10502         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10503         Remove most dead/wrong methods.
10504         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10505         * javax/swing/plaf/basic/BasicIconFactory.java:
10506         (DummyIcon): New class.
10507         (getMenuItemCheckIcon)
10508         (getMenuItemArrowIcon) 
10509         (getMenuArrowIcon)
10510         (getCheckBoxMenuItemIcon)
10511         (getRadioButtonMenuItemIcon)
10512         (createEmptyFrameIcon): Return DummyIcons, not null.
10513         (getCheckBoxIcon): Implement an icon that looks like sun's.
10514         (getRadioButtonIcon): Implement an icon that looks like sun's.
10515         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10516         (initComponentDefaults): Fix impossible values, add some missing.
10517         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10518         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10519         Remove most dead/wrong methods.
10520         (icon): New field.
10521         (getDefaultIcon): New method.
10522         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10523         Remove most dead/wrong methods.
10524         * javax/swing/plaf/metal/MetalLookAndFeel.java
10525         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10527         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10528         Implement "clearing" as drawing, when on pixmap drawables.
10529
10530         * javax/swing/JButton.java (getUIClassID): 
10531         * javax/swing/JCheckBox.java (getUIClassID):
10532         * javax/swing/JEditorPane.java (getUIClassID):
10533         * javax/swing/JLabel.java (getUIClassID): 
10534         * javax/swing/JList.java (getUIClassID): 
10535         * javax/swing/JOptionPane.java (getUIClassID): 
10536         * javax/swing/JPanel.java (getUIClassID): 
10537         * javax/swing/JPasswordField.java (uiClassID): 
10538         * javax/swing/JRadioButton.java (getUIClassID): 
10539         * javax/swing/JRootPane.java (getUIClassID): 
10540         * javax/swing/JScrollPane.java (getUIClassID): 
10541         * javax/swing/JTabbedPane.java (getUIClassID): 
10542         * javax/swing/JToggleButton.java (getUIClassID): 
10543         * javax/swing/JTree.java (getUIClassID): 
10544         * javax/swing/JViewport.java (getUIClassID): 
10545         * javax/swing/text/JTextComponent.java (getUIClassID):
10546         Return "fooUI" not "Jfoo"
10547
10548 2004-02-11  Michael Koch  <konqueror@gmx.de>
10549
10550         * java/net/DatagramSocket.java
10551         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10552         Boolean object.
10553         (setBroadcast): Likewise.
10554         * java/net/MulticastSocket.java
10555         (setLoopbackMode): Likewise.
10556         * java/net/ServerSocket.java
10557         (setReuseAddress): Likewise.
10558         * java/net/Socket.java
10559         (setTcpNoDelay): Likewise.
10560         (setSoLinger): Likewise.
10561         (setOOBInline): Likewise.
10562         (setKeepAlive): Likewise.
10563         (setReuseAddress): Likewise.
10564         * java/net/URLConnection.java
10565         (setContentHandler): Replace == with equals().
10566         * java/net/URLStreamHandler.java
10567         (hostSEquals): Fix checking host addresses.
10568         (toExternalForm): Dont check protocol for null. We know already its
10569         not null.
10570
10571 2004-02-10  David Jee  <djee@redhat.com>
10572
10573         * java/awt/BorderLayout.java
10574         (calcCompSize): Invisible components get zero dimensions.
10575         * java/awt/Button.java
10576         (setLabel): Set actionCommand.
10577         * java/awt/Component.java
10578         (show): Invalidate component and parent container.
10579         (hide): Likewise.
10580
10581 2004-02-10  David Jee  <djee@redhat.com>
10582
10583         * java/awt/GridBagLayout.java
10584         (GridBagLayout): New private field, internalcomptable.
10585         (lookupInternalConstraints): New method.
10586         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10587         (GetLayoutInfo): Reimplement.
10588         (calcCellSizes): Ignore rows/columns with size 0.
10589
10590 2004-02-10  Michael Koch  <konqueror@gmx.de>
10591
10592         * gnu/java/awt/EmbeddedWindow.java
10593         (setHandle): Use java.awt.Component.getPeer() instead of
10594         java.awt.Component.peer directly.
10595
10596 2004-02-10  David Jee  <djee@redhat.com>
10597
10598         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10599         (gtkSetLabel): New native method definition.
10600         (setLabel): Use gtkSetLabel.
10601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10602         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10603
10604 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10605
10606         * include/powerpc-signal.h: Revert 2004-01-21 change.
10607         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10608         from syscall for ppc32 versions.
10609
10610 2004-02-08  Per Bothner  <per@bothner.com>
10611
10612         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10613         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10614         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10615         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10616         Pass ByteOrder parameter to most methods, since the underlying
10617         ByteBuffer's order isn't always what we should use.
10618         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10619         * java/nio/DirectByteBufferImpl.java:  Likewise.
10620         Use ByteBufferHelper methods.
10621         * java/nio/MappedByteBufferImpl.java:  Likewise.
10622         (compact):  Use shiftDown.
10623         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10624         (get, put):  Use ByteBufferHelper.
10625         (compact):  Use new shiftDown method.
10626         (duplicate(boolean)):  New helper method.
10627         (duplicate, asReadOnlyBuffer):  Use it.
10628         (order):  Return endian field.
10629         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10630         * java/nio/FloatViewBufferImpl.java:  Likewise.
10631         * java/nio/IntViewBufferImpl.java:  Likewise.
10632         * java/nio/LongViewBufferImpl.java:  Likewise.
10633         * java/nio/ShortViewBufferImpl.java:  Likewise.
10634         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10635         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10636         (compact):  Re-implement using shiftDown.
10637
10638 2004-02-08  Andreas Jaeger  <aj@suse.de>
10639
10640         * include/x86_64-signal.h: Fix typo.
10641
10642 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10643
10644         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10645         qualifier to _regs.
10646         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10647
10648 2004-02-06  Michael Koch  <konqueror@gmx.de>
10649
10650         * java/io/ObjectInputStream.java
10651         (currentClassLoader): Reverted to old version of this method.
10652
10653 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10654
10655         * java/io/ObjectInputStream.java: Made all calls
10656         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10657         use cached info from ObjectStreamClass. (readClassDescriptor):
10658         Cache more information in ObjectStreamClass. (processResolution,
10659         readFields): Use cached info from ObjectStreamClass.
10660         (newObject): Throw exception instead of returning null for failure.
10661         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10662         setCharField, setDoubleField, setFloatField, setIntField,
10663         setLongField, setShortField, setObjectField, readObjectParams):
10664         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10665         check.
10666         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10667         (setClass): Added call to cacheMethods() (findMethod): New method.
10668         (cacheMethods): New method. (ObjectStreamClass): Added call to
10669         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10670         AccessController.doPrivileged to invoke setAccessible.
10671         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10672         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10673         New fields.
10674         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10675         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10676         isPrimitive): Made safe for cases where type == null.
10677         (setBooleanField, setByteField, setCharField, setShortField,
10678         setIntField, setLongField, setFloatField, setDoubleField,
10679         setObjectField): New methods.
10680
10681 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10682
10683         * java/awt/Component.java (getFont): Return a default font
10684         instead of null.
10685
10686         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10687         (Scrollbar (int, int, int, int, int)): Make default page
10688         increment 10.
10689         (setValues): Only call peer.setValues if one of the values has
10690         changed.
10691         (generateName): New method.
10692         (getUniqueLong): New method.
10693         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10694         (range_scrollbar): Remove structure.
10695         (post_adjustment_event): Remove function.
10696         (post_change_event): Accept jobject argument.
10697         (create): Cast jints to gdoubles.  Round scrollbar values to the
10698         nearest integer.  Clamp min, max and value settings.
10699         (connectJObject): Connect hook to widget->window.
10700         (connectSignals): Remove range_scrollbar structure variables.
10701         Remove "move-slider" connection.  Pass global peer reference to
10702         "value-changed" callback.
10703         (setLineIncrement): Cast jint value to gdouble.
10704         (setPageIncrement): Likewise.
10705         (setValues): Likewise.  Clamp min, max and value settings.
10706
10707 2004-02-05  Michael Koch  <konqueror@gmx.de>
10708
10709         * javax/swing/AbstractCellEditor.java
10710         (getCellEditorValue): Removed.
10711         * javax/swing/Box.java: Reformated.
10712         (serialVersionUID): New field.
10713         * javax/swing/ButtonGroup.java:
10714         Removed some weird whitespace.
10715         * javax/swing/CellEditor.java: Reformated.
10716         * javax/swing/CellRendererPane.java
10717         (serialVersionUID): New field.
10718         (AccessibleCellRendererPaneserialVersionUID): New field.
10719         * javax/swing/DefaultListModel.java
10720         (serialVersionUID): New field.
10721         * javax/swing/JEditorPane.java
10722         (serialVersionUID): New field.
10723         (setPage): Throws IOException.
10724         (addHyperlinkListener): Implemented.
10725         (removeHyperlinkListener): Implemented.
10726         (getHyperlinkListener): New method.
10727         * javax/swing/JFileChooser.java
10728         (serialVersionUID): New field.
10729         (AccessibleJFileChooser.serialVersionUID): New field.
10730         (addActionListener): Implemented.
10731         (removeActionListener): Implemented.
10732         (getActionListeners): New method.
10733         * javax/swing/JFormattedTextField.java
10734         (serialVersionUID): New field.
10735         (AbstractFormatter.serialVersionUID): New field.
10736         (clone): Throws CloneNotSupportedException
10737         (setEditValid): Add missing argument.
10738         (stringToValue): Throws ParseExcpetion.
10739         (valueToString): Throws ParseException.
10740         (commitEdit): Throws ParseException.
10741         * javax/swing/JLabel.java
10742         (serialVersionUID): New field.
10743         * javax/swing/JList.java
10744         (serialVersionUID): New field.
10745         (addListSelectionListener): Reformated.
10746         (removeListSelectionListener): Reformated.
10747         (getListSelectionListeners): New method.
10748         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10749         Reformated.
10750         (serialVersionUID): New field.
10751         * javax/swing/table/AbstractTableModel.java
10752         (getValueAt): Removed.
10753         (getColumnCount): Removed.
10754         (getRowCount): Removed.
10755
10756 2004-02-05  Michael Koch  <konqueror@gmx.de>
10757
10758         * java/awt/datatransfer/DataFlavor.java
10759         (imageFlavor): Javadoc added.
10760         (javaJVMLocalObjectType): Fixed.
10761
10762 2004-02-05  Michael Koch  <konqueror@gmx.de>
10763
10764         * java/lang/Thread.java
10765         (Thread): Reordered.
10766         (setContextClassLoader): Fixed javadoc comment.
10767         (setPriority): Reordered.
10768         (yield): Reordered.
10769         (initialize_native): Reordered.
10770         (gen_name): Reordered.
10771
10772 2004-02-05  Michael Koch  <konqueror@gmx.de>
10773
10774         * java/lang/Thread.java: Reordered fields, reformated much code,
10775         no functional changes, some variables renamed, javadoc comments
10776         merged.
10777
10778 2004-02-05  Michael Koch  <konqueror@gmx.de>
10779
10780         * java/util/zip/Deflater.java,
10781         java/util/zip/DeflaterOutputStream.java,
10782         java/util/zip/GZIPInputStream.java:
10783         Reformated and javadoc comments merged from classpath.
10784
10785 2004-02-05  Michael Koch  <konqueror@gmx.de>
10786
10787         * gnu/java/nio/NIOServerSocket.java
10788         (impl): Unused, removed.
10789         * gnu/java/nio/SocketChannelImpl.java
10790         (finnishConnect): Don't throw NoConnectionPendingException if not
10791         connected or no connection pending.
10792
10793 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10794
10795         * javax/swing/SwingUtilities.java: Many new functions.
10796         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10797         * javax/swing/basic/BasicGraphicsUtils.java 
10798         (getPreferredButtonSize): Start layout from top-left corner.
10799
10800 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10801
10802         * java/awt/geom/AffineTransform.java: 
10803         Corrected comments on the field definitions for
10804         m11 and m10.
10805         (shear): Fixed few errors that caused shear
10806         transformation to be performed incorrectly.
10807         (createInverse): Fixed to return correct
10808         inverse of the given matrix.
10809
10810 2004-02-03  Tom Tromey  <tromey@redhat.com>
10811
10812         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10813         PATH or LD_LIBRARY_PATH is not set in parent environment.
10814
10815 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10816
10817         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10818         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10819         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10820         java/awt/Component.java, java/awt/Container.java,
10821         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10822         java/awt/LayoutManager2.java, java/awt/List.java,
10823         java/awt/Menu.java, java/awt/MenuBar.java,
10824         java/awt/MenuItem.java, java/awt/Polygon.java,
10825         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10826         java/awt/Scrollbar.java, java/awt/TextArea.java,
10827         java/awt/TextField.java,
10828         java/awt/image/renderable/RenderContext.java,
10829         javax/swing/JApplet.java: Fix handling of alias methods, where a
10830         method has been deprecated in favour of a new one with the same
10831         funtion but a different name.  Put the method implementation in
10832         the deprecated method and have the new method call the
10833         deprecated one.  Make all other code call the new method.
10834
10835 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10836
10837         * gnu/java/nio/DatagramChannelImpl.java
10838         (inChannelOperation): New field.
10839         (isInChannelOperation): New accessor.
10840         (setInChannelOperation): New modifier.
10841         (receive): Use capacity() - position() of destination
10842         buffer instead of remaining(). Set and reset our "in
10843         channel operation indicator" before and after delegating
10844         the receive to our datagram socket. Removed testing code.
10845         Update destination buffer's current position if it is
10846         backed by a byte array (hasArray() is true).
10847         (send): Set and reset our "in channel operation indicator"
10848         before and after delegating the send to our datagram socket.
10849         Removed testing code. Update source buffer's current position
10850         if it is backed by a byte array (hasArray() is true).
10851         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10852         Use capacity() - position() of destination buffer instead
10853         of remaining().
10854         * java/net/DatagramSocket.java (receive): Don't throw an
10855         IllegalBlockingModeException if we have a non-blocking
10856         channel which initiated this operation.
10857         (send): Likewise.
10858
10859 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10860
10861         * configure.in: Add pkgconfig check for glib and gthread.
10862         * configure: Regenerate.
10863
10864 2004-02-01  Michael Koch  <konqueror@gmx.de>
10865
10866         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10867         arguments.
10868         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10869         * verify.cc (debug_print): Mark 'fmt' unused.
10870
10871 2004-01-30  Michael Koch  <konqueror@gmx.de>
10872
10873         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10874         * configure: Regenerated.
10875         * glib-2.0.m4: Removed.
10876         * gtk-2.0.m4: Removed.
10877         * libart.m4: Removed.
10878         * pkg.m4: New file.
10879
10880 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10881
10882         * gnu/java/net/PlainSocketImpl.java 
10883         (inChannelOperation): New field.
10884         (isInChannelOperation): New accessor.
10885         (setInChannelOperation): New modifier.
10886         * gnu/java/nio/ServerSocketChannelImpl.java
10887         (accept): Set and reset our server socket's PlainSocketImpl's
10888         "in channel operation" indicator before and after delegating
10889         the accept to our server socket.
10890         * gnu/java/nio/SocketChannelImpl.java
10891         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10892         operation" indicator before and after delegating the operation to
10893         our socket.
10894         (read): Likewise.
10895         (write): Likewise.
10896         * java/net/ServerSocket.java (implAccept): Don't throw an
10897         IllegalBlockingModeException if we have a non-blocking
10898         channel which initiated this accept operation.
10899         * java/net/Socket.java (connect): Don't throw an
10900         IllegalBlockingModeException if we have a non-blocking
10901         channel which initiated this connect operation.
10902         * java/nio/channels/spi/AbstractSelectableChannel.java
10903         (configureBlocking): Only call implConfigureBlocking() if
10904         the desired blocking mode is different from our current one.
10905
10906 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10907
10908         * java/io/BufferedReader.java (sbuf): New field.
10909         (readLine): Use String.valueOf instead of new String() as per
10910         Per Bothner's suggestion. Use instance sbuf field instead of a
10911         local StringBuffer instance.
10912         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10913         caller's buffer to refill().
10914         (read(void)): Pass our internal work buffer to refill if our
10915         input queue is empty.
10916         (refill): Changed return type to int. Use the specified buffer
10917         instead of our work buffer as per Bryce McKinlay's suggestion.
10918         Return the number of characters read or -1 for EOF.
10919
10920 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10921
10922         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10923
10924 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10925
10926         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10927         * Makefile.in: Re-generated.
10928         * gnu/awt/xlib/XFontPeer.java: New file.
10929         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10930         (setClip): Commented out debug printout.
10931         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10932         (getFontPeer): Return XFontPeer.
10933         (getLocalGraphicsEnvironment): New method.
10934         (getClasspathFontPeer): New method.
10935         (createFont): New method.
10936
10937 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10938
10939         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10940         return null. 
10941
10942 2004-01-29  Kim Ho  <kho@redhat.com>
10943
10944         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10945         (gtkLayoutSetVisible): New method
10946         (setMenuBar): Hide layout before setting MenuBar
10947         and reshow it after.
10948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10949         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10950
10951 2004-01-28  Michael Koch  <konqueror@gmx.de>
10952
10953         * gnu/java/lang/ClassHelper.java
10954         (getPackagePortion): Removed.
10955
10956 2004-01-28  Michael Koch  <konqueror@gmx.de>
10957
10958         * javax/swing/JComponent.java
10959         (listenerList): Initalize globally.
10960         (ancestor_list): Removed.
10961         (veto_list): Removed.
10962         (change_list): Removed.
10963         (get_veto_list): Removed.
10964         (get_change_list): Removed.
10965         (get_ancestor_list): Removed.
10966         (removeAncestorListener): Reimplemented.
10967         (removePropertyChangeListener): Likewise.
10968         (removeVetoableChangeListener): Likewise.
10969         (addAncestorListener): Likewise.
10970         (addPropertyChangeListener): Likewise.
10971         (addVetoableChangeListener): Likewise.
10972         (getListeners): New method.
10973         (getAncestorListeners): Likewise.
10974         (getVetoableChangeListeners): Likewise.
10975         (fireVetoableChange): Throws PropertyVetoException.
10976         * javax/swing/JEditorPane.java
10977         (JEditorPane): Throws IOException.
10978
10979 2004-01-28  David Jee  <djee@redhat.com>
10980
10981         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10982         (create): Set the default foreground color to
10983         java.awt.SystemColor.windowText.
10984
10985 2004-01-27  Michael Koch  <konqueror@gmx.de>
10986
10987         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10988         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10989         Reindented to merge with classpath.
10990
10991 2004-01-27  David Jee  <djee@redhat.com>
10992
10993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10994         (addExposeFilter): Handle GtkFramePeer separately.
10995         (removeExposeFilter): Likewise.
10996
10997 2004-01-27  Michael Koch  <konqueror@gmx.de>
10998
10999         * gnu/java/net/protocol/http/Connection.java
11000         (getOutputStream): Fixed typo.
11001
11002 2004-01-27  Michael Koch  <konqueror@gmx.de>
11003
11004         * java/lang/Class.java
11005         (getConstructor): Removed SecurityException from throws clause.
11006         (_getConstructors): Likewise.
11007         (getConstructors): Likewise.
11008         (getDeclaredConstructor): Likewise.
11009         (getDeclaredClasses): Likewise.
11010         (getDeclaredConstructors): Likewise.
11011         (getDeclaredField): Likewise.
11012         (getDeclaredMethod): Likewise.
11013         (getDeclaredMethods): Likewise.
11014         (getField): Likewise.
11015         (getMethod): Likewise.
11016         (getMethods): Likewise.
11017
11018 2004-01-27  Kim Ho  <kho@redhat.com>
11019
11020         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11021         (removeMenuBarPeer): Remove MenuBarPeer argument.
11022         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11023         (dispose): Call native method.
11024         * java/awt/Frame.java (setMenuBar): Create and remove
11025         MenuBar peers only if the Frame has a peer.
11026         (addNotify): Create the MenuBar peer if one exists.
11027         (removeNotify): Remove MenuBar peer if one exists.
11028         * java/awt/Menu.java: Fix imports.
11029         (addNotify): Don't use full class name.
11030         (removeNotify): Call removeNotify on all children.
11031         * java/awt/MenuBar.java (removeNotify): Call
11032         removeNotify on all children.
11033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11034         (removeMenuBarPeer): Remove MenuBarPeer argument.
11035         Iterate through children to find the Frame's MenuBar.
11036         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11037         New file.
11038         (dispose): Remove references to the MenuComponent.
11039
11040 2004-01-27  Michael Koch  <konqueror@gmx.de>
11041
11042         * javax/swing/AbstractCellEditor.java: Reformated.
11043         * javax/swing/DefaultListSelectionModel.java
11044         (listenerList): Made protected.
11045         (addListSelectionListener): Javadoc added.
11046         (removeListSelectionListener): Likewise.
11047         (getListeners): Likewise.
11048         (getListSelectionListeners): Likewise.
11049         * javax/swing/JComboBox.java: Merged copyright year.
11050         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11051
11052 2004-01-26  Andrew Haley  <aph@redhat.com>
11053
11054         * javax/swing/table/JTableHeader.java: Extend JComponent
11055
11056 2004-01-26  Kim Ho  <kho@redhat.com>
11057
11058         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11059         Fix spacing.
11060
11061 2004-01-26  Kim Ho  <kho@redhat.com>
11062
11063         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11064         method.
11065         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11066         height and let the Layout Managers readjust anything that
11067         needs to move.
11068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11069         (moveLayout): New method. Shift everything in the Gtk
11070         layout in the Y direction by an offset.
11071
11072 2004-01-26  David Jee  <djee@redhat.com>
11073
11074         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11075         (handleEvent): Implemented. Handles PaintEvents.
11076         (paint): Implemented. Use GTK native methods to queue updates
11077         for this heavyweight peer.
11078         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11079         (handleEvent): Removed.
11080         * java/awt/Component.java
11081         (paint): Implemented. Explictly paint the heavyweight peer.
11082         (update): Clear the background for heavyweight components.
11083         (paintAll): No need to call peer.paint() anymore.
11084         (processEvent): Don't process PaintEvents here. It's now done in
11085         the peer's handleEvent().
11086         (processPaintEvent): Removed.
11087         * java/awt/Container.java
11088         (paint): No need to call super.paint(). Visit heavyweight
11089         children as well.
11090         (update): Don't clear the background here.  It's done in
11091         Component.update().
11092         (visitChildren): Added check to not recurse into Containers.
11093         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11094         (filter_expose_event_handler): New method.  Filter unwanted
11095         expose events while painting heavyweight peers.
11096         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11097         New method. Connect filter and block pre_event_handler.
11098         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11099         New method. Disconnect filter and unblock pre_event_handler.
11100         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11101         New method. Invalidate and update given area.
11102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11103         (pre_event_handler): Add checks for unwanted expose events.
11104
11105 2004-01-26  David Jee  <djee@redhat.com>
11106
11107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11108         (find_bg_color_widget): For GtkButton, return its child.
11109
11110 2004-01-26  Kim Ho  <kho@redhat.com>
11111
11112         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11113         private.
11114         (setMenuBar): Grab MenuBar height and change insets.
11115         (setBounds): Account for MenuBar height.
11116         (postInsetsChangedEvent): Ditto.
11117         (postSizeAllocateEvent): Remove.
11118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11119         (menubar_resize_cb): Remove
11120         (setMenuBarPeer): Remove callback.
11121         (getMenuBarHeight): Use size requisition instead of
11122         allocation.
11123
11124 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11125
11126         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11127         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11128         when peer is null.
11129         (setColumns): Remove FIXME -- peer will retrieve number of
11130         columns by calling getColumns.
11131         (setRows): Likewise for number of rows.
11132         (next_text_number): New field.
11133         (paramString): Fix param string.
11134         (generateName): New method.
11135         (getUniqueLong): New method.
11136
11137 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11138
11139         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11140         image observer of image loading status.
11141         (getImage (String)): Start image production.
11142         (getImage (URL)): Likewise.
11143
11144 2004-01-25  Michael Koch  <konqueror@gmx.de>
11145
11146         * java/lang/Class.java: Imports reworked, reformated.
11147         (Class): Javadoc added.
11148         (forName): Likewise.
11149         (getClasses): Likewise.
11150         (getClassLoader): Likewise.
11151         (getComponentType): Likewise.
11152         (getConstructor): Likewise.
11153         (getConstructors): Likewise.
11154         (getDeclaredConstructor): Likewise.
11155         (getDeclaredClasses): Likewise.
11156         (getDeclaredConstructors): Likewise.
11157         (getDeclaredField): Likewise.
11158         (getDeclaredMethod): Likewise.
11159         (getDeclaredMethods): Likewise.
11160         (getDeclaringClass): Likewise.
11161         (getField): Likewise.
11162         (getInterfaces): Likewise.
11163         (getMethod): Likewise.
11164         (getMethods): Likewise.
11165         (getModifiers): Likewise.
11166         (getName): Likewise.
11167         (getResource): Likewise.
11168         (getResourceAsStream): Likewise.
11169         (getSigners): Likewise.
11170         (setSigners): Likewise.
11171         (getSuperclass): Likewise.
11172         (isArray): Likewise.
11173         (isAssignableFrom): Likewise.
11174         (isInstance): Likewise.
11175         (isInterface): Likewise.
11176         (isPrimitive): Likewise.
11177         (newInstance): Likewise.
11178         (getProtectionDomain): Likewise.
11179         (toString): Likewise.
11180         (Class): Moved.
11181         (initializeClass): Likewise.
11182         (finalize): Likewise.
11183
11184 2004-01-24  Michael Koch  <konqueror@gmx.de>
11185
11186         * gnu/java/net/protocol/jar/Connection.java
11187         (hdrHash): Removed.
11188         (hdrVec): Removed.
11189         (gotHeaders): Removed.
11190         (getHeaderField): Removed.
11191         (getHeaderFields): Removed.
11192         (getHeaderFieldKey): Removed.
11193         (getKey): Removed.
11194         (getField): Removed.
11195         (getHeaders): Removed.
11196
11197 2004-01-24  Michael Koch  <konqueror@gmx.de>
11198
11199         * Makefile.am: Added library version to gtk peer lib.
11200         * Makefile.in: Regenerated.
11201
11202 2004-01-24  Michael Koch  <konqueror@gmx.de>
11203
11204         * java/util/zip/InflaterInputStream.java: Merged class documentation
11205         with classpath.
11206
11207 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11208
11209         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11210         header.  For __powerpc64__ provide the default-signal.h definitions
11211         for now.
11212         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11213         instead of the dummy definitions.
11214         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11215         (powerpc64*-*): Remove with_libffi_default.
11216         Only add -mminimal-toc for 64-bit compilations.
11217         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11218         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11219         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11220         * configure: Rebuilt.
11221
11222 2004-01-23  Michael Koch  <konqueror@gmx.de>
11223
11224         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11225
11226 2004-01-23  Michael Koch  <konqueror@gmx.de>
11227
11228         * java/lang/VMClassLoader.java: Reworked imports.
11229         
11230 2004-01-23  Michael Koch  <konqueror@gmx.de>
11231
11232         * javax/swing/AbstractAction.java: Reformated.
11233
11234 2004-01-23  Michael Koch  <konqueror@gmx.de>
11235
11236         * java/text/CollationElementIterator.java:
11237         (setText): New method.
11238
11239 2004-01-23  Michael Koch  <konqueror@gmx.de>
11240
11241         * gnu/java/nio/FileLockImpl.java:
11242         Fixed filename in copyright.
11243         (released): Removed.
11244         (finalize): New method.
11245         * gnu/java/nio/natFileLockImpl.cc
11246         (releaseImpl): Implemented.
11247         * java/nio/channels/FileChannelImpl.java:
11248         Reworked imports.
11249         (lock): Implemented.
11250         (lockImpl): New method.
11251         (tryLock): Implemented.
11252         (tryLockImpl): New method.
11253         * java/nio/channels/natFileChannelImpl.cc
11254         (lockImpl): New method.
11255         (tryLockImpl): New method.
11256
11257 2004-01-23  Michael Koch  <konqueror@gmx.de>
11258
11259         * java/io/FileDescriptor.java
11260         (lock): New method.
11261         (tryLock): New method.
11262         (unlock): New method.
11263         * java/io/natFileDescriptorEcos.cc
11264         (lock): New method.
11265         (tryLock): New method.
11266         (unlock): New method.
11267         * java/io/natFileDescriptorPosix.cc
11268         (lock): New method.
11269         (tryLock): New method.
11270         (unlock): New method.
11271         * java/io/natFileDescriptorWin32.cc
11272         (lock): New method.
11273         (tryLock): New method.
11274         (unlock): New method.
11275
11276 2004-01-23  Michael Koch  <konqueror@gmx.de>
11277
11278         * java/io/FileDescriptor.java
11279         (sync): Moved around, added javadoc.
11280         (valid): Likewise.
11281         (open): Likewise.
11282         (write): Likewise.
11283         (close): Likewise.
11284         (setLength): Likewise.
11285         (seek): Likewise.
11286         (getLength): Likewise.
11287         (getFilePointer): Likewise.
11288         (read): Likewise.
11289         (available): Likewise.
11290         (finalize): Likewise.
11291
11292 2004-01-23  Michael Koch  <konqueror@gmx.de>
11293
11294         * javax/swing/AbstractAction.java: Reformated.
11295         (getPropertyChangeListeners): New method.
11296         * javax/swing/AbstractCellEditor.java: Reformated.
11297         (getCellEditorListeners): New method.
11298         * javax/swing/DefaultListSelectionModel.java
11299         (listenerList): New field.
11300         (listeners): Removed.
11301         (get_listeners): Removed.
11302         (addListSelectionListener): Rewritten.
11303         (removeListSelectionListener): Rewritten.
11304         (getListSelectionListeners): New method.
11305         (getListeners): New method.
11306         * javax/swing/JComboBox.java: Imports reworked.
11307         (addActionListener): Implemented.
11308         (removeActionListener): Implemented.
11309         (addItemListener): Implemented.
11310         (removeItemListener): Implemented.
11311         (addPopupMenuListener): Implemented.
11312         (removePopupMenuListener): Implemented.
11313         (getActionListeners): New method.
11314         (getItemListeners): New method.
11315         (getPopupMenuListeners): New method.
11316
11317 2004-01-23  Michael Koch  <konqueror@gmx.de>
11318
11319         * gnu/java/net/protocol/http/Connection.java
11320         (connect): Don't initialize bufferedOutputStream if not needed.
11321         (sendRequest): Set property for content length if content is present.
11322         Write content only if present.
11323         (getOutputStream): Check if already connected, dont connect,
11324         initalize bufferedOutputStream if needed.
11325
11326 2004-01-23  Michael Koch  <konqueror@gmx.de>
11327
11328         * java/io/FileDescriptor.java
11329         (in, out, err): Added javadoc.
11330         (static): Merged loading code.
11331         (fd, position): Moved around.
11332
11333 2004-01-23  Michael Koch  <konqueror@gmx.de>
11334
11335         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11336         New file.
11337
11338 2004-01-23  Michael Koch  <konqueror@gmx.de>
11339
11340         * java/lang/Class.java,
11341         java/lang/Object.java,
11342         java/lang/Thread.java: Merged copyright with classpath.
11343
11344 2004-01-23  Michael Koch  <konqueror@gmx.de>
11345
11346         * java/io/FileDescriptor.java: Merged copyright with classpath to
11347         start merging this class.
11348
11349 2004-01-22  Tom Tromey  <tromey@redhat.com>
11350
11351         PR libgcj/13107:
11352         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11353         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11354         * testsuite/libjava.lang/pr13107_3.java: New file.
11355         * testsuite/libjava.lang/pr13107_3.out: New file.
11356         * testsuite/libjava.lang/pr13107_2.java: New file.
11357         * testsuite/libjava.lang/pr13107_2.out: New file.
11358         * testsuite/libjava.lang/pr13107.java: New file.
11359         * testsuite/libjava.lang/pr13107.out: New file.
11360         * verify.cc (jsr_ptrs): Removed.
11361         (entry_points): Likewise.
11362         (struct subr_info): Likewise.
11363         (struct subr_entry_info): Likewise.
11364         (type_val::unused_by_subroutine_type): Likewise.
11365         (type::merge): Don't handle unused_by_subroutine_type.
11366         (type::print): Likewise.
11367         (state::flags): Removed.
11368         (state::subroutine): Likewise.
11369         (state::seen_subrs): Likewise.
11370         (state::NO_STACK): Likewise.
11371         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11372         (state): Updated all methods.
11373         (state::clean_subrs): Removed.
11374         (state::state): Removed `ret_semantics' flag.
11375         (state::copy): Likewise.
11376         (state::add_subr): Removed.
11377         (state::enter_subroutine): Likewise.
11378         (type::set_return_address): New method.
11379         (handle_jsr_insn): Set return address on the type.  Always
11380         invalidate PC after call.
11381         (check_nonrecursive_call): Removed.
11382         (~_Jv_BytecodeVerifier): Updated.
11383         (branch_prepass): Removed special handling of jsr.
11384         (note_branch_target): Likewise.
11385         (get_subroutine): Removed.
11386         (state::merge): Don't merge subroutines and don't handle
11387         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11388         (state::note_variable): Removed.
11389         (state::is_unmerged_ret_state): Likewise.
11390         (state::print): Updated.
11391         (set_variable): Likewise.
11392         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11393         and jsr_semantics arguments.  Updated for new reverification
11394         list.
11395         (pop_jump): Rewrote.
11396         (construct_primitive_array_type): Updated.
11397         (state::next): Removed.
11398         (INVALID_STATE): New define.
11399         (state::INVALID): Removed.
11400         (state::NO_NEXT): New value.
11401         (state::pc, state::next): New fields.
11402         (state::get_pc): New method.
11403         (next_verify_pc): Removed.
11404         (next_verify_state): New field.
11405         (verify_instructions_0): Always check for falling off end.
11406         (linked): New type.
11407         (linked_utf8): Removed.
11408         (states): Changed type.
11409         (type::state_mergeable_p): New method.
11410         (state::state_mergeable_p): Likewise.
11411         (handle_ret_insn): Removed most code.
11412         (state::reverify): New method.
11413         (add_new_state): Likewise.
11414         (state::set_pc): Likewise.
11415
11416 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11417
11418         PR java/13733
11419         * testsuite/libjava.compile/PR13733.java: New file.
11420         * testsuite/libjava.compile/PR13733.xfail: New file.
11421
11422 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11423             Michael Koch  <konqueror@gmx.de>
11424
11425         * javax/swing/table/DefaultTableCellRenderer.java
11426         (DefaultTableCellRenderer): Added javadoc for the class and for
11427         the constructor, Border instance, create an EmptyBorder.
11428         (UIResource): Removed the comment at the end of the class
11429         (setForeground): New method.
11430         (setBackground): New method.
11431         (updateUI): New method.
11432         (getTableCellRendererComponent): Rewritten with the help of
11433         dvholten and Stephane Meslin-Weber.
11434         (validate): New method.
11435         (repaint): New method.
11436         (firePropertyChange): New method.
11437         (setValue): New method.
11438
11439 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11440
11441         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11442         (connectJObject): Replace printf calls with g_assert statements.
11443         Move property-notify-event signal connection to ...
11444         (connectSignals): Connect property-notify-event signal.  Iterate
11445         through the vbox's children to find layout.
11446
11447 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11448         
11449         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11450         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11451         Predicate static initialization on GtkToolkit.useGraphics2D().
11452         * java/awt/Component.java (processPaintEvent): Consume event.
11453         * javax/swing/AbstractButton.java: Reimplement, document.
11454         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11455         * javax/swing/JComponent.java (paint): Use double buffer.
11456         (listenerList): Enable member.
11457         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11458         * javax/swing/JToggleButton.java 
11459         (JToggleButton): Modify model constructor.
11460         * javax/swing/SwingUtilities.java 
11461         (layoutCompoundLabel): Adjust arithmetic.
11462         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11463         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11464         (getPreferredButtonSize): Include margins in calculation.
11465         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11466         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11467         Receive up events from subordinate layout component.
11468
11469 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11470
11471         * java/awt/Component.java (show): Set visible to true before
11472         showing the peer.
11473
11474 2004-01-21  Kim Ho  <kho@redhat.com>
11475
11476         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11477         Fix comments.
11478         (removeMenuBarPeer): Make package private.
11479         (setMenuBarPeer): Make package private.
11480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11481         (menubar_resize_cb): Mark attributes unused.
11482         (getMenuBarHeight): ditto.
11483
11484 2004-01-21  David Jee  <djee@redhat.com>
11485
11486         * java/awt/Container.java
11487         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11488         dispatching MOUSE_ENTERED event twice. Translate the point for
11489         the mouse event target before dispatching the event.
11490
11491 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11492
11493         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11494         lib_org_w3c_dom_la_LDFLAGS): New.
11495         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11496         * Makefile.in: Rebuilt.
11497
11498 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11499
11500         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11501         Calculate proper offsets for heavyweight components packed in
11502         lightweight containers.
11503
11504         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11505         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11506         (native create): Add width parameter.
11507         (create): Calculate text entry width based on current font's
11508         metrics and number of columns.  Set TextField's font if not
11509         already set.  Call native create.
11510         (gtkEntryGetBorderWidth): New native method.
11511         (gtkEntryGetSize): Remove method.
11512         (getMinimumSize): Call minimumSize.
11513         (getPreferredSize): Call preferredSize.
11514         (minimumSize): Calculate minimum size based on backing
11515         GtkEntry's borders, font metrics and number of columns.
11516         (preferredSize): Likewise for preferred size.
11517         (get_border_width): New static function.
11518
11519         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11520         Override GtkWindowPeer's setResizable method to account for menu
11521         bar height when setting the frame's size.
11522
11523 2004-01-19  Matthias Klose  <doko@debian.org>
11524
11525         * libtool-version: Increased `current' to 6.
11526
11527 2004-01-19  Kim Ho  <kho@redhat.com>
11528
11529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11530         (connectJObject): Iterate through the vbox's children to find layout.
11531
11532 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11533
11534         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11535         isDispatchThread method to replace wrong test condition.
11536
11537 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11538
11539         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11540         events to the queue out of order by acquiring locks in the proper
11541         order and not by releasing one before acquiring the other.
11542
11543 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11544
11545         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11546         visible so that dialog can be reused.
11547
11548 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11549
11550         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11551         events may be handled by any queue in the stack.
11552
11553 2004-01-19  Kim Ho  <kho@redhat.com>
11554
11555         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11556         MenuBarPeer parameter.
11557         (removeMenuBarPeer): New native method.
11558         (setMenuBar): Call remove if menu bar is null. Adjust insets
11559         appropriately.
11560         (postSizeAllocateEvent): New method. Called when menu bar size is
11561         allocated. Adjust insets and redo layout.
11562         (GtkFramePeer): Set menu bar during frame creation.
11563         (postConfigureEvent): Adjust position and size to accomodate
11564         menu bar.
11565         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11566         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11567         (addNotify): Create the peer if it doesn't exist and call addNotify
11568         for the menu's items.
11569         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11570         * java/awt/MenuItem.java (addNotify): Create the peer if it
11571         doesn't exist.
11572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11573         (removeMenuBarPeer): New method. Remove menu bar on the current
11574         frame.
11575         (setMenuBarPeer): Add the menu bar to the current frame and the
11576         callback for size-allocate events on the menu bar.
11577         (getMenuBarHeight): Add menu bar parameter.
11578         (menubar_resize_cb): New callback method for postSizeAllocate events.
11579
11580         Also: Fix indentation on last ChangeLog entry.
11581
11582 2004-01-16  Kim Ho  <kho@redhat.com>
11583
11584         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11585         (gtkWidgetGetDimensions): Remove.
11586         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11587         (gtkWidgetGetDimensions): Remove.
11588
11589 2004-01-16  Tom Tromey  <tromey@redhat.com>
11590
11591         * java/awt/Container.java: Typo and indentation fixes.
11592
11593         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11594         * java/lang/natVMClassLoader.cc: ...here.  New file.
11595         * Makefile.in: Rebuilt.
11596         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11597
11598 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11599
11600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11601         Discard GDK_ENTER_NOTIFY related to ungrabs.
11602
11603 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11604
11605         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11606         is called for an intermediate queue.
11607
11608 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11609
11610         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11611         (window_property_changed_cb): Set id_set.
11612
11613 2004-01-16  Kim Ho  <kho@redhat.com>
11614
11615         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11616         it is a FileDialog and has dimensions of 0 by 0, then the initial
11617         size is set to size request plus insets.
11618         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11619         (gtkWidgetGetDimensions): Override method.
11620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11621         (gtkWidgetGetDimensions): Override method. Returns size request plus
11622         insets.
11623
11624 2004-01-16  Andrew Haley  <aph@redhat.com>
11625
11626         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11627         * sysdep/i386/locks.h: Likewise.
11628
11629 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11630
11631         * java/awt/EventDispatchThread.java (run): Stop running when
11632         interrupted.
11633         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11634         Reset the queue after transferring its contents.
11635         (push): Start a new dispatch thread if none is running.
11636
11637 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11638
11639         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11640         (doPolygon): set fill rule of polygon to 
11641         WIND_EVEN_ODD by default.
11642
11643 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11644
11645         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11646         Implemented rendering hints related methods.
11647         (getDefaultHints): New helper method. Returns
11648         default rendering hints.
11649         (walkPath): changed to normalize path if
11650         the KEY_STROKE_CONTROL key is in "normalize" mode.
11651         (draw3DRect): changed coordinates of rectangle by +0.5
11652         if in "normalize" mode.
11653
11654 2004-01-15  Tom Tromey  <tromey@redhat.com>
11655
11656         * Makefile.in: Rebuilt.
11657         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11658         (%.lo: %.java) Filter out StackTrace.lo.
11659
11660 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11661
11662         * configure.in: Add in AC_PREREQ(2.13)
11663         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11664         FIXME comment.
11665
11666 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11667             Tom Tromey  <tromey@redhat.com>
11668
11669         PR libgcj/12001:
11670         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11671         array to superclass.
11672         (init): Changed interface; add URLs here.
11673         (initialize): New static method.
11674         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11675         (_Jv_RunMain): ... not here.
11676
11677 2004-01-14  Michael Koch  <konqueror@gmx.de>
11678
11679         * java/text/MessageFormat.java:
11680         Added descriptions to exceptions.
11681         This fixes PR libgcj/2429.
11682
11683 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11684
11685         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11686         (push): Make sure push is performed at the top of the thread stack.
11687
11688 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11689
11690         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11692         (native create): Add width and height parameters.  Set text
11693         view's size request according to new parameters.
11694         (create): Calculate text view size based on current font's
11695         metrics and number of rows and columns.  Set TextArea's font if
11696         not already set.  Call native create.
11697         (getMinimumSize): Call minimumSize.
11698         (getPreferredSize): Call preferredSize.
11699         (getHScrollbarHeight): New method.
11700         (getVScrollbarWidth): New method.
11701         (minimumSize): Calculate minimum size based on scrollbar
11702         visibility, scrollbar sizes, font metrics and number of rows and
11703         columns.
11704         (preferredSize): Likewise for preferred size.
11705         (gtkTextGetSize): Remove method.
11706
11707 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11708
11709         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11710         (initializeInsets): Remove method.
11711         (GtkComponentPeer): Initialize insets field.  Remove call to
11712         initializeInsets.
11713         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11714         Remove method.
11715         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11716         Remove method.
11717         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11718         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11719         (latestInsets): Remove field.
11720         (native create): Add insets parameter.  Call
11721         window_get_frame_extents.  Set the window's default size and
11722         size request based on its frame extents.
11723         (create): Initialize insets.
11724         (postInsetsChangedEvent): New method.
11725         (postConfigureEvent): Remove parameters top, left, bottom,
11726         right.  Remove insets-related logic.
11727         (connectJObject): Handle property-notify-event.
11728         (window_get_frame_extents, request_frame_extents,
11729         property_notify_predicate, window_property_changed_cb): New
11730         static functions.
11731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11732         (pre_event_handler): Remove insets-related logic for configure
11733         events.
11734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11735         Update postConfigureEvent signature.
11736
11737 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11738  
11739         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11740         to handle Window "Closing" events.
11741  
11742 2004-01-13  David Jee  <djee@redhat.com>
11743
11744         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11745         (setBackground): New method. Children with no explicitly-set
11746         background will be repainted with the parent container's new
11747         background color.
11748
11749 2004-01-13  David Jee  <djee@redhat.com>
11750
11751         * Makefile.am: Add BitwiseXORComposite.java.
11752         * Makefile.in: Regenerated.
11753         * gcj/Makefile.in: Regenerated.
11754         * include/Makefile.in: Regenerated.
11755         * testsuite/Makefile.in: Regenerated.
11756
11757 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11758
11759         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11760         not show modal dialogs twice and so that it allows showing a modal
11761         dialog from another modal dialog.
11762
11763 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11764
11765         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11766         and run secondary dispatch thread to process event queue while this
11767         thread is blocked.
11768
11769 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11770
11771         * gnu/java/awt/gtk/GdkGraphics2D.java
11772         (static): Check GtkToolkit before initializing static state.
11773         (Graphics2D): Don't construct transform with 0.5 unit offset.
11774
11775 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11776
11777         * gnu/java/awt/BitwiseXORComposite.java: Add.
11778         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11779         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11780         (BitwiseXORComposite): Remove inner class.
11781
11782 2004-01-11  Michael Koch  <konqueror@gmx.de>
11783
11784         * gnu/java/lang/reflect/TypeSignature.java
11785         (getEncodingOfClass): Documentation fixed.
11786         (getClassForEncoding): Give class loader to Class.forName().
11787         Documentation fixed.
11788
11789 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11790
11791         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11792
11793 2004-01-11  Michael Koch  <konqueror@gmx.de>
11794
11795         * javax/swing/undo/StateEditable.java
11796         (RCSID): Removed redundant modifiers.
11797
11798 2004-01-10  Michael Koch  <konqueror@gmx.de>
11799
11800         * javax/print/attribute/EnumSyntax.java
11801         (getStringTable): Made protected.
11802         (getEnumValueTable): Likewise.
11803         * javax/print/attribute/standard/JobKOctetsProcessed.java
11804         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11805         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11806         (JobMediaSheetsCompleted): Made class final.
11807         * javax/print/attribute/standard/OutputDeviceAssigned.java
11808         (getName): Fixed typo.
11809         * javax/print/attribute/standard/RequestingUserName.java
11810         (serialVersionUID): Fixed value.
11811
11812 2004-01-10  Michael Koch  <konqueror@gmx.de>
11813
11814         * javax/swing/plaf/basic/BasicButtonUI.java,
11815         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11816         javax/swing/plaf/basic/BasicListUI.java,
11817         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11818         javax/swing/plaf/basic/BasicPanelUI.java,
11819         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11820         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11821         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11822         javax/swing/plaf/basic/BasicViewportUI.java:
11823         Fixed import statements.
11824
11825 2004-01-10  Michael Koch  <konqueror@gmx.de>
11826
11827         * gnu/java/awt/image/ImageDecoder.java
11828         (produce): Made public.
11829         * gnu/java/awt/peer/GLightweightPeer.java,
11830         gnu/java/awt/peer/gtk/GtkToolkit.java:
11831         Reformated.
11832
11833 2004-01-10  Michael Koch  <konqueror@gmx.de>
11834
11835         * javax/swing/JRadioButtonMenuItem.java,
11836         javax/swing/JSeparator.java,
11837         javax/swing/JSplitPane.java,
11838         javax/swing/JTextPane.java,
11839         javax/swing/JToolBar.java,
11840         javax/swing/ListCellRenderer.java,
11841         javax/swing/ListModel.java,
11842         javax/swing/MenuElement.java,
11843         javax/swing/OverlayLayout.java,
11844         javax/swing/ProgressMonitor.java,
11845         javax/swing/ProgressMonitorInputStream.java,
11846         javax/swing/Renderer.java,
11847         javax/swing/RootPaneContainer.java,
11848         javax/swing/Scrollable.java,
11849         javax/swing/SingleSelectionModel.java,
11850         javax/swing/ToolTipManager.java,
11851         javax/swing/ViewportLayout.java,
11852         javax/swing/event/DocumentEvent.java,
11853         javax/swing/event/SwingPropertyChangeSupport.java,
11854         javax/swing/event/TreeSelectionEvent.java,
11855         javax/swing/event/UndoableEditEvent.java,
11856         javax/swing/text/AbstractDocument.java,
11857         javax/swing/text/AttributeSet.java,
11858         javax/swing/text/Caret.java,
11859         javax/swing/text/ComponentView.java,
11860         javax/swing/text/DefaultCaret.java,
11861         javax/swing/text/DefaultEditorKit.java,
11862         javax/swing/text/Document.java,
11863         javax/swing/text/EditorKit.java,
11864         javax/swing/text/GapContent.java,
11865         javax/swing/text/Keymap.java,
11866         javax/swing/text/MutableAttributeSet.java,
11867         javax/swing/text/PlainEditorKit.java,
11868         javax/swing/text/Segment.java,
11869         javax/swing/text/Style.java,
11870         javax/swing/text/StyledDocument.java,
11871         javax/swing/text/StyledEditorKit.java,
11872         javax/swing/text/TextAction.java,
11873         javax/swing/text/View.java: Fixed import statements.
11874
11875 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11876
11877         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11878         djee@redhat.com's recent inverse ordering of Container elements.
11879
11880 2004-01-09  Michael Koch  <konqueror@gmx.de>
11881
11882         * gnu/java/lang/ArrayHelper.java
11883         (equalsArray): Removed.
11884
11885 2004-01-09  Andrew Haley  <aph@redhat.com>
11886
11887         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11888         a Utf8Const field before looking at its class.
11889
11890 2004-01-09  Michael Koch  <konqueror@gmx.de>
11891
11892         * javax/print/attribute/standard/DocumentName.java,
11893         javax/print/attribute/standard/JobHoldUntil.java,
11894         javax/print/attribute/standard/JobMessageFromOperator.java,
11895         javax/print/attribute/standard/JobName.java,
11896         javax/print/attribute/standard/JobOriginatingUserName.java,
11897         javax/print/attribute/standard/OutputDeviceAssigned.java,
11898         javax/print/attribute/standard/PrinterInfo.java,
11899         javax/print/attribute/standard/PrinterLocation.java,
11900         javax/print/attribute/standard/PrinterMakeAndModel.java,
11901         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11902         javax/print/attribute/standard/PrinterName.java,
11903         javax/print/attribute/standard/RequestingUserName.java: New files.
11904         * Makefile.am (javax_source_files): Added new files.
11905         * Makefile.in: Regenerated.
11906
11907 2004-01-09  Michael Koch  <konqueror@gmx.de>
11908
11909         * javax/swing/AbstractAction.java,
11910         javax/swing/AbstractSet.java,
11911         javax/swing/Action.java,
11912         javax/swing/ActionMap.java,
11913         javax/swing/BoundedRangeModel.java,
11914         javax/swing/ButtonModel.java,
11915         javax/swing/CellEditor.java,
11916         javax/swing/CellRendererPane.java,
11917         javax/swing/ComboBoxEditor.java,
11918         javax/swing/DebugGraphics.java,
11919         javax/swing/DefaultCellEditor.java,
11920         javax/swing/DefaultCellRenderer.java,
11921         javax/swing/DefaultComboBoxModel.java,
11922         javax/swing/DefaultDesktopManager.java,
11923         javax/swing/DefaultFocusManager.java,
11924         javax/swing/DefaultListCellRenderer.java,
11925         javax/swing/Icon.java,
11926         javax/swing/JButton.java,
11927         javax/swing/JCheckBoxMenuItem.java,
11928         javax/swing/JDesktopPane.java,
11929         javax/swing/JEditorPane.java,
11930         javax/swing/JMenu.java,
11931         javax/swing/JPanel.java,
11932         javax/swing/JPasswordField.java,
11933         javax/swing/JPopupMenu.java,
11934         javax/swing/JProgressBar.java: Reworked imports.
11935
11936 2004-01-09  Michael Koch  <konqueror@gmx.de>
11937
11938         * java/awt/geom/PathIterator.java
11939         (WIND_EVEN_ODD): Removed redundant modifiers.
11940         (WIND_NON_ZERO): Likewise.
11941         (SEG_MOVETO): Likewise.
11942         (SEG_LINETO): Likewise.
11943         (SEG_QUADTO): Likewise.
11944         (SEG_CUBICTO): Likewise.
11945         (SEG_CLOSE): Likewise.
11946         * java/awt/image/SinglePixelPackedSampleModel.java:
11947         Removed redundant semicolon.
11948         * java/io/ObjectInputStream.java
11949         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11950         * java/util/logging/Filter.java
11951         (isLoggable): Removed redundant modifier.
11952         * java/util/logging/LogManager.java:
11953         Removed redundant semicolon.
11954         * java/util/logging/XMLFormatter.java
11955         (format): Removed unused variable "key".
11956
11957 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11958
11959         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11960         New name for the former setFile native method.
11961         (setFile): New method.
11962         (setDirectory): Implemented.
11963         (connectSignals): New native method.
11964         (setFilenameFilter): Improve comment.
11965         (getGraphics): Comment.
11966         (gtkHideFileDialog): New method.
11967         (gtkDisposeFileDialog): New method.
11968         (gtkSetFilename): New method.
11969         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11970         for FileDialog for now.
11971         (hide): New method.
11972         (dispose): New method.
11973         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11974         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11975         deprecated creation functions.  Make dialog modal.  Add it to the
11976         window group.
11977         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11978         function.
11979         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11980         Rename to...
11981         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11982         name.
11983         (window_closed): New function.
11984         (ok_clicked): New function.
11985         (cancel_clicked): New function.
11986
11987 2004-01-08  Michael Koch  <konqueror@gmx.de>
11988
11989         * javax/swing/JLayeredPane.java: Revert changes to standard
11990         boilerplate, reworked imports.
11991
11992 2004-01-07  Tom Tromey  <tromey@redhat.com>
11993
11994         PR libgcj/13439:
11995         * verify.cc (state::merge): Copy changed locals out of subroutine
11996         in NO_STACK case.
11997         (state::FLAG_CHANGED): New const.
11998         (state::FLAG_UNUSED): Likewise.
11999         (state::local_changed): Removed.  Updated all users.
12000         (state::flags): New field.
12001         (state::merge): Added jsr_semantics argument, more logic.
12002         (push_jump_merge): Added jsr_semantics argument.
12003         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12004         merging through the jsr instruction.
12005
12006 2004-01-07  Tom Tromey  <tromey@redhat.com>
12007
12008         * scripts/MakeDefaultMimeTypes.java: Use \n, not
12009         backslash-newline.
12010
12011 2004-01-07  Graydon Hoare  <graydon@redhat.com>
12012
12013         * java/awt/Container.java (LightweightDispatcher): Implement.
12014         (visitChild): Reuse graphics object.
12015         (dispatchEventImpl): Optionally dispatch to lightweight.
12016         (addNotifyContainerChildren): Build LightweightDispatcher.
12017
12018 2004-01-07  David Jee  <djee@redhat.com>
12019
12020         * java/awt/Container.java
12021         (update): Clear only the clipped region, instead of clearing the
12022         entire Container.
12023         (visitChildren): Visit children in descending order.
12024
12025 2004-01-07  Michael Koch  <konqueror@gmx.de>
12026
12027         * java/lang/reflect/Array.java: Merged documentation with classpath.
12028
12029 2004-01-07  Michael Koch  <konqueror@gmx.de>
12030
12031         * java/text/CollationElementIterator.java
12032         (textIndex): Renamed from index.
12033         * java/text/CollationKey.java
12034         (collator): New member.
12035         (CollationKey): New argument for parent collator.
12036         (equals): Check for same collator, source string and key array.
12037         * java/text/RuleBasedCollator.java:
12038         Reformated.
12039         (RuleBasedCollator): Don't re-initialize frenchAccents with default
12040         value.
12041         (getCollationElementIterator): Rewritten.
12042         (getCollationKey): Added new argument to CollationKey constructor.
12043
12044 2004-01-07  Michael Koch  <konqueror@gmx.de>
12045
12046         * gnu/java/nio/DatagramChannelImpl.java
12047         (blocking): Removed.
12048         (DatagramChannelImpl): Call configureBlocking().
12049         (implConfigureBlocking): Dont initialize blocking.
12050         * gnu/java/nio/ServerSocketChannelImpl.java
12051         (blocking): Removed.
12052         (ServerSocketChannelImpl): Call configureBlocking().
12053         (implConfigureBlocking): Dont initialize blocking.
12054         * gnu/java/nio/SocketChannelImpl.java
12055         (blocking): Removed.
12056         (SocketChannelImpl): Call configureBlocking().
12057         (implConfigureBlocking): Dont initialize blocking.
12058         (connect): Use isBlocking().
12059         * java/nio/channels/spi/AbstractSelectableChannel.java
12060         (configureBlocking): Use blockingLock() instead of LOCK.
12061         Set blocking after successfully called implConfigureBlocking().
12062         (register): Use blockingLock() instead of LOCK.
12063
12064 2004-01-07  Michael Koch  <konqueror@gmx.de>
12065
12066         * java/net/ServerSocket.java (isBound): Fixed documentation.
12067
12068 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
12069
12070         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12071         (changeEvent): Create event object on demand.
12072         (DefaultBoundedRangeModel, toString, setValue, setExtent,
12073         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12074         fireStateChanged): Re-written.
12075         * javax/swing/event/EventListenerList.java: Reformatted, document
12076         typical usage.
12077         (toString): Implemented.
12078         (getListeners): Re-written.
12079         (remove): Re-written.
12080         (add): Re-written.
12081         (NO_LISTENERS): New singleton field.
12082         (listenerList): Declare as transient; document.
12083         (serialVersionUID): Document.
12084         (getListenerCount(Class)): More efficient implementation,
12085         also accepts null argument.  Improve Javadoc.
12086         (getListenerCount()): Remove unnecessary cast; docfix.
12087         * javax/swing/undo/UndoableEditSupport.java:
12088         Re-format, document.
12089         (UndoableEditSupport): Set realSource field. Improve documentation.
12090         (_postEdit): Iterate over cloned listener vector.
12091         (toString): Don't emit realSource.
12092         (beginUpdate, endUpdate): Support nested updates.
12093         (postEdit): Use compound edit if present.
12094
12095 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12096
12097         * java/awt/Container.java (swapComponents): Add forgotten
12098         function, required for JLayeredPane change.
12099
12100 2004-01-06  Michael Koch  <konqueror@gmx.de>
12101
12102         * java/text/CollationElementIterator.java: Reformated.
12103         (CollationElementIterator): Changed order of arguments.
12104         * java/text/RuleBasedCollator.java
12105         (RuleBasedCollator): Merged class documentation.
12106         (CollationElement): Added documentation.
12107         (compare): Reformated, renamed arguments.
12108         (equals): Likewise.
12109         (getCollationElementIterator): Likewise.
12110         (getCollationKey): Likewise.
12111
12112 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12113
12114         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12115
12116 2004-01-06  Michael Koch  <konqueror@gmx.de>
12117
12118         * gnu/java/net/protocol/file/Connection.java:
12119         Reformated copyright.
12120         (hdrHash): Removed.
12121         (hdrVec): Removed.
12122         (gotHeaders): Removed.
12123         (getHeaderField): Removed.
12124         (getHeaderField): Removed.
12125         (getHeaderFieldKey): Removed.
12126         (getKey): Removed.
12127         (getField): Removed.
12128         (getHeaders): Removed.
12129
12130 2004-01-06  Michael Koch  <konqueror@gmx.de>
12131
12132         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12133         javax/print/attribute/standard/DateTimeAtCreation.java,
12134         javax/print/attribute/standard/DateTimeAtProcessing.java,
12135         javax/print/attribute/standard/JobImpressionsCompleted.java,
12136         javax/print/attribute/standard/JobKOctets.java,
12137         javax/print/attribute/standard/JobKOctetsProcessed.java,
12138         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12139         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12140         * Makefile.am (javax_source_files): Added new files.
12141         * Makefile.in: Regenerated.
12142
12143 2004-01-06  Michael Koch  <konqueror@gmx.de>
12144
12145         * java/net/URLConnection.java
12146         (contentHandler): Removed.
12147         (locale): Removed.
12148         (getHeaderFields): Return an empty map instead of null.
12149         (getContent): Connect if needed, renamed "cType" to "type" and
12150         "contentHandler" to "ch" and made it a local variable.
12151         (getPermission): Don't use package in class name.
12152         (setDefaultRequestProperty): Fixed typo in documentation.
12153         (initializeDateFormats): Made locale a local variable.
12154
12155 2004-01-06  Michael Koch  <konqueror@gmx.de>
12156
12157         * java/lang/Package.java
12158         (getPackage): Get the current class loader directly.
12159         * java/lang/SecurityManager.java
12160         (currentLoadedClass): Dont iterate over class contexts.
12161         (classLoaderDepth): Don't check class loaders if everything is allowed.
12162
12163 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12164
12165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12166         (pre_event_handler): Set all insets to 0 when a Configure event
12167         is received for a GtkPlug.
12168         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12169         Make handle long, not int.
12170         (EmbeddedWindow()): New constructor.
12171         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12172         long, not int.
12173         (setHandle): New method.
12174         (getHandle): Return long, not int.
12175         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12176         declaration.
12177         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12178         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12179         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12180         argument to GdkNativeWindow.
12181         (construct): New method.
12182         (embed): New method.
12183
12184         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12185         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12186         (create(int, int)): New method.
12187         (create): Call new create method.
12188         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12189         methods.
12190         (childResized): Remove native implementation.  Implement in
12191         Java.
12192         (getHScrollbarHeight, getVScrollbarWidth): Call
12193         gtk_widget_size_request to get scrollbar dimensions.
12194         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12195         call getVScrollbarWidth and getHScrollbarHeight when vertical
12196         and horizontal scrollbars respectively are needed.
12197         (doLayout): Enlarge child if it is smaller than the viewport.
12198
12199 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12200
12201         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12202         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12203         argument as per spec.
12204
12205 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12206
12207         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12208         (insert): Ditto.
12209         (remove): Ditto.  Also, Check for valid argument.
12210         (removeAll): Use peer interface method.
12211         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12212         native add function.
12213         (nativeRemove): New name for native remove function.
12214         (getHistory): New native function.
12215         (constructor): Generate ItemEvent.
12216         (add): Ditto, if selection is changed.
12217         (remove): Ditto, ditto.
12218         (removeAll): Add implementation.
12219         (handleEvent): Remove.  Dead code.
12220         (choicePostItemEvent): Add comment.
12221         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12222         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12223         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12224         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12225         comments and fix condition to change selection.
12226         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12227         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12228         remove all capability.
12229         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12230         (item_activate): Add cast to remove compiler warning.
12231
12232 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12233
12234         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12235         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12236         (getPreferredSize): Call preferredSize.
12237         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12238         (getMinimumSize): Call minimumSize.
12239         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12240         (gtkWidgetGetDimensions): Return the peer widget's current size
12241         request.
12242         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12243         natural size request.
12244
12245 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12246
12247         Thanks to Brian Gough <bjg@network-theory.com>
12248         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12249         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12250
12251 2004-01-04  Matthias Klose  <doko@debian.org>
12252
12253         * aclocal.m4: Rebuilt using "aclocal -I .".
12254         * configure: Rebuilt.
12255
12256 2004-01-03  Per Bothner  <per@bothner.com>
12257
12258         * java/util/Date.java (parse):  Fix a number of problems.
12259         (skipParens):  Remove no-longer-needed method.
12260