OSDN Git Service

2004-11-16 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-16  Michael Koch  <konqueror@gmx.de>
2
3         * java/lang/Object.java: Added javadocs all over (merged from GNU
4         classpath).
5
6 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
7
8         * java/security/Security.java (Security): Silence the warning about no
9         providers found in the no debug case.
10
11 2004-11-16  Michael Koch  <konqueror@gmx.de>
12
13         * java/net/InetAddress.java
14         (toString): Merged from GNU classpath.
15
16 2004-11-16  Michael Koch  <konqueror@gmx.de>
17
18         * java/awt/geom/doc-files/Area-1.png,
19         java/awt/geom/doc-files/Ellipse-1.png,
20         java/awt/geom/doc-files/GeneralPath-1.png:
21         New files.
22
23 2004-11-16  Michael Koch  <konqueror@gmx.de>
24
25         * java/util/Currency.java (cache): Fix modifier order.
26
27 2004-11-16  Michael Koch  <konqueror@gmx.de>
28
29         * java/io/BufferedReader.java,
30         java/io/FileInputStream.java,
31         java/io/FileOutputStream.java,
32         java/io/FileWriter.java,
33         java/io/OutputStreamWriter.java,
34         java/io/PipedInputStream.java,
35         java/io/PipedOutputStream.java,
36         java/io/PipedReader.java,
37         java/io/PipedWriter.java,
38         java/io/PrintStream.java,
39         java/io/PushbackInputStream.java,
40         java/io/RandomAccessFile.java,
41         java/io/Reader.java,
42         java/io/StreamTokenizer.java,
43         java/io/StringReader.java,
44         java/net/NetworkInterface.java,
45         java/net/URLClassLoader.java,
46         java/nio/ByteOrder.java,
47         java/nio/channels/Channel.java:
48         Fixed javadocs all over.
49
50 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
51
52         * Makefile.am: Add imported files.
53         * Makefile.in: Regenerate.
54
55         2004-10-24  Casey Marshall  <csm@gnu.org>
56
57         * javax/security/auth/login/LoginContext.java: Implemented.
58         * javax/security/auth/login/Configuration.java (getConfig): New method.
59         * javax/security/auth/spi/LoginModule.java,
60         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
61
62 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
63
64         Import/Merge the X.509 certificate code from Classpath.
65
66         * Makefile.am: Add imported files.
67         * Makefile.in: Regenerate.
68
69         2004-11-07  Casey Marshall  <csm@gnu.org>
70
71         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
72         priviliged action. Add new algorithms.
73         * gnu/java/security/provider/X509CertificateFactory.java
74         (engineGenerateCertificate): Chain exceptions.
75         (engineGenerateCertificates): Likewise.
76         (engineGenerateCRL): Likewise.
77         (engineGenerateCRLs): Likewise.
78         (engineGenerateCertPath): New methods.
79         (generateCert): Throw exception if 'inStream' is null.
80         (generateCRL): Likewise.
81         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
82         version from GNU Crypto CVS.
83         * gnu/java/security/x509/X509CRL.java: Likewise.
84         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
85         * gnu/java/security/x509/X509Certificate.java: Likewise.
86         * java/security/cert/TrustAnchor.java: Call 'toString' and not
87         toRFC2253.
88         * gnu/java/security/provider/CollectionCertStoreImpl.java,
89         * gnu/java/security/provider/EncodedKeyFactory.java,
90         * gnu/java/security/provider/GnuDHPublicKey.java,
91         * gnu/java/security/provider/GnuRSAPrivateKey.java,
92         * gnu/java/security/provider/GnuRSAPublicKey.java,
93         * gnu/java/security/provider/MD2withRSA.java,
94         * gnu/java/security/provider/MD4withRSA.java,
95         * gnu/java/security/provider/MD5withRSA.java,
96         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
97         * gnu/java/security/provider/RSA.java,
98         * gnu/java/security/provider/RSAKeyFactory.java,
99         * gnu/java/security/provider/SHA1withRSA.java,
100         * gnu/java/security/x509/GnuPKIExtension.java,
101         * gnu/java/security/x509/PolicyNodeImpl.java,
102         * gnu/java/security/x509/Util.java,
103         * gnu/java/security/x509/X509CRLSelectorImpl.java,
104         * gnu/java/security/x509/X509CertPath.java,
105         * gnu/java/security/x509/X509CertSelectorImpl.java,
106         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
107         * gnu/java/security/x509/ext/BasicConstraints.java,
108         * gnu/java/security/x509/ext/CRLNumber.java,
109         * gnu/java/security/x509/ext/CertificatePolicies.java,
110         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
111         * gnu/java/security/x509/ext/Extension.java,
112         * gnu/java/security/x509/ext/GeneralNames.java,
113         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
114         * gnu/java/security/x509/ext/KeyUsage.java,
115         * gnu/java/security/x509/ext/PolicyConstraint.java,
116         * gnu/java/security/x509/ext/PolicyMappings.java,
117         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
118         * gnu/java/security/x509/ext/ReasonCode.java,
119         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
120         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
121
122         2004-11-07  Casey Marshall  <csm@gnu.org>
123
124         * gnu/java/security/x509/X509CRL.java:
125         Missed import statements in previous checkin.
126
127         2004-11-07  Casey Marshall  <csm@gnu.org>
128
129         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
130         to 'X509CertificateImpl' from previous checkin.
131
132 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
133
134         PR other/14264
135         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
136
137 2004-11-11  Casey Marshall  <csm@gnu.org>
138
139         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
140         channel is open.
141         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
142         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
143
144 2004-11-11  Robert Schuster <thebohemian@gmx.net>
145
146         Fixed regression:
147         * gnu/java/beans/IntrospectionIncubator.java:
148         (addMethod): Corrected classification of normal and property methods.
149         (capitalize): Added documentation.
150         (DoubleKey): [class] Added documentation.
151
152 2004-11-09  Tom Tromey  <tromey@redhat.com>
153
154         * include/jni.h: Added FIXME.
155
156 2004-11-08  Tom Tromey  <tromey@redhat.com>
157
158         * java/util/GregorianCalendar.java: Removed unused imports.
159         * java/util/Vector.java: Removed unused import.
160
161 2004-11-07  Michael Koch  <konqueror@gmx.de>
162
163         * java/lang/Process.java:
164         Import cleanups.
165
166 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
167
168         * java/util/zip/ZipEntry.java
169         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
170
171 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
172
173         Fixes bug #10908
174         * gnu/java/beans/IntrospectionIncubator.java:
175         (addMethod): static methods are discarded now, too.
176
177 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
178
179         * java/util/GregorianCalendar.java
180         Added/amended documentation.
181
182 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
183
184         * java/util/Collections.java
185         Added documentation.
186         * java/util/SortedMap.java
187         Clarified some method examples.
188         * java/util/SortedSet.java
189         Clarified some method examples.
190
191 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
192
193         * java/util/Currency.java
194         Documented variables and methods more fully.
195         Caches the currency instances, so that a request
196         for a locale, l, only ever returns the same
197         instance (i.e. successive calls to getInstance(l)
198         are reference equivalent (==)).
199
200 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
201
202         * java/util/Date.java
203         Added missing documentation.
204
205 2004-11-06  Michael Koch  <konqueror@gmx.de>
206
207         * java/util/zip/CheckedInputStream.java,
208         java/util/zip/InflaterInputStream.java,
209         java/util/zip/ZipFile.java,
210         java/util/zip/ZipInputStream.java:
211         Import cleanups.
212
213 2004-11-06  Tom Tromey  <tromey@redhat.com>
214
215         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
216         package-private.
217         (connections): Likewise.
218         (scavenger): Likewise.
219         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
220         package-private.
221         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
222         package-private.
223         (ptr): Likewise.
224         * gnu/classpath/ServiceFactory.java (log): Now package-private.
225
226 2004-11-06  Tom Tromey  <tromey@redhat.com>
227
228         * javax/naming/directory/BasicAttributes.java (attributes): Now
229         package-private.
230         * javax/imageio/spi/ServiceRegistry.java (categories): Now
231         package-private.
232
233 2004-11-06  Tom Tromey  <tromey@redhat.com>
234
235         * java/net/URLClassLoader.java (URLClassLoader): Now
236         package-private.
237         * java/nio/charset/CoderResult.java (CoderResult): Now
238         package-private.
239         (get): Likewise.
240         (Cache): Likewise.  Don't synchronize on `this'.
241         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
242         package-private.
243         * java/util/TimeZone.java (timezones): Now package-private.
244
245 2004-11-06  Tom Tromey  <tromey@redhat.com>
246
247         * java/security/Permissions.java (perms): Now package-private.
248         * java/security/UnresolvedPermission.java (permissions): Now
249         package-private.
250
251 2004-11-06  Tom Tromey  <tromey@redhat.com>
252
253         * java/io/FilePermission.java: Reindented.
254
255 2004-11-06  Tom Tromey  <tromey@redhat.com>
256
257         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
258         package-private.
259         (setBlockDataMode): Likewise.
260
261 2004-11-06  Tom Tromey  <tromey@redhat.com>
262
263         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
264         package-private.
265         (Encoder): Likewise.
266         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
267         (Encoder): Likewise.
268         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
269         package-private.
270         (Encoder): Likewise.
271
272 2004-11-06  Mark Wielaard  <mark@klomp.org>
273
274         * Makefile.am: Add new javax.imageio files.
275         * Makefile.in: Regenerated.
276
277 2004-11-06  Michael Koch  <konqueror@gmx.de>
278
279         * javax/imageio/event/IIOReadProgressListener.java,
280         javax/imageio/event/IIOReadUpdateListener.java,
281         javax/imageio/event/IIOReadWarningListener.java,
282         javax/imageio/event/IIOWriteProgressListener.java,
283         javax/imageio/event/IIOWriteWarningListener.java,
284         javax/imageio/metadata/IIOMetadataFormat.java,
285         javax/imageio/stream/FileCacheImageInputStream.java,
286         javax/imageio/stream/FileCacheImageOutputStream.java,
287         javax/imageio/stream/ImageInputStreamImpl.java:
288         Import cleanup.
289         * javax/imageio/metadata/package.html: New file.
290
291 2004-11-06  Michael Koch  <konqueror@gmx.de>
292
293         * javax/imageio/spi/ImageReaderSpi.java
294         (isOwnReader): New method.
295         * javax/imageio/spi/ImageWriterSpi.java
296         (isOwnWriter): Likewise.
297
298 2004-11-06  Michael Koch  <konqueror@gmx.de>
299
300         * javax/imageio/ImageWriter.java
301         (convertImageMetadata): New abstract method.
302         (convertStreamMetadata): Likewise.
303         (write): Likewise.
304         * javax/imageio/stream/FileCacheImageInputStream.java
305         (close): Fixed setting of stream to null.
306         (checkStreamClosed): Throws IOException.
307
308 2004-11-06  Michael Koch  <konqueror@gmx.de>
309
310         * javax/imageio/stream/FileCacheImageInputStream.java,
311         javax/imageio/stream/FileCacheImageOutputStream.java,
312         javax/imageio/stream/FileImageInputStream.java,
313         javax/imageio/stream/FileImageOutputStream.java,
314         javax/imageio/stream/MemoryCacheImageInputStream.java,
315         javax/imageio/stream/MemoryCacheImageOutputStream.java:
316         New files.
317
318 2004-11-06  Michael Koch  <konqueror@gmx.de>
319
320         * javax/imageio/metadata/IIOInvalidTreeException.java,
321         javax/imageio/metadata/IIOMetadataFormatImpl.java,
322         javax/imageio/metadata/IIOMetadataNode.java:
323         New stub files.
324
325 2004-11-06  Michael Koch  <konqueror@gmx.de>
326
327         * javax/imageio/stream/ImageInputStreamImpl.java,
328         javax/imageio/stream/ImageOutputStreamImpl.java:
329         New files.
330
331 2004-11-06  Michael Koch  <konqueror@gmx.de>
332
333         * javax/imageio/ImageIO.java:
334         Added much new methods.
335
336 2004-11-06  Michael Koch  <konqueror@gmx.de>
337
338         * javax/imageio/ImageReader.java,
339         javax/imageio/ImageWriter.java,
340         javax/imageio/spi/ImageWriterSpi.java:
341         Add SOME new methods.
342
343 2004-11-06  Michael Koch  <konqueror@gmx.de>
344
345         * javax/imageio/IIOParam.java,
346         javax/imageio/ImageReadParam.java,
347         javax/imageio/ImageReader.java,
348         javax/imageio/ImageWriter.java:
349         Mostly implemented.
350         * javax/imageio/spi/ImageReaderSpi.java,
351         javax/imageio/spi/ImageWriterSpi.java:
352         New files.
353
354 2004-11-06  Michael Koch  <konqueror@gmx.de>
355
356         * javax/imageio/ImageWriteParam.java,
357         javax/imageio/metadata/IIOMetadataFormat.java:
358         Implemented.
359
360 2004-11-06  Michael Koch  <konqueror@gmx.de>
361
362         * javax/imageio/ImageTypeSpecifier.java:
363         Mostly implemented.
364
365 2004-11-06  Michael Koch  <konqueror@gmx.de>
366
367         * javax/imageio/metadata/IIOMetadata.java:
368         Mostly implemented.
369
370 2004-11-06  Michael Koch  <konqueror@gmx.de>
371
372         * javax/imageio/IIOImage.java,
373         javax/imageio/ImageReadParam.java,
374         javax/imageio/metadata/IIOMetadataController.java,
375         javax/imageio/metadata/IIOMetadataFormat.java:
376         New files.
377         * javax/imageio/stream/ImageOutputStream.java:
378         Implemented.
379
380 2004-11-06  Michael Koch  <konqueror@gmx.de>
381
382         * javax/imageio/IIOParam.java,
383         javax/imageio/IIOParamController.java,
384         javax/imageio/ImageTypeSpecifier.java,
385         javax/imageio/ImageWriteParam.java,
386         javax/imageio/metadata/IIOMetadata.java:
387         New files.
388         * javax/imageio/ImageTranscoder.java:
389         Implemented.
390
391 2004-11-06  Michael Koch  <konqueror@gmx.de>
392
393         * javax/imageio/spi/ImageInputStreamSpi.java,
394         javax/imageio/spi/ImageOutputStreamSpi.java:
395         Reworked import startments.
396         * javax/imageio/spi/ServiceRegistry.java:
397         Reworked import startments. Fixed XHTML in javadocs.
398         (ServiceRegistry): Added @param tag to javadoc.
399         * javax/imageio/stream/ImageInputStream.java
400         (mark): Doesn't throws IOException;
401
402 2004-11-06  Michael Koch  <konqueror@gmx.de>
403
404         * javax/imageio/ImageIO.java:
405         New file.
406
407 2004-11-06  Michael Koch  <konqueror@gmx.de>
408
409         * javax/imageio/spi/IIORegistry.java
410         (static): Don't register ImageReaderSpi.class and
411         ImageWriterSpi.class yet.
412
413 2004-11-06  Michael Koch  <konqueror@gmx.de>
414
415         * javax/imageio/spi/IIORegistry.java:
416         New file.
417
418 2004-11-06  Noa Resare  <noa@resare.com>
419
420         * java/net/Socket.java (getPort): Return 0 instead of -1 on
421         unconnected sockets.
422
423 2004-11-06  Michael Koch  <konqueror@gmx.de>
424
425         * java/lang/StringBuffer.java,
426         java/lang/Throwable.java,
427         java/security/spec/DSAParameterSpec.java,
428         java/util/zip/ZipEntry.java,
429         java/util/zip/ZipFile.java,
430         java/util/zip/ZipInputStream.java,
431         java/util/zip/ZipOutputStream.java:
432         Removed redundant and reordered modifiers.
433
434 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
435
436         * java/io/Vector.java
437         (writeObject): New function to serialized output thread safe.
438
439         * java/io/ObjectOutputStream.java
440         (writeObject): Move the assignment of the class handle to after
441         the assignment of class descriptor handle.
442
443 2004-11-06  Robert Schuster <thebohemian@gmx.net>
444
445         Fixes documentation and indentation
446         * java/beans/PropertyEditorSupport.java:
447         reworked initial API doc
448         (value): changed name from val
449
450 2004-11-06  Robert Schuster <thebohemian@gmx.net>
451
452         Updates to 1.5
453         * java/beans/PropertyEditorSupport.java
454         (PropertyEditorSupport()): Changed modifier to public
455         (PropertyEditorSupport(Object): Changed modifier to public
456         (setSource): New method
457         (getSource): New method
458
459 2004-11-06  Robert Schuster <thebohemian@gmx.net>
460
461         Fixes bug #10799
462         * java/beans/PropertyEditorSupport.java
463         (setValue): Fire property change event
464
465 2004-11-03  Tom Tromey  <tromey@redhat.com>
466
467         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
468         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
469         returns jobjectArray.
470         (_Jv_JNIEnv::NewObjectArray): Likewise.
471
472 2004-11-01  Tom Tromey  <tromey@redhat.com>
473
474         * verify.cc (state::check_no_uninitialized_objects): Removed.
475         (push_jump): Updated.
476         (push_exception_jump): Likewise.
477         (handle_ret_insn): Likewise.
478         (handle_jsr_insn): Likewise.
479
480 2004-10-30  Mark Wielaard  <mark@klomp.org>
481
482         PR libgcj/18234
483         * java/lang/Runtime.java (static): Call init().
484         (Runtime): Remove call to init().
485         (init): Make static.
486
487 2004-10-28  David Daney  <ddaney@avtrex.com>
488
489         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
490         * Makefile.am: Build it.
491         * Makefile.in: Regenerate.
492
493 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
494
495         PR libgcj/18104
496         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
497         colon.
498         * Makefile.in: Regenerate.
499         * configure: Regenerate.
500         * configure.ac (CLASSPATH_SEPARATOR): Define.
501         * gcj/Makefile.in: Regenerate.
502         * include/Makefile.in: Regenerate.
503         * testsuite/Makefile.in: Regenerate.
504         * testsuite/lib/libjava.exp (libjava_arguments): Fix
505         CLASSPATH separator handling for Windows.
506
507 2004-10-26  Michael Koch  <konqueror@gmx.de>
508
509         * gnu/java/net/protocol/http/Connection.java
510         (getOutputStream): Implicitely switch to POST method.
511
512 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
513
514         * libjava/java/lang/Class.h
515         (java::lang::Class): Correct friend class declaration.
516
517 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
518
519         * Makefile.am (DARWIN_CRT_SRC): New.
520         (libgcj_la_SOURCES): Use it.
521         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
522         * darwin.cc: New file.
523         * include/jvm.h (_Jv_RegisterClasses): Constify.
524         (_Jv_RegisterClasses_Counted): New prototype.
525         * java/lang/Class.h: Include stddef.h.  
526         (_Jv_RegisterClasses): Constify.
527         (_Jv_RegisterClasses_Counted): New prototype.
528         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
529         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
530         (_Jv_RegisterClasses_Counted): New function.
531         * configure: Regenerate.
532         * Makefile.in: Regenerate.
533         * gcj/Makefile.in: Regenerate.
534         * include/Makefile.in: Regenerate.
535         * testsuite/Makefile.in: Regenerate.
536
537 2004-10-25  Tom Tromey  <tromey@redhat.com>
538
539         * java/util/ResourceBundle.java (tryBundle): Use
540         Class.isAssignableFrom rather than catching ClassCastException.
541
542 2004-10-25  Tom Tromey  <tromey@redhat.com>
543
544         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
545         initialize `iter'.
546         * gnu/java/text/SentenceBreakIterator.java
547         (SentenceBreakIterator): Don't initialize `iter'.
548         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
549         initialize `iter'.
550         * gnu/java/text/CharacterBreakIterator.java
551         (CharacterBreakIterator): Don't initialize `iter'.
552         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
553         constructor.
554         * java/text/BreakIterator.java: Updated documentation.
555
556 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
557
558         PR other/18138
559         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
560
561 2004-10-23  Michael Koch  <konqueror@gmx.de>
562
563         * javax/print/DocFlavor.java,
564         javax/print/attribute/standard/JobStateReason.java,
565         javax/print/attribute/standard/MultipleDocumentHandling.java:
566         Added missing constants.
567
568 2004-10-22  Tom Tromey  <tromey@redhat.com>
569
570         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
571         typo.
572
573 2004-10-22  Michael Koch  <konqueror@gmx.de>
574
575         PR libjava/14009
576         * gnu/java/net/protocol/http/Connection.java
577         (sendRequest): Handle case when url.getFile() returns an empty string.
578
579 2004-10-22  Michael Koch  <konqueror@gmx.de>
580
581         * java/lang/Math.java,
582         java/lang/StackTraceElement.java,
583         java/nio/Buffer.java,
584         java/nio/ByteBuffer.java,
585         java/nio/CharBuffer.java,
586         java/nio/DoubleBuffer.java,
587         java/nio/FloatBuffer.java,
588         java/nio/IntBuffer.java,
589         java/nio/LongBuffer.java,
590         java/nio/ShortBuffer.java,
591         java/nio/charset/Charset.java,
592         java/rmi/server/RMIClassLoader.java,
593         java/rmi/server/RMISocketFactory.java,
594         java/security/Policy.java,
595         java/text/ChoiceFormat.java,
596         java/text/CollationElementIterator.java,
597         java/text/DateFormat.java,
598         java/text/DecimalFormat.java,
599         java/text/DecimalFormatSymbols.java,
600         java/text/MessageFormat.java,
601         java/text/NumberFormat.java,
602         java/text/RuleBasedCollator.java,
603         java/text/SimpleDateFormat.java,
604         java/util/BitSet.java,
605         java/util/Calendar.java,
606         java/util/Collections.java,
607         java/util/IdentityHashMap.java,
608         java/util/Locale.java,
609         java/util/TreeMap.java,
610         java/util/logging/LogRecord.java,
611         java/util/logging/XMLFormatter.java,
612         java/util/prefs/AbstractPreferences.java,
613         java/util/prefs/Preferences.java,
614         javax/crypto/interfaces/DHPrivateKey.java,
615         javax/crypto/interfaces/DHPublicKey.java,
616         javax/crypto/interfaces/PBEKey.java,
617         javax/net/ssl/HandshakeCompletedEvent.java,
618         javax/security/auth/Subject.java:
619         Removed redundant and reordered modifiers.
620
621 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
622
623         * gnu/java/net/natPlainSocketImplPosix.cc
624         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
625         with 'int *' argument instead of 'long *'.
626
627 2004-10-21  Michael Koch  <konqueror@gmx.de>
628
629         * java/net/NetworkInterface.java,
630         java/text/Format.java,
631         javax/security/auth/x500/X500Principal.java,
632         javax/security/auth/x500/X500PrivateCredential.java,
633         javax/security/cert/X509CertBridge.java,
634         javax/security/sasl/Sasl.java,
635         javax/sql/XAConnection.java:
636         Import cleanup.
637
638 2004-10-21  Michael Koch  <konqueror@gmx.de>
639
640         * javax/net/ssl/HandshakeCompletedEvent.java,
641         javax/net/ssl/KeyManagerFactory.java,
642         javax/net/ssl/SSLContext.java,
643         javax/net/ssl/SSLServerSocketFactory.java,
644         javax/net/ssl/SSLSession.java,
645         javax/net/ssl/SSLSocketFactory.java,
646         javax/net/ssl/TrustManagerFactory.java:
647         Import cleanup.
648
649 2004-10-21  Michael Koch  <konqueror@gmx.de>
650
651         * javax/naming/directory/BasicAttribute.java,
652         javax/naming/directory/BasicAttributes.java,
653         javax/naming/directory/InitialDirContext.java,
654         javax/naming/event/NamingEvent.java,
655         javax/naming/ldap/ControlFactory.java,
656         javax/naming/ldap/ExtendedRequest.java,
657         javax/naming/ldap/InitialLdapContext.java,
658         javax/naming/ldap/LdapReferralException.java,
659         javax/naming/spi/DirObjectFactory.java,
660         javax/naming/spi/DirStateFactory.java,
661         javax/naming/spi/DirectoryManager.java,
662         javax/naming/spi/InitialContextFactory.java,
663         javax/naming/spi/InitialContextFactoryBuilder.java,
664         javax/naming/spi/NamingManager.java,
665         javax/naming/spi/ObjectFactory.java,
666         javax/naming/spi/ObjectFactoryBuilder.java,
667         javax/naming/spi/StateFactory.java:
668         Import cleanup.
669
670 2004-10-21  Michael Koch  <konqueror@gmx.de>
671
672         * javax/crypto/Cipher.java,
673         javax/crypto/EncryptedPrivateKeyInfo.java,
674         javax/crypto/ExemptionMechanism.java,
675         javax/crypto/KeyAgreement.java,
676         javax/crypto/KeyGenerator.java,
677         javax/crypto/Mac.java,
678         javax/crypto/SecretKeyFactory.java,
679         javax/crypto/SecretKeyFactorySpi.java,
680         javax/crypto/spec/SecretKeySpec.java:
681         Import cleanup.
682
683 2004-10-21  Michael Koch  <konqueror@gmx.de>
684
685         * java/security/AlgorithmParameterGenerator.java,
686         java/security/AlgorithmParameters.java,
687         java/security/AlgorithmParametersSpi.java,
688         java/security/AllPermission.java,
689         java/security/BasicPermission.java,
690         java/security/Certificate.java,
691         java/security/CodeSource.java,
692         java/security/DigestInputStream.java,
693         java/security/DigestOutputStream.java,
694         java/security/GuardedObject.java,
695         java/security/KeyFactory.java,
696         java/security/KeyFactorySpi.java,
697         java/security/KeyPairGenerator.java,
698         java/security/KeyStore.java,
699         java/security/KeyStoreSpi.java,
700         java/security/Permissions.java,
701         java/security/Security.java,
702         java/security/Signature.java,
703         java/security/UnresolvedPermission.java,
704         java/security/cert/CertPathBuilder.java,
705         java/security/cert/CertPathValidator.java,
706         java/security/cert/CertStore.java,
707         java/security/cert/Certificate.java,
708         java/security/cert/CertificateFactory.java,
709         java/security/cert/PolicyQualifierInfo.java,
710         java/security/cert/TrustAnchor.java,
711         java/security/cert/X509CRL.java,
712         java/security/cert/X509CRLSelector.java,
713         java/security/cert/X509CertSelector.java:
714         Import cleanup.
715
716 2004-10-21  Michael Koch  <konqueror@gmx.de>
717
718         * java/rmi/MarshalledObject.java,
719         java/rmi/Naming.java,
720         java/rmi/activation/Activatable.java,
721         java/rmi/activation/ActivationGroup.java,
722         java/rmi/activation/ActivationGroupDesc.java,
723         java/rmi/activation/ActivationInstantiator.java,
724         java/rmi/activation/ActivationMonitor.java,
725         java/rmi/activation/ActivationSystem.java,
726         java/rmi/activation/Activator.java,
727         java/rmi/registry/LocateRegistry.java,
728         java/rmi/registry/Registry.java,
729         java/rmi/server/LogStream.java,
730         java/rmi/server/ObjID.java,
731         java/rmi/server/RMIClientSocketFactory.java,
732         java/rmi/server/RMIServerSocketFactory.java,
733         java/rmi/server/RMISocketFactory.java,
734         java/rmi/server/RemoteCall.java,
735         java/rmi/server/RemoteServer.java,
736         java/rmi/server/ServerRef.java,
737         java/rmi/server/UID.java,
738         java/rmi/server/UnicastRemoteObject.java:
739         Import cleanup.
740
741 2004-10-21  Tom Tromey  <tromey@redhat.com>
742
743         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
744         exception if we hit EOF of `in'.
745         (read): Handle case where inflating returns -1.
746
747 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
748
749         * gnu/java/nio/channels/natFileChannelPosix.cc
750         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
751         argument instead of 'long *'.
752
753 2004-10-21  Tom Tromey  <tromey@redhat.com>
754
755         * java/util/ResourceBundle.java (tryBundle): Also ignore
756         ClassCastException.
757
758 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
759
760         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
761         for all sh*-*-linux* targets.
762         * configure: Regenerate.
763         * include/sh-signal.h: New file.
764
765 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
766
767         * java/lang/ieeefp.h: Add m32r support.
768
769 2004-10-20  Andreas Schwab  <schwab@suse.de>
770
771         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
772         to uaddr, not int.
773         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
774         Likewise.
775
776 2004-10-20  Michael Koch  <konqueror@gmx.de>
777
778         * javax/print/attribute/standard/ColorSupported.java,
779         javax/print/attribute/standard/Compression.java,
780         javax/print/attribute/standard/Copies.java,
781         javax/print/attribute/standard/CopiesSupported.java,
782         javax/print/attribute/standard/DateTimeAtCompleted.java,
783         javax/print/attribute/standard/DateTimeAtCreation.java,
784         javax/print/attribute/standard/DateTimeAtProcessing.java,
785         javax/print/attribute/standard/DocumentName.java,
786         javax/print/attribute/standard/Fidelity.java,
787         javax/print/attribute/standard/Finishings.java,
788         javax/print/attribute/standard/JobHoldUntil.java,
789         javax/print/attribute/standard/JobImpressions.java,
790         javax/print/attribute/standard/JobImpressionsCompleted.java,
791         javax/print/attribute/standard/JobImpressionsSupported.java,
792         javax/print/attribute/standard/JobKOctets.java,
793         javax/print/attribute/standard/JobKOctetsProcessed.java,
794         javax/print/attribute/standard/JobKOctetsSupported.java,
795         javax/print/attribute/standard/JobMediaSheets.java,
796         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
797         javax/print/attribute/standard/JobMediaSheetsSupported.java,
798         javax/print/attribute/standard/JobMessageFromOperator.java,
799         javax/print/attribute/standard/JobName.java,
800         javax/print/attribute/standard/JobOriginatingUserName.java,
801         javax/print/attribute/standard/JobPriority.java,
802         javax/print/attribute/standard/JobPrioritySupported.java,
803         javax/print/attribute/standard/JobSheets.java,
804         javax/print/attribute/standard/JobState.java,
805         javax/print/attribute/standard/JobStateReason.java,
806         javax/print/attribute/standard/JobStateReasons.java,
807         javax/print/attribute/standard/Media.java,
808         javax/print/attribute/standard/MultipleDocumentHandling.java,
809         javax/print/attribute/standard/NumberOfDocuments.java,
810         javax/print/attribute/standard/NumberOfInterveningJobs.java,
811         javax/print/attribute/standard/NumberUp.java,
812         javax/print/attribute/standard/NumberUpSupported.java,
813         javax/print/attribute/standard/OrientationRequested.java,
814         javax/print/attribute/standard/OutputDeviceAssigned.java,
815         javax/print/attribute/standard/PDLOverrideSupported.java,
816         javax/print/attribute/standard/PageRanges.java,
817         javax/print/attribute/standard/PagesPerMinute.java,
818         javax/print/attribute/standard/PagesPerMinuteColor.java,
819         javax/print/attribute/standard/PrintQuality.java,
820         javax/print/attribute/standard/PrinterInfo.java,
821         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
822         javax/print/attribute/standard/PrinterLocation.java,
823         javax/print/attribute/standard/PrinterMakeAndModel.java,
824         javax/print/attribute/standard/PrinterMessageFromOperator.java,
825         javax/print/attribute/standard/PrinterMoreInfo.java,
826         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
827         javax/print/attribute/standard/PrinterName.java,
828         javax/print/attribute/standard/PrinterStateReason.java,
829         javax/print/attribute/standard/PrinterStateReasons.java,
830         javax/print/attribute/standard/PrinterURI.java,
831         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
832         javax/print/attribute/standard/RequestingUserName.java:
833         Reorganized imports and removed redundant final modifiers.
834
835 2004-10-20  Michael Koch  <konqueror@gmx.de>
836
837         * javax/security/sasl/SaslClient.java,
838         javax/security/sasl/SaslClientFactory.java,
839         javax/security/sasl/SaslException.java,
840         javax/security/sasl/SaslServer.java,
841         javax/security/sasl/SaslServerFactory.java:
842         Remvoed CVS tags.
843
844 2004-10-20  Michael Koch  <konqueror@gmx.de>
845
846         * javax/security/auth/login/NullConfiguration.java,
847         javax/security/auth/x500/X500Principal.java,
848         javax/security/cert/X509Certificate.java,
849         javax/security/sasl/AuthenticationException.java,
850         javax/security/sasl/AuthorizeCallback.java,
851         javax/security/sasl/RealmCallback.java,
852         javax/security/sasl/RealmChoiceCallback.java,
853         javax/security/sasl/Sasl.java,
854         javax/security/sasl/SaslClient.java,
855         javax/security/sasl/SaslClientFactory.java,
856         javax/security/sasl/SaslException.java,
857         javax/security/sasl/SaslServer.java,
858         javax/security/sasl/SaslServerFactory.java:
859         Cleaned up import statements and copyright notices.
860
861 2004-10-20  Michael Koch  <konqueror@gmx.de>
862
863         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
864
865 2004-10-20  Michael Koch  <konqueror@gmx.de>
866
867         * java/sql/Timestamp.java,
868         java/text/AttributedCharacterIterator.java,
869         java/text/AttributedString.java,
870         java/util/zip/CheckedOutputStream.java,
871         java/util/zip/DeflaterOutputStream.java,
872         java/util/zip/ZipFile.java,
873         javax/crypto/Cipher.java,
874         javax/crypto/ExemptionMechanismException.java,
875         javax/crypto/SecretKey.java,
876         javax/crypto/SecretKeyFactory.java,
877         javax/naming/directory/ModificationItem.java,
878         javax/naming/directory/SearchControls.java,
879         javax/naming/event/NamingListener.java,
880         javax/naming/ldap/Control.java,
881         javax/naming/ldap/ExtendedResponse.java,
882         javax/net/ssl/SSLSocketFactory.java:
883         Reorganized imports and fixed copyright headers.
884
885 2004-10-20  Michael Koch  <konqueror@gmx.de>
886
887         * java/util/logging/ConsoleHandler.java,
888         java/util/logging/ErrorManager.java,
889         java/util/logging/FileHandler.java,
890         java/util/logging/Filter.java,
891         java/util/logging/Formatter.java,
892         java/util/logging/Handler.java,
893         java/util/logging/Level.java,
894         java/util/logging/LogManager.java,
895         java/util/logging/LogRecord.java,
896         java/util/logging/Logger.java,
897         java/util/logging/LoggingPermission.java,
898         java/util/logging/MemoryHandler.java,
899         java/util/logging/SimpleFormatter.java,
900         java/util/logging/SocketHandler.java,
901         java/util/logging/StreamHandler.java,
902         java/util/logging/XMLFormatter.java:
903         Standardized copyrigth header.
904
905 2004-10-20  Michael Koch  <konqueror@gmx.de>
906
907         * java/security/AlgorithmParameterGenerator.java,
908         java/security/AlgorithmParameters.java,
909         java/security/DigestInputStream.java,
910         java/security/Identity.java,
911         java/security/KeyFactory.java,
912         java/security/KeyPairGenerator.java,
913         java/security/KeyStore.java,
914         java/security/MessageDigest.java,
915         java/security/MessageDigestSpi.java,
916         java/security/Policy.java,
917         java/security/SecureRandom.java,
918         java/security/Security.java,
919         java/security/Signature.java,
920         java/security/SignatureSpi.java,
921         java/security/cert/CertPathBuilder.java,
922         java/security/cert/CertPathValidator.java,
923         java/security/cert/CertStore.java,
924         java/security/cert/Certificate.java,
925         java/security/cert/CertificateFactory.java,
926         java/security/cert/PolicyQualifierInfo.java,
927         java/security/cert/TrustAnchor.java,
928         java/security/cert/X509CRL.java,
929         java/security/cert/X509CRLEntry.java,
930         java/security/cert/X509Certificate.java,
931         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
932         Import statements reorganized, some little formatting issues,
933         used java-style array declarations, added comments in empty catch
934         blocks.
935
936 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
937
938         * java/security/Security.java
939         (static): Use AccessController.doPrivileged to get system property.
940
941 2004-10-18  Sven de Marothy  <sven@physto.se>
942
943         * java/nio/ByteBufferHelper.java
944         (putDouble): Use Double.toRawLongBits instead.
945
946 2004-10-18  Mark Wielaard  <mark@klomp.org>
947         Andrew Haley  <aph@redhat.com>
948
949         * testsuite/libjava.lang/ExtraClassLoader.java: New.
950
951 2004-10-18  Andrew Haley  <aph@redhat.com>
952
953         PR java/18036:
954         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
955         and correct logic used to find interpreter.
956         
957 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
958
959         * java/util/logging/LogManager.java
960         (findAncestor): Fixed IndexOutOfBoundsException.
961
962 2004-10-18  Michael Koch  <konqueror@gmx.de>
963
964         * java/io/BufferedInputStream.java: Fixed @author tag.
965         (read): Simplified expression.
966         (read): Merged javadoc a bit more.
967         (read): Renamed 'remain' to 'totalBytesRead'.
968         * java/io/DataInputStream.java,
969         java/io/DataOutputStream.java,
970         java/io/ObjectInputStream.java,
971         java/io/ObjectOutputStream.java:
972         Reworked modifier order.
973
974 2004-10-18  Michael Koch  <konqueror@gmx.de>
975
976         * java/net/Inet4Address.java: Merged file header and javadocs.
977         * java/net/Inet6Address.java: Likewise.
978         * java/net/InetAddress.java
979         (getCanonicalHostName): Create Inet4Address object instead of
980         InetAddress and add comment regarding IPv6.
981         (toString): Simplified.
982
983 2004-10-18  Michael Koch  <konqueror@gmx.de>
984
985         * gnu/java/net/protocol/http/Connection.java,
986         java/nio/MappedByteBufferImpl.java,
987         java/text/RuleBasedCollator.java,
988         java/util/ResourceBundle.java:
989         Reworked import statements.
990
991 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
992
993         * java/security/IdentityScope.java
994         (systemScope): Removed useless initializer.
995         * java/security/Policy.java
996         (currentPolicy): Likewise.
997
998 2004-10-18  Michael Koch  <konqueror@gmx.de>
999
1000         * java/lang/System.java: Revert accidential change.
1001
1002 2004-10-18  Michael Koch  <konqueror@gmx.de>
1003
1004         * java/lang/Math.java,
1005         java/lang/Package.java,
1006         java/lang/Runtime.java,
1007         java/lang/StrictMath.java,
1008         java/lang/System.java,
1009         java/lang/Thread.java,
1010         java/lang/ThreadLocal.java,
1011         java/lang/Void.java:
1012         Reworked import statements, HTML in javadocs and modifier orders.
1013
1014 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1015
1016         * java/util/Timer.java
1017         (nr): Removed useless initializer.
1018         * java/util/logging/LogRecord.java
1019         (lastSeqNum): Likewise.
1020         * javax/naming/spi/NamingManager.java
1021         (icfb, ofb): Likewise.
1022
1023 2004-10-18  Michael Koch  <konqueror@gmx.de>
1024
1025         * gnu/java/net/PlainDatagramSocketImpl.java:
1026         Reworked import statements.
1027         * gnu/java/security/provider/DSAParameters.java:
1028         Fixed copyrigth years.
1029         * java/net/JarURLConnection.java:
1030         Fixed HTML in @author tags.
1031         
1032
1033 2004-10-18  Michael Koch  <konqueror@gmx.de>
1034
1035         * java/rmi/activation/ActivationSystem.java
1036         (SYSTEM_PORT): Initialize with correct port number.
1037
1038 2004-10-18  Michael Koch  <konqueror@gmx.de>
1039
1040         * java/lang/reflect/Proxy.java: Improved javadocs.
1041
1042 2004-10-18  Michael Koch  <konqueror@gmx.de>
1043
1044         * java/lang/reflect/AccessibleObject.java
1045         (checkPermission): Removed redundant final modifier.
1046         (secureSetAccessible): Likewise.
1047         * java/lang/reflect/Proxy.java:
1048         Reworked import statements.
1049         (generate): Removed redundant final modifier.
1050         * java/lang/reflect/ReflectPermission.java:
1051         Reorder package declaration and import statement.
1052
1053 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1054
1055         * java/lang/reflect/Proxy.java
1056         (count): Removed useless initializer.
1057
1058 2004-10-17  Michael Koch  <konqueror@gmx.de>
1059
1060         * java/net/BindException.java,
1061         java/net/ConnectException.java,
1062         java/net/ContentHandler.java,
1063         java/net/ContentHandlerFactory.java,
1064         java/net/DatagramPacket.java,
1065         java/net/DatagramSocket.java,
1066         java/net/DatagramSocketImpl.java,
1067         java/net/DatagramSocketImplFactory.java,
1068         java/net/FileNameMap.java,
1069         java/net/HttpURLConnection.java,
1070         java/net/MalformedURLException.java,
1071         java/net/MulticastSocket.java,
1072         java/net/NetworkInterface.java,
1073         java/net/NoRouteToHostException.java,
1074         java/net/PasswordAuthentication.java,
1075         java/net/PortUnreachableException.java,
1076         java/net/ProtocolException.java,
1077         java/net/ServerSocket.java,
1078         java/net/Socket.java,
1079         java/net/SocketException.java,
1080         java/net/SocketImpl.java,
1081         java/net/SocketImplFactory.java,
1082         java/net/SocketOptions.java,
1083         java/net/SocketPermission.java,
1084         java/net/SocketTimeoutException.java,
1085         java/net/URI.java,
1086         java/net/URISyntaxException.java,
1087         java/net/URL.java,
1088         java/net/URLDecoder.java,
1089         java/net/URLEncoder.java,
1090         java/net/URLStreamHandler.java,
1091         java/net/URLStreamHandlerFactory.java,
1092         java/net/UnknownHostException.java,
1093         java/net/UnknownServiceException.java:
1094         Big import statement and @author tag cleanup.
1095
1096 2004-10-17  Michael Koch  <konqueror@gmx.de>
1097
1098         * gnu/java/security/OID.java,
1099         gnu/java/security/provider/DSAParameters.java,
1100         gnu/java/security/provider/DSASignature.java,
1101         gnu/java/security/x509/X500DistinguishedName.java,
1102         gnu/java/security/x509/X509CRL.java:
1103         Import statements cleaned up.
1104
1105 2004-10-16  Michael Koch  <konqueror@gmx.de>
1106
1107         * gnu/java/nio/NIODatagramSocket.java,
1108         gnu/java/nio/ServerSocketChannelImpl.java:
1109         Reorganized import statements.
1110
1111 2004-10-16  Michael Koch  <konqueror@gmx.de>
1112
1113         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1114         gnu/java/rmi/rmic/RMIC.java,
1115         gnu/java/rmi/server/RMIHashes.java,
1116         gnu/java/rmi/server/RMIObjectInputStream.java,
1117         gnu/java/rmi/server/RMIObjectOutputStream.java,
1118         gnu/java/rmi/server/UnicastConnection.java,
1119         gnu/java/rmi/server/UnicastConnectionManager.java,
1120         gnu/java/rmi/server/UnicastRemoteCall.java,
1121         gnu/java/rmi/server/UnicastServer.java,
1122         gnu/java/rmi/server/UnicastServerRef.java,
1123         java/rmi/MarshalledObject.java,
1124         java/rmi/Naming.java,
1125         java/rmi/RMISecurityManager.java,
1126         java/rmi/Remote.java,
1127         java/rmi/activation/Activatable.java,
1128         java/rmi/activation/ActivationDesc.java,
1129         java/rmi/activation/ActivationGroup.java,
1130         java/rmi/activation/ActivationGroupDesc.java,
1131         java/rmi/activation/ActivationGroupID.java,
1132         java/rmi/activation/ActivationID.java,
1133         java/rmi/activation/ActivationInstantiator.java,
1134         java/rmi/activation/ActivationMonitor.java,
1135         java/rmi/activation/ActivationSystem.java,
1136         java/rmi/activation/Activator.java,
1137         java/rmi/dgc/DGC.java,
1138         java/rmi/dgc/Lease.java,
1139         java/rmi/dgc/VMID.java,
1140         java/rmi/registry/LocateRegistry.java,
1141         java/rmi/registry/Registry.java,
1142         java/rmi/registry/RegistryHandler.java,
1143         java/rmi/server/LoaderHandler.java,
1144         java/rmi/server/LogStream.java,
1145         java/rmi/server/ObjID.java,
1146         java/rmi/server/Operation.java,
1147         java/rmi/server/RMIClassLoader.java,
1148         java/rmi/server/RMIClassLoaderSpi.java,
1149         java/rmi/server/RMIClientSocketFactory.java,
1150         java/rmi/server/RMIFailureHandler.java,
1151         java/rmi/server/RMIServerSocketFactory.java,
1152         java/rmi/server/RMISocketFactory.java,
1153         java/rmi/server/RemoteCall.java,
1154         java/rmi/server/RemoteObject.java,
1155         java/rmi/server/RemoteRef.java,
1156         java/rmi/server/RemoteServer.java,
1157         java/rmi/server/RemoteStub.java,
1158         java/rmi/server/ServerRef.java,
1159         java/rmi/server/Skeleton.java,
1160         java/rmi/server/SkeletonMismatchException.java,
1161         java/rmi/server/UID.java,
1162         java/rmi/server/UnicastRemoteObject.java,
1163         java/rmi/server/Unreferenced.java:
1164         File headers and import statements cleaned up.
1165
1166 2004-10-16  Michael Koch  <konqueror@gmx.de>
1167
1168         * libjava/gnu/java/nio/charset/UTF_16.java,
1169         libjava/gnu/java/nio/charset/UTF_16BE.java,
1170         libjava/gnu/java/nio/charset/UTF_16LE.java,
1171         libjava/java/nio/ByteOrder.java,
1172         libjava/java/nio/MappedByteBuffer.java,
1173         libjava/java/nio/channels/Channels.java,
1174         libjava/java/nio/channels/spi/SelectorProvider.java,
1175         libjava/java/nio/charset/Charset.java:
1176         Cleanup.
1177
1178 2004-10-16  Michael Koch  <konqueror@gmx.de>
1179
1180         * gnu/java/nio/charset/UTF_16Encoder.java
1181         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1182
1183 2004-10-16  Michael Koch  <konqueror@gmx.de>
1184
1185         * java/math/BigDecimal.java, java/math/BigInteger.java:
1186         Reorganized import statements, removed redundant and
1187         reorganized modifiers.
1188
1189 2004-10-16  Michael Koch  <konqueror@gmx.de>
1190
1191         * gnu/java/beans/ExplicitBeanInfo.java:
1192         Explicitely import java.awt.Image.
1193         (getIcon): Fixed off-by-one error.
1194
1195 2004-10-15  Andrew Haley  <aph@redhat.com>
1196
1197         * Makefile.am (nat_files, xlib_nat_files): New.
1198         * Makefile.in: Regenerate.
1199
1200 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1201
1202         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1203         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1204
1205 2004-10-13  Andrew Haley  <aph@redhat.com>
1206
1207         * interpret.cc (_Jv_InterpMethod::run): Initialize
1208         _Jv_StartOfInterpreter.
1209         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1210         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1211         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1212         _Unwind_FindEnclosingFunction to discover whether PC is within the
1213         interpreter.
1214
1215 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1216
1217         PR libgcj/17903:
1218         * testsuite/libjava.lang/md5test.java: New file.
1219         * testsuite/libjava.lang/md5test.out: Likewise.
1220         * testsuite/libjava.lang/shatest.java: Likewise.
1221         * testsuite/libjava.lang/shatest.out: Likewise.
1222
1223 2004-10-11  Richard Henderson  <rth@redhat.com>
1224
1225         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1226         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1227
1228 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1229
1230         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1231         field as a DST boundary may have been crossed.
1232         * java/util/GregorianCalendar.java (add): Throw 
1233         IllegalArgumentException on attempt to add to DST_OFFSET or 
1234         ZONE_OFFSET fields. Update javadoc.
1235
1236 2004-10-09  Michael Koch  <konqueror@gmx.de>
1237
1238         * java/io/CharArrayWriter.java
1239         (resize): Removed redundant 'final' modifier.
1240         * java/io/DataInputStream.java
1241         (readFully): Throw IndexOutOfBoundsException of len < 0.
1242         * java/io/FileDescriptor.java,
1243         java/io/FileInputStream.java,
1244         java/io/FileOutputStream.java,
1245         java/io/ObjectOutputStream.java,
1246         java/io/ObjectStreamClass.java,
1247         java/io/PipedInputStream.java,
1248         java/io/RandomAccessFile.java:
1249         Reorganized import statements.
1250
1251 2004-10-09  Michael Koch  <konqueror@gmx.de>
1252
1253         * gnu/java/rmi/rmic/RMIC.java,
1254         gnu/java/rmi/server/RMIHashes.java,
1255         gnu/java/rmi/server/RMIObjectInputStream.java,
1256         gnu/java/rmi/server/UnicastConnection.java,
1257         gnu/java/rmi/server/UnicastConnectionManager.java,
1258         gnu/java/rmi/server/UnicastRemoteCall.java,
1259         gnu/java/rmi/server/UnicastServerRef.java:
1260         Reworked import statements and fixed file headers.
1261
1262 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1263
1264         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1265         emission rule.
1266         * configure: Rebuilt.
1267
1268 2004-09-30  Tom Tromey  <tromey@redhat.com>
1269
1270         * java/text/MessageFormat.java (Field): Constructor now
1271         protected.
1272
1273 2004-09-30  Tom Tromey  <tromey@redhat.com>
1274
1275         * javax/crypto/MacSpi.java: Fixed typo.
1276
1277 2004-09-30  Michael Koch  <konqueror@gmx.de>
1278
1279         * java/net/InetAddress.java: Reformatted.
1280         (loopback): Initialize with Inet4Address object.
1281         (static): Initialize ANY_IF with Inet4Address object.
1282         (InetAddress): Removed unused package-private constructor.
1283
1284 2004-09-30  Michael Koch  <konqueror@gmx.de>
1285
1286         * java/beans/Beans.java,
1287         java/beans/EventHandler.java,
1288         java/beans/EventSetDescriptor.java,
1289         java/beans/Introspector.java,
1290         java/beans/PropertyEditorManager.java,
1291         java/beans/beancontext/BeanContext.java,
1292         java/beans/beancontext/BeanContextChild.java,
1293         java/beans/beancontext/BeanContextChildSupport.java,
1294         java/beans/beancontext/BeanContextMembershipEvent.java:
1295         Reordered import statements and removed redundant modifiers.
1296
1297 2004-09-29  Tom Tromey  <tromey@redhat.com>
1298
1299         PR libgcj/17715:
1300         * Makefile.in: Rebuilt.
1301         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1302         files.
1303         (all_property_files): New macro.
1304
1305         * Makefile.in: Rebuilt.
1306         * Makefile.am (ordinary_java_source_files): Re-sorted.
1307         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1308
1309 2004-09-28  Tom Tromey  <tromey@redhat.com>
1310
1311         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1312
1313         PR libgcj/17222:
1314         * Makefile.am (libgcj.la): Restored.
1315         * Makefile.in: Rebuilt.
1316
1317 2004-09-28  Michael Koch  <konqueror@gmx.de>
1318
1319         * java/net/URLConnection.java: Reformatted.
1320         * java/net/URLClassLoader.java: Reformatted.
1321         (getContent): Reordered return of content.
1322         (getContentHandler): Don't check for null explicitely.
1323
1324 2004-09-27  Michael Koch  <konqueror@gmx.de>
1325
1326         * java/io/BufferedInputStream.java
1327         (BufferedInputStream): Added Jeroen Frijters to authors.
1328         (count): Don't explicitely initialize with default value.
1329         (pos): Likewise.
1330         (marklimit): Likewise.
1331         (read): Changed boolean expression to match GNU classpath' version.
1332         (reset): Add proper message to exception.
1333         (skip): Check for closed stream.
1334         (refill): Likewise.
1335
1336 2004-09-26  Per Bothner  <per@bothner.com>
1337
1338         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1339         avoid warnings in the non-POSIX_VERSION case.
1340         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1341         so place it inside an #if block.
1342         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1343         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1344         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1345         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1346
1347 2004-09-26  Per Bothner  <per@bothner.com>
1348
1349         * prims.cc (process_gcj_properties):  Optimization.
1350
1351 2004-09-26  Per Bothner  <per@bothner.com>
1352
1353         * java/util/Collections.java (sort):  Copy from array in forwards
1354         order, rather than reverse order which may be much less efficient.
1355
1356 2004-09-26  Mark Wielaard  <mark@klomp.org>
1357
1358         * java/lang/System.java (properties): Make package private.
1359         * java/lang/Throwable.java (StaticData.nl): Initialize through
1360         directly accessing System.properties.getProperty().
1361
1362         * java/lang/Throwable.java (nl): Remove static field.
1363         (StaticData): New private static inner class.
1364         (stackTraceStringBuffer): Use StaticData.nl.
1365
1366 2004-09-26  Casey Marshall <csm@gnu.org>
1367
1368         * java/security/ProtectionDomain.java
1369         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1370         `true'.
1371
1372         * java/security/SecureClassLoader.java
1373         (defineClass): make protection domain dynamically bound.
1374         (getPermissions): call `getCurrentPolicy' to avoid permission
1375         check.
1376
1377 2004-09-25  Mark Wielaard  <mark@klomp.org>
1378
1379         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1380         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1381         * Makefile.in: Regenerated.
1382
1383         * gcj/javaprims.h: Regenerated.
1384
1385         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1386         (getDefaultTimeZone): Make package private. Check that GMToffset
1387         contains at least one digit.
1388         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1389         VMTimeZone.
1390         * util/VMTimeZone.java: New file with above methods.
1391
1392         * java/util/natTimeZone.cc: Removed (renamed).
1393         * java/util/natVMTimeZone.cc: Added (renamed).
1394
1395 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1396
1397         * java/util/TimeZone.java
1398         (getDefaultTimeZone): Fixed test to distinguish between hours and
1399         minutes in specified timezone.
1400
1401 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1402
1403         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1404         handling of default package. (generate): Removed confused comments
1405         and code about making Method and Field accessible.
1406
1407 2004-09-25  Tom Tromey  <tromey@redhat.com>
1408
1409         PR java/17500:
1410         * testsuite/libjava.compile/pr17500.java: New file.
1411
1412 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1413             Mark Wielaard  <mark@klomp.org>
1414
1415         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1416         * gnu/regexp/RETokenLookAhead.java: New file.
1417
1418         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1419         * Makefile.in: Regenerated.
1420
1421 2004-09-25  Michael Koch  <konqueror@gmx.de>
1422
1423         * java/io/ObjectStreamField.java:
1424         Removed unused import statement.
1425
1426 2004-09-24  Tom Tromey  <tromey@redhat.com>
1427
1428         PR java/15656:
1429         * testsuite/libjava.compile/pr15656.xfail: New file.
1430         * testsuite/libjava.compile/pr15656.java: new file.
1431
1432         PR java/16789:
1433         * testsuite/libjava.lang/pr16789.out: New file.
1434         * testsuite/libjava.lang/pr16789.java: New file.
1435
1436 2004-09-24  Andrew Haley  <aph@redhat.com>
1437
1438         PR java/16927
1439         * testsuite/libjava.compile/AssertBug.java: New file.
1440
1441 2004-09-24  Casey Marshall <csm@gnu.org>
1442
1443         * java/util/PropertyPermissionCollection.java
1444         (implies): avoid infinite loop.
1445
1446 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1447
1448         * javax/security/auth/PrivateCredentialPermission.java
1449         (PrivateCredentialPermission): added serialization UID
1450
1451
1452 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1453
1454         * gnu/java/rmi/server/UnicastServer.java
1455         (incomingMessageCall): Added code to handle Errors.
1456         * gnu/java/rmi/server/UnicastServerRef.java
1457         (incomingMessageCall): Added code to handle Errors.
1458
1459
1460 2004-09-24  Tom Tromey  <tromey@redhat.com>
1461
1462         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1463         (definedPackages): Likewise.
1464
1465 2004-09-24  Michael Koch  <konqueror@gmx.de>
1466
1467         * java/io/ObjectInputStream.java:
1468         Re-ordered imports.
1469
1470 2004-09-24  Casey Marshall <csm@gnu.org>
1471
1472         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1473         `ClassNotFoundException'.
1474
1475 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1476
1477         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1478         of Externalizable classes to ObjectStreamClass.
1479         * java/io/ObjectStreamClass.java (newInstance): New method to
1480         instantiate Externalizable (while ignoring the accessibility of
1481         the constructor). (constructor): New field to cache the constructor.
1482
1483 2004-09-24  Mark Wielaard  <mark@klomp.org>
1484
1485         * java/net/URL.java (systemClassLoader): New static field.
1486         (getURLStreamHandler): Always use system/application classloader
1487         for finding URLStreamhandler. Remove unecessary instanceof checks.
1488
1489 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1490
1491         * java/net/URL.java
1492         (set): This method now matches the behaviour of the JDK.
1493         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1494
1495 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1496
1497         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1498
1499 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1500
1501         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1502         Don't set authority if host isn't specified.
1503
1504 2004-09-24  Michael Koch  <konqueror@gmx.de>
1505
1506         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1507         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1508         * gnu/java/nio/VMPipe.java,
1509         gnu/java/nio/VMSelector.java:
1510         New files.
1511         * gnu/java/nio/natPipeImplEcos.cc,
1512         gnu/java/nio/natPipeImplPosix.cc,
1513         gnu/java/nio/natPipeImplWin32.cc:
1514         Ported to VMPipe.
1515         * gnu/java/nio/natSelectorImplEcos.cc,
1516         gnu/java/nio/natSelectorImplPosix.cc,
1517         gnu/java/nio/natSelectorImplWin32.cc:
1518         Ported to VMSelector.
1519         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1520         gnu/java/nio/VMSelector.java.
1521         * Makefile.in: Regenerated.
1522
1523 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1524
1525         * java/lang/StackTraceElement.java
1526         (className): Renamed field to declaringClass to be compatible
1527         with Sun serialization format.
1528
1529 2004-09-23  Michael Koch  <konqueror@gmx.de>
1530
1531         * java/applet/AppletContext.java,
1532         java/applet/Applet.java,
1533         java/applet/AppletStub.java,
1534         java/applet/AudioClip.java:
1535         Jalopied and checkstyle clean.
1536
1537 2004-09-23  Mark Wielaard  <mark@klomp.org>
1538
1539         * java/util/Collections.java
1540         (binarySearch(List, Object, Comparator)): Explicitly
1541         reverse direction in list iterator.
1542         (rotate): Just return when list is empty.
1543
1544 2004-09-23  Tom Tromey  <tromey@redhat.com>
1545
1546         PR java/17329:
1547         * testsuite/libjava.compile/pr17329.java: New file.
1548
1549         PR java/17380:
1550         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1551         9.2-implicit-7.
1552
1553 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1554
1555         * Makefile.am: Run aclocal with -I ../config
1556         * acinclude.m4: Delete macros picked up from ../config and tidy.
1557         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1558         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1559         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1560
1561 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1562
1563         * aclocal.m4: Regenerate with aclocal 1.9.2.
1564         * configure: Regenerate.
1565         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1566         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1567
1568 2004-09-22  David Daney  <ddaney@avtrex.com>
1569
1570         PR libgcj/17623
1571         * java/net/URL.java (URL): Copy userInfo from context.
1572         (getUserInfo): Return cached userInfo if present.
1573
1574 2004-09-22  Tom Tromey  <tromey@redhat.com>
1575
1576         PR libgcj/6182:
1577         * mauve-libgcj: Enable java.lang.Character tests.
1578
1579 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1580
1581         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1582         dependencies.
1583         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1584         * Makefile.in: Regenerated.
1585
1586 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1587
1588         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1589         * configure: Regenerate.
1590         * include/config.h.in: Likewise.
1591         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1593         macro to gtkpeer.h.
1594         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1595         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1596         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1597         architectures.
1598         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1599         Likewise.
1600
1601 2004-09-22  Tom Tromey  <tromey@redhat.com>
1602
1603         PR libgcj/14446:
1604         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1605         when comparing CRCs.
1606         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1607         field.
1608         (read()): New overload.
1609
1610 2004-09-21  Tom Tromey  <tromey@redhat.com>
1611
1612         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1613         Indentation fix.
1614
1615 2004-09-21  Michael Koch  <konqueror@gmx.de>
1616
1617         * java/net/Socket.java
1618         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1619
1620 2004-09-21  Casey Marshall  <csm@gnu.org>
1621
1622         * javax/crypto/MacSpi.java (clone): Provide meaningful
1623         implementation.
1624
1625 2004-09-21  Tom Tromey  <tromey@redhat.com>
1626
1627         PR libgcj/16869:
1628         * Makefile.in: Rebuilt.
1629         * Makefile.am (MOSTLYCLEANFILES): Removed.
1630         (mostlyclean-local): Remove header files.
1631
1632 2004-09-21  Casey Marshall  <csm@gnu.org>
1633
1634         * java/security/cert/X509CRLSelector.java:
1635         (match): remove unreachable try-catch clauses.
1636         Reported by: Dalibor Topic <robilad@kaffe.org>
1637
1638 2004-09-21  Mark Wielaard  <mark@klomp.org>
1639
1640         * java/util/TreeMap.java (root): Don't initialize.
1641         (TreeMap(Comparator)): Call fabricateTree(0).
1642         (fabricateTree): Initialize root and size when count is 0.
1643
1644 2004-09-21  Sven de Marothy <sven@physto.se>
1645
1646         * java/nio/ByteBuffer.java (hashCode): Implemented.
1647         * java/nio/CharBuffer.java: Likewise.
1648         * java/nio/DoubleBuffer.java: Likewise.
1649         * java/nio/FloatBuffer.java: Likewise.
1650         * java/nio/LongBuffer.java: Likewise.
1651         * java/nio/IntBuffer.java: Likewise.
1652         * java/nio/ShortBuffer.java: Likewise.
1653
1654 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1655
1656         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1657
1658 2004-09-21  Michael Koch  <konqueror@gmx.de>
1659
1660         * javax/net/ssl/SSLServerSocket.java:
1661         Removed comment about "Do not edit this file, it's generated.".
1662
1663 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1664
1665         Import the big Crypto/Jessie/Security merge from Classpath.
1666
1667         * Makefile.am: Add imported files.
1668         * Makefile.in: Regenerate.
1669
1670         2004-08-14  Casey Marshall <csm@gnu.org>
1671
1672         The Big Crypto Merge of 2004.
1673
1674         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1675         Crypto's version.
1676
1677         Files imported from GNU Crypto.
1678         * javax/crypto/BadPaddingException.java
1679         * javax/crypto/Cipher.java
1680         * javax/crypto/CipherInputStream.java
1681         * javax/crypto/CipherOutputStream.java
1682         * javax/crypto/CipherSpi.java
1683         * javax/crypto/EncryptedPrivateKeyInfo.java
1684         * javax/crypto/ExemptionMechanism.java
1685         * javax/crypto/ExemptionMechanismException.java
1686         * javax/crypto/ExemptionMechanismSpi.java
1687         * javax/crypto/IllegalBlockSizeException.java
1688         * javax/crypto/KeyAgreement.java
1689         * javax/crypto/KeyAgreementSpi.java
1690         * javax/crypto/KeyGenerator.java
1691         * javax/crypto/KeyGeneratorSpi.java
1692         * javax/crypto/Mac.java
1693         * javax/crypto/MacSpi.java
1694         * javax/crypto/Makefile.am
1695         * javax/crypto/NoSuchPaddingException.java
1696         * javax/crypto/NullCipher.java
1697         * javax/crypto/NullCipherImpl.java
1698         * javax/crypto/SealedObject.java
1699         * javax/crypto/SecretKey.java
1700         * javax/crypto/SecretKeyFactory.java
1701         * javax/crypto/SecretKeyFactorySpi.java
1702         * javax/crypto/ShortBufferException.java
1703         * javax/crypto/interfaces/DHKey.java
1704         * javax/crypto/interfaces/DHPrivateKey.java
1705         * javax/crypto/interfaces/DHPublicKey.java
1706         * javax/crypto/interfaces/PBEKey.java
1707         * javax/crypto/spec/DESKeySpec.java
1708         * javax/crypto/spec/DESedeKeySpec.java
1709         * javax/crypto/spec/DHGenParameterSpec.java
1710         * javax/crypto/spec/DHParameterSpec.java
1711         * javax/crypto/spec/DHPrivateKeySpec.java
1712         * javax/crypto/spec/DHPublicKeySpec.java
1713         * javax/crypto/spec/IvParameterSpec.java
1714         * javax/crypto/spec/PBEKeySpec.java
1715         * javax/crypto/spec/PBEParameterSpec.java
1716         * javax/crypto/spec/RC2ParameterSpec.java
1717         * javax/crypto/spec/RC5ParameterSpec.java
1718         * javax/crypto/spec/SecretKeySpec.java
1719         * javax/security/auth/AuthPermission.java
1720         * javax/security/auth/DestroyFailedException.java
1721         * javax/security/auth/Destroyable.java
1722         * javax/security/auth/Policy.java
1723         * javax/security/auth/PrivateCredentialPermission.java
1724         * javax/security/auth/RefreshFailedException.java
1725         * javax/security/auth/Refreshable.java
1726         * javax/security/auth/Subject.java
1727         * javax/security/auth/SubjectDomainCombiner.java
1728         * javax/security/auth/callback/Callback.java
1729         * javax/security/auth/callback/CallbackHandler.java
1730         * javax/security/auth/callback/ChoiceCallback.java
1731         * javax/security/auth/callback/ConfirmationCallback.java
1732         * javax/security/auth/callback/LanguageCallback.java
1733         * javax/security/auth/callback/NameCallback.java
1734         * javax/security/auth/callback/PasswordCallback.java
1735         * javax/security/auth/callback/TextInputCallback.java
1736         * javax/security/auth/callback/TextOutputCallback.java
1737         * javax/security/auth/callback/UnsupportedCallbackException.java
1738         * javax/security/auth/login/AccountExpiredException.java
1739         * javax/security/auth/login/AppConfigurationEntry.java
1740         * javax/security/auth/login/Configuration.java
1741         * javax/security/auth/login/CredentialExpiredException.java
1742         * javax/security/auth/login/FailedLoginException.java
1743         * javax/security/auth/login/LoginContext.java
1744         * javax/security/auth/login/LoginException.java
1745         * javax/security/auth/login/NullConfiguration.java
1746         * javax/security/auth/x500/X500PrivateCredential.java
1747         * javax/security/sasl/AuthenticationException.java
1748         * javax/security/sasl/AuthorizeCallback.java
1749         * javax/security/sasl/RealmCallback.java
1750         * javax/security/sasl/RealmChoiceCallback.java
1751         * javax/security/sasl/Sasl.java
1752         * javax/security/sasl/SaslClient.java
1753         * javax/security/sasl/SaslClientFactory.java
1754         * javax/security/sasl/SaslException.java
1755         * javax/security/sasl/SaslServer.java
1756         * javax/security/sasl/SaslServerFactory.java
1757         * org/ietf/jgss/ChannelBinding.java
1758         * org/ietf/jgss/GSSContext.java
1759         * org/ietf/jgss/GSSCredential.java
1760         * org/ietf/jgss/GSSException.java
1761         * org/ietf/jgss/GSSManager.java
1762         * org/ietf/jgss/GSSName.java
1763         * org/ietf/jgss/MessageProp.java
1764         * org/ietf/jgss/Oid.java
1765         * org/ietf/jgss/MessagesBundle.properties
1766
1767         Files imported from Jessie <http://www.nongnu.org/jessie/>
1768         * javax/net/ServerSocketFactory.java
1769         * javax/net/SocketFactory.java
1770         * javax/net/VanillaServerSocketFactory.java
1771         * javax/net/VanillaSocketFactory.java
1772         * javax/net/ssl/HandshakeCompletedEvent.java
1773         * javax/net/ssl/HandshakeCompletedListener.java
1774         * javax/net/ssl/HostnameVerifier.java
1775         * javax/net/ssl/HttpsURLConnection.java
1776         * javax/net/ssl/KeyManager.java
1777         * javax/net/ssl/KeyManagerFactory.java
1778         * javax/net/ssl/KeyManagerFactorySpi.java
1779         * javax/net/ssl/ManagerFactoryParameters.java
1780         * javax/net/ssl/SSLContext.java
1781         * javax/net/ssl/SSLContextSpi.java
1782         * javax/net/ssl/SSLException.java
1783         * javax/net/ssl/SSLHandshakeException.java
1784         * javax/net/ssl/SSLKeyException.java
1785         * javax/net/ssl/SSLPeerUnverifiedException.java
1786         * javax/net/ssl/SSLPermission.java
1787         * javax/net/ssl/SSLProtocolException.java
1788         * javax/net/ssl/SSLServerSocket.java
1789         * javax/net/ssl/SSLServerSocketFactory.java
1790         * javax/net/ssl/SSLSession.java
1791         * javax/net/ssl/SSLSessionBindingEvent.java
1792         * javax/net/ssl/SSLSessionBindingListener.java
1793         * javax/net/ssl/SSLSessionContext.java
1794         * javax/net/ssl/SSLSocket.java
1795         * javax/net/ssl/SSLSocketFactory.java
1796         * javax/net/ssl/TrivialHostnameVerifier.java
1797         * javax/net/ssl/TrustManager.java
1798         * javax/net/ssl/TrustManagerFactory.java
1799         * javax/net/ssl/TrustManagerFactorySpi.java
1800         * javax/net/ssl/X509KeyManager.java
1801         * javax/net/ssl/X509TrustManager.java
1802         * javax/security/cert/Certificate.java
1803         * javax/security/cert/CertificateEncodingException.java
1804         * javax/security/cert/CertificateException.java
1805         * javax/security/cert/CertificateExpiredException.java
1806         * javax/security/cert/CertificateNotYetValidException.java
1807         * javax/security/cert/CertificateParsingException.java
1808         * javax/security/cert/X509CertBridge.java
1809         * javax/security/cert/X509Certificate.java
1810
1811         2004-08-20  Casey Marshall  <csm@gnu.org>
1812
1813         * java/security/cert/X509CRLSelector.java: New file.
1814         * java/security/cert/X509CertSelector.java: New file.
1815
1816 2004-09-15  Michael Koch  <konqueror@gmx.de>
1817
1818         * gnu/java/net/protocol/file/Handler.java
1819         (openConnection): Don't throw exception if host part for file: URI is
1820         present. setURL() keeps file: protocol if ftp: protocol is not
1821         available.
1822
1823 2004-09-14  Richard Henderson  <rth@redhat.com>
1824
1825         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1826         value of sigsuspend.
1827
1828 2004-09-12  Tom Tromey  <tromey@redhat.com>
1829
1830         * javax/naming/CompoundName.java (CompoundName): Don't check for
1831         separator in "flat" case.
1832
1833 2004-09-12  Michael Koch  <konqueror@gmx.de>
1834
1835         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1836         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1837         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1838         Regenerate.
1839
1840 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1841
1842         PR libgcj/14751
1843         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1844         handle in newly-allocated _Jv_Thread_t.
1845         (_Jv_ThreadDestroyData): Close thread handle.
1846         (_Jv_ThreadStart): Remove obsolete comment.
1847         Store handle of newly-created thread in _Jv_Thread_t.
1848         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1849         before including <windows.h>
1850         #define _Jv_HaveCondDestroy
1851
1852 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1853
1854         * java/lang/natThread.cc (finalize_native): Destroy
1855         join conditional variable and mutex if these destroy
1856         operations are supported.
1857
1858 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1859
1860         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1861         (DEFAULT_PERMISSION): New constant.
1862         (Connection): Create a FilePermission with permission to read file.
1863
1864 2004-09-10  Michael Koch  <konqueror@gmx.de>
1865
1866         * gnu/java/net/protocol/file/Connection.java
1867         (getLastModified): Moved around.
1868         (getPermission): Return stored permission.
1869
1870 2004-09-10  Michael Koch  <konqueror@gmx.de>
1871
1872         * Makefile.in: Regenerate.
1873
1874 2004-09-10  Michael Koch  <konqueror@gmx.de>
1875
1876         * Makefile.am: Reverted accidently commited stuff.
1877         * configure: Regenerated.
1878
1879 2004-09-10  Michael Koch  <konqueror@gmx.de>
1880
1881         * gnu/java/net/protocol/file/Connection.java
1882         (lineSeparator): Made non-final.
1883         (static): Removed.
1884         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1885         instead of StringBufferInputStream.
1886
1887 2004-09-10  Michael Koch  <konqueror@gmx.de>
1888
1889         * gnu/java/net/protocol/file/Connection.java
1890         (connect): Handle file is a directory case.
1891
1892 2004-09-10  Michael Koch  <konqueror@gmx.de>
1893
1894         * Makefile.am
1895         (xlib_includes): Removed.
1896         (AM_CPPFLAGS): Renamed from INCLUDES.
1897         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1898         * Makefile.in: Regenerate.
1899
1900 2004-09-09  Michael Koch  <konqueror@gmx.de>
1901
1902         * java/security/ProtectionDomain.java,
1903         * java/util/PropertyPermissionCollection.java:
1904         Fixed javadocs all over.
1905
1906 2004-09-09  Sven de Marothy  <sven@physto.se>
1907
1908         Patch from David Gilbert <david.gilbert@object-refinery.com>
1909         * java/lang/Comparable.java: Fixed documentation errors.
1910         * java/util/Arrays.java: Likewise.
1911
1912 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1913
1914         * java/net/Inet4Address.java
1915         (Inet4Address): Added comment to serialization UID.
1916         * java/text/Format.java
1917         (Format): Added comment to serialization UID.
1918
1919 2004-09-09  Michael Koch  <konqueror@gmx.de>
1920
1921         * java/lang/System.java
1922         (err): Fixed javadoci to point to setErr() and not setOut().
1923
1924 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1925
1926         (normalizePath): Added special case for windows systems.
1927
1928 2004-09-09  Michael Koch  <konqueror@gmx.de>
1929
1930         * java/io/File.java
1931         (dupSeparator): Made private.
1932         (File(URI)): New constructor.
1933         (getParentFile): Fixed javadoc.
1934         (createTempFile): Reformated.
1935         (setReadOnly): Added comment.
1936         (deleteOnExit): Merged javadoc with classpath version.
1937
1938 2004-09-09  Michael Koch  <konqueror@gmx.de>
1939
1940         * Makefile.am: Don't try to include deps.mk.
1941         * Makefile.in: Regenerated.
1942
1943 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1944
1945         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1946         .d files.
1947         * configure: Rebuilt.
1948
1949 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1950
1951         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1952         Changed pfn from static local to local.
1953
1954 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1955             H.J. Lu  <hongjiu.lu@intel.com>
1956
1957         PR libgcj/17290
1958         * Makefile.am (GCJCOMPILE): Remove definition.
1959         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1960         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1961         * Makefile.in: Rebuilt.
1962
1963 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1964
1965         * configure.ac (enable-gc-debug): Update help for new syntax.
1966         * configure: Regenerate.
1967
1968 2004-09-03  David Daney  <ddaney@avtrex.com>
1969
1970         * include/mips-signal.h: Update copyright.
1971
1972 2004-09-03  David Daney  <ddaney@avtrex.com>
1973
1974         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1975         * include/mips-signal.h: Added HANDLE_FPE support.
1976         
1977 2004-08-31  Michael Koch  <konqueror@gmx.de>
1978
1979         * javax/swing/plaf/basic/BasicTextAreaUI.java
1980         (create): New method.
1981         * javax/swing/text/DefaultHighlighter.java
1982         (DefaultHighlightPainter.debugRect): Removed.
1983         * javax/swing/text/StyleContext.java
1984         (DEFAULT_STYLE): New field.
1985
1986 2004-08-31  Michael Koch  <konqueror@gmx.de>
1987
1988         * javax/swing/plaf/basic/BasicLookAndFeel.java
1989         (initComponentDefaults): Add keybindings for selection.backward and
1990         selection-forward for text components.
1991         * javax/swing/plaf/basic/BasicTextUI.java
1992         (paintSafely): Paint highlight only when something is actually
1993         selected.
1994         * javax/swing/text/DefaultCaret.java
1995         (handleHighlight): New method.
1996         (setSelectionVisible): Don't do anything when nothing changes.
1997         Handle highlight.
1998         (moveDot): Reimplemented. Handle highlight.
1999         (setDot): Set mark too. Handle highlight.
2000         (getSelectionPainter): New method.
2001         * javax/swing/text/DefaultEditorKit.java
2002         (defaultActions): Added new actions for text selection.
2003         * javax/swing/text/DefaultHighlighter.java
2004         (DefaultHighlightPainter): New inner class.
2005         (DefaultPainter): New field.
2006         (paint): Implemented.
2007         * javax/swing/text/PlainView.java
2008         (paint): Don't draw background here again.
2009         * javax/swing/text/Utilities.java
2010         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2011         (drawTabbedText): Likewise.
2012
2013 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2014
2015         * javax/swing/JComponent.java
2016         (resetKeyboardActions): Add null checks.
2017
2018 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2019
2020         * javax/swing/DefaultButtonModel.java:
2021         Skip group notification when no group is set.
2022
2023 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2024
2025         * javax/swing/JColorChooser.java: 
2026         Make a couple inner classes static, for jikes.
2027
2028 2004-08-31  Michael Koch  <konqueror@gmx.de>
2029
2030         * javax/swing/plaf/basic/BasicTextUI.java
2031         (RottView.modelToView): New method.
2032         (UpdateHandler): Renamed from EventHandler.
2033         (updateHandler): Renamed from eventHandler.
2034         (modelToView): Implemented.
2035         * javax/swing/text/AbstractDocument.java
2036         (BranchElement.getElement): Return null for non-existing indeces.
2037         (BranchElement.getElementIndex): Return 0 in some corner cases.
2038         * javax/swing/text/FieldView.java
2039         (modelToView): New method.
2040         * javax/swing/text/PlainView.java
2041         (modelToView): Made public.
2042
2043 2004-08-31  Kim Ho  <kho@redhat.com>
2044
2045         * Makefile.am: New files.
2046         * Makefile.in: Regenerate.
2047         * gcj/Makefile.in: Regenerate.
2048         * include/Makefile.in: Regenerate.
2049         * java/awt/Color.java: Fix documentation.
2050         (RGBtoHSB): Use floats for conversions.
2051         * javax/swing/ButtonGroup.java: Run Jalopy.
2052         (setSelected): Reimplement.
2053         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2054         (changeState): Let ButtonGroup know that the button 
2055         is changing state.
2056         * javax/swing/JColorChooser.java: Implement.
2057         * javax/swing/JLabel.java: Run Jalopy.
2058         * javax/swing/JSpinner.java: Run Jalopy.
2059         (setValue): New method.
2060         * javax/swing/JTabbedPane.java: Run Jalopy.
2061         (removeTabAt): Call correct remove method.
2062         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2063         (getPreviousValue): Compare minimum value.
2064         * javax/swing/Timer.java: Run Jalopy.
2065         (run): Comment out println.
2066         * javax/swing/ToolTipManager.java:
2067         (mouseMoved): Get new tooltip text for location.
2068         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2069         Jalopy and Javadoc.
2070         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2071         Implement.
2072         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2073         Run Jalopy.
2074         (setSelectedColor): Fire ChangeEvent.
2075         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2076         New file. Implement.
2077         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2078         Ditto.
2079         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2080         Ditto.
2081         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2082         Ditto.
2083         * javax/swing/plaf/basic/BasicArrowButton.java:
2084         (getArrow): Fix size of upward pointing button.
2085         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2086         Implement.
2087         * javax/swing/plaf/basic/BasicSliderUI.java:
2088         (getWidthOfWidestLabel): Use preferred dimensions.
2089         (getHeightOfTallestLabel): Ditto.
2090         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2091         Run Jalopy.
2092         (mousePressed): Disable changes to spinner if it is not enabled.
2093         * testsuite/Makefile.in: Regenerate.
2094
2095
2096 2004-08-31  Michael Koch  <konqueror@gmx.de>
2097
2098         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2099         javax/swing/plaf/basic/BasicTableUI.java:
2100         Added copyright notice.
2101
2102 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2103
2104         * Makefile.am: Added new files.
2105         * Makefile.in: Regenerate.
2106         * javax/swing/ComboBoxEditor.java: Added javadocs.
2107         * javax/swing/ComboBoxModel.java: Likewise.
2108         * javax/swing/DefaultComboBoxModel.java: Implemented.
2109         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2110         and ran through jalopy to fix formatting style.
2111         (getListCellRendererComponent): Use appropriate border
2112         if renderer has focus and use noFocusBorder when it doesn't.
2113         * javax/swing/JComboBox.java: Implemented.
2114         * javax/swing/JList.java:
2115         (locationToIndex): New Method. Implemented.
2116         (indexToLocation): New Method.
2117         * javax/swing/JPopupMenu.java: 
2118         (visible): New field.
2119         (isVisible): Changed to use new field above.
2120         (setVisible): Likewise.
2121         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2122         * javax/swing/plaf/basic/BasicArrowButton.java: 
2123         (shadow): Changed default color to Color.gray.
2124         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2125         UI delegate for JComboBox.
2126         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2127         Popup menu containing list of JComboBox's items.
2128         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2129         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2130         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2131         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2132         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2133         (popupMenuWillBecomeVisible): Set selected path to the first
2134         element only if it is of type MenuElement. Also fix formatting
2135         style.
2136         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2137         methods signatures.
2138         
2139 2004-08-31  Michael Koch  <konqueror@gmx.de>
2140
2141         * javax/swing/text/AbstractDocument.java
2142         (createBranchElement): Use new constructor of BranchElement.
2143         (createLeafElement): Renamed arguments.
2144         (getRootElements): Implemented.
2145         (BranchElement.start): Removed.
2146         (BranchElement.end): Likewise.
2147         (BranchElement.BranchElement): Fixed arguments.
2148         (BranchElement.getEndOffset): Reimplemented.
2149         (BranchElement.getStartOffset): Likewis.
2150         * javax/swing/text/DefaultCaret.java
2151         (paint): Draw simple vertical line as caret instead of a rectangle.
2152         * javax/swing/text/JTextComponent.java
2153         (setText): Use doc directly.
2154         * javax/swing/text/PlainView.java
2155         (nextTabStop): Implemented.
2156         * javax/swing/text/Utilities.java
2157         (drawTabbedText): nextTabStop() returns an absolute x position.
2158         (getTabbedTextWidth): Likewise.
2159
2160 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2161
2162         * java/awt/Component.java 
2163         (isFocusTraversable): Predicate on isLightweight()
2164         (setFocusable): Set isFocusTraversableOverridden.
2165         (requestFocus): Predicate peer dispatch on !isLightweight()
2166         (requestFocusInWindow): Likewise.
2167         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2168         * java/awt/Container.java
2169         (dispatchEventImpl): Predicate on event mask.
2170         (LightweightDispatcher): Remove focus machinery.
2171         * java/awt/DefaultFocusTraversalPolicy.java
2172         (accept): Expand predicate to include isFocusable(). 
2173         * java/awt/DefaultKeyboardFocusManager.java:
2174         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2175         * java/awt/KeyboardFocusManager.java
2176         (redispatchEvent): Synchronize on event to prevent feedback.
2177         * javax/swing/AbstractButton.java
2178         (ButtonFocusListener): Remove class.
2179         (init): Set focusPainted, focusable.
2180         * javax/swing/ActionMap.java (get): Check parent for null. 
2181         * javax/swing/InputMap.java (get): Likewise. 
2182         * javax/swing/JComponent.java
2183         (inputMap_whenFocused): New InputMap.
2184         (inputMap_whenAncestorOfFocused): Likewise.
2185         (inputMap_whenInFocusedWindow): Likewise.
2186         (getActionForKeyStroke): Rewrite.
2187         (getConditionForKeystroke): Likewise.
2188         (ActionListenerProxy): New private class.
2189         (setInputMap): Implement.
2190         (getInputMap): Likewise.
2191         (setActionMap): Likewise.
2192         (getActionMap): Likewise.
2193         (processComponentKeyEvent): New empty method.
2194         (processKeyEvent): Implement.
2195         (processKeyBinding): Likewise.
2196         (resetKeyboardActions): Rewrite.
2197         * javax/swing/KeyStroke.java: Rewrite.
2198         * javax/swing/SwingUtilities.java
2199         (notifyAction): Implement.
2200         (replaceUIActionMap): Likewise.
2201         (replaceUIInputMap): Likewise.
2202         * javax/swing/plaf/basic/BasicButtonListener.java
2203         (focusGained): Implement.
2204         (focusLost): Repaint if focusPainted().
2205         (installKeyboardActions): Install pressed / released actions.
2206         (uninstallKeyboardActions): Implement.
2207         * javax/swing/plaf/basic/BasicButtonUI.java
2208         (focusColor): New field.
2209         (installDefaults): Load focus color, install input map.
2210         (installKeyboardActions): Implement.
2211         (uninstallKeyboardActions): Likewise.
2212         (paintFocus): Rewrite.
2213         * javax/swing/plaf/basic/BasicLookAndFeel.java
2214         (Button.focus): New default, midPurple. 
2215         * javax/swing/plaf/basic/BasicTextUI.java
2216         (kit): Make static.
2217         (installUI): Get doc from kit, load defaults.
2218         (getKeymapName): Implement.
2219         (createKeymap): Likewise.
2220         (installKeyboardActions): Likewise.
2221         (getInputMap): Likewise.
2222         (getActionMap): Likewise.
2223         (createActionMap): Likewise.
2224         * javax/swing/text/AbstractDocument.java
2225         (getStartPosition): Implement.
2226         (getEndPosition): Likewise.
2227         * javax/swing/text/DefaultEditorKit.java
2228         (CopyAction): New class.
2229         (CutAction): Likewise.
2230         (DefaultKeyTypedAction): Likewise.
2231         (InsertBreakAction): Likewise.
2232         (InsertContentAction): Likewise.
2233         (InsertTabAction): Likewise.
2234         (PasteAction): Likewise.
2235         (defaultActions): New static table.
2236         (createCaret): Implement.
2237         (getActions): Likewise.
2238         * javax/swing/text/JTextComponent.java
2239         (KeymapWrapper): New private class.
2240         (KeymapActionMap): Likewise.
2241         (DefaultKeymap): New class.
2242         (keymaps): New static table.
2243         (keymap): New field.
2244         (getKeymap): Implement.
2245         (removeKeymap): Likewise.
2246         (addKeymap): Likewise.
2247         (setKeymap): Likewise.
2248         (loadKeymap): Likewise.
2249         (getActions): Likewise.
2250         (margin): New field.
2251         (JTextComponent): Build and install default keymap.
2252         * javax/swing/text/TextAction.java
2253         (textAction): Call super properly.
2254         (getTextComponent): Implement.
2255         * javax/swing/text/Utilities.java
2256         (drawTabbedText): Adjust position by ascent.
2257
2258 2004-08-31  David Jee  <djee@redhat.com>
2259
2260         PR AWT/17156
2261
2262         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2263         (setEnabled): Make it a native method.
2264         * java/awt/DefaultKeyboardFocusManager.java
2265         (postProcessKeyEvent): Only post event if the menu item
2266         is active.
2267         * java/awt/MenuItem.java:
2268         Private field 'enabled' should be true by default.
2269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2270         (setEnabled): New function.
2271
2272 2004-08-31  David Jee  <djee@redhat.com>
2273
2274         PR AWT/17059
2275
2276         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2277         (nativeSetHelpMenu): New native method declaration.
2278         (addHelpMenu): Call nativeSetHelpMenu().
2279         (addMenu): Remove.
2280         * java/awt/MenuBar.java
2281         (setHelpMenu): Call addNotify() on the new help menu.
2282         (add): Call addNotify() on the new menu.
2283         (addNotify): Set the help menu if one exists.
2284         * java/awt/peer/MenuBarPeer.java
2285         (addMenu): Remove.
2286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2287         (nativeSetHelpMenu): New method.
2288
2289 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2290
2291         * Makefile.am: Add new files.
2292         * Makefile.in: Regenerate.
2293         * javax/swing/Box.java: Fix setting of layout in ctor.
2294         * javax/swing/JScrollPane.java: Scroll headers as well.
2295         * javax/swing/JTable.java: Reimplement.
2296         * javax/swing/JViewPort.java: Only add non-null children.
2297         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2298         * javax/swing/Timer.java: Fix stopping null waker.
2299         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2300         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2301         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2302         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2303         * javax/swing/table/DefaultTableModel.java: Clean up.
2304         * javax/swing/table/JTableHeader.java: Implement.
2305
2306 2004-08-31  Mark Wielaard  <mark@klomp.org>
2307
2308         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2309         semi-colon.
2310
2311 2004-08-31  Mark Wielaard  <mark@klomp.org>
2312
2313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2314         Declare variables at top of functions/block.
2315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2316
2317 2004-08-31  Mark Wielaard  <mark@klomp.org>
2318
2319         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2320         first.
2321
2322 2004-08-31  Michael Koch  <konqueror@gmx.de>
2323
2324         * javax/swing/text/PlainView.java
2325         (selectedColor): New field.
2326         (unselectedColor): Likewise.
2327         (font): Likewise.
2328         (updateMetrics): New method.
2329         (lineToRect): Likewise.
2330         (modelToView): Likewise.
2331         (drawSelectedText): Use color from JTextComponent ad draw with
2332         Utilities class.
2333         (drawUnselectedText): Likewise.
2334         (paint): Initialize helper fields.
2335         * javax/swing/text/View.java
2336         (getChildAllocation): New method.
2337         (getViewIndex): Likewise.
2338         (getToolTipText): Likewise.
2339
2340 2004-08-31  Michael Koch  <konqueror@gmx.de>
2341
2342         * javax/swing/text/Utilities.java
2343         (drawTabbedText): Reimplemented.
2344         (getTabbedTextWidth): Likewise.
2345
2346 2004-08-31  Michael Koch  <konqueror@gmx.de>
2347
2348         * javax/swing/plaf/basic/BasicTextUI.java
2349         (installDefaults): Install caret and highlighter.
2350         (modelToView): Use Bias.Forward when calling sibling.
2351         * javax/swing/text/AbstractDocument.java
2352         (ElementEdit): Implements DocumentEvent.ElementChange.
2353         (ElementEdit.ElementEdit): New method.
2354         (ElementEdit.getChildrenAdded): Likewise.
2355         (ElementEdit.getChildrenRemoved): Likewise.
2356         (ElementEdit.getElement): Likewise.
2357         (ElementEdit.getIndex): Likewise.
2358         * javax/swing/text/DefaultCaret.java
2359         (color): Removed.
2360         (textComponent): Renamed from parent, made private.
2361         (selectionVisible): Renamed from vis_sel, made private.
2362         (blinkRate): Renamed from blink, made private.
2363         (magicCaretPosition): Renamed from magic, made private.
2364         (visible): Renamed from vis, made private.
2365         (dot): Made private.
2366         (mark): Likewise.
2367         (deinstall): Remove as MouseMotionListener.
2368         (install): Initialize textComponent first. Add as MouseMotionListener.
2369         (paint): Reimplemented.
2370         * javax/swing/text/JTextComponent.java
2371         (setCaret): Deinstall old caret, install new one and fire property
2372         change after setting property.
2373         (setHighlighter): Deinstall old highlighter, install new one and fire
2374         property change after setting property.
2375         (setCaretColor): Fire property change after setting property.
2376         (setDisabledTextColor): Likewise.
2377         (setSelectedTextColor): Likewise.
2378         (setSelectionColor): Likewise.
2379         (modelToView): New method.
2380
2381 2004-08-31  Michael Koch  <konqueror@gmx.de>
2382
2383         * javax/swing/text/AbstractDocument.java
2384         (getText): Simplified.
2385         * javax/swing/text/Segment.java
2386         (current): New field.
2387         (current): Reimplemented.
2388         (first): Likewise.
2389         (getIndex): Likewise.
2390         (last): Likewise.
2391         (next): Likewise.
2392         (previous): Likewise.
2393         (setIndex): Likewise.
2394
2395 2004-08-31  Michael Koch  <konqueror@gmx.de>
2396
2397         * javax/swing/plaf/basic/BasicButtonUI.java
2398         (defaultTextIconGap): Made protected.
2399         (defaultTextShiftOffset): Likewise.
2400         (textShiftOffset): New field.
2401         (clearTextShiftOffset): New method.
2402         (getTextShiftOffset): Likewise.
2403         (setTextShiftOffset): Likewise.
2404
2405 2004-08-31  Michael Koch  <konqueror@gmx.de>
2406
2407         * javax/swing/plaf/basic/BasicTextUI.java
2408         (installUI): Add eventHandler as property listener.
2409         (uninstallUI): remove eventHandler as propert listener.
2410         (installDefaults): Added comment.
2411         (installListeners): Likewise.
2412         (installKeyboardActions): Likewise.
2413         (uninstallDefaults): Likewise.
2414         (uninstallListeners): Likewise.
2415         (uninstallKeyboardActions): Likewise.
2416
2417 2004-08-31  Michael Koch  <konqueror@gmx.de>
2418
2419         * javax/swing/text/AbstractDocument.java:
2420         Fixed some typos in comments.
2421         (insertString): Reimplemented.
2422         (remove): Likewise.
2423         (replace): New method.
2424         (children): Dont use fully qualified class name.
2425         (DefaultDocumentEvent.offset): Renamed from off.
2426         (DefaultDocumentEvent.length): Renamed from len.
2427         (DefaultDocumentEvent.type): New field.
2428         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2429         (DefaultDocumentEvent.getType): Implemented.
2430
2431 2004-08-31  Michael Koch  <konqueror@gmx.de>
2432
2433         * javax/swing/plaf/basic/BasicTextUI.java
2434         (RootView.textComponent): Removed.
2435         (RootView.RootView): Don't initialize textComponent.
2436         (RootView.getViewFactory): New method.
2437         (EventHandler): New inner class.
2438         (rootView): Initialize at instance creation.
2439         (eventHandler): New field.
2440         (installUI): Don't create view hierarchy directly,
2441         call modelChanged() instead.
2442         (modelChanged): New method.
2443         * javax/swing/text/JTextComponent.java
2444         (setDocument): Fire property change event.
2445
2446 2004-08-31  Michael Koch  <konqueror@gmx.de>
2447
2448         * javax/swing/plaf/basic/BasicTextUI.java
2449         (RootView.paint): Removed debug output.
2450         (paintSafely): Draw highlighter before text.
2451         (paintBackground): Use background color of text component.
2452         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2453         Reformatted.
2454
2455 2004-08-31  Michael Koch  <konqueror@gmx.de>
2456
2457         * javax/swing/plaf/basic/BasicToolBarUI.java
2458         (BasicToolBarUI): Fixed arguments for constructor.
2459         (createUI): Fixed creation of object.
2460
2461 2004-08-31  Michael Koch  <konqueror@gmx.de>
2462
2463         * javax/swing/DefaultListSelectionModel.java
2464         (fireValueChanged): Renamed from fireSelectionValueChanged,
2465         made protected.
2466
2467 2004-08-31  Michael Koch  <konqueror@gmx.de>
2468
2469         * javax/swing/text/TabSet.java
2470         (TabSet): Implements java.io.Serializable.
2471         * javax/swing/text/TabStop.java
2472         (TabStop): Implements java.io.Serializable.
2473         (TabStop): Made public.
2474
2475 2004-08-31  Michael Koch  <konqueror@gmx.de>
2476
2477         * javax/swing/JComponent.java
2478         (setUI): Fire PropertyChange.
2479         * javax/swing/JLabel.java
2480         (text): Renamed from labelText.
2481         (horizontalAlignment): New default vlaue.
2482         (icon): Renamed from activeIcon.
2483         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2484         (displayedMnemonicIndex): Renamed from underlineChar.
2485         (setDisplayedMnemonic): Reimplemented.
2486         * javax/swing/JRadioButton.java
2487         (JRadioButton): New constructors.
2488         * javax/swing/JTextField.java
2489         (JTextField): Throw exception if colums < 0, initialitialz
2490         this.columns directly and initialize document with text conditionally.
2491
2492 2004-08-31  Michael Koch  <konqueror@gmx.de>
2493
2494         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2495         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2496         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2497         * javax/swing/text/FieldView.java
2498         (paint): Just call super method for now.
2499         * Makefile.am: Added new files.
2500         * Makefile.in: Regenerated.
2501
2502 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2503
2504         * javax/swing/AbstractSpinnerModel.java,
2505         javax/swing/JSpinner.java,
2506         javax/swing/SpinnerNumberModel.java,
2507         javax/swing/plaf/basic/BasicSpinnerUI.java:
2508         New files.
2509         * javax/swing/plaf/basic/BasicLookAndFeel.java
2510         (initClassDefaults): Added defaults for BasicSpinnerUI.
2511
2512 2004-08-31  Michael Koch  <konqueror@gmx.de>
2513
2514         * Makefile.am: Added new files.
2515         * Makefile.in: Regenerated.
2516
2517 2004-08-31  Michael Koch  <konqueror@gmx.de>
2518
2519         * javax/swing/TransferHandler.java,
2520         javax/swing/plaf/basic/ComboPopup.java: New files
2521         * Makefile.am: Added javax/swing/TransferHandler.java and
2522         javax/swing/plaf/basic/ComboPopup.java
2523         * Makefile.in: Regenerated.
2524
2525 2004-08-31  Roman Kennke  <roman@ontographics.com>
2526
2527         * javax/swing/text/Utilities.java: New file.
2528
2529 2004-08-31  Michael Koch  <konqueror@gmx.de>
2530
2531         * Makefile.am: Added javax/swing/text/Utilities.java.
2532         * Makefile.in: Regenerated.
2533
2534 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2535
2536         * javax/swing/text/SimpleAttributeSet.java: New file.
2537         * javax/swing/text/StyleConstants.java: New file.
2538         * javax/swing/text/StyleContext.java: New file.
2539         * javax/swing/text/TabSet.java: New file.
2540         * javax/swing/text/TabStop.java: New file.
2541         * javax/swing/text/AbstactDocument.java:
2542         (AbstractElement): Implement attribute support.
2543         * javax/swing/text/AttributeSet.java
2544         (NameAttribute): New static field.
2545         (ResolveAttribute): New static field.
2546         * Makefile.am: Update for new files.
2547         * Makefile.in: Regenerate.
2548
2549 2004-08-31  Craig Black  <craig.black@aonix.com>
2550
2551         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2552         (drawImage): Add support for scaling pixmaps.
2553         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2554         (copyAndScalePixmap): New native method.
2555  
2556 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2557
2558         PR AWT/16121
2559         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2560         type-punning compiler warnings using unions.
2561         (throw): Replace bzero with memset.
2562
2563 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2564             Thomas Fitzsimmons  <fitzsim@redhat.com>
2565
2566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2567         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2568         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2570         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2571
2572 2004-08-31  Mark Wielaard  <mark@klomp.org>
2573
2574         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2575         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2576         and stdlib.h, not gtkpeer.h.
2577         (*vm): New static variable.
2578         (areaPreparedID): Make static.
2579         (areaUpdatedID): Likewise.
2580         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2581         (area_prepared): Likewise.
2582         (area_updated): Likewise.
2583         (closed): Likewise.
2584         (initStaticState): Initialize *vm javaVM.
2585         (pumpBytes): Use given env, not global gdk_env.
2586
2587 2004-08-31  Mark Wielaard  <mark@klomp.org>
2588
2589         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2590         comments.
2591
2592 2004-08-31  Sven de Marothy  <sven@physto.se>
2593
2594         * java/awt/geom/CubicCurve2D.java: Reindent.
2595         (contains): Implemented.
2596         (intersects): Implemented.
2597         * java/awt/geom/QuadCurve2D.java: Likewise.
2598         * java/awt/geom/GeneralPath.java: Reindent and document.
2599         Fully (re)implemented using separate xpoints and ypoints
2600         float[] coords.
2601         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2602
2603 2004-08-31  Michael Koch  <konqueror@gmx.de>
2604
2605         * javax/swing/JMenuItem.java
2606         (getMenuDragMouseListeners): New method.
2607         (getMenuKeyListeners): Likewise.
2608
2609 2004-08-31  Michael Koch  <konqueror@gmx.de>
2610
2611         * javax/swing/AbstractButton.java
2612         (model): Made protected.
2613         (actionListener): Likewise.
2614         (changeListener): Likewise.
2615         (itemListener): Likewise.
2616         (multiClickThreshhold): New field.
2617         (getActionListeners): New method.
2618         (getChangeListeners): Likewise.
2619         (getItemListeners): Likewise.
2620         (fireItemStateChanged): Simplified implementation.
2621         (fireActionPerformed): Likewise.
2622         (fireStateChanged): Likewise.
2623         (getMultiClickThreshhold): New method.
2624         (setMultiClickThreshhold): Likewise.
2625
2626 2004-08-31  Tom Tromey  <tromey@redhat.com>
2627
2628         * java/awt/image/Kernel.java (clone): Use super.clone().
2629
2630 2004-08-31  David Jee  <djee@redhat.com>
2631
2632         PR AWT/16682
2633         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2634         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2635         (nativeSetIconImageFromData): New native method declaration.
2636         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2637         * gnu/java/awt/peer/gtk/GtkImage.java
2638         (getPixelCache): New method.
2639         (getColorModel): New method.
2640         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2641         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2642         (free_pixbuf_data): New helper function.
2643         (nativeSetIconImageFromData): New function.
2644
2645 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2646
2647         PR SWING/16576
2648         * javax/swing/JLayeredPane.java 
2649         (setLayer): Permit changing layer after addition.
2650         (setPosition): Permit over-length positions.
2651         (layerToRange): Compare intValue()s.
2652         * javax/swing/Box.java (createHorizontalBox): Implement.
2653         (createRigidArea): Likewise.
2654         (createVerticalBox): Likewise.
2655
2656 2004-08-31  Kim Ho  <kho@redhat.com>
2657
2658         * java/awt/Component.java:
2659         (processMouseEvent): Consume event after
2660         listeners process it.
2661         (processMouseMotionEvent): ditto.
2662         (processMouseWheelEvent): ditto.
2663         * java/awt/Container.java:
2664         (acquireComponentForMouseEvent):
2665         Do not dispatch to events that have been
2666         removed from the Container.
2667         (handleEvent): Consume the MouseEvents.
2668         * javax/swing/RepaintManager.java:
2669         (paintDirtyRegions): Do not add to list of 
2670         damaged areas if the component has no root.
2671
2672 2004-08-31  Michael Koch  <konqueror@gmx.de>
2673
2674         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2675
2676 2004-08-31  Mark Wielaard  <mark@klomp.org>
2677
2678         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2679         null when a MissingResourceException is thrown. Should never happen.
2680
2681 2004-08-31  Mark Wielaard  <mark@klomp.org>
2682
2683         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2684         when argument is null.
2685
2686 2004-08-31  Mark Wielaard  <mark@klomp.org>
2687
2688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2689         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2690         Define hid at start of function.
2691         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2692         Likewise.
2693
2694 2004-08-31  Mark Wielaard  <mark@klomp.org>
2695
2696         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2697         * javax/swing/JButton.java: Reindent.
2698         * javax/swing/JCheckBox.java: Reindent.
2699
2700 2004-08-31  Mark Wielaard  <mark@klomp.org>
2701
2702         * Makefile.am (gtk_c_source_files): Added
2703         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2704         (gtk_awt_peer_sources): Added
2705         gnu/java/awt/peer/gtk/GThreadMutex.java and
2706         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2707         * Makefile.in: Regenerated.
2708
2709 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2710
2711         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2712
2713 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2714
2715         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2716         Added jfieldID, jmethodID.
2717
2718 2004-08-31  Mark Wielaard  <mark@klomp.org>
2719
2720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2721         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2722         gdk_env before calling any gdk or gtk function.
2723
2724         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2725         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2726         (run): Set gtkInitCalled.
2727
2728 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2729
2730         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2731         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2732
2733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2734         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2735         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2736         init_glib_threads. 
2737         (init_glib_threads): New function.
2738
2739 2004-08-31  Mark Wielaard  <mark@klomp.org>
2740
2741         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2742         PRIORITY when not already defined in header file.
2743
2744 2004-08-31  Mark Wielaard  <mark@klomp.org>
2745
2746         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2747         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2748
2749 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2750
2751         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2752         Implemented missing functions for GTK2.
2753         Added error handling.
2754         Renamed static functions out of the g_ namespace.
2755         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2756         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2757         Rewrote global-reference code.
2758         Eliminated cascading errors.
2759         (mutex_trylock_jni_impl) Fully implemented.
2760         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2761         resolution.
2762         (setup_cache) New function.
2763         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2764         bug where they were not unlocking the GMutex associated with the
2765         condition variable during the wait on that condition variable.
2766
2767         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2768         native/jni/gtk-peer/gthread-jni.c,
2769         native/jni/gtk-peer/gthread-jni.h
2770         (g_thread_jni_functions): Renamed to ...
2771         (portable_native_sync_jni_functions): this name.
2772         (gdk_vm): Renamed to...
2773         (the_vm): this name.
2774
2775         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2776         (gdk_vm): Removed duplicate definition.
2777         (gtkInit): Removed stray message to stdout.
2778         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2779         (gtkInit): Fix a const assignment bug.
2780         (gtkInit): Simplified code.
2781
2782         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2783         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2784         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2785         gnu/java/awt/peer/gtk/GThreadMutex.java:
2786         New files.
2787
2788 2004-08-31  Mark Wielaard  <mark@klomp.org>
2789
2790         * javax/swing/Box.java: Put FIXME comment above class declaration.
2791         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2792         * javax/swing/JCheckBox.java: Likewise.
2793         * javax/swing/JDialog.java: Likewise.
2794         * javax/swing/JRadioButton.java: Likewise.
2795         * javax/swing/JToggleButton.java: Likewise.
2796         * javax/swing/UIManager.java: Likewise.
2797         * javax/swing/border/TitledBorder.java: Likewise.
2798         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2799         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2800         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2801         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2802         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2803         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2804         * javax/swing/text/JTextComponent.java: Likewise.
2805
2806 2004-08-31  David Jee  <djee@redhat.com>
2807
2808         PR AWT/16682
2809         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2810         (setIconImage): Add a FIXME for unhandled cases.
2811
2812 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2813
2814         PR AWT/16040
2815         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2816         getModifiers.  Replace old button masks with new ones.
2817         * gnu/awt/xlib/XEventLoop.java: Likewise.
2818         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2819         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2820         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2821         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2822         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2823         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2824         * java/awt/Component.java: Replace old modifier masks with new
2825         ones.
2826         * java/awt/Container.java: Call getModifiersEx, not
2827         getModifiers.
2828         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2829         old modifier masks.
2830         * javax/swing/JMenuItem.java: Replace old button masks with new
2831         ones.
2832         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2833         getModifiers.
2834         * javax/swing/SwingUtilities.java: Likewise.
2835         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2836         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2837         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2838         mask macros with new ones.
2839         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2840         macros with new ones representing new masks.
2841
2842 2004-08-31  Craig Black  <craig.black@aonix.com>
2843
2844         * gnu/java/awt/peer/gtk/GdkGraphics.java
2845         (drawRoundRect): Implemented.
2846         (fillRoundRect): Implemented.
2847         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2848         (drawRoundRect): Reimplemented to match GdkGraphics.
2849         (fillRoundRect): Reimplemented to match GdkGraphics.
2850
2851 2004-08-31  Mark Wielaard  <mark@klomp.org>
2852
2853         * Makefile.in: Regenerated.
2854
2855 2004-08-31  Michael Koch  <konqueror@gmx.de>
2856
2857         * gnu/java/awt/EmbeddedWindow.java
2858         (addNotify): Use AccessController to allow execution of privileged
2859         code.
2860
2861 2004-08-31  Michael Koch  <konqueror@gmx.de>
2862
2863         * gnu/java/awt/EmbeddedWindow.java
2864         (static): Removed.
2865         (addNotify): Set peer via reflection.
2866         (setWindowPeer): Removed.
2867         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2868         * Makefile.am (nat_source_files):
2869         Removed gnu/java/awt/natEmbeddedWindow.cc.
2870
2871 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2872
2873         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2874         and gnu/java/security/action/SetAccessibleAction.java.
2875
2876 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2877
2878         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2879         Renamed from 'setName'. New 2-argument form with default value.
2880         (run): Pass default 'value' parameter to System.getProperty().
2881         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2882         typos.
2883
2884 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2885
2886         * gnu/java/security/action/GetPropertyAction.java: New class.
2887         * gnu/java/security/action/SetAccessibleAction.java: New class.
2888
2889 2004-08-31  David Jee  <djee@redhat.com>
2890
2891         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2892         (setIconImage): Check if image is null.
2893
2894 2004-08-31  David Jee  <djee@redhat.com>
2895
2896         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2897         (create): Set the icon image.
2898         (nativeSetIconImage): New native method declaration.
2899         (setIconImage): Implement.
2900         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2901         (nativeSetIconImage): New function.
2902
2903 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2904
2905         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2906         (filenameFilterCallback): Declare local variable accepted before use.
2907
2908 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2909
2910         * gnu/java/awt/ComponentDataBlitOp.java:
2911         Cleaned up imports.
2912
2913 2004-08-31  Tom Tromey  <tromey@redhat.com>
2914
2915         * gnu/java/awt/peer/GLightweightPeer.java,
2916         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2917         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2918         javax/swing/JScrollPane.java: Removed
2919         redundant imports.
2920
2921 2004-08-31  David Jee  <djee@redhat.com>
2922
2923         * java/awt/DefaultKeyboardFocusManager.java
2924         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2925         event.  Fix shift modifier checking.
2926         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2927         (accel_attach): Remove.
2928         (setupAccelGroup): Remove calls to accel_attach.
2929
2930 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2931
2932         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2933         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2934
2935         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2936         GtkArgList.java.
2937         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2938         * Makefile.in: Regenerate.
2939         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2940         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2941         (create(String)): New method.
2942         (create): Call new create method.
2943         (getArgs): Remove method.
2944         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2945         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2946         (nativeCreate): Rename to create.
2947         (gtkSetLabel): Rename to gtkButtonSetLabel.
2948         (gtkToggleButtonSetActive): New method.
2949         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2950         (setState): Replace set call with gtkToggleButtonSetActive.
2951         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2952         (getArgs): Remove method.
2953         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2954         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2955         (gtkWidgetSetSensitive): New method.
2956         (gtkWidgetSetParent): Likewise.
2957         (GtkComponentPeer): Call setParent, setComponentBounds and
2958         setVisibleAndEnabled.
2959         (setParent): New method.
2960         (setComponentBounds): New method.
2961         (setVisibleAndEnabled): New method.
2962         (setEnabled): Call gtkWidgetSetSensitive.
2963         (getArgs): Remove method.
2964         Remove all set methods.
2965         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2966         gtkWindowSetModal, setTitle and setResizable.
2967         (getArgs): Remove method.
2968         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2969         (setComponentBounds): New method.
2970         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2971         Replace set call with gtkWindowSetResizable.
2972         (getArgs): Remove method.
2973         (create): Call setTitle and setResizable.
2974         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2975         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2976         (gtkWindowSetTitle): New method.
2977         (gtkWindowSetResizable): New method.
2978         (gtkWindowSetModal): New method.
2979         (setParent): New method.
2980         (setVisibleAndEnabled): New method.
2981         (getArgs): Remove method.
2982         (setTitle): Call gtkWindowSetTitle.
2983         (setResizable): Call gtkWindowSetResizable.
2984         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2985         and off locking instrumentation.
2986
2987 2004-08-31  Kim Ho  <kho@redhat.com>
2988
2989         * Makefile.am: Add new file.
2990         * Makefile.in: Regenerate.
2991         * gcj/Makefile.in: Regenerate
2992         * include/Makefile.in:
2993         * java/awt/Container.java:
2994         (acquireComponentForMouseEvent): Respect 
2995         the event mask when looking for candidate.
2996         * javax/swing/JComponent.java:
2997         Remove toolTip field.
2998         (createToolTip): Create a tooltip on demand.
2999         (setToolTipText): Register with the ToolTipManager.
3000         (getToolTipText(MouseEvent)): Return getToolTipText().
3001         * javax/swing/JToolTip.java: Implement.
3002         * javax/swing/Timer.java: Jalopy.
3003         (restart): Call stop, then start.
3004         (stop): Interrupt the timer rather than wait for
3005         the timer to come to a stop naturally.
3006         * javax/swing/ToolTipManager.java: Implement.
3007         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3008         Change ToolTip.background color.
3009         * javax/swing/plaf/basic/BasicToolTipUI.java:
3010         Implement.
3011         * testsuite/Makefile.in: Regenerate
3012
3013 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3014
3015         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3016         constructor param comments.
3017
3018 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3019
3020         * java/awt/Component.java: Document AWT 1.0 event handler
3021         methods.
3022
3023 2004-08-31  Roman Kennke  <roman@ontographics.com>
3024
3025         * javax/swing/Box.java:
3026         (createGlue): Implemented
3027         (createHorizontalGlue): Implemented
3028         (createHorizontalStrut): Implemented
3029         (createVerticalGlue): Implemented
3030         (createVerticalStrut): Implemented
3031
3032 2004-08-31  David Jee  <djee@redhat.com>
3033
3034         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3035         (GtkChoicePeer): Do not automatically select first item.
3036         (getHistory): Remove.
3037         (nativeGetSelected): New method.
3038         (nativeRemoveAll): New method.
3039         (add): Use nativeGetSelected() instead of getHistory().
3040         (remove): Likewise.
3041         (removeAll): Call nativeRemoveAll().
3042         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3043         (create): Migrate to GtkComboBox.
3044         (append): Likewise.
3045         (nativeAdd): Likewise.
3046         (nativeRemove): Likewise.
3047         (select): Likewise.
3048         (nativeRemoveAll): New method.
3049         (nativeGetSelected): New method.
3050         (selection_changed): New method.
3051         (getHistory): Remove.
3052         (item_activate): Remove.
3053         (item_removed): Remove.
3054         (connect_choice_item_selectable_hook): Remove.
3055
3056 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3057
3058         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3059         variable in setEditable call.
3060
3061         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3062         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3063         (gtkWidgetSetBackground): New method.
3064         (gtkWidgetSetForeground): Likewise.
3065         (create): Set peer's editable state based on awtComponent's.
3066
3067         * java/awt/Button.java (Button()): Use empty string rather than
3068         null in no-label constructor.
3069
3070 2004-08-31  Roman Kennke  <roman@ontographics.com>
3071
3072         * javax/swing/BoxLayout.java: Reimplement.
3073
3074 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3075
3076         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3077         gnu_java_awt_peer_gtk_GdkGraphics.c
3078         (initState(GtkComponentPeer)): Don't return array of colour
3079         values.
3080         (GdkGraphics(int,int)): Set default font to size 12.
3081         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3082         component's foreground colour.
3083         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3084         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3085         (initState(GtkComponentPeer)): Don't return array of colour
3086         values.
3087         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3088         colours to component's colours.
3089         (current_colors_of_widget): Remove function.
3090         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3091         Return a new graphics object.
3092         * java/awt/Font.java (toString): Fix format.
3093         * java/awt/Graphics.java (toString): Likewise.
3094
3095 2004-08-31  Craig Black  <craig.black@aonix.com>
3096
3097         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3098         (addTearOff): New function.
3099         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3100         New native method.
3101         (init): Call addTearOff() when menu.isTearOff().
3102
3103 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3104
3105         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3106         Default implementation.
3107         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3108         Implement using GdkPixbufDecoder.
3109
3110 2004-08-31  David Jee  <djee@redhat.com>
3111
3112         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3113         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3114         setting the size of GtkFileDialogPeers.
3115         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3116         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3117         use their default sizes rather than their natural requisitions.
3118
3119 2004-08-31  Michael Koch  <konqueror@gmx.de>
3120
3121         * javax/swing/JFormattedTextField.java
3122         (JFormattedTextField): Implemented.
3123         * javax/swing/text/DefaultEditorKit.java
3124         (BeepAction): New inner class.
3125         * javax/swing/text/Segment.java
3126         (partialReturn): New field.
3127         (setPartialReturn): New method.
3128         (isPartialReturn): Likewise.
3129         * javax/swing/text/View.java
3130         (createFragment): Fixed typo.
3131         (getStartOffset): New method.
3132         (getEndOffset): Likewise.
3133
3134 2004-08-31  Michael Koch  <konqueror@gmx.de>
3135
3136         * javax/swing/table/DefaultTableColumnModel.java
3137         (serialVersionUID): Made private.
3138         (listenerList): Initialize.
3139         (changeEvent): Initialize.
3140         * javax/swing/table/JTableHeader.java
3141         (JTableHeader): New constructors.
3142         (createDefaultColumnModel): New method.
3143         * javax/swing/table/TableColumn.java
3144         (setHeaderRenderer): Simplified code.
3145         (setCellRenderer): Likewise.
3146         (setWidth): Likewise.
3147
3148 2004-08-31  Tom Tromey  <tromey@redhat.com>
3149
3150         * java/text/AttributedString.java (AttributedString): Use
3151         ArrayList to build array of attribute ranges.  Don't use
3152         `attribs' before it is set.
3153
3154 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3155
3156         * HACKING: Remove reference to special automake. No longer needed.
3157
3158 2004-08-30  Tom Tromey  <tromey@redhat.com>
3159
3160         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3161         return result from `add'.
3162
3163 2004-08-30  Tom Tromey  <tromey@redhat.com>
3164
3165         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3166
3167 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3168
3169         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3170
3171 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3172
3173         * java/io/File.java File(String,String): Fixed handling of empty
3174         path.
3175
3176 2004-08-30  Casey Marshall  <csm@gnu.org>
3177
3178         Author e-mail updated for all files.
3179         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3180         instance of OID.
3181         (compareTo): Use `equals'.
3182         * gnu/java/security/der/BitString.java (equals): Test if the
3183         argument is an instance of BitString.
3184         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3185         class final. Made fields private.
3186         (<init>): New constructor.
3187         (skip): New method.
3188         (makeString): Made static; don't use NIO.
3189         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3190         * gnu/java/security/der/DERWriter.java: Fixed imports.
3191         (writeString): Don't use NIO.
3192         (toIso88591, toUtf16Be, toUtf8): New methods.
3193         * gnu/java/security/der/DERValue.java: Formatting changes only.
3194         * gnu/java/security/der/DER.java: Likewise.
3195
3196 2004-08-30  Tom Tromey  <tromey@redhat.com>
3197
3198         * java/nio/CharBuffer.java (put): Fix typo.
3199         * java/nio/DoubleBuffer.java (put): Fix typo.
3200         * java/nio/FloatBuffer.java (put): Fix typo.
3201         * java/nio/IntBuffer.java (put): Fix typo.
3202         * java/nio/LongBuffer.java (put): Fix typo.
3203         * java/nio/ShortBuffer.java (put): Fix typo.
3204
3205 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3206
3207         * java/nio/ByteBuffer.java (put): Fix typo.
3208
3209 2004-08-30  Casey Marshall  <csm@gnu.org>
3210
3211         * java/security/DummyKeyPairGenerator.java (clone): Removed
3212         useless instanceof check.
3213         * java/security/DummyMessageDigest.java (clone): Likewise.
3214         * java/security/DummySignature.java (clone): Likewise.
3215         * java/security/MessageDigest.java (clone): Remove useless
3216         instanceof check.
3217         * java/security/MessageDigestSpi.java (clone): Likewise.
3218         * java/security/Signature.java (clone): Provide meaningful
3219         implementation.
3220         * java/security/SignatureSpi.java (clone): Likewise.
3221
3222 2004-08-29  Mark Wielaard  <mark@klomp.org>
3223
3224         * java/util/Arrays.java
3225         (sort(byte[], int, int)): Check fromIndex < 0.
3226         (sort(char[], int, int)): Likewise.
3227         (sort(short[], int, int)): Likewise.
3228         (sort(int[], int, int)): Likewise.
3229         (sort(long[], int, int)): Likewise.
3230         (sort(float[], int, int)): Likewise.
3231         (sort(double[], int, int)): Likewise.
3232         (sort(Object[], int, int, Comparator)): Likewise.
3233         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3234         (qsort(char[], int, int)): Likewise.
3235         (qsort(short[], int, int)): Likewise.
3236         (qsort(int[], int, int)): Likewise.
3237         (qsort(long[], int, int)): Likewise.
3238         (qsort(float[], int, int)): Likewise.
3239         (qsort(double[], int, int)): Likewise.
3240
3241 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3242
3243         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3244         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3245         java/util/ArrayList.java, java/util/Arrays.java,
3246         java/util/BitSet.java, java/util/Calendar.java,
3247         java/util/Collection.java, java/util/ListIterator.java,
3248         java/util/Map.java, java/util/SortedSet.java:
3249         Added additional exceptions to documentation, along
3250         with some additions and corrections.
3251
3252 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3253
3254         * configure.ac: Handle --enable-gc-debug.
3255         * configure: Regenerate.
3256         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3257         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3258         Rearrange include file order.
3259         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3260         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3261         (disable_gc_mutex): Delete along with all references.
3262         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3263         adjust for debug header size.
3264         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3265         debug case.
3266         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3267         (gcj_describe_type_fn): New.
3268         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3269         Register gcj_describe_type_fn.
3270         * include/boehm-gc.h:
3271         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3272         Don't define, but declare, for debug case.
3273         * java/lang/natObject.cc:
3274         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3275
3276 2004-08-26  Mark Wielaard  <mark@klomp.org>
3277
3278         Fixes PR libgcj/17002:
3279         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3280         a TimeZoneId string and then try to convert that to a TimeZone with
3281         getDefaultSystemTimeZone(String).
3282         (timezones0): Changed type from Hashtable to HashMap.
3283         (timezones): Create HashMap, not Hashtable.
3284         (getDefaultTimeZone): New method, rewritten from CNI version.
3285         (readTimeZoneFile): New method.
3286         (readtzFile): Likewise.
3287         (skipFully): Likewise.
3288         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3289         getDefaultTimeZoneId and rewritten.
3290         (getDefaultTimeZoneId): Rewritten in java.
3291         
3292 2004-08-25  David Daney  <daney@avtrex.com>
3293
3294         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3295         * Makefile.in: Regenerated.
3296
3297 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3298
3299         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3300         only if jvmpi is enabled.
3301         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3302         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3303         (_Jv_AllocString): Likewise.
3304         (_Jv_AllocPtrFreeObject): Likewise.     
3305
3306 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3307
3308         * defineclass.cc: Include <stdio.h>.
3309         * java/lang/natClassLoader.cc: Include <stdio.h>.
3310
3311 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3312             Michael Koch  <konqueror@gmx.de>
3313
3314         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3315         * Makefile.in: Regenerated.
3316
3317 2004-08-20  Michael Koch  <konqueror@gmx.de>
3318
3319         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3320         AC_COMPILE_IFELSE macros.
3321
3322 2004-08-20  Michael Koch  <konqueror@gmx.de>
3323
3324         * configure.in: Renamed to configure.ac.
3325         * configure.ac: New file.
3326         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3327         include/config.h.in, testsuite/Makefile.in: Regenerated.
3328
3329 2004-08-20  Michael Koch  <konqueror@gmx.de>
3330
3331         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3332         * aclocal.m4, configure: Regenerated.
3333
3334 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3335             Michael Koch  <konqueror@gmx.de>
3336
3337         * configure.in, Makefile.am: Ported to automake 1.9.
3338         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3339         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3340         Regenerated.
3341
3342 2004-08-19  Tom Tromey  <tromey@redhat.com>
3343
3344         * java/net/DatagramSocket.java: Fixed typo.
3345
3346 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3347
3348         PR libgcj/17081
3349         * java/net/URI.java (string): New field. Make all other fields
3350         transient.
3351         (readObject): Implemented.
3352         (writeObject): Implemented.
3353         (URI): Set 'string'.
3354
3355 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3356
3357         PR libgcj/17079
3358         * java/util/logging/Handler.java (isLoggable): Accept record if its
3359         log level equals the threshold level. From Robin Green.
3360
3361 2004-08-18  David Daney  <ddaney@avtrex.com>
3362
3363         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3364         instead of sigwait.
3365
3366 2004-08-17  Michael Koch  <konqueror@gmx.de>
3367
3368         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3369         * Makefile.in: Regenerated.
3370
3371 2004-08-16  Tom Tromey  <tromey@redhat.com>
3372
3373         PR java/8473:
3374         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3375
3376 2004-08-16  Michael Koch  <konqueror@gmx.de>
3377
3378         * Makefile.am
3379         (math_c_files): Renamed from c_files.
3380         (math_c_source_files): Renamed from c_source_files.
3381         * Makefile.in,
3382         gcj/Makefile.in,
3383         include/Makefile.in,
3384         testsuite/Makefile.in: Regenerated.
3385
3386 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3387
3388         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3389         to avoid autoconf warning.
3390         * configure: Rebuilt.
3391
3392 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3393
3394         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3395         localhostAddress to loopbackAddress.
3396         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3397
3398 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3399
3400         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3401         boehm-gc's include dirs.
3402         * configure: Rebuilt.
3403         * include/boehm-gc.h: Include gc_config.h.
3404
3405 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3406
3407         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3408         localhostAddress.
3409         (getByName): Return loopback address for null hostname, without
3410         security check. Use lookup(), not getAllByName.
3411         (getAllByName): Return loopback address for null hostname, without
3412         security check.
3413         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3414         check here.
3415
3416 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3417
3418         PR libgcj/17020
3419         Reported by Robin Green.
3420         * defineclass.cc (handleField): Don't throw exception on unrecognised
3421         modifier. Add FIXME comments for spec compliance.
3422         (handleMethod): Likewise.
3423
3424 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3425
3426         PR libgcj/16662
3427         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3428         (Almost everywhere): add LOG calls, fix, add comments.
3429         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3430         Add explicit check for LOCKED bit in slow case (PR 16662).
3431         (_Jv_MonitorExit): Add casts in debug-only code.
3432         Always release LOCKED bit before throwing exception.
3433         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3434         isn't.  Handle easy cases without lock acquisition.
3435         (Object::wait): Use NotifyAll for lock inflation.
3436
3437 2004-08-12  David Daney  <ddaney@avtrex.com>
3438
3439         * testsuite/libjava.lang/Process_1.java: New test.
3440         * testsuite/libjava.lang/Process_2.java: New test.
3441         * testsuite/libjava.lang/Process_3.java: New test.
3442         * testsuite/libjava.lang/Process_4.java: New test.
3443         * testsuite/libjava.lang/Process_5.java: New test.
3444         * testsuite/libjava.lang/Process_6.java: New test.
3445         * testsuite/libjava.lang/Process_1.out: Expected result.
3446         * testsuite/libjava.lang/Process_2.out: Expected result.
3447         * testsuite/libjava.lang/Process_3.out: Expected result.
3448         * testsuite/libjava.lang/Process_4.out: Expected result.
3449         * testsuite/libjava.lang/Process_5.out: Expected result.
3450         * testsuite/libjava.lang/Process_6.out: Expected result.
3451
3452 2004-08-12  David Daney  <ddaney@avtrex.com>
3453
3454         PR libgcj/11801
3455         * java/lang/PosixProcess.java: Rewrote.
3456         * java/lang/natPosixProcess.cc: Rewrote.
3457         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3458         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3459         * posix-threads.cc (block_sigchld) New function.
3460         (_Jv_ThreadRegister) Use it.
3461         (_Jv_ThreadStart) Use it.
3462         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3463         * Makefile.am: ... to specify extra native headers.
3464         * configure: Regenerated.
3465         * include/config.h: Regenerated.
3466         * Makefile.in: Regenerated.
3467         * gcj/Makefile.in: Regenerated.
3468         * include/Makefile.in: Regenerated.
3469         * testsuite/Makefile.in: Regenerated.
3470
3471 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3472
3473         PR tree-optimization/16867
3474         * testsuite/libjava.lang/PR16867.java: New test.
3475
3476 2004-08-09  Per Bothner  <per@bothner.com>
3477
3478         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3479         with private fields and access methods.
3480         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3481         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3482         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3483         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3484         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3485         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3486         * jni.cc: Likewise.
3487         * resolve.cc: Likewise.
3488         * gcj/field.h: Likewise.
3489         * include/jvm.h: Likewise.
3490         * java/lang/Class.h: Likewise.
3491         * java/lang/natClass.cc: Likwise.
3492         * java/lang/natClassLoader.cc: Likewise
3493         * java/lang/reflect/natMethod.cc: Likewise
3494         * verify.cc: Likewise.
3495         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3496         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3497
3498 2004-08-10  Andrew Haley  <aph@redhat.com>
3499
3500         * testsuite/libjava.lang/err14.java: New file.
3501         * testsuite/libjava.lang/err14.out: New file.
3502
3503 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3504
3505         * Makefile.am: Fix missing rename from x_nat_headers to 
3506         xlib_nat_headers.
3507         * Makefile.in: Regenerated.
3508
3509 2004-08-04  Andrew Haley  <aph@redhat.com>
3510
3511         * java/security/BasicPermission.java: Don't check wildcards.
3512
3513 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3514             Michael Koch  <konqueror@gmx.de>
3515
3516         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3517         * configure.in: Replaced all usages of AC_LINK_FILES by
3518         AC_CONFIG_LINKS.
3519         * aclocal.m4,
3520         configure: Regenerated.
3521
3522 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3523             Michael Koch  <konqueror@gmx.de>
3524
3525         * acconfig.h: Removed.
3526         * Makefile.am: Rename variables for xlib peer to include xlib and
3527         gtk_c_headers to gtk_jni_headers.
3528         * Makefile.in: Regenerated.
3529
3530 2004-08-04  Andrew Haley  <aph@redhat.com>
3531
3532         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3533         debugging.
3534
3535 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3536
3537         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3538         Replace most top level 'dnl' comments with '#' comments, conforming
3539         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3540         help strings.
3541         * configure: Rebuilt.
3542
3543 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3544
3545         * acinclude.m4: Include no-executables.m4.
3546         * aclocal.m4: Rebuild.
3547         * configure.in: Convert to the autoconf 2.59 version of
3548         of the no-executables hack, and also of the nonstandard CXX
3549         hack and the multilibbed CC and CXX hack.  Change prerequisite
3550         to autoconf 2.59.
3551         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3552         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3553         testsuite/Makefile.in: Regenerate.
3554
3555 2004-08-03  Tom Tromey  <tromey@redhat.com>
3556
3557         * jni.cc: Reindented.
3558
3559 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3560
3561         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3562
3563 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3564
3565         * testsuite/libjava.compile/PR16701.java: New test.
3566
3567 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3568
3569         * java/util/Collection.java, java/util/List.java,
3570         java/util/Map.java, java/util/Set.java,
3571         java/util/SortedMap.java, java/util/SortedSet.java:
3572         Added additional exceptions to documentation.
3573
3574 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3575
3576         PR libgcj/16814
3577         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3578         * configure. Regenerate.
3579         * include/win32.h: Explicitly include winsock2.h
3580         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3581         Winsock api.
3582
3583 2004-07-30  Michael Koch  <konqueror@gmx.de>
3584
3585         * java/util/zip/GZIPInputStream.java
3586         (GZIPInputStream): Increase buffer size to 4k.
3587         * java/util/zip/GZIPOutputStream.java
3588         (GZIPOutputStream): Likewise.
3589         * java/util/zip/Inflater.java
3590         (setInput): Merged formating with GNU classpath.
3591         * java/util/zip/InflaterInputStream.java
3592         (InflaterInputStream): Increase buffer size to 4k.
3593         (fill): Throw exception if stream ends early.
3594         (read): Merged endless-loop with GNU classpath.
3595         (skip): Increase buffer size to 2k.
3596
3597 2004-07-30  Michael Koch  <konqueror@gmx.de>
3598
3599         * gnu/java/awt/EmbeddedWindow.java
3600         (addNotify): Use AccessController to allow execution of privileged
3601         code.
3602
3603 2004-07-29  Michael Koch  <konqueror@gmx.de>
3604
3605         * gnu/java/lang/MainThread.java:
3606         Explicitely import used classes.
3607         (args): Make it type String[].
3608
3609 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3610
3611         * gnu/java/awt/ComponentDataBlitOp.java,
3612         gnu/java/beans/ExplicitBeanInfo.java,
3613         gnu/java/beans/IntrospectionIncubator.java,
3614         gnu/java/beans/editors/ColorEditor.java,
3615         gnu/java/beans/editors/FontEditor.java,
3616         gnu/java/beans/editors/NativeBooleanEditor.java,
3617         gnu/java/beans/editors/NativeByteEditor.java,
3618         gnu/java/beans/editors/NativeDoubleEditor.java,
3619         gnu/java/beans/editors/NativeFloatEditor.java,
3620         gnu/java/beans/editors/NativeIntEditor.java,
3621         gnu/java/beans/editors/NativeLongEditor.java,
3622         gnu/java/beans/editors/NativeShortEditor.java,
3623         gnu/java/beans/editors/StringEditor.java,
3624         gnu/java/io/ClassLoaderObjectInputStream.java,
3625         gnu/java/io/decode/Decoder.java,
3626         gnu/java/io/encode/Encoder.java,
3627         gnu/java/lang/ClassHelper.java,
3628         gnu/java/locale/Calendar.java,
3629         gnu/java/locale/Calendar_de.java,
3630         gnu/java/locale/Calendar_en.java,
3631         gnu/java/locale/Calendar_nl.java,
3632         gnu/java/locale/LocaleInformation_de.java,
3633         gnu/java/locale/LocaleInformation_en.java,
3634         gnu/java/locale/LocaleInformation_nl.java:
3635         Cleaned up imports.
3636
3637 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3638
3639         * README: Remove obsolete info. Update bug URL.
3640         * THANKS: Updated.
3641         * NEWS: Updated with news up to GCC 3.4 release.
3642
3643 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3644
3645         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3646         Renamed from 'setName'. New 2-argument form with default value.
3647         (run): Pass default 'value' parameter to System.getProperty().
3648         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3649         typos.
3650         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3651         not 'setName'.
3652
3653 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3654
3655         * configure.in: Check for minimum GTK version 2.4 requirement.
3656         * configure: Rebuilt.
3657
3658 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3659
3660         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3661         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3662         Reduce sleep time.
3663         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3664         compiler bug.
3665         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3666         address. Reduce sleep times. Synchronize with target threads before
3667         attempting to interrupt them. Don't try to calibrate yeild count,
3668         instead, always loop for a fixed time.
3669         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3670         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3671         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3672         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3673         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3674         * testsuite/libjava.lang/pr179.java: Likewise.
3675         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3676         time. Remove upper bounds check on sleep time. 
3677
3678 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3679
3680         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3681         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3682
3683 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3684
3685         * java/io/File.java (toURI): Throw RuntimeException, not 
3686         InternalError.
3687         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3688         class name, not instance.
3689
3690 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3691
3692         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3693         and gnu/java/security/action/SetAccessibleAction.java.
3694         * Makefile.in: Rebuilt.
3695
3696 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3697
3698         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3699         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3700         _Jv_InitPrimClass.
3701         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3702         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3703         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3704
3705 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3706
3707         * Makefile.am: Replace jar, rmic and rmiregistry references with
3708         gjar, grmic and grmiregistry.
3709         * configure.in: Likewise.
3710         * Makefile.in: Regenerate.
3711         * configure: Likewise.
3712         * gcj/Makefile.in: Likewise.
3713         * include/Makefile.in: Likewise.
3714         * testsuite/Makefile.in: Likewise.
3715
3716 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3717
3718         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3719         for privileged getProperty calls.
3720         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3721         SetAccessibleAction instead of anonymous class for doPrivileged call.
3722         (getMethod): Likewise.
3723         (setAccessible): New field. PrivilegedAction object to use when
3724         calling setAccessible.
3725         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3726         SetAccessibleAction instead of anonymous class for diPrivileged call.
3727         (setFields): Likewise.
3728         (getClassUID): Likewise.
3729         (findMethod): Likewise.
3730         * gnu/java/security/action/GetPropertyAction.java: New class.
3731         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3732
3733 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3734
3735         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3736         for final fields.
3737         * testsuite/libjava.lang/Serialization.java: New test.
3738         * testsuite/libjava.lang/Serialization.out: New.
3739
3740 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3741
3742         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3743         missed in last commit.
3744
3745 2004-07-23  Mark Wielaard  <mark@klomp.org>
3746
3747         * java/lang/System.java (static): Set http.agent system property when
3748         not yet set.
3749         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3750         from system property inside AccessController.doPrivileged() call.
3751         (proxyPort): Made package private.
3752         (proxyInUse): Likewise.
3753         (proxyHost): Likewise.
3754         (userAgent): Likewise.
3755
3756 2004-07-23  Mark Wielaard  <mark@klomp.org>
3757
3758         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3759         implementation.
3760
3761 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3762
3763         * Makefile.am (ordinary_java_source_files): Add
3764         DefaultContentHandlerFactory.java.
3765         * Makefile.in: Rebuilt.
3766         * java/net/URLConnection.java (defaultFactory): New field.
3767         (getContent): 
3768         (getContentHandler): Renamed from 'setContentHandler'. Try 
3769         defaultFactory after user-set factory, if any. Search for content 
3770         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3771         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3772         Implemented.
3773         (getLastModified): Implemented.
3774         (getPermission): Create file permission here, instead of in
3775         constructor.
3776         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3777         Implemented.
3778         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3779         Implemented.
3780         (getLastModified): Implemented.
3781         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3782         Default implementation.
3783         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3784         Implement using GdkPixbufDecoder.
3785         
3786 2004-07-21  Michael Koch  <konqueror@gmx.de>
3787
3788         * javax/swing/JTextArea.java
3789         (setLineWrap): Fire property change event after new value is set.
3790         (setTabSize): Likewise.
3791
3792 2004-07-21  Michael Koch  <konqueror@gmx.de>
3793
3794         * javax/swing/JTable.java
3795         (autoCreateColumnsFromModel): New field.
3796         (autoResizeMode): Likewise.
3797         (cellEditor): Likewise.
3798         (cellSelectionEnabled): Likewise.
3799         (columnModel): Likewise.
3800         (dataModel): Likewise.
3801         (defaultEditorsByColumnClass): Likewise.
3802         (defaultRenderersByColumnClass): Likewise.
3803         (editingColumn): Likewise.
3804         (editingRow): Likewise.
3805         (gridColor): Likewise.
3806         (preferredViewportSize): Likewise.
3807         (rowHeight): Likewise.
3808         (rowMargin): Likewise.
3809         (rowSelectionAllowed): Likewise.
3810         (selectionBackground): Likewise.
3811         (selectionForeground): Likewise.
3812         (selectionModel): Likewise.
3813         (showHorizontalLines): Likewise.
3814         (showVerticalLines): Likewise.
3815         (tableHeader): Likewise.
3816         (JTable): Implemented.
3817         (getColumnModel): Likewise.
3818         (getSelectedRow): Likewise.
3819         (getSelectionModel): Likewise.
3820         (setModel): Likewise.
3821         (setSelectionModel): Likewise.
3822         (createScrollPaneForTable): New method.
3823         (createDefaultDataModel): Likewise.
3824         (createDefaultListSelectionModel): Likewise.
3825         (getModel): Likewise.
3826         (getTableHeader): Likewise.
3827         (setTableHeader): Likewise.
3828         (getColumnSelectionAllowed): Likewise.
3829         (setColumnSelectionAllowed): Likewise.
3830         (getRowSelectionAllowed): Likewise.
3831         (setRowSelectionAllowed): Likewise.
3832         (getAutoResizeMode): Likewise.
3833         (setAutoResizeMode): Likewise.
3834         (getColumnCount): Likewise.
3835         (getRowCount): Likewise.
3836         (getCellRenderer): Likewise.
3837         * javax/swing/JTree.java
3838         (cellRenderer): New field.
3839         (editable): Likewise.
3840         (rootVisible): Likewise.
3841         (showsRootHandles): Likewise.
3842         (getModel): New method.
3843         (setModel): Likewise.
3844         (isEditable): Likewise.
3845         (setEditable): Likewise.
3846         (isRootVisbile): Likewise.
3847         (setRootVisible): Likewise.
3848         (getShowsRootHandles): Likewise.
3849         (setShowRootHandles): Likewise.
3850         (getCellRenderer): Likewise.
3851         (setCellRenderer): Likewise.
3852
3853 2004-07-21  Michael Koch  <konqueror@gmx.de>
3854
3855         * javax/swing/JFormattedTextField.java
3856         (setDocument): Implemented.
3857         * javax/swing/JRootPane.java:
3858         Fixed javadocs.
3859         * javax/swing/JTable.java
3860         (getDefaultRenderer): New method.
3861         * javax/swing/JTextField.java
3862         (setFont): Likewise.
3863         (getPreferredSize): Likewise.
3864         * javax/swing/JToggleButton.java
3865         (getAccessibleContext): Fix javadoc.
3866         * javax/swing/JTree.java:
3867         Add some javadocs.
3868         * javax/swing/JViewport.java:
3869         Likewise.
3870
3871 2004-07-21  David Jee  <djee@redhat.com>
3872
3873         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3874         Collect all native method declaration at the top.
3875         (create): Set the filename filter if necessary.
3876         (setDirectory): Call nativeSetDirectory().
3877         (setFilenameFilter): Implement.
3878         (filenameFilterCallback): New method.
3879         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3880         (create): Configure dialog to show hidden files.
3881         (filenameFilterCallback): New function. 
3882         (nativeSetFilenameFilter): New function.
3883         (nativeSetDirectory): New function.
3884
3885 2004-07-21  Kim Ho  <kho@redhat.com>
3886
3887         * javax/swing/plaf/basic/BasicSliderUI.java:
3888         Ran Jalopy.
3889         (paintTrack): Fill the track before painting
3890         the borders.
3891
3892 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3893
3894         patch from Roman Kennke <roman@ontographics.com>
3895         * javax/swing/Spring.java: New file.
3896         * javax/swing/SpringLayout.java: New file.
3897         * Makefile.am: Add new files.
3898         * Makefile.in: Regenerate.
3899
3900 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3901
3902         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3903         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3904         * javax/swing/ScrollPaneLayout.java: Likewise.
3905
3906 2004-07-21  Kim Ho  <kho@redhat.com>
3907
3908         * javax/swing/DefaultDesktopManager.java:
3909         (findMinimum): Removed.
3910         (resizeFrame): Trust the UI to pass valid 
3911         bounds.
3912         * javax/swing/JOptionPane.java:
3913         Implemented showInternalXXXDialog methods.
3914         (startModal): New method.
3915         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3916         (BorderListener::mouseDragged): Verify that the new 
3917         bounds are valid before passing them to the DesktopManager.
3918         (preferredLayoutSize): Delegate
3919         to getSize.
3920         (minimumLayoutSize): Ditto.
3921         (getSize): New method.
3922         (GlassPaneDispatcher): Reimplemented by copying 
3923         a stripped down LightweightDispatcher from Container.
3924         (getMinimumSize): Call minimumLayoutSize.
3925         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3926         Ran Jalopy.
3927         (mousePressed): Add ability to properly close 
3928         JInternalFrames.
3929         * javax/swing/plaf/basic/BasicToolBarUI.java:
3930         (DragWindow): Set owner for DragWindow.
3931
3932 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3933
3934         * java/awt/image/ShortLookupTable.java: New file.
3935         * java/awt/image/ByteLookupTable.java: New file.
3936         * Makefile.am: Added new files.
3937         * Makefile.in: Regenerated.
3938
3939 2004-07-21  David Jee  <djee@redhat.com>
3940
3941         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3942         (create(GtkContainerPeer)): New native method.
3943         (create()): Call native create(), passing in the parent frame
3944         as the paramter. Natively set the current file and directory.
3945         (setFile): Construct an absolute filename before passing it to
3946         the native peer.
3947         (nativeGetDirectory): New method.
3948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3949         (window_closed): Removed.
3950         (ok_clicked): Likewise.
3951         (cancel_clicked): Likewise.
3952         (handle_response): New method.
3953         (create): Use GtkFileChooserDialog.
3954         (connectSignals): Connect to handle_response.
3955         (nativeGetDirectory): New method.
3956         (nativeSetFile): Use GtkFileChooserDialog.
3957
3958 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3959
3960         * java/awt/image/LookupTable.java: New file.
3961         * Makefile.am: Added new file.
3962         * Makefile.in: Regenerated.
3963
3964 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3965
3966         * java/awt/image/Kernel.java: New file.
3967         * Makefile.am: Added new file.
3968         * Makefile.in: Regenerated.
3969
3970 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3971
3972         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3973         * javax/swing/JMenu.java: Likewise.
3974         * javax/swing/JMenuBar.java: Likewise.
3975         (MARGIN_CHANGED_PROPERTY): New property.
3976         (setMargin): Implemented.
3977         * javax/swing/JMenuItem.java: Fixed javadocs.
3978         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3979         (LABEL_CHANGED_PROPERTY): New property.
3980         (add): changed to use createActionComponent.
3981         (createActionComponent): Implemented.   
3982         (setLabel): Fire PropertyChangeEvent if label property
3983         changes.
3984         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3985         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3986         (ContainerHandler): Repaint if margin property has changed.
3987         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3988         (installUI): Call installComponents().
3989         (uninstallUI): Call uinstallComponents().
3990         * javax/swing/plaf/basic/BasicMenuUI.java:
3991         Fixed javadocs.
3992         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3993         Likewise.
3994
3995 2004-07-21  Kim Ho  <kho@redhat.com>
3996
3997         * javax/swing/plaf/basic/BasicToolBarUI.java:
3998         (DragWindow): Use the right constructor.
3999
4000 2004-07-21  Kim Ho  <kho@redhat.com>
4001
4002         * javax/swing/JToolBar.java:
4003         (layoutContainer): Use getComponents.
4004         * javax/swing/plaf/basic/BasicToolBarUI.java:
4005         (DragWindow): Don't use SwingUtilities' 
4006         getOwnerFrame
4007         (ToolBarDialog): ditto.
4008
4009 2004-07-21  Kim Ho  <kho@redhat.com>
4010
4011         * javax/swing/JRootPane.java:
4012         Ran jalopy.
4013         (layoutContainer): Set the glasspane's size to 
4014         be the same as the content pane.
4015         (createGlassPane): Set opaque property to false.
4016
4017 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4018
4019         * java/awt/Component.java (requestFocus()): Don't handle Panels
4020         specially.
4021         (requestFocus(boolean)): Likewise.
4022         (requestFocusInWindow(boolean)): Likewise.
4023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4024         Set GTK_CAN_FOCUS flag.
4025
4026 2004-07-21  Kim Ho  <kho@redhat.com>
4027
4028         * Makefile.am: Added new file.
4029         * Makefile.in: Regenerated.
4030         * gcj/Makefile.in: Regenerated.
4031         * include/Makefile.in: Regenerated.
4032         * javax/swing/AbstractButton.java:
4033         Add rollOverEnabled property.
4034         (setRolloverEnabled): Use new property.
4035         (isRolloverEnabled): Use new property.
4036         * javax/swing/JTabbedPane.java:
4037         (setComponent): Remove useless JTabbedPane.this.
4038         * javax/swing/JToolBar.java: Finish implementation.
4039         * javax/swing/plaf/basic/BasicArrowButton.java:
4040         (paint): Moved border painting to a border.
4041         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4042         Change JToolBar look and feel defaults.
4043         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4044         (actionPerformed): Return Integer index instead of name.
4045         (addButtonComponents): Check to see if component is
4046         JButton last.
4047         (createMessageArea): Don't use components that are not
4048         completed yet.
4049         (getIconForType): Use temporary icons.
4050         * javax/swing/plaf/basic/BasicSliderUI.java:
4051         (mousePressed): Do not return if it's on thumb.
4052         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4053         (paintMinorTickForVertSlider): ditto.
4054         (paintMajorTickForHorizSlider): ditto.
4055         (paintMajorTickForVertSlider): ditto.
4056         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4057         Add a border around the SplitPaneDivider.
4058         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4059         Remove comments.
4060         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4061         New file. Implemented.
4062         * javax/swing/plaf/basic/BasicToolBarUI.java:
4063         Implemented.
4064         * testsuite/Makefile.in: Regenerated.
4065
4066 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4067
4068         * javax/swing/Timer.java (run): Queue events each time cycle.
4069
4070 2004-07-21  David Jee  <djee@redhat.com>
4071
4072         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4073         (imageComplete): Call image.imageComplete().
4074         * java/awt/image/MemoryImageSource.java:
4075         Reimplement consumers as a Vector instead of a Hashtable.  This is
4076         because enumeration on a Hashtable is not thread-safe.
4077         (addConsumer): Adapt to Vector consumers.
4078         (isConsumer): Adapt to Vector consumers.
4079         (removeConsumer): Adapt to Vector consumers.
4080         (startProduction): Adapt to Vector consumers. Call imageComplete()
4081         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4082         (newPixels): Adapt to Vector consumers.
4083         (sendPicture): Set the color model of the image consumer.
4084         (newPixels(IIII)): Adapt to Vector consumers.
4085         (newPixels(IIIIB)): Adapt to Vector consumers.
4086
4087 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4088
4089         * java/awt/Component.java (deliverEvent): Implement.
4090         (postEvent): Implement.
4091         (handleEvent): Implement.
4092         (translateEvent): New method.
4093         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4094         * java/awt/Container.java (deliverEvent): Implement.
4095         * java/awt/Event.java (paramString): Fix formatting.
4096         * java/awt/Font.java (toString): Likewise.
4097         * java/awt/Window.java (postEvent): Implement.
4098
4099 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4100
4101         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4102         Set window's focus owner upon receiving a FOCUS_LOST event.
4103         * java/awt/Window.java (Window()): Refocus the previously
4104         focused component within the window when the window regains the
4105         top-level focus.
4106         (setFocusOwner): New method.
4107         * java/awt/Component.java (requestFocus): Add FIXME.
4108
4109         * libgcj.pc.in: Remove library flags.
4110
4111 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4112
4113         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4114         MOUSE_PRESSED event.
4115         * java/awt/Component.java (requestFocus()): Handle Panel
4116         specially.  Post FOCUS_LOST event on opposite component.
4117         (requestFocus(boolean)): Likewise.
4118         (requestFocusInWindow(boolean)): Likewise.
4119         (paramString): Reorder dimension fields.
4120         * java/awt/Container.java (paramString): Fix string format.
4121         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4122         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
4123         process key events if the focus owner is non-null.
4124         (dispatchKeyEvent): Likewise.
4125         * java/awt/Frame.java (paramString): Fix formatting.
4126         (generateName): New method.
4127         (getUniqueLong): Likewise.
4128         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4129         the temporary focus owner is null.  If so, return the permanent
4130         focus owner.
4131         * java/awt/Panel.java (generateName): New method.
4132         (getUniqueLong): Likewise.
4133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4134         signal handling to make callbacks more specific.
4135
4136 2004-07-21  Michael Koch  <konqueror@gmx.de>
4137
4138         * javax/swing/text/Position.java
4139         (Bias): Implemented.
4140
4141 2004-07-21  Michael Koch  <konqueror@gmx.de>
4142
4143         * javax/swing/LookAndFeel.java
4144         (provideErrorFeedback): New method.
4145
4146 2004-07-21  Michael Koch  <konqueror@gmx.de>
4147
4148         * javax/swing/JTextArea.java
4149         (tabSize): New field.
4150         (getTabSize): New method.
4151         (setTabSize): Likewise.
4152
4153 2004-07-21  Michael Koch  <konqueror@gmx.de>
4154
4155         * javax/swing/ActionMap.java:
4156         Fixed javadocs all over.
4157         (serialVersionUID): Made private.
4158         (parent): Don't explicitely initialize with default value.
4159         (get): SImplified.
4160         (keys): Reimplemented.
4161         (allKeys): Likewise.
4162         (convertSet): Removed.
4163         * javax/swing/ComponentInputMap.java:
4164         Fixed javadocs all over.
4165         (ComponentInputMap): Implemented.
4166         (put): Likewise.
4167         (clear): Likewise.
4168         (remove): Likewise.
4169         (SetParent): Likewise.
4170         (getComponent): Likewise.
4171         * javax/swing/InputMap.java:
4172         Fixed javadocs all over.
4173         (serialVersionUID): Made private.
4174         (parent): Don't explicitely initialize with default value.
4175         (get): SImplified.
4176         (keys): Reimplemented.
4177         (allKeys): Likewise.
4178         (convertSet): Removed.
4179
4180 2004-07-21  Michael Koch  <konqueror@gmx.de>
4181
4182         * javax/swing/ActionMap.java,
4183         javax/swing/ComponentInputMap.java,
4184         javax/swing/InputMap.java,
4185         javax/swing/table/DefaultTableColumnModel.java,
4186         javax/swing/table/TableColumn.java,
4187         javax/swing/table/TableColumnModel.java,
4188         javax/swing/table/TableModel.java,
4189         javax/swing/text/AbstractDocument.java,
4190         javax/swing/text/TextAction.java:
4191         Reformated.
4192
4193 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4194
4195         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4196         Make method non-static.
4197         * javax/swing/AbstractButton.java:
4198         Rename fields to match property names where possible.
4199         (iconTextGap): New property.
4200         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4201         (init) New method, call from after various constructors.
4202         * javax/swing/JComponent.java (revalidate): 
4203         Invalidate before queueing repair.
4204         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4205         Reimplement in terms of visibleRowCount property.
4206         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4207         * javax/swing/JScrollPane.java (createScrollListener): 
4208         Remove tracing chatter.
4209         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4210         * javax/swing/RepaintManager.java (addInvalidComponent): 
4211         Don't invalidate.
4212         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4213         calculations.
4214         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4215         Mimic sun behavior on top left/right positioning.
4216         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4217         Remove mistaken use of preferredScrollableViewportSize here.
4218         (layoutContainer): Use view's preferred size as basis.
4219         * javax/swing/plaf/basic/BasicButtonUI.java:
4220         Set, get, and use textIconGap property.
4221         (paint) Paint text returned from layout (with ellipsis).
4222         * javax/swing/plaf/basic/BasicListUI.java:
4223         Remove tracing chatter, correct various minor calculations.
4224         (getCellBounds): Update layout state before calculating.
4225         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4226         Use margin default similar to sun's.    
4227         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4228         (createIncreaseIcon): Center icon, minimize margins.
4229         (createDecreaseIcon): Likewise.
4230         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4231         Implement.
4232         (installUI): Call it.
4233         (uninstallDefaults): Implement.
4234         (uninstallUI): Call it.
4235         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4236         Call existing Window constructor.
4237         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4238         Set clip before painting.
4239
4240 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4241         
4242         * javax/swing/JMenuItem.java:
4243         (processMouseEvent): Reimplemented to deal with
4244         mouse drag events.
4245         (createMenuDragMouseEvent): New private helper method.
4246         Creates MenuDragMouseEvent.
4247         * javax/swing/MenuSelectionManager.java
4248         (componentForPoint): Implemented.
4249         (isComponentPartOfCurrentMenu): Made public.
4250         (processMouseEvent): Reimplemented to deal with 
4251         mouse drag events.
4252         (setSelectedPath): Corrected small mistake that caused
4253         path to be set incorrectly.
4254         (getPath): If given component is JMenu then also add this
4255         menu's popup menu to the selected path.
4256         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4257         (getPath): Ditto.
4258         (getPreferredSize): Call getPreferredMenuItemSize().
4259         (getPreferredItemSize): Moved code from getPreferredSize to here.
4260         (installListeners): Install MouseMotionListeners.
4261         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4262         if mouse wasn't released in the bounds of this menu item.
4263         (MenuDragMouseHandler): Implemented.
4264         * javax/swing/plaf/basic/BasicMenuUI.java:
4265         (installListeners): Install MouseMotionListener and 
4266         MenuDrageMouseListener.
4267         (MenuDragMouseHandler): Implemented.
4268         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4269         (uninstallListeners): Implemented.
4270         
4271 2004-07-21  Michael Koch  <konqueror@gmx.de>
4272
4273         * javax/swing/JCheckBox.java: Reformated.
4274         (JCheckBox): Fixed all constructors.
4275         (isBorderPaintedFlat): New method.
4276         (setBorderPaintedFlat): New method.
4277         * javax/swing/JEditorPane.java
4278         (createEditorKitForContentType): Made public.
4279         (scrollToReference): Likewise.
4280         * javax/swing/JTextArea.java
4281         (setLineWrap): Fire property change.
4282         * javax/swing/JToggleButton.java
4283         (JToggleButton): New constructor.
4284         (JToggleButton): Simplified.
4285         * javax/swing/text/AttributeSet.java
4286         (FontAttribute): Renamed from FontCharacterAttribute.
4287         * javax/swing/text/JTextComponent.java
4288         (KeyBinBinding): Added javadoc.
4289         (JTextComponent): Likewise.
4290         (getAccessibleContext): Fixed javadoc.
4291         * javax/swing/text/View.java
4292         (View): Added javadoc.
4293         * javax/swing/text/TabableView.java: New file.
4294         * Makefile.am: Added javax/swing/text/TabableView.java.
4295         * Makefile.in: Regenerated.
4296
4297 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4298
4299         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4300         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4301         (GtkErrorImage): New helper class.
4302         (bufferedImageOrError): New helper method.
4303         (createImage): Use it.
4304
4305 2004-07-21  David Jee  <djee@redhat.com>
4306
4307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4308         (setCaretPosition): Scroll the text view so the new caret position
4309         is visible on screen.
4310
4311 2004-07-21  David Jee  <djee@redhat.com>
4312
4313         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4314         (setBounds): Do not validate awtComponent here.
4315         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4316         (getPreferredSize): New method.
4317         * java/awt/ScrollPane.java
4318         (ScrollPane): Set default size to 100x100.
4319         (addNotify): If child is not a Panel, wrap it with a new Panel.
4320         (paramString): Implement.
4321
4322 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4323
4324         * javax/swing/JMenu.java:
4325         (setSelected): Display popup menu only if this menu 
4326         is showing on the screen.
4327         * javax/swing/JPopupMenu.java:
4328         (processMouseEvent): Added comment.
4329         (processKeyEvent): Likewise.
4330         * javax/swing/MenuSelectionManager.java:
4331         (clearSelectedPath): Only fireStateChanged() after
4332         selected path was changed, not before.
4333         (setSelectedPath): Likewise.
4334         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4335         (paintMenuItem): Corrected position of menu item's
4336         icon.
4337         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4338         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4339         (popupMenuCanceled): Reimplemented.
4340         (popupMenuWillBecomeVisible): Select first menu item by default 
4341         when displaying free floating popup menus.
4342         (TopWindowListener): Reimplemented.
4343
4344 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4345
4346         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4347         Panel from being painted twice when it is first shown.
4348
4349 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4350
4351         * java/awt/Window.java: Reverted changes from my 
4352         previous patch for creating window without an owner.
4353         * javax/swing/SwingUtilities.java: 
4354         (SwingUtilities.OwnerFrame): made static.
4355         (OwnerFrame.setVisible): New method. Overridden with
4356         empty implementation.
4357         (OwnerFrame.isShowing): New method. Ovverridden
4358         to return always true.
4359
4360 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4361
4362         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4363         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4364         (GtkComponentPeer): Remove temporary try/catch block.
4365         (setVisible): Call show and hide.
4366         (show): Make native.
4367         (hide): Likewise.
4368         (getArgs): Don't add "visible" argument.
4369         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4370         (property_notify_predicate): Return Bool instead of int.
4371         (find_layout): New function.
4372         (connectJObject): Call find_layout.
4373         (connectSignals): Likewise.
4374         (moveLayout): Likewise.
4375         (gtkLayoutSetVisible): Likewise.
4376
4377 2004-07-21  Mark Wielaard  <mark@klomp.org>
4378
4379         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4380         on notifier object before calling notifyAll().
4381
4382 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4383
4384         * java/awt/Window.java: Changed constructors to use new
4385         method that is described below. Constructors call this
4386         methods only if newly created window should have an owner.
4387         (setWindowOwner): New method. Implementation for
4388         this method is moved from this(owner,configuration).
4389         * javax/swing/JWindow.java:
4390         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4391         instead of owner.
4392         * javax/swing/SwingUtilities.java:
4393         (ownerFrame): Change type of this field to OwnerFrame.
4394         (getOwnerFrame): Changed to return object of type OwnerFrame.
4395         (SwingUtilities.OwnerFrame): New class. Represents owner
4396         of a Window that is not provided with one.
4397
4398 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4399
4400         *  javax/swing/AbstractButton.java: 
4401         (configurePropertiesFromAction): Set action command
4402         to button's text by default if action command is not 
4403         explicitely specified.
4404         * javax/swing/JMenu.java: Remove unnecessary listener
4405         and methods relevant to it.
4406         (setSelected): Reimplemented.
4407         (menuSelectionChanged): Moved most part of implementation to
4408         setSelected() and call it instead.
4409         * javax/swing/JMenuItem.java: 
4410         (init): Comment out statement that sets paint_border to false.
4411         (configurePropertiesFromAction): Do not set accelerator
4412         for JMenu.
4413         (menuSelectionChanged): Change selected index in the selection
4414         model of menu item's parent.
4415         * javax/swing/JPopupMenu.java:
4416         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4417         instead of GridBagConstraints.HORIZONTAL.
4418         (insert): Likewise.
4419         (createActionChangeListener): Implemented.
4420         (setVisible): Correct location of HeavyWeightMenu and 
4421         don't firePopupMenuCanceled().
4422         (menuSelectionChanged): Implemented.
4423         (ActionChangeListener): New Listener. Implemented.
4424         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4425         (BasicMenuBarUI.ContainerHandler): Implemented.
4426         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4427         (paintMenuItem): Uncommented out code that paints 
4428         icon, now that icons are working properly.
4429         (PropertyChangeListener): Implemented.
4430         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4431         Added javadocs.
4432         (topWindowListener): New field.
4433         (Constructor): initialize topWindowListener.
4434         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4435         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4436         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4437         Implemented.
4438
4439 2004-07-21  Michael Koch  <konqueror@gmx.de>
4440
4441         * javax/swing/plaf/basic/BasicButtonUI.java
4442         (paintFocus): Fixed method signature.
4443         (paintButtonPressed): Likewise.
4444         (paintButtonNormal): Likewise.
4445         (paintText): New method.
4446         * javax/swing/plaf/basic/BasicLabelUI.java
4447         (paint): Re-indented.
4448         * javax/swing/plaf/basic/BasicTextUI.java
4449         (installUI): Set parent textComponent to opaque.
4450         * javax/swing/text/DefaultHighlighter.java
4451         (checkPositions): New helper method.
4452         (addHighlight): Throws BadLocationException, check positions.
4453         (changeHighlight): Likewise.
4454         * javax/swing/text/EditorKit.java
4455         (EditorKit): Implements Serializable.
4456         * javax/swing/text/JTextComponent.java
4457         (getUI): Added javadoc.
4458         (setUI): Likewise.
4459         (upadteUI): Added javadoc, don't revalidate and repaint.
4460
4461 2004-07-21  David Jee  <djee@redhat.com>
4462
4463         * java/awt/GridBagLayout.java
4464         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4465         * javax/swing/AbstractButton.java
4466         (setText): Reindent.
4467         * javax/swing/RepaintManager.java
4468         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4469
4470 2004-07-21  Michael Koch  <konqueror@gmx.de>
4471
4472         * javax/swing/JFormattedTextField.java
4473         (value): New field.
4474         (JFormattedTextField): Implemented.
4475         (getValue): Likewise.
4476         (setValue): Likewise.
4477         * javax/swing/LookAndFeel.java
4478         (getSupportsWindowDecorations): New method.
4479         * javax/swing/UIDefaults.java:
4480         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4481         (addPropertyChangeListener): Made public.
4482         (addResourceBundle): Likewise.
4483         (removeResourceBundle): Likewise.
4484         (setDefaultLocale): Likewise.
4485         * javax/swing/plaf/basic/BasicRootPaneUI.java
4486         (BasicRootPaneUI): Implements PropertyChangeListener.
4487         (propertyChange): New method.
4488         * javax/swing/plaf/basic/BasicTextUI.java
4489         (BasicHighlighter): New inner class.
4490         (createHighlighter): New method.
4491         * javax/swing/plaf/basic/BasicToolBarUI.java
4492         (DragWindow): Extends java.awt.Window.
4493         * javax/swing/text/JTextComponent.java
4494         (getDocument): Removed debug output.
4495         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4496         javax/swing/text/DefaultHighlighter.java,
4497         javax/swing/text/FieldView.java,
4498         javax/swing/text/PlainView.java: New files.
4499         * Makefile.am: Added new files.
4500         * Makefile.in: Regenerated.
4501
4502 2004-07-21  Michael Koch  <konqueror@gmx.de>
4503
4504         * javax/swing/JEditorPane.java
4505         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4506         (createEditorKitForContentType): Likewise.
4507         * javax/swing/text/DefaultEditorKit.java
4508         (serialVersionUID): Added constant field.
4509         (EndOfLineStringPropery): Fixed typo.
4510         (DefaultEditorKit): New constructor.
4511         * javax/swing/text/Segment.java:
4512         Import java.text.CharacterIterator.
4513         * javax/swing/text/CharacterIterator.java,
4514         javax/swing/text/PlainEditorKit.java: Removed.
4515         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4516         javax/swing/text/PlainEditorKit.java.
4517         * Makefile.in: Regenerated.
4518
4519 2004-07-21  Michael Koch  <konqueror@gmx.de>
4520
4521         * javax/swing/JButton.java,
4522         javax/swing/text/DefaultEditorKit.java,
4523         javax/swing/text/EditorKit.java,
4524         javax/swing/text/Segment.java,
4525         javax/swing/text/StyledEditorKit.java:
4526         Reformatted.
4527
4528 2004-07-21  Michael Koch  <konqueror@gmx.de>
4529
4530         * javax/swing/ImageIcon.java
4531         (file): Removed.
4532         (description): Renamed from descr.
4533         (ImageIcon): Added missing constructors.
4534         (setParent): Removed.
4535         (setImageObserver): New method.
4536         (getImageObserver): New method.
4537         (paintIcon): Handle observer = null.
4538         * javax/swing/JButton.java
4539         (removeNotify): Fixed javadoc.
4540         (updateUI): Simplified.
4541         * javax/swing/JRootPane.java
4542         (serialVersionUID): New constant field.
4543         * javax/swing/UIManager.java:
4544         Fixed javadocs all over.
4545         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4546         * javax/swing/text/AbstractDocument.java
4547         (createPosition): Throws BadLocationException.
4548         (getText): Likewise.
4549         (remove): Likewise.
4550         * javax/swing/text/ComponentView.java
4551         (modelToView): Likewise.
4552         * javax/swing/text/DefaultEditorKit.java:
4553         Made all public methods public.
4554         (read): Throws BadLocationException and IOException.
4555         (write): Likewise.
4556         * javax/swing/text/EditorKit.java:
4557         Made all public methods public.
4558         (serialVersionUID): New constant field.
4559         (clone): New method.
4560         (read): Throws BadLocationException and IOException.
4561         (write): Likewise.
4562         * javax/swing/text/Segment.java
4563         (array): Made public.
4564         (count): Likewise.
4565         (offset): Likewise.
4566         (Segment): New constructors.
4567         (clone): Reimplemented.
4568         * javax/swing/text/StyledEditorKit.java
4569         (serialVersionUID): New constant field.
4570
4571 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4572
4573         * java/awt/image/BufferedImage.java 
4574         (getSource): Implement.
4575         * javax/swing/ImageIcon.java 
4576         (ImageIcon): Implement ctor.
4577         * javax/swing/ScrollPaneLayout.java 
4578         (preferredLayoutSize): Be more careful about nulls.
4579
4580 2004-07-21  Michael Koch  <konqueror@gmx.de>
4581
4582         * javax/swing/text/AttributeSet.java
4583         (CharacterAttribute): New interface
4584         (ColorAttribute): Likewise.
4585         (FontCharacterAttribute): Likewise.
4586         (ParagraphAttribute): Likewise.
4587         * javax/swing/text/DefaultCaret.java
4588         (moveCaret): New method.
4589         (positionCaret): Likewise.
4590         (repaint): Made protected.
4591         * javax/swing/text/JTextComponent.java
4592         (KeyBinding): Made it static.
4593         * javax/swing/text/View.java
4594         (getContainer): Honor parent == null.
4595
4596 2004-07-21  Michael Koch  <konqueror@gmx.de>
4597
4598         * javax/swing/text/AbstractDocument.java:
4599         Reformatted.
4600
4601 2004-07-21  Michael Koch  <konqueror@gmx.de>
4602
4603         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4604         Import javax.swing.UIManager explicitely.
4605         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4606         (ScrollingButton): Made it static.
4607
4608 2004-07-21  Michael Koch  <konqueror@gmx.de>
4609
4610         * javax/swing/UIDefaults.java
4611         (ActiveValue): Made public.
4612         (LazyValue): Likewise.
4613         * javax/swing/plaf/basic/BasicTextUI.java
4614         (RootView): Reintroduced.
4615         (view): Removed.
4616         (rootView): New field.
4617         (installUI): Create document if needed, initialize rootView.
4618         (uninstallUI): Hanle rootView.
4619         (paint): Likewise.
4620         (getRootView): Likewise.
4621         (setView): Likewise.
4622         * javax/swing/text/DefaultCaret.java:
4623         Renamed all "evt" variables to "event".
4624
4625 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4626
4627         * libgcj.spec.in: Add -l-java-util-logging.
4628
4629 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4630
4631         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4632         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4633         gtk-xft-dpi can no calculate the right value.
4634         (dpi_changed_cb): Mark *pspec as unsused.
4635
4636 2004-07-21  David Jee  <djee@redhat.com>
4637
4638         * java/awt/Component.java
4639         (move): Delegate to setBounds().
4640         (resize): Likewise.
4641         (reshape): Fix so it repaints parent and self only when necessary.
4642
4643 2004-07-21  David Jee  <djee@redhat.com>
4644
4645         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4646         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4647         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4648         (setVisible): Likewise.
4649         (show): Likewise.
4650         (hide): Likewise.
4651         (getArgs): Likewise.
4652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4653         (property_notify_predicate): Likewise.
4654         (find_layout): Likewise.
4655         (connectJObject): Likewise.
4656         (connectSignals): Likewise.
4657         (moveLayout): Likewise.
4658         (gtkLayoutSetVisible): Likewise.
4659
4660 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4661
4662         * Makefile.am
4663         (jv_convert_LDADD):
4664         (gij_LDADD):
4665         (rmic_LDADD):
4666         (rmiregistry_LDADD): Add lib-java-util-logging.la
4667         * Makefile.in: Regenerate.
4668
4669 2004-07-21  Michael Koch  <konqueror@gmx.de>
4670
4671         * javax/swing/text/AbstractDocument.java
4672         (replace): Dont use protected method of java.util.Vector directly.
4673
4674 2004-07-21  Michael Koch  <konqueror@gmx.de>
4675
4676         * javax/swing/plaf/basic/BasicTextUI.java
4677         (installUI): Call specialized install methods.
4678         (installDefaults): New method.
4679         (installListeners): Likewise.
4680         (installKeyboardActions): Likewise.
4681         (uninstallUI): Likewise.
4682         (uninstallDefaults): New method.
4683         (uninstallListeners): Likewise.
4684         (uninstallKeyboardActions): Likewise.
4685         (getPropertyPrefix): New abstract method.
4686         (paint): Made final, just call paintSafely().
4687         (paintSavely): New method.
4688         (paintBackground): Likewise.
4689         (getVisibleEditorRect): Likewise.
4690         * javax/swing/text/LayeredHighlighter.java,
4691         javax/swing/text/TabExpander.java: New files.
4692         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4693         and javax/swing/text/TabExpander.java.
4694         * Makefile.in: Regenerated.
4695
4696 2004-07-21  Michael Koch  <konqueror@gmx.de>
4697
4698         * javax/swing/plaf/basic/BasicTextUI.java
4699         (BasicTextUI): Made abstract.
4700         (BasicCaret): New inner class.
4701         (view): Don't explicitely initialize with "null".
4702         (textComponent): New field.
4703         (textColor): Removed.
4704         (disabledTextColor): Removed.
4705         (normalBackgroundColor): Removed.
4706         (RootView): Removed commented out inner class.
4707         (createUI): Removed.
4708         (createCaret): New method.
4709         (getComponent): Likewise.
4710         (installUI): Initialize textComponent only.
4711         (getPreferredSize): Use installed JTextComponent.
4712         (setView): New method.
4713         (create): Likewise.
4714         * javax/swing/text/JTextComponent.java
4715         (highlighter): New field.
4716         (caretColor): Likewise.
4717         (disabledTextColor): Likewise.
4718         (seletedTextColor): Likewise.
4719         (selectionColor): Likewise.
4720         (setUI): New method.
4721         (getCaretColor): Likewise.
4722         (setCaretColor): Likewise.
4723         (getDisabledColor): Likewise.
4724         (setDisabledColor): Likewise.
4725         (getSelectedTextColor): Likewise.
4726         (setSelectedTextColor): Likewise.
4727         (getSelectionColor): Likewise.
4728         (setSelectionColor): Likewise.
4729         (getHighlighter): Likewise.
4730         (setHighlighter): Likewise.
4731         (replaceSelection): Likewise.
4732
4733 2004-07-21  Michael Koch  <konqueror@gmx.de>
4734
4735         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4736         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4737         * javax/swing/plaf/basic/BasicToolBarUI.java
4738         (BasicToolBarUI): Implements SwingConstants.
4739
4740 2004-07-21  Michael Koch  <konqueror@gmx.de>
4741
4742         * javax/swing/JPopupMenu.java: Removed CVS tags.
4743         * javax/swing/UIDefaults.java: Reformatted.
4744         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4745         Explicitely import used classes.
4746
4747 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4748
4749         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4750         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4751         (GtkComponentPeer): Remove temporary try/catch block.
4752         (setVisible): Call show and hide.
4753         (show): Make native.
4754         (hide): Likewise.
4755         (getArgs): Don't add "visible" argument.
4756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4757         (property_notify_predicate): Return Bool instead of int.
4758         (find_layout): New function.
4759         (connectJObject): Call find_layout.
4760         (connectSignals): Likewise.
4761         (moveLayout): Likewise.
4762         (gtkLayoutSetVisible): Likewise.
4763
4764 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4765
4766         * javax/swing/AbstractButton.java:
4767         (setDisplayedMnemonicIndex): Check if button
4768         text is not null before checking its length.
4769         * javax/swing/JMenuItem.java:
4770         (processMouseEvent): Disarm menu item if mouse has
4771         exited it.
4772         * javax/swing/plaf/basic/BasicMenuUI.java:
4773         (MouseInputHandler.mouseEntered): Do not raise
4774         popup menu if this menu is already selected.
4775         (MouseInputHandler.mousePressed): Do not fire 
4776         MenuEvents.
4777         (MenuHandler): Implemented.     
4778
4779 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4780
4781         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4782         (getSelectedObjects): Implemented.
4783         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4784         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4785         Added javadoc for few methods.
4786         (processMouseEvent): Made public.
4787         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4788         (processMouseEvent): Likewise.
4789
4790 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4791
4792         * javax/swing/AbstractButton.java:
4793         (init): Set display mnemonic index to -1.
4794         (setMnemonic(char)): Use setMnemonic(int).
4795         (setMnemonic(int)): Set display mnemonic index.
4796         (getDisplayedMnemonicIndex): Change method signature
4797         by removing 'index' parameter.
4798         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4799         Added default for Menu.selectionBackground.     
4800         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4801         (paintMenuItem): Change background color of the selected
4802         menu item.
4803         (paintText): Paint differently when menu item is disabled.
4804         Also paint mnemonic if it appears in the menu item's label.
4805         (paintAccelerator): Paint accelerator differently
4806         if menu item is disabled.
4807         * javax/swing/plaf/basic/BasicMenuUI.java:
4808         (installDefaults): Install defaults for 
4809         selectionForeground and selectionBackground.
4810         (uninstallDefaults): Uninstall defauls for 
4811         selectionForeground and selectionBackground.
4812
4813 2004-07-21  Michael Koch  <konqueror@gmx.de>
4814
4815         * javax/swing/text/AbstractDocument.java
4816         (BranchElement): Implemented.
4817         (LeafElement): Implemented.
4818         * javax/swing/text/DefaultCaret.java:
4819         Import used classes.
4820         (serialVersionUID): New constant.
4821         * javax/swing/text/JTextComponent.java
4822         (AccessibleJTextComponent): Removed dead declaration.
4823         (caretPos): Removed.
4824         (setCaret): New method.
4825         * javax/swing/text/PlainDocument.java
4826         (rootElement): New field.
4827         (PlainDocument): Initialize rootElement.
4828         (createDefaultRoot): New method.
4829         (getDefaultRootElement): Implemented.
4830         * javax/swing/text/View.java: Reformatted.
4831         * javax/swing/text/ViewFactory.java
4832         (create): Added javadoc.
4833
4834 2004-07-21  Michael Koch  <konqueror@gmx.de>
4835
4836         * javax/swing/ToolTipManager.java: Reformatted.
4837
4838 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4839
4840         * javax/swing/AbstractButton.java
4841         (changeEvent): New field.
4842         (fireItemStateChanged): Change source of the event
4843         to 'this' before firing it to button listeners.
4844         (fireActionPerformed): Likewise.
4845         (fireStateChanged): Likewise.
4846         (createActionListener): Do not set source 
4847         of the event to AbstractButton.                                  
4848         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4849         (ContainerHandler.componentAdded): Removed 
4850         print out statement.
4851         (ContainerHandler.componentRemoved): Likewise.
4852
4853 2004-07-21  Michael Koch  <konqueror@gmx.de>
4854
4855         * javax/swing/text/Highlighter.java: New file.
4856         * Makefile.am: Added javax/swing/text/Highlighter.java.
4857         * Makefile.in: Regenerated.
4858
4859 2004-07-21  Michael Koch  <konqueror@gmx.de>
4860
4861         * javax/swing/ToolTipManager.java
4862         (stillInsideTimerAction): Fixed constructor arguments.
4863         (outsideTimerAction): Likewise.
4864         (insideTimerAction): Likewise.
4865
4866 2004-07-21  Michael Koch  <konqueror@gmx.de>
4867
4868         * javax/swing/JButton.java: Reformatted.
4869         * javax/swing/JFormattedTextField.java
4870         (getUIClassID): Implemented.
4871         * javax/swing/JRootPane.java
4872         (serialVersionUID): New constant.
4873         * javax/swing/JTextField.java
4874         (align): New field.
4875         (JTextField): Simplified.
4876         (getUIClassID): New method.
4877         (getActionListeners): Added @since tag.
4878         (setColumns): Invalidate layout and repaint.
4879         (getHorizontalAlignment): New method.
4880         (setHorizontalAlignment): New method.
4881         (selectAll): Removed.
4882         * javax/swing/SwingUtilities.java
4883         (getAncestorOfClass): Removed redundant @see tag.
4884         (isLeftMouseButton): Fixed implementation.
4885         (isMiddleMouseButton): Likewise.
4886         (isRightMouseButton): Likewise.
4887         * javax/swing/text/AbstractDocument.java
4888         (AttributeContext.addAttribute): New method.
4889         (AttributeContext.addAttributes): New method.
4890         (AttributeContext.getEmptySet): New method.
4891         (AttributeContext.reclaim): New method.
4892         (AttributeContext.removeAttribute): New method.
4893         (AttributeContext.removeAttributes): New method.
4894         * javax/swing/text/Document.java
4895         (createPosition): Throws BadLocationException.
4896         (getText): Likewise.
4897         (remove): Likewise.
4898         * javax/swing/text/JTextComponent.java
4899         (getText): Return null if no document is set. Catch
4900         BadLocationException.
4901         (getUI): Return ui.
4902         (updateUI): Simplified.
4903
4904 2004-07-21  Michael Koch  <konqueror@gmx.de>
4905
4906         * javax/swing/JButton.java
4907         (removeNotify): Fixed javadoc.
4908         (updateUI): Simplified.
4909
4910 2004-07-21  David Jee  <djee@redhat.com>
4911
4912         * gnu/java/awt/image/ImageDecoder.java
4913         (startProduction): Only add consumer if it's not added yet.
4914         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4915         (GdkPixbufDecoder): Don't call initState() here.
4916         (produce): Call initState() here, to ensure area_prepared and
4917         area_updated signals are properly connected.
4918         * gnu/java/awt/peer/gtk/GtkImage.java
4919         (setColorModel): Use equals() to compare ColorModel objects.
4920         (setPixels): Likewise.
4921         * java/awt/image/ColorModel.java
4922         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4923         * java/awt/image/RGBImageFilter.java
4924         (setColorModel): Set consumer's color model.
4925         (setPixels): Use equals() to compare ColorModel objects.
4926
4927 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4928
4929         * java/net/URLConnection.java (position): New field.
4930         (dateFormat1, dateFormat2, dateFormat3): Removed.
4931         (dateFormats): New field.
4932         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4933         each time instead of re-allocating.
4934         (initializeDateFormats): Initialize 'dateFormats'.
4935
4936 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4937
4938         PR libgcj/16591
4939         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4940         is defined.
4941
4942 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4943
4944         * java/net/Socket.java (getImpl): Now private. Remove comment.
4945
4946 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4947
4948         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4949         of chained Writer when calling super-constructor.
4950         * java/io/FilterWriter.java (FilterWriter): Likewise.
4951         * java/io/PrintWriter.java (PrintWriter): Likewise.
4952
4953 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4954
4955         * prims.cc (process_gcj_properties): Don't increment i within LHS
4956         of assignment.
4957
4958 2004-07-19  Per Bothner  <per@bothner.com>
4959
4960         Print -verbose:message on "loading", not initialization.
4961         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4962         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4963         gcj::verbose_class_flag.
4964         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4965         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4966         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4967         (_Jv_PrepareCompiledClass):  Likewise.
4968
4969 2004-07-18  Matthias Klose  <doko@debian.org>
4970
4971         * configure.in: Substitute target_noncanonical.
4972         * configure: Regenerate
4973
4974 2004-07-17  Michael Koch  <konqueror@gmx.de>
4975
4976         * java/lang/String.java: Fixed javadocs all over.
4977
4978 2004-07-17  Mark Wielaard  <mark@klomp.org>
4979
4980         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4981         when size is smaller.
4982         * java/io/RandomAccessFile.java (setLength): Use truncate for
4983         shrinking the file and seek plus write for expanding the file.
4984
4985 2004-07-17  Michael Koch  <konqueror@gmx.de>
4986
4987         * gnu/java/nio/channels/natFileChannelPosix.cc
4988         (implTruncate): Always save current position. Only reposition file
4989         pointer to where we started if not beyond new lenght. Reposition file
4990         pointer to file length if it points beyond the end of file.
4991
4992 2004-07-17  Mark Wielaard  <mark@klomp.org>
4993
4994         * javax/swing/Box.java: Put FIXME comment above class declaration.
4995         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4996         * javax/swing/JCheckBox.java: Likewise.
4997         * javax/swing/JDialog.java: Likewise.
4998         * javax/swing/JRadioButton.java: Likewise.
4999         * javax/swing/JToggleButton.java: Likewise.
5000         * javax/swing/UIManager.java: Likewise.
5001         * javax/swing/border/TitledBorder.java: Likewise.
5002         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5003         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5004         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5005         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5006         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5007         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5008         * javax/swing/text/JTextComponent.java: Likewise.
5009
5010 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
5011
5012         * java/net/DatagramPacket.java (setAddress): Removed check for
5013         null address.
5014
5015 2004-07-17  Michael Koch  <konqueror@gmx.de>
5016
5017         * java/net/DatagramSocket.java
5018         (getLocalAddress): Check if socket is bound or not.
5019         * java/net/Socket.java
5020         (getLocalAddrss): Check if socket is bound or not.
5021         (getPort): Return -1 when not connected. Dont check getImpl() for
5022         null.
5023         (setReuseAddress): Check if socket is closed.
5024         (isConnected): Check if getImpl() returns null.
5025
5026 2004-07-17  Mark Wielaard  <mark@klomp.org>
5027
5028         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5029         on notifier object before calling notifyAll().
5030
5031 2004-07-17  Michael Koch  <konqueror@gmx.de>
5032
5033         * gnu/java/nio/channels/FileChannelImpl.java
5034         (finalize): Added javadoc.
5035
5036 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
5037
5038         * java/text/CollationElementIterator.java
5039         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5040         (setText): Use ArrayList instead of Vector.
5041
5042 2004-07-17  Michael Koch  <konqueror@gmx.de>
5043
5044         * java/nio/ByteOrder.java
5045         (static): Removed. Not needed.
5046         Thanks to Patrick Reali for noticing.
5047         * java/nio/charset/CharsetDecoder.java
5048         (decode): Fix for classpath bug #9177: Reset state before flipping.
5049
5050 2004-07-17  Michael Koch  <konqueror@gmx.de>
5051
5052         * java/security/Security.java: Fixed javadocs all over.
5053
5054 2004-07-17  Michael Koch  <konqueror@gmx.de>
5055
5056         * gnu/java/awt/EmbeddedWindow.java
5057         (static): Removed.
5058         (addNotify): Set peer via reflection.
5059         (setWindowPeer): Removed.
5060         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5061         * Makefile.am (nat_source_files):
5062         Removed gnu/java/awt/natEmbeddedWindow.cc.
5063         * Makefile.in: Regenerated.
5064
5065 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
5066
5067         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5068         assignment.
5069         * configure: Regenerated.
5070
5071 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
5072
5073         * configure.in: Use build_noncanonical rather than build_alias.
5074         * configure: Rebuild.
5075
5076         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5077         by logic refactoring.  Move default definition of NATIVE closer
5078         to first alternate definition.
5079         * configure: Regenerate.
5080
5081         * Makefile.am: Set ZIP and GCJH directly using autoconf.
5082         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5083         gcj/Makefile.in: Regenerate.
5084         * configure.in: Set ZIP and GCJH.  Remove redundant condition
5085         in AM_CONDITIONAL(NATIVE,...)
5086         * configure: Regenerate.
5087
5088 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
5089
5090         * configure.in: Use target_noncanonical rather than
5091         target_alias for forward-compatibility with autoconf 2.59.
5092         * configure: Regenerate.
5093         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5094         testsuite/Makefile.am: Substitute target_noncanonical.
5095         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5096         testsuite/Makefile.in: Regenerate.
5097
5098         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5099         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5100         * acinclude.m4: Include acx.m4.
5101         * aclocal.m4: Regenerate.
5102         * configure: Regenerate.
5103
5104 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
5105
5106         PR libgcj/16574
5107         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5108         (decimalFormat): New static variable.
5109         (sbuf): Likewise.
5110         (getTime): New. Override Date.getTime().
5111         (toString): Synchronize. Use decimalFormat to format nanos value
5112         correctly. Truncate extra zeros.
5113         (before): Compare getNanos() only if getTime() is equal.
5114         (after): Likewise.
5115         
5116 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5117
5118         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5119         * configure.in: ...here.
5120         * aclocal.m4: Regenerate.
5121         * configure: Regenerate.
5122
5123         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5124         * configure: Rebuilt with autoconf 2.13.
5125         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5126         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5127
5128 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
5129
5130         PR libgcj/16204
5131         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5132         large file support.
5133         * Makefile.in: Rebuilt.
5134         * testsuite/libjava.lang/LargeFile.java: New test case.
5135         * testsuite/libjava.lang/LargeFile.out: New file.
5136
5137 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5138
5139         * java/beans/EventHandler.java: Remove debugging statements.
5140
5141 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5142
5143         * java/beans/EventHandler.java: New file.
5144         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5145         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5146         testsuite/Makefile.in: Regenerate.
5147
5148 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5149
5150         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5151         flag to the gcj_setup.
5152         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5153         the tclsh.
5154         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5155         deprecation flag change. 58 XFAILS removed.
5156
5157 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5158
5159         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5160         -fno-use-divide-subroutine.
5161         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5162         (HANDLE_FPE): Define.
5163         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5164         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5165         (HANDLE_DIVIDE_OVERFLOW): Define.
5166
5167 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5168             Matthias Klose  <doko@debian.org> 
5169
5170         * java/awt/im/InputContext.java: Initialize in, line.
5171
5172 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5173
5174         * interpret.cc (run): Correctly access libffi return values of
5175         integral smaller-than-int type; these are implicitly promoted.
5176
5177 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5178
5179         PR libgcj/7587
5180         * interpret.cc (compile_mutex): New.
5181         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5182         (run): Lock compile_mutex before calling compile() if compilation is
5183         required.
5184         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5185         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5186
5187 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5188
5189         PR libgcj/15713
5190         * include/jvm.h (_Jv_value): New union type.
5191         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5192         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5193         union members.
5194
5195 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5196
5197         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5198         * gnu/awt/xlib/XOffScreenImage.java
5199           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5200           constructor argument. Add constructor using ImageProducer.
5201           (getSource): Implement.
5202           (imageComplete): New method.
5203           (setColorModel): New method.
5204           (setDimensions): New method.
5205           (setHints): New method.
5206           (setPixels): New method.
5207           (setProperties): New method.
5208         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5209         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5210
5211 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5212
5213         PR libgcj/16478 
5214         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5215         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5216         (finalizerReady): Now native.
5217         (run): Likewise.
5218         (runFinalizers): Removed.
5219         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5220         a primitive lock, and don't hold it while running the finalizers.
5221         (runFinalizers): Implement. Don't aquire any Java lock.
5222         (finalizerReady): Use lock primitives to signal finalizer thread.
5223
5224 2004-07-11  Mark Wielaard  <mark@klomp.org>
5225
5226         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5227         * java/net/URLStreamHandler.java (parseURL): When url file part
5228         doesn't contain a '/' just ignore context.
5229
5230 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5231
5232         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5233         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5234         (MAKE_THROW_FRAME): Do not modify PSW address.
5235         (INIT_SEGV): Install SIGINFO-style signal handler.
5236         (INIT_FPE): Likewise.
5237
5238 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5239
5240         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5241         status. 21 xfail's removed, 1 added.
5242
5243 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5244
5245         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5246
5247 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5248
5249         * java/text/MessageFormat.java
5250         (formatInternal): Append "{n}" if argument n is unavailable.
5251         (format(Object, StringBuffer, FieldPosition)): This
5252         should be equivalent to format(Object[],
5253         StringBuffer, FieldPosition).
5254
5255 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5256
5257         * java.util.Calendar.java (cache): New private static field. Cached
5258         mappings of locales->calendar classes.
5259         (ctorArgTypes): New private static field. Singleton argument for
5260         calendar class constructor lookup.
5261         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5262         Optimize by bypassing reflection instantiation for the 
5263         GregorianCalendar case.
5264
5265 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5266
5267         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5268         ResourceBundle.getBundle() calls.
5269         * java/util/GregorianCalendar.java: Likewise.
5270         * java/util/Currency.java: Likewise.
5271         * java/text/BreakIterator.java: Likewise.
5272         * java/text/Collator.java: Likewise.
5273         * java/text/DateFormat.java: Likewise.
5274         * java/text/DateFormatSymbols.java: Likewise.
5275         * java/text/DecimalFormatSymbols.java: Likewise.
5276         * java/text/NumberFormat.java: Likewise.
5277         * java/awt/Window.java: Likewise.       
5278
5279 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5280
5281         * java/util/ResourceBundle.java (bundleCache): Renamed from
5282         resourceBundleCache. Update comments.
5283         (getObject): Don't catch MissingResourceException.
5284         (getBundle(String)): Remove 'final'. Use system classloader if
5285         getCallingClassLoader returned null.
5286         (getBundle(String, Locale)): Likewise.
5287         (BundleKey): New private class. HashMap key for bundle cache lookup.
5288         (lookupKey): New. Singleton instance of BundleKey.
5289         (nullEntry): New. Cache entry to represent failed lookups.
5290         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5291         caching strategy, no-allocation lookup, and new tryBundle methods.
5292         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5293         name using given classloader.
5294         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5295         baseName for given Locale and attempt to load bundle.
5296
5297 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5298
5299         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5300         illegal protected method calls.
5301
5302 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5303
5304         Fix or remove some bogus test cases.
5305         * testsuite/libjava.compile/pr10459_2.java: Removed.
5306         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5307         not Object.clone().
5308         * testsuite/libjava.compile/inner_data.java: Test against its own
5309         protected field.
5310
5311 2004-07-09  Michael Koch  <konqueror@gmx.de>
5312
5313         * scripts/unicode-muncher.pl: Updated to version 2.1
5314         from GNU classpath. Added some clarifications on where to find the
5315         needed files from www.unicode.org.
5316         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5317         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5318         Removed, these can directly be downloaded from www.unicode.org if
5319         needed. 
5320         * gnu/java/lang/CharData.java: Regenerated.
5321         * include/java-chartables.h: Regenerated.
5322         * Makefile.am (ordinary_java_source_files):
5323         Removed gnu/java/lang/CharData.java.
5324         * Makefile.in: Regenerated.
5325
5326 2004-07-09  Michael Koch  <konqueror@gmx.de>
5327
5328         * java/security/AccessControlContext.java,
5329         java/security/SecureClassLoader.java:
5330         Fixed javadocs.
5331
5332 2004-07-09  Michael Koch  <konqueror@gmx.de>
5333
5334         * java/io/ObjectInputStream.java (readFields): Use long datatype
5335         when shifting byte values more then 24 bits left.
5336
5337 2004-07-09  Michael Koch  <konqueror@gmx.de>
5338
5339         * java/util/zip/DeflaterOutputStream.java,
5340         java/util/zip/GZIPInputStream.java,
5341         java/util/zip/GZIPOutputStream.java,
5342         java/util/zip/InflaterInputStream.java:
5343         Reformatted. Added javadocs. Reordered all stuff.
5344         Renamed variables to be more clear.
5345
5346 2004-07-09  Michael Koch  <konqueror@gmx.de>
5347
5348         * javax/imageio/IIOException.java,
5349         javax/imageio/event/IIOReadProgressListener.java,
5350         javax/imageio/event/IIOReadUpdateListener.java,
5351         javax/imageio/event/IIOReadWarningListener.java,
5352         javax/imageio/event/IIOWriteProgressListener.java,
5353         javax/imageio/event/IIOWriteWarningListener.java:
5354         New files.
5355         * Makefile.am: Added new files.
5356         * Makefile.in: Regenerated.
5357
5358 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5359
5360         * java/text/RuleBasedCollator.java
5361         (mergeRules): Use ArrayList instead of Vector.
5362         (subParseString): likewise.
5363         (parseString): likewise.
5364         (buildCollationVector): likewise.
5365         (getCollationKey): likewise.
5366
5367 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5368
5369         * java/text/DateFormat.java (parse):
5370         Improved javadoc. Improved exception message.
5371
5372 2004-07-09  Mark Wielaard  <mark@klomp.org>
5373
5374         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5375         interrupted() method to clear interupt flag of our Thread.
5376
5377 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5378
5379         * java/nio/Buffer.java,
5380         java/nio/ByteBuffer.java,
5381         java/nio/ByteBufferHelper.java,
5382         java/nio/ByteBufferImpl.java,
5383         java/nio/CharBuffer.java,
5384         java/nio/CharBufferImpl.java,
5385         java/nio/CharViewBufferImpl.java,
5386         java/nio/DirectByteBufferImpl.java,
5387         java/nio/DoubleBuffer.java,
5388         java/nio/DoubleBufferImpl.java,
5389         java/nio/DoubleViewBufferImpl.java,
5390         java/nio/FloatBuffer.java,
5391         java/nio/FloatBufferImpl.java,
5392         java/nio/FloatViewBufferImpl.java,
5393         java/nio/IntBuffer.java,
5394         java/nio/IntBufferImpl.java,
5395         java/nio/IntViewBufferImpl.java,
5396         java/nio/LongBuffer.java,
5397         java/nio/LongBufferImpl.java,
5398         java/nio/LongViewBufferImpl.java,
5399         java/nio/MappedByteBufferImpl.java,
5400         java/nio/ShortBuffer.java,
5401         java/nio/ShortBufferImpl.java,
5402         java/nio/ShortViewBufferImpl.java:
5403         Fixed javadocs all over. Improved input error
5404         checking.
5405
5406         * java/nio/Buffer.java
5407         (checkForUnderflow, checkForOverflow, checkIndex,
5408         checkIfReadOnly, checkArraySize): New helper methods
5409         for error checking.
5410
5411         * java/nio/ByteBufferHelper.java
5412         (checkRemainingForRead, checkRemainingForWrite,
5413         checkAvailableForRead, checkAvailableForWrite): Removed
5414         no longer needed methods.
5415
5416 2004-07-09  Michael Koch  <konqueror@gmx.de>
5417
5418         * gnu/regexp/CharIndexedInputStream.java:
5419         Reordered imports to match classpath.
5420
5421 2004-07-09  Michael Koch  <konqueror@gmx.de>
5422
5423         * gnu/java/awt/EmbeddedWindow.java:
5424         Load native library for setWindowPeer method.
5425
5426 2004-07-08  Randolph Chung  <tausq@debian.org>
5427
5428         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5429         * configure: Regenerate.
5430         * configure.host: Set can_unwind_signal for hppa*-linux.
5431         * include/pa-signal.h: New file.
5432
5433 2004-07-07  Per Bothner  <per@bothner.com>
5434
5435         * Makefile.am:  Add rules to build libgij from just gij.cc.
5436
5437         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5438         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5439         (initializeClass):  If verbose_class_flag, print message.
5440         * gij.cc (main):  Handle -verbose:class flag.
5441
5442 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5443
5444         * configure.host: Enable hash synchronization on Darwin.
5445         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5446         ';', since this is a comment on Darwin.
5447         (compare_and_swap_release): Likewise.
5448
5449 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5450
5451         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5452         file portion of URL in addition to spec for file: protocol.
5453
5454 2004-07-05  Anthony Green  <green@redhat.com>
5455
5456         * java/io/File.java (toURI): Merge from Classpath.
5457
5458 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5459
5460         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5461         before passing to URL constructor. Rethrow any MalformedURLException
5462         as a RuntimeException. Catch MalformedURLException specifically, not
5463         all exceptions.
5464
5465 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5466
5467         * java/util/Locale.java (readObject): Intern strings read from object
5468         stream.
5469
5470 2004-07-04  Michael Koch  <konqueror@gmx.de>
5471
5472         * gnu/gcj/runtime/FirstThread.java,
5473         gnu/gcj/runtime/natFirstThread.cc: Removed.
5474         * gnu/java/lang/MainThread.java,
5475         gnu/java/lang/natMainThread.cc: New files.
5476         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5477         * Makefile.am: Added new files and removed deleted ones.
5478         * Makefile.in: Regenerated.
5479
5480 2004-07-03  Mark Wielaard  <mark@klomp.org>
5481             Anthony Green  <green@redhat.com>
5482
5483         * java/net/URL.java (getFile): Clarify return value doc.
5484         (getPath): Return null if file is empty - not empty String.
5485         (set): Convert protocol to lower case before doing anything.
5486         Only change the protocol handler if it's different.
5487
5488 2004-07-03  Anthony Green  <green@redhat.com>
5489
5490         * java/net/URL.java (URL): Convert protocol to lower case before
5491         doing anything, so we getURLStreamHandler() with the proper value.
5492
5493 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5494
5495         * java/util/Locale.java (hashcode): Made transient.
5496         (hashCode): No longer synchronized.
5497         (equals): Remove comment.
5498         (writeObject): No longer synchronized. Implement using writeObject 
5499         calls instead of tweaking hashCode field. Update doc.
5500         (readObject): Implement using readObject calls.
5501
5502 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5503             Andreas Tobler  <a.tobler@schweiz.ch>
5504
5505         * configure.host (powerpc-*-darwin*): New case, define
5506         can_unwind_signal.
5507         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5508         * configure: Regenerate.
5509         * include/darwin-signal.h: New.
5510
5511 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5512
5513         * java/beans/Statement.java (doExecute): Fix formatting.
5514
5515 2004-06-29  Per Bothner  <per@bothner.com>
5516
5517         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5518         etc etc):  Remove needless parenthesis, which causes __stdcall__
5519         attribute on MinGW to get ignored.
5520
5521 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5522
5523         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5524
5525 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5526
5527         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5528
5529 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5530
5531         * java/beans/Expression.java: New file.
5532         * java/beans/Statement.java: New file.
5533         * Makefile.am: Added new files.
5534         * Makefile.in: Re-generate.
5535
5536 2004-06-27 Mark Wielaard  <mark@klomp.org>
5537
5538         * java/io/FilePermission.java (usingPerms): Removed.
5539         (actionsString): Made final.
5540         (cachePerms): Renamed to checkPerms.
5541         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5542         on action String.
5543         (FilePermission): Check arguments, call checkPerms().
5544         (equals): Remove cachePerms() call.
5545         (implies): Likewise.
5546
5547 2004-06-27  Mark Wielaard  <mark@klomp.org>
5548
5549         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5550         final field.
5551         (sendRequest): Use new field in user-agent http agent.
5552
5553 2004-06-27  Mark Wielaard  <mark@klomp.org>
5554
5555         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5556         when argument is null.
5557
5558 2004-06-26  Mark Wielaard  <mark@klomp.org>
5559
5560         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5561         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5562         GetMethodID call.
5563         (cancel_clicked): Likewise.
5564
5565 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5566
5567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5568         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5569         can not calculate the right value.
5570         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5571
5572 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5573
5574         * testsuite/libjava.jacks/jacks.xfail: Remove
5575         15.9.1-qualified-concrete-20.
5576
5577 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5578
5579         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5580         encoding name to iconv.
5581         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5582
5583 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5584
5585         PR libgcj/16134:
5586         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5587         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5588         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5589
5590 2004-06-21  Andrew Haley  <aph@redhat.com>
5591
5592         * java/io/ObjectOutputStream.java: Add DEBUG statements
5593         everywhere.
5594         (dumpElementln): New method.
5595         (depth): New field.
5596         * java/io/ObjectInputStream.java
5597         (currentClassLoader): Make native.
5598         (callersClassLoader): New field.
5599         (depth): New field.
5600         (readObject): ENDBLOCKDATA is generated if the class has a write
5601         method, not if it has a read method.
5602         (readObject): Save and restore this.currentObject and
5603         this.currentObjectStreamClass around calls to callReadMethod().
5604         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5605         method.
5606
5607 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5608
5609         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5610         darwin.
5611
5612 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5613
5614         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5615         if desired, before the default class loader is initialised.
5616         Call INIT_SEGV only if HANDLE_SEGV is defined.
5617
5618 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5619
5620         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5621         directory only if it actually exists.
5622
5623 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5624
5625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5626         Fix up non-ansi comments.
5627
5628 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5629
5630         * javax/swing/text/AbstractDocument.java: Adding missing import
5631         for javax.swing.event.EventListenerList.
5632         * javax/swing/text/DefaultCaret.java: Likewise.
5633
5634 2004-06-17  Michael Koch  <konqueror@gmx.de>
5635
5636         * javax/swing/JToolBar.java
5637         (name): Removed.
5638         (JToolBar): Use Component.setName(String) instead of doing it all
5639         alone.
5640         * javax/swing/Timer.java
5641         (queueEvent): Added missing modifier.
5642
5643 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5644
5645         * Makefile.am: Added new file.
5646         * Makefile.in: Re-generate.
5647         * javax/swing/JMenu.java:
5648         (insertSeparator): Implemented.
5649         * javax/swing/JPopupMenu.java:
5650         (JPopupMenu.Separator): Implemented.
5651         * javax/swing/MenuSelectionManager.java:
5652         (processMouseEvent): Use java.awt.Component 
5653         for event source instead of javax.swing.JComponent. 
5654         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5655         New File. Implemented.
5656         
5657 2004-06-16  David Jee  <djee@redhat.com>
5658
5659         * java/awt/GridBagLayout.java
5660         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5661         Make sure pos_x and pos_y are never negative.
5662
5663 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5664
5665         * Makefile.am: Add new file.
5666         * Makefile.in: Re-generate.     
5667         * javax/swing/JToolBar.java
5668         Partially implemented.
5669         * javax/swing/plaf/basic/BasicToolBarUI.java
5670         New file. Partially implemented.
5671
5672 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5673
5674         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5675         (setComposite): Accept AlphaComposite arguments.
5676         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5677         (createBufferedImage): Add new overloads.
5678         * gnu/java/awt/peer/gtk/GtkToolkit.java
5679         (createImage): Use GdkPixbufDecoder.createBufferedImage
5680         when useGraphics2D() is true.
5681         (getImage): Delegate to createImage.
5682         * javax/swing/JList.java
5683         (isSelectionEmpty):
5684         (getFirstVisibleIndex):
5685         (getLastVisibleIndex):
5686         (setSelectedValue):
5687         (ensureIndexIsVisible): New methods.
5688         * javax/swing/Timer.java: Reimplement.
5689
5690 2004-06-16  Michael Koch  <konqueror@gmx.de>
5691
5692         * javax/swing/text/AbstractDocument.java
5693         (AbstracElement): Made public, implements java.io.Serializable.
5694         (AttributeContext): Made public.
5695         (BranchElement): Likewise.
5696         (Content): Likewise.
5697         (DefaultDocumentEvent): Made public, extends
5698         javax.swing.undo.CompoundEdit.
5699         (ElementEdit): Made public, extends
5700         javax.swing.undo.AbstractUndoableEdit.
5701         (LeafElement): Made public.
5702         (LeafElement.LeafElement): Made public.
5703
5704 2004-06-16  Michael Koch  <konqueror@gmx.de>
5705
5706         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5707         methods (that were obviously never be intended to get included hi this
5708         class. Added some methods too.
5709
5710 2004-06-16  Michael Koch  <konqueror@gmx.de>
5711
5712         * javax/swing/text/PlainDocument.java
5713         (serialVersionUID): New constant.
5714         (lineLimitAttribute): Likewise.
5715         (tabSizeAttribute): Likewise.
5716         (tabSize): New field.
5717         (PlainDocument): Made public.
5718         (PlainDocument): New constructor.
5719
5720 2004-06-16  Michael Koch  <konqueror@gmx.de>
5721
5722         * javax/swing/text/AbstractDocument.java
5723         (insertString): Throws BadLocationException.
5724         * javax/swing/text/Document.java
5725         (insertString): Likewise.
5726         * javax/swing/text/JTextComponent.java:
5727         Javadocs and comments cleaned up.
5728
5729 2004-06-16  Michael Koch  <konqueror@gmx.de>
5730
5731         * javax/swing/event/UndoableEditListener.java: Reformatted.
5732         * javax/swing/text/AbstractDocument.java
5733         (AbstractDocument): Implements java.io.Serializable.
5734         (doc_list): Removed.
5735         (undo_list): Removed.
5736         (AbstractElement.serialVerionUID): New field.
5737         (BranchElement.serialVerionUID): Likewise.
5738         (DefaultDocumentEvent.serialVerionUID): Likewise.
5739         (ElementEdit.serialVerionUID): Likewise.
5740         (LeafElement.serialVerionUID): Likewise.
5741         (serialVerionUID): Likewise.
5742         (BAD_LOCATION): New constant.
5743         (BidiElementName): Likewise.
5744         (ContentElementName): Likewise.
5745         (ParagraphElementName): Likewise.
5746         (SectionElementName): Likewise.
5747         (ElementNameAttribute): Likewise.
5748         (AbstractDocument): Made protected.
5749         (AbstractDocument): New construtor.
5750         (listenerList): New field.
5751         (fireChangedUpdate): Implemented.
5752         (fireInsertUpdate): Likewise.
5753         (fireRemoveUpdate): Likewise.
5754         (fireUndoableEditUpdate): Likewise.
5755         (getListeners): Likewise.
5756         (addDocumentListener): Likewise.
5757         (removeDocumentListener): Likewise.
5758         (addUndoableEditListener): Likewise.
5759         (removeUndoableEditListener): Likewise.
5760         (getDocumentListeners): New method.
5761         (getUndoableEditListeners): Likewise.
5762         (getAsynchronousLoadPriority): Made public.
5763         (getBidiRootElement): Likewise.
5764         (setAsynchronousLoadPriority): Likewise.
5765         (setDocumentProperties): Likewise.
5766         * javax/swing/text/BadLocationException.java
5767         (serialVerionUID): New field.
5768         * javax/swing/text/DefaultCaret.java
5769         (changeEvent): New field.
5770         (listenerList): Likewise.
5771         (changes): Removed.
5772         (addChangeListener): Reimplemented.
5773         (removeChangeListener): Likewise.
5774         (getListeners): New method.
5775         (getChangeListeners): Likwise.
5776         (getComponent): Likewise.
5777         * javax/swing/text/GapContent.java
5778         (GapContent): Implements java.io.Serializable.
5779         (serialVerionUID): New field.
5780
5781 2004-06-16  Michael Koch  <konqueror@gmx.de>
5782
5783         * javax/swing/JTree.java
5784         (treeModel): New field.
5785         (JTree): New constructors, one existing one made public.
5786         (createTreeModel): New method.
5787         (addTreeExpansionListener): Likewise.
5788         (removeTreeExpansionListener): Likewise.
5789         (getTreeExpansionListeners): Likewise.
5790         (fireTreeCollapsed): Likewise.
5791         (fireTreeExpanded): Likewise.
5792         (addTreeSelectionListener): Likewise.
5793         (removeTreeSelectionListener): Likewise.
5794         (getTreeSelectionListeners): Likewise.
5795         (fireValueChanged): Likewise.
5796         (addTreeWillExpandListener): Likewise.
5797         (removeTreeWillExpandListener): Likewise.
5798         (getTreeWillExpandListeners): Likewise.
5799         (fireTreeWillCollapse): Likewise.
5800         (fireTreeWillExpand): Likewise.
5801
5802 2004-06-16  Michael Koch  <konqueror@gmx.de>
5803
5804         * javax/swing/JTree.java: Reformatted.
5805
5806 2004-06-16  Michael Koch  <konqueror@gmx.de>
5807
5808         * javax/swing/JTextArea.java: New file.
5809         * javax/swing/JTextField.java
5810         (actions): Removed.
5811         (notifyAction): New constant.
5812         (columns): New field.
5813         (JTextField): New constructors.
5814         (createDefaultModel): New method.
5815         (addActionListener): Reimplmemented.
5816         (removeActionListener): Reimplemented.
5817         (getActionListeners): New method.
5818         (fireActionPerformed): New method.
5819         (getColumns): New method.
5820         (setColumne): New method.
5821         * javax/swing/text/JTextComponent.java
5822         (AccessibleJTextComponent.serialVersionUID): New field.
5823         (serialVersionUID): Likewise.
5824         (DEFAULT_KEYMAP): Likewise.
5825         (FOCUS_ACCELERATOR_KEY): Likewise.
5826         (doc): Made private.
5827         (icon_gap): Likewise.
5828         (icon): Likewise.
5829         (align): Likewise.
5830         (JTextComponent): Some constructors removed.
5831         (getScrollableTracksViewportHeight): New method.
5832         (getScrollableTracksViewportWidth): Likewise.
5833         * Makefile.am: Added javax/swing/JTextArea.java.
5834         * Makefile.in: Regenerated.
5835
5836 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5837
5838         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5839         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5840         * javax/swing/JViewport.java 
5841         (getExtentSize): Return size rather than preferred size.
5842         (toViewCoordinates): New methods.
5843         (getViewSize): Return size rather than preferred size.
5844         (setViewSize): Note view size as set.
5845         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5846         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5847         (getPreferredSize): Don't redo layout.
5848         * javax/swing/plaf/basic/BasicViewportUI.java 
5849         (paint): Translate image properly and eat exceptions.
5850
5851 2004-06-15  Kim Ho  <kho@redhat.com>
5852
5853         * javax/swing/JTabbedPane.java
5854         (setComponent): Remove old component and
5855         add new component.
5856         (setSelectedIndex): Don't operate on the 
5857         components if they're null. Don't set index
5858         on the model if the index is the same.
5859         (insertTab): Don't add or hide the component
5860         if it's null. Repaint the container.
5861         * javax/swing/plaf/basic/BasicLookAndFeel.java
5862         Change colors for TabbedPane.
5863         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5864         (mousePressed): Re-layout and paint the component.
5865         (layoutContainer): Don't set location on the view.
5866         (ScrollingViewport::paint): Remove.
5867
5868 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5869
5870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5871         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5872
5873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5874         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5875         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5876         critical region.
5877         (drawLine): Call gdk_flush before leaving GDK critical region.
5878         (fillRect): Likewise.
5879         (drawRect): Likewise.
5880         (copyArea): Likewise.
5881         (copyPixmap): Likewise.
5882         (clearRect): Likewise.
5883         (drawArc): Likewise.
5884         (drawPolyline): Likewise.
5885         (drawPolygon): Likewise.
5886         (fillPolygon): Likewise.
5887         (fillArc): Likewise.
5888         (drawOval): Likewise.
5889         (fillOval): Likewise.
5890
5891         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5892         style parameter.
5893         (GdkFontMetrics): Add style argument to initState call.
5894         (stringWidth(String,int,int,String)): Add style parameter.
5895         (stringWidth(String)): Add style argument to stringWidth call.
5896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5897         (initState): Set pango font style and weight based on AWT style
5898         parameter.  Pass default GTK language to
5899         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5900         simply dividing by PANGO_SCALE.
5901         (stringWidth): Set pango font style and weight based on AWT style
5902         parameter.
5903
5904         * java/awt/Button.java (next_button_number): New field.
5905         (paramString): Change output.
5906         (generateName): New method.
5907         (getUniqueLong): New method.
5908
5909 2004-06-14  Kim Ho  <kho@redhat.com>
5910
5911         * javax/swing/JTabbedPane.java:
5912         (setComponentAt): Set the component, not
5913         the enabled status.
5914         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5915         (actionPerformed): Let deiconize catch exception.
5916
5917 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5918
5919         * javax/swing/JPopupMenu.java:
5920         (setVisible): Corrected location of a 
5921         heavyweight popup menu.
5922
5923 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5924
5925         * javax/swing/MenuSelectionManager.java: 
5926         Ran through jalopy to fix formatting style.
5927
5928 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5929         
5930         * javax/swing/JLayeredPane.java: 
5931         (remove): Revalidate and repaint layered pane after
5932         the component was removed.
5933         javax/swing/JMenu.java:
5934         (setVisible): Display popup menu at the user location,
5935         if one was set by the user.
5936         (setMenuLocation): Reimplemented. Fixed javadoc.
5937         * javax/swing/JMenuBar.java: Added javadoc.
5938         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5939         (MODEL_CHANGED_PROPERTY): New Property.
5940         (isSelected): Implemented.
5941         (setBorderPainted): Fire PropertyChangeEvent
5942         if paintBorder property changes.
5943         (setSelected): Implemented.
5944         (setSelectionModel): Implemented.
5945         * javax/swing/JPopupMenu.java: Added Javadoc
5946         (pack): Implemented.
5947         (setVisible): Reimplemented.
5948         (show): Fixed location.
5949         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5950         Container instead of JPanel.
5951         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5952         (clearSelectedPath): Reimplemented to clear selectedPath
5953         in reverse order.
5954         (processMouseEvent): Reimplemented.
5955         (setSelectedPath): Fire stateChange event indicating that
5956         selected menu path has changed.
5957         (getPath): Change to use ArrayList instead of Vector.
5958         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5959         (installUI): call installKeyboardActions().
5960         (uninstallUI): call uninstallKeyboardActions().
5961
5962 2004-06-13  Michael Koch  <konqueror@gmx.de>
5963
5964         * javax/swing/text/DefaultCaret.java,
5965         javax/swing/text/BadLocationException.java:
5966         Reformatted.
5967
5968 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5969
5970         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5971         DEFAULT_COLS): New variables.
5972         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5973         values to DEFAULT_ROWS or DEFAULT_COLS.
5974         (getMinimumSize): Likewise.
5975         (getPreferredSize): Likewise.
5976         (minimumSize): Likewise.
5977         (preferredSize): Likewise.
5978         (create): Set peer's editable state.
5979         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5980         zero.  Update javadocs.
5981         (TextArea(String)): Likewise.
5982         (TextArea(int,int)): Fix javadocs.
5983         (TextArea(String,int,int,int)): Only throw exception if one of
5984         rows or columns is zero.  Fix javadocs.
5985
5986 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5987
5988         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5989         addition to Components.
5990
5991         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5992         wasn't consumed by normal processing, send it to the parent
5993         menu.
5994
5995         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5996         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5997         translation.
5998
5999 2004-06-11  David Jee  <djee@redhat.com>
6000
6001         * java/awt/MediaTracker.java
6002         (addImage(Image,int)): Call imageUpdate() to udpate image status.
6003         (addImage(Image,int,int,int)): Likewise.
6004
6005 2004-06-11  Michael Koch  <konqueror@gmx.de>
6006
6007         * javax/swing/text/AbstractDocument.java,
6008         javax/swing/text/Document.java,
6009         javax/swing/text/GapContent.java,
6010         javax/swing/text/JTextComponent.java,
6011         javax/swing/text/PlainDocument.java:
6012         Reformatted.
6013
6014 2004-06-11  Michael Koch  <konqueror@gmx.de>
6015
6016         * javax/swing/JRootPane.java
6017         (AccessibleJRootPane.serialVersionUID): New field.
6018         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6019         (AccessibleJRootPane.getAccessibleRole): New method.
6020         (RootLayout): Implements Serializable.
6021         (RootLayout.serialVersionUID): New field.
6022         (RootLayout.RootLayout): New constructor.
6023         (setJMenuBar): Made public.
6024         (getJMenuBar): Likewise.
6025         (JRootPane): Likewise.
6026         (createContentPane): Likewise.
6027         (createGlassPane): Likewise.
6028         (createLayeredPane): Likewise.
6029
6030 2004-06-11  Michael Koch  <konqueror@gmx.de>
6031
6032         * javax/swing/SwingUtilities.java
6033         (isLeftMouseButton): Fixed javadoc.
6034         (isMiddleMouseButton): Likewise.
6035         (isRightMouseButton): Likewise.
6036
6037 2004-06-11  Michael Koch  <konqueror@gmx.de>
6038
6039         * javax/swing/JScrollPane.java
6040         (serialVersionUID): New field.
6041         (columnHeader): Made protected.
6042         (rowHeader): Likewise.
6043         (lowerLeft): Likewise.
6044         (lowerRight): Likewise.
6045         (upperLeft): Likewise.
6046         (upperRight): Likewise.
6047         (horizontalScrollBar): Likewise.
6048         (horizontalScrollBarPolicy): Likewise.
6049         (verticalScrollBar): Likewise.
6050         (verticalScrollBarPolicy): Likewise.
6051         (viewport): Likewise.
6052
6053 2004-06-11  Michael Koch  <konqueror@gmx.de>
6054
6055         * javax/swing/LookAndFeel.java: Fixed javadocs.
6056
6057 2004-06-11  Michael Koch  <konqueror@gmx.de>
6058
6059         * javax/swing/JEditorPane.java: Fixed javadocs.
6060         (JEditorPane): Removed redundant call to to this().
6061         (fireHyperlinkUpdate): Implemented.
6062
6063 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6064
6065         * javax/swing/JMenu.java: Fixed file name 
6066         in the file comment.
6067
6068 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6069
6070         * javax/swing/JMenu.java: Added javadoc.
6071         (JMenu): Added MenuChangeListener to listen to 
6072         ChangeEvents occuring in menu's model. 
6073         (insert): Throw IllegalArgumentException if 
6074         index is less than 0
6075         (setSelected): Reimplement.
6076         (setPopupMenuVisible): Call menu's model isEnabled()
6077         (setDelay): Throw IllegalArgumentException if 
6078         given amount of delay is less than 0.
6079         (createActionComponent): Implemented.
6080         (createActionChangeListener): Implemented.
6081         (addSeparator): Implemented.
6082         (getItem): Throw IllegalArgumentException if index is 
6083         less than 0.
6084         (getItemCount): Implemented.
6085         (fireMenuSelected): Changed to use menuEvent.
6086         (fireMenuDeselected): Likewise.
6087         (fireMenuCanceled): Likewise.
6088         (setAccelerator): Changed to throw an error if this 
6089         method is used. 
6090         (doClick): Implemented.
6091         (JMenu.ActionChangedListener): New inner class to handle
6092         PropertyChangeEvents occuring in the actions associated with menu.
6093         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6094         (BasicMenuUI): Added PropertyChangeListener to the menu.
6095         (createChangeListener): Implemented.
6096         (createMenuDragMouseListener): Likewise.
6097         (createMenuKeyListener): Likewise.
6098         (createPropertyChangeListener): Likewise.
6099         (uninstallListeners): Likewise.
6100         (BasicMenuUI.MouseInputHandler): Reimplemented.
6101         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6102         (BasicMenuUI.ChangeHandler): Likewise.
6103         (BasicMenuUI.MenuDragMouseHandler): Likewise.
6104         (BasicMenuUI.MenuKeyHandler): Likewise.
6105
6106 2004-06-10  David Jee  <djee@redhat.com>
6107
6108         * java/awt/MediaTracker.java
6109         (imageUpdate): Only do notifyAll() if the image is complete.
6110
6111 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6112
6113         * javax/swing/JApplet.java:
6114         (getJMenuBar): Made public.
6115         (setJMenuBar): Likewise.
6116         * javax/swing/JFrame.java:
6117         (getJMenuBar): Made public.
6118         (setJMenuBar): Likewise.
6119         * javax/swing/JWindow.java:
6120         (getJMenuBar): Removed.
6121         (setJMenuBar): Removed.
6122
6123 2004-06-10  Michael Koch  <konqueror@gmx.de>
6124
6125         * javax/swing/JEditorPane.java
6126         (createEditorKitForContentType): Fixed visibility.
6127         (fireHyperlinkUpdate): Likewise.
6128         (getContentType): Likewise.
6129         (getEditorKit): Likewise.
6130         (getEditorKitForContentType): Likewise.
6131         (getPage): Likewise.
6132         (read): Likewise.
6133         (registerEditorKitForContentTyoe): Likewise.
6134         (replaceSelection): Likewise.
6135         (setContentType): Likewise.
6136         (setEditorKit): Likewise.
6137         (setPage): Likewise.
6138
6139 2004-06-10  Michael Koch  <konqueror@gmx.de>
6140
6141         * javax/swing/Timer.java
6142         (Timer): New constructor.
6143         * javax/swing/plaf/basic/BasicProgressBarUI.java
6144         (animationTimer): Don't initialize at construction.
6145         (startAnimationTimer): Added since tag.
6146         (stopAnimationTimer): Likewise.
6147         (installUI): Use new Timer constructor.
6148         * javax/swing/plaf/basic/BasicScrollBarUI.java
6149         (installUI): Likewise.
6150         * javax/swing/plaf/basic/BasicSliderUI.java
6151         (installUI): Likewise.
6152
6153 2004-06-10  Michael Koch  <konqueror@gmx.de>
6154
6155         * javax/swing/ButtonGroup.java
6156         (serialVersionUID): Made private.
6157         (buttons): Renamed from v, added javadoc.
6158         (sel): Added javadoc.
6159         (ButtonGroup): Likewise.
6160         (add): Likewise.
6161         (remove): Likewise.
6162         (getElements): Likewise.
6163         (getSelection): Likewise.
6164         (setSelected): Likewise.
6165         (isSelected): Likewise.
6166         (getButtonCount): Likewise.
6167
6168 2004-06-10  Michael Koch  <konqueror@gmx.de>
6169
6170         * javax/swing/ButtonGroup.java,
6171         javax/swing/ImageIcon.java,
6172         javax/swing/JEditorPane.java,
6173         javax/swing/JRootPane.java,
6174         javax/swing/JTextField.java,
6175         javax/swing/LookAndFeel.java,
6176         javax/swing/plaf/basic/BasicTextUI.java:
6177         Reindented.
6178
6179 2004-06-10  Michael Koch  <konqueror@gmx.de>
6180
6181         * javax/swing/text/Style.java: Added javadocs.
6182
6183 2004-06-10  Michael Koch  <konqueror@gmx.de>
6184
6185         * javax/swing/JComponent.java
6186         (fireVetoableChange): Removed redundant cast.
6187         * javax/swing/JLabel.java
6188         (getDisabledIcon): Save icon for next call.
6189
6190 2004-06-10  Michael Koch  <konqueror@gmx.de>
6191
6192         * javax/swing/KeyStroke.java
6193         (getKeyStroke(char,boolean)): Marked deprecated.
6194
6195 2004-06-10  Michael Koch  <konqueror@gmx.de>
6196
6197         * javax/swing/DefaultCellEditor.java,
6198         javax/swing/GrayFilter.java,
6199         javax/swing/event/DocumentEvent.java,
6200         javax/swing/text/JTextComponent.java,
6201         javax/swing/text/MutableAttributeSet.java:
6202         Reindented.
6203
6204 2004-06-10  Michael Koch  <konqueror@gmx.de>
6205
6206         * javax/swing/plaf/BorderUIResource.java:
6207         Added serialVersionUID all over.
6208
6209 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6210
6211         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6212
6213 2004-06-10  Michael Koch  <konqueror@gmx.de>
6214
6215         * javax/swing/table/DefaultTableCellRenderer.java
6216         (noFocusBorder): Initialize directly.
6217
6218 2004-06-10  Michael Koch  <konqueror@gmx.de>
6219
6220         * javax/swing/plaf/basic/BasicArrowButton.java
6221         (setDirection): Use method argument.
6222
6223 2004-06-10  Michael Koch  <konqueror@gmx.de>
6224
6225         * javax/swing/plaf/BorderUIResource.java,
6226         javax/swing/plaf/ComponentUI.java,
6227         javax/swing/undo/CompoundEdit.java,
6228         javax/swing/undo/StateEdit.java:
6229         Fixed javadocs all over.
6230
6231 2004-06-10  Michael Koch  <konqueror@gmx.de>
6232
6233         * javax/swing/DefaultButtonModel.java
6234         (ARMED): Made public final, fixed value.
6235         (ENABLED): Likewise.
6236         (PRESSED): Likewise.
6237         (ROLLOVER): Likewise.
6238         (SELECTED): Likewise.
6239         (stateMask): Initialize directly.
6240         (listenerList): Likewise.
6241         (mnemonic): Likewise.
6242         (fireStateChanged): Removed argument, use changeEvent as event.
6243         All places where this method is called are fixed too.
6244         (getActionCommant): Fixed javadoc.
6245         (setGroup): Fixed javadoc.
6246         (getGroup): New method.
6247
6248 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6249
6250         * javax/swing/AbstractButton.java
6251         (AbstractButton): Use init() to initialize the button.
6252         (init): New Method. Initializes AbstractButton.
6253         * javax/swing/JMenuItem.java: Documented.
6254         (JMenuItem): Reimplemented.
6255         (init): Implemented.
6256         (setEnabled): Changed to call super.setEnabled()
6257         (processMouseEvent): Reimplemented.
6258         (fireMenuKeyPressed): Implemented.
6259         (fireMenuKeyReleased): Implemented.
6260         (fireMenuKeyTyped): Implemented.
6261         (menuSelectionChanged): disarm the model if the menu item was
6262         deselected.
6263         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6264         (getPath): Change to use ArrayList instead of Vector.
6265         (getPreferredSize): Renamed variable.
6266         (paintMenuItem): Paint margin area of menu item.
6267         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6268         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6269         menu item's bounds before clearing the selection.       
6270
6271 2004-06-09  David Jee  <djee@redhat.com>
6272
6273         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6274         (GtkTextComponentPeer): Set caret position to 0.
6275         * java/awt/TextComponent.java
6276         (setText): Set caret position to 0.
6277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6278         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6279         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6280         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6281         Likewise.
6282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6283         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6284         visible.
6285
6286 2004-06-09  Kim Ho  <kho@redhat.com>
6287
6288         * Makefile.am: New files
6289         * Makefile.in: Regenerated
6290         * java/awt/Container.java
6291         (getComponentAt): Removed.
6292         * javax/swing/AbstractAction.java
6293         (ENABLED_PROPERTY): New property.
6294         (putValue): Fire PropertyChangeEvents.
6295         (setEnabled): ditto.
6296         (firePropertyChange): Javadoc and implement
6297         convenience method.
6298         * javax/swing/AbstractButton.java
6299         (setAction): Don't create PropertyChangeListener
6300         if new Action is null.
6301         (setIcon): Don't set icon till after comparing
6302         it.
6303         (configurePropertiesFromAction): Check mnemonic
6304         key before calling intValue().
6305         (createActionPropertyChangeListener): Check
6306         properties rather than bulk change.
6307         * javax/swing/DefaultDesktopManager.java:
6308         Implement.
6309         * javax/swing/DesktopManager.java:
6310         Jalopy and javadoc.
6311         * javax/swing/JComponent.java
6312         (fireVetoableChange): Implement.
6313         (paintImmediately): Use root component.
6314         * javax/swing/JDesktopPane.java: Implement
6315         * javax/swing/JInternalFrame.java: Implement
6316         * javax/swing/JLabel.java
6317         (getDisabledIcon): Return grayscaled icon if
6318         no disabled icon specified.
6319         * javax/swing/JMenuBar.java
6320         (getComponentAtIndex): Use getComponent
6321         * javax/swing/JOptionPane.java
6322         (getDesktopPaneForComponent): Use SwingUtilities'
6323         getAncestorOfClass
6324         (getFrameForComponent): ditto.
6325         * javax/swing/JSplitPane.java
6326         (remove): Use getComponent.
6327         * javax/swing/SwingUtilities.java
6328         (convertPoint): Implement.
6329         * javax/swing/plaf/basic/BasicButtonUI.java
6330         (paintButtonNormal): Check opaqueness before
6331         filling background.
6332         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6333         Implement
6334         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6335         Implement.
6336         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6337         Implement.
6338         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6339         Implement.
6340         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6341         Change InternalFrame and Desktop colors.
6342
6343 2004-06-09  David Jee  <djee@redhat.com>
6344
6345         * java/awt/Container.java
6346         (remove): Do not set component to invisible.
6347
6348 2004-06-09  Michael Koch  <konqueror@gmx.de>
6349
6350         * javax/swing/tree/DefaultMutableTreeNode.java
6351         (getLeafCount): Renamed enum to e.
6352
6353 2004-06-09  Michael Koch  <konqueror@gmx.de>
6354
6355         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6356         (positionForMouseEvent): Removed redundant semicolon.
6357         (continueDrag): Use method arguments.
6358
6359 2004-06-09  Michael Koch  <konqueror@gmx.de>
6360
6361         * javax/swing/border/TitledBorder.java,
6362         javax/swing/filechooser/FileSystemView.java,
6363         javax/swing/plaf/basic/BasicButtonListener.java,
6364         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6365         javax/swing/plaf/basic/BasicLabelUI.java,
6366         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6367         javax/swing/plaf/basic/BasicScrollBarUI.java,
6368         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6369         javax/swing/plaf/basic/BasicSliderUI.java,
6370         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6371         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6372         javax/swing/table/JTableHeader.java,
6373         javax/swing/text/AbstractDocument.java,
6374         javax/swing/text/DefaultCaret.java,
6375         javax/swing/text/StyledEditorKit.java,
6376         javax/swing/tree/DefaultTreeCellEditor.java:
6377         Reworked import statements.
6378
6379 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6380
6381         * javax/swing/Box.java: Temporarily comment out code
6382         broken due to visibility bug.
6383
6384 2004-06-09  Michael Koch  <konqueror@gmx.de>
6385
6386         * javax/swing/ImageIcon.java
6387         (ImageIcon): Added missing constructor.
6388
6389 2004-06-08  Michael Koch  <konqueror@gmx.de>
6390
6391         * javax/swing/JToggleButton.java
6392         (JToggleButton): New constructor.
6393         (getAccessibleContext): Moved documentation into javadoc.
6394         (getUIClassID): Likewise.
6395
6396 2004-06-08  Michael Koch  <konqueror@gmx.de>
6397
6398         * javax/swing/AbstractButton.java
6399         (getDisabledIcon): Create disabled icon if none exists yet.
6400
6401 2004-06-08  Michael Koch  <konqueror@gmx.de>
6402
6403         * javax/swing/plaf/basic/BasicLookAndFeel.java
6404         (initClassDefaults): Added FormattedTextFieldUI.
6405         (loadResourceBundle): Renamed enum to e.
6406
6407 2004-06-08  Michael Koch  <konqueror@gmx.de>
6408
6409         * javax/swing/plaf/basic/BasicButtonUI.java
6410         (paintIcon): Simplified.
6411         (paintText): Paint disabled button correctly.
6412
6413 2004-06-08  Michael Koch  <konqueror@gmx.de>
6414
6415         * javax/swing/JComponent.java
6416         (createToolTip): Use official JToolTip API.
6417
6418 2004-06-08  Michael Koch  <konqueror@gmx.de>
6419
6420         * javax/swing/JToolTip.java
6421         (JToolTip): No arguments in API.
6422         (setTipText): New method.
6423
6424 2004-06-08  Michael Koch  <konqueror@gmx.de>
6425
6426         * javax/swing/SwingUtilities.java
6427         (isLeftMouseButton): New method.
6428         (isMiddleMouseButton): New method.
6429         (isRightMouseButton): New method.
6430
6431 2004-06-08  Michael Koch  <konqueror@gmx.de>
6432
6433         * javax/swing/AbstractButton.java,
6434         javax/swing/CellRendererPane.java,
6435         javax/swing/JCheckBoxMenuItem.java,
6436         javax/swing/JColorChooser.java,
6437         javax/swing/JComboBox.java,
6438         javax/swing/JComponent.java,
6439         javax/swing/JDesktopPane.java,
6440         javax/swing/JFileChooser.java,
6441         javax/swing/JMenu.java,
6442         javax/swing/JMenuItem.java,
6443         javax/swing/JOptionPane.java,
6444         javax/swing/JPasswordField.java,
6445         javax/swing/JPopupMenu.java,
6446         javax/swing/JProgressBar.java,
6447         javax/swing/JRadioButtonMenuItem.java,
6448         javax/swing/JScrollBar.java,
6449         javax/swing/JSeparator.java,
6450         javax/swing/JSlider.java,
6451         javax/swing/JSplitPane.java,
6452         javax/swing/JTabbedPane.java,
6453         javax/swing/JTextField.java,
6454         javax/swing/JToolBar.java,
6455         javax/swing/text/JTextComponent.java:
6456         Fixed all constructors of accessibility classes.
6457
6458 2004-06-08  Michael Koch  <konqueror@gmx.de>
6459
6460         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6461         over.
6462
6463 2004-06-08  Michael Koch  <konqueror@gmx.de>
6464
6465         * javax/swing/Box.java
6466         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6467         (AccessibleBoxFiller.serialVersionUID): New member variable.
6468         * javax/swing/DefaultButtonModel.java
6469         (stateMask): Made protected.
6470         (listenerList): Likewise.
6471         (changeEvent): Likewise.
6472         (group): Likewise.
6473         (mnemonic): Likewise.
6474         (actionCommand): Likewise.
6475         (getListeners): New method.
6476         (getActionListeners): New method.
6477         (getItemListeners): New method.
6478         (getChangeListeners): New method.
6479         (fireItemStateChanged): Simplified.
6480         (fireActionPerformed): Simplified.
6481         (fireStateChanged): Simplified.
6482         * javax/swing/JFrame.java
6483         (JFrame): Implements WindowContants.
6484         (HIDE_ON_CLOSE): Removed.
6485         (EXIT_ON_CLOSE): Removed.
6486         (DISPOSE_ON_CLOSE): Removed.
6487         (DO_NOTHING_ON_CLOSE): Removed.
6488         (processWindowEvent): Exit with code 0.
6489         (setDefaultCloseOperation): Do security check before setting value.
6490         * javax/swing/JOptionPane.java
6491         (message): Initialize only in constructor.
6492         * javax/swing/JToolTip.java: Removed unused imports.
6493         * javax/swing/JViewport.java
6494         (serialVersionUID): New member variable.
6495         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6496         (BLIT_SCROLL_MODE): Likewise.
6497         (BACKINGSTORE_SCROLL_MODE): Likewise.
6498         (scrollUnderway): Made protected.
6499         (isViewSizeSet): Likewise.
6500         * javax/swing/ListModel.java: Fixed javadoc.
6501         * javax/swing/Popup.java: Likewise.
6502         * javax/swing/RepaintManager.java
6503         (paintDirtyRegions): Don't use internal classes of
6504         java.util.AbstractMap.
6505         * javax/swing/ScrollPaneConstants.java: Reindented.
6506         * javax/swing/ScrollPaneLayout.java
6507         (viewport): Made protected.
6508         (verticalScrollBar): Made protected, renamed to vsb.
6509         (horizontalScrollBar): Made protected, renamed to hsb.
6510         (rowHeader): Made protected, renamed to rowHead.
6511         (columnHeader): Made protected, renamed to colHead.
6512         (lowerLeft): Made protected.
6513         (lowerRight): Made protected.
6514         (upperLeft): Made protected.
6515         (upperRight): Made protected.
6516         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6517         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6518
6519 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6520
6521         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6522         LOADING if flags has SOMEBITS set.
6523
6524 2004-06-07  Michael Koch  <konqueror@gmx.de>
6525
6526         * javax/swing/AbstractButton.java: Reorganized imports.
6527         * javax/swing/ActionMap.java: Likewise.
6528         * javax/swing/DefaultButtonModel.java: Likewise.
6529         * javax/swing/DefaultListModel.java: Likewise.
6530         * javax/swing/ImageIcon.java: Likewise.
6531         (serialVersionUID): New member variable.
6532         * javax/swing/JComboBox.java: Reorganized imports.
6533         * javax/swing/JComponent.java: Likewise.
6534         (ui): Made protected.
6535         (listenerList): Made protected.
6536         (TOOL_TIP_TEXT_KEY): New constant.
6537         (scrollRectToVisible): Removed redundant null check.
6538         * javax/swing/JFrame.java: Reorganized imports.
6539         * javax/swing/JInternalFrame.java: Reorganized imports.
6540         * javax/swing/JProgressBar.java: Likewise.
6541         * javax/swing/JRootPane.java: Likewise.
6542         * javax/swing/JScrollBar.java: Likewise.
6543         * javax/swing/JSeparator.java: Likewise.
6544         * javax/swing/JSlider.java: Likewise.
6545         * javax/swing/JTabbedPane.java: Likewise.
6546         * javax/swing/JTextField.java: Likewise.
6547         * javax/swing/JToolBar.java: Likewise.
6548         * javax/swing/JTree.java: Likewise.
6549         * javax/swing/JViewport.java: Likewise.
6550         * javax/swing/JWindow.java: Likewise.
6551         * javax/swing/KeyStroke.java: Likewise.
6552         * javax/swing/LookAndFeel.java: Likewise.
6553         * javax/swing/MenuSelectionManager.java: Likewise.
6554         * javax/swing/SwingUtilities.java: Likewise.
6555         * javax/swing/Timer.java: Likewise.
6556         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6557         * javax/swing/JList.java
6558         (HORIZONTAL_WRAP): Made final, fixed value.
6559         (VERTICAL): Likewise.
6560         (VERTICAL_WRAP): Likewise.
6561
6562 2004-06-07  Michael Koch  <konqueror@gmx.de>
6563
6564         * javax/swing/AbstractButton.java
6565         (serialVersionUID): New member variable.
6566         (AccessibleAbstractButton.serialVersionUID): Likewise.
6567         (AbstractButton): Made public.
6568         * javax/swing/Box.java
6569         (AccessibleBox.serialVersionUID): New member variable.
6570         (Filler.serialVersionUID): Likewise.
6571         * javax/swing/DefaultListSelectionModel.java
6572         (serialVersionUID): Likewise.
6573         * javax/swing/JApplet.java
6574         (serialVersionUID): Likewise.
6575         * javax/swing/JCheckBox.java
6576         (serialVersionUID): Likewise.
6577         * javax/swing/JCheckBoxMenuItem.java
6578         (serialVersionUID): Likewise.
6579         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6580         * javax/swing/JColorChooser.java
6581         (serialVersionUID): Likewise.
6582         (AccessibleJColorChooser.serialVersionUID): Likewise.
6583         * javax/swing/JComponent.java
6584         (serialVersionUID): Made private.
6585         (AccessibleJComponent.serialVersionUID): New member variable.
6586         * javax/swing/JDesktopPane.java
6587         (serialVersionUID): Likewise.
6588         * javax/swing/JDialog.java
6589         (serialVersionUID): Likewise.
6590         * javax/swing/JFormattedTextField.java
6591         (serialVersionUID): Fixed value.
6592         * javax/swing/JFrame.java
6593         (serialVersionUID): New member variable.
6594         (getDefaultCloseOpertation): Made public.
6595         * javax/swing/JLayeredPane.java
6596         (serialVersionUID): Likewise.
6597         (LAYER_PROPERTY): Made final, fixed value.
6598         (JLayeredPane): Made public.
6599         * javax/swing/JMenu.java
6600         (AccessibleJMenu.serialVersionUID): New member variable.
6601         (WinListener.serialVersionUID): Likewise.
6602         * javax/swing/JMenuBar.java
6603         (serialVersionUID): Likewise.
6604         (getComponentAtIndex): Added @deprecated tag.
6605         * javax/swing/JMenuItem.java
6606         (serialVersionUID): New member variable.
6607         (AccessibleJMenuItem.serialVersionUID): Likewise.
6608         * javax/swing/JOptionPane.java
6609         (serialVersionUID): Likewise.
6610         (AccessibleJOptionPane.serialVersionUID): Likewise.
6611         * javax/swing/JPopupMenu.java
6612         (serialVersionUID): Likewise.
6613         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6614         (getPopupMenuListeners): New method.
6615         (getComponentAtIndex): Added @deprecated tag.
6616         * javax/swing/JProgressBar.java
6617         (serialVersionUID): New member variable.
6618         (AccessibleJProgressBar.serialVersionUID): Likewise.
6619         * javax/swing/JRadioButton.java
6620         (serialVersionUID): Likewise.
6621         * javax/swing/JRadioButtonMenuItem.java
6622         (serialVersionUID): Likewise.
6623         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6624         * javax/swing/JScrollBar.java
6625         (serialVersionUID): Likewise.
6626         (AccessibleJScrollBar.serialVersionUID): Likewise.
6627         * javax/swing/JSeparator.java
6628         (serialVersionUID): Likewise.
6629         (AccessibleJSeparator.serialVersionUID): Likewise.
6630         * javax/swing/JSlider.java: Fixed javadocs.
6631         (AccessibleJSlider.serialVersionUID): New member variable.
6632         * javax/swing/JSplitPane.java: Added copyright statement.
6633         (serialVersionUID): New member variable.
6634         (AccessibleJSplitPane.serialVersionUID): Likewise.
6635         * javax/swing/JTabbedPane.java
6636         (serialVersionUID): Likewise.
6637         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6638         (ModelListener.serialVersionUID): Likewise.
6639         (ModelListener.ModelListener): New constructor.
6640         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6641         (WRAP_TAB_LAYOUT): Likewise.
6642         * javax/swing/JTable.java
6643         (serialVersionUID): New member variable.
6644         * javax/swing/JToggleButton.java
6645         (serialVersionUID): Likewise.
6646         (ToggleButtonModel): Made static.
6647         (ToggleButtonModel.serialVersionUID): New member variable.
6648         * javax/swing/JToolTip.java
6649         (serialVersionUID): Likewise.
6650         * javax/swing/JTree.java
6651         (serialVersionUID): Likewise.
6652         * javax/swing/JWindow.java
6653         (serialVersionUID): Likewise.
6654         * javax/swing/Timer.java
6655         (serialVersionUID): Likewise.
6656
6657 2004-06-06  Michael Koch  <konqueror@gmx.de>
6658
6659         * javax/swing/SwingConstants.java
6660         (NEXT): New constant.
6661         (PREVIOUS): Likewise.
6662         * javax/swing/UIManager.java
6663         (LookAndFeel): Made public.
6664         (LookAndFeel.getClassName): Likewise.
6665         (LookAndFeel.getName): Likewise.
6666
6667 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6668
6669         * javax/swing/JCheckBoxMenuItem.java:
6670         Removed CVS tags.
6671         * javax/swing/JMenu.java: Likewise.
6672         * javax/swing/JMenuBar.java: Likewise.
6673         * javax/swing/JMenuItem.java: Likewise.
6674         * javax/swing/JPopupMenu.java: Likewise.
6675         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6676         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6677         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6678         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6679         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6680         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6681         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6682
6683 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6684         
6685         * javax/swing/plaf/basic/BasicMenuUI.java:
6686         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6687         Call getPath() from super class instead.
6688
6689 2004-05-31  David Jee  <djee@redhat.com>
6690
6691         * java/awt/Container.java
6692         (remove): Set component visibility to false after removing it.
6693
6694 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6695
6696         * java/awt/Component.java (getForeground): Return SystemColor if
6697         parent is null.
6698         (getBackground): Likewise.
6699
6700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6701         (item_highlighted): New function.
6702         (connectSignals): Set item_highlighted as list's select
6703         function.
6704
6705         * java/applet/Applet.java: Revert changes from 2004-04-29,
6706         2004-03-15 and 2004-03-14.
6707
6708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6709         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6710         factor.
6711
6712         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6713         "Dialog" as the default font.
6714         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6715         Likewise.
6716         * java/awt/Component.java (getFont): Return "Dialog" font by
6717         default.
6718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6719         Multiply size argument to pango_font_description_set_size by the
6720         DPI conversion factor rather than by PANGO_SCALE.
6721         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6725         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6727         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6730         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6731         Divide baseline y coordinate by DPI conversion factor rather
6732         than by PANGO_SCALE.
6733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6734         (area_prepared): Fix typo.
6735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6736         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6738         (dpi_conversion_factor): New global variable.
6739         (init_dpi_conversion_factor): New function to calculate and
6740         track DPI conversion factor.
6741         (dpi_changed_cb): New callback.
6742         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6743
6744 2004-05-27  David Jee  <djee@redhat.com>
6745
6746         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6747         (getGraphics): Return a new GdkGraphics instance.
6748         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6749         (getGraphics): Call super.getGraphics().
6750
6751 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6752
6753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6754         (setNativeBounds): Clamp width and height values to >= 0.
6755
6756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6757         (find_fg_color_widget): Handle GtkOptionMenu specially.
6758
6759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6760         (pre_event_handler): Only post configure events to visible
6761         top-level windows.
6762
6763 2004-05-26  David Jee  <djee@redhat.com>
6764
6765         * java/awt/BorderLayout.java
6766         (layoutContainer): Fix size calculations.
6767
6768 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6769
6770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6771         (window_wm_protocols_filter): Remove function.
6772         (create): Remove filter that removes WM_TAKE_FOCUS client
6773         messages.
6774
6775 2004-06-17  Anthony Green  <green@redhat.com>
6776
6777         * java/util/zip/ZipFile.java (getInputStream): Return null if
6778         entry not found.
6779
6780         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6781         directory contents to the class path.
6782
6783 2004-06-15  Andrew Haley  <aph@redhat.com>
6784
6785         * java/lang/natSystem.cc (getenv0): Don't assume environment
6786         variable is Latin 1 coded.
6787
6788 2004-06-14  Andreas Jaeger  <aj@suse.de>
6789
6790         * configure.in: Support --enable-version-specific-runtime-libs.
6791         * configure: Regenerated.
6792
6793 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6794
6795         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6796         to pass ClassLoader argument.
6797         * java/util/GregorianCalendar.java: Likewise.
6798         * java/util/Currency.java: Likewise.
6799         * java/text/BreakIterator.java: Likewise.
6800         * java/text/Collator.java: Likewise.
6801         * java/text/DateFormat.java: Likewise.
6802         * java/text/DateFormatSymbols.java: Likewise.
6803         * java/text/DecimalFormatSymbols.java: Likewise.
6804         * java/text/NumberFormat.java: Likewise.
6805         * java/awt/Window.java: Likewise.
6806
6807 2004-06-14  Andrew Haley  <aph@redhat.com>
6808
6809         * java/lang/System.java: (getenv0): New method.
6810         (getenv): Add security check.  Do the right thing.
6811         * java/lang/natSystem.cc (getenv0): New method.
6812
6813 2004-06-12  Mark Wielaard  <mark@klomp.org>
6814
6815         * javax/swing/RepaintManager.java
6816         (paintDirtyRegions): Use entrySet(), not values().
6817
6818 2004-06-10  Mark Wielaard  <mark@klomp.org>
6819
6820         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6821         NoSuchMethodError.
6822
6823 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6824
6825         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6826         when we already know the answer.
6827         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6828         (setStartRule,setEndRule): Don't take abs of day number.
6829         (getOffset): Clarify docs.  Add argument checks.
6830         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6831         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6832         endTimeMode.
6833
6834 2004-06-10  Tom Tromey  <tromey@redhat.com>
6835
6836         * interpret.cc (run): Handle wide fload.
6837
6838 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6839
6840         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6841
6842 2004-06-05  Michael Koch  <konqueror@gmx.de>
6843
6844         * javax/swing/SwingConstants.java
6845         (NEXT): New constant.
6846         (PREVIOUS): Likewise.
6847
6848 2004-06-05  Michael Koch  <konqueror@gmx.de>
6849
6850         * javax/swing/UIManager.java
6851         (LookAndFeel): Made public.
6852         (LookAndFeel.getName): Likewise.
6853         (LookAndFeel.getClassName): Likewise.
6854
6855 2004-06-03  Michael Koch  <konqueror@gmx.de>
6856
6857         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6858         (requestFocus): Revert last changes.
6859         (gtkRequestFocus): Removed.
6860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6861         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6862         Renamed to ...
6863         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6864         Reverted last patch.
6865         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6866         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6867         Reverted comment change.
6868
6869 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6870
6871         * javax/swing/JCheckBoxMenuItem.java:
6872         Removed CVS tags.
6873         * javax/swing/JMenu.java: Likewise.
6874         * javax/swing/JMenuBar.java: Likewise.
6875         * javax/swing/JMenuItem.java: Likewise.
6876         * javax/swing/JPopupMenu.java: Likewise.
6877         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6878         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6879         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6880         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6881         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6882         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6883         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6884
6885 2004-06-01  Tom Tromey  <tromey@redhat.com>
6886
6887         * java/io/ObjectStreamField.java: Cleaned up imports.
6888
6889 2004-06-01  Michael Koch  <konqueror@gmx.de>
6890
6891         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6892       
6893 2004-06-01  Mark Wielaard  <mark@klomp.org>
6894
6895         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6896
6897 2004-06-01  Michael Koch  <konqueror@gmx.de>
6898
6899         * java/security/Security.java
6900         (insertProviderAt): Use equals() instead of ==.
6901         (removeProvicer): Likewise.
6902         (getProvider): Likewise.
6903         * java/security/Signature.java
6904         (sign): Don't set state to UNINITIALIZED.
6905         (verify): Likewise.
6906
6907 2004-06-01  Mark Wielaard  <mark@klomp.org>
6908
6909         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6910         Implement by calling gtkRequestFocus.
6911         (gtkRequestFocus): New native method.
6912         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6913         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6914         Renamed to ...
6915         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6916         New function name.
6917         (filter_expose_event_handler):
6918         Mark static.
6919         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6920         (menu_pos): Mark static.
6921
6922 2004-06-01  Michael Koch  <konqueror@gmx.de>
6923
6924         * java/text/CollationElementIterator.java,
6925         java/text/CollationKey.java,
6926         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6927         * testsuite/libjava.mauve/xfails: Removed all
6928         java.text.CollationElementIterator tests.
6929
6930 2004-06-01  Michael Koch  <konqueror@gmx.de>
6931
6932         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6933         version.
6934         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6935         Java 1.5 keyword usage.
6936
6937 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6938
6939         * javax/swing/plaf/basic/BasicMenuUI.java:
6940         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6941         Call getPath() from super class instead.
6942
6943 2004-05-31  Michael Koch  <konqueror@gmx.de>
6944
6945         * java/io/SequenceInputStream.java:
6946         Rename enum to e because enum is a keyword in Java 1.5.
6947
6948 2004-05-31  Michael Koch  <konqueror@gmx.de>
6949
6950         * gnu/java/rmi/rmic/CompilerProcess.java:
6951         Fixed javadoc to by XHTML compliant.
6952
6953 2004-05-30  Mark Wielaard  <mark@klomp.org>
6954
6955         * java/awt/Toolkit.java (loadSystemColors): Implement.
6956
6957 2004-05-30  Michael Koch  <konqueror@gmx.de>
6958
6959         * java/lang/System.java: Reordered imports.
6960
6961 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6962
6963         * java/text/DecimalFormat.java
6964         (parse): Fixed parsing of decimal strings. Number of maximum
6965         digits to be read should now work.
6966         * java/text/SimpleDateFormat.java
6967         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6968         formatter. This fixes DateFormatTest.
6969
6970 2004-05-30  Michael Koch  <konqueror@gmx.de>
6971
6972         * java/nio/Buffer.java
6973         (limit): Fixed off by one error.
6974         * java/nio/CharBuffer.java
6975         (wrap): Fixed arguments, added javadocs.
6976
6977 2004-05-30  Michael Koch  <konqueror@gmx.de>
6978
6979         * gnu/java/beans/BeanInfoEmbryo.java,
6980         java/awt/im/InputContext.java,
6981         javax/swing/tree/DefaultMutableTreeNode.java:
6982         Rename enum to e because enum is a keyword in Java 1.5.
6983
6984 2004-05-30  Michael Koch  <konqueror@gmx.de>
6985
6986         * gnu/java/math/MPN.java,
6987         java/awt/geom/Arc2D.java:
6988         Fixed javadocs all over.
6989
6990 2004-05-30  Michael Koch  <konqueror@gmx.de>
6991
6992         * java/awt/DefaultKeyboardFocusManager.java
6993         (dispatchEvent): Call method to get key event dispatchers.
6994         (dispatchKeyEvent): Call method to get key event post processors.
6995         * javax/swing/JComponent.java
6996         (listenerList): Made protected.
6997         * javax/swing/JOptionPane.java
6998         (message): Don't initialize.
6999         (JOptionPane): Set message text.
7000         * javax/swing/JPopupMenu.java
7001         (show): Fixed typo in argument name.
7002         * javax/swing/RepaintManager.java
7003         (paintDirtyRegions): Use public API of java.util.Map.
7004         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7005         (positionForMouseEvent): Removed redundant ';'.
7006         (continueDrag): Use method arguments.
7007
7008 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
7009
7010         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7011         results.
7012
7013 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
7014
7015         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7016         _Jv_AllocBytes.
7017         * gnu/gcj/RawDataManaged.java: New file.
7018         * java/lang/Thread.java (data): Declare as RawDataManaged.
7019         * java/lang/natThread.cc (init_native): Cast natThread data to
7020         RawDataManaged, not jobject.
7021         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7022         * Makefile.in: Rebuilt.
7023
7024 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
7025
7026         * java/util/SimpleTimeZone.java: Reverting my last change until I
7027         can fix it properly.
7028
7029 2004-05-27  Michael Koch  <konqueror@gmx.de>
7030
7031         * javax/swing/JPopupMenu.java
7032         (isVisible): Do not use visible directly.
7033         (setVisible): Likewise.
7034         * javax/swing/JWindow.java
7035         (JWindow): call accessible constructor.
7036         * javax/swing/RepaintManager.java
7037         (paintDirtyRegions): Use public methods to obtain iterator.
7038
7039 2004-05-25  David Jee  <djee@redhat.com>
7040
7041         * java/awt/Container.java
7042         (remove): Set component's parent to null only after we removed the
7043         component from its parent's layout manager.
7044
7045 2004-05-25  David Jee  <djee@redhat.com>
7046
7047         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7048         (GtkComponentPeer): Set bounds regardless of whether awtComponent
7049         is valid.
7050         * gnu/java/awt/peer/gtk/GtkListPeer.java
7051         (getSize): Change native method declaration.
7052         (minimumSize): Pass visible row count into getSize().
7053         (preferredSize): Likewise.
7054         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7055         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7056         natural size. Use visible row count to determine the final height
7057         value to return.
7058
7059 2004-05-21  Graydon Hoare  <graydon@redhat.com>
7060
7061         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
7062         (setClip): Minor correction to order of operations.
7063
7064         * javax/swing/JScrollPane.java: Extend sketchy implementation.
7065         * javax/swing/ScrollPaneLayout.java: Likewise.
7066         * javax/swing/JViewPort.java: Likewise.
7067         * javax/swing/ViewportLayout.java: Likewise.
7068
7069         * javax/swing/JComponent.java: Rewrite.
7070         * javax/swing/RepaintManager.java: Likewise.
7071
7072         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7073         * javax/swing/JList.java 
7074         (setSelectedIndices):
7075         (getSelectedIndices):
7076         (getSelectedValues): New functions.
7077         (getPreferredScrollableViewportSize): Return preferred size.
7078         (getScrollableUnitIncrement):
7079         (getScrollableBlockIncrement): Initial implementations.
7080         * javax/swing/JRootPane.java: Clean up slightly.
7081         (getUI):
7082         (setUI):
7083         (updateUI):
7084         (getUIClassID):
7085         (isValidateRoot): Add overrides from JComponent.
7086         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7087         * javax/swing/UIManager.java (getDimension): Return the dimension.
7088
7089         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7090         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7091         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7092         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7093         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7094         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7095         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7096         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
7097         Likewise, and set background.
7098         * javax/swing/plaf/basic/BasicListUI.java: 
7099         Likewise, and improve a bit.
7100         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
7101         Likewise, and adjust calculations.
7102         * javax/swing/plaf/basic/BasicViewportUI.java:
7103         Likewise, and improve a bit.
7104         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7105         (Button.margin): Shrink.
7106
7107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7108         Hack to set horizontal always, workaround pango.
7109
7110         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7112         Synchronize more often, check cairo status after ops,
7113         handle changes to cairo pattern API, check for disposal.
7114
7115 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
7116
7117         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7118         (BasicMenuItemUI): Create propertyChangeListener.
7119         (getPath):Implemented.
7120         (installListeners): Add propertyChangeListener to menuItem.
7121         (uninstallListeners): Remove propertyChangeListener from menuItem.
7122         (update): Implemented.
7123         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7124         (mouseEntered): Take insets of popup menu into account when
7125         calculating position of popup menu.     
7126         
7127 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7128
7129         * Makefile.am: Added new file. 
7130         * Makefile.in: Regenerate.
7131         * javax/swing/JMenuBar.java:
7132         Started implementation.
7133         * javax/swing/JPopupMenu.java:
7134         (setVisible): Fixed location of lightweight/mediumweight
7135         popup menu.
7136         (show): Fixed location of PopupMenu.
7137         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7138         New file. UI Delegate for JMenuBar.
7139         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7140         (mouseEntered): Corrected position of the submenu.
7141
7142 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7143
7144         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7145         to _gtk_accel_group_attach.
7146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7147         Likewise.
7148
7149         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7150         package access.  Don't override setFont.
7151         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7152         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7153         gtkWidgetRequestFocus package access.
7154         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7155         setFont.
7156         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7157         Give gtkWidgetRequestFocus package access.
7158         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7159         gtkWidgetRequestFocus package access.  Don't override setFont.
7160         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7161         setFont.
7162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7163         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7164         region.
7165         (gtkSetFont): Likewise.
7166         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7167         Implement.
7168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7169         (gtkSetFont): Whitespace fix.
7170
7171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7172         (gtkWidgetSetUsize): Remove method.
7173
7174 2004-05-18  David Jee  <djee@redhat.com>
7175
7176         * java/awt/image/MemoryImageSource.java
7177         (newPixels(int,int,int,int,boolean)): Set only the specified
7178         rectangle of pixels.
7179         (newPixels(byte[],ColorModel,int,int)): Implement.
7180         (newPixels(int[],ColorModel,int,int)): Implement.
7181
7182 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7183
7184         * Makefile.am: Added new file.
7185         * Makefile.in: Regenerate.
7186         * javax/swing/JMenu.java: Started 
7187         implementation.
7188         * javax/swing/JPopupMenu.java:
7189         (insert): If specified index is -1, then
7190         add component at the end.
7191         (isPopupTrigger): Reimplemented.
7192         (JPopupMenu.LightWeightPopup): setBounds
7193         of the lightWeightPopup before adding it 
7194         to the layeredPane.
7195         (javax/swing/plaf/basic/BasicIconFactory.java):
7196         (getMenuArrowIcon): Implemented.
7197         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7198         (getPreferredSize): Add size of the arrow icon 
7199         if this menu item is instance of JMenu.
7200         (paintMenuItem): Paint arrow icon if this 
7201         menu item is a submenu.
7202         * javax/swing/plaf/basic/BasicMenuUI.java:
7203         New File. UI Delegate for JMenu.
7204
7205 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7206
7207         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7208         Post KEY_TYPED events.
7209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7210         (generates_key_typed_event): Remove function.
7211
7212 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7213
7214         * javax/swing/JRootPane.java
7215         (JRootPane.RootLayout): Reimplemented to 
7216         set bounds of contentPane and menuBar.
7217         (setJMenuBar): Add menu bar to the layered pane.
7218         (createLayeredPane): Set layout of layeredPane
7219         to null.
7220         * javax/swing/JLayeredPane.java:
7221         (addImpl): Calculate index of the component in the
7222         layeredPane according to the specified position within 
7223         the layer.      
7224
7225 2004-05-17  David Jee  <djee@redhat.com>
7226
7227         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7228         (setPixels): Change color model to the default model after
7229         converting pixels.
7230         * java/awt/image/MemoryImageSource.java
7231         (newPixels): Set only the specified rectangle of pixels.
7232
7233 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7234
7235         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7236         -l-java-beans -l-javax-accessibility -l-javax-swing.
7237
7238         * java/awt/AWTEvent.java (toString): Print source's name rather
7239         than the source itself.
7240
7241 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7242
7243         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7244         native.
7245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7246         (gdk_color_to_java_color): New function.
7247         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7248
7249 2004-05-12  David Jee  <djee@redhat.com>
7250
7251         * java/awt/image/RGBImageFilter.java:
7252         Initialize origmodel as null.
7253         (makeColor): Fix pixel component order.
7254         (filterRGBPixels): Fix pixel iteration.
7255         (setPixels): Add extra checks for index color model. Convert pixels
7256         to default color model if necessary.
7257         (convertColorModelToDefault): New override method for byte pixels.
7258         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7259         (makeColorbyDefaultCM): New override method for byte pixels.
7260         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7261         (makeColor): Fix pixel component order.
7262
7263 2004-05-11  Kim Ho  <kho@redhat.com>
7264
7265         * javax/swing/Box.java:
7266         Comment out more parts of Box.Filler.
7267
7268 2004-05-11  Kim Ho  <kho@redhat.com>
7269
7270         * javax/swing/Box.java:
7271         Remove reference to AccessibleAWTComponent so
7272         it compiles again.
7273
7274 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7275
7276         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7277         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7278         implementation of list peer to use GtkTreeView instead of
7279         deprecated GtkCList.
7280
7281 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7282
7283         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7284         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7285         (handleEvent): Remove keyChar argument to
7286         gtkWidgetDispatchKeyEvent calls.
7287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7288         compiler warnings.
7289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7292         Likewise.
7293
7294 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7295
7296         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7297         (gtkWidgetRequestFocus): Mark protected.
7298         (GtkComponentPeer): Only set the peer's bounds if its component
7299         is valid.
7300         * java/awt/Component.java (static): Set the default keyboard
7301         focus manager.
7302         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7303         requestFocusInWindow(temporary)): Don't request focus if the
7304         component is not showing.  Get tree lock before traversing
7305         component hierarchy.
7306         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7307         Only set the global focus owner if it is not a Window.
7308         (processKeyEvent): Consume keystrokes associated with the focus
7309         traversal keystroke.
7310         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7311         downFocusCycle): Call requestFocusInWindow instead of
7312         requestFocus.
7313         * java/awt/EventDispatchThread.java (run): Move setting of
7314         default keyboard focus manager to Component.java.
7315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7316         (awt_keycode_to_keysym): New function.
7317         (gtkWidgetDispatchKeyEvent): Finish implementation.
7318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7319         (pre_event_handler): Add FIXME comment.
7320
7321         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7322         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7323         (gtkWidgetRequestFocus): New method.
7324         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7325         disable Tab and Shift-Tab keystrokes.
7326         (addNotify, appendText, insertText, replaceText): Simplify peer
7327         retrieval code.
7328         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7329         (connectSignals): Remove connections to "commit" signals.
7330         Remove C++-style comments.
7331
7332         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7333         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7334         (handleEvent): Activate GTK button when the space bar key is
7335         pressed.
7336         (gtkActivate): New method.
7337
7338 2004-05-06  David Jee  <djee@redhat.com>
7339
7340         * java/awt/image/CropImageFilter.java
7341         (setPixels): Implement for byte array pixels.
7342         * java/awt/image/ReplicateScaleFilter.java
7343         (setPixels): Implement for byte array pixels.
7344         (replicatePixels): Overload for byte array pixels.
7345
7346 2004-05-06  Kim Ho  <kho@redhat.com>
7347
7348         * javax/swing/Box.java:
7349         (getAccessibleContext): Return an instance of the 
7350         correct class.
7351
7352 2004-05-05  David Jee  <djee@redhat.com>
7353
7354         * gnu/java/awt/peer/gtk/GdkGraphics.java
7355         (drawImage): When component is null, use SystemColor.window as
7356         the default bgcolor.
7357         * gnu/java/awt/peer/gtk/GtkImage.java
7358         (setPixels): We can avoid iterating through the pixel rows only
7359         when height is 1.
7360         * java/awt/Image.java
7361         (getScaledInstance): Partially implement.
7362         * java/awt/image/CropImageFilter.java
7363         (setProperties): Fix "filter" property.
7364         (setPixels): Implement.
7365         * java/awt/image/ReplicateScaleFilter.java
7366         (setDimensions): Use scaled dimensions.
7367         (setPixels): Implement.
7368         (replicatePixels): New method.
7369
7370 2004-05-05  David Jee  <djee@redhat.com>
7371
7372         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7373         (convertPixels): If either pixels or model is null, return null.
7374         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7375         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7376         is null, do nothing and return.
7377
7378 2004-05-03  Kim Ho  <kho@redhat.com>
7379
7380         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7381         (getGraphics): Like GtkFramePeer, the Graphics
7382         object needs to be translate to account for
7383         window decorations.
7384         (postMouseEvent): New method. Account for
7385         translation.
7386         (postExposeEvent): ditto.
7387         * javax/swing/Box.java: Stubbed.
7388         * javax/swing/JDialog.java: Ran through jalopy
7389         to fix indentation.
7390         (JDialog): Call SwingUtilities' getOwnerFrame
7391         for null owners.
7392         (setLayout): Check isRootPaneCheckingEnabled
7393         * javax/swing/JOptionPane.java: Re-implemented.
7394         * javax/swing/SwingUtilities.java:
7395         (getOwnerFrame): Static method to grab a default
7396         owner frame for Dialogs that don't specify owners.
7397         * javax/swing/event/SwingPropertyChangeSupport.java:
7398         (firePropertyChange): Fix early exit condition.
7399         * javax/swing/plaf/basic/BasicLabelUI.java:
7400         (paint): Avoid painting text if it is null 
7401         or empty.
7402         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7403         Implement.
7404
7405 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7406
7407         * Makefile.am: Added new file.
7408         * Makefile.in: Regenerate.
7409         * javax/swing/JPopupMenu.java:
7410         Started implementation.
7411         * javax/swing/JWindow.java
7412         (JWindow): call super() if parent for window
7413         is not specified.
7414         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7415         New File. UI Delegate for JPopupMenu.
7416
7417 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7418
7419         * javax/swing/JApplet.java: Indicated that JApplet
7420         implements RootPaneContainer and made method of this
7421         interface public. 
7422         * javax/swing/JFrame.java: Ditto.
7423         * javax/swing/JWindow.java: Ditto.
7424         
7425 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7426
7427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7428         (nativeSetBounds): Call gdk_window_move in addition to
7429         gtk_window_move.
7430
7431         * java/applet/Applet.java (preferredSize): Call parent's
7432         preferredSize if the applet stub is null.
7433         (minimumSize): Likewise for parent's minimumSize.
7434
7435 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7436
7437         * javax/swing/JMenuItem.java
7438         (createActionPropertyChangeListener): Implemented.
7439         (processMouseEvent): Ditto.
7440         (fireMenuDragMouseEntered): Ditto.
7441         (fireMenuDragMouseExited): Ditto.
7442         (fireMenuDragMouseDragged): Ditto.
7443         (fireMenuDragMouseReleased): Ditto.
7444         (menuSelectionChanged): Ditto.
7445         (getSubElements): Ditto.
7446         (getComponent): Ditto.
7447         (addMenuDragMouseListener): Ditto.
7448         (removeMenuDragMouseListener):Ditto.
7449         (addMenuKeyListener): Ditto.
7450         (removeMenuKeyListener): Ditto.
7451         * javax/swing/plaf/basic/BasicMenuItemUI.java
7452         (doClick): Imlemented.
7453         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7454         Don't handle mouse events here. Pass them to 
7455         MenuSelectionManager.
7456         
7457 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7458         Used correct version of jalopy configuration
7459         file to fix style in the files below.
7460
7461 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7462
7463         * javax/swing/JCheckBoxMenuItem.java: 
7464         Fixed style and removed unnecessary comments.
7465         * javax/swing/JMenuItem.java: Ditto.
7466         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7467         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7468         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7469         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7470
7471 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7472
7473         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7474         C-style.
7475
7476         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7477
7478         * java/awt/ContainerOrderFocusTraversalPolicy.java
7479         (getComponentAfter): Start from current component and work up
7480         the component hierarchy until an acceptable component is found.
7481         Synchronize on tree lock.
7482         (getComponentBefore): Likewise.
7483
7484 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7485
7486         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7487         focus-related debugging messages.
7488         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7489         * java/awt/EventDispatchThread.java: Likewise.
7490         * java/awt/KeyboardFocusManager.java: Likewise.
7491         * java/awt/Window.java: Likewise.
7492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7494
7495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7496         new C++-style comments to C-style comments.
7497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7498
7499         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7500         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7501         (handleEvent): Dispatch key press and key release events to
7502         backing widget.
7503         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7504         (gtkWidgetRequestFocus): New method.
7505         (gtkWidgetDispatchKeyEvent): Likewise.
7506         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7507         requestFocusInWindow, requestFocusInWindow(boolean),
7508         getFocusCycleRootAncestor, nextFocus, transferFocus,
7509         transferFocusBackward, transferFocusUpCycle, hasFocus,
7510         isFocusOwner): Implement and document focus-handling methods.
7511         (setFocusTraversalKeys): Inherit focus traversal keys when
7512         keystrokes argument is null.  Fix focus-handling documentation
7513         throughout class.
7514         * java/awt/Container.java (setFocusTraversalKeys,
7515         getFocusTraversalKeys, areFocusTraversalKeysSet,
7516         isFocusCycleRoot, setFocusTraversalPolicy,
7517         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7518         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7519         Implement and document focus-handling methods.
7520         (transferFocusBackward): Remove method.
7521         (readObject, writeObject): Implement and document serialization
7522         methods.
7523         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7524         and document.
7525         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7526         document.
7527         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7528         partially document.
7529         * java/awt/EventDispatchThread.java (run): Set default keyboard
7530         focus manager.  Attempt to dispatch each event to the keyboard
7531         focus manager before normal dispatch.
7532         * java/awt/KeyboardFocusManager.java: Implement and partially
7533         document.
7534         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7535         (show): Focus initial component when window is shown for the
7536         first time.
7537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7538         (pre_event_handler): Replace complex key press and key release
7539         logic with simple callbacks into GtkComponentPeer.
7540         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7541
7542 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7543
7544         * javax/swing/MenuSelectionManager.java
7545         (componentForPoint): Added new method. 
7546         (defaultManager): New Method. Implemented.
7547         (getSelectedPath): Ditto.
7548         (isComponentPartOfCurrentMenu): Ditto.
7549         (processKeyEvent): Added new method.
7550         (processMouseEvent): New Method. Implemented.
7551         (setSelectedPath): Ditto.
7552         (getPath): Ditto.
7553
7554 2004-04-19  Kim Ho  <kho@redhat.com>
7555
7556         * java/awt/Container.java: 
7557         (remove): Set the component's parent to null.
7558         (getComponentAt): Implement.
7559         * javax/swing/JComponent.java:
7560         (JComponent): Initialize defaultLocale
7561         (getDefaultLocale): Implement.
7562         (setDefaultLocale): ditto.
7563         * javax/swing/JSlider.java:
7564         (JSlider): Fix calculation of value.
7565         * javax/swing/JSplitPane.java: Implement.
7566         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7567         Change SplitPane's default divider size.
7568         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7569         (paint): Remove unused code.
7570         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7571         Added comments and ran through jalopy.
7572         (setBasicSplitPaneUI): Get reference to hidden divider
7573         and set up one touch buttons if necessary.
7574         (setBorder): Fire propertyChangeEvent only if 
7575         borders are different.
7576         (getPreferredSize): Defer to layout manager.
7577         (propertyChange): Implement.
7578         (oneTouchExpandableChanged): ditto.
7579         (createLeftOneTouchButton): Use BasicArrowButton.
7580         (createRightOneTouchButton): ditto.
7581         (moveDividerTo): New method. Moves the divider
7582         to a set location based on the last divider location.
7583         (BasicSplitPaneDivider::MouseHandler): Implement.
7584         (BasicSplitPaneDivider::OneTouchButton): Removed.
7585         (BasicSplitPaneDivider::DragController): Implement.
7586         (BasicSplitPaneDivider::VerticalDragController):
7587         ditto.
7588         (BasicSplitPaneDivider::DividerLayout): ditto.
7589         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7590         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7591         (calculateLayoutInfo): Don't show component if it's
7592         null.
7593         (paintTab): Fix title paint logic.
7594
7595 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7596
7597         PR libgcj/8321
7598         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7599         (setStartRule,setEndRule): Don't take abs of day number.
7600         (getOffset): Clarify docs.  Add argument checks.
7601         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7602         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7603         endTimeMode.
7604         * testsuite/libjava.mauve/xfails
7605         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7606
7607 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7608
7609         Layout interfaces during preparation, not initialization. 
7610         * java/lang/natClass.cc (initializeClass): Move 
7611         _Jv_LayoutInterfaceMethods call...
7612         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7613
7614 2004-05-19  Anthony Green  <green@localhost.localdomain>
7615
7616         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7617         gnu.javax.rmi code.
7618         * Makefile.in: Rebuilt.
7619         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7620         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7621         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7622         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7623         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7624         gnu/javax/rmi/CORBA/DelegateFactory.java,
7625         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7626         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7627         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7628         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7629         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7630         gnu/javax/rmi/PortableServer.java: Remove files.
7631
7632 2004-05-19  Anthony Green  <green@redhat.com>
7633
7634         * Makefile.am: Define JAVA_EXT_DIRS.
7635         * Makefile.in: Rebuilt.
7636         * java/lang/natRuntime.cc (insertSystemProperties): Set
7637         java.ext.dirs property.
7638
7639 2004-05-16  Mark Wielaard  <mark@klomp.org>
7640
7641         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7642
7643 2004-05-15  Mark Wielaard  <mark@klomp.org>
7644
7645         * doc/cni.sgml: Removed, merged into gcj.texi.
7646
7647 2004-05-15  Mark Wielaard  <mark@klomp.org>
7648
7649         * Makefile.am (ordinary_java_source_files): Add new javax.print
7650         classes.
7651         * Makefile.in: Regenerated.
7652
7653 2004-05-15  Michael Koch  <konqueror@gmx.de>
7654
7655         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7656         javax/print/attribute/standard/DateTimeAtCreation.java,
7657         javax/print/attribute/standard/DateTimeAtProcessing.java,
7658         javax/print/attribute/standard/DocumentName.java,
7659         javax/print/attribute/standard/JobHoldUntil.java,
7660         javax/print/attribute/standard/JobImpressionsCompleted.java,
7661         javax/print/attribute/standard/JobMessageFromOperator.java,
7662         javax/print/attribute/standard/JobName.java,
7663         javax/print/attribute/standard/JobOriginatingUserName.java,
7664         javax/print/attribute/standard/JobPriority.java,
7665         javax/print/attribute/standard/JobPrioritySupported.java,
7666         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7667         javax/print/attribute/standard/OutputDeviceAssigned.java,
7668         javax/print/attribute/standard/PrinterInfo.java,
7669         javax/print/attribute/standard/PrinterLocation.java,
7670         javax/print/attribute/standard/PrinterMakeAndModel.java,
7671         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7672         javax/print/attribute/standard/PrinterName.java,
7673         javax/print/attribute/standard/QueuedJobCount.java,
7674         javax/print/attribute/standard/RequestingUserName.java:
7675         Fixed javadocs all over.
7676
7677 2004-05-15  Michael Koch  <konqueror@gmx.de>
7678
7679         * javax/print/DocFlavor.java,
7680         javax/print/attribute/standard/ColorSupported.java,
7681         javax/print/attribute/standard/Compression.java,
7682         javax/print/attribute/standard/CopiesSupported.java,
7683         javax/print/attribute/standard/Fidelity.java,
7684         javax/print/attribute/standard/Finishings.java,
7685         javax/print/attribute/standard/JobImpressionsSupported.java,
7686         javax/print/attribute/standard/JobKOctetsSupported.java,
7687         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7688         javax/print/attribute/standard/JobSheets.java,
7689         javax/print/attribute/standard/JobState.java,
7690         javax/print/attribute/standard/JobStateReason.java,
7691         javax/print/attribute/standard/JobStateReasons.java,
7692         javax/print/attribute/standard/Media.java,
7693         javax/print/attribute/standard/MediaSizeName.java,
7694         javax/print/attribute/standard/MultipleDocumentHandling.java,
7695         javax/print/attribute/standard/NumberUpSupported.java,
7696         javax/print/attribute/standard/OrientationRequested.java,
7697         javax/print/attribute/standard/PDLOverrideSupported.java,
7698         javax/print/attribute/standard/PageRanges.java,
7699         javax/print/attribute/standard/PresentationDirection.java,
7700         javax/print/attribute/standard/PrintQuality.java,
7701         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7702         javax/print/attribute/standard/PrinterMoreInfo.java,
7703         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7704         javax/print/attribute/standard/PrinterResolution.java,
7705         javax/print/attribute/standard/PrinterState.java,
7706         javax/print/attribute/standard/PrinterStateReason.java,
7707         javax/print/attribute/standard/PrinterStateReasons.java,
7708         javax/print/attribute/standard/PrinterURI.java,
7709         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7710         javax/print/attribute/standard/Severity.java,
7711         javax/print/attribute/standard/SheetCollate.java,
7712         javax/print/attribute/standard/Sides.java:
7713         Added serialVersionUID and removed final keyword where it doenst
7714         belong.
7715
7716 2004-05-15  Michael Koch  <konqueror@gmx.de>
7717
7718         * javax/print/PrintServiceLookup.java: New file.
7719
7720 2004-05-15  Michael Koch  <konqueror@gmx.de>
7721
7722         * javax/print/DocFlavor.java:
7723         Implemented all flavor classes.
7724
7725 2004-05-15  Michael Koch  <konqueror@gmx.de>
7726
7727         * javax/print/attribute/standard/ColorSupported.java,
7728         javax/print/attribute/standard/Compression.java,
7729         javax/print/attribute/standard/CopiesSupported.java,
7730         javax/print/attribute/standard/Fidelity.java,
7731         javax/print/attribute/standard/Finishings.java,
7732         javax/print/attribute/standard/JobImpressionsSupported.java,
7733         javax/print/attribute/standard/JobKOctetsSupported.java,
7734         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7735         javax/print/attribute/standard/JobSheets.java,
7736         javax/print/attribute/standard/JobState.java,
7737         javax/print/attribute/standard/JobStateReason.java,
7738         javax/print/attribute/standard/JobStateReasons.java,
7739         javax/print/attribute/standard/Media.java,
7740         javax/print/attribute/standard/MediaSizeName.java,
7741         javax/print/attribute/standard/MultipleDocumentHandling.java,
7742         javax/print/attribute/standard/NumberUpSupported.java,
7743         javax/print/attribute/standard/OrientationRequested.java,
7744         javax/print/attribute/standard/PDLOverrideSupported.java,
7745         javax/print/attribute/standard/PageRanges.java,
7746         javax/print/attribute/standard/PresentationDirection.java,
7747         javax/print/attribute/standard/PrintQuality.java,
7748         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7749         javax/print/attribute/standard/PrinterMoreInfo.java,
7750         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7751         javax/print/attribute/standard/PrinterResolution.java,
7752         javax/print/attribute/standard/PrinterState.java,
7753         javax/print/attribute/standard/PrinterStateReason.java,
7754         javax/print/attribute/standard/PrinterStateReasons.java,
7755         javax/print/attribute/standard/PrinterURI.java,
7756         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7757         javax/print/attribute/standard/Severity.java,
7758         javax/print/attribute/standard/SheetCollate.java,
7759         javax/print/attribute/standard/Sides.java: New files.
7760
7761 2004-05-15  Michael Koch  <konqueror@gmx.de>
7762
7763         * javax/print/Doc.java
7764         (getPrintData): Throws IOException.
7765         (getReaderForText): Likewise.
7766         (getStreamForBytes): Likewise.
7767         * javax/print/DocFlavor.java:
7768         Fixed filename in copyright.
7769         (serialVersionUID): New field.
7770         * javax/print/ServiceUIFactory.java:
7771         Made all constants final.
7772         * javax/print/AttributeException.java
7773         javax/print/MultiDoc.java
7774         javax/print/MultiDocPrintJob.java
7775         javax/print/MultiDocPrintService.java
7776         javax/print/StreamPrintService.java
7777         javax/print/URIException.java: New files.
7778         * javax/print/Makefile.am
7779         (EXTRA_DIST): Added all new files.
7780
7781 2004-05-15  Michael Koch  <konqueror@gmx.de>
7782
7783         * javax/print/attribute/standard/Copies.java,
7784         javax/print/attribute/standard/DateTimeAtCompleted.java,
7785         javax/print/attribute/standard/DateTimeAtCreation.java,
7786         javax/print/attribute/standard/DateTimeAtProcessing.java,
7787         javax/print/attribute/standard/DocumentName.java,
7788         javax/print/attribute/standard/JobHoldUntil.java,
7789         javax/print/attribute/standard/JobImpressions.java,
7790         javax/print/attribute/standard/JobImpressionsCompleted.java,
7791         javax/print/attribute/standard/JobKOctets.java,
7792         javax/print/attribute/standard/JobKOctetsProcessed.java,
7793         javax/print/attribute/standard/JobMediaSheets.java,
7794         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7795         javax/print/attribute/standard/JobMessageFromOperator.java,
7796         javax/print/attribute/standard/JobName.java,
7797         javax/print/attribute/standard/JobOriginatingUserName.java,
7798         javax/print/attribute/standard/JobPriority.java,
7799         javax/print/attribute/standard/JobPrioritySupported.java,
7800         javax/print/attribute/standard/NumberOfDocuments.java,
7801         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7802         javax/print/attribute/standard/NumberUp.java,
7803         javax/print/attribute/standard/OutputDeviceAssigned.java,
7804         javax/print/attribute/standard/PagesPerMinute.java,
7805         javax/print/attribute/standard/PagesPerMinuteColor.java:
7806         Fixed @return tag all over.
7807
7808 2004-05-15  Michael Koch  <konqueror@gmx.de>
7809
7810         * javax/print/attribute/AttributeSetUtilities.java
7811         (verifyCategoryForValue): Fixed typo in javadoc.
7812         * javax/print/attribute/HashAttributeSet.java
7813         (containsKey): Fixed @return tag.
7814         (comtainsValue): Likewise.
7815         (equals): Likewise.
7816         * javax/print/attribute/IntegerSyntax.java
7817         (equals): Likewise.
7818         * javax/print/attribute/ResolutionSyntax.java
7819         (equals): Likewise.
7820         (getCrossFeedResolution): Removed unused code.
7821         (getFeedResolution): Likewise.
7822         * javax/print/attribute/SetOfIntegerSyntax.java
7823         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7824         (equals): Fixed @return tag.
7825         * javax/print/attribute/TextSyntax.java
7826         (TextSyntax): Take locale into account.
7827         (hashCode): Better implementation.
7828
7829 2004-05-15  Michael Koch  <konqueror@gmx.de>
7830
7831         * javax/print/CancelablePrintJob.java,
7832         javax/print/Doc.java,
7833         javax/print/DocFlavor.java,
7834         javax/print/DocPrintJob.java,
7835         javax/print/FlavorException.java,
7836         javax/print/PrintException.java,
7837         javax/print/PrintService.java,
7838         javax/print/ServiceUIFactory.java: New files.
7839
7840 2004-05-15  Mark Wielaard  <mark@klomp.org>
7841
7842         * gnu/regexp/CharIndexedReader.java: Removed.
7843         * gnu/regexp/REFilterReader.java: Likewise.
7844         * gnu/regexp/RETokenLookAhead.java: Likewise.
7845         * Makefile.am (ordinary_java_source_files): Remove above classes.
7846         * Makefile.in: Regenerated.
7847
7848 2004-05-14  Tom Tromey  <tromey@redhat.com>
7849
7850         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7851         not `XGraphicsConfiguration.XOffScreenImage'.
7852
7853 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7854
7855         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7856
7857 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7858
7859         * include/jni.h (_Jv_func): Removed.
7860         (struct JNINativeInterface): Use `void *' for reserved slots.
7861         (struct JNIInvokeInterface): Likewise.
7862
7863 2004-05-11  Michael Koch  <konqueror@gmx.de>
7864
7865         * gnu/java/net/natPlainSocketImplPosix.cc
7866         (read): Fixed typo in expression.
7867
7868 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7869
7870         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7871         ld_library_additions. Adjust all calls to libjava_invoke to match
7872         the new argument.
7873
7874         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7875         path to cxxflagslist.
7876         Pass path of libstdc++ to libjava_invoke.
7877
7878         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7879         libjava_invoke arguments.
7880
7881 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7882
7883         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7884         reality.
7885
7886 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7887
7888         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7889         main binary against the JNI shared library.
7890
7891 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7892
7893         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7894         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7895         (SimpleTimeZone): Tweak docs.  Add new variation.
7896         (setStartRule,setEndRule): Add new variations.  Use
7897         startTimeMode and endTimeMode.
7898
7899 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7900
7901         * java/util/Calendar.java (getActualMinimum,
7902         getActualMaximum):  Remove abstract.  Implement.
7903
7904 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7905
7906         Run the jni tests using the interpreter.
7907         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7908         options_cxx to shared lib compile command.
7909         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7910         they are used to link the shared lib, not the main binary.
7911         Use libjava_invoke to run gij.
7912
7913 2004-05-06  Michael Koch  <konqueror@gmx.de>
7914
7915         * java/util/logging/Level.java
7916         (parse): Use == instead of String.equals().
7917
7918 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7919
7920         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7921         verify_field_signature and verify_method_signature, not 
7922         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7923         (_Jv_ClassReader::handleField): Likewise.
7924         (_Jv_ClassReader::handleMethod): Likewise.
7925
7926 2004-05-06  Michael Koch  <konqueror@gmx.de>
7927
7928         * javax/swing/table/TableColumn.java:
7929         Reformated.
7930
7931 2004-05-06  Michael Koch  <konqueror@gmx.de>
7932
7933         * javax/imageio/spi/ImageReaderWriterSpi.java
7934         (ImageReaderWriterSpi): Made it public.
7935         * javax/imageio/stream/ImageInputStream.java:
7936         Clean up imports.
7937
7938 2004-05-06  Michael Koch  <konqueror@gmx.de>
7939
7940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7941         Removed empty line.
7942
7943 2004-05-06  Michael Koch  <konqueror@gmx.de>
7944
7945         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7946         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7947         New files.
7948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7949         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7950         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7951         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7952         their own source file.
7953         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7954         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7955         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7957         (create): Define variable on top of function.
7958         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7959         (menu_pos): Prototyped.
7960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7961         (setTitle): Removed.
7962         * jni/gtk-peer/gthread-jni.c
7963         (gdk_threads_wake): Removed.
7964         * Makefile.am (gtk_c_source_files): Added new files
7965         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7966         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7967         * Makefile.in: Regenerated.
7968
7969 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7970
7971         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7972         call.
7973
7974 2004-05-05  Mark Wielaard  <mark@klomp.org>
7975
7976         * javax/swing/AbstractButton.java: Replace special HTML entities with
7977         ASCII equivalent.
7978         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7979         * javax/swing/DefaultButtonModel.java: Likewise.
7980         * javax/swing/DefaultListModel.java: Likewise.
7981         * javax/swing/JList.java: Likewise.
7982         * javax/swing/JSlider.java: Likewise.
7983         * javax/swing/ListModel.java: Likewise.
7984         * javax/swing/Popup.java: Likewise.
7985         * javax/swing/SwingUtilities.java: Likewise.
7986
7987 2004-05-05  Michael Koch  <konqueror@gmx.de>
7988
7989         * javax/swing/AbstractButton.java,
7990         javax/swing/ActionMap.java,
7991         javax/swing/DefaultButtonModel.java,
7992         javax/swing/DefaultListModel.java,
7993         javax/swing/ImageIcon.java,
7994         javax/swing/JComboBox.java,
7995         javax/swing/JComponent.java,
7996         javax/swing/JFrame.java,
7997         javax/swing/JInternalFrame.java,
7998         javax/swing/JMenuBar.java,
7999         javax/swing/JMenuItem.java,
8000         javax/swing/JOptionPane.java,
8001         javax/swing/JProgressBar.java,
8002         javax/swing/JRootPane.java,
8003         javax/swing/JScrollBar.java,
8004         javax/swing/JScrollPane.java,
8005         javax/swing/JSeparator.java,
8006         javax/swing/JSlider.java,
8007         javax/swing/JTabbedPane.java,
8008         javax/swing/JTable.java,
8009         javax/swing/JTextField.java,
8010         javax/swing/JToolBar.java,
8011         javax/swing/JToolTip.java,
8012         javax/swing/JTree.java,
8013         javax/swing/JViewport.java,
8014         javax/swing/JWindow.java,
8015         javax/swing/KeyStroke.java,
8016         javax/swing/LookAndFeel.java,
8017         javax/swing/SwingUtilities.java,
8018         javax/swing/Timer.java,
8019         javax/swing/ToolTipManager.java,
8020         javax/swing/UIDefaults.java,
8021         javax/swing/border/TitledBorder.java,
8022         javax/swing/filechooser/FileSystemView.java,
8023         javax/swing/plaf/basic/BasicButtonListener.java,
8024         javax/swing/plaf/basic/BasicButtonUI.java,
8025         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8026         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8027         javax/swing/plaf/basic/BasicLabelUI.java,
8028         javax/swing/plaf/basic/BasicMenuItemUI.java,
8029         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8030         javax/swing/plaf/basic/BasicRootPaneUI.java,
8031         javax/swing/plaf/basic/BasicScrollBarUI.java,
8032         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8033         javax/swing/plaf/basic/BasicSliderUI.java,
8034         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8035         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8036         javax/swing/table/JTableHeader.java,
8037         javax/swing/text/AbstractDocument.java,
8038         javax/swing/text/DefaultCaret.java,
8039         javax/swing/text/StyledEditorKit.java,
8040         javax/swing/tree/DefaultTreeCellEditor.java:
8041         Cleaned up imports.
8042
8043 2004-05-05  Michael Koch  <konqueror@gmx.de>
8044
8045         * java/util/prefs/AbstractPreferences.java
8046         (AbstractPreferences): Added parenthesis for clarity.
8047         Closes classpath bug #7940.
8048
8049 2004-05-05  Tom Tromey  <tromey@redhat.com>
8050
8051         * javax/naming/CompoundName.java (endsWith): Look at correct
8052         element of source name.
8053
8054 2004-05-05  Mark Wielaard  <mark@klomp.org>
8055
8056         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8057         * java/util/HashMap.java (rehash): Add entry at start of bucket.
8058
8059 2004-05-05  Tom Tromey  <tromey@redhat.com>
8060
8061         * java/io/BufferedReader.java (skip): Removed unused
8062         variable.
8063
8064 2004-05-05  Michael Koch  <konqueror@gmx.de>
8065
8066         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8067
8068 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
8069
8070         * java/text/AttributedString.java,
8071         java/text/AttributedStringIterator.java,
8072         java/text/Collator.java,
8073         java/text/DecimalFormatSymbols.java,
8074         java/text/NumberFormat.java,
8075         java/text/RuleBasedCollator.java:
8076         Cleaned up imports.
8077
8078 2004-05-05  Tom Tromey  <tromey@redhat.com>
8079
8080         * java/text/Format.java: Cleaned up imports.
8081         * java/text/DecimalFormat.java: Cleaned up imports.
8082         * java/security/SecureRandom.java: Cleaned up imports.
8083         (SecureRandom): Removed unused variable.
8084         * java/security/UnresolvedPermission.java: Cleaned up imports.
8085         * java/util/Date.java (parse): Removed unused variable.
8086         * java/util/ResourceBundle.java: Cleaned up imports.
8087         (getBundle): Removed unused variable.
8088         (tryBundle): Likewise.
8089         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8090
8091 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8092
8093         * java/text/SimpleDateFormat.java:
8094         (formatWithAttribute): New method. It implements
8095         the formatting process with attributes.
8096         (format): Use formatWithAttribute.
8097         (formatToCharacterIterator): New method. Use
8098         formatWithAttribute.
8099
8100 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8101
8102         * java/text/MessageFormat.java:
8103         (class Field): New class.
8104         (formatToCharacterIterator): New method.
8105         (format): Use formatInternal now.
8106         (formatInternal): New method. String formatter should
8107         be done here (with attributes). Attributes merging supported.
8108         (parse): More documentation.
8109         (getFormatsByArgumentIndex): New method.
8110         (setFormatByArgumentIndex): New method.
8111         (setFormatsByArgumentIndex): New method.
8112
8113 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8114
8115         * java/text/DecimalFormat.java
8116         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8117         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8118         (parse): Fixed handling of exponentiation notation and grouping.
8119
8120 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8121
8122         * java/text/DecimalFormat.java
8123         (scanFix): Build attribute array. Fixed error reporting.
8124         (applyPatternWithSymbols): Store attributes for the prefix and
8125         suffix.
8126         (formatInternal): New method. Changed the way the string is
8127         computed. Implemented attributes. Cleant up rounding in
8128         exponential notation.
8129         (format): Use formatInternal.
8130         (formatToCharacterIterator): New method.
8131         (exponentRound, negativePrefixRanges, positivePrefixRanges,
8132         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8133         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8134         New fields.
8135
8136 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8137
8138         * java/security/interfaces/DSAKeyPairGenerator.java,
8139         java/security/interfaces/DSAPrivateKey.java,
8140         java/security/interfaces/DSAPublicKey.java,
8141         java/security/interfaces/RSAPrivateKey.java,
8142         java/security/interfaces/RSAPublicKey.java:
8143         Cleaned up imports.
8144
8145 2004-05-04  Michael Koch  <konqueror@gmx.de>
8146
8147         * java/nio/ByteBuffer.java,
8148         java/nio/CharBuffer.java,
8149         java/nio/DoubleBuffer.java,
8150         java/nio/FloatBuffer.java,
8151         java/nio/IntBuffer.java,
8152         java/nio/LongBuffer.java,
8153         java/nio/ShortBuffer.java:
8154         (compareTo): Fixed bogus implementation in all buffer classes.
8155
8156 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8157
8158         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8159         32 bit pixels not 8 bit pixels.
8160         (isCompatibleRaster): Added javadoc comment.
8161
8162 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8163
8164         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8165         scanline stride.
8166
8167 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8168
8169         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8170         (getColorModel): Return the actual color model.
8171         (getRaster): Implemented.
8172         (ColorRaster): New inner class.
8173         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8174         a PaintContext.
8175         * java/awt/Color.java (<init>): Make exception more verbose.
8176         (createContext): Use ColorModel when creating a PaintContext.
8177
8178 2004-05-04  Michael Koch  <konqueror@gmx.de>
8179
8180         * gnu/java/text/CharacterBreakIterator.java
8181         (previous): Removed unused variable.
8182
8183 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8184
8185         * gnu/java/text/FormatBuffer.java,
8186         gnu/java/text/AttributedFormatBuffer.java,
8187         gnu/java/text/StringFormatBuffer.java: New classes to implement
8188         attributed iterators in java.text.
8189         * gnu/java/text/FormatCharacterIterator.java: Moved 
8190         from java/text as it is an internal class.
8191         * java/text/FormatCharacterIterator.java: Removed.
8192         * java/text/Format.java:
8193         Import gnu.java.text.FormatCharacterIterator.
8194         * Makefile.am (java_source_files): Added new files.
8195         * Makefile.in: Regenerated.
8196         
8197
8198 2004-05-04  Mark Wielaard  <mark@klomp.org>
8199
8200         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8201
8202 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8203
8204         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8205         * Makefile.in: Rebuilt.
8206
8207 2004-05-03  Mark Wielaard  <mark@klomp.org>
8208
8209         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8210         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8211         * java/net/URL.java
8212         (set(String, String, int, String, String, String, String, String)):
8213         Assign this.file to path or path + "?" + query.
8214         * java/util/Arrays.java: Call static methods staticly.
8215         * java/util/zip/ZipEntry.java: Likewise.
8216         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8217         dir to this.direction.
8218         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8219         Assign static field only once.
8220         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8221
8222 2004-05-03  Mark Wielaard  <mark@klomp.org>
8223
8224         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8225         unused variables hScrollbarHeight and vScrollbarWidth.
8226         (preferredSize): Likewise.
8227         * gnu/java/security/provider/DSAParameters.java (engineToString):
8228         Removed unused call to System.getProperty("line.seperator");
8229         * java/security/Security.java (loadProviders): Return result.
8230
8231 2004-05-03  Tom Tromey  <tromey@redhat.com>
8232
8233         * java/net/URLStreamHandler.java (toExternalForm): Removed
8234         unused variables.
8235         unused constructor.
8236         * java/math/BigDecimal.java (divide): Removed unused variable.
8237         * java/lang/Throwable.java: Cleaned up imports.
8238         * java/lang/ClassLoader.java: Cleaned up imports.
8239         * java/io/FilePermission.java (implies): Removed unused
8240         variable.
8241         * java/awt/TextComponent.java: Removed unused import.
8242         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8243         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8244         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8245         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8246         import.
8247         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8248         * gnu/java/text/CharacterBreakIterator.java: Removed
8249         unused import.
8250         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8251         Cleaned up imports.
8252         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8253         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8254         unused method.
8255         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8256         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8257         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8258         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8259         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8260         (lookupProviders): Removed unused variable.
8261         (loadNextServiceProvider): Likewise.
8262         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8263
8264 2004-05-03  Michael Koch  <konqueror@gmx.de>
8265
8266         Fixes PR libgcj/14695:
8267         * java/net/NetworkInterface.java
8268         (getByName): Return null when no interface was found.
8269
8270 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8271             Tom Tromey  <tromey@redhat.com>
8272
8273         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8274         additional option "-Wmissing-prototypes" for compiling C sources.
8275         Print actual filename for pass/fail rather than $name.c.
8276         * testsuite/libjava.jni/PR15133.java: New testcase file.
8277         * testsuite/libjava.jni/PR15133.c: Likewise.
8278         * testsuite/libjava.jni/PR15133.out: Likewise.
8279
8280 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8281
8282         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8283         ceil and floor.
8284
8285 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8286         
8287         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8288         limit the maximum heap size to avoid unnecessary thrashing.
8289
8290 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8291
8292         * java/text/CollationElementIterator.java (reset): Reset
8293         lookahead variables.
8294
8295 2004-04-23  Mark Wielaard  <mark@klomp.org>
8296
8297         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8298
8299 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8300
8301         * java/sql/DriverManager.java:
8302         Cleaned up imports.
8303
8304 2004-04-23  Michael Koch  <konqueror@gmx.de>
8305
8306         * java/net/URL.java
8307         (hashcode): Don't initialize with default value explicitely.
8308         (getContent): Removed redundant "final" keyword.
8309         (openStream): Likewise.
8310         (getURLStreamHandler): Fixed coding style.
8311         * java/net/URLConnection.java
8312         (defaultAllowUserInteraction): Don't initialize with default value
8313         explicitely.
8314         (connected): Likewise.
8315         (doOutput): Likewise.
8316         (ifModifiedSince): Likewise.
8317         (dateformats_initialized): Likewise.
8318         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8319
8320 2004-04-23  Michael Koch  <konqueror@gmx.de>
8321
8322         * gnu/java/nio/channels/FileChannelImpl.java
8323         (SET, CUR): Unused, removed.
8324         (read): Implement here directly.
8325         (implRead): Removed.
8326         (write): Implement here directly.
8327         (implWrite): Removed.
8328
8329 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8330
8331         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8332         javax/rmi/CORBA/Stub.java,
8333         javax/rmi/CORBA/Util.java,
8334         javax/rmi/CORBA/ValueHandler.java,
8335         javax/rmi/CORBA/ValueHandler.java,
8336         javax/rmi/PortableRemoteObject.java:
8337         Cleaned up imports.
8338
8339 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8340
8341         * java/util/jar/JarFile.java,
8342         java/util/jar/JarInputStream.java,
8343         java/util/jar/JarOutputStream.java,
8344         java/util/jar/Manifest.java:
8345         Cleaned up imports.
8346
8347 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8348
8349         * java/util/ArrayList.java,
8350         java/util/Calendar.java,
8351         java/util/Currency.java,
8352         java/util/HashMap.java,
8353         java/util/HashSet.java,
8354         java/util/Hashtable.java,
8355         java/util/LinkedList.java,
8356         java/util/Properties.java,
8357         java/util/PropertyPermission.java,
8358         java/util/TimeZone.java,
8359         java/util/TreeMap.java,
8360         java/util/TreeSet.java,
8361         java/util/Vector.java,
8362         java/util/WeakHashMap.java:
8363         Cleaned up imports.
8364
8365 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8366
8367         * java/util/logging/FileHandler.java,
8368         java/util/logging/Formatter.java,
8369         java/util/logging/Handler.java,
8370         java/util/logging/Logger.java,
8371         java/util/logging/SimpleFormatter.java,
8372         java/util/logging/XMLFormatter.java:
8373         Cleaned up imports.
8374
8375 2004-04-22  Mark Wielaard  <mark@klomp.org>
8376
8377         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8378         -Wno-long-long flags variable.
8379         (gtk_c_files): Use PEDANTIC_CFLAGS.
8380         * Makefile.in: Regenerated.
8381
8382 2004-04-22  Mark Wielaard  <mark@klomp.org>
8383
8384         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8385         Changed C++ comments into C comments.
8386         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8387         Likewise.
8388
8389 2004-04-22  Michael Koch  <konqueror@gmx.de>
8390
8391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8392         Merged copyright year with GNU classpath.
8393
8394 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8395
8396         * javax/security/auth/x500/X500Principal.java:
8397         Cleaned up imports.
8398
8399 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8400
8401         * javax/swing/JSlider.java:
8402         Fixed HTML tags in comments.
8403
8404 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8405
8406         * javax/accessibility/AccessibleText.java:
8407         Cleaned up imports.
8408
8409 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8410
8411         * java/net/URLStreamHandler.java
8412         (parseURL): Convert the file path to using '/' instead of native
8413         file separator.
8414
8415 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8416
8417         * java/net/URL.java
8418         (userInfo): New field.
8419         (URL): Set authority to the right value.
8420         (setURL): Fixed authority and file initialization.
8421         * java/net/URLStreamHandler.java
8422         (parseURL): Take care of the query tag. Build authority.
8423         (toExternalForm): Fixed URL building using authority.
8424
8425 2004-04-22  Michael Koch  <konqueror@gmx.de>
8426
8427         * java/net/Socket.java
8428         (impl): Made package-private.
8429         * java/net/ServerSocket.java
8430         (implAccept): Access Socket.impl field directly.
8431
8432 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8433
8434         * java/util/prefs/Preferences.java,
8435         java/util/prefs/InvalidPreferencesFormatException.java,
8436         java/util/prefs/BackingStoreException.java,
8437         java/util/prefs/AbstractPreferences.java:
8438         Cleaned up imports.
8439
8440 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8441
8442         * java/util/regex/Matcher.java,
8443         java/util/regex/Pattern.java:
8444         Cleaned up imports.
8445
8446 2004-04-22  Michael Koch  <konqueror@gmx.de>
8447
8448         * java/nio/charset/IllegalCharsetNameException.java
8449         (charsetName): Made private.
8450         (IllegalCharsetNameException): Added @param tag to javadoc.
8451         (getCharsetName): Added @return tag to javadoc.
8452         * java/nio/charset/MalformedInputException.java
8453         (MalformedInputException): Added @param tag to javadoc.
8454         (getInputLength): Revised method description, added @return tag.
8455         (getMessage): Added @return tag.
8456
8457 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8458
8459         * java/awt/Font.java (deriveFont): Implement missing variants.
8460         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8461         missing variants.
8462
8463 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8464
8465         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8466         Set method->index values for interface methods to their itable index.
8467         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8468
8469 2004-04-21  Michael Koch  <konqueror@gmx.de>
8470
8471         * java/nio/DirectByteBufferImpl.java
8472         (shiftDown): Made static, give address as argument and
8473         provide a convenience method that overwrites shiftDown in
8474         ByteBufferImpl and calls the native shiftDown.
8475         * java/nio/MappedByteBufferImpl.java
8476         (): Use optimized method in DirectByteBufferImpl.
8477         * java/nio/natDirectByteBufferImpl.cc
8478         (shiftDown): Changed method signature. Removed usage of array_offset.
8479
8480 2004-04-21  Michael Koch  <konqueror@gmx.de>
8481
8482         * gnu/java/net/natPlainSocketImplPosix.cc
8483         (SocketInputStream::read): Make sure returned data is a byte value.
8484
8485 2004-04-21  Michael Koch  <konqueror@gmx.de>
8486
8487         * gnu/classpath/ServiceFactory.java,
8488         gnu/classpath/ServiceProviderLoadingAction.java,
8489         javax/imageio/ImageReader.java,
8490         javax/imageio/ImageTranscoder.java,
8491         javax/imageio/ImageWriter.java,
8492         javax/imageio/package.html,
8493         javax/imageio/spi/IIOServiceProvider.java,
8494         javax/imageio/spi/ImageInputStreamSpi.java,
8495         javax/imageio/spi/ImageOutputStreamSpi.java,
8496         javax/imageio/spi/ImageReaderWriterSpi.java,
8497         javax/imageio/spi/ImageTranscoderSpi.java,
8498         javax/imageio/spi/RegisterableService.java,
8499         javax/imageio/spi/ServiceRegistry.java,
8500         javax/imageio/spi/package.html,
8501         javax/imageio/stream/IIOByteBuffer.java,
8502         javax/imageio/stream/ImageInputStream.java,
8503         javax/imageio/stream/ImageOutputStream.java,
8504         javax/imageio/stream/package.html:
8505         New files.
8506         * Makefile.am
8507         (ordinary_java_source_files): Added
8508         gnu/classpath/ServiceFactory.java and
8509         gnu/classpath/ServiceProviderLoadingAction.java.
8510         (javax_source_files): Added
8511         javax/imageio/ImageReader.java,
8512         javax/imageio/ImageTranscoder.java,
8513         javax/imageio/ImageWriter.java,
8514         javax/imageio/spi/IIOServiceProvider.java,
8515         javax/imageio/spi/ImageInputStreamSpi.java,
8516         javax/imageio/spi/ImageOutputStreamSpi.java,
8517         javax/imageio/spi/ImageReaderWriterSpi.java,
8518         javax/imageio/spi/ImageTranscoderSpi.java,
8519         javax/imageio/spi/RegisterableService.java,
8520         javax/imageio/spi/ServiceRegistry.java,
8521         javax/imageio/stream/IIOByteBuffer.java,
8522         javax/imageio/stream/ImageInputStream.java and
8523         javax/imageio/stream/ImageOutputStream.java.
8524         * Makefile.in: Regenerated.
8525
8526 2004-04-21  Michael Koch  <konqueror@gmx.de>
8527
8528         * java/util/Properties.java
8529         (load): Fix wrongly merged fix.
8530
8531 2004-04-21  Mark Wielaard  <mark@klomp.org>
8532
8533         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8534         malloc and free buf.
8535
8536 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8537
8538         * javax/naming/AuthenticationException.java,
8539         javax/naming/AuthenticationNotSupportedException.java,
8540         javax/naming/CannotProceedException.java,
8541         javax/naming/CommunicationException.java,
8542         javax/naming/CompoundName.java,
8543         javax/naming/ConfigurationException.java,
8544         javax/naming/ContextNotEmptyException.java,
8545         javax/naming/InitialContext.java,
8546         javax/naming/InsufficientResourcesException.java,
8547         javax/naming/InterruptedNamingException.java,
8548         javax/naming/LimitExceededException.java,
8549         javax/naming/LinkException.java,
8550         javax/naming/LinkLoopException.java,
8551         javax/naming/LinkRef.java,
8552         javax/naming/MalformedLinkException.java,
8553         javax/naming/Name.java,
8554         javax/naming/NameAlreadyBoundException.java,
8555         javax/naming/NameNotFoundException.java,
8556         javax/naming/NamingSecurityException.java,
8557         javax/naming/NoInitialContextException.java,
8558         javax/naming/NoPermissionException.java,
8559         javax/naming/NotContextException.java,
8560         javax/naming/PartialResultException.java,
8561         javax/naming/ReferralException.java,
8562         javax/naming/ServiceUnavailableException.java,
8563         javax/naming/SizeLimitExceededException.java,
8564         javax/naming/TimeLimitExceededException.java,
8565         javax/naming/directory/Attribute.java,
8566         javax/naming/directory/Attributes.java,
8567         javax/naming/directory/SearchResult.java,
8568         javax/naming/event/NamingExceptionEvent.java,
8569         javax/naming/spi/ResolveResult.java:
8570         Cleaned up imports.
8571
8572 2004-04-21  Mark Wielaard  <mark@klomp.org>
8573
8574         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8575         Changed C++ comments into C comments. Removed commented out code.
8576         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8577         Likewise.
8578         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8579         Likewise.
8580         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8581         Likewise.
8582         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8583         Likewise.
8584         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8585         Likewise.
8586         * native/jni/gtk-peer/gthread-jni.c:
8587         Likewise.
8588
8589 2004-04-21  Mark Wielaard  <mark@klomp.org>
8590
8591         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8592         static fields defined in interface.
8593         * javax/awt/JDialog.java: Likewise.
8594         (JDialog): Make constructors public.
8595         (getDefaultCloseOperation): Make public.
8596         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8597         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8598         * javax/swing/JViewport.java (JViewport): Make constructor public.
8599
8600 2004-04-21  Michael Koch  <konqueror@gmx.de>
8601
8602         * java/util/Map.java
8603         (Entry): Removed redundant "static" modifier.
8604         * java/text/AttributedCharacterIterator.java:
8605         Updated copyright year.
8606
8607 2004-04-20  Michael Koch  <konqueror@gmx.de>
8608
8609         * javax/naming/directory/SearchControls.java:
8610         Don't explicitely extend java.lang.Object.
8611         * javax/naming/spi/DirStateFactory.java:
8612         Merged copyright year with GNU classpath.
8613
8614 2004-04-20  Michael Koch  <konqueror@gmx.de>
8615
8616         * java/nio/channels/Channels.java:
8617         Merged coding style with GNU classpath.
8618
8619 2004-04-20  Michael Koch  <konqueror@gmx.de>
8620
8621         * java/net/ServerSocket.java
8622         Merged coding style from GNU classpath.
8623
8624 2004-04-20  Michael Koch  <konqueror@gmx.de>
8625
8626         * java/io/BufferedWriter.java:
8627         Reordered variables to be at top of the class.
8628         (localFlush): Removed redundant final keyword.
8629
8630 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8631
8632         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8633
8634 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8635
8636         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8637         for percent and permill check.
8638
8639 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8640
8641         * java/text/FieldPosition.java
8642         (FieldPosition) Constructor now behaves as it should according
8643         to the java documentation.
8644
8645 2004-04-20  Mark Wielaard  <mark@klomp.org>
8646
8647         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8648         documentation.
8649
8650 2004-04-20  Michael Koch  <konqueror@gmx.de>
8651
8652         * java/nio/Buffer.java,
8653         java/nio/channels/AlreadyConnectedException.java,
8654         java/nio/channels/AsynchronousCloseException.java,
8655         java/nio/channels/ByteChannel.java,
8656         java/nio/channels/CancelledKeyException.java,
8657         java/nio/channels/Channel.java,
8658         java/nio/channels/Channels.java,
8659         java/nio/channels/ClosedByInterruptException.java,
8660         java/nio/channels/ClosedChannelException.java,
8661         java/nio/channels/ClosedSelectorException.java,
8662         java/nio/channels/ConnectionPendingException.java,
8663         java/nio/channels/DatagramChannel.java,
8664         java/nio/channels/FileChannel.java,
8665         java/nio/channels/FileLock.java,
8666         java/nio/channels/FileLockInterruptionException.java,
8667         java/nio/channels/GatheringByteChannel.java,
8668         java/nio/channels/IllegalBlockingModeException.java,
8669         java/nio/channels/IllegalSelectorException.java,
8670         java/nio/channels/InterruptibleChannel.java,
8671         java/nio/channels/NoConnectionPendingException.java,
8672         java/nio/channels/NonReadableChannelException.java,
8673         java/nio/channels/NonWritableChannelException.java,
8674         java/nio/channels/NotYetBoundException.java,
8675         java/nio/channels/NotYetConnectedException.java,
8676         java/nio/channels/OverlappingFileLockException.java,
8677         java/nio/channels/Pipe.java,
8678         java/nio/channels/ReadableByteChannel.java,
8679         java/nio/channels/ScatteringByteChannel.java,
8680         java/nio/channels/SelectableChannel.java,
8681         java/nio/channels/SelectionKey.java,
8682         java/nio/channels/Selector.java,
8683         java/nio/channels/ServerSocketChannel.java,
8684         java/nio/channels/SocketChannel.java,
8685         java/nio/channels/UnresolvedAddressException.java,
8686         java/nio/channels/UnsupportedAddressTypeException.java,
8687         java/nio/channels/WritableByteChannel.java,
8688         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8689         java/nio/channels/spi/AbstractSelectableChannel.java,
8690         java/nio/channels/spi/AbstractSelectionKey.java,
8691         java/nio/channels/spi/AbstractSelector.java,
8692         java/nio/channels/spi/SelectorProvider.java,
8693         java/nio/charset/spi/CharsetProvider.java:
8694         Fixed javadocs and jalopied all over java.nio.
8695
8696 2004-04-20  Michael Koch  <konqueror@gmx.de>
8697
8698         * java/nio/ByteBufferImpl.java,
8699         java/nio/CharBufferImpl.java,
8700         java/nio/DirectByteBufferImpl.java,
8701         java/nio/DoubleBufferImpl.java,
8702         java/nio/DoubleViewBufferImpl.java,
8703         java/nio/FloatBufferImpl.java,
8704         java/nio/FloatViewBufferImpl.java,
8705         java/nio/IntBufferImpl.java,
8706         java/nio/IntViewBufferImpl.java,
8707         java/nio/LongBufferImpl.java,
8708         java/nio/LongViewBufferImpl.java,
8709         java/nio/MappedByteBufferImpl.java,
8710         java/nio/ShortBufferImpl.java,
8711         java/nio/ShortViewBufferImpl.java:
8712         Made sure all classes are final and removed final keyword from all
8713         methods.
8714
8715 2004-04-20  Michael Koch  <konqueror@gmx.de>
8716
8717         * java/rmi/MarshalledObject.java,
8718         java/rmi/Naming.java,
8719         java/rmi/RemoteException.java,
8720         java/rmi/activation/ActivationException.java,
8721         java/rmi/server/ServerCloneException.java,
8722         java/security/AccessController.java,
8723         java/security/AlgorithmParameterGenerator.java,
8724         java/security/AlgorithmParameters.java,
8725         java/security/CodeSource.java,
8726         java/security/Identity.java,
8727         java/security/IdentityScope.java,
8728         java/security/KeyPairGenerator.java,
8729         java/security/KeyStore.java,
8730         java/security/Security.java,
8731         java/security/Signature.java,
8732         java/security/SignatureSpi.java,
8733         java/security/SignedObject.java,
8734         java/security/spec/DSAParameterSpec.java,
8735         java/security/spec/DSAPrivateKeySpec.java,
8736         java/security/spec/DSAPublicKeySpec.java,
8737         java/sql/Array.java,
8738         java/sql/DatabaseMetaData.java,
8739         java/sql/ResultSet.java,
8740         java/text/ChoiceFormat.java,
8741         java/text/CollationElementIterator.java,
8742         java/text/CollationKey.java,
8743         java/text/Collator.java,
8744         java/text/DateFormat.java,
8745         java/text/DateFormatSymbols.java,
8746         java/text/DecimalFormatSymbols.java,
8747         java/text/Format.java,
8748         java/text/ParsePosition.java,
8749         java/text/RuleBasedCollator.java,
8750         java/text/SimpleDateFormat.java,
8751         java/text/StringCharacterIterator.java,
8752         java/util/Collections.java,
8753         java/util/PropertyResourceBundle.java,
8754         java/util/ResourceBundle.java,
8755         java/util/StringTokenizer.java,
8756         java/util/jar/Attributes.java,
8757         java/util/logging/ConsoleHandler.java,
8758         java/util/logging/LogManager.java,
8759         java/util/logging/MemoryHandler.java,
8760         java/util/logging/SocketHandler.java,
8761         javax/naming/NamingException.java:
8762         Fixed javadoc, coding style and argument names all over.
8763
8764 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8765
8766         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8767         constructor. (valid) Added null check.
8768
8769 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8770
8771         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8772         * java/io/FileOutputStream.java
8773         (FileOutputStream) Reorganized constructors. Constructors now
8774         check whether the given path is directory.
8775
8776 2004-04-20  Michael Koch  <konqueror@gmx.de>
8777
8778         * java/net/Authenticator.java,
8779         java/net/BindException.java,
8780         java/net/ConnectException.java,
8781         java/net/ContentHandler.java,
8782         java/net/ContentHandlerFactory.java,
8783         java/net/DatagramPacket.java,
8784         java/net/DatagramSocket.java,
8785         java/net/DatagramSocketImpl.java,
8786         java/net/DatagramSocketImplFactory.java,
8787         java/net/FileNameMap.java,
8788         java/net/HttpURLConnection.java,
8789         java/net/Inet4Address.java,
8790         java/net/Inet6Address.java,
8791         java/net/InetAddress.java,
8792         java/net/InetSocketAddress.java,
8793         java/net/JarURLConnection.java,
8794         java/net/MalformedURLException.java,
8795         java/net/MulticastSocket.java,
8796         java/net/NetPermission.java,
8797         java/net/NetworkInterface.java,
8798         java/net/NoRouteToHostException.java,
8799         java/net/PasswordAuthentication.java,
8800         java/net/PortUnreachableException.java,
8801         java/net/ProtocolException.java,
8802         java/net/ServerSocket.java,
8803         java/net/Socket.java,
8804         java/net/SocketAddress.java,
8805         java/net/SocketException.java,
8806         java/net/SocketImpl.java,
8807         java/net/SocketImplFactory.java,
8808         java/net/SocketOptions.java,
8809         java/net/SocketPermission.java,
8810         java/net/SocketTimeoutException.java,
8811         java/net/URI.java,
8812         java/net/URISyntaxException.java,
8813         java/net/URL.java,
8814         java/net/URLClassLoader.java,
8815         java/net/URLConnection.java,
8816         java/net/URLDecoder.java,
8817         java/net/URLEncoder.java,
8818         java/net/URLStreamHandler.java,
8819         java/net/URLStreamHandlerFactory.java,
8820         java/net/UnknownHostException.java,
8821         java/net/UnknownServiceException.java:
8822         Fixed javadocs, coding style and argument names all over.
8823
8824 2004-04-20  Michael Koch  <konqueror@gmx.de>
8825
8826         * java/lang/Byte.java,
8827         java/lang/CharSequence.java,
8828         java/lang/ClassLoader.java,
8829         java/lang/Compiler.java,
8830         java/lang/Double.java,
8831         java/lang/Float.java,
8832         java/lang/Integer.java,
8833         java/lang/Long.java,
8834         java/lang/Math.java,
8835         java/lang/Number.java,
8836         java/lang/Package.java,
8837         java/lang/Runtime.java,
8838         java/lang/RuntimePermission.java,
8839         java/lang/SecurityManager.java,
8840         java/lang/Short.java,
8841         java/lang/StringBuffer.java,
8842         java/lang/System.java,
8843         java/lang/ThreadGroup.java,
8844         java/lang/Throwable.java,
8845         java/lang/reflect/InvocationHandler.java,
8846         java/lang/reflect/Proxy.java:
8847         Fixed javadocs, coding style and argument names all over.
8848
8849 2004-04-20  Michael Koch  <konqueror@gmx.de>
8850
8851         * java/io/BufferedWriter.java,
8852         java/io/ByteArrayInputStream.java,
8853         java/io/CharArrayWriter.java,
8854         java/io/DataInput.java,
8855         java/io/DataInputStream.java,
8856         java/io/File.java,
8857         java/io/FilterInputStream.java,
8858         java/io/InputStream.java,
8859         java/io/InputStreamReader.java,
8860         java/io/ObjectInputStream.java,
8861         java/io/ObjectStreamClass.java,
8862         java/io/PipedInputStream.java,
8863         java/io/PipedReader.java,
8864         java/io/PushbackInputStream.java,
8865         java/io/PushbackReader.java,
8866         java/io/RandomAccessFile.java,
8867         java/io/SerializablePermission.java,
8868         java/io/StreamTokenizer.java,
8869         java/io/StringWriter.java,
8870         java/io/WriteAbortedException.java,
8871         java/io/Writer.java:
8872         Fixed javadocs all over, rename arguments to match javadocs,
8873         fixed coding style.
8874
8875 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8876
8877         * java/awt/FontMetrics.java:
8878         (charsWidth): fixed accumulation of total_width
8879         (getWidth): simple default implementation
8880         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8881         in Rectangle constructor.
8882         * java/awt/image/Raster.java (toString): Added method. 
8883         * java/awt/image/SampleModel.java (<init>): Added error cause
8884         information to thrown exception.
8885         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8886         New method.
8887         (setDataElements): New method.
8888         (setPixels): New method.
8889         (toString): New method.
8890
8891 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8892
8893         * java/awt/image/ComponentColorModel.java
8894         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8895         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8896         Mauve tests on this method. Improved documentation.
8897
8898 2004-04-20  Michael Koch  <konqueror@gmx.de>
8899
8900         * javax/swing/JLayeredPane.java,
8901         javax/swing/plaf/BorderUIResource.java,
8902         javax/swing/plaf/ComponentUI.java,
8903         javax/swing/undo/CompoundEdit.java,
8904         javax/swing/undo/StateEdit.java:
8905         Fixed HTML tags in javadocs all over.
8906
8907 2004-04-20  Michael Koch  <konqueror@gmx.de>
8908
8909         * javax/print/attribute/EnumSyntax.java
8910         (getOffset): Made protected.
8911         * javax/print/attribute/HashAttributeSet.java
8912         (HashAttributeSet): Likewise.
8913         * javax/print/attribute/ResolutionSyntax.java
8914         (getFeedResolution): Fixed typo in exception name.
8915         (getCrossFeedResolution): Likewise.
8916         * javax/print/attribute/SetOfIntegerSyntax.java
8917         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8918         * javax/print/attribute/TextSyntax.java
8919         (TextSyntax): Handle locale correctly.
8920         (hashCode): Calc better hashcode value.
8921         (equals): Fixed @return tag.
8922         (toString): New method.
8923
8924 2004-04-20  Michael Koch  <konqueror@gmx.de>
8925
8926         * gnu/java/nio/FileLockImpl.java
8927         (static): Removed, not needed anymore.
8928         * gnu/java/nio/channels/FileChannelImpl.java
8929         (FileChannelImpl): Made final.
8930         (mode): Made private.
8931         (READ, WRITE, APPEND): Made public.
8932         (EXCL, SYNC, DSYNC): Likewise.
8933         (static): Load native JNI library, when needed.
8934         (length): Unused, removed.
8935         (available): Made public.
8936         (implPosition): Throws IOException.
8937         (seek): Likewise.
8938         (implTruncate): Likewise.
8939         (unlock): Likewise.
8940         (lock): Likewise.
8941
8942 2004-04-20  Michael Koch  <konqueror@gmx.de>
8943
8944         * java/awt/AWTPermission.java,
8945         java/awt/Component.java,
8946         java/awt/ComponentOrientation.java,,
8947         java/awt/Dialog.java,
8948         java/awt/FontMetrics.java,
8949         java/awt/Graphics.java,
8950         java/awt/datatransfer/DataFlavor.java,
8951         java/beans/Introspector.java,
8952         java/beans/PropertyEditor.java,
8953         java/beans/PropertyEditorManager.java,
8954         java/beans/beancontext/BeanContextServiceProvider.java:
8955         Fixed HTML tags in javadocs all over.
8956
8957 2004-04-20  Mark Wielaard  <mark@klomp.org>
8958
8959         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8960         MissingResourceException is thrown.
8961         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8962         null when a MissingResourceException is thrown. Should never happen.
8963
8964 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8965
8966         * java/awt/image/DataBufferShort.java,
8967         java/awt/image/DataBufferFloat.java,
8968         java/awt/image/DataBufferDouble.java,
8969         java/awt/image/PixelInterleavedSampleModel.java: New files.
8970         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8971         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8972
8973 2004-04-20  Michael Koch  <konqueror@gmx.de>
8974
8975         * Makefile.am (java_source_files): Added
8976         java/awt/image/DataBufferDouble.java,
8977         java/awt/image/DataBufferFloat.java,
8978         java/awt/image/DataBufferShort.java and
8979         java/awt/image/PixelInterleavedSampleModel.java.
8980         * Makefile.in: Regenerated.
8981
8982 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8983  
8984         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8985         undocumented CNI calls.
8986         * include/java-interp.h (_Jv_InterpClass): No longer
8987         extends java.lang.Class.
8988         * java/lang/Class.h (Class): Add new field `aux_info'.
8989         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8990         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8991         Use Class->aux_info instead.
8992         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8993         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8994         Use Class->aux_info instead.
8995         * java/io/natObjectInputStream.cc (allocateObject): Use
8996         _Jv_AllocObject.
8997         * java/lang/natClass.cc (newInstance): Likewise.
8998         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8999         * java/lang/natObject.cc (clone): Likewise.
9000         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9001         * java/lang/natVMClassLoader.cc (defineClass): Don't use
9002         JvAllocObject. Allocate klass->aux_info here for interpreted
9003         class.
9004         
9005 2004-04-17  Mark Wielaard  <mark@klomp.org>
9006
9007         * javax/swing/JToggleButton.java (ToggleButtonModel):
9008         Make public static inner class.
9009         * javax/swing/JTabbedPane.java (setComponentAt):
9010         Call Page.setComponent().
9011         (SCROLL_TAB_LAYOUT): Make public, value is 1.
9012         (WRAP_TAB_LAYOUT): Make public, value is 0.
9013         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9014         Make private static inner class.
9015
9016 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
9017
9018         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9019         arguments to match new signature. Remove FIXME comments.
9020
9021 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
9022
9023         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9024         Remove method.
9025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9026         unused code.
9027
9028 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
9029
9030         * Makefile.am: Added new file.
9031         * Makefile.in: Regenerate.
9032         * javax/swing/ImageIcon.java: 
9033         (ImageIcon(file)): set description of the icon 
9034         to the file name
9035         * javax/swing/JCheckBoxMenuItem.java:
9036         Mostly Implemented. Work in progress.
9037         * javax/swing/JRadioButtonMenuItem.java:
9038         Reimplement constructors to use JToggleButtonModel.
9039         * javax/swing/plaf/basic/BasicIconFactory.java:
9040         (getCheckBoxMenuItemIcon): return check box
9041         icon.
9042         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9043         paint menu item selected only when it is armed and 
9044         pressed. 
9045  
9046 2004-04-02  David Jee  <djee@redhat.com>
9047
9048         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9049         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9050         * java/awt/Component.java
9051         (add): Set the parent of the popup as this component.
9052         * java/awt/PopupMenu.java
9053         (addNotify): Create popup menu when peer is null.
9054         (show): Call addNotify() if peer is null.
9055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9056         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9057         argument for gtk_menu_popup() as zero. This causes the popup menu to
9058         respond to any mouse button.
9059
9060 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
9061
9062         * Makefile.am: Added new file.
9063         * Makefile.in: Regenerate.
9064         * javax/swing/JRadioButtonMenuItem.java:
9065         Implemented.
9066         * javax/swing/plaf/basic/BasicIconFactory.java:
9067         (getRadioButtonMenuItemIcon): Return
9068         radio button icon.
9069         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9070         (getPreferredSize): Add size of checkIcon if it
9071         exists.
9072         (installDefaults): Don't initialize checkIcon.
9073         It's value will be set in subclasses. 
9074         (uninstallDefaults): remove uninstallation of 
9075         checkIcon.
9076         (paint): Moved code to paintMenuItem().
9077         (paintMenuItem): Implemented.
9078         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9079         UI delegate for JRadioButtonMenuItem.
9080         
9081 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9082
9083         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9084         Corrected position of the accelerator.
9085
9086 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9087
9088         * Makefile.am: Added new file. 
9089         * Makefile.in: Regenerate.
9090         * javax/swing/JMenuItem.java: Partly 
9091         implemented. Work in progress
9092         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9093         Changed default value of acceleratorDelimiter.
9094         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9095         New class. Partly implemented.
9096                 
9097 2004-03-26  Mark Wielaard  <mark@klomp.org>
9098
9099         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9100         (item_activate): Declare label before use.
9101         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9102         (gtkSetFont): Removed unused variable label.
9103         (addExposeFilter): Declare variables before use.
9104         (removeExposeFilter): Likewise.
9105         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9106         (ok_clicked): Declare str_fileName before use.
9107
9108 2004-03-26  David Jee  <djee@redhat.com>
9109
9110         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9111         (addSeparator): Remove.
9112         * java/awt/Menu.java
9113         (separator): Remove static final MenuItem field.
9114         (separatorLabel): New static final String field.
9115         (addSeparator): Do not use peer method; use add(MenuItem) instead.
9116         Use separatorLabel to denote that it is a separator.
9117         (insertSeparator): Create a new MenuItem with separatorLabel, instead
9118         of reusing the static separator instance, because a MenuItem instance
9119         can't be added more than once without being cloned.
9120         * java/awt/peer/MenuPeer.java
9121         (addSeparator): Remove from interface.
9122
9123 2004-03-26  David Jee  <djee@redhat.com>
9124
9125         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9126         (connectSignals): New native method declaration.
9127         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9128         * java/awt/MenuItem.java
9129         (getActionCommand): Return the label if the action command is not set.
9130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9131         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9132         gtk_menu_shell_append().
9133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9134         (item_activate): Fix argument type.
9135         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9136         signal here.
9137         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9138         method.
9139         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9140         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9141         given. Add the menu widget's top-level GtkWindow to the global window
9142         group, so it can grab the pointer.
9143         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9144         gtk_menu_shell_append().
9145
9146 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9147
9148         * java/text/AttributedString.java 
9149         (addAttribute): Fix off-by-one.
9150         (getIterator): Likewise.        
9151         * java/text/AttributedStringIterator.java 
9152         (getRunLimit): Correct logic.
9153         (getRunStart): Likewise.
9154         (getAttribute): Fix inequality.
9155         (getAttributes): Likewise.
9156         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9157
9158 2004-03-23  Kim Ho  <kho@redhat.com>
9159
9160         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9161         (calculateSizes): Return real width and height.
9162
9163 2004-03-23  Kim Ho  <kho@redhat.com>
9164
9165         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9166         (calculateTabRects): Set the selectedRun before
9167         trying to rotate tabs.
9168
9169 2004-03-23  Kim Ho  <kho@redhat.com>
9170
9171         * Makefile.am: New file
9172         * Makefile.in: Regenerate
9173         * java/awt/Graphics.java: (drawRect):
9174         Draw to the correct point.
9175         * javax/swing/DefaultSingleSelectionModel.java
9176         (isSelected): Return true if the selected index
9177         is not -1.
9178         * javax/swing/JLabel.java: Do not change mnemonic
9179         index if text is null.
9180         * javax/swing/JProgressBar.java: Use JComponent's
9181         EventListenerList.
9182         * javax/swing/JScrollBar.java: Ditto.
9183         * javax/swing/JSlider.java: Ditto.
9184         * javax/swing/JTabbedPane.java: Reimplement.
9185         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9186         Add defaults for TabbedPane.
9187         * javax/swing/plaf/basic/BasicArrowButton.java:
9188         Implement
9189         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9190         (paintDeterminate): Don't paint String if it's
9191         empty.
9192         (paintIndeterminate): ditto.
9193         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9194         Reimplement.
9195
9196 2004-03-19  Michael Koch  <konqueror@gmx.de>
9197
9198         * java/awt/image/AffineTransformOp.java
9199         (AffineTransformOp): Made public.
9200         * javax/swing/JComponent.java
9201         (listenerList): Made protected.
9202         (accessibleContext): Likewise.
9203         * javax/swing/JList.java
9204         (valueChanged): Dont use internal fields of ListSelectionEvent.
9205         * javax/swing/JViewport.java
9206         (getView): Dont use internal fields of Component.
9207         (addImpl): Likewise.
9208         * javax/swing/Timer.java
9209         (isRunning): Made public.
9210         (start): Likewise.
9211         (stop): Likewise.
9212         * javax/swing/UIDefaults.java
9213         (getInt): Made public.
9214         * javax/swing/plaf/basic/BasicListUI.java
9215         (mousePressed): Dont use internal fields of MouseEvent.
9216         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9217         * javax/swing/plaf/basic/BasicScrollBarUI.java
9218         (arrowIcon): Made static.
9219         * javax/swing/plaf/basic/BasicViewportUI.java
9220         (stateChanged): Dont use internal field on ChangeEvent.
9221         * javax/swing/text/JTextComponent.java
9222         (getUI): Call UIManager.getUI().
9223         (updateUI): Use getUI().
9224
9225 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9226
9227         * javax/swing/JComponent.java: Turn off double buffer by default.
9228         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9229         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9230         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9231         Use cairo to copy areas.
9232         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9233         Initialize and set clip region.
9234
9235 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9236
9237         * java/applet/Applet.java (preferredSize): Override deprecated
9238         variant of getPreferredSize.
9239         (minimumSize): Override deprecated variant of getMinimumSize.
9240
9241 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9242
9243         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9244         (drawImage(img,xform,bgcolor,obs)): New Method.
9245         Helper function that every drawImage method will
9246         use.
9247         (drawRaster): Added new parameter, bgcolor. All
9248         transparent pixels are changed to bgcolor before 
9249         image is drawn.
9250         (drawRenderedImage): Fixed to use changed drawRaster().
9251         (drawImage(image,xform,obs): Fixed to use new helper function 
9252         (drawImage(image,op,x,y)): Ditto.
9253         (drawImage (img,x,y,observer)): Ditto.
9254         ((PainterThread) bgcolor): New Field.
9255         ((PainterThread) (setPixels)): Changed all transparent pixels 
9256         to bgcolor.     
9257         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9258         Fixed FIXME - all the transparent pixels are 
9259         changed to the specified bgcolor. 
9260         (drawImage(img, x, y, width, height, observer): Changed to 
9261         use function above.
9262         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9263         Fixed FIXME- changed all transparent pixels to bgcolor.
9264         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9265         Changed to use function above. 
9266
9267 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9268
9269         * java/applet/Applet.java (dimensions): New field.
9270         (getDimensions): New method.
9271         (getPreferredSize): Call getDimensions.
9272         (getMinimumSize): Likewise.
9273
9274 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9275
9276         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9277         * jni/classpath/jnilink.c: Likewise.
9278
9279         * java/applet/Applet.java (getPreferredSize): New method.
9280         (getMinimumSize): New method.
9281
9282 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9283
9284         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9285         (_Jv_AllocObjectNoFinalizer): Likewise.
9286         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9287         (_Jv_AllocPtrFreeObject): Likewise.
9288         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9289         directly even in the JVMPI case.        
9290         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9291         _Jv_AllocObject calls.
9292         * gcj/javaprims.h: Update prototypes.
9293         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9294         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9295         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9296
9297 2004-04-14  Andrew Haley  <aph@redhat.com>
9298             Bryce McKinlay  <mckinlay@redhat.com>
9299
9300         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9301         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9302         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9303
9304         * testsuite/libjava.lang/InvokeInterface.java: New file.
9305         * testsuite/libjava.lang/InvokeInterface.out: New file.
9306
9307 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9308         
9309         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9310         modified lookup().
9311         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9312         StackTraceElement directly.
9313         (newElement): New native helper method to create StackTraceElement
9314         bypassing Java access control.
9315         (createStackTraceElement): Use newElement() instead of directly
9316         calling StackTraceElement's constructor.
9317         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9318
9319 2004-04-01  Michael Koch  <konqueror@gmx.de>
9320
9321         * java/lang/SecurityManager.java
9322         (checkAwtEventQueueAccess): Implemented.
9323
9324 2004-04-01  Gary Benson  <gbenson@redhat.com>
9325
9326         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9327         (_Jv_SearchMethodInClass): Likewise.
9328
9329 2004-03-26  Peter Moon  <peterm@miraculum.com>
9330
9331         * java/text/NumberFormat.java: Fix spelling of setCurrency
9332         method.
9333
9334 2004-03-21  Anthony Green  <green@redhat.com>
9335
9336         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9337         recursion when searching for the system ClassLoader.
9338
9339 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9340
9341         * java/net/ServerSocket.java
9342         (accept): Close the socket when error occured.
9343
9344 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9345
9346         * java/net/URI.java (parseURI): Added unquoting.
9347         (unquote): New method.
9348         (quoteAuthority): Implemented.
9349         (quote(String,String)): New method.
9350         (quotePath): Implemented.
9351         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9352         (getSchemeSpecificPart): Removed FIXME comment.
9353         (getRawAuthority): Return new rawAuthority field.
9354         (getAuthority): Removed FIXME comment.
9355         (getRawUserInfo): Return new rawUserInfo field.
9356         (getUserInfo): Removed FIXME comment.
9357         (getRawPath): Return new rawPath field.
9358         (getPath): Removed FIXME comment.
9359         (getRawQuery): Return new rawQuery field.
9360         (getQuery): Removed FIXME comment.
9361         (getRawFragment): Return new rawFragment field.
9362         (getFragment): Removed FIXME comment.
9363
9364 2004-03-20  Michael Koch  <konqueror@gmx.de>
9365
9366         * java/net/URLConnection.java: Merged copyright year with classpath.
9367
9368 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9369
9370         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9371         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9372         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9373         rmi-message.
9374         (getObjectInputStream): Return object reference, throw IOException if null.
9375         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9376         (getObjectOutputStream): Return object reference, throw IOException if null.
9377         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9378         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9379         (UnicastConnectionManager): Throw RemoteException if port is not available.
9380         (getInstance): Throw RemoteException.
9381         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9382         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9383         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9384         Collect Exceptions which are returned by a rmi-call and fix void returns.
9385         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9386         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9387         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9388         (dispatch): Answer ping messages which are sent by other java implementions.
9389         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9390         for every rmi-message and fix void return problems.
9391         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9392         (UnicastServerRef): Throw RemoteException.
9393         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9394         In some situations it is necessary to export a subclass of the class which has the _Stub.
9395         For instance when the class with has the _Stub is abstract.
9396         (findStubSkelClass): New method which looks for the class which has the _Stub.
9397         (getClientHost): Implementated.
9398         * gcc/libjava/java/rmi/server/RemoteServer.java
9399         (getClientHost): Implementated.
9400         * gcc/libjava/Makefile.am (rmi_java_source_files):
9401         Added gnu/java/rmi/server/RMIIncomingThread.java.
9402         * Makefile.in: Regenerated.
9403
9404 2004-03-20  Michael Koch  <konqueror@gmx.de>
9405
9406         * java/net/InetAddress.java
9407         (getLocalHostname): Added javadoc.
9408
9409 2004-03-19  Per Bothner  <per@bothner.com>
9410
9411         * configure.in: FILE variable  overrides FLATFORM when linking
9412         natFileChannelXXX.cc.
9413
9414         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9415         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9416
9417 2004-03-19  Per Bothner  <per@bothner.com>
9418
9419         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9420         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9421         * Makefile.am:  Update accordingly.
9422         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9423         as aliases for UnicodeLittle and UnicodeBig.
9424
9425 2004-03-20  Mark Wielaard  <mark@klomp.org>
9426
9427         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9428         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9429         Don't access ws when it is null.
9430         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9431         Likewise.
9432
9433 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9434
9435         * java/lang/ThreadGroup.java (list): Changed print to println.
9436
9437 2004-03-19  Mark Wielaard  <mark@klomp.org>
9438
9439         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9440         happy.
9441
9442 2004-02-10  Randolph Chung  <tausq@debian.org>
9443  
9444         * configure.in: Build java for hppa target.
9445         * configure: Regenerate.
9446         * libjava/configure.host (hppa-*): Add target.
9447         * libjava/sysdeps/pa/lock.h: New file.
9448
9449 2004-03-19  Mark Wielaard  <mark@klomp.org>
9450
9451         Reported by Stephen Crawley
9452         * java/io/FilePermission.java (implies): Use String.length() -1 to
9453         access last char of String.
9454
9455 2004-03-19  Michael Koch  <konqueror@gmx.de>
9456
9457         * java/awt/image/AffineTransformOp.java
9458         (AffineTransformOp): Made public.
9459         * javax/swing/JComponent.java
9460         (listenerList): Made protected.
9461         (accessibleContext): Likewise.
9462         * javax/swing/JList.java
9463         (valueChanged): Dont use internal fields of ListSelectionEvent.
9464         * javax/swing/JViewport.java
9465         (getView): Dont use internal fields of Component.
9466         (addImpl): Likewise.
9467         * javax/swing/Timer.java
9468         (isRunning): Made public.
9469         (start): Likewise.
9470         (stop): Likewise.
9471         * javax/swing/UIDefaults.java
9472         (getInt): Made public.
9473         * javax/swing/plaf/basic/BasicListUI.java
9474         (mousePressed): Dont use internal fields of MouseEvent.
9475         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9476         * javax/swing/plaf/basic/BasicScrollBarUI.java
9477         (arrowIcon): Made static.
9478         * javax/swing/plaf/basic/BasicViewportUI.java
9479         (stateChanged): Dont use internal field on ChangeEvent.
9480         * javax/swing/text/JTextComponent.java
9481         (getUI): Call UIManager.getUI().
9482         (updateUI): Use getUI().
9483
9484 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9485
9486         * verify.cc: Undef PC.
9487
9488 2004-03-18  Michael Koch  <konqueror@gmx.de>
9489
9490         * java/nio/channels/spi/AbstractSelectableChannel.java
9491         (keys): Initialize at declaration.
9492         (locate): keys cant be null.
9493         (add): Removed.
9494         (addSelectionKey): New method.
9495         (removeSelectionKey): New method.
9496         * java/nio/channels/spi/AbstractSelectionKey.java
9497         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9498         * java/nio/channels/spi/AbstractSelector.java
9499         (provider): Javadoc added.
9500         (cancelledKeys): Javadoc added.
9501         (cancelKey): Javadoc added, add key to cancelledKeys.
9502         (deregister): Implemented.
9503
9504 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9505
9506         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9507         MAP_FAILED to void *.
9508
9509 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9510
9511         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9512         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9513         * javax/swing/JList.java (ListListener): Revalidate on changes.
9514         * javax/swing/JScrollPane.java: Reimplement.
9515         * javax/swing/JViewport.java: Reimplement.
9516         * javax/swing/ScrollPaneLayout.java: Reimplement.
9517         * javax/swing/ViewportLayout.java: Tidy up.
9518         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9519         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9520         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9521         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9522         backing store only.
9523
9524 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9525
9526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9527         (window_wm_protocols_filter): New function.
9528         (window_focus_in_cb): Remove function.
9529         (window_focus_out_cb): Likewise.
9530         (window_focus_or_active_state_change_cb): New function.
9531         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9532         (connectSignals): Don't attach handlers to focus-in-event or
9533         focus-out-event signals.  Handle notify signal.
9534
9535 2004-03-11  David Jee  <djee@redhat.com>
9536
9537         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9538         (gtkSetLabel): New native method declaration.
9539         (setLabel): Use gtkSetLabel.
9540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9541         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9542
9543 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9544
9545         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9546         black when color argument is null.
9547
9548 2004-03-10  Kim Ho  <kho@redhat.com>
9549
9550         * java/awt/Container.java: Remove check
9551         for drag events.
9552
9553 2004-03-10  Kim Ho  <kho@redhat.com>
9554
9555         * java/awt/Container.java: (visitChild):
9556         Remove candidate clip. Use the component
9557         clip to intersect.
9558         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9559         (handleEvent): Use the PaintEvent's clip.
9560
9561 2004-03-10  Kim Ho  <kho@redhat.com>
9562
9563         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9564         (handleEvent): Don't set the clip for the
9565         Graphics object.
9566
9567 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9568
9569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9570         Fix double <-> fixed macros, reset font transform.
9571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9572         Likewise.
9573
9574 2004-03-09  Kim Ho  <kho@redhat.com>
9575
9576         * java/awt/Container.java: (visitChild): Move
9577         the x and y coordinate of the component rectangle
9578         to correct position.
9579         (handleEvent): Forward drag events to the pressed
9580         component.
9581         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9582         Fix comments.
9583         (ArrowButtonListener::mousePressed): Stop the
9584         existing timer.
9585         (mouseDragged): Implement.
9586         (TrackListener::mousePressed): Only react if
9587         the press doesn't occur on the thumb, otherwise
9588         just set the offset.
9589         (TrackListener::mouseReleased): Unset the isAdjusting
9590         value.
9591         (createIncreaseIcon): Switch icon.
9592         (createDecreaseIcon): Switch icon.
9593         (calculatePreferredSize): Use width.
9594         (getThumbBounds): Use the top as the lower value.
9595         (layoutVScrollBar): Switch the button locations.
9596         (paintIncreaseHighlight): Paint correct side of thumb.
9597         (paintDecreaseHighlight): ditto.
9598         (valueForYPosition): Use top as the lower value.
9599         * javax/swing/plaf/basic/BasicSliderUI.java:
9600         Fix comments.
9601         (mouseDragged): Implement.
9602         (mousePressed): Only react when the thumb isn't
9603         pressed, otherwise just set offset.
9604         (mouseReleased): Handle a release of the thumb.
9605         (scrollDueToClickInTrack): Stop the timer first.
9606         * javax/swing/JProgressBar.java:
9607         (setString): Fix change condition.
9608         * javax/swing/JSeparator.java:
9609         Remove println's.
9610
9611 2004-03-08  David Jee  <djee@redhat.com>
9612
9613         * java/awt/image/AffineTransformOp.java:
9614         (filter): Use Graphics2D interface instead of directly using the
9615         GdkGraphics2D peer.
9616
9617 2004-03-05  David Jee  <djee@redhat.com>
9618
9619         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9620         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9621         * java/awt/Container.java
9622         (acquireComponentForMouseEvent): Fixed.
9623         (handleEvent): Fixed.
9624         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9625         (state_to_awt_mods_with_button_states): New method.
9626         (pre_event_handler): Fixed mouse event generation.
9627
9628 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9629
9630         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9631         (GdkGraphics2D (BufferedImage)): Initialize
9632         pixmap associated with specified BufferedImage.
9633         (setPaint): Changed implementation of Texture
9634         Paint to use AffineTransformOp.
9635         * java/awt/image/AffineTransformOp.java
9636         (createCompatibleDestRaster): Throw RasterFormatException 
9637         if resulting width or height of raster is 0.
9638
9639 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9640
9641         * java/awt/image/AffineTransformOp.java:
9642         Removed unnecessary field interpolationType.
9643         Formatted some of the lines to be consistent with 
9644         the GNU style.
9645         (AffineTransformOp): Create new RenderingHints 
9646         containing specified interpolation type.
9647         (createCompatibleDestImage): Implemented.
9648         (createCompatibleDestRaster): Implemented.
9649         (filter): Implemented.
9650         (getBounds2D(BufferedImage)): Implemented.
9651         (getBounds2D(Raster)): Implemented.
9652         (getInterpolationType): Get interpolation value from 
9653         rendering hints.
9654
9655 2004-03-04  David Jee  <djee@redhat.com>
9656
9657         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9658         (setFont): Check if child peers are null.
9659
9660 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9661
9662         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9663         .libs in -L option.
9664         (libjava_arguments): Add new libraries to argument list.
9665
9666 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9667
9668         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9669         * Makefile.in: Re-generated.
9670         * java/awt/image/AffineTransformOp.java: New Class.
9671
9672 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9673
9674         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9675         (setPaint): Interpret correctly TexturePaint's
9676         anchor rectangle.
9677         (drawImage): Fixed scale factors of the affine
9678         transform.
9679
9680 2004-02-27  David Jee  <djee@redhat.com>
9681
9682         * gnu/java/awt/peer/gtk/GdkGraphics.java
9683         (GdkGraphics(Component)): Inherit font from component.
9684         (drawString): Use font style.
9685         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9686         (gtkSetFont): New native method declaration.
9687         (setFont): New method.
9688         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9689         (gtkSetFont): New native method declaration.
9690         (setFont): Call new native method gtkSetFont.
9691         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9692         (setFont): For all child components who do not their fonts set,
9693         set their peers' fonts with this container's font.
9694         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9695         Move all native method declarations to the top for readability.
9696         (gtkSetFont): New native method declaration.
9697         (setFont): New method.
9698         * java/awt/Component.java
9699         (setFont): Invalidate after setting the font.
9700         * java/awt/Container.java
9701         (invalidateTree): New method.
9702         (setFont): Invalidate the container tree after setting the font.
9703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9704         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9705         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9706         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9708         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9710         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9711
9712 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9713
9714         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9715         (updateBufferedImage): New helper function.
9716         Updates BufferedImage in memory if it was changed.
9717         (draw): changed to update BufferedImage in memory after
9718         this drawing operation
9719         (fill): Ditto.
9720         (draw3DRect): Ditto.
9721         (fill3DRect): Ditto.
9722         (clearRect): Ditto.
9723         (drawRaster): Ditto.
9724         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9725         no affine transformation.
9726         (drawGlyphVector): Ditto.
9727
9728 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9729
9730         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9731         (isBufferedImageGraphics): New Helper function. 
9732         Returns true if this graphics2d can be used to draw 
9733         into buffered image and false otherwise.
9734         (updateImagePixels): New Helper function. 
9735         Updates pixels in the BufferedImage.
9736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9737         (getImagePixels): New function. Returns pixels
9738         of the buffered image associated with 
9739         this Graphics2D.
9740
9741 2004-02-26  David Jee  <djee@redhat.com>
9742
9743         * java/awt/BorderLayout.java
9744         (layoutContainer): Fix width and height calculations to ensure
9745         that they're non-negative.
9746         * java/awt/Component.java
9747         (setBackground): If c is null, inherit from closest ancestor whose
9748         background color is set.
9749
9750 2004-02-26  Kim Ho  <kho@redhat.com>
9751
9752         * Makefile.am: Add new files.
9753         * Makefile.in: Re-generate.
9754         * javax/swing/JProgressBar.java: 
9755         (JProgressBar(int, int int)): Throw
9756         IllegalArgumentException if orientation is
9757         invalid.
9758         (JProgressBar(BoundedRangeModel)): Create
9759         ChangeListener and register it. UpdateUI.
9760         (getChangeListeners): Implement.
9761         (setModel): Reset ChangeListener.
9762         * javax/swing/JScrollBar.java: Implement.
9763         * javax/swing/JSeparator.java: Implement.
9764         * javax/swing/JSlider.java:
9765         (JSlider(int, int, int, int)): Throw 
9766         IllegalArgumentException if orientation
9767         is invalid.
9768         (getChangeListeners): Fix method name.
9769         * javax/swing/SwingUtilities.java:
9770         (layoutCompoundLabel): If there is no text,
9771         set the text rectangle dimensions to 0.
9772         * javax/swing/plaf/basic/BasicButtonUI.java:
9773         (paint): If there is no text, don't paint it.
9774         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9775         Implement.
9776         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9777         Implement.
9778         * javax/swing/plaf/basic/BasicSliderUI.java: 
9779         (propertyChange): If the model changes, change
9780         the listeners accordingly.
9781
9782 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9783
9784         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9785         * javax/swing/JList.java: Reimplement.
9786         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9787         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9788         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9789         * javax/swing/ListModel.java: Javadoc.
9790         * javax/swing/ListSelectionModel.java: Add missing methods.
9791         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9792         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9793         * javax/swing/ListModel.java: Javadoc and corrections.
9794         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9795
9796 2004-02-25  David Jee  <djee@redhat.com>
9797
9798         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9799         (GtkFontPeer): Change default size to 12.
9800         * gnu/java/awt/peer/gtk/GtkToolkit.java
9801         (getFontPeer): Change default size to 12.
9802         (getClasspathFontPeer): Likewise. Set default name to "Default".
9803         * java/awt/Font.java
9804         (Font(Map)): Call Font(String,Map).
9805         (Font(String,Map)): If attrs is null, initialize it as an empty
9806         HashMap, which will ensure that the Font will get default attributes.
9807
9808 2004-02-25  David Jee  <djee@redhat.com>
9809
9810         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9811         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9812         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9813         * gnu/java/awt/peer/gtk/GtkToolkit.java
9814         (getFontPeer(String,int)): Call the new overload method with size 1.
9815         (getFontPeer(String,int,int)): New method. Overloaded with size
9816         attribute.
9817         (getClasspathFontPeer): Set the size of the font.
9818
9819 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9820
9821         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9822         (bimage): New field.
9823         (GdkGraphics2D): New Constructor. Constructs Graphics
9824         object that can be used to draw into the Buffered Image.
9825         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9826         (GdkGraphicsEnvironment): Fixed to include public 
9827         keyword.
9828         (createGraphics): Implemented.
9829         * gnu/java/awt/peer/gtk/GtkToolkit.java
9830         (getLocalGraphicsEnvironment): Implemented.
9831         * java/awt/GraphicsEnvironment.java:
9832         (getLocalGraphicsEnvironment): Implemented.
9833         * java/awt/image/BufferedImage.java:
9834         (createGraphics): Implemented.
9835                 
9836 2004-02-24  David Jee  <djee@redhat.com>
9837
9838         * java/awt/Component.java
9839         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9840         * java/awt/Container.java
9841         (addNotifyContainerChildren): Fix event enabling.
9842
9843 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9844
9845         * Makefile.am: Added 
9846         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9847         * Makefile.in: Re-generated.
9848         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9849         New Class. 
9850         
9851 2004-02-19  Kim Ho  <kho@redhat.com>
9852
9853         * Makefile.am: Add BasicProgressBarUI
9854         * Makefile.in: Regenerate.
9855         * javax/swing/JProgressBar.java: 
9856         Re-implement.
9857         * javax/swing/plaf/basic/BasicLookAndFeel.java
9858         Add constants for JProgressBar.
9859         * javax/swing/plaf/basic/BasicProgressBarUI.java
9860         Implement.
9861         * javax/swing/plaf/basic/BasicSliderUI.java
9862         Change comments.
9863         (calculateGeometry): New method
9864         (paint): Remove unnecessary size calculations.
9865
9866 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9867
9868         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9869         (drawRaster): Fixed small error that caused
9870         imageToUser transformation to be set incorrectly.
9871         (toString): Implemented.
9872
9873 2004-02-18  David Jee  <djee@redhat.com>
9874
9875         * java/awt/CardLayout.java
9876         (addLayoutComponent): Show the first component added as the default.
9877         (removeLayoutComponent): After removing, show the next component.
9878         (gotoComponent): If there is only one component, show it and return.
9879
9880 2004-02-18  Kim Ho  <kho@redhat.com>
9881
9882         * javax/swing/JSlider.java: Re-order
9883         modifiers.
9884         * javax/swing/JLabel.java: Re-order
9885         modifiers.
9886         * javax/swing/JComponent.java: 
9887         (addPropertyChangeListener):
9888         Implement.
9889         (removePropertyChangeListener):
9890         ditto.
9891         (firePropertyChangeEvent):
9892         ditto.
9893
9894 2004-02-17  David Jee  <djee@redhat.com>
9895
9896         * java/awt/Component.java
9897         (show): Dispatch ComponentEvent via system event queue.
9898         (hide): Likewise.
9899         (move): Likewise.
9900         (resize): Likewise.
9901         (reshape): Likewise.
9902         * java/awt/Window.java
9903         (setBoundsCallback): Likewise.
9904
9905 2004-02-17  David Jee  <djee@redhat.com>
9906
9907         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9908         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9909         Use gtk_widget_set_size_request() instead of the deprecated
9910         gtk_widget_set_usize().
9911
9912 2004-02-17  Kim Ho  <kho@redhat.com>
9913
9914         * javax/swing/JSlider.java: Fix comments and
9915         make property strings constants.
9916         (createStandardLabels): Use the labels
9917         preferred size as bounds.
9918         * javax/swing/plaf/basic/BasicSliderUI.java
9919         Fix comments.
9920         (ScrollHandler::actionPerformed): Don't
9921         calculate the timer stop value. Let the
9922         MouseListeners find the stop location.
9923         (getPreferredHorizontalSize): Re-implement.
9924         (getPreferredVerticalSize): ditto.
9925         (getMinimumHorizontalSize): ditto.
9926         (getMinimumVerticalSize): ditto.
9927         (getPreferredSize): ditto.
9928         (getMinimumSize): ditto.
9929         (getMaximumSize): ditto.
9930         (paintTicks): Use doubles to find the
9931         tick location.
9932         (paintHorizontalLabel):  Use preferredSize
9933         as initial width and height.
9934         (paintVerticalLabel): ditto.
9935
9936 2004-02-17  Kim Ho  <kho@redhat.com>
9937
9938         * javax/swing/JLabel.java: Changed 
9939         property strings to constants.
9940         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9941         New property.
9942         (setText): Change mnemonic index if
9943         text is too short.
9944         (setDisplayedMnemonicIndex): Fire property
9945         change event.
9946         (getDisplayedMnemonicIndex): Remove check
9947         against short text.
9948
9949 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9950
9951         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9952         (drawImage(img,xform,obs)): Invert xform before
9953         passing the xform to cairo.
9954         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9955         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9956         implemented.
9957         (drawImage (img,x,y,w,h,obs)): Implemented.
9958         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9959         bgcolor,obs)): Partly implemented.
9960         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9961         Implemented.
9962         * java/awt/image/BufferedImage.java:
9963         (copyData): if dest is null, create raster with same
9964         dimensions as the current image.
9965
9966 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9967
9968         * javax/swing/plaf/basic/BasicLabelUI.java 
9969         (getPreferredSize): Use layoutCL.
9970         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9971         (getPreferredButtonSize): Start with empty view rect, layout using
9972         component's preferred alignment.
9973         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9974         List defaults.
9975
9976 2004-02-16  David Jee  <djee@redhat.com>
9977
9978         * java/awt/Component.java
9979         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9980         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9981         (move): Erase old bounds and repaint new bounds. Dispatch
9982         COMPONENT_MOVED ComponentEvent.
9983         (resize): Erase old bounds and repaint new bounds. Dispatch
9984         COMPONENT_RESIZED ComponentEvent.
9985         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9986         ComponentEvents.
9987         * java/awt/Window.java
9988         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9989         ComponentEvents.
9990
9991 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9992
9993         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9994         (setRenderingHint): Added implementation of 
9995         Interpolation rendering hints.
9996         (setRenderingHints): Ditto.
9997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9998         (drawPixels): fixed to allow user to choose type 
9999         of filtering that should be used when displaying images.
10000         (cairoSurfaceSetFilter): New method. Sets filter type for 
10001         interpolation of pixel values.
10002
10003 2004-02-16  David Jee  <djee@redhat.com>
10004
10005         * java/awt/GridBagLayout.java
10006         (calcCellSizes): Rows or columns with zero sizes should still be
10007         considered for extra space distribution.
10008
10009 2004-02-16  Kim Ho  <kho@redhat.com>
10010
10011         * javax/swing/JLabel.java: Re-implement.
10012         * javax/swing/plaf/basic/BasicLabelUI.java
10013         Re-implement.
10014         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10015         Added constant.
10016
10017 2004-02-16  Kim Ho  <kho@redhat.com>
10018
10019         * javax/swing/JSlider.java: Fix indentation and comments.
10020         (setModel): Remove null check to conform with Sun's.
10021         (setOrientation): Throw exception if not
10022         HORIZONTAL or VERTICAL.
10023         (getInverted): Use private variable instead of 
10024         ComponentOrientation.
10025         (setInverted): ditto.
10026         * javax/swing/plaf/basic/BasicSliderUI.java:
10027         Fix indentation and comments.
10028         (propertyChange): Remove check for inverted slider, handle
10029         in main paint.
10030         (getMinimumSize): Return preferred size.
10031         (getMaximumSize): ditto.
10032         (calculateFocusRect): Don't relocate rectangle.
10033         (drawInverted): Return XOR of the slider's inversion and 
10034         the component's orientation.
10035         (paint): Update leftToRightCache
10036
10037 2004-02-13  David Jee  <djee@redhat.com>
10038
10039         * java/awt/GridBagLayout.java
10040         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10041         code to helper methods.
10042         (sortBySpan): New helper method.
10043         (distributeSizeAndWeight): Likewise.
10044         (calcCellWeights): Likewise.
10045         (calcCellSizes): Add comments.
10046
10047 2004-02-13  David Jee  <djee@redhat.com>
10048
10049         * java/awt/Component.java
10050         (show): Only do something if component is invisible at the moment.
10051         (hide): Only do something if component is visible at the moment.
10052         (reshape): If lightweight, erase old bounds and repaint new bounds.
10053
10054 2004-02-13  Kim Ho  <kho@redhat.com>
10055
10056         * Makefile.am: Updated for new file.
10057         * Makefile.in: Regenerated.
10058         * javax/swing/JSlider.java: Reimplement.
10059         * javax/swing/SwingUtilities.java
10060         (layoutCompoundLabel): Use icon height
10061         instead of width.
10062         (paintComponent): Implement.
10063         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10064         Add JSlider defaults.
10065         * javax/swing/plaf/basic/BasicSliderUI.java:
10066         Implement. New file.
10067
10068 2004-03-17  Michael Koch  <konqueror@gmx.de>
10069
10070         * gnu/java/net/PlainDatagramSocketImpl.java
10071         (RECEIVE_LOCK): New member field.
10072         (SEND_LOCK): New member field.
10073         (send0): New method.
10074         (send): Synchronize on SEND_LOCK.
10075         (receive0): New method.
10076         (receive): Synchronize on RECEIVE_LOCK.
10077         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10078         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10079         gnu/java/net/natPlainDatagramSocketImplWin32.cc
10080         (send0): Renamed from send.
10081         (receive0): Renamed from receive.
10082 2004-03-17  Michael Koch  <konqueror@gmx.de>
10083
10084         * gnu/java/net/natPlainSocketImplPosix.cc
10085         (write): Just call write(jbyteArray, offset, len).
10086         (read): Just call read(jbyteArray, offset, len).
10087
10088 2004-03-16  Michael Koch  <konqueror@gmx.de>
10089
10090         * javax/swing/JTabbedPane.java
10091         (serialVersionUID): New field.
10092
10093 2004-03-16  Norbert Frese  <postfach@nfrese.net>
10094
10095         * java/net/InetAddress.java
10096         (getByName): Handle hostname == "" case.
10097
10098 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
10099
10100         Reported by: Adam Heath <doogie@debian.org>
10101         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10102         class loader.
10103
10104 2004-03-15  Michael Koch  <konqueror@gmx.de>
10105
10106         * java/util/Locale.java: Reverting my last patch
10107         and add a comment why the original version was okay.
10108
10109 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
10110
10111         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10112         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10113         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10114         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10115
10116 2004-03-12  Michael Koch  <konqueror@gmx.de>
10117
10118         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10119
10120 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10121
10122         * java/net/URI.java (toURL): Implemented.
10123
10124 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10125
10126         * java/net/URI.java
10127         (URI_REGEXP) updated to contain scheme specific part.
10128         (SCHEME_SPEC_PART_GROUP) new constant.
10129         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10130         updated to make room for SCHEME_SPEC_PART_GROUP.
10131         (parseURI) parse scheme specific part.
10132         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10133         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10134         getQuery, getFragment) implemented.
10135
10136 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10137
10138         * libraries/javalib/java/net/URI.java
10139         partially implemented using java.util.regex.
10140         (URI_REGEXP) new constant. Used to parse URIs.
10141         (SCHEME_GROUP) new constant representing index of scheme group
10142         in parsed URI.
10143         (AUTHORITY_GROUP) new constant representing index of authority
10144         group in parsed URI.
10145         (PATH_GROUP) new constant representing index of path group in
10146         parsed URI.
10147         (QUERY_GROUP) new constant representing index of query group in
10148         parsed URI.
10149         (FRAGMENT_GROUP) new constant representing index of fragment
10150         group in parsed URI.
10151         (getURIGroup) new static utility method.
10152         (parseURI) implemented.
10153         (quote) stub for new static utility method.
10154         (quoteAuthority) stub for new static utility method.
10155         (quoteHost) stub for new static utility method.
10156         (quotePath) stub for new static utility method.
10157         (quoteUserInfo) stub for new static utility method.
10158         (URI) implemented.
10159         (create) don't throw URISyntaxException. Implemented.
10160         (toString) implemented.
10161
10162 2004-03-12  Michael Koch  <konqueror@gmx.de>
10163
10164         * java/net/HttpURLConnection.java
10165         (getResponseCode): Fix another typo in javadoc.
10166
10167 2004-03-11  Michael Koch  <konqueror@gmx.de>
10168
10169         * java/util/logging/Level.java
10170         (parse): Use String.equals() instead of ==.
10171
10172 2004-03-11  Michael Koch  <konqueror@gmx.de>
10173
10174         * gnu/java/net/protocol/jar/Connection.java
10175         (getContentLength): New method.
10176
10177 2004-03-11  Michael Koch  <konqueror@gmx.de>
10178
10179         * gnu/java/net/PlainSocketImpl.java:
10180         Reformated to merge better with classpath's version.
10181
10182 2004-03-11  Michael Koch  <konqueror@gmx.de>
10183
10184         * java/util/Locale.java
10185         (getISO3Language): Use String.equals() instead of ==.
10186         (getISO3Country): Likewise.
10187
10188 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10189
10190         * java/text/AttributedString.java
10191         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10192         Use HashMap instead of Hashtable since value can be null, and
10193         you can not store a null value in a Hashtable.
10194
10195 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10196
10197         * java/text/AttributedStringIterator.java
10198         (getAllAttributesKey): Return only keys concerned
10199         by the current iterator.
10200         (getAttributes): Use strict inequality for
10201         end_index. 
10202
10203 2004-03-11  Michael Koch  <konqueror@gmx.de>
10204
10205         * java/net/HttpURLConnection.java:
10206         Fixed typo in javadoc.
10207
10208 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10209
10210         * java/io/BufferedInputStream.java (marktarget): New field for max
10211         mark limit.
10212         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10213         (mark): Use new fields.
10214         (read): Likewise.
10215         (read(byte[],int,int)): Likewise.
10216         (skip): Likewise.
10217         (refill): Likewise.
10218
10219 2004-03-11  Mark Wielaard  <mark@klomp.org>
10220
10221         * java/beans/BeanDescriptor.java (BeanDescriptor):
10222         Set the FeatureDescriptor programmatic name.
10223
10224 2004-03-11  Michael Koch  <konqueror@gmx.de>
10225
10226         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10227         This file was was just copied form java/io/natFileDescriptorEcos.cc
10228         and never changed to compile correctly.
10229
10230 2004-03-11  Michael Koch  <konqueror@gmx.de>
10231
10232         * gnu/java/nio/PipeImpl.java
10233         (SourceChannelImpl): Made final.
10234         (read): Implemented.
10235         (SinkChannelImpl): Made final.
10236         (write): Implemented.
10237
10238 2004-03-11  Michael Koch  <konqueror@gmx.de>
10239
10240         * gnu/java/net/PlainDatagramSocketImpl.java:
10241         Reformated to match classpath's version more.
10242
10243 2004-03-11  Michael Koch  <konqueror@gmx.de>
10244
10245         * gnu/java/awt/peer/ClasspathFontPeer.java:
10246         Fixed javadoc to be correct xhtml.
10247         * gnu/java/awt/peer/gtk/GtkArgList.java
10248         (add): Use Boolean.valueOf() instead of new Boolean().
10249
10250 2004-03-09  Michael Koch  <konqueror@gmx.de>
10251
10252         * java/lang/Thread.java
10253         (runnable): Moved around.
10254         (daemon): Renamed from daemon_flag.
10255         (contextClassLoader): Renamed from context_class_loader.
10256         (Thread): Reordered constructors.
10257         (activeCount): Use group directly.
10258         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10259         (holdsLock): Reworked javadoc.
10260         (setDaemon): Reworked.
10261         * java/lang/natThread.cc
10262         (destroy): Removed.
10263
10264 2004-03-08  Anthony Green  <green@redhat.com>
10265
10266         * Makefile.am: Build property resource files into libgcj.
10267         * Makefile.in: Rebuilt.
10268         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10269         java/util/regex/PatternSyntaxException.java,
10270         gnu/regexp/CharIndexed.java,
10271         gnu/regexp/CharIndexedCharArray.java,
10272         gnu/regexp/CharIndexedInputStream.java,
10273         gnu/regexp/CharIndexedReader.java,
10274         gnu/regexp/CharIndexedString.java,
10275         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10276         gnu/regexp/REException.java,
10277         gnu/regexp/REFilterInputStream.java,
10278         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10279         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10280         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10281         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10282         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10283         gnu/regexp/RETokenLookAhead.java,
10284         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10285         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10286         gnu/regexp/RETokenStart.java,
10287         gnu/regexp/RETokenWordBoundary.java,
10288         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10289
10290 2004-03-03  Per Bothner  <per@bothner.com>
10291
10292         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10293         Optimize when argument is a FileChannelImpl.
10294         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10295         New native methods.
10296         * java/nio/channels/natChannels.cc:  New file for new native methods.
10297         * Makefile.am:  Update accordingly.
10298
10299 2004-03-02  Jan Hubicka  <jh@suse.cz>
10300
10301         * configure.host: Pass -fno-omit-frame-pointer for i386.
10302         * configure.in: Likewise.
10303         * configure: Regenerate.
10304
10305 2004-03-01  Per Bothner  <per@bothner.com>
10306
10307         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10308
10309 2004-02-29  Per Bothner  <per@bothner.com>
10310
10311         * java/nio/channels/FileChannelImpl.java:  Moved to package
10312         gnu/java/nio/channels, since we need to refer to it from java.io.
10313         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10314         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10315         from java/nio/channels.  Don't depend on FileDescriptor.
10316         (in, out, err):  New static fields.
10317         (mode):  New field.
10318         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10319         from FileDescriptor.
10320         (by):  Removed MappedByteBuffer field.
10321         (map):  New working implementation.
10322         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10323         some code "ported" from natFileDescriptoPosix.cc.
10324         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10325         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10326         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10327         Remove native methods.
10328         * Makefile.am, configure.in:  Updated accordingly.
10329
10330         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10331         (ch):  New FileChannelImpl field.  Update constructor to match.
10332         (releaseImpl):  Remove native method.  Instead ...
10333         (release):  Call unlock on channel.
10334         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10335
10336         * java/io/natFileDescriptorEcos.cc:  Remove file.
10337         * java/io/natFileDescriptorPosix.cc:  Remove file.
10338         * java/io/natFileDescriptorWin32.cc:  Remove file.
10339         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10340         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10341         (<init>(FileChannelImpl)):  New package-private constructor.
10342         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10343         (available, close, read, skip):  Implement using FileChannelImpl.
10344         (getFD):  Allocate FileDescriptor if needed.
10345         (getChannel):  Is now trivial.
10346         * java/io/FileOutputStream.java:  Corresponding changes.
10347         * java/io/RandomAccessFile.java:  Corresponding changes.
10348
10349         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10350         unmapImpl):  New dummy methods, to be overridden by subclass.
10351         (finalize, isLoaded, load, force):  New methods.
10352         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10353         Now works, at least for read mapping.
10354
10355         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10356         streams using FileChannelImpl, not FileDescriptor.
10357         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10358
10359 2004-02-28  Michael Koch  <konqueror@gmx.de>
10360
10361         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10362         wrong code.
10363
10364 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10365
10366         * java/io/ObjectInputStream.java
10367         (readClassDescriptor): Keep elements of the mapping non null.
10368         (checkTypeConsistency): New method.
10369         (readFields): Fixed main loop and base logic. Small reindentation.
10370         * java/io/ObjectStreamField.java
10371         (lookupField): New method to update the field reference.
10372         (checkFieldType): New method.
10373         * java/io/ObjectStreamClass.java
10374         (setClass, setFields): Call lookupField when building the field
10375         database. Check the real field type.
10376
10377 2004-02-28  Michael Koch  <konqueror@gmx.de>
10378
10379         * java/nio/ByteOrder.java
10380         (nativeOrder): Use equals() to compare strings.
10381
10382 2004-02-26  Michael Koch  <konqueror@gmx.de>
10383
10384         * gnu/java/nio/FileLockImpl.java
10385         (finalize): Made protected.
10386         * java/nio/channels/FileChannel.java
10387         (MapMode.READ_ONLY): Made final.
10388         (MapMode.READ_WRITE): Made final.
10389         (MapMode.PRIVATE): Made final.
10390         * java/nio/channels/SocketChannel.java
10391         (open): Simplified code.
10392         * java/nio/channels/spi/AbstractSelectableChannel.java
10393         (registered): Unused, removed.
10394         (keyFor): Check channel is open, only locate key
10395         and not add a new one.
10396         (register): Don't delete attachments.
10397
10398 2004-02-26  Michael Koch  <konqueror@gmx.de>
10399
10400         * gnu/java/awt/ComponentDataBlitOp.java
10401         (INSTANCE): Made final.
10402         * gnu/java/awt/image/ImageDecoder.java:
10403         Reworked imports.
10404         (cm): Unused, removed.
10405
10406 2004-02-26  Michael Koch  <konqueror@gmx.de>
10407
10408         * gnu/java/nio/DatagramChannelImpl.java
10409         (send): Check if target address is resolved.
10410
10411 2004-02-26  Michael Koch  <konqueror@gmx.de>
10412
10413         * Makefile.am: Generate and install headers for inner classes in
10414         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10415         * Makefile.in: Regenerated.
10416
10417 2004-02-24  Anthony Green  <green@redhat.com>
10418
10419         * java/lang/StringBuffer.java: No need to NULL out remainder of
10420         buffer since ensureCapacity_unsynchronized will have done this for
10421         us.
10422
10423 2004-02-20  Michael Koch  <konqueror@gmx.de>
10424
10425         * gnu/java/net/protocol/jar/Handler.java
10426         (): Removed unneeded check for file != null. java.net.URL.getFile()
10427         returns an empty string but never null.
10428
10429 2004-02-20  Michael Koch  <konqueror@gmx.de>
10430
10431         * gnu/gcj/convert/Convert.java
10432         (main): Use equals() to compare strings.
10433
10434 2004-02-20  Michael Koch  <konqueror@gmx.de>
10435
10436         * javax/swing/AbstractButton.java: Made several constants final.
10437         (getRolloverSelectedIcon): Made public.
10438         (getSelectedIcon): Made public.
10439
10440 2004-02-16  Per Bothner  <per@bothner.com>
10441
10442         * java/nio/CharBufferImpl.java:  Inline super constructor.
10443         * java/nio/DoubleBufferImpl.java:  Likewise.
10444         * java/nio/FloatBufferImpl.java:  Likewise.
10445         * java/nio/IntBufferImpl.java:  Likewise.
10446         * java/nio/LongBufferImpl.java:  Likewise.
10447         * java/nio/ShortBufferImpl.java:  Likewise.
10448         * java/nio/CharBuffer.java:  Remove unused constructor.
10449         * java/nio/DoubleBuffer.java:  Likewise.
10450         * java/nio/FloatBuffer.java:  Likewise.
10451         * java/nio/IntBuffer.java:  Likewise.
10452         * java/nio/LongBuffer.java:  Likewise.
10453         * java/nio/ShortBuffer.java:  Likewise.
10454         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10455         Fix buggy call to super constructor.
10456         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10457         * java/nio/FloatViewBufferImpl.java:  Likewise.
10458         * java/nio/IntViewBufferImpl.java:  Likewise.
10459         * java/nio/LongViewBufferImpl.java:  Likewise.
10460         * java/nio/ShortViewBufferImpl.java:  Likewise.
10461         
10462         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10463         java.nio classes can inherit it.
10464         (<init>):  Don't bother clearing array_offset.
10465         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10466         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10467         Remove redundant test.
10468
10469         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10470         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10471         Use new XxxViewBufferImpl constructors.
10472         * java/nio/MappedByteBufferImpl.java:  Likewise.
10473         * java/nio/DirectByteBufferImpl.java:  Likewise.
10474
10475         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10476         Inline super in remaining constructor.
10477         * java/nio/ByteBuffer.java:  Remove unused constructor.
10478
10479         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10480
10481         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10482         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10483         (offset):  Remove unused field.
10484         (<init>):  Modify one and add another constructor.  Change callers.
10485         (allocateDirect):  Removed - not used.
10486         (getImpl, putImpl):  Make static and pass address explicitly,
10487         to make them useful for MappedByteBufferImpl.
10488         (get, put):  Check for underflow.  Modify for new getImpl.
10489         (getImpl):  New native method where target is array.
10490         (get(byte[],int,int)):  Use the above.
10491         (adjustAddress):  New static native method.
10492         (slice, duplicate, asReadOnly):  New implementations.
10493         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10494         adjustAddress):  New or updated native methods.
10495
10496 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10497
10498         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10499         overflow of fieldmapping.
10500
10501 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10502
10503         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10504
10505 2004-02-14  Per Bothner  <per@bothner.com>
10506
10507         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10508         Set closed before calling implCloseChannel, as in the spec.
10509
10510 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10511
10512         * javax/swing/ToggleButtonModel.java: Remove dead class.
10513         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10514         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10515         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10516         * Makefile.am: Update for new and removed files.
10517         * Makefile.in: Regenerate.
10518
10519         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10520         * javax/swing/AbstractButton.java 
10521         (AbstractButton): Initialize fields correctly in ctor.
10522         * javax/swing/JCheckbox.java 
10523         (JCheckBox): Override painting flags.
10524         * javax/swing/DefaultButtonModel.java: Conform to sun.
10525         * javax/swing/JComponent.java (paint): Fill with background color
10526         if available.
10527         (processComponentKeyEvent)
10528         (processFocusEvent)
10529         (processKeyEvent)
10530         (processMouseMotionEvent): Remove event-consuming empty methods.
10531         (getUIClassID): Return "ComponentUI" not "JComponent"
10532         * javax/swing/JFrame.java: Remove some debugging chatter.
10533         (JFrame): Subscribe to window events.
10534         * javax/swing/JRadioButton.java 
10535         (JRadioButton): Override painting flags.
10536         * javax/swing/JRootPane.java 
10537         (JRootPane): Set background from UIDefaults.
10538         * javax/swing/JToggleButton.java 
10539         (ToggleButtonModel): New inner class.
10540         (JToggleButton): Override layout alighment.
10541         * javax/swing/SwingUtilities.java:
10542         (getLocalBounds): Return width and height, not x and y.
10543         (calculateInnerArea): Use local bounds, not bounds.
10544         (layoutCompoundLabel): Provide overridden form.
10545         (layoutCompoundLabel): Correct bugs.
10546         * javax/swing/UIDefaults.java: Correct comment.
10547         * javax/swing/plaf/basic/BasicButtonUI.java: 
10548         Move most logic into defaults, external listener.
10549         (paintIcon): Implement icon painting.
10550         (paint): Fix state painting to conform to changes in model.
10551         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10552         Remove most dead/wrong methods.
10553         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10554         * javax/swing/plaf/basic/BasicIconFactory.java:
10555         (DummyIcon): New class.
10556         (getMenuItemCheckIcon)
10557         (getMenuItemArrowIcon) 
10558         (getMenuArrowIcon)
10559         (getCheckBoxMenuItemIcon)
10560         (getRadioButtonMenuItemIcon)
10561         (createEmptyFrameIcon): Return DummyIcons, not null.
10562         (getCheckBoxIcon): Implement an icon that looks like sun's.
10563         (getRadioButtonIcon): Implement an icon that looks like sun's.
10564         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10565         (initComponentDefaults): Fix impossible values, add some missing.
10566         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10567         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10568         Remove most dead/wrong methods.
10569         (icon): New field.
10570         (getDefaultIcon): New method.
10571         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10572         Remove most dead/wrong methods.
10573         * javax/swing/plaf/metal/MetalLookAndFeel.java
10574         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10576         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10577         Implement "clearing" as drawing, when on pixmap drawables.
10578
10579         * javax/swing/JButton.java (getUIClassID): 
10580         * javax/swing/JCheckBox.java (getUIClassID):
10581         * javax/swing/JEditorPane.java (getUIClassID):
10582         * javax/swing/JLabel.java (getUIClassID): 
10583         * javax/swing/JList.java (getUIClassID): 
10584         * javax/swing/JOptionPane.java (getUIClassID): 
10585         * javax/swing/JPanel.java (getUIClassID): 
10586         * javax/swing/JPasswordField.java (uiClassID): 
10587         * javax/swing/JRadioButton.java (getUIClassID): 
10588         * javax/swing/JRootPane.java (getUIClassID): 
10589         * javax/swing/JScrollPane.java (getUIClassID): 
10590         * javax/swing/JTabbedPane.java (getUIClassID): 
10591         * javax/swing/JToggleButton.java (getUIClassID): 
10592         * javax/swing/JTree.java (getUIClassID): 
10593         * javax/swing/JViewport.java (getUIClassID): 
10594         * javax/swing/text/JTextComponent.java (getUIClassID):
10595         Return "fooUI" not "Jfoo"
10596
10597 2004-02-11  Michael Koch  <konqueror@gmx.de>
10598
10599         * java/net/DatagramSocket.java
10600         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10601         Boolean object.
10602         (setBroadcast): Likewise.
10603         * java/net/MulticastSocket.java
10604         (setLoopbackMode): Likewise.
10605         * java/net/ServerSocket.java
10606         (setReuseAddress): Likewise.
10607         * java/net/Socket.java
10608         (setTcpNoDelay): Likewise.
10609         (setSoLinger): Likewise.
10610         (setOOBInline): Likewise.
10611         (setKeepAlive): Likewise.
10612         (setReuseAddress): Likewise.
10613         * java/net/URLConnection.java
10614         (setContentHandler): Replace == with equals().
10615         * java/net/URLStreamHandler.java
10616         (hostSEquals): Fix checking host addresses.
10617         (toExternalForm): Dont check protocol for null. We know already its
10618         not null.
10619
10620 2004-02-10  David Jee  <djee@redhat.com>
10621
10622         * java/awt/BorderLayout.java
10623         (calcCompSize): Invisible components get zero dimensions.
10624         * java/awt/Button.java
10625         (setLabel): Set actionCommand.
10626         * java/awt/Component.java
10627         (show): Invalidate component and parent container.
10628         (hide): Likewise.
10629
10630 2004-02-10  David Jee  <djee@redhat.com>
10631
10632         * java/awt/GridBagLayout.java
10633         (GridBagLayout): New private field, internalcomptable.
10634         (lookupInternalConstraints): New method.
10635         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10636         (GetLayoutInfo): Reimplement.
10637         (calcCellSizes): Ignore rows/columns with size 0.
10638
10639 2004-02-10  Michael Koch  <konqueror@gmx.de>
10640
10641         * gnu/java/awt/EmbeddedWindow.java
10642         (setHandle): Use java.awt.Component.getPeer() instead of
10643         java.awt.Component.peer directly.
10644
10645 2004-02-10  David Jee  <djee@redhat.com>
10646
10647         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10648         (gtkSetLabel): New native method definition.
10649         (setLabel): Use gtkSetLabel.
10650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10651         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10652
10653 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10654
10655         * include/powerpc-signal.h: Revert 2004-01-21 change.
10656         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10657         from syscall for ppc32 versions.
10658
10659 2004-02-08  Per Bothner  <per@bothner.com>
10660
10661         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10662         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10663         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10664         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10665         Pass ByteOrder parameter to most methods, since the underlying
10666         ByteBuffer's order isn't always what we should use.
10667         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10668         * java/nio/DirectByteBufferImpl.java:  Likewise.
10669         Use ByteBufferHelper methods.
10670         * java/nio/MappedByteBufferImpl.java:  Likewise.
10671         (compact):  Use shiftDown.
10672         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10673         (get, put):  Use ByteBufferHelper.
10674         (compact):  Use new shiftDown method.
10675         (duplicate(boolean)):  New helper method.
10676         (duplicate, asReadOnlyBuffer):  Use it.
10677         (order):  Return endian field.
10678         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10679         * java/nio/FloatViewBufferImpl.java:  Likewise.
10680         * java/nio/IntViewBufferImpl.java:  Likewise.
10681         * java/nio/LongViewBufferImpl.java:  Likewise.
10682         * java/nio/ShortViewBufferImpl.java:  Likewise.
10683         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10684         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10685         (compact):  Re-implement using shiftDown.
10686
10687 2004-02-08  Andreas Jaeger  <aj@suse.de>
10688
10689         * include/x86_64-signal.h: Fix typo.
10690
10691 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10692
10693         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10694         qualifier to _regs.
10695         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10696
10697 2004-02-06  Michael Koch  <konqueror@gmx.de>
10698
10699         * java/io/ObjectInputStream.java
10700         (currentClassLoader): Reverted to old version of this method.
10701
10702 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10703
10704         * java/io/ObjectInputStream.java: Made all calls
10705         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10706         use cached info from ObjectStreamClass. (readClassDescriptor):
10707         Cache more information in ObjectStreamClass. (processResolution,
10708         readFields): Use cached info from ObjectStreamClass.
10709         (newObject): Throw exception instead of returning null for failure.
10710         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10711         setCharField, setDoubleField, setFloatField, setIntField,
10712         setLongField, setShortField, setObjectField, readObjectParams):
10713         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10714         check.
10715         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10716         (setClass): Added call to cacheMethods() (findMethod): New method.
10717         (cacheMethods): New method. (ObjectStreamClass): Added call to
10718         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10719         AccessController.doPrivileged to invoke setAccessible.
10720         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10721         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10722         New fields.
10723         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10724         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10725         isPrimitive): Made safe for cases where type == null.
10726         (setBooleanField, setByteField, setCharField, setShortField,
10727         setIntField, setLongField, setFloatField, setDoubleField,
10728         setObjectField): New methods.
10729
10730 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10731
10732         * java/awt/Component.java (getFont): Return a default font
10733         instead of null.
10734
10735         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10736         (Scrollbar (int, int, int, int, int)): Make default page
10737         increment 10.
10738         (setValues): Only call peer.setValues if one of the values has
10739         changed.
10740         (generateName): New method.
10741         (getUniqueLong): New method.
10742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10743         (range_scrollbar): Remove structure.
10744         (post_adjustment_event): Remove function.
10745         (post_change_event): Accept jobject argument.
10746         (create): Cast jints to gdoubles.  Round scrollbar values to the
10747         nearest integer.  Clamp min, max and value settings.
10748         (connectJObject): Connect hook to widget->window.
10749         (connectSignals): Remove range_scrollbar structure variables.
10750         Remove "move-slider" connection.  Pass global peer reference to
10751         "value-changed" callback.
10752         (setLineIncrement): Cast jint value to gdouble.
10753         (setPageIncrement): Likewise.
10754         (setValues): Likewise.  Clamp min, max and value settings.
10755
10756 2004-02-05  Michael Koch  <konqueror@gmx.de>
10757
10758         * javax/swing/AbstractCellEditor.java
10759         (getCellEditorValue): Removed.
10760         * javax/swing/Box.java: Reformated.
10761         (serialVersionUID): New field.
10762         * javax/swing/ButtonGroup.java:
10763         Removed some weird whitespace.
10764         * javax/swing/CellEditor.java: Reformated.
10765         * javax/swing/CellRendererPane.java
10766         (serialVersionUID): New field.
10767         (AccessibleCellRendererPaneserialVersionUID): New field.
10768         * javax/swing/DefaultListModel.java
10769         (serialVersionUID): New field.
10770         * javax/swing/JEditorPane.java
10771         (serialVersionUID): New field.
10772         (setPage): Throws IOException.
10773         (addHyperlinkListener): Implemented.
10774         (removeHyperlinkListener): Implemented.
10775         (getHyperlinkListener): New method.
10776         * javax/swing/JFileChooser.java
10777         (serialVersionUID): New field.
10778         (AccessibleJFileChooser.serialVersionUID): New field.
10779         (addActionListener): Implemented.
10780         (removeActionListener): Implemented.
10781         (getActionListeners): New method.
10782         * javax/swing/JFormattedTextField.java
10783         (serialVersionUID): New field.
10784         (AbstractFormatter.serialVersionUID): New field.
10785         (clone): Throws CloneNotSupportedException
10786         (setEditValid): Add missing argument.
10787         (stringToValue): Throws ParseExcpetion.
10788         (valueToString): Throws ParseException.
10789         (commitEdit): Throws ParseException.
10790         * javax/swing/JLabel.java
10791         (serialVersionUID): New field.
10792         * javax/swing/JList.java
10793         (serialVersionUID): New field.
10794         (addListSelectionListener): Reformated.
10795         (removeListSelectionListener): Reformated.
10796         (getListSelectionListeners): New method.
10797         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10798         Reformated.
10799         (serialVersionUID): New field.
10800         * javax/swing/table/AbstractTableModel.java
10801         (getValueAt): Removed.
10802         (getColumnCount): Removed.
10803         (getRowCount): Removed.
10804
10805 2004-02-05  Michael Koch  <konqueror@gmx.de>
10806
10807         * java/awt/datatransfer/DataFlavor.java
10808         (imageFlavor): Javadoc added.
10809         (javaJVMLocalObjectType): Fixed.
10810
10811 2004-02-05  Michael Koch  <konqueror@gmx.de>
10812
10813         * java/lang/Thread.java
10814         (Thread): Reordered.
10815         (setContextClassLoader): Fixed javadoc comment.
10816         (setPriority): Reordered.
10817         (yield): Reordered.
10818         (initialize_native): Reordered.
10819         (gen_name): Reordered.
10820
10821 2004-02-05  Michael Koch  <konqueror@gmx.de>
10822
10823         * java/lang/Thread.java: Reordered fields, reformated much code,
10824         no functional changes, some variables renamed, javadoc comments
10825         merged.
10826
10827 2004-02-05  Michael Koch  <konqueror@gmx.de>
10828
10829         * java/util/zip/Deflater.java,
10830         java/util/zip/DeflaterOutputStream.java,
10831         java/util/zip/GZIPInputStream.java:
10832         Reformated and javadoc comments merged from classpath.
10833
10834 2004-02-05  Michael Koch  <konqueror@gmx.de>
10835
10836         * gnu/java/nio/NIOServerSocket.java
10837         (impl): Unused, removed.
10838         * gnu/java/nio/SocketChannelImpl.java
10839         (finnishConnect): Don't throw NoConnectionPendingException if not
10840         connected or no connection pending.
10841
10842 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10843
10844         * javax/swing/SwingUtilities.java: Many new functions.
10845         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10846         * javax/swing/basic/BasicGraphicsUtils.java 
10847         (getPreferredButtonSize): Start layout from top-left corner.
10848
10849 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10850
10851         * java/awt/geom/AffineTransform.java: 
10852         Corrected comments on the field definitions for
10853         m11 and m10.
10854         (shear): Fixed few errors that caused shear
10855         transformation to be performed incorrectly.
10856         (createInverse): Fixed to return correct
10857         inverse of the given matrix.
10858
10859 2004-02-03  Tom Tromey  <tromey@redhat.com>
10860
10861         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10862         PATH or LD_LIBRARY_PATH is not set in parent environment.
10863
10864 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10865
10866         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10867         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10868         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10869         java/awt/Component.java, java/awt/Container.java,
10870         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10871         java/awt/LayoutManager2.java, java/awt/List.java,
10872         java/awt/Menu.java, java/awt/MenuBar.java,
10873         java/awt/MenuItem.java, java/awt/Polygon.java,
10874         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10875         java/awt/Scrollbar.java, java/awt/TextArea.java,
10876         java/awt/TextField.java,
10877         java/awt/image/renderable/RenderContext.java,
10878         javax/swing/JApplet.java: Fix handling of alias methods, where a
10879         method has been deprecated in favour of a new one with the same
10880         funtion but a different name.  Put the method implementation in
10881         the deprecated method and have the new method call the
10882         deprecated one.  Make all other code call the new method.
10883
10884 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10885
10886         * gnu/java/nio/DatagramChannelImpl.java
10887         (inChannelOperation): New field.
10888         (isInChannelOperation): New accessor.
10889         (setInChannelOperation): New modifier.
10890         (receive): Use capacity() - position() of destination
10891         buffer instead of remaining(). Set and reset our "in
10892         channel operation indicator" before and after delegating
10893         the receive to our datagram socket. Removed testing code.
10894         Update destination buffer's current position if it is
10895         backed by a byte array (hasArray() is true).
10896         (send): Set and reset our "in channel operation indicator"
10897         before and after delegating the send to our datagram socket.
10898         Removed testing code. Update source buffer's current position
10899         if it is backed by a byte array (hasArray() is true).
10900         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10901         Use capacity() - position() of destination buffer instead
10902         of remaining().
10903         * java/net/DatagramSocket.java (receive): Don't throw an
10904         IllegalBlockingModeException if we have a non-blocking
10905         channel which initiated this operation.
10906         (send): Likewise.
10907
10908 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10909
10910         * configure.in: Add pkgconfig check for glib and gthread.
10911         * configure: Regenerate.
10912
10913 2004-02-01  Michael Koch  <konqueror@gmx.de>
10914
10915         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10916         arguments.
10917         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10918         * verify.cc (debug_print): Mark 'fmt' unused.
10919
10920 2004-01-30  Michael Koch  <konqueror@gmx.de>
10921
10922         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10923         * configure: Regenerated.
10924         * glib-2.0.m4: Removed.
10925         * gtk-2.0.m4: Removed.
10926         * libart.m4: Removed.
10927         * pkg.m4: New file.
10928
10929 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10930
10931         * gnu/java/net/PlainSocketImpl.java 
10932         (inChannelOperation): New field.
10933         (isInChannelOperation): New accessor.
10934         (setInChannelOperation): New modifier.
10935         * gnu/java/nio/ServerSocketChannelImpl.java
10936         (accept): Set and reset our server socket's PlainSocketImpl's
10937         "in channel operation" indicator before and after delegating
10938         the accept to our server socket.
10939         * gnu/java/nio/SocketChannelImpl.java
10940         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10941         operation" indicator before and after delegating the operation to
10942         our socket.
10943         (read): Likewise.
10944         (write): Likewise.
10945         * java/net/ServerSocket.java (implAccept): Don't throw an
10946         IllegalBlockingModeException if we have a non-blocking
10947         channel which initiated this accept operation.
10948         * java/net/Socket.java (connect): Don't throw an
10949         IllegalBlockingModeException if we have a non-blocking
10950         channel which initiated this connect operation.
10951         * java/nio/channels/spi/AbstractSelectableChannel.java
10952         (configureBlocking): Only call implConfigureBlocking() if
10953         the desired blocking mode is different from our current one.
10954
10955 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10956
10957         * java/io/BufferedReader.java (sbuf): New field.
10958         (readLine): Use String.valueOf instead of new String() as per
10959         Per Bothner's suggestion. Use instance sbuf field instead of a
10960         local StringBuffer instance.
10961         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10962         caller's buffer to refill().
10963         (read(void)): Pass our internal work buffer to refill if our
10964         input queue is empty.
10965         (refill): Changed return type to int. Use the specified buffer
10966         instead of our work buffer as per Bryce McKinlay's suggestion.
10967         Return the number of characters read or -1 for EOF.
10968
10969 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10970
10971         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10972
10973 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10974
10975         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10976         * Makefile.in: Re-generated.
10977         * gnu/awt/xlib/XFontPeer.java: New file.
10978         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10979         (setClip): Commented out debug printout.
10980         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10981         (getFontPeer): Return XFontPeer.
10982         (getLocalGraphicsEnvironment): New method.
10983         (getClasspathFontPeer): New method.
10984         (createFont): New method.
10985
10986 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10987
10988         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10989         return null. 
10990
10991 2004-01-29  Kim Ho  <kho@redhat.com>
10992
10993         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10994         (gtkLayoutSetVisible): New method
10995         (setMenuBar): Hide layout before setting MenuBar
10996         and reshow it after.
10997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10998         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10999
11000 2004-01-28  Michael Koch  <konqueror@gmx.de>
11001
11002         * gnu/java/lang/ClassHelper.java
11003         (getPackagePortion): Removed.
11004
11005 2004-01-28  Michael Koch  <konqueror@gmx.de>
11006
11007         * javax/swing/JComponent.java
11008         (listenerList): Initalize globally.
11009         (ancestor_list): Removed.
11010         (veto_list): Removed.
11011         (change_list): Removed.
11012         (get_veto_list): Removed.
11013         (get_change_list): Removed.
11014         (get_ancestor_list): Removed.
11015         (removeAncestorListener): Reimplemented.
11016         (removePropertyChangeListener): Likewise.
11017         (removeVetoableChangeListener): Likewise.
11018         (addAncestorListener): Likewise.
11019         (addPropertyChangeListener): Likewise.
11020         (addVetoableChangeListener): Likewise.
11021         (getListeners): New method.
11022         (getAncestorListeners): Likewise.
11023         (getVetoableChangeListeners): Likewise.
11024         (fireVetoableChange): Throws PropertyVetoException.
11025         * javax/swing/JEditorPane.java
11026         (JEditorPane): Throws IOException.
11027
11028 2004-01-28  David Jee  <djee@redhat.com>
11029
11030         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11031         (create): Set the default foreground color to
11032         java.awt.SystemColor.windowText.
11033
11034 2004-01-27  Michael Koch  <konqueror@gmx.de>
11035
11036         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11037         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11038         Reindented to merge with classpath.
11039
11040 2004-01-27  David Jee  <djee@redhat.com>
11041
11042         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11043         (addExposeFilter): Handle GtkFramePeer separately.
11044         (removeExposeFilter): Likewise.
11045
11046 2004-01-27  Michael Koch  <konqueror@gmx.de>
11047
11048         * gnu/java/net/protocol/http/Connection.java
11049         (getOutputStream): Fixed typo.
11050
11051 2004-01-27  Michael Koch  <konqueror@gmx.de>
11052
11053         * java/lang/Class.java
11054         (getConstructor): Removed SecurityException from throws clause.
11055         (_getConstructors): Likewise.
11056         (getConstructors): Likewise.
11057         (getDeclaredConstructor): Likewise.
11058         (getDeclaredClasses): Likewise.
11059         (getDeclaredConstructors): Likewise.
11060         (getDeclaredField): Likewise.
11061         (getDeclaredMethod): Likewise.
11062         (getDeclaredMethods): Likewise.
11063         (getField): Likewise.
11064         (getMethod): Likewise.
11065         (getMethods): Likewise.
11066
11067 2004-01-27  Kim Ho  <kho@redhat.com>
11068
11069         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11070         (removeMenuBarPeer): Remove MenuBarPeer argument.
11071         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11072         (dispose): Call native method.
11073         * java/awt/Frame.java (setMenuBar): Create and remove
11074         MenuBar peers only if the Frame has a peer.
11075         (addNotify): Create the MenuBar peer if one exists.
11076         (removeNotify): Remove MenuBar peer if one exists.
11077         * java/awt/Menu.java: Fix imports.
11078         (addNotify): Don't use full class name.
11079         (removeNotify): Call removeNotify on all children.
11080         * java/awt/MenuBar.java (removeNotify): Call
11081         removeNotify on all children.
11082         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11083         (removeMenuBarPeer): Remove MenuBarPeer argument.
11084         Iterate through children to find the Frame's MenuBar.
11085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11086         New file.
11087         (dispose): Remove references to the MenuComponent.
11088
11089 2004-01-27  Michael Koch  <konqueror@gmx.de>
11090
11091         * javax/swing/AbstractCellEditor.java: Reformated.
11092         * javax/swing/DefaultListSelectionModel.java
11093         (listenerList): Made protected.
11094         (addListSelectionListener): Javadoc added.
11095         (removeListSelectionListener): Likewise.
11096         (getListeners): Likewise.
11097         (getListSelectionListeners): Likewise.
11098         * javax/swing/JComboBox.java: Merged copyright year.
11099         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11100
11101 2004-01-26  Andrew Haley  <aph@redhat.com>
11102
11103         * javax/swing/table/JTableHeader.java: Extend JComponent
11104
11105 2004-01-26  Kim Ho  <kho@redhat.com>
11106
11107         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11108         Fix spacing.
11109
11110 2004-01-26  Kim Ho  <kho@redhat.com>
11111
11112         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11113         method.
11114         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11115         height and let the Layout Managers readjust anything that
11116         needs to move.
11117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11118         (moveLayout): New method. Shift everything in the Gtk
11119         layout in the Y direction by an offset.
11120
11121 2004-01-26  David Jee  <djee@redhat.com>
11122
11123         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11124         (handleEvent): Implemented. Handles PaintEvents.
11125         (paint): Implemented. Use GTK native methods to queue updates
11126         for this heavyweight peer.
11127         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11128         (handleEvent): Removed.
11129         * java/awt/Component.java
11130         (paint): Implemented. Explictly paint the heavyweight peer.
11131         (update): Clear the background for heavyweight components.
11132         (paintAll): No need to call peer.paint() anymore.
11133         (processEvent): Don't process PaintEvents here. It's now done in
11134         the peer's handleEvent().
11135         (processPaintEvent): Removed.
11136         * java/awt/Container.java
11137         (paint): No need to call super.paint(). Visit heavyweight
11138         children as well.
11139         (update): Don't clear the background here.  It's done in
11140         Component.update().
11141         (visitChildren): Added check to not recurse into Containers.
11142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11143         (filter_expose_event_handler): New method.  Filter unwanted
11144         expose events while painting heavyweight peers.
11145         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11146         New method. Connect filter and block pre_event_handler.
11147         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11148         New method. Disconnect filter and unblock pre_event_handler.
11149         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11150         New method. Invalidate and update given area.
11151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11152         (pre_event_handler): Add checks for unwanted expose events.
11153
11154 2004-01-26  David Jee  <djee@redhat.com>
11155
11156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11157         (find_bg_color_widget): For GtkButton, return its child.
11158
11159 2004-01-26  Kim Ho  <kho@redhat.com>
11160
11161         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11162         private.
11163         (setMenuBar): Grab MenuBar height and change insets.
11164         (setBounds): Account for MenuBar height.
11165         (postInsetsChangedEvent): Ditto.
11166         (postSizeAllocateEvent): Remove.
11167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11168         (menubar_resize_cb): Remove
11169         (setMenuBarPeer): Remove callback.
11170         (getMenuBarHeight): Use size requisition instead of
11171         allocation.
11172
11173 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11174
11175         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11176         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11177         when peer is null.
11178         (setColumns): Remove FIXME -- peer will retrieve number of
11179         columns by calling getColumns.
11180         (setRows): Likewise for number of rows.
11181         (next_text_number): New field.
11182         (paramString): Fix param string.
11183         (generateName): New method.
11184         (getUniqueLong): New method.
11185
11186 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11187
11188         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11189         image observer of image loading status.
11190         (getImage (String)): Start image production.
11191         (getImage (URL)): Likewise.
11192
11193 2004-01-25  Michael Koch  <konqueror@gmx.de>
11194
11195         * java/lang/Class.java: Imports reworked, reformated.
11196         (Class): Javadoc added.
11197         (forName): Likewise.
11198         (getClasses): Likewise.
11199         (getClassLoader): Likewise.
11200         (getComponentType): Likewise.
11201         (getConstructor): Likewise.
11202         (getConstructors): Likewise.
11203         (getDeclaredConstructor): Likewise.
11204         (getDeclaredClasses): Likewise.
11205         (getDeclaredConstructors): Likewise.
11206         (getDeclaredField): Likewise.
11207         (getDeclaredMethod): Likewise.
11208         (getDeclaredMethods): Likewise.
11209         (getDeclaringClass): Likewise.
11210         (getField): Likewise.
11211         (getInterfaces): Likewise.
11212         (getMethod): Likewise.
11213         (getMethods): Likewise.
11214         (getModifiers): Likewise.
11215         (getName): Likewise.
11216         (getResource): Likewise.
11217         (getResourceAsStream): Likewise.
11218         (getSigners): Likewise.
11219         (setSigners): Likewise.
11220         (getSuperclass): Likewise.
11221         (isArray): Likewise.
11222         (isAssignableFrom): Likewise.
11223         (isInstance): Likewise.
11224         (isInterface): Likewise.
11225         (isPrimitive): Likewise.
11226         (newInstance): Likewise.
11227         (getProtectionDomain): Likewise.
11228         (toString): Likewise.
11229         (Class): Moved.
11230         (initializeClass): Likewise.
11231         (finalize): Likewise.
11232
11233 2004-01-24  Michael Koch  <konqueror@gmx.de>
11234
11235         * gnu/java/net/protocol/jar/Connection.java
11236         (hdrHash): Removed.
11237         (hdrVec): Removed.
11238         (gotHeaders): Removed.
11239         (getHeaderField): Removed.
11240         (getHeaderFields): Removed.
11241         (getHeaderFieldKey): Removed.
11242         (getKey): Removed.
11243         (getField): Removed.
11244         (getHeaders): Removed.
11245
11246 2004-01-24  Michael Koch  <konqueror@gmx.de>
11247
11248         * Makefile.am: Added library version to gtk peer lib.
11249         * Makefile.in: Regenerated.
11250
11251 2004-01-24  Michael Koch  <konqueror@gmx.de>
11252
11253         * java/util/zip/InflaterInputStream.java: Merged class documentation
11254         with classpath.
11255
11256 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11257
11258         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11259         header.  For __powerpc64__ provide the default-signal.h definitions
11260         for now.
11261         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11262         instead of the dummy definitions.
11263         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11264         (powerpc64*-*): Remove with_libffi_default.
11265         Only add -mminimal-toc for 64-bit compilations.
11266         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11267         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11268         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11269         * configure: Rebuilt.
11270
11271 2004-01-23  Michael Koch  <konqueror@gmx.de>
11272
11273         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11274
11275 2004-01-23  Michael Koch  <konqueror@gmx.de>
11276
11277         * java/lang/VMClassLoader.java: Reworked imports.
11278         
11279 2004-01-23  Michael Koch  <konqueror@gmx.de>
11280
11281         * javax/swing/AbstractAction.java: Reformated.
11282
11283 2004-01-23  Michael Koch  <konqueror@gmx.de>
11284
11285         * java/text/CollationElementIterator.java:
11286         (setText): New method.
11287
11288 2004-01-23  Michael Koch  <konqueror@gmx.de>
11289
11290         * gnu/java/nio/FileLockImpl.java:
11291         Fixed filename in copyright.
11292         (released): Removed.
11293         (finalize): New method.
11294         * gnu/java/nio/natFileLockImpl.cc
11295         (releaseImpl): Implemented.
11296         * java/nio/channels/FileChannelImpl.java:
11297         Reworked imports.
11298         (lock): Implemented.
11299         (lockImpl): New method.
11300         (tryLock): Implemented.
11301         (tryLockImpl): New method.
11302         * java/nio/channels/natFileChannelImpl.cc
11303         (lockImpl): New method.
11304         (tryLockImpl): New method.
11305
11306 2004-01-23  Michael Koch  <konqueror@gmx.de>
11307
11308         * java/io/FileDescriptor.java
11309         (lock): New method.
11310         (tryLock): New method.
11311         (unlock): New method.
11312         * java/io/natFileDescriptorEcos.cc
11313         (lock): New method.
11314         (tryLock): New method.
11315         (unlock): New method.
11316         * java/io/natFileDescriptorPosix.cc
11317         (lock): New method.
11318         (tryLock): New method.
11319         (unlock): New method.
11320         * java/io/natFileDescriptorWin32.cc
11321         (lock): New method.
11322         (tryLock): New method.
11323         (unlock): New method.
11324
11325 2004-01-23  Michael Koch  <konqueror@gmx.de>
11326
11327         * java/io/FileDescriptor.java
11328         (sync): Moved around, added javadoc.
11329         (valid): Likewise.
11330         (open): Likewise.
11331         (write): Likewise.
11332         (close): Likewise.
11333         (setLength): Likewise.
11334         (seek): Likewise.
11335         (getLength): Likewise.
11336         (getFilePointer): Likewise.
11337         (read): Likewise.
11338         (available): Likewise.
11339         (finalize): Likewise.
11340
11341 2004-01-23  Michael Koch  <konqueror@gmx.de>
11342
11343         * javax/swing/AbstractAction.java: Reformated.
11344         (getPropertyChangeListeners): New method.
11345         * javax/swing/AbstractCellEditor.java: Reformated.
11346         (getCellEditorListeners): New method.
11347         * javax/swing/DefaultListSelectionModel.java
11348         (listenerList): New field.
11349         (listeners): Removed.
11350         (get_listeners): Removed.
11351         (addListSelectionListener): Rewritten.
11352         (removeListSelectionListener): Rewritten.
11353         (getListSelectionListeners): New method.
11354         (getListeners): New method.
11355         * javax/swing/JComboBox.java: Imports reworked.
11356         (addActionListener): Implemented.
11357         (removeActionListener): Implemented.
11358         (addItemListener): Implemented.
11359         (removeItemListener): Implemented.
11360         (addPopupMenuListener): Implemented.
11361         (removePopupMenuListener): Implemented.
11362         (getActionListeners): New method.
11363         (getItemListeners): New method.
11364         (getPopupMenuListeners): New method.
11365
11366 2004-01-23  Michael Koch  <konqueror@gmx.de>
11367
11368         * gnu/java/net/protocol/http/Connection.java
11369         (connect): Don't initialize bufferedOutputStream if not needed.
11370         (sendRequest): Set property for content length if content is present.
11371         Write content only if present.
11372         (getOutputStream): Check if already connected, dont connect,
11373         initalize bufferedOutputStream if needed.
11374
11375 2004-01-23  Michael Koch  <konqueror@gmx.de>
11376
11377         * java/io/FileDescriptor.java
11378         (in, out, err): Added javadoc.
11379         (static): Merged loading code.
11380         (fd, position): Moved around.
11381
11382 2004-01-23  Michael Koch  <konqueror@gmx.de>
11383
11384         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11385         New file.
11386
11387 2004-01-23  Michael Koch  <konqueror@gmx.de>
11388
11389         * java/lang/Class.java,
11390         java/lang/Object.java,
11391         java/lang/Thread.java: Merged copyright with classpath.
11392
11393 2004-01-23  Michael Koch  <konqueror@gmx.de>
11394
11395         * java/io/FileDescriptor.java: Merged copyright with classpath to
11396         start merging this class.
11397
11398 2004-01-22  Tom Tromey  <tromey@redhat.com>
11399
11400         PR libgcj/13107:
11401         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11402         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11403         * testsuite/libjava.lang/pr13107_3.java: New file.
11404         * testsuite/libjava.lang/pr13107_3.out: New file.
11405         * testsuite/libjava.lang/pr13107_2.java: New file.
11406         * testsuite/libjava.lang/pr13107_2.out: New file.
11407         * testsuite/libjava.lang/pr13107.java: New file.
11408         * testsuite/libjava.lang/pr13107.out: New file.
11409         * verify.cc (jsr_ptrs): Removed.
11410         (entry_points): Likewise.
11411         (struct subr_info): Likewise.
11412         (struct subr_entry_info): Likewise.
11413         (type_val::unused_by_subroutine_type): Likewise.
11414         (type::merge): Don't handle unused_by_subroutine_type.
11415         (type::print): Likewise.
11416         (state::flags): Removed.
11417         (state::subroutine): Likewise.
11418         (state::seen_subrs): Likewise.
11419         (state::NO_STACK): Likewise.
11420         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11421         (state): Updated all methods.
11422         (state::clean_subrs): Removed.
11423         (state::state): Removed `ret_semantics' flag.
11424         (state::copy): Likewise.
11425         (state::add_subr): Removed.
11426         (state::enter_subroutine): Likewise.
11427         (type::set_return_address): New method.
11428         (handle_jsr_insn): Set return address on the type.  Always
11429         invalidate PC after call.
11430         (check_nonrecursive_call): Removed.
11431         (~_Jv_BytecodeVerifier): Updated.
11432         (branch_prepass): Removed special handling of jsr.
11433         (note_branch_target): Likewise.
11434         (get_subroutine): Removed.
11435         (state::merge): Don't merge subroutines and don't handle
11436         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11437         (state::note_variable): Removed.
11438         (state::is_unmerged_ret_state): Likewise.
11439         (state::print): Updated.
11440         (set_variable): Likewise.
11441         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11442         and jsr_semantics arguments.  Updated for new reverification
11443         list.
11444         (pop_jump): Rewrote.
11445         (construct_primitive_array_type): Updated.
11446         (state::next): Removed.
11447         (INVALID_STATE): New define.
11448         (state::INVALID): Removed.
11449         (state::NO_NEXT): New value.
11450         (state::pc, state::next): New fields.
11451         (state::get_pc): New method.
11452         (next_verify_pc): Removed.
11453         (next_verify_state): New field.
11454         (verify_instructions_0): Always check for falling off end.
11455         (linked): New type.
11456         (linked_utf8): Removed.
11457         (states): Changed type.
11458         (type::state_mergeable_p): New method.
11459         (state::state_mergeable_p): Likewise.
11460         (handle_ret_insn): Removed most code.
11461         (state::reverify): New method.
11462         (add_new_state): Likewise.
11463         (state::set_pc): Likewise.
11464
11465 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11466
11467         PR java/13733
11468         * testsuite/libjava.compile/PR13733.java: New file.
11469         * testsuite/libjava.compile/PR13733.xfail: New file.
11470
11471 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11472             Michael Koch  <konqueror@gmx.de>
11473
11474         * javax/swing/table/DefaultTableCellRenderer.java
11475         (DefaultTableCellRenderer): Added javadoc for the class and for
11476         the constructor, Border instance, create an EmptyBorder.
11477         (UIResource): Removed the comment at the end of the class
11478         (setForeground): New method.
11479         (setBackground): New method.
11480         (updateUI): New method.
11481         (getTableCellRendererComponent): Rewritten with the help of
11482         dvholten and Stephane Meslin-Weber.
11483         (validate): New method.
11484         (repaint): New method.
11485         (firePropertyChange): New method.
11486         (setValue): New method.
11487
11488 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11489
11490         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11491         (connectJObject): Replace printf calls with g_assert statements.
11492         Move property-notify-event signal connection to ...
11493         (connectSignals): Connect property-notify-event signal.  Iterate
11494         through the vbox's children to find layout.
11495
11496 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11497         
11498         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11499         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11500         Predicate static initialization on GtkToolkit.useGraphics2D().
11501         * java/awt/Component.java (processPaintEvent): Consume event.
11502         * javax/swing/AbstractButton.java: Reimplement, document.
11503         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11504         * javax/swing/JComponent.java (paint): Use double buffer.
11505         (listenerList): Enable member.
11506         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11507         * javax/swing/JToggleButton.java 
11508         (JToggleButton): Modify model constructor.
11509         * javax/swing/SwingUtilities.java 
11510         (layoutCompoundLabel): Adjust arithmetic.
11511         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11512         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11513         (getPreferredButtonSize): Include margins in calculation.
11514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11515         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11516         Receive up events from subordinate layout component.
11517
11518 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11519
11520         * java/awt/Component.java (show): Set visible to true before
11521         showing the peer.
11522
11523 2004-01-21  Kim Ho  <kho@redhat.com>
11524
11525         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11526         Fix comments.
11527         (removeMenuBarPeer): Make package private.
11528         (setMenuBarPeer): Make package private.
11529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11530         (menubar_resize_cb): Mark attributes unused.
11531         (getMenuBarHeight): ditto.
11532
11533 2004-01-21  David Jee  <djee@redhat.com>
11534
11535         * java/awt/Container.java
11536         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11537         dispatching MOUSE_ENTERED event twice. Translate the point for
11538         the mouse event target before dispatching the event.
11539
11540 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11541
11542         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11543         lib_org_w3c_dom_la_LDFLAGS): New.
11544         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11545         * Makefile.in: Rebuilt.
11546
11547 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11548
11549         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11550         Calculate proper offsets for heavyweight components packed in
11551         lightweight containers.
11552
11553         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11554         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11555         (native create): Add width parameter.
11556         (create): Calculate text entry width based on current font's
11557         metrics and number of columns.  Set TextField's font if not
11558         already set.  Call native create.
11559         (gtkEntryGetBorderWidth): New native method.
11560         (gtkEntryGetSize): Remove method.
11561         (getMinimumSize): Call minimumSize.
11562         (getPreferredSize): Call preferredSize.
11563         (minimumSize): Calculate minimum size based on backing
11564         GtkEntry's borders, font metrics and number of columns.
11565         (preferredSize): Likewise for preferred size.
11566         (get_border_width): New static function.
11567
11568         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11569         Override GtkWindowPeer's setResizable method to account for menu
11570         bar height when setting the frame's size.
11571
11572 2004-01-19  Matthias Klose  <doko@debian.org>
11573
11574         * libtool-version: Increased `current' to 6.
11575
11576 2004-01-19  Kim Ho  <kho@redhat.com>
11577
11578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11579         (connectJObject): Iterate through the vbox's children to find layout.
11580
11581 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11582
11583         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11584         isDispatchThread method to replace wrong test condition.
11585
11586 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11587
11588         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11589         events to the queue out of order by acquiring locks in the proper
11590         order and not by releasing one before acquiring the other.
11591
11592 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11593
11594         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11595         visible so that dialog can be reused.
11596
11597 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11598
11599         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11600         events may be handled by any queue in the stack.
11601
11602 2004-01-19  Kim Ho  <kho@redhat.com>
11603
11604         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11605         MenuBarPeer parameter.
11606         (removeMenuBarPeer): New native method.
11607         (setMenuBar): Call remove if menu bar is null. Adjust insets
11608         appropriately.
11609         (postSizeAllocateEvent): New method. Called when menu bar size is
11610         allocated. Adjust insets and redo layout.
11611         (GtkFramePeer): Set menu bar during frame creation.
11612         (postConfigureEvent): Adjust position and size to accomodate
11613         menu bar.
11614         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11615         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11616         (addNotify): Create the peer if it doesn't exist and call addNotify
11617         for the menu's items.
11618         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11619         * java/awt/MenuItem.java (addNotify): Create the peer if it
11620         doesn't exist.
11621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11622         (removeMenuBarPeer): New method. Remove menu bar on the current
11623         frame.
11624         (setMenuBarPeer): Add the menu bar to the current frame and the
11625         callback for size-allocate events on the menu bar.
11626         (getMenuBarHeight): Add menu bar parameter.
11627         (menubar_resize_cb): New callback method for postSizeAllocate events.
11628
11629         Also: Fix indentation on last ChangeLog entry.
11630
11631 2004-01-16  Kim Ho  <kho@redhat.com>
11632
11633         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11634         (gtkWidgetGetDimensions): Remove.
11635         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11636         (gtkWidgetGetDimensions): Remove.
11637
11638 2004-01-16  Tom Tromey  <tromey@redhat.com>
11639
11640         * java/awt/Container.java: Typo and indentation fixes.
11641
11642         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11643         * java/lang/natVMClassLoader.cc: ...here.  New file.
11644         * Makefile.in: Rebuilt.
11645         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11646
11647 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11648
11649         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11650         Discard GDK_ENTER_NOTIFY related to ungrabs.
11651
11652 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11653
11654         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11655         is called for an intermediate queue.
11656
11657 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11658
11659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11660         (window_property_changed_cb): Set id_set.
11661
11662 2004-01-16  Kim Ho  <kho@redhat.com>
11663
11664         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11665         it is a FileDialog and has dimensions of 0 by 0, then the initial
11666         size is set to size request plus insets.
11667         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11668         (gtkWidgetGetDimensions): Override method.
11669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11670         (gtkWidgetGetDimensions): Override method. Returns size request plus
11671         insets.
11672
11673 2004-01-16  Andrew Haley  <aph@redhat.com>
11674
11675         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11676         * sysdep/i386/locks.h: Likewise.
11677
11678 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11679
11680         * java/awt/EventDispatchThread.java (run): Stop running when
11681         interrupted.
11682         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11683         Reset the queue after transferring its contents.
11684         (push): Start a new dispatch thread if none is running.
11685
11686 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11687
11688         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11689         (doPolygon): set fill rule of polygon to 
11690         WIND_EVEN_ODD by default.
11691
11692 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11693
11694         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11695         Implemented rendering hints related methods.
11696         (getDefaultHints): New helper method. Returns
11697         default rendering hints.
11698         (walkPath): changed to normalize path if
11699         the KEY_STROKE_CONTROL key is in "normalize" mode.
11700         (draw3DRect): changed coordinates of rectangle by +0.5
11701         if in "normalize" mode.
11702
11703 2004-01-15  Tom Tromey  <tromey@redhat.com>
11704
11705         * Makefile.in: Rebuilt.
11706         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11707         (%.lo: %.java) Filter out StackTrace.lo.
11708
11709 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11710
11711         * configure.in: Add in AC_PREREQ(2.13)
11712         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11713         FIXME comment.
11714
11715 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11716             Tom Tromey  <tromey@redhat.com>
11717
11718         PR libgcj/12001:
11719         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11720         array to superclass.
11721         (init): Changed interface; add URLs here.
11722         (initialize): New static method.
11723         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11724         (_Jv_RunMain): ... not here.
11725
11726 2004-01-14  Michael Koch  <konqueror@gmx.de>
11727
11728         * java/text/MessageFormat.java:
11729         Added descriptions to exceptions.
11730         This fixes PR libgcj/2429.
11731
11732 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11733
11734         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11735         (push): Make sure push is performed at the top of the thread stack.
11736
11737 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11738
11739         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11740         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11741         (native create): Add width and height parameters.  Set text
11742         view's size request according to new parameters.
11743         (create): Calculate text view size based on current font's
11744         metrics and number of rows and columns.  Set TextArea's font if
11745         not already set.  Call native create.
11746         (getMinimumSize): Call minimumSize.
11747         (getPreferredSize): Call preferredSize.
11748         (getHScrollbarHeight): New method.
11749         (getVScrollbarWidth): New method.
11750         (minimumSize): Calculate minimum size based on scrollbar
11751         visibility, scrollbar sizes, font metrics and number of rows and
11752         columns.
11753         (preferredSize): Likewise for preferred size.
11754         (gtkTextGetSize): Remove method.
11755
11756 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11757
11758         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11759         (initializeInsets): Remove method.
11760         (GtkComponentPeer): Initialize insets field.  Remove call to
11761         initializeInsets.
11762         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11763         Remove method.
11764         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11765         Remove method.
11766         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11767         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11768         (latestInsets): Remove field.
11769         (native create): Add insets parameter.  Call
11770         window_get_frame_extents.  Set the window's default size and
11771         size request based on its frame extents.
11772         (create): Initialize insets.
11773         (postInsetsChangedEvent): New method.
11774         (postConfigureEvent): Remove parameters top, left, bottom,
11775         right.  Remove insets-related logic.
11776         (connectJObject): Handle property-notify-event.
11777         (window_get_frame_extents, request_frame_extents,
11778         property_notify_predicate, window_property_changed_cb): New
11779         static functions.
11780         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11781         (pre_event_handler): Remove insets-related logic for configure
11782         events.
11783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11784         Update postConfigureEvent signature.
11785
11786 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11787  
11788         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11789         to handle Window "Closing" events.
11790  
11791 2004-01-13  David Jee  <djee@redhat.com>
11792
11793         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11794         (setBackground): New method. Children with no explicitly-set
11795         background will be repainted with the parent container's new
11796         background color.
11797
11798 2004-01-13  David Jee  <djee@redhat.com>
11799
11800         * Makefile.am: Add BitwiseXORComposite.java.
11801         * Makefile.in: Regenerated.
11802         * gcj/Makefile.in: Regenerated.
11803         * include/Makefile.in: Regenerated.
11804         * testsuite/Makefile.in: Regenerated.
11805
11806 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11807
11808         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11809         not show modal dialogs twice and so that it allows showing a modal
11810         dialog from another modal dialog.
11811
11812 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11813
11814         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11815         and run secondary dispatch thread to process event queue while this
11816         thread is blocked.
11817
11818 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11819
11820         * gnu/java/awt/gtk/GdkGraphics2D.java
11821         (static): Check GtkToolkit before initializing static state.
11822         (Graphics2D): Don't construct transform with 0.5 unit offset.
11823
11824 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11825
11826         * gnu/java/awt/BitwiseXORComposite.java: Add.
11827         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11828         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11829         (BitwiseXORComposite): Remove inner class.
11830
11831 2004-01-11  Michael Koch  <konqueror@gmx.de>
11832
11833         * gnu/java/lang/reflect/TypeSignature.java
11834         (getEncodingOfClass): Documentation fixed.
11835         (getClassForEncoding): Give class loader to Class.forName().
11836         Documentation fixed.
11837
11838 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11839
11840         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11841
11842 2004-01-11  Michael Koch  <konqueror@gmx.de>
11843
11844         * javax/swing/undo/StateEditable.java
11845         (RCSID): Removed redundant modifiers.
11846
11847 2004-01-10  Michael Koch  <konqueror@gmx.de>
11848
11849         * javax/print/attribute/EnumSyntax.java
11850         (getStringTable): Made protected.
11851         (getEnumValueTable): Likewise.
11852         * javax/print/attribute/standard/JobKOctetsProcessed.java
11853         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11854         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11855         (JobMediaSheetsCompleted): Made class final.
11856         * javax/print/attribute/standard/OutputDeviceAssigned.java
11857         (getName): Fixed typo.
11858         * javax/print/attribute/standard/RequestingUserName.java
11859         (serialVersionUID): Fixed value.
11860
11861 2004-01-10  Michael Koch  <konqueror@gmx.de>
11862
11863         * javax/swing/plaf/basic/BasicButtonUI.java,
11864         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11865         javax/swing/plaf/basic/BasicListUI.java,
11866         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11867         javax/swing/plaf/basic/BasicPanelUI.java,
11868         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11869         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11870         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11871         javax/swing/plaf/basic/BasicViewportUI.java:
11872         Fixed import statements.
11873
11874 2004-01-10  Michael Koch  <konqueror@gmx.de>
11875
11876         * gnu/java/awt/image/ImageDecoder.java
11877         (produce): Made public.
11878         * gnu/java/awt/peer/GLightweightPeer.java,
11879         gnu/java/awt/peer/gtk/GtkToolkit.java:
11880         Reformated.
11881
11882 2004-01-10  Michael Koch  <konqueror@gmx.de>
11883
11884         * javax/swing/JRadioButtonMenuItem.java,
11885         javax/swing/JSeparator.java,
11886         javax/swing/JSplitPane.java,
11887         javax/swing/JTextPane.java,
11888         javax/swing/JToolBar.java,
11889         javax/swing/ListCellRenderer.java,
11890         javax/swing/ListModel.java,
11891         javax/swing/MenuElement.java,
11892         javax/swing/OverlayLayout.java,
11893         javax/swing/ProgressMonitor.java,
11894         javax/swing/ProgressMonitorInputStream.java,
11895         javax/swing/Renderer.java,
11896         javax/swing/RootPaneContainer.java,
11897         javax/swing/Scrollable.java,
11898         javax/swing/SingleSelectionModel.java,
11899         javax/swing/ToolTipManager.java,
11900         javax/swing/ViewportLayout.java,
11901         javax/swing/event/DocumentEvent.java,
11902         javax/swing/event/SwingPropertyChangeSupport.java,
11903         javax/swing/event/TreeSelectionEvent.java,
11904         javax/swing/event/UndoableEditEvent.java,
11905         javax/swing/text/AbstractDocument.java,
11906         javax/swing/text/AttributeSet.java,
11907         javax/swing/text/Caret.java,
11908         javax/swing/text/ComponentView.java,
11909         javax/swing/text/DefaultCaret.java,
11910         javax/swing/text/DefaultEditorKit.java,
11911         javax/swing/text/Document.java,
11912         javax/swing/text/EditorKit.java,
11913         javax/swing/text/GapContent.java,
11914         javax/swing/text/Keymap.java,
11915         javax/swing/text/MutableAttributeSet.java,
11916         javax/swing/text/PlainEditorKit.java,
11917         javax/swing/text/Segment.java,
11918         javax/swing/text/Style.java,
11919         javax/swing/text/StyledDocument.java,
11920         javax/swing/text/StyledEditorKit.java,
11921         javax/swing/text/TextAction.java,
11922         javax/swing/text/View.java: Fixed import statements.
11923
11924 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11925
11926         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11927         djee@redhat.com's recent inverse ordering of Container elements.
11928
11929 2004-01-09  Michael Koch  <konqueror@gmx.de>
11930
11931         * gnu/java/lang/ArrayHelper.java
11932         (equalsArray): Removed.
11933
11934 2004-01-09  Andrew Haley  <aph@redhat.com>
11935
11936         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11937         a Utf8Const field before looking at its class.
11938
11939 2004-01-09  Michael Koch  <konqueror@gmx.de>
11940
11941         * javax/print/attribute/standard/DocumentName.java,
11942         javax/print/attribute/standard/JobHoldUntil.java,
11943         javax/print/attribute/standard/JobMessageFromOperator.java,
11944         javax/print/attribute/standard/JobName.java,
11945         javax/print/attribute/standard/JobOriginatingUserName.java,
11946         javax/print/attribute/standard/OutputDeviceAssigned.java,
11947         javax/print/attribute/standard/PrinterInfo.java,
11948         javax/print/attribute/standard/PrinterLocation.java,
11949         javax/print/attribute/standard/PrinterMakeAndModel.java,
11950         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11951         javax/print/attribute/standard/PrinterName.java,
11952         javax/print/attribute/standard/RequestingUserName.java: New files.
11953         * Makefile.am (javax_source_files): Added new files.
11954         * Makefile.in: Regenerated.
11955
11956 2004-01-09  Michael Koch  <konqueror@gmx.de>
11957
11958         * javax/swing/AbstractAction.java,
11959         javax/swing/AbstractSet.java,
11960         javax/swing/Action.java,
11961         javax/swing/ActionMap.java,
11962         javax/swing/BoundedRangeModel.java,
11963         javax/swing/ButtonModel.java,
11964         javax/swing/CellEditor.java,
11965         javax/swing/CellRendererPane.java,
11966         javax/swing/ComboBoxEditor.java,
11967         javax/swing/DebugGraphics.java,
11968         javax/swing/DefaultCellEditor.java,
11969         javax/swing/DefaultCellRenderer.java,
11970         javax/swing/DefaultComboBoxModel.java,
11971         javax/swing/DefaultDesktopManager.java,
11972         javax/swing/DefaultFocusManager.java,
11973         javax/swing/DefaultListCellRenderer.java,
11974         javax/swing/Icon.java,
11975         javax/swing/JButton.java,
11976         javax/swing/JCheckBoxMenuItem.java,
11977         javax/swing/JDesktopPane.java,
11978         javax/swing/JEditorPane.java,
11979         javax/swing/JMenu.java,
11980         javax/swing/JPanel.java,
11981         javax/swing/JPasswordField.java,
11982         javax/swing/JPopupMenu.java,
11983         javax/swing/JProgressBar.java: Reworked imports.
11984
11985 2004-01-09  Michael Koch  <konqueror@gmx.de>
11986
11987         * java/awt/geom/PathIterator.java
11988         (WIND_EVEN_ODD): Removed redundant modifiers.
11989         (WIND_NON_ZERO): Likewise.
11990         (SEG_MOVETO): Likewise.
11991         (SEG_LINETO): Likewise.
11992         (SEG_QUADTO): Likewise.
11993         (SEG_CUBICTO): Likewise.
11994         (SEG_CLOSE): Likewise.
11995         * java/awt/image/SinglePixelPackedSampleModel.java:
11996         Removed redundant semicolon.
11997         * java/io/ObjectInputStream.java
11998         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11999         * java/util/logging/Filter.java
12000         (isLoggable): Removed redundant modifier.
12001         * java/util/logging/LogManager.java:
12002         Removed redundant semicolon.
12003         * java/util/logging/XMLFormatter.java
12004         (format): Removed unused variable "key".
12005
12006 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
12007
12008         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12009         New name for the former setFile native method.
12010         (setFile): New method.
12011         (setDirectory): Implemented.
12012         (connectSignals): New native method.
12013         (setFilenameFilter): Improve comment.
12014         (getGraphics): Comment.
12015         (gtkHideFileDialog): New method.
12016         (gtkDisposeFileDialog): New method.
12017         (gtkSetFilename): New method.
12018         * java/awt/Dialog.java (show): Block on modal dialogs, but only
12019         for FileDialog for now.
12020         (hide): New method.
12021         (dispose): New method.
12022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12023         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12024         deprecated creation functions.  Make dialog modal.  Add it to the
12025         window group.
12026         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12027         function.
12028         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12029         Rename to...
12030         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12031         name.
12032         (window_closed): New function.
12033         (ok_clicked): New function.
12034         (cancel_clicked): New function.
12035
12036 2004-01-08  Michael Koch  <konqueror@gmx.de>
12037
12038         * javax/swing/JLayeredPane.java: Revert changes to standard
12039         boilerplate, reworked imports.
12040
12041 2004-01-07  Tom Tromey  <tromey@redhat.com>
12042
12043         PR libgcj/13439:
12044         * verify.cc (state::merge): Copy changed locals out of subroutine
12045         in NO_STACK case.
12046         (state::FLAG_CHANGED): New const.
12047         (state::FLAG_UNUSED): Likewise.
12048         (state::local_changed): Removed.  Updated all users.
12049         (state::flags): New field.
12050         (state::merge): Added jsr_semantics argument, more logic.
12051         (push_jump_merge): Added jsr_semantics argument.
12052         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12053         merging through the jsr instruction.
12054
12055 2004-01-07  Tom Tromey  <tromey@redhat.com>
12056
12057         * scripts/MakeDefaultMimeTypes.java: Use \n, not
12058         backslash-newline.
12059
12060 2004-01-07  Graydon Hoare  <graydon@redhat.com>
12061
12062         * java/awt/Container.java (LightweightDispatcher): Implement.
12063         (visitChild): Reuse graphics object.
12064         (dispatchEventImpl): Optionally dispatch to lightweight.
12065         (addNotifyContainerChildren): Build LightweightDispatcher.
12066
12067 2004-01-07  David Jee  <djee@redhat.com>
12068
12069         * java/awt/Container.java
12070         (update): Clear only the clipped region, instead of clearing the
12071         entire Container.
12072         (visitChildren): Visit children in descending order.
12073
12074 2004-01-07  Michael Koch  <konqueror@gmx.de>
12075
12076         * java/lang/reflect/Array.java: Merged documentation with classpath.
12077
12078 2004-01-07  Michael Koch  <konqueror@gmx.de>
12079
12080         * java/text/CollationElementIterator.java
12081         (textIndex): Renamed from index.
12082         * java/text/CollationKey.java
12083         (collator): New member.
12084         (CollationKey): New argument for parent collator.
12085         (equals): Check for same collator, source string and key array.
12086         * java/text/RuleBasedCollator.java:
12087         Reformated.
12088         (RuleBasedCollator): Don't re-initialize frenchAccents with default
12089         value.
12090         (getCollationElementIterator): Rewritten.
12091         (getCollationKey): Added new argument to CollationKey constructor.
12092
12093 2004-01-07  Michael Koch  <konqueror@gmx.de>
12094
12095         * gnu/java/nio/DatagramChannelImpl.java
12096         (blocking): Removed.
12097         (DatagramChannelImpl): Call configureBlocking().
12098         (implConfigureBlocking): Dont initialize blocking.
12099         * gnu/java/nio/ServerSocketChannelImpl.java
12100         (blocking): Removed.
12101         (ServerSocketChannelImpl): Call configureBlocking().
12102         (implConfigureBlocking): Dont initialize blocking.
12103         * gnu/java/nio/SocketChannelImpl.java
12104         (blocking): Removed.
12105         (SocketChannelImpl): Call configureBlocking().
12106         (implConfigureBlocking): Dont initialize blocking.
12107         (connect): Use isBlocking().
12108         * java/nio/channels/spi/AbstractSelectableChannel.java
12109         (configureBlocking): Use blockingLock() instead of LOCK.
12110         Set blocking after successfully called implConfigureBlocking().
12111         (register): Use blockingLock() instead of LOCK.
12112
12113 2004-01-07  Michael Koch  <konqueror@gmx.de>
12114
12115         * java/net/ServerSocket.java (isBound): Fixed documentation.
12116
12117 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
12118
12119         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12120         (changeEvent): Create event object on demand.
12121         (DefaultBoundedRangeModel, toString, setValue, setExtent,
12122         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12123         fireStateChanged): Re-written.
12124         * javax/swing/event/EventListenerList.java: Reformatted, document
12125         typical usage.
12126         (toString): Implemented.
12127         (getListeners): Re-written.
12128         (remove): Re-written.
12129         (add): Re-written.
12130         (NO_LISTENERS): New singleton field.
12131         (listenerList): Declare as transient; document.
12132         (serialVersionUID): Document.
12133         (getListenerCount(Class)): More efficient implementation,
12134         also accepts null argument.  Improve Javadoc.
12135         (getListenerCount()): Remove unnecessary cast; docfix.
12136         * javax/swing/undo/UndoableEditSupport.java:
12137         Re-format, document.
12138         (UndoableEditSupport): Set realSource field. Improve documentation.
12139         (_postEdit): Iterate over cloned listener vector.
12140         (toString): Don't emit realSource.
12141         (beginUpdate, endUpdate): Support nested updates.
12142         (postEdit): Use compound edit if present.
12143
12144 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12145
12146         * java/awt/Container.java (swapComponents): Add forgotten
12147         function, required for JLayeredPane change.
12148
12149 2004-01-06  Michael Koch  <konqueror@gmx.de>
12150
12151         * java/text/CollationElementIterator.java: Reformated.
12152         (CollationElementIterator): Changed order of arguments.
12153         * java/text/RuleBasedCollator.java
12154         (RuleBasedCollator): Merged class documentation.
12155         (CollationElement): Added documentation.
12156         (compare): Reformated, renamed arguments.
12157         (equals): Likewise.
12158         (getCollationElementIterator): Likewise.
12159         (getCollationKey): Likewise.
12160
12161 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12162
12163         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12164
12165 2004-01-06  Michael Koch  <konqueror@gmx.de>
12166
12167         * gnu/java/net/protocol/file/Connection.java:
12168         Reformated copyright.
12169         (hdrHash): Removed.
12170         (hdrVec): Removed.
12171         (gotHeaders): Removed.
12172         (getHeaderField): Removed.
12173         (getHeaderField): Removed.
12174         (getHeaderFieldKey): Removed.
12175         (getKey): Removed.
12176         (getField): Removed.
12177         (getHeaders): Removed.
12178
12179 2004-01-06  Michael Koch  <konqueror@gmx.de>
12180
12181         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12182         javax/print/attribute/standard/DateTimeAtCreation.java,
12183         javax/print/attribute/standard/DateTimeAtProcessing.java,
12184         javax/print/attribute/standard/JobImpressionsCompleted.java,
12185         javax/print/attribute/standard/JobKOctets.java,
12186         javax/print/attribute/standard/JobKOctetsProcessed.java,
12187         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12188         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12189         * Makefile.am (javax_source_files): Added new files.
12190         * Makefile.in: Regenerated.
12191
12192 2004-01-06  Michael Koch  <konqueror@gmx.de>
12193
12194         * java/net/URLConnection.java
12195         (contentHandler): Removed.
12196         (locale): Removed.
12197         (getHeaderFields): Return an empty map instead of null.
12198         (getContent): Connect if needed, renamed "cType" to "type" and
12199         "contentHandler" to "ch" and made it a local variable.
12200         (getPermission): Don't use package in class name.
12201         (setDefaultRequestProperty): Fixed typo in documentation.
12202         (initializeDateFormats): Made locale a local variable.
12203
12204 2004-01-06  Michael Koch  <konqueror@gmx.de>
12205
12206         * java/lang/Package.java
12207         (getPackage): Get the current class loader directly.
12208         * java/lang/SecurityManager.java
12209         (currentLoadedClass): Dont iterate over class contexts.
12210         (classLoaderDepth): Don't check class loaders if everything is allowed.
12211
12212 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12213
12214         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12215         (pre_event_handler): Set all insets to 0 when a Configure event
12216         is received for a GtkPlug.
12217         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12218         Make handle long, not int.
12219         (EmbeddedWindow()): New constructor.
12220         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12221         long, not int.
12222         (setHandle): New method.
12223         (getHandle): Return long, not int.
12224         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12225         declaration.
12226         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12227         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12228         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12229         argument to GdkNativeWindow.
12230         (construct): New method.
12231         (embed): New method.
12232
12233         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12234         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12235         (create(int, int)): New method.
12236         (create): Call new create method.
12237         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12238         methods.
12239         (childResized): Remove native implementation.  Implement in
12240         Java.
12241         (getHScrollbarHeight, getVScrollbarWidth): Call
12242         gtk_widget_size_request to get scrollbar dimensions.
12243         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12244         call getVScrollbarWidth and getHScrollbarHeight when vertical
12245         and horizontal scrollbars respectively are needed.
12246         (doLayout): Enlarge child if it is smaller than the viewport.
12247
12248 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12249
12250         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12251         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12252         argument as per spec.
12253
12254 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12255
12256         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12257         (insert): Ditto.
12258         (remove): Ditto.  Also, Check for valid argument.
12259         (removeAll): Use peer interface method.
12260         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12261         native add function.
12262         (nativeRemove): New name for native remove function.
12263         (getHistory): New native function.
12264         (constructor): Generate ItemEvent.
12265         (add): Ditto, if selection is changed.
12266         (remove): Ditto, ditto.
12267         (removeAll): Add implementation.
12268         (handleEvent): Remove.  Dead code.
12269         (choicePostItemEvent): Add comment.
12270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12271         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12272         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12273         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12274         comments and fix condition to change selection.
12275         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12276         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12277         remove all capability.
12278         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12279         (item_activate): Add cast to remove compiler warning.
12280
12281 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12282
12283         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12284         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12285         (getPreferredSize): Call preferredSize.
12286         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12287         (getMinimumSize): Call minimumSize.
12288         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12289         (gtkWidgetGetDimensions): Return the peer widget's current size
12290         request.
12291         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12292         natural size request.
12293
12294 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12295
12296         Thanks to Brian Gough <bjg@network-theory.com>
12297         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12298         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12299
12300 2004-01-04  Matthias Klose  <doko@debian.org>
12301
12302         * aclocal.m4: Rebuilt using "aclocal -I .".
12303         * configure: Rebuilt.
12304
12305 2004-01-03  Per Bothner  <per@bothner.com>
12306
12307         * java/util/Date.java (parse):  Fix a number of problems.
12308         (skipParens):  Remove no-longer-needed method.
12309