OSDN Git Service

2004-11-17 Michael Koch <konqueror@gmx.de>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-17  Michael Koch  <konqueror@gmx.de>
2
3         *  java/nio/DirectByteBufferImpl.java
4         (owner): Updated comment.
5         (allocate): New method.
6
7 2004-11-17  Michael Koch  <konqueror@gmx.de>
8
9         * java/net/URL.java (URL): Handle case when argument is null.
10
11 2004-11-17  Michael Koch  <konqueror@gmx.de>
12
13         * java/beans/Beans.java,
14         java/beans/PropertyChangeEvent.java,
15         java/beans/PropertyEditorSupport.java:
16         Fixed javadocs.
17
18 2004-11-17  Michael Koch  <konqueror@gmx.de>
19
20         * java/util/Timer.java (DEFAULT_SIZE): Made static.
21
22 2004-11-17  Michael Koch  <konqueror@gmx.de>
23
24         * java/net/InetAddress.java (getCanonicalHostName):
25         Support IPv6 addresses.
26
27 2004-11-16  Michael Koch  <konqueror@gmx.de>
28
29         * java/lang/Object.java: Added javadocs all over (merged from GNU
30         classpath).
31
32 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
33
34         * java/security/Security.java (Security): Silence the warning about no
35         providers found in the no debug case.
36
37 2004-11-16  Michael Koch  <konqueror@gmx.de>
38
39         * java/net/InetAddress.java
40         (toString): Merged from GNU classpath.
41
42 2004-11-16  Michael Koch  <konqueror@gmx.de>
43
44         * java/awt/geom/doc-files/Area-1.png,
45         java/awt/geom/doc-files/Ellipse-1.png,
46         java/awt/geom/doc-files/GeneralPath-1.png:
47         New files.
48
49 2004-11-16  Michael Koch  <konqueror@gmx.de>
50
51         * java/util/Currency.java (cache): Fix modifier order.
52
53 2004-11-16  Michael Koch  <konqueror@gmx.de>
54
55         * java/io/BufferedReader.java,
56         java/io/FileInputStream.java,
57         java/io/FileOutputStream.java,
58         java/io/FileWriter.java,
59         java/io/OutputStreamWriter.java,
60         java/io/PipedInputStream.java,
61         java/io/PipedOutputStream.java,
62         java/io/PipedReader.java,
63         java/io/PipedWriter.java,
64         java/io/PrintStream.java,
65         java/io/PushbackInputStream.java,
66         java/io/RandomAccessFile.java,
67         java/io/Reader.java,
68         java/io/StreamTokenizer.java,
69         java/io/StringReader.java,
70         java/net/NetworkInterface.java,
71         java/net/URLClassLoader.java,
72         java/nio/ByteOrder.java,
73         java/nio/channels/Channel.java:
74         Fixed javadocs all over.
75
76 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
77
78         * Makefile.am: Add imported files.
79         * Makefile.in: Regenerate.
80
81         2004-10-24  Casey Marshall  <csm@gnu.org>
82
83         * javax/security/auth/login/LoginContext.java: Implemented.
84         * javax/security/auth/login/Configuration.java (getConfig): New method.
85         * javax/security/auth/spi/LoginModule.java,
86         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
87
88 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
89
90         Import/Merge the X.509 certificate code from Classpath.
91
92         * Makefile.am: Add imported files.
93         * Makefile.in: Regenerate.
94
95         2004-11-07  Casey Marshall  <csm@gnu.org>
96
97         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
98         priviliged action. Add new algorithms.
99         * gnu/java/security/provider/X509CertificateFactory.java
100         (engineGenerateCertificate): Chain exceptions.
101         (engineGenerateCertificates): Likewise.
102         (engineGenerateCRL): Likewise.
103         (engineGenerateCRLs): Likewise.
104         (engineGenerateCertPath): New methods.
105         (generateCert): Throw exception if 'inStream' is null.
106         (generateCRL): Likewise.
107         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
108         version from GNU Crypto CVS.
109         * gnu/java/security/x509/X509CRL.java: Likewise.
110         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
111         * gnu/java/security/x509/X509Certificate.java: Likewise.
112         * java/security/cert/TrustAnchor.java: Call 'toString' and not
113         toRFC2253.
114         * gnu/java/security/provider/CollectionCertStoreImpl.java,
115         * gnu/java/security/provider/EncodedKeyFactory.java,
116         * gnu/java/security/provider/GnuDHPublicKey.java,
117         * gnu/java/security/provider/GnuRSAPrivateKey.java,
118         * gnu/java/security/provider/GnuRSAPublicKey.java,
119         * gnu/java/security/provider/MD2withRSA.java,
120         * gnu/java/security/provider/MD4withRSA.java,
121         * gnu/java/security/provider/MD5withRSA.java,
122         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
123         * gnu/java/security/provider/RSA.java,
124         * gnu/java/security/provider/RSAKeyFactory.java,
125         * gnu/java/security/provider/SHA1withRSA.java,
126         * gnu/java/security/x509/GnuPKIExtension.java,
127         * gnu/java/security/x509/PolicyNodeImpl.java,
128         * gnu/java/security/x509/Util.java,
129         * gnu/java/security/x509/X509CRLSelectorImpl.java,
130         * gnu/java/security/x509/X509CertPath.java,
131         * gnu/java/security/x509/X509CertSelectorImpl.java,
132         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
133         * gnu/java/security/x509/ext/BasicConstraints.java,
134         * gnu/java/security/x509/ext/CRLNumber.java,
135         * gnu/java/security/x509/ext/CertificatePolicies.java,
136         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
137         * gnu/java/security/x509/ext/Extension.java,
138         * gnu/java/security/x509/ext/GeneralNames.java,
139         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
140         * gnu/java/security/x509/ext/KeyUsage.java,
141         * gnu/java/security/x509/ext/PolicyConstraint.java,
142         * gnu/java/security/x509/ext/PolicyMappings.java,
143         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
144         * gnu/java/security/x509/ext/ReasonCode.java,
145         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
146         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
147
148         2004-11-07  Casey Marshall  <csm@gnu.org>
149
150         * gnu/java/security/x509/X509CRL.java:
151         Missed import statements in previous checkin.
152
153         2004-11-07  Casey Marshall  <csm@gnu.org>
154
155         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
156         to 'X509CertificateImpl' from previous checkin.
157
158 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
159
160         PR other/14264
161         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
162
163 2004-11-11  Casey Marshall  <csm@gnu.org>
164
165         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
166         channel is open.
167         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
168         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
169
170 2004-11-11  Robert Schuster <thebohemian@gmx.net>
171
172         Fixed regression:
173         * gnu/java/beans/IntrospectionIncubator.java:
174         (addMethod): Corrected classification of normal and property methods.
175         (capitalize): Added documentation.
176         (DoubleKey): [class] Added documentation.
177
178 2004-11-09  Tom Tromey  <tromey@redhat.com>
179
180         * include/jni.h: Added FIXME.
181
182 2004-11-08  Tom Tromey  <tromey@redhat.com>
183
184         * java/util/GregorianCalendar.java: Removed unused imports.
185         * java/util/Vector.java: Removed unused import.
186
187 2004-11-07  Michael Koch  <konqueror@gmx.de>
188
189         * java/lang/Process.java:
190         Import cleanups.
191
192 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
193
194         * java/util/zip/ZipEntry.java
195         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
196
197 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
198
199         Fixes bug #10908
200         * gnu/java/beans/IntrospectionIncubator.java:
201         (addMethod): static methods are discarded now, too.
202
203 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
204
205         * java/util/GregorianCalendar.java
206         Added/amended documentation.
207
208 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
209
210         * java/util/Collections.java
211         Added documentation.
212         * java/util/SortedMap.java
213         Clarified some method examples.
214         * java/util/SortedSet.java
215         Clarified some method examples.
216
217 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
218
219         * java/util/Currency.java
220         Documented variables and methods more fully.
221         Caches the currency instances, so that a request
222         for a locale, l, only ever returns the same
223         instance (i.e. successive calls to getInstance(l)
224         are reference equivalent (==)).
225
226 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
227
228         * java/util/Date.java
229         Added missing documentation.
230
231 2004-11-06  Michael Koch  <konqueror@gmx.de>
232
233         * java/util/zip/CheckedInputStream.java,
234         java/util/zip/InflaterInputStream.java,
235         java/util/zip/ZipFile.java,
236         java/util/zip/ZipInputStream.java:
237         Import cleanups.
238
239 2004-11-06  Tom Tromey  <tromey@redhat.com>
240
241         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
242         package-private.
243         (connections): Likewise.
244         (scavenger): Likewise.
245         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
246         package-private.
247         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
248         package-private.
249         (ptr): Likewise.
250         * gnu/classpath/ServiceFactory.java (log): Now package-private.
251
252 2004-11-06  Tom Tromey  <tromey@redhat.com>
253
254         * javax/naming/directory/BasicAttributes.java (attributes): Now
255         package-private.
256         * javax/imageio/spi/ServiceRegistry.java (categories): Now
257         package-private.
258
259 2004-11-06  Tom Tromey  <tromey@redhat.com>
260
261         * java/net/URLClassLoader.java (URLClassLoader): Now
262         package-private.
263         * java/nio/charset/CoderResult.java (CoderResult): Now
264         package-private.
265         (get): Likewise.
266         (Cache): Likewise.  Don't synchronize on `this'.
267         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
268         package-private.
269         * java/util/TimeZone.java (timezones): Now package-private.
270
271 2004-11-06  Tom Tromey  <tromey@redhat.com>
272
273         * java/security/Permissions.java (perms): Now package-private.
274         * java/security/UnresolvedPermission.java (permissions): Now
275         package-private.
276
277 2004-11-06  Tom Tromey  <tromey@redhat.com>
278
279         * java/io/FilePermission.java: Reindented.
280
281 2004-11-06  Tom Tromey  <tromey@redhat.com>
282
283         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
284         package-private.
285         (setBlockDataMode): Likewise.
286
287 2004-11-06  Tom Tromey  <tromey@redhat.com>
288
289         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
290         package-private.
291         (Encoder): Likewise.
292         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
293         (Encoder): Likewise.
294         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
295         package-private.
296         (Encoder): Likewise.
297
298 2004-11-06  Mark Wielaard  <mark@klomp.org>
299
300         * Makefile.am: Add new javax.imageio files.
301         * Makefile.in: Regenerated.
302
303 2004-11-06  Michael Koch  <konqueror@gmx.de>
304
305         * javax/imageio/event/IIOReadProgressListener.java,
306         javax/imageio/event/IIOReadUpdateListener.java,
307         javax/imageio/event/IIOReadWarningListener.java,
308         javax/imageio/event/IIOWriteProgressListener.java,
309         javax/imageio/event/IIOWriteWarningListener.java,
310         javax/imageio/metadata/IIOMetadataFormat.java,
311         javax/imageio/stream/FileCacheImageInputStream.java,
312         javax/imageio/stream/FileCacheImageOutputStream.java,
313         javax/imageio/stream/ImageInputStreamImpl.java:
314         Import cleanup.
315         * javax/imageio/metadata/package.html: New file.
316
317 2004-11-06  Michael Koch  <konqueror@gmx.de>
318
319         * javax/imageio/spi/ImageReaderSpi.java
320         (isOwnReader): New method.
321         * javax/imageio/spi/ImageWriterSpi.java
322         (isOwnWriter): Likewise.
323
324 2004-11-06  Michael Koch  <konqueror@gmx.de>
325
326         * javax/imageio/ImageWriter.java
327         (convertImageMetadata): New abstract method.
328         (convertStreamMetadata): Likewise.
329         (write): Likewise.
330         * javax/imageio/stream/FileCacheImageInputStream.java
331         (close): Fixed setting of stream to null.
332         (checkStreamClosed): Throws IOException.
333
334 2004-11-06  Michael Koch  <konqueror@gmx.de>
335
336         * javax/imageio/stream/FileCacheImageInputStream.java,
337         javax/imageio/stream/FileCacheImageOutputStream.java,
338         javax/imageio/stream/FileImageInputStream.java,
339         javax/imageio/stream/FileImageOutputStream.java,
340         javax/imageio/stream/MemoryCacheImageInputStream.java,
341         javax/imageio/stream/MemoryCacheImageOutputStream.java:
342         New files.
343
344 2004-11-06  Michael Koch  <konqueror@gmx.de>
345
346         * javax/imageio/metadata/IIOInvalidTreeException.java,
347         javax/imageio/metadata/IIOMetadataFormatImpl.java,
348         javax/imageio/metadata/IIOMetadataNode.java:
349         New stub files.
350
351 2004-11-06  Michael Koch  <konqueror@gmx.de>
352
353         * javax/imageio/stream/ImageInputStreamImpl.java,
354         javax/imageio/stream/ImageOutputStreamImpl.java:
355         New files.
356
357 2004-11-06  Michael Koch  <konqueror@gmx.de>
358
359         * javax/imageio/ImageIO.java:
360         Added much new methods.
361
362 2004-11-06  Michael Koch  <konqueror@gmx.de>
363
364         * javax/imageio/ImageReader.java,
365         javax/imageio/ImageWriter.java,
366         javax/imageio/spi/ImageWriterSpi.java:
367         Add SOME new methods.
368
369 2004-11-06  Michael Koch  <konqueror@gmx.de>
370
371         * javax/imageio/IIOParam.java,
372         javax/imageio/ImageReadParam.java,
373         javax/imageio/ImageReader.java,
374         javax/imageio/ImageWriter.java:
375         Mostly implemented.
376         * javax/imageio/spi/ImageReaderSpi.java,
377         javax/imageio/spi/ImageWriterSpi.java:
378         New files.
379
380 2004-11-06  Michael Koch  <konqueror@gmx.de>
381
382         * javax/imageio/ImageWriteParam.java,
383         javax/imageio/metadata/IIOMetadataFormat.java:
384         Implemented.
385
386 2004-11-06  Michael Koch  <konqueror@gmx.de>
387
388         * javax/imageio/ImageTypeSpecifier.java:
389         Mostly implemented.
390
391 2004-11-06  Michael Koch  <konqueror@gmx.de>
392
393         * javax/imageio/metadata/IIOMetadata.java:
394         Mostly implemented.
395
396 2004-11-06  Michael Koch  <konqueror@gmx.de>
397
398         * javax/imageio/IIOImage.java,
399         javax/imageio/ImageReadParam.java,
400         javax/imageio/metadata/IIOMetadataController.java,
401         javax/imageio/metadata/IIOMetadataFormat.java:
402         New files.
403         * javax/imageio/stream/ImageOutputStream.java:
404         Implemented.
405
406 2004-11-06  Michael Koch  <konqueror@gmx.de>
407
408         * javax/imageio/IIOParam.java,
409         javax/imageio/IIOParamController.java,
410         javax/imageio/ImageTypeSpecifier.java,
411         javax/imageio/ImageWriteParam.java,
412         javax/imageio/metadata/IIOMetadata.java:
413         New files.
414         * javax/imageio/ImageTranscoder.java:
415         Implemented.
416
417 2004-11-06  Michael Koch  <konqueror@gmx.de>
418
419         * javax/imageio/spi/ImageInputStreamSpi.java,
420         javax/imageio/spi/ImageOutputStreamSpi.java:
421         Reworked import startments.
422         * javax/imageio/spi/ServiceRegistry.java:
423         Reworked import startments. Fixed XHTML in javadocs.
424         (ServiceRegistry): Added @param tag to javadoc.
425         * javax/imageio/stream/ImageInputStream.java
426         (mark): Doesn't throws IOException;
427
428 2004-11-06  Michael Koch  <konqueror@gmx.de>
429
430         * javax/imageio/ImageIO.java:
431         New file.
432
433 2004-11-06  Michael Koch  <konqueror@gmx.de>
434
435         * javax/imageio/spi/IIORegistry.java
436         (static): Don't register ImageReaderSpi.class and
437         ImageWriterSpi.class yet.
438
439 2004-11-06  Michael Koch  <konqueror@gmx.de>
440
441         * javax/imageio/spi/IIORegistry.java:
442         New file.
443
444 2004-11-06  Noa Resare  <noa@resare.com>
445
446         * java/net/Socket.java (getPort): Return 0 instead of -1 on
447         unconnected sockets.
448
449 2004-11-06  Michael Koch  <konqueror@gmx.de>
450
451         * java/lang/StringBuffer.java,
452         java/lang/Throwable.java,
453         java/security/spec/DSAParameterSpec.java,
454         java/util/zip/ZipEntry.java,
455         java/util/zip/ZipFile.java,
456         java/util/zip/ZipInputStream.java,
457         java/util/zip/ZipOutputStream.java:
458         Removed redundant and reordered modifiers.
459
460 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
461
462         * java/io/Vector.java
463         (writeObject): New function to serialized output thread safe.
464
465         * java/io/ObjectOutputStream.java
466         (writeObject): Move the assignment of the class handle to after
467         the assignment of class descriptor handle.
468
469 2004-11-06  Robert Schuster <thebohemian@gmx.net>
470
471         Fixes documentation and indentation
472         * java/beans/PropertyEditorSupport.java:
473         reworked initial API doc
474         (value): changed name from val
475
476 2004-11-06  Robert Schuster <thebohemian@gmx.net>
477
478         Updates to 1.5
479         * java/beans/PropertyEditorSupport.java
480         (PropertyEditorSupport()): Changed modifier to public
481         (PropertyEditorSupport(Object): Changed modifier to public
482         (setSource): New method
483         (getSource): New method
484
485 2004-11-06  Robert Schuster <thebohemian@gmx.net>
486
487         Fixes bug #10799
488         * java/beans/PropertyEditorSupport.java
489         (setValue): Fire property change event
490
491 2004-11-03  Tom Tromey  <tromey@redhat.com>
492
493         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
494         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
495         returns jobjectArray.
496         (_Jv_JNIEnv::NewObjectArray): Likewise.
497
498 2004-11-01  Tom Tromey  <tromey@redhat.com>
499
500         * verify.cc (state::check_no_uninitialized_objects): Removed.
501         (push_jump): Updated.
502         (push_exception_jump): Likewise.
503         (handle_ret_insn): Likewise.
504         (handle_jsr_insn): Likewise.
505
506 2004-10-30  Mark Wielaard  <mark@klomp.org>
507
508         PR libgcj/18234
509         * java/lang/Runtime.java (static): Call init().
510         (Runtime): Remove call to init().
511         (init): Make static.
512
513 2004-10-28  David Daney  <ddaney@avtrex.com>
514
515         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
516         * Makefile.am: Build it.
517         * Makefile.in: Regenerate.
518
519 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
520
521         PR libgcj/18104
522         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
523         colon.
524         * Makefile.in: Regenerate.
525         * configure: Regenerate.
526         * configure.ac (CLASSPATH_SEPARATOR): Define.
527         * gcj/Makefile.in: Regenerate.
528         * include/Makefile.in: Regenerate.
529         * testsuite/Makefile.in: Regenerate.
530         * testsuite/lib/libjava.exp (libjava_arguments): Fix
531         CLASSPATH separator handling for Windows.
532
533 2004-10-26  Michael Koch  <konqueror@gmx.de>
534
535         * gnu/java/net/protocol/http/Connection.java
536         (getOutputStream): Implicitely switch to POST method.
537
538 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
539
540         * libjava/java/lang/Class.h
541         (java::lang::Class): Correct friend class declaration.
542
543 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
544
545         * Makefile.am (DARWIN_CRT_SRC): New.
546         (libgcj_la_SOURCES): Use it.
547         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
548         * darwin.cc: New file.
549         * include/jvm.h (_Jv_RegisterClasses): Constify.
550         (_Jv_RegisterClasses_Counted): New prototype.
551         * java/lang/Class.h: Include stddef.h.  
552         (_Jv_RegisterClasses): Constify.
553         (_Jv_RegisterClasses_Counted): New prototype.
554         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
555         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
556         (_Jv_RegisterClasses_Counted): New function.
557         * configure: Regenerate.
558         * Makefile.in: Regenerate.
559         * gcj/Makefile.in: Regenerate.
560         * include/Makefile.in: Regenerate.
561         * testsuite/Makefile.in: Regenerate.
562
563 2004-10-25  Tom Tromey  <tromey@redhat.com>
564
565         * java/util/ResourceBundle.java (tryBundle): Use
566         Class.isAssignableFrom rather than catching ClassCastException.
567
568 2004-10-25  Tom Tromey  <tromey@redhat.com>
569
570         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
571         initialize `iter'.
572         * gnu/java/text/SentenceBreakIterator.java
573         (SentenceBreakIterator): Don't initialize `iter'.
574         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
575         initialize `iter'.
576         * gnu/java/text/CharacterBreakIterator.java
577         (CharacterBreakIterator): Don't initialize `iter'.
578         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
579         constructor.
580         * java/text/BreakIterator.java: Updated documentation.
581
582 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
583
584         PR other/18138
585         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
586
587 2004-10-23  Michael Koch  <konqueror@gmx.de>
588
589         * javax/print/DocFlavor.java,
590         javax/print/attribute/standard/JobStateReason.java,
591         javax/print/attribute/standard/MultipleDocumentHandling.java:
592         Added missing constants.
593
594 2004-10-22  Tom Tromey  <tromey@redhat.com>
595
596         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
597         typo.
598
599 2004-10-22  Michael Koch  <konqueror@gmx.de>
600
601         PR libjava/14009
602         * gnu/java/net/protocol/http/Connection.java
603         (sendRequest): Handle case when url.getFile() returns an empty string.
604
605 2004-10-22  Michael Koch  <konqueror@gmx.de>
606
607         * java/lang/Math.java,
608         java/lang/StackTraceElement.java,
609         java/nio/Buffer.java,
610         java/nio/ByteBuffer.java,
611         java/nio/CharBuffer.java,
612         java/nio/DoubleBuffer.java,
613         java/nio/FloatBuffer.java,
614         java/nio/IntBuffer.java,
615         java/nio/LongBuffer.java,
616         java/nio/ShortBuffer.java,
617         java/nio/charset/Charset.java,
618         java/rmi/server/RMIClassLoader.java,
619         java/rmi/server/RMISocketFactory.java,
620         java/security/Policy.java,
621         java/text/ChoiceFormat.java,
622         java/text/CollationElementIterator.java,
623         java/text/DateFormat.java,
624         java/text/DecimalFormat.java,
625         java/text/DecimalFormatSymbols.java,
626         java/text/MessageFormat.java,
627         java/text/NumberFormat.java,
628         java/text/RuleBasedCollator.java,
629         java/text/SimpleDateFormat.java,
630         java/util/BitSet.java,
631         java/util/Calendar.java,
632         java/util/Collections.java,
633         java/util/IdentityHashMap.java,
634         java/util/Locale.java,
635         java/util/TreeMap.java,
636         java/util/logging/LogRecord.java,
637         java/util/logging/XMLFormatter.java,
638         java/util/prefs/AbstractPreferences.java,
639         java/util/prefs/Preferences.java,
640         javax/crypto/interfaces/DHPrivateKey.java,
641         javax/crypto/interfaces/DHPublicKey.java,
642         javax/crypto/interfaces/PBEKey.java,
643         javax/net/ssl/HandshakeCompletedEvent.java,
644         javax/security/auth/Subject.java:
645         Removed redundant and reordered modifiers.
646
647 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
648
649         * gnu/java/net/natPlainSocketImplPosix.cc
650         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
651         with 'int *' argument instead of 'long *'.
652
653 2004-10-21  Michael Koch  <konqueror@gmx.de>
654
655         * java/net/NetworkInterface.java,
656         java/text/Format.java,
657         javax/security/auth/x500/X500Principal.java,
658         javax/security/auth/x500/X500PrivateCredential.java,
659         javax/security/cert/X509CertBridge.java,
660         javax/security/sasl/Sasl.java,
661         javax/sql/XAConnection.java:
662         Import cleanup.
663
664 2004-10-21  Michael Koch  <konqueror@gmx.de>
665
666         * javax/net/ssl/HandshakeCompletedEvent.java,
667         javax/net/ssl/KeyManagerFactory.java,
668         javax/net/ssl/SSLContext.java,
669         javax/net/ssl/SSLServerSocketFactory.java,
670         javax/net/ssl/SSLSession.java,
671         javax/net/ssl/SSLSocketFactory.java,
672         javax/net/ssl/TrustManagerFactory.java:
673         Import cleanup.
674
675 2004-10-21  Michael Koch  <konqueror@gmx.de>
676
677         * javax/naming/directory/BasicAttribute.java,
678         javax/naming/directory/BasicAttributes.java,
679         javax/naming/directory/InitialDirContext.java,
680         javax/naming/event/NamingEvent.java,
681         javax/naming/ldap/ControlFactory.java,
682         javax/naming/ldap/ExtendedRequest.java,
683         javax/naming/ldap/InitialLdapContext.java,
684         javax/naming/ldap/LdapReferralException.java,
685         javax/naming/spi/DirObjectFactory.java,
686         javax/naming/spi/DirStateFactory.java,
687         javax/naming/spi/DirectoryManager.java,
688         javax/naming/spi/InitialContextFactory.java,
689         javax/naming/spi/InitialContextFactoryBuilder.java,
690         javax/naming/spi/NamingManager.java,
691         javax/naming/spi/ObjectFactory.java,
692         javax/naming/spi/ObjectFactoryBuilder.java,
693         javax/naming/spi/StateFactory.java:
694         Import cleanup.
695
696 2004-10-21  Michael Koch  <konqueror@gmx.de>
697
698         * javax/crypto/Cipher.java,
699         javax/crypto/EncryptedPrivateKeyInfo.java,
700         javax/crypto/ExemptionMechanism.java,
701         javax/crypto/KeyAgreement.java,
702         javax/crypto/KeyGenerator.java,
703         javax/crypto/Mac.java,
704         javax/crypto/SecretKeyFactory.java,
705         javax/crypto/SecretKeyFactorySpi.java,
706         javax/crypto/spec/SecretKeySpec.java:
707         Import cleanup.
708
709 2004-10-21  Michael Koch  <konqueror@gmx.de>
710
711         * java/security/AlgorithmParameterGenerator.java,
712         java/security/AlgorithmParameters.java,
713         java/security/AlgorithmParametersSpi.java,
714         java/security/AllPermission.java,
715         java/security/BasicPermission.java,
716         java/security/Certificate.java,
717         java/security/CodeSource.java,
718         java/security/DigestInputStream.java,
719         java/security/DigestOutputStream.java,
720         java/security/GuardedObject.java,
721         java/security/KeyFactory.java,
722         java/security/KeyFactorySpi.java,
723         java/security/KeyPairGenerator.java,
724         java/security/KeyStore.java,
725         java/security/KeyStoreSpi.java,
726         java/security/Permissions.java,
727         java/security/Security.java,
728         java/security/Signature.java,
729         java/security/UnresolvedPermission.java,
730         java/security/cert/CertPathBuilder.java,
731         java/security/cert/CertPathValidator.java,
732         java/security/cert/CertStore.java,
733         java/security/cert/Certificate.java,
734         java/security/cert/CertificateFactory.java,
735         java/security/cert/PolicyQualifierInfo.java,
736         java/security/cert/TrustAnchor.java,
737         java/security/cert/X509CRL.java,
738         java/security/cert/X509CRLSelector.java,
739         java/security/cert/X509CertSelector.java:
740         Import cleanup.
741
742 2004-10-21  Michael Koch  <konqueror@gmx.de>
743
744         * java/rmi/MarshalledObject.java,
745         java/rmi/Naming.java,
746         java/rmi/activation/Activatable.java,
747         java/rmi/activation/ActivationGroup.java,
748         java/rmi/activation/ActivationGroupDesc.java,
749         java/rmi/activation/ActivationInstantiator.java,
750         java/rmi/activation/ActivationMonitor.java,
751         java/rmi/activation/ActivationSystem.java,
752         java/rmi/activation/Activator.java,
753         java/rmi/registry/LocateRegistry.java,
754         java/rmi/registry/Registry.java,
755         java/rmi/server/LogStream.java,
756         java/rmi/server/ObjID.java,
757         java/rmi/server/RMIClientSocketFactory.java,
758         java/rmi/server/RMIServerSocketFactory.java,
759         java/rmi/server/RMISocketFactory.java,
760         java/rmi/server/RemoteCall.java,
761         java/rmi/server/RemoteServer.java,
762         java/rmi/server/ServerRef.java,
763         java/rmi/server/UID.java,
764         java/rmi/server/UnicastRemoteObject.java:
765         Import cleanup.
766
767 2004-10-21  Tom Tromey  <tromey@redhat.com>
768
769         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
770         exception if we hit EOF of `in'.
771         (read): Handle case where inflating returns -1.
772
773 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
774
775         * gnu/java/nio/channels/natFileChannelPosix.cc
776         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
777         argument instead of 'long *'.
778
779 2004-10-21  Tom Tromey  <tromey@redhat.com>
780
781         * java/util/ResourceBundle.java (tryBundle): Also ignore
782         ClassCastException.
783
784 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
785
786         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
787         for all sh*-*-linux* targets.
788         * configure: Regenerate.
789         * include/sh-signal.h: New file.
790
791 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
792
793         * java/lang/ieeefp.h: Add m32r support.
794
795 2004-10-20  Andreas Schwab  <schwab@suse.de>
796
797         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
798         to uaddr, not int.
799         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
800         Likewise.
801
802 2004-10-20  Michael Koch  <konqueror@gmx.de>
803
804         * javax/print/attribute/standard/ColorSupported.java,
805         javax/print/attribute/standard/Compression.java,
806         javax/print/attribute/standard/Copies.java,
807         javax/print/attribute/standard/CopiesSupported.java,
808         javax/print/attribute/standard/DateTimeAtCompleted.java,
809         javax/print/attribute/standard/DateTimeAtCreation.java,
810         javax/print/attribute/standard/DateTimeAtProcessing.java,
811         javax/print/attribute/standard/DocumentName.java,
812         javax/print/attribute/standard/Fidelity.java,
813         javax/print/attribute/standard/Finishings.java,
814         javax/print/attribute/standard/JobHoldUntil.java,
815         javax/print/attribute/standard/JobImpressions.java,
816         javax/print/attribute/standard/JobImpressionsCompleted.java,
817         javax/print/attribute/standard/JobImpressionsSupported.java,
818         javax/print/attribute/standard/JobKOctets.java,
819         javax/print/attribute/standard/JobKOctetsProcessed.java,
820         javax/print/attribute/standard/JobKOctetsSupported.java,
821         javax/print/attribute/standard/JobMediaSheets.java,
822         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
823         javax/print/attribute/standard/JobMediaSheetsSupported.java,
824         javax/print/attribute/standard/JobMessageFromOperator.java,
825         javax/print/attribute/standard/JobName.java,
826         javax/print/attribute/standard/JobOriginatingUserName.java,
827         javax/print/attribute/standard/JobPriority.java,
828         javax/print/attribute/standard/JobPrioritySupported.java,
829         javax/print/attribute/standard/JobSheets.java,
830         javax/print/attribute/standard/JobState.java,
831         javax/print/attribute/standard/JobStateReason.java,
832         javax/print/attribute/standard/JobStateReasons.java,
833         javax/print/attribute/standard/Media.java,
834         javax/print/attribute/standard/MultipleDocumentHandling.java,
835         javax/print/attribute/standard/NumberOfDocuments.java,
836         javax/print/attribute/standard/NumberOfInterveningJobs.java,
837         javax/print/attribute/standard/NumberUp.java,
838         javax/print/attribute/standard/NumberUpSupported.java,
839         javax/print/attribute/standard/OrientationRequested.java,
840         javax/print/attribute/standard/OutputDeviceAssigned.java,
841         javax/print/attribute/standard/PDLOverrideSupported.java,
842         javax/print/attribute/standard/PageRanges.java,
843         javax/print/attribute/standard/PagesPerMinute.java,
844         javax/print/attribute/standard/PagesPerMinuteColor.java,
845         javax/print/attribute/standard/PrintQuality.java,
846         javax/print/attribute/standard/PrinterInfo.java,
847         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
848         javax/print/attribute/standard/PrinterLocation.java,
849         javax/print/attribute/standard/PrinterMakeAndModel.java,
850         javax/print/attribute/standard/PrinterMessageFromOperator.java,
851         javax/print/attribute/standard/PrinterMoreInfo.java,
852         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
853         javax/print/attribute/standard/PrinterName.java,
854         javax/print/attribute/standard/PrinterStateReason.java,
855         javax/print/attribute/standard/PrinterStateReasons.java,
856         javax/print/attribute/standard/PrinterURI.java,
857         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
858         javax/print/attribute/standard/RequestingUserName.java:
859         Reorganized imports and removed redundant final modifiers.
860
861 2004-10-20  Michael Koch  <konqueror@gmx.de>
862
863         * javax/security/sasl/SaslClient.java,
864         javax/security/sasl/SaslClientFactory.java,
865         javax/security/sasl/SaslException.java,
866         javax/security/sasl/SaslServer.java,
867         javax/security/sasl/SaslServerFactory.java:
868         Remvoed CVS tags.
869
870 2004-10-20  Michael Koch  <konqueror@gmx.de>
871
872         * javax/security/auth/login/NullConfiguration.java,
873         javax/security/auth/x500/X500Principal.java,
874         javax/security/cert/X509Certificate.java,
875         javax/security/sasl/AuthenticationException.java,
876         javax/security/sasl/AuthorizeCallback.java,
877         javax/security/sasl/RealmCallback.java,
878         javax/security/sasl/RealmChoiceCallback.java,
879         javax/security/sasl/Sasl.java,
880         javax/security/sasl/SaslClient.java,
881         javax/security/sasl/SaslClientFactory.java,
882         javax/security/sasl/SaslException.java,
883         javax/security/sasl/SaslServer.java,
884         javax/security/sasl/SaslServerFactory.java:
885         Cleaned up import statements and copyright notices.
886
887 2004-10-20  Michael Koch  <konqueror@gmx.de>
888
889         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
890
891 2004-10-20  Michael Koch  <konqueror@gmx.de>
892
893         * java/sql/Timestamp.java,
894         java/text/AttributedCharacterIterator.java,
895         java/text/AttributedString.java,
896         java/util/zip/CheckedOutputStream.java,
897         java/util/zip/DeflaterOutputStream.java,
898         java/util/zip/ZipFile.java,
899         javax/crypto/Cipher.java,
900         javax/crypto/ExemptionMechanismException.java,
901         javax/crypto/SecretKey.java,
902         javax/crypto/SecretKeyFactory.java,
903         javax/naming/directory/ModificationItem.java,
904         javax/naming/directory/SearchControls.java,
905         javax/naming/event/NamingListener.java,
906         javax/naming/ldap/Control.java,
907         javax/naming/ldap/ExtendedResponse.java,
908         javax/net/ssl/SSLSocketFactory.java:
909         Reorganized imports and fixed copyright headers.
910
911 2004-10-20  Michael Koch  <konqueror@gmx.de>
912
913         * java/util/logging/ConsoleHandler.java,
914         java/util/logging/ErrorManager.java,
915         java/util/logging/FileHandler.java,
916         java/util/logging/Filter.java,
917         java/util/logging/Formatter.java,
918         java/util/logging/Handler.java,
919         java/util/logging/Level.java,
920         java/util/logging/LogManager.java,
921         java/util/logging/LogRecord.java,
922         java/util/logging/Logger.java,
923         java/util/logging/LoggingPermission.java,
924         java/util/logging/MemoryHandler.java,
925         java/util/logging/SimpleFormatter.java,
926         java/util/logging/SocketHandler.java,
927         java/util/logging/StreamHandler.java,
928         java/util/logging/XMLFormatter.java:
929         Standardized copyrigth header.
930
931 2004-10-20  Michael Koch  <konqueror@gmx.de>
932
933         * java/security/AlgorithmParameterGenerator.java,
934         java/security/AlgorithmParameters.java,
935         java/security/DigestInputStream.java,
936         java/security/Identity.java,
937         java/security/KeyFactory.java,
938         java/security/KeyPairGenerator.java,
939         java/security/KeyStore.java,
940         java/security/MessageDigest.java,
941         java/security/MessageDigestSpi.java,
942         java/security/Policy.java,
943         java/security/SecureRandom.java,
944         java/security/Security.java,
945         java/security/Signature.java,
946         java/security/SignatureSpi.java,
947         java/security/cert/CertPathBuilder.java,
948         java/security/cert/CertPathValidator.java,
949         java/security/cert/CertStore.java,
950         java/security/cert/Certificate.java,
951         java/security/cert/CertificateFactory.java,
952         java/security/cert/PolicyQualifierInfo.java,
953         java/security/cert/TrustAnchor.java,
954         java/security/cert/X509CRL.java,
955         java/security/cert/X509CRLEntry.java,
956         java/security/cert/X509Certificate.java,
957         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
958         Import statements reorganized, some little formatting issues,
959         used java-style array declarations, added comments in empty catch
960         blocks.
961
962 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
963
964         * java/security/Security.java
965         (static): Use AccessController.doPrivileged to get system property.
966
967 2004-10-18  Sven de Marothy  <sven@physto.se>
968
969         * java/nio/ByteBufferHelper.java
970         (putDouble): Use Double.toRawLongBits instead.
971
972 2004-10-18  Mark Wielaard  <mark@klomp.org>
973         Andrew Haley  <aph@redhat.com>
974
975         * testsuite/libjava.lang/ExtraClassLoader.java: New.
976
977 2004-10-18  Andrew Haley  <aph@redhat.com>
978
979         PR java/18036:
980         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
981         and correct logic used to find interpreter.
982         
983 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
984
985         * java/util/logging/LogManager.java
986         (findAncestor): Fixed IndexOutOfBoundsException.
987
988 2004-10-18  Michael Koch  <konqueror@gmx.de>
989
990         * java/io/BufferedInputStream.java: Fixed @author tag.
991         (read): Simplified expression.
992         (read): Merged javadoc a bit more.
993         (read): Renamed 'remain' to 'totalBytesRead'.
994         * java/io/DataInputStream.java,
995         java/io/DataOutputStream.java,
996         java/io/ObjectInputStream.java,
997         java/io/ObjectOutputStream.java:
998         Reworked modifier order.
999
1000 2004-10-18  Michael Koch  <konqueror@gmx.de>
1001
1002         * java/net/Inet4Address.java: Merged file header and javadocs.
1003         * java/net/Inet6Address.java: Likewise.
1004         * java/net/InetAddress.java
1005         (getCanonicalHostName): Create Inet4Address object instead of
1006         InetAddress and add comment regarding IPv6.
1007         (toString): Simplified.
1008
1009 2004-10-18  Michael Koch  <konqueror@gmx.de>
1010
1011         * gnu/java/net/protocol/http/Connection.java,
1012         java/nio/MappedByteBufferImpl.java,
1013         java/text/RuleBasedCollator.java,
1014         java/util/ResourceBundle.java:
1015         Reworked import statements.
1016
1017 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1018
1019         * java/security/IdentityScope.java
1020         (systemScope): Removed useless initializer.
1021         * java/security/Policy.java
1022         (currentPolicy): Likewise.
1023
1024 2004-10-18  Michael Koch  <konqueror@gmx.de>
1025
1026         * java/lang/System.java: Revert accidential change.
1027
1028 2004-10-18  Michael Koch  <konqueror@gmx.de>
1029
1030         * java/lang/Math.java,
1031         java/lang/Package.java,
1032         java/lang/Runtime.java,
1033         java/lang/StrictMath.java,
1034         java/lang/System.java,
1035         java/lang/Thread.java,
1036         java/lang/ThreadLocal.java,
1037         java/lang/Void.java:
1038         Reworked import statements, HTML in javadocs and modifier orders.
1039
1040 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1041
1042         * java/util/Timer.java
1043         (nr): Removed useless initializer.
1044         * java/util/logging/LogRecord.java
1045         (lastSeqNum): Likewise.
1046         * javax/naming/spi/NamingManager.java
1047         (icfb, ofb): Likewise.
1048
1049 2004-10-18  Michael Koch  <konqueror@gmx.de>
1050
1051         * gnu/java/net/PlainDatagramSocketImpl.java:
1052         Reworked import statements.
1053         * gnu/java/security/provider/DSAParameters.java:
1054         Fixed copyrigth years.
1055         * java/net/JarURLConnection.java:
1056         Fixed HTML in @author tags.
1057         
1058
1059 2004-10-18  Michael Koch  <konqueror@gmx.de>
1060
1061         * java/rmi/activation/ActivationSystem.java
1062         (SYSTEM_PORT): Initialize with correct port number.
1063
1064 2004-10-18  Michael Koch  <konqueror@gmx.de>
1065
1066         * java/lang/reflect/Proxy.java: Improved javadocs.
1067
1068 2004-10-18  Michael Koch  <konqueror@gmx.de>
1069
1070         * java/lang/reflect/AccessibleObject.java
1071         (checkPermission): Removed redundant final modifier.
1072         (secureSetAccessible): Likewise.
1073         * java/lang/reflect/Proxy.java:
1074         Reworked import statements.
1075         (generate): Removed redundant final modifier.
1076         * java/lang/reflect/ReflectPermission.java:
1077         Reorder package declaration and import statement.
1078
1079 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1080
1081         * java/lang/reflect/Proxy.java
1082         (count): Removed useless initializer.
1083
1084 2004-10-17  Michael Koch  <konqueror@gmx.de>
1085
1086         * java/net/BindException.java,
1087         java/net/ConnectException.java,
1088         java/net/ContentHandler.java,
1089         java/net/ContentHandlerFactory.java,
1090         java/net/DatagramPacket.java,
1091         java/net/DatagramSocket.java,
1092         java/net/DatagramSocketImpl.java,
1093         java/net/DatagramSocketImplFactory.java,
1094         java/net/FileNameMap.java,
1095         java/net/HttpURLConnection.java,
1096         java/net/MalformedURLException.java,
1097         java/net/MulticastSocket.java,
1098         java/net/NetworkInterface.java,
1099         java/net/NoRouteToHostException.java,
1100         java/net/PasswordAuthentication.java,
1101         java/net/PortUnreachableException.java,
1102         java/net/ProtocolException.java,
1103         java/net/ServerSocket.java,
1104         java/net/Socket.java,
1105         java/net/SocketException.java,
1106         java/net/SocketImpl.java,
1107         java/net/SocketImplFactory.java,
1108         java/net/SocketOptions.java,
1109         java/net/SocketPermission.java,
1110         java/net/SocketTimeoutException.java,
1111         java/net/URI.java,
1112         java/net/URISyntaxException.java,
1113         java/net/URL.java,
1114         java/net/URLDecoder.java,
1115         java/net/URLEncoder.java,
1116         java/net/URLStreamHandler.java,
1117         java/net/URLStreamHandlerFactory.java,
1118         java/net/UnknownHostException.java,
1119         java/net/UnknownServiceException.java:
1120         Big import statement and @author tag cleanup.
1121
1122 2004-10-17  Michael Koch  <konqueror@gmx.de>
1123
1124         * gnu/java/security/OID.java,
1125         gnu/java/security/provider/DSAParameters.java,
1126         gnu/java/security/provider/DSASignature.java,
1127         gnu/java/security/x509/X500DistinguishedName.java,
1128         gnu/java/security/x509/X509CRL.java:
1129         Import statements cleaned up.
1130
1131 2004-10-16  Michael Koch  <konqueror@gmx.de>
1132
1133         * gnu/java/nio/NIODatagramSocket.java,
1134         gnu/java/nio/ServerSocketChannelImpl.java:
1135         Reorganized import statements.
1136
1137 2004-10-16  Michael Koch  <konqueror@gmx.de>
1138
1139         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1140         gnu/java/rmi/rmic/RMIC.java,
1141         gnu/java/rmi/server/RMIHashes.java,
1142         gnu/java/rmi/server/RMIObjectInputStream.java,
1143         gnu/java/rmi/server/RMIObjectOutputStream.java,
1144         gnu/java/rmi/server/UnicastConnection.java,
1145         gnu/java/rmi/server/UnicastConnectionManager.java,
1146         gnu/java/rmi/server/UnicastRemoteCall.java,
1147         gnu/java/rmi/server/UnicastServer.java,
1148         gnu/java/rmi/server/UnicastServerRef.java,
1149         java/rmi/MarshalledObject.java,
1150         java/rmi/Naming.java,
1151         java/rmi/RMISecurityManager.java,
1152         java/rmi/Remote.java,
1153         java/rmi/activation/Activatable.java,
1154         java/rmi/activation/ActivationDesc.java,
1155         java/rmi/activation/ActivationGroup.java,
1156         java/rmi/activation/ActivationGroupDesc.java,
1157         java/rmi/activation/ActivationGroupID.java,
1158         java/rmi/activation/ActivationID.java,
1159         java/rmi/activation/ActivationInstantiator.java,
1160         java/rmi/activation/ActivationMonitor.java,
1161         java/rmi/activation/ActivationSystem.java,
1162         java/rmi/activation/Activator.java,
1163         java/rmi/dgc/DGC.java,
1164         java/rmi/dgc/Lease.java,
1165         java/rmi/dgc/VMID.java,
1166         java/rmi/registry/LocateRegistry.java,
1167         java/rmi/registry/Registry.java,
1168         java/rmi/registry/RegistryHandler.java,
1169         java/rmi/server/LoaderHandler.java,
1170         java/rmi/server/LogStream.java,
1171         java/rmi/server/ObjID.java,
1172         java/rmi/server/Operation.java,
1173         java/rmi/server/RMIClassLoader.java,
1174         java/rmi/server/RMIClassLoaderSpi.java,
1175         java/rmi/server/RMIClientSocketFactory.java,
1176         java/rmi/server/RMIFailureHandler.java,
1177         java/rmi/server/RMIServerSocketFactory.java,
1178         java/rmi/server/RMISocketFactory.java,
1179         java/rmi/server/RemoteCall.java,
1180         java/rmi/server/RemoteObject.java,
1181         java/rmi/server/RemoteRef.java,
1182         java/rmi/server/RemoteServer.java,
1183         java/rmi/server/RemoteStub.java,
1184         java/rmi/server/ServerRef.java,
1185         java/rmi/server/Skeleton.java,
1186         java/rmi/server/SkeletonMismatchException.java,
1187         java/rmi/server/UID.java,
1188         java/rmi/server/UnicastRemoteObject.java,
1189         java/rmi/server/Unreferenced.java:
1190         File headers and import statements cleaned up.
1191
1192 2004-10-16  Michael Koch  <konqueror@gmx.de>
1193
1194         * libjava/gnu/java/nio/charset/UTF_16.java,
1195         libjava/gnu/java/nio/charset/UTF_16BE.java,
1196         libjava/gnu/java/nio/charset/UTF_16LE.java,
1197         libjava/java/nio/ByteOrder.java,
1198         libjava/java/nio/MappedByteBuffer.java,
1199         libjava/java/nio/channels/Channels.java,
1200         libjava/java/nio/channels/spi/SelectorProvider.java,
1201         libjava/java/nio/charset/Charset.java:
1202         Cleanup.
1203
1204 2004-10-16  Michael Koch  <konqueror@gmx.de>
1205
1206         * gnu/java/nio/charset/UTF_16Encoder.java
1207         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1208
1209 2004-10-16  Michael Koch  <konqueror@gmx.de>
1210
1211         * java/math/BigDecimal.java, java/math/BigInteger.java:
1212         Reorganized import statements, removed redundant and
1213         reorganized modifiers.
1214
1215 2004-10-16  Michael Koch  <konqueror@gmx.de>
1216
1217         * gnu/java/beans/ExplicitBeanInfo.java:
1218         Explicitely import java.awt.Image.
1219         (getIcon): Fixed off-by-one error.
1220
1221 2004-10-15  Andrew Haley  <aph@redhat.com>
1222
1223         * Makefile.am (nat_files, xlib_nat_files): New.
1224         * Makefile.in: Regenerate.
1225
1226 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1227
1228         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1229         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1230
1231 2004-10-13  Andrew Haley  <aph@redhat.com>
1232
1233         * interpret.cc (_Jv_InterpMethod::run): Initialize
1234         _Jv_StartOfInterpreter.
1235         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1236         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1237         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1238         _Unwind_FindEnclosingFunction to discover whether PC is within the
1239         interpreter.
1240
1241 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1242
1243         PR libgcj/17903:
1244         * testsuite/libjava.lang/md5test.java: New file.
1245         * testsuite/libjava.lang/md5test.out: Likewise.
1246         * testsuite/libjava.lang/shatest.java: Likewise.
1247         * testsuite/libjava.lang/shatest.out: Likewise.
1248
1249 2004-10-11  Richard Henderson  <rth@redhat.com>
1250
1251         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1252         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1253
1254 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1255
1256         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1257         field as a DST boundary may have been crossed.
1258         * java/util/GregorianCalendar.java (add): Throw 
1259         IllegalArgumentException on attempt to add to DST_OFFSET or 
1260         ZONE_OFFSET fields. Update javadoc.
1261
1262 2004-10-09  Michael Koch  <konqueror@gmx.de>
1263
1264         * java/io/CharArrayWriter.java
1265         (resize): Removed redundant 'final' modifier.
1266         * java/io/DataInputStream.java
1267         (readFully): Throw IndexOutOfBoundsException of len < 0.
1268         * java/io/FileDescriptor.java,
1269         java/io/FileInputStream.java,
1270         java/io/FileOutputStream.java,
1271         java/io/ObjectOutputStream.java,
1272         java/io/ObjectStreamClass.java,
1273         java/io/PipedInputStream.java,
1274         java/io/RandomAccessFile.java:
1275         Reorganized import statements.
1276
1277 2004-10-09  Michael Koch  <konqueror@gmx.de>
1278
1279         * gnu/java/rmi/rmic/RMIC.java,
1280         gnu/java/rmi/server/RMIHashes.java,
1281         gnu/java/rmi/server/RMIObjectInputStream.java,
1282         gnu/java/rmi/server/UnicastConnection.java,
1283         gnu/java/rmi/server/UnicastConnectionManager.java,
1284         gnu/java/rmi/server/UnicastRemoteCall.java,
1285         gnu/java/rmi/server/UnicastServerRef.java:
1286         Reworked import statements and fixed file headers.
1287
1288 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1289
1290         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1291         emission rule.
1292         * configure: Rebuilt.
1293
1294 2004-09-30  Tom Tromey  <tromey@redhat.com>
1295
1296         * java/text/MessageFormat.java (Field): Constructor now
1297         protected.
1298
1299 2004-09-30  Tom Tromey  <tromey@redhat.com>
1300
1301         * javax/crypto/MacSpi.java: Fixed typo.
1302
1303 2004-09-30  Michael Koch  <konqueror@gmx.de>
1304
1305         * java/net/InetAddress.java: Reformatted.
1306         (loopback): Initialize with Inet4Address object.
1307         (static): Initialize ANY_IF with Inet4Address object.
1308         (InetAddress): Removed unused package-private constructor.
1309
1310 2004-09-30  Michael Koch  <konqueror@gmx.de>
1311
1312         * java/beans/Beans.java,
1313         java/beans/EventHandler.java,
1314         java/beans/EventSetDescriptor.java,
1315         java/beans/Introspector.java,
1316         java/beans/PropertyEditorManager.java,
1317         java/beans/beancontext/BeanContext.java,
1318         java/beans/beancontext/BeanContextChild.java,
1319         java/beans/beancontext/BeanContextChildSupport.java,
1320         java/beans/beancontext/BeanContextMembershipEvent.java:
1321         Reordered import statements and removed redundant modifiers.
1322
1323 2004-09-29  Tom Tromey  <tromey@redhat.com>
1324
1325         PR libgcj/17715:
1326         * Makefile.in: Rebuilt.
1327         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1328         files.
1329         (all_property_files): New macro.
1330
1331         * Makefile.in: Rebuilt.
1332         * Makefile.am (ordinary_java_source_files): Re-sorted.
1333         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1334
1335 2004-09-28  Tom Tromey  <tromey@redhat.com>
1336
1337         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1338
1339         PR libgcj/17222:
1340         * Makefile.am (libgcj.la): Restored.
1341         * Makefile.in: Rebuilt.
1342
1343 2004-09-28  Michael Koch  <konqueror@gmx.de>
1344
1345         * java/net/URLConnection.java: Reformatted.
1346         * java/net/URLClassLoader.java: Reformatted.
1347         (getContent): Reordered return of content.
1348         (getContentHandler): Don't check for null explicitely.
1349
1350 2004-09-27  Michael Koch  <konqueror@gmx.de>
1351
1352         * java/io/BufferedInputStream.java
1353         (BufferedInputStream): Added Jeroen Frijters to authors.
1354         (count): Don't explicitely initialize with default value.
1355         (pos): Likewise.
1356         (marklimit): Likewise.
1357         (read): Changed boolean expression to match GNU classpath' version.
1358         (reset): Add proper message to exception.
1359         (skip): Check for closed stream.
1360         (refill): Likewise.
1361
1362 2004-09-26  Per Bothner  <per@bothner.com>
1363
1364         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1365         avoid warnings in the non-POSIX_VERSION case.
1366         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1367         so place it inside an #if block.
1368         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1369         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1370         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1371         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1372
1373 2004-09-26  Per Bothner  <per@bothner.com>
1374
1375         * prims.cc (process_gcj_properties):  Optimization.
1376
1377 2004-09-26  Per Bothner  <per@bothner.com>
1378
1379         * java/util/Collections.java (sort):  Copy from array in forwards
1380         order, rather than reverse order which may be much less efficient.
1381
1382 2004-09-26  Mark Wielaard  <mark@klomp.org>
1383
1384         * java/lang/System.java (properties): Make package private.
1385         * java/lang/Throwable.java (StaticData.nl): Initialize through
1386         directly accessing System.properties.getProperty().
1387
1388         * java/lang/Throwable.java (nl): Remove static field.
1389         (StaticData): New private static inner class.
1390         (stackTraceStringBuffer): Use StaticData.nl.
1391
1392 2004-09-26  Casey Marshall <csm@gnu.org>
1393
1394         * java/security/ProtectionDomain.java
1395         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1396         `true'.
1397
1398         * java/security/SecureClassLoader.java
1399         (defineClass): make protection domain dynamically bound.
1400         (getPermissions): call `getCurrentPolicy' to avoid permission
1401         check.
1402
1403 2004-09-25  Mark Wielaard  <mark@klomp.org>
1404
1405         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1406         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1407         * Makefile.in: Regenerated.
1408
1409         * gcj/javaprims.h: Regenerated.
1410
1411         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1412         (getDefaultTimeZone): Make package private. Check that GMToffset
1413         contains at least one digit.
1414         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1415         VMTimeZone.
1416         * util/VMTimeZone.java: New file with above methods.
1417
1418         * java/util/natTimeZone.cc: Removed (renamed).
1419         * java/util/natVMTimeZone.cc: Added (renamed).
1420
1421 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1422
1423         * java/util/TimeZone.java
1424         (getDefaultTimeZone): Fixed test to distinguish between hours and
1425         minutes in specified timezone.
1426
1427 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1428
1429         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1430         handling of default package. (generate): Removed confused comments
1431         and code about making Method and Field accessible.
1432
1433 2004-09-25  Tom Tromey  <tromey@redhat.com>
1434
1435         PR java/17500:
1436         * testsuite/libjava.compile/pr17500.java: New file.
1437
1438 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1439             Mark Wielaard  <mark@klomp.org>
1440
1441         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1442         * gnu/regexp/RETokenLookAhead.java: New file.
1443
1444         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1445         * Makefile.in: Regenerated.
1446
1447 2004-09-25  Michael Koch  <konqueror@gmx.de>
1448
1449         * java/io/ObjectStreamField.java:
1450         Removed unused import statement.
1451
1452 2004-09-24  Tom Tromey  <tromey@redhat.com>
1453
1454         PR java/15656:
1455         * testsuite/libjava.compile/pr15656.xfail: New file.
1456         * testsuite/libjava.compile/pr15656.java: new file.
1457
1458         PR java/16789:
1459         * testsuite/libjava.lang/pr16789.out: New file.
1460         * testsuite/libjava.lang/pr16789.java: New file.
1461
1462 2004-09-24  Andrew Haley  <aph@redhat.com>
1463
1464         PR java/16927
1465         * testsuite/libjava.compile/AssertBug.java: New file.
1466
1467 2004-09-24  Casey Marshall <csm@gnu.org>
1468
1469         * java/util/PropertyPermissionCollection.java
1470         (implies): avoid infinite loop.
1471
1472 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1473
1474         * javax/security/auth/PrivateCredentialPermission.java
1475         (PrivateCredentialPermission): added serialization UID
1476
1477
1478 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1479
1480         * gnu/java/rmi/server/UnicastServer.java
1481         (incomingMessageCall): Added code to handle Errors.
1482         * gnu/java/rmi/server/UnicastServerRef.java
1483         (incomingMessageCall): Added code to handle Errors.
1484
1485
1486 2004-09-24  Tom Tromey  <tromey@redhat.com>
1487
1488         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1489         (definedPackages): Likewise.
1490
1491 2004-09-24  Michael Koch  <konqueror@gmx.de>
1492
1493         * java/io/ObjectInputStream.java:
1494         Re-ordered imports.
1495
1496 2004-09-24  Casey Marshall <csm@gnu.org>
1497
1498         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1499         `ClassNotFoundException'.
1500
1501 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1502
1503         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1504         of Externalizable classes to ObjectStreamClass.
1505         * java/io/ObjectStreamClass.java (newInstance): New method to
1506         instantiate Externalizable (while ignoring the accessibility of
1507         the constructor). (constructor): New field to cache the constructor.
1508
1509 2004-09-24  Mark Wielaard  <mark@klomp.org>
1510
1511         * java/net/URL.java (systemClassLoader): New static field.
1512         (getURLStreamHandler): Always use system/application classloader
1513         for finding URLStreamhandler. Remove unecessary instanceof checks.
1514
1515 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1516
1517         * java/net/URL.java
1518         (set): This method now matches the behaviour of the JDK.
1519         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1520
1521 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1522
1523         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1524
1525 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1526
1527         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1528         Don't set authority if host isn't specified.
1529
1530 2004-09-24  Michael Koch  <konqueror@gmx.de>
1531
1532         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1533         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1534         * gnu/java/nio/VMPipe.java,
1535         gnu/java/nio/VMSelector.java:
1536         New files.
1537         * gnu/java/nio/natPipeImplEcos.cc,
1538         gnu/java/nio/natPipeImplPosix.cc,
1539         gnu/java/nio/natPipeImplWin32.cc:
1540         Ported to VMPipe.
1541         * gnu/java/nio/natSelectorImplEcos.cc,
1542         gnu/java/nio/natSelectorImplPosix.cc,
1543         gnu/java/nio/natSelectorImplWin32.cc:
1544         Ported to VMSelector.
1545         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1546         gnu/java/nio/VMSelector.java.
1547         * Makefile.in: Regenerated.
1548
1549 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1550
1551         * java/lang/StackTraceElement.java
1552         (className): Renamed field to declaringClass to be compatible
1553         with Sun serialization format.
1554
1555 2004-09-23  Michael Koch  <konqueror@gmx.de>
1556
1557         * java/applet/AppletContext.java,
1558         java/applet/Applet.java,
1559         java/applet/AppletStub.java,
1560         java/applet/AudioClip.java:
1561         Jalopied and checkstyle clean.
1562
1563 2004-09-23  Mark Wielaard  <mark@klomp.org>
1564
1565         * java/util/Collections.java
1566         (binarySearch(List, Object, Comparator)): Explicitly
1567         reverse direction in list iterator.
1568         (rotate): Just return when list is empty.
1569
1570 2004-09-23  Tom Tromey  <tromey@redhat.com>
1571
1572         PR java/17329:
1573         * testsuite/libjava.compile/pr17329.java: New file.
1574
1575         PR java/17380:
1576         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1577         9.2-implicit-7.
1578
1579 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1580
1581         * Makefile.am: Run aclocal with -I ../config
1582         * acinclude.m4: Delete macros picked up from ../config and tidy.
1583         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1584         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1585         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1586
1587 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1588
1589         * aclocal.m4: Regenerate with aclocal 1.9.2.
1590         * configure: Regenerate.
1591         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1592         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1593
1594 2004-09-22  David Daney  <ddaney@avtrex.com>
1595
1596         PR libgcj/17623
1597         * java/net/URL.java (URL): Copy userInfo from context.
1598         (getUserInfo): Return cached userInfo if present.
1599
1600 2004-09-22  Tom Tromey  <tromey@redhat.com>
1601
1602         PR libgcj/6182:
1603         * mauve-libgcj: Enable java.lang.Character tests.
1604
1605 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1606
1607         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1608         dependencies.
1609         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1610         * Makefile.in: Regenerated.
1611
1612 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1613
1614         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1615         * configure: Regenerate.
1616         * include/config.h.in: Likewise.
1617         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1618         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1619         macro to gtkpeer.h.
1620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1621         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1622         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1623         architectures.
1624         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1625         Likewise.
1626
1627 2004-09-22  Tom Tromey  <tromey@redhat.com>
1628
1629         PR libgcj/14446:
1630         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1631         when comparing CRCs.
1632         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1633         field.
1634         (read()): New overload.
1635
1636 2004-09-21  Tom Tromey  <tromey@redhat.com>
1637
1638         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1639         Indentation fix.
1640
1641 2004-09-21  Michael Koch  <konqueror@gmx.de>
1642
1643         * java/net/Socket.java
1644         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1645
1646 2004-09-21  Casey Marshall  <csm@gnu.org>
1647
1648         * javax/crypto/MacSpi.java (clone): Provide meaningful
1649         implementation.
1650
1651 2004-09-21  Tom Tromey  <tromey@redhat.com>
1652
1653         PR libgcj/16869:
1654         * Makefile.in: Rebuilt.
1655         * Makefile.am (MOSTLYCLEANFILES): Removed.
1656         (mostlyclean-local): Remove header files.
1657
1658 2004-09-21  Casey Marshall  <csm@gnu.org>
1659
1660         * java/security/cert/X509CRLSelector.java:
1661         (match): remove unreachable try-catch clauses.
1662         Reported by: Dalibor Topic <robilad@kaffe.org>
1663
1664 2004-09-21  Mark Wielaard  <mark@klomp.org>
1665
1666         * java/util/TreeMap.java (root): Don't initialize.
1667         (TreeMap(Comparator)): Call fabricateTree(0).
1668         (fabricateTree): Initialize root and size when count is 0.
1669
1670 2004-09-21  Sven de Marothy <sven@physto.se>
1671
1672         * java/nio/ByteBuffer.java (hashCode): Implemented.
1673         * java/nio/CharBuffer.java: Likewise.
1674         * java/nio/DoubleBuffer.java: Likewise.
1675         * java/nio/FloatBuffer.java: Likewise.
1676         * java/nio/LongBuffer.java: Likewise.
1677         * java/nio/IntBuffer.java: Likewise.
1678         * java/nio/ShortBuffer.java: Likewise.
1679
1680 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1681
1682         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1683
1684 2004-09-21  Michael Koch  <konqueror@gmx.de>
1685
1686         * javax/net/ssl/SSLServerSocket.java:
1687         Removed comment about "Do not edit this file, it's generated.".
1688
1689 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1690
1691         Import the big Crypto/Jessie/Security merge from Classpath.
1692
1693         * Makefile.am: Add imported files.
1694         * Makefile.in: Regenerate.
1695
1696         2004-08-14  Casey Marshall <csm@gnu.org>
1697
1698         The Big Crypto Merge of 2004.
1699
1700         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1701         Crypto's version.
1702
1703         Files imported from GNU Crypto.
1704         * javax/crypto/BadPaddingException.java
1705         * javax/crypto/Cipher.java
1706         * javax/crypto/CipherInputStream.java
1707         * javax/crypto/CipherOutputStream.java
1708         * javax/crypto/CipherSpi.java
1709         * javax/crypto/EncryptedPrivateKeyInfo.java
1710         * javax/crypto/ExemptionMechanism.java
1711         * javax/crypto/ExemptionMechanismException.java
1712         * javax/crypto/ExemptionMechanismSpi.java
1713         * javax/crypto/IllegalBlockSizeException.java
1714         * javax/crypto/KeyAgreement.java
1715         * javax/crypto/KeyAgreementSpi.java
1716         * javax/crypto/KeyGenerator.java
1717         * javax/crypto/KeyGeneratorSpi.java
1718         * javax/crypto/Mac.java
1719         * javax/crypto/MacSpi.java
1720         * javax/crypto/Makefile.am
1721         * javax/crypto/NoSuchPaddingException.java
1722         * javax/crypto/NullCipher.java
1723         * javax/crypto/NullCipherImpl.java
1724         * javax/crypto/SealedObject.java
1725         * javax/crypto/SecretKey.java
1726         * javax/crypto/SecretKeyFactory.java
1727         * javax/crypto/SecretKeyFactorySpi.java
1728         * javax/crypto/ShortBufferException.java
1729         * javax/crypto/interfaces/DHKey.java
1730         * javax/crypto/interfaces/DHPrivateKey.java
1731         * javax/crypto/interfaces/DHPublicKey.java
1732         * javax/crypto/interfaces/PBEKey.java
1733         * javax/crypto/spec/DESKeySpec.java
1734         * javax/crypto/spec/DESedeKeySpec.java
1735         * javax/crypto/spec/DHGenParameterSpec.java
1736         * javax/crypto/spec/DHParameterSpec.java
1737         * javax/crypto/spec/DHPrivateKeySpec.java
1738         * javax/crypto/spec/DHPublicKeySpec.java
1739         * javax/crypto/spec/IvParameterSpec.java
1740         * javax/crypto/spec/PBEKeySpec.java
1741         * javax/crypto/spec/PBEParameterSpec.java
1742         * javax/crypto/spec/RC2ParameterSpec.java
1743         * javax/crypto/spec/RC5ParameterSpec.java
1744         * javax/crypto/spec/SecretKeySpec.java
1745         * javax/security/auth/AuthPermission.java
1746         * javax/security/auth/DestroyFailedException.java
1747         * javax/security/auth/Destroyable.java
1748         * javax/security/auth/Policy.java
1749         * javax/security/auth/PrivateCredentialPermission.java
1750         * javax/security/auth/RefreshFailedException.java
1751         * javax/security/auth/Refreshable.java
1752         * javax/security/auth/Subject.java
1753         * javax/security/auth/SubjectDomainCombiner.java
1754         * javax/security/auth/callback/Callback.java
1755         * javax/security/auth/callback/CallbackHandler.java
1756         * javax/security/auth/callback/ChoiceCallback.java
1757         * javax/security/auth/callback/ConfirmationCallback.java
1758         * javax/security/auth/callback/LanguageCallback.java
1759         * javax/security/auth/callback/NameCallback.java
1760         * javax/security/auth/callback/PasswordCallback.java
1761         * javax/security/auth/callback/TextInputCallback.java
1762         * javax/security/auth/callback/TextOutputCallback.java
1763         * javax/security/auth/callback/UnsupportedCallbackException.java
1764         * javax/security/auth/login/AccountExpiredException.java
1765         * javax/security/auth/login/AppConfigurationEntry.java
1766         * javax/security/auth/login/Configuration.java
1767         * javax/security/auth/login/CredentialExpiredException.java
1768         * javax/security/auth/login/FailedLoginException.java
1769         * javax/security/auth/login/LoginContext.java
1770         * javax/security/auth/login/LoginException.java
1771         * javax/security/auth/login/NullConfiguration.java
1772         * javax/security/auth/x500/X500PrivateCredential.java
1773         * javax/security/sasl/AuthenticationException.java
1774         * javax/security/sasl/AuthorizeCallback.java
1775         * javax/security/sasl/RealmCallback.java
1776         * javax/security/sasl/RealmChoiceCallback.java
1777         * javax/security/sasl/Sasl.java
1778         * javax/security/sasl/SaslClient.java
1779         * javax/security/sasl/SaslClientFactory.java
1780         * javax/security/sasl/SaslException.java
1781         * javax/security/sasl/SaslServer.java
1782         * javax/security/sasl/SaslServerFactory.java
1783         * org/ietf/jgss/ChannelBinding.java
1784         * org/ietf/jgss/GSSContext.java
1785         * org/ietf/jgss/GSSCredential.java
1786         * org/ietf/jgss/GSSException.java
1787         * org/ietf/jgss/GSSManager.java
1788         * org/ietf/jgss/GSSName.java
1789         * org/ietf/jgss/MessageProp.java
1790         * org/ietf/jgss/Oid.java
1791         * org/ietf/jgss/MessagesBundle.properties
1792
1793         Files imported from Jessie <http://www.nongnu.org/jessie/>
1794         * javax/net/ServerSocketFactory.java
1795         * javax/net/SocketFactory.java
1796         * javax/net/VanillaServerSocketFactory.java
1797         * javax/net/VanillaSocketFactory.java
1798         * javax/net/ssl/HandshakeCompletedEvent.java
1799         * javax/net/ssl/HandshakeCompletedListener.java
1800         * javax/net/ssl/HostnameVerifier.java
1801         * javax/net/ssl/HttpsURLConnection.java
1802         * javax/net/ssl/KeyManager.java
1803         * javax/net/ssl/KeyManagerFactory.java
1804         * javax/net/ssl/KeyManagerFactorySpi.java
1805         * javax/net/ssl/ManagerFactoryParameters.java
1806         * javax/net/ssl/SSLContext.java
1807         * javax/net/ssl/SSLContextSpi.java
1808         * javax/net/ssl/SSLException.java
1809         * javax/net/ssl/SSLHandshakeException.java
1810         * javax/net/ssl/SSLKeyException.java
1811         * javax/net/ssl/SSLPeerUnverifiedException.java
1812         * javax/net/ssl/SSLPermission.java
1813         * javax/net/ssl/SSLProtocolException.java
1814         * javax/net/ssl/SSLServerSocket.java
1815         * javax/net/ssl/SSLServerSocketFactory.java
1816         * javax/net/ssl/SSLSession.java
1817         * javax/net/ssl/SSLSessionBindingEvent.java
1818         * javax/net/ssl/SSLSessionBindingListener.java
1819         * javax/net/ssl/SSLSessionContext.java
1820         * javax/net/ssl/SSLSocket.java
1821         * javax/net/ssl/SSLSocketFactory.java
1822         * javax/net/ssl/TrivialHostnameVerifier.java
1823         * javax/net/ssl/TrustManager.java
1824         * javax/net/ssl/TrustManagerFactory.java
1825         * javax/net/ssl/TrustManagerFactorySpi.java
1826         * javax/net/ssl/X509KeyManager.java
1827         * javax/net/ssl/X509TrustManager.java
1828         * javax/security/cert/Certificate.java
1829         * javax/security/cert/CertificateEncodingException.java
1830         * javax/security/cert/CertificateException.java
1831         * javax/security/cert/CertificateExpiredException.java
1832         * javax/security/cert/CertificateNotYetValidException.java
1833         * javax/security/cert/CertificateParsingException.java
1834         * javax/security/cert/X509CertBridge.java
1835         * javax/security/cert/X509Certificate.java
1836
1837         2004-08-20  Casey Marshall  <csm@gnu.org>
1838
1839         * java/security/cert/X509CRLSelector.java: New file.
1840         * java/security/cert/X509CertSelector.java: New file.
1841
1842 2004-09-15  Michael Koch  <konqueror@gmx.de>
1843
1844         * gnu/java/net/protocol/file/Handler.java
1845         (openConnection): Don't throw exception if host part for file: URI is
1846         present. setURL() keeps file: protocol if ftp: protocol is not
1847         available.
1848
1849 2004-09-14  Richard Henderson  <rth@redhat.com>
1850
1851         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1852         value of sigsuspend.
1853
1854 2004-09-12  Tom Tromey  <tromey@redhat.com>
1855
1856         * javax/naming/CompoundName.java (CompoundName): Don't check for
1857         separator in "flat" case.
1858
1859 2004-09-12  Michael Koch  <konqueror@gmx.de>
1860
1861         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1862         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1863         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1864         Regenerate.
1865
1866 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1867
1868         PR libgcj/14751
1869         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1870         handle in newly-allocated _Jv_Thread_t.
1871         (_Jv_ThreadDestroyData): Close thread handle.
1872         (_Jv_ThreadStart): Remove obsolete comment.
1873         Store handle of newly-created thread in _Jv_Thread_t.
1874         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1875         before including <windows.h>
1876         #define _Jv_HaveCondDestroy
1877
1878 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1879
1880         * java/lang/natThread.cc (finalize_native): Destroy
1881         join conditional variable and mutex if these destroy
1882         operations are supported.
1883
1884 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1885
1886         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1887         (DEFAULT_PERMISSION): New constant.
1888         (Connection): Create a FilePermission with permission to read file.
1889
1890 2004-09-10  Michael Koch  <konqueror@gmx.de>
1891
1892         * gnu/java/net/protocol/file/Connection.java
1893         (getLastModified): Moved around.
1894         (getPermission): Return stored permission.
1895
1896 2004-09-10  Michael Koch  <konqueror@gmx.de>
1897
1898         * Makefile.in: Regenerate.
1899
1900 2004-09-10  Michael Koch  <konqueror@gmx.de>
1901
1902         * Makefile.am: Reverted accidently commited stuff.
1903         * configure: Regenerated.
1904
1905 2004-09-10  Michael Koch  <konqueror@gmx.de>
1906
1907         * gnu/java/net/protocol/file/Connection.java
1908         (lineSeparator): Made non-final.
1909         (static): Removed.
1910         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1911         instead of StringBufferInputStream.
1912
1913 2004-09-10  Michael Koch  <konqueror@gmx.de>
1914
1915         * gnu/java/net/protocol/file/Connection.java
1916         (connect): Handle file is a directory case.
1917
1918 2004-09-10  Michael Koch  <konqueror@gmx.de>
1919
1920         * Makefile.am
1921         (xlib_includes): Removed.
1922         (AM_CPPFLAGS): Renamed from INCLUDES.
1923         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1924         * Makefile.in: Regenerate.
1925
1926 2004-09-09  Michael Koch  <konqueror@gmx.de>
1927
1928         * java/security/ProtectionDomain.java,
1929         * java/util/PropertyPermissionCollection.java:
1930         Fixed javadocs all over.
1931
1932 2004-09-09  Sven de Marothy  <sven@physto.se>
1933
1934         Patch from David Gilbert <david.gilbert@object-refinery.com>
1935         * java/lang/Comparable.java: Fixed documentation errors.
1936         * java/util/Arrays.java: Likewise.
1937
1938 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1939
1940         * java/net/Inet4Address.java
1941         (Inet4Address): Added comment to serialization UID.
1942         * java/text/Format.java
1943         (Format): Added comment to serialization UID.
1944
1945 2004-09-09  Michael Koch  <konqueror@gmx.de>
1946
1947         * java/lang/System.java
1948         (err): Fixed javadoci to point to setErr() and not setOut().
1949
1950 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1951
1952         (normalizePath): Added special case for windows systems.
1953
1954 2004-09-09  Michael Koch  <konqueror@gmx.de>
1955
1956         * java/io/File.java
1957         (dupSeparator): Made private.
1958         (File(URI)): New constructor.
1959         (getParentFile): Fixed javadoc.
1960         (createTempFile): Reformated.
1961         (setReadOnly): Added comment.
1962         (deleteOnExit): Merged javadoc with classpath version.
1963
1964 2004-09-09  Michael Koch  <konqueror@gmx.de>
1965
1966         * Makefile.am: Don't try to include deps.mk.
1967         * Makefile.in: Regenerated.
1968
1969 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1970
1971         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1972         .d files.
1973         * configure: Rebuilt.
1974
1975 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1976
1977         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1978         Changed pfn from static local to local.
1979
1980 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1981             H.J. Lu  <hongjiu.lu@intel.com>
1982
1983         PR libgcj/17290
1984         * Makefile.am (GCJCOMPILE): Remove definition.
1985         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1986         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1987         * Makefile.in: Rebuilt.
1988
1989 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1990
1991         * configure.ac (enable-gc-debug): Update help for new syntax.
1992         * configure: Regenerate.
1993
1994 2004-09-03  David Daney  <ddaney@avtrex.com>
1995
1996         * include/mips-signal.h: Update copyright.
1997
1998 2004-09-03  David Daney  <ddaney@avtrex.com>
1999
2000         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2001         * include/mips-signal.h: Added HANDLE_FPE support.
2002         
2003 2004-08-31  Michael Koch  <konqueror@gmx.de>
2004
2005         * javax/swing/plaf/basic/BasicTextAreaUI.java
2006         (create): New method.
2007         * javax/swing/text/DefaultHighlighter.java
2008         (DefaultHighlightPainter.debugRect): Removed.
2009         * javax/swing/text/StyleContext.java
2010         (DEFAULT_STYLE): New field.
2011
2012 2004-08-31  Michael Koch  <konqueror@gmx.de>
2013
2014         * javax/swing/plaf/basic/BasicLookAndFeel.java
2015         (initComponentDefaults): Add keybindings for selection.backward and
2016         selection-forward for text components.
2017         * javax/swing/plaf/basic/BasicTextUI.java
2018         (paintSafely): Paint highlight only when something is actually
2019         selected.
2020         * javax/swing/text/DefaultCaret.java
2021         (handleHighlight): New method.
2022         (setSelectionVisible): Don't do anything when nothing changes.
2023         Handle highlight.
2024         (moveDot): Reimplemented. Handle highlight.
2025         (setDot): Set mark too. Handle highlight.
2026         (getSelectionPainter): New method.
2027         * javax/swing/text/DefaultEditorKit.java
2028         (defaultActions): Added new actions for text selection.
2029         * javax/swing/text/DefaultHighlighter.java
2030         (DefaultHighlightPainter): New inner class.
2031         (DefaultPainter): New field.
2032         (paint): Implemented.
2033         * javax/swing/text/PlainView.java
2034         (paint): Don't draw background here again.
2035         * javax/swing/text/Utilities.java
2036         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2037         (drawTabbedText): Likewise.
2038
2039 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2040
2041         * javax/swing/JComponent.java
2042         (resetKeyboardActions): Add null checks.
2043
2044 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2045
2046         * javax/swing/DefaultButtonModel.java:
2047         Skip group notification when no group is set.
2048
2049 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2050
2051         * javax/swing/JColorChooser.java: 
2052         Make a couple inner classes static, for jikes.
2053
2054 2004-08-31  Michael Koch  <konqueror@gmx.de>
2055
2056         * javax/swing/plaf/basic/BasicTextUI.java
2057         (RottView.modelToView): New method.
2058         (UpdateHandler): Renamed from EventHandler.
2059         (updateHandler): Renamed from eventHandler.
2060         (modelToView): Implemented.
2061         * javax/swing/text/AbstractDocument.java
2062         (BranchElement.getElement): Return null for non-existing indeces.
2063         (BranchElement.getElementIndex): Return 0 in some corner cases.
2064         * javax/swing/text/FieldView.java
2065         (modelToView): New method.
2066         * javax/swing/text/PlainView.java
2067         (modelToView): Made public.
2068
2069 2004-08-31  Kim Ho  <kho@redhat.com>
2070
2071         * Makefile.am: New files.
2072         * Makefile.in: Regenerate.
2073         * gcj/Makefile.in: Regenerate.
2074         * include/Makefile.in: Regenerate.
2075         * java/awt/Color.java: Fix documentation.
2076         (RGBtoHSB): Use floats for conversions.
2077         * javax/swing/ButtonGroup.java: Run Jalopy.
2078         (setSelected): Reimplement.
2079         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2080         (changeState): Let ButtonGroup know that the button 
2081         is changing state.
2082         * javax/swing/JColorChooser.java: Implement.
2083         * javax/swing/JLabel.java: Run Jalopy.
2084         * javax/swing/JSpinner.java: Run Jalopy.
2085         (setValue): New method.
2086         * javax/swing/JTabbedPane.java: Run Jalopy.
2087         (removeTabAt): Call correct remove method.
2088         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2089         (getPreviousValue): Compare minimum value.
2090         * javax/swing/Timer.java: Run Jalopy.
2091         (run): Comment out println.
2092         * javax/swing/ToolTipManager.java:
2093         (mouseMoved): Get new tooltip text for location.
2094         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2095         Jalopy and Javadoc.
2096         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2097         Implement.
2098         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2099         Run Jalopy.
2100         (setSelectedColor): Fire ChangeEvent.
2101         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2102         New file. Implement.
2103         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2104         Ditto.
2105         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2106         Ditto.
2107         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2108         Ditto.
2109         * javax/swing/plaf/basic/BasicArrowButton.java:
2110         (getArrow): Fix size of upward pointing button.
2111         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2112         Implement.
2113         * javax/swing/plaf/basic/BasicSliderUI.java:
2114         (getWidthOfWidestLabel): Use preferred dimensions.
2115         (getHeightOfTallestLabel): Ditto.
2116         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2117         Run Jalopy.
2118         (mousePressed): Disable changes to spinner if it is not enabled.
2119         * testsuite/Makefile.in: Regenerate.
2120
2121
2122 2004-08-31  Michael Koch  <konqueror@gmx.de>
2123
2124         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2125         javax/swing/plaf/basic/BasicTableUI.java:
2126         Added copyright notice.
2127
2128 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2129
2130         * Makefile.am: Added new files.
2131         * Makefile.in: Regenerate.
2132         * javax/swing/ComboBoxEditor.java: Added javadocs.
2133         * javax/swing/ComboBoxModel.java: Likewise.
2134         * javax/swing/DefaultComboBoxModel.java: Implemented.
2135         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2136         and ran through jalopy to fix formatting style.
2137         (getListCellRendererComponent): Use appropriate border
2138         if renderer has focus and use noFocusBorder when it doesn't.
2139         * javax/swing/JComboBox.java: Implemented.
2140         * javax/swing/JList.java:
2141         (locationToIndex): New Method. Implemented.
2142         (indexToLocation): New Method.
2143         * javax/swing/JPopupMenu.java: 
2144         (visible): New field.
2145         (isVisible): Changed to use new field above.
2146         (setVisible): Likewise.
2147         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2148         * javax/swing/plaf/basic/BasicArrowButton.java: 
2149         (shadow): Changed default color to Color.gray.
2150         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2151         UI delegate for JComboBox.
2152         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2153         Popup menu containing list of JComboBox's items.
2154         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2155         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2156         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2157         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2158         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2159         (popupMenuWillBecomeVisible): Set selected path to the first
2160         element only if it is of type MenuElement. Also fix formatting
2161         style.
2162         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2163         methods signatures.
2164         
2165 2004-08-31  Michael Koch  <konqueror@gmx.de>
2166
2167         * javax/swing/text/AbstractDocument.java
2168         (createBranchElement): Use new constructor of BranchElement.
2169         (createLeafElement): Renamed arguments.
2170         (getRootElements): Implemented.
2171         (BranchElement.start): Removed.
2172         (BranchElement.end): Likewise.
2173         (BranchElement.BranchElement): Fixed arguments.
2174         (BranchElement.getEndOffset): Reimplemented.
2175         (BranchElement.getStartOffset): Likewis.
2176         * javax/swing/text/DefaultCaret.java
2177         (paint): Draw simple vertical line as caret instead of a rectangle.
2178         * javax/swing/text/JTextComponent.java
2179         (setText): Use doc directly.
2180         * javax/swing/text/PlainView.java
2181         (nextTabStop): Implemented.
2182         * javax/swing/text/Utilities.java
2183         (drawTabbedText): nextTabStop() returns an absolute x position.
2184         (getTabbedTextWidth): Likewise.
2185
2186 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2187
2188         * java/awt/Component.java 
2189         (isFocusTraversable): Predicate on isLightweight()
2190         (setFocusable): Set isFocusTraversableOverridden.
2191         (requestFocus): Predicate peer dispatch on !isLightweight()
2192         (requestFocusInWindow): Likewise.
2193         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2194         * java/awt/Container.java
2195         (dispatchEventImpl): Predicate on event mask.
2196         (LightweightDispatcher): Remove focus machinery.
2197         * java/awt/DefaultFocusTraversalPolicy.java
2198         (accept): Expand predicate to include isFocusable(). 
2199         * java/awt/DefaultKeyboardFocusManager.java:
2200         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2201         * java/awt/KeyboardFocusManager.java
2202         (redispatchEvent): Synchronize on event to prevent feedback.
2203         * javax/swing/AbstractButton.java
2204         (ButtonFocusListener): Remove class.
2205         (init): Set focusPainted, focusable.
2206         * javax/swing/ActionMap.java (get): Check parent for null. 
2207         * javax/swing/InputMap.java (get): Likewise. 
2208         * javax/swing/JComponent.java
2209         (inputMap_whenFocused): New InputMap.
2210         (inputMap_whenAncestorOfFocused): Likewise.
2211         (inputMap_whenInFocusedWindow): Likewise.
2212         (getActionForKeyStroke): Rewrite.
2213         (getConditionForKeystroke): Likewise.
2214         (ActionListenerProxy): New private class.
2215         (setInputMap): Implement.
2216         (getInputMap): Likewise.
2217         (setActionMap): Likewise.
2218         (getActionMap): Likewise.
2219         (processComponentKeyEvent): New empty method.
2220         (processKeyEvent): Implement.
2221         (processKeyBinding): Likewise.
2222         (resetKeyboardActions): Rewrite.
2223         * javax/swing/KeyStroke.java: Rewrite.
2224         * javax/swing/SwingUtilities.java
2225         (notifyAction): Implement.
2226         (replaceUIActionMap): Likewise.
2227         (replaceUIInputMap): Likewise.
2228         * javax/swing/plaf/basic/BasicButtonListener.java
2229         (focusGained): Implement.
2230         (focusLost): Repaint if focusPainted().
2231         (installKeyboardActions): Install pressed / released actions.
2232         (uninstallKeyboardActions): Implement.
2233         * javax/swing/plaf/basic/BasicButtonUI.java
2234         (focusColor): New field.
2235         (installDefaults): Load focus color, install input map.
2236         (installKeyboardActions): Implement.
2237         (uninstallKeyboardActions): Likewise.
2238         (paintFocus): Rewrite.
2239         * javax/swing/plaf/basic/BasicLookAndFeel.java
2240         (Button.focus): New default, midPurple. 
2241         * javax/swing/plaf/basic/BasicTextUI.java
2242         (kit): Make static.
2243         (installUI): Get doc from kit, load defaults.
2244         (getKeymapName): Implement.
2245         (createKeymap): Likewise.
2246         (installKeyboardActions): Likewise.
2247         (getInputMap): Likewise.
2248         (getActionMap): Likewise.
2249         (createActionMap): Likewise.
2250         * javax/swing/text/AbstractDocument.java
2251         (getStartPosition): Implement.
2252         (getEndPosition): Likewise.
2253         * javax/swing/text/DefaultEditorKit.java
2254         (CopyAction): New class.
2255         (CutAction): Likewise.
2256         (DefaultKeyTypedAction): Likewise.
2257         (InsertBreakAction): Likewise.
2258         (InsertContentAction): Likewise.
2259         (InsertTabAction): Likewise.
2260         (PasteAction): Likewise.
2261         (defaultActions): New static table.
2262         (createCaret): Implement.
2263         (getActions): Likewise.
2264         * javax/swing/text/JTextComponent.java
2265         (KeymapWrapper): New private class.
2266         (KeymapActionMap): Likewise.
2267         (DefaultKeymap): New class.
2268         (keymaps): New static table.
2269         (keymap): New field.
2270         (getKeymap): Implement.
2271         (removeKeymap): Likewise.
2272         (addKeymap): Likewise.
2273         (setKeymap): Likewise.
2274         (loadKeymap): Likewise.
2275         (getActions): Likewise.
2276         (margin): New field.
2277         (JTextComponent): Build and install default keymap.
2278         * javax/swing/text/TextAction.java
2279         (textAction): Call super properly.
2280         (getTextComponent): Implement.
2281         * javax/swing/text/Utilities.java
2282         (drawTabbedText): Adjust position by ascent.
2283
2284 2004-08-31  David Jee  <djee@redhat.com>
2285
2286         PR AWT/17156
2287
2288         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2289         (setEnabled): Make it a native method.
2290         * java/awt/DefaultKeyboardFocusManager.java
2291         (postProcessKeyEvent): Only post event if the menu item
2292         is active.
2293         * java/awt/MenuItem.java:
2294         Private field 'enabled' should be true by default.
2295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2296         (setEnabled): New function.
2297
2298 2004-08-31  David Jee  <djee@redhat.com>
2299
2300         PR AWT/17059
2301
2302         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2303         (nativeSetHelpMenu): New native method declaration.
2304         (addHelpMenu): Call nativeSetHelpMenu().
2305         (addMenu): Remove.
2306         * java/awt/MenuBar.java
2307         (setHelpMenu): Call addNotify() on the new help menu.
2308         (add): Call addNotify() on the new menu.
2309         (addNotify): Set the help menu if one exists.
2310         * java/awt/peer/MenuBarPeer.java
2311         (addMenu): Remove.
2312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2313         (nativeSetHelpMenu): New method.
2314
2315 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2316
2317         * Makefile.am: Add new files.
2318         * Makefile.in: Regenerate.
2319         * javax/swing/Box.java: Fix setting of layout in ctor.
2320         * javax/swing/JScrollPane.java: Scroll headers as well.
2321         * javax/swing/JTable.java: Reimplement.
2322         * javax/swing/JViewPort.java: Only add non-null children.
2323         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2324         * javax/swing/Timer.java: Fix stopping null waker.
2325         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2326         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2327         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2328         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2329         * javax/swing/table/DefaultTableModel.java: Clean up.
2330         * javax/swing/table/JTableHeader.java: Implement.
2331
2332 2004-08-31  Mark Wielaard  <mark@klomp.org>
2333
2334         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2335         semi-colon.
2336
2337 2004-08-31  Mark Wielaard  <mark@klomp.org>
2338
2339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2340         Declare variables at top of functions/block.
2341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2342
2343 2004-08-31  Mark Wielaard  <mark@klomp.org>
2344
2345         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2346         first.
2347
2348 2004-08-31  Michael Koch  <konqueror@gmx.de>
2349
2350         * javax/swing/text/PlainView.java
2351         (selectedColor): New field.
2352         (unselectedColor): Likewise.
2353         (font): Likewise.
2354         (updateMetrics): New method.
2355         (lineToRect): Likewise.
2356         (modelToView): Likewise.
2357         (drawSelectedText): Use color from JTextComponent ad draw with
2358         Utilities class.
2359         (drawUnselectedText): Likewise.
2360         (paint): Initialize helper fields.
2361         * javax/swing/text/View.java
2362         (getChildAllocation): New method.
2363         (getViewIndex): Likewise.
2364         (getToolTipText): Likewise.
2365
2366 2004-08-31  Michael Koch  <konqueror@gmx.de>
2367
2368         * javax/swing/text/Utilities.java
2369         (drawTabbedText): Reimplemented.
2370         (getTabbedTextWidth): Likewise.
2371
2372 2004-08-31  Michael Koch  <konqueror@gmx.de>
2373
2374         * javax/swing/plaf/basic/BasicTextUI.java
2375         (installDefaults): Install caret and highlighter.
2376         (modelToView): Use Bias.Forward when calling sibling.
2377         * javax/swing/text/AbstractDocument.java
2378         (ElementEdit): Implements DocumentEvent.ElementChange.
2379         (ElementEdit.ElementEdit): New method.
2380         (ElementEdit.getChildrenAdded): Likewise.
2381         (ElementEdit.getChildrenRemoved): Likewise.
2382         (ElementEdit.getElement): Likewise.
2383         (ElementEdit.getIndex): Likewise.
2384         * javax/swing/text/DefaultCaret.java
2385         (color): Removed.
2386         (textComponent): Renamed from parent, made private.
2387         (selectionVisible): Renamed from vis_sel, made private.
2388         (blinkRate): Renamed from blink, made private.
2389         (magicCaretPosition): Renamed from magic, made private.
2390         (visible): Renamed from vis, made private.
2391         (dot): Made private.
2392         (mark): Likewise.
2393         (deinstall): Remove as MouseMotionListener.
2394         (install): Initialize textComponent first. Add as MouseMotionListener.
2395         (paint): Reimplemented.
2396         * javax/swing/text/JTextComponent.java
2397         (setCaret): Deinstall old caret, install new one and fire property
2398         change after setting property.
2399         (setHighlighter): Deinstall old highlighter, install new one and fire
2400         property change after setting property.
2401         (setCaretColor): Fire property change after setting property.
2402         (setDisabledTextColor): Likewise.
2403         (setSelectedTextColor): Likewise.
2404         (setSelectionColor): Likewise.
2405         (modelToView): New method.
2406
2407 2004-08-31  Michael Koch  <konqueror@gmx.de>
2408
2409         * javax/swing/text/AbstractDocument.java
2410         (getText): Simplified.
2411         * javax/swing/text/Segment.java
2412         (current): New field.
2413         (current): Reimplemented.
2414         (first): Likewise.
2415         (getIndex): Likewise.
2416         (last): Likewise.
2417         (next): Likewise.
2418         (previous): Likewise.
2419         (setIndex): Likewise.
2420
2421 2004-08-31  Michael Koch  <konqueror@gmx.de>
2422
2423         * javax/swing/plaf/basic/BasicButtonUI.java
2424         (defaultTextIconGap): Made protected.
2425         (defaultTextShiftOffset): Likewise.
2426         (textShiftOffset): New field.
2427         (clearTextShiftOffset): New method.
2428         (getTextShiftOffset): Likewise.
2429         (setTextShiftOffset): Likewise.
2430
2431 2004-08-31  Michael Koch  <konqueror@gmx.de>
2432
2433         * javax/swing/plaf/basic/BasicTextUI.java
2434         (installUI): Add eventHandler as property listener.
2435         (uninstallUI): remove eventHandler as propert listener.
2436         (installDefaults): Added comment.
2437         (installListeners): Likewise.
2438         (installKeyboardActions): Likewise.
2439         (uninstallDefaults): Likewise.
2440         (uninstallListeners): Likewise.
2441         (uninstallKeyboardActions): Likewise.
2442
2443 2004-08-31  Michael Koch  <konqueror@gmx.de>
2444
2445         * javax/swing/text/AbstractDocument.java:
2446         Fixed some typos in comments.
2447         (insertString): Reimplemented.
2448         (remove): Likewise.
2449         (replace): New method.
2450         (children): Dont use fully qualified class name.
2451         (DefaultDocumentEvent.offset): Renamed from off.
2452         (DefaultDocumentEvent.length): Renamed from len.
2453         (DefaultDocumentEvent.type): New field.
2454         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2455         (DefaultDocumentEvent.getType): Implemented.
2456
2457 2004-08-31  Michael Koch  <konqueror@gmx.de>
2458
2459         * javax/swing/plaf/basic/BasicTextUI.java
2460         (RootView.textComponent): Removed.
2461         (RootView.RootView): Don't initialize textComponent.
2462         (RootView.getViewFactory): New method.
2463         (EventHandler): New inner class.
2464         (rootView): Initialize at instance creation.
2465         (eventHandler): New field.
2466         (installUI): Don't create view hierarchy directly,
2467         call modelChanged() instead.
2468         (modelChanged): New method.
2469         * javax/swing/text/JTextComponent.java
2470         (setDocument): Fire property change event.
2471
2472 2004-08-31  Michael Koch  <konqueror@gmx.de>
2473
2474         * javax/swing/plaf/basic/BasicTextUI.java
2475         (RootView.paint): Removed debug output.
2476         (paintSafely): Draw highlighter before text.
2477         (paintBackground): Use background color of text component.
2478         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2479         Reformatted.
2480
2481 2004-08-31  Michael Koch  <konqueror@gmx.de>
2482
2483         * javax/swing/plaf/basic/BasicToolBarUI.java
2484         (BasicToolBarUI): Fixed arguments for constructor.
2485         (createUI): Fixed creation of object.
2486
2487 2004-08-31  Michael Koch  <konqueror@gmx.de>
2488
2489         * javax/swing/DefaultListSelectionModel.java
2490         (fireValueChanged): Renamed from fireSelectionValueChanged,
2491         made protected.
2492
2493 2004-08-31  Michael Koch  <konqueror@gmx.de>
2494
2495         * javax/swing/text/TabSet.java
2496         (TabSet): Implements java.io.Serializable.
2497         * javax/swing/text/TabStop.java
2498         (TabStop): Implements java.io.Serializable.
2499         (TabStop): Made public.
2500
2501 2004-08-31  Michael Koch  <konqueror@gmx.de>
2502
2503         * javax/swing/JComponent.java
2504         (setUI): Fire PropertyChange.
2505         * javax/swing/JLabel.java
2506         (text): Renamed from labelText.
2507         (horizontalAlignment): New default vlaue.
2508         (icon): Renamed from activeIcon.
2509         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2510         (displayedMnemonicIndex): Renamed from underlineChar.
2511         (setDisplayedMnemonic): Reimplemented.
2512         * javax/swing/JRadioButton.java
2513         (JRadioButton): New constructors.
2514         * javax/swing/JTextField.java
2515         (JTextField): Throw exception if colums < 0, initialitialz
2516         this.columns directly and initialize document with text conditionally.
2517
2518 2004-08-31  Michael Koch  <konqueror@gmx.de>
2519
2520         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2521         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2522         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2523         * javax/swing/text/FieldView.java
2524         (paint): Just call super method for now.
2525         * Makefile.am: Added new files.
2526         * Makefile.in: Regenerated.
2527
2528 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2529
2530         * javax/swing/AbstractSpinnerModel.java,
2531         javax/swing/JSpinner.java,
2532         javax/swing/SpinnerNumberModel.java,
2533         javax/swing/plaf/basic/BasicSpinnerUI.java:
2534         New files.
2535         * javax/swing/plaf/basic/BasicLookAndFeel.java
2536         (initClassDefaults): Added defaults for BasicSpinnerUI.
2537
2538 2004-08-31  Michael Koch  <konqueror@gmx.de>
2539
2540         * Makefile.am: Added new files.
2541         * Makefile.in: Regenerated.
2542
2543 2004-08-31  Michael Koch  <konqueror@gmx.de>
2544
2545         * javax/swing/TransferHandler.java,
2546         javax/swing/plaf/basic/ComboPopup.java: New files
2547         * Makefile.am: Added javax/swing/TransferHandler.java and
2548         javax/swing/plaf/basic/ComboPopup.java
2549         * Makefile.in: Regenerated.
2550
2551 2004-08-31  Roman Kennke  <roman@ontographics.com>
2552
2553         * javax/swing/text/Utilities.java: New file.
2554
2555 2004-08-31  Michael Koch  <konqueror@gmx.de>
2556
2557         * Makefile.am: Added javax/swing/text/Utilities.java.
2558         * Makefile.in: Regenerated.
2559
2560 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2561
2562         * javax/swing/text/SimpleAttributeSet.java: New file.
2563         * javax/swing/text/StyleConstants.java: New file.
2564         * javax/swing/text/StyleContext.java: New file.
2565         * javax/swing/text/TabSet.java: New file.
2566         * javax/swing/text/TabStop.java: New file.
2567         * javax/swing/text/AbstactDocument.java:
2568         (AbstractElement): Implement attribute support.
2569         * javax/swing/text/AttributeSet.java
2570         (NameAttribute): New static field.
2571         (ResolveAttribute): New static field.
2572         * Makefile.am: Update for new files.
2573         * Makefile.in: Regenerate.
2574
2575 2004-08-31  Craig Black  <craig.black@aonix.com>
2576
2577         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2578         (drawImage): Add support for scaling pixmaps.
2579         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2580         (copyAndScalePixmap): New native method.
2581  
2582 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2583
2584         PR AWT/16121
2585         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2586         type-punning compiler warnings using unions.
2587         (throw): Replace bzero with memset.
2588
2589 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2590             Thomas Fitzsimmons  <fitzsim@redhat.com>
2591
2592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2593         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2594         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2596         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2597
2598 2004-08-31  Mark Wielaard  <mark@klomp.org>
2599
2600         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2601         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2602         and stdlib.h, not gtkpeer.h.
2603         (*vm): New static variable.
2604         (areaPreparedID): Make static.
2605         (areaUpdatedID): Likewise.
2606         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2607         (area_prepared): Likewise.
2608         (area_updated): Likewise.
2609         (closed): Likewise.
2610         (initStaticState): Initialize *vm javaVM.
2611         (pumpBytes): Use given env, not global gdk_env.
2612
2613 2004-08-31  Mark Wielaard  <mark@klomp.org>
2614
2615         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2616         comments.
2617
2618 2004-08-31  Sven de Marothy  <sven@physto.se>
2619
2620         * java/awt/geom/CubicCurve2D.java: Reindent.
2621         (contains): Implemented.
2622         (intersects): Implemented.
2623         * java/awt/geom/QuadCurve2D.java: Likewise.
2624         * java/awt/geom/GeneralPath.java: Reindent and document.
2625         Fully (re)implemented using separate xpoints and ypoints
2626         float[] coords.
2627         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2628
2629 2004-08-31  Michael Koch  <konqueror@gmx.de>
2630
2631         * javax/swing/JMenuItem.java
2632         (getMenuDragMouseListeners): New method.
2633         (getMenuKeyListeners): Likewise.
2634
2635 2004-08-31  Michael Koch  <konqueror@gmx.de>
2636
2637         * javax/swing/AbstractButton.java
2638         (model): Made protected.
2639         (actionListener): Likewise.
2640         (changeListener): Likewise.
2641         (itemListener): Likewise.
2642         (multiClickThreshhold): New field.
2643         (getActionListeners): New method.
2644         (getChangeListeners): Likewise.
2645         (getItemListeners): Likewise.
2646         (fireItemStateChanged): Simplified implementation.
2647         (fireActionPerformed): Likewise.
2648         (fireStateChanged): Likewise.
2649         (getMultiClickThreshhold): New method.
2650         (setMultiClickThreshhold): Likewise.
2651
2652 2004-08-31  Tom Tromey  <tromey@redhat.com>
2653
2654         * java/awt/image/Kernel.java (clone): Use super.clone().
2655
2656 2004-08-31  David Jee  <djee@redhat.com>
2657
2658         PR AWT/16682
2659         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2660         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2661         (nativeSetIconImageFromData): New native method declaration.
2662         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2663         * gnu/java/awt/peer/gtk/GtkImage.java
2664         (getPixelCache): New method.
2665         (getColorModel): New method.
2666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2667         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2668         (free_pixbuf_data): New helper function.
2669         (nativeSetIconImageFromData): New function.
2670
2671 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2672
2673         PR SWING/16576
2674         * javax/swing/JLayeredPane.java 
2675         (setLayer): Permit changing layer after addition.
2676         (setPosition): Permit over-length positions.
2677         (layerToRange): Compare intValue()s.
2678         * javax/swing/Box.java (createHorizontalBox): Implement.
2679         (createRigidArea): Likewise.
2680         (createVerticalBox): Likewise.
2681
2682 2004-08-31  Kim Ho  <kho@redhat.com>
2683
2684         * java/awt/Component.java:
2685         (processMouseEvent): Consume event after
2686         listeners process it.
2687         (processMouseMotionEvent): ditto.
2688         (processMouseWheelEvent): ditto.
2689         * java/awt/Container.java:
2690         (acquireComponentForMouseEvent):
2691         Do not dispatch to events that have been
2692         removed from the Container.
2693         (handleEvent): Consume the MouseEvents.
2694         * javax/swing/RepaintManager.java:
2695         (paintDirtyRegions): Do not add to list of 
2696         damaged areas if the component has no root.
2697
2698 2004-08-31  Michael Koch  <konqueror@gmx.de>
2699
2700         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2701
2702 2004-08-31  Mark Wielaard  <mark@klomp.org>
2703
2704         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2705         null when a MissingResourceException is thrown. Should never happen.
2706
2707 2004-08-31  Mark Wielaard  <mark@klomp.org>
2708
2709         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2710         when argument is null.
2711
2712 2004-08-31  Mark Wielaard  <mark@klomp.org>
2713
2714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2715         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2716         Define hid at start of function.
2717         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2718         Likewise.
2719
2720 2004-08-31  Mark Wielaard  <mark@klomp.org>
2721
2722         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2723         * javax/swing/JButton.java: Reindent.
2724         * javax/swing/JCheckBox.java: Reindent.
2725
2726 2004-08-31  Mark Wielaard  <mark@klomp.org>
2727
2728         * Makefile.am (gtk_c_source_files): Added
2729         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2730         (gtk_awt_peer_sources): Added
2731         gnu/java/awt/peer/gtk/GThreadMutex.java and
2732         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2733         * Makefile.in: Regenerated.
2734
2735 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2736
2737         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2738
2739 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2740
2741         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2742         Added jfieldID, jmethodID.
2743
2744 2004-08-31  Mark Wielaard  <mark@klomp.org>
2745
2746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2747         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2748         gdk_env before calling any gdk or gtk function.
2749
2750         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2751         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2752         (run): Set gtkInitCalled.
2753
2754 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2755
2756         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2757         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2758
2759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2760         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2761         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2762         init_glib_threads. 
2763         (init_glib_threads): New function.
2764
2765 2004-08-31  Mark Wielaard  <mark@klomp.org>
2766
2767         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2768         PRIORITY when not already defined in header file.
2769
2770 2004-08-31  Mark Wielaard  <mark@klomp.org>
2771
2772         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2773         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2774
2775 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2776
2777         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2778         Implemented missing functions for GTK2.
2779         Added error handling.
2780         Renamed static functions out of the g_ namespace.
2781         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2782         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2783         Rewrote global-reference code.
2784         Eliminated cascading errors.
2785         (mutex_trylock_jni_impl) Fully implemented.
2786         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2787         resolution.
2788         (setup_cache) New function.
2789         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2790         bug where they were not unlocking the GMutex associated with the
2791         condition variable during the wait on that condition variable.
2792
2793         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2794         native/jni/gtk-peer/gthread-jni.c,
2795         native/jni/gtk-peer/gthread-jni.h
2796         (g_thread_jni_functions): Renamed to ...
2797         (portable_native_sync_jni_functions): this name.
2798         (gdk_vm): Renamed to...
2799         (the_vm): this name.
2800
2801         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2802         (gdk_vm): Removed duplicate definition.
2803         (gtkInit): Removed stray message to stdout.
2804         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2805         (gtkInit): Fix a const assignment bug.
2806         (gtkInit): Simplified code.
2807
2808         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2809         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2810         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2811         gnu/java/awt/peer/gtk/GThreadMutex.java:
2812         New files.
2813
2814 2004-08-31  Mark Wielaard  <mark@klomp.org>
2815
2816         * javax/swing/Box.java: Put FIXME comment above class declaration.
2817         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2818         * javax/swing/JCheckBox.java: Likewise.
2819         * javax/swing/JDialog.java: Likewise.
2820         * javax/swing/JRadioButton.java: Likewise.
2821         * javax/swing/JToggleButton.java: Likewise.
2822         * javax/swing/UIManager.java: Likewise.
2823         * javax/swing/border/TitledBorder.java: Likewise.
2824         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2825         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2826         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2827         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2828         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2829         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2830         * javax/swing/text/JTextComponent.java: Likewise.
2831
2832 2004-08-31  David Jee  <djee@redhat.com>
2833
2834         PR AWT/16682
2835         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2836         (setIconImage): Add a FIXME for unhandled cases.
2837
2838 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2839
2840         PR AWT/16040
2841         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2842         getModifiers.  Replace old button masks with new ones.
2843         * gnu/awt/xlib/XEventLoop.java: Likewise.
2844         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2845         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2846         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2847         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2848         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2849         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2850         * java/awt/Component.java: Replace old modifier masks with new
2851         ones.
2852         * java/awt/Container.java: Call getModifiersEx, not
2853         getModifiers.
2854         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2855         old modifier masks.
2856         * javax/swing/JMenuItem.java: Replace old button masks with new
2857         ones.
2858         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2859         getModifiers.
2860         * javax/swing/SwingUtilities.java: Likewise.
2861         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2862         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2864         mask macros with new ones.
2865         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2866         macros with new ones representing new masks.
2867
2868 2004-08-31  Craig Black  <craig.black@aonix.com>
2869
2870         * gnu/java/awt/peer/gtk/GdkGraphics.java
2871         (drawRoundRect): Implemented.
2872         (fillRoundRect): Implemented.
2873         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2874         (drawRoundRect): Reimplemented to match GdkGraphics.
2875         (fillRoundRect): Reimplemented to match GdkGraphics.
2876
2877 2004-08-31  Mark Wielaard  <mark@klomp.org>
2878
2879         * Makefile.in: Regenerated.
2880
2881 2004-08-31  Michael Koch  <konqueror@gmx.de>
2882
2883         * gnu/java/awt/EmbeddedWindow.java
2884         (addNotify): Use AccessController to allow execution of privileged
2885         code.
2886
2887 2004-08-31  Michael Koch  <konqueror@gmx.de>
2888
2889         * gnu/java/awt/EmbeddedWindow.java
2890         (static): Removed.
2891         (addNotify): Set peer via reflection.
2892         (setWindowPeer): Removed.
2893         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2894         * Makefile.am (nat_source_files):
2895         Removed gnu/java/awt/natEmbeddedWindow.cc.
2896
2897 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2898
2899         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2900         and gnu/java/security/action/SetAccessibleAction.java.
2901
2902 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2903
2904         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2905         Renamed from 'setName'. New 2-argument form with default value.
2906         (run): Pass default 'value' parameter to System.getProperty().
2907         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2908         typos.
2909
2910 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2911
2912         * gnu/java/security/action/GetPropertyAction.java: New class.
2913         * gnu/java/security/action/SetAccessibleAction.java: New class.
2914
2915 2004-08-31  David Jee  <djee@redhat.com>
2916
2917         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2918         (setIconImage): Check if image is null.
2919
2920 2004-08-31  David Jee  <djee@redhat.com>
2921
2922         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2923         (create): Set the icon image.
2924         (nativeSetIconImage): New native method declaration.
2925         (setIconImage): Implement.
2926         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2927         (nativeSetIconImage): New function.
2928
2929 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2930
2931         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2932         (filenameFilterCallback): Declare local variable accepted before use.
2933
2934 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2935
2936         * gnu/java/awt/ComponentDataBlitOp.java:
2937         Cleaned up imports.
2938
2939 2004-08-31  Tom Tromey  <tromey@redhat.com>
2940
2941         * gnu/java/awt/peer/GLightweightPeer.java,
2942         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2943         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2944         javax/swing/JScrollPane.java: Removed
2945         redundant imports.
2946
2947 2004-08-31  David Jee  <djee@redhat.com>
2948
2949         * java/awt/DefaultKeyboardFocusManager.java
2950         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2951         event.  Fix shift modifier checking.
2952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2953         (accel_attach): Remove.
2954         (setupAccelGroup): Remove calls to accel_attach.
2955
2956 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2957
2958         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2959         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2960
2961         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2962         GtkArgList.java.
2963         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2964         * Makefile.in: Regenerate.
2965         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2966         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2967         (create(String)): New method.
2968         (create): Call new create method.
2969         (getArgs): Remove method.
2970         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2971         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2972         (nativeCreate): Rename to create.
2973         (gtkSetLabel): Rename to gtkButtonSetLabel.
2974         (gtkToggleButtonSetActive): New method.
2975         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2976         (setState): Replace set call with gtkToggleButtonSetActive.
2977         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2978         (getArgs): Remove method.
2979         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2980         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2981         (gtkWidgetSetSensitive): New method.
2982         (gtkWidgetSetParent): Likewise.
2983         (GtkComponentPeer): Call setParent, setComponentBounds and
2984         setVisibleAndEnabled.
2985         (setParent): New method.
2986         (setComponentBounds): New method.
2987         (setVisibleAndEnabled): New method.
2988         (setEnabled): Call gtkWidgetSetSensitive.
2989         (getArgs): Remove method.
2990         Remove all set methods.
2991         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2992         gtkWindowSetModal, setTitle and setResizable.
2993         (getArgs): Remove method.
2994         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2995         (setComponentBounds): New method.
2996         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2997         Replace set call with gtkWindowSetResizable.
2998         (getArgs): Remove method.
2999         (create): Call setTitle and setResizable.
3000         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3001         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3002         (gtkWindowSetTitle): New method.
3003         (gtkWindowSetResizable): New method.
3004         (gtkWindowSetModal): New method.
3005         (setParent): New method.
3006         (setVisibleAndEnabled): New method.
3007         (getArgs): Remove method.
3008         (setTitle): Call gtkWindowSetTitle.
3009         (setResizable): Call gtkWindowSetResizable.
3010         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3011         and off locking instrumentation.
3012
3013 2004-08-31  Kim Ho  <kho@redhat.com>
3014
3015         * Makefile.am: Add new file.
3016         * Makefile.in: Regenerate.
3017         * gcj/Makefile.in: Regenerate
3018         * include/Makefile.in:
3019         * java/awt/Container.java:
3020         (acquireComponentForMouseEvent): Respect 
3021         the event mask when looking for candidate.
3022         * javax/swing/JComponent.java:
3023         Remove toolTip field.
3024         (createToolTip): Create a tooltip on demand.
3025         (setToolTipText): Register with the ToolTipManager.
3026         (getToolTipText(MouseEvent)): Return getToolTipText().
3027         * javax/swing/JToolTip.java: Implement.
3028         * javax/swing/Timer.java: Jalopy.
3029         (restart): Call stop, then start.
3030         (stop): Interrupt the timer rather than wait for
3031         the timer to come to a stop naturally.
3032         * javax/swing/ToolTipManager.java: Implement.
3033         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3034         Change ToolTip.background color.
3035         * javax/swing/plaf/basic/BasicToolTipUI.java:
3036         Implement.
3037         * testsuite/Makefile.in: Regenerate
3038
3039 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3040
3041         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3042         constructor param comments.
3043
3044 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3045
3046         * java/awt/Component.java: Document AWT 1.0 event handler
3047         methods.
3048
3049 2004-08-31  Roman Kennke  <roman@ontographics.com>
3050
3051         * javax/swing/Box.java:
3052         (createGlue): Implemented
3053         (createHorizontalGlue): Implemented
3054         (createHorizontalStrut): Implemented
3055         (createVerticalGlue): Implemented
3056         (createVerticalStrut): Implemented
3057
3058 2004-08-31  David Jee  <djee@redhat.com>
3059
3060         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3061         (GtkChoicePeer): Do not automatically select first item.
3062         (getHistory): Remove.
3063         (nativeGetSelected): New method.
3064         (nativeRemoveAll): New method.
3065         (add): Use nativeGetSelected() instead of getHistory().
3066         (remove): Likewise.
3067         (removeAll): Call nativeRemoveAll().
3068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3069         (create): Migrate to GtkComboBox.
3070         (append): Likewise.
3071         (nativeAdd): Likewise.
3072         (nativeRemove): Likewise.
3073         (select): Likewise.
3074         (nativeRemoveAll): New method.
3075         (nativeGetSelected): New method.
3076         (selection_changed): New method.
3077         (getHistory): Remove.
3078         (item_activate): Remove.
3079         (item_removed): Remove.
3080         (connect_choice_item_selectable_hook): Remove.
3081
3082 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3083
3084         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3085         variable in setEditable call.
3086
3087         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3088         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3089         (gtkWidgetSetBackground): New method.
3090         (gtkWidgetSetForeground): Likewise.
3091         (create): Set peer's editable state based on awtComponent's.
3092
3093         * java/awt/Button.java (Button()): Use empty string rather than
3094         null in no-label constructor.
3095
3096 2004-08-31  Roman Kennke  <roman@ontographics.com>
3097
3098         * javax/swing/BoxLayout.java: Reimplement.
3099
3100 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3101
3102         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3103         gnu_java_awt_peer_gtk_GdkGraphics.c
3104         (initState(GtkComponentPeer)): Don't return array of colour
3105         values.
3106         (GdkGraphics(int,int)): Set default font to size 12.
3107         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3108         component's foreground colour.
3109         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3110         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3111         (initState(GtkComponentPeer)): Don't return array of colour
3112         values.
3113         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3114         colours to component's colours.
3115         (current_colors_of_widget): Remove function.
3116         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3117         Return a new graphics object.
3118         * java/awt/Font.java (toString): Fix format.
3119         * java/awt/Graphics.java (toString): Likewise.
3120
3121 2004-08-31  Craig Black  <craig.black@aonix.com>
3122
3123         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3124         (addTearOff): New function.
3125         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3126         New native method.
3127         (init): Call addTearOff() when menu.isTearOff().
3128
3129 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3130
3131         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3132         Default implementation.
3133         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3134         Implement using GdkPixbufDecoder.
3135
3136 2004-08-31  David Jee  <djee@redhat.com>
3137
3138         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3139         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3140         setting the size of GtkFileDialogPeers.
3141         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3142         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3143         use their default sizes rather than their natural requisitions.
3144
3145 2004-08-31  Michael Koch  <konqueror@gmx.de>
3146
3147         * javax/swing/JFormattedTextField.java
3148         (JFormattedTextField): Implemented.
3149         * javax/swing/text/DefaultEditorKit.java
3150         (BeepAction): New inner class.
3151         * javax/swing/text/Segment.java
3152         (partialReturn): New field.
3153         (setPartialReturn): New method.
3154         (isPartialReturn): Likewise.
3155         * javax/swing/text/View.java
3156         (createFragment): Fixed typo.
3157         (getStartOffset): New method.
3158         (getEndOffset): Likewise.
3159
3160 2004-08-31  Michael Koch  <konqueror@gmx.de>
3161
3162         * javax/swing/table/DefaultTableColumnModel.java
3163         (serialVersionUID): Made private.
3164         (listenerList): Initialize.
3165         (changeEvent): Initialize.
3166         * javax/swing/table/JTableHeader.java
3167         (JTableHeader): New constructors.
3168         (createDefaultColumnModel): New method.
3169         * javax/swing/table/TableColumn.java
3170         (setHeaderRenderer): Simplified code.
3171         (setCellRenderer): Likewise.
3172         (setWidth): Likewise.
3173
3174 2004-08-31  Tom Tromey  <tromey@redhat.com>
3175
3176         * java/text/AttributedString.java (AttributedString): Use
3177         ArrayList to build array of attribute ranges.  Don't use
3178         `attribs' before it is set.
3179
3180 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3181
3182         * HACKING: Remove reference to special automake. No longer needed.
3183
3184 2004-08-30  Tom Tromey  <tromey@redhat.com>
3185
3186         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3187         return result from `add'.
3188
3189 2004-08-30  Tom Tromey  <tromey@redhat.com>
3190
3191         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3192
3193 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3194
3195         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3196
3197 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3198
3199         * java/io/File.java File(String,String): Fixed handling of empty
3200         path.
3201
3202 2004-08-30  Casey Marshall  <csm@gnu.org>
3203
3204         Author e-mail updated for all files.
3205         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3206         instance of OID.
3207         (compareTo): Use `equals'.
3208         * gnu/java/security/der/BitString.java (equals): Test if the
3209         argument is an instance of BitString.
3210         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3211         class final. Made fields private.
3212         (<init>): New constructor.
3213         (skip): New method.
3214         (makeString): Made static; don't use NIO.
3215         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3216         * gnu/java/security/der/DERWriter.java: Fixed imports.
3217         (writeString): Don't use NIO.
3218         (toIso88591, toUtf16Be, toUtf8): New methods.
3219         * gnu/java/security/der/DERValue.java: Formatting changes only.
3220         * gnu/java/security/der/DER.java: Likewise.
3221
3222 2004-08-30  Tom Tromey  <tromey@redhat.com>
3223
3224         * java/nio/CharBuffer.java (put): Fix typo.
3225         * java/nio/DoubleBuffer.java (put): Fix typo.
3226         * java/nio/FloatBuffer.java (put): Fix typo.
3227         * java/nio/IntBuffer.java (put): Fix typo.
3228         * java/nio/LongBuffer.java (put): Fix typo.
3229         * java/nio/ShortBuffer.java (put): Fix typo.
3230
3231 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3232
3233         * java/nio/ByteBuffer.java (put): Fix typo.
3234
3235 2004-08-30  Casey Marshall  <csm@gnu.org>
3236
3237         * java/security/DummyKeyPairGenerator.java (clone): Removed
3238         useless instanceof check.
3239         * java/security/DummyMessageDigest.java (clone): Likewise.
3240         * java/security/DummySignature.java (clone): Likewise.
3241         * java/security/MessageDigest.java (clone): Remove useless
3242         instanceof check.
3243         * java/security/MessageDigestSpi.java (clone): Likewise.
3244         * java/security/Signature.java (clone): Provide meaningful
3245         implementation.
3246         * java/security/SignatureSpi.java (clone): Likewise.
3247
3248 2004-08-29  Mark Wielaard  <mark@klomp.org>
3249
3250         * java/util/Arrays.java
3251         (sort(byte[], int, int)): Check fromIndex < 0.
3252         (sort(char[], int, int)): Likewise.
3253         (sort(short[], int, int)): Likewise.
3254         (sort(int[], int, int)): Likewise.
3255         (sort(long[], int, int)): Likewise.
3256         (sort(float[], int, int)): Likewise.
3257         (sort(double[], int, int)): Likewise.
3258         (sort(Object[], int, int, Comparator)): Likewise.
3259         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3260         (qsort(char[], int, int)): Likewise.
3261         (qsort(short[], int, int)): Likewise.
3262         (qsort(int[], int, int)): Likewise.
3263         (qsort(long[], int, int)): Likewise.
3264         (qsort(float[], int, int)): Likewise.
3265         (qsort(double[], int, int)): Likewise.
3266
3267 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3268
3269         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3270         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3271         java/util/ArrayList.java, java/util/Arrays.java,
3272         java/util/BitSet.java, java/util/Calendar.java,
3273         java/util/Collection.java, java/util/ListIterator.java,
3274         java/util/Map.java, java/util/SortedSet.java:
3275         Added additional exceptions to documentation, along
3276         with some additions and corrections.
3277
3278 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3279
3280         * configure.ac: Handle --enable-gc-debug.
3281         * configure: Regenerate.
3282         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3283         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3284         Rearrange include file order.
3285         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3286         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3287         (disable_gc_mutex): Delete along with all references.
3288         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3289         adjust for debug header size.
3290         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3291         debug case.
3292         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3293         (gcj_describe_type_fn): New.
3294         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3295         Register gcj_describe_type_fn.
3296         * include/boehm-gc.h:
3297         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3298         Don't define, but declare, for debug case.
3299         * java/lang/natObject.cc:
3300         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3301
3302 2004-08-26  Mark Wielaard  <mark@klomp.org>
3303
3304         Fixes PR libgcj/17002:
3305         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3306         a TimeZoneId string and then try to convert that to a TimeZone with
3307         getDefaultSystemTimeZone(String).
3308         (timezones0): Changed type from Hashtable to HashMap.
3309         (timezones): Create HashMap, not Hashtable.
3310         (getDefaultTimeZone): New method, rewritten from CNI version.
3311         (readTimeZoneFile): New method.
3312         (readtzFile): Likewise.
3313         (skipFully): Likewise.
3314         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3315         getDefaultTimeZoneId and rewritten.
3316         (getDefaultTimeZoneId): Rewritten in java.
3317         
3318 2004-08-25  David Daney  <daney@avtrex.com>
3319
3320         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3321         * Makefile.in: Regenerated.
3322
3323 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3324
3325         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3326         only if jvmpi is enabled.
3327         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3328         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3329         (_Jv_AllocString): Likewise.
3330         (_Jv_AllocPtrFreeObject): Likewise.     
3331
3332 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3333
3334         * defineclass.cc: Include <stdio.h>.
3335         * java/lang/natClassLoader.cc: Include <stdio.h>.
3336
3337 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3338             Michael Koch  <konqueror@gmx.de>
3339
3340         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3341         * Makefile.in: Regenerated.
3342
3343 2004-08-20  Michael Koch  <konqueror@gmx.de>
3344
3345         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3346         AC_COMPILE_IFELSE macros.
3347
3348 2004-08-20  Michael Koch  <konqueror@gmx.de>
3349
3350         * configure.in: Renamed to configure.ac.
3351         * configure.ac: New file.
3352         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3353         include/config.h.in, testsuite/Makefile.in: Regenerated.
3354
3355 2004-08-20  Michael Koch  <konqueror@gmx.de>
3356
3357         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3358         * aclocal.m4, configure: Regenerated.
3359
3360 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3361             Michael Koch  <konqueror@gmx.de>
3362
3363         * configure.in, Makefile.am: Ported to automake 1.9.
3364         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3365         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3366         Regenerated.
3367
3368 2004-08-19  Tom Tromey  <tromey@redhat.com>
3369
3370         * java/net/DatagramSocket.java: Fixed typo.
3371
3372 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3373
3374         PR libgcj/17081
3375         * java/net/URI.java (string): New field. Make all other fields
3376         transient.
3377         (readObject): Implemented.
3378         (writeObject): Implemented.
3379         (URI): Set 'string'.
3380
3381 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3382
3383         PR libgcj/17079
3384         * java/util/logging/Handler.java (isLoggable): Accept record if its
3385         log level equals the threshold level. From Robin Green.
3386
3387 2004-08-18  David Daney  <ddaney@avtrex.com>
3388
3389         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3390         instead of sigwait.
3391
3392 2004-08-17  Michael Koch  <konqueror@gmx.de>
3393
3394         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3395         * Makefile.in: Regenerated.
3396
3397 2004-08-16  Tom Tromey  <tromey@redhat.com>
3398
3399         PR java/8473:
3400         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3401
3402 2004-08-16  Michael Koch  <konqueror@gmx.de>
3403
3404         * Makefile.am
3405         (math_c_files): Renamed from c_files.
3406         (math_c_source_files): Renamed from c_source_files.
3407         * Makefile.in,
3408         gcj/Makefile.in,
3409         include/Makefile.in,
3410         testsuite/Makefile.in: Regenerated.
3411
3412 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3413
3414         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3415         to avoid autoconf warning.
3416         * configure: Rebuilt.
3417
3418 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3419
3420         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3421         localhostAddress to loopbackAddress.
3422         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3423
3424 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3425
3426         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3427         boehm-gc's include dirs.
3428         * configure: Rebuilt.
3429         * include/boehm-gc.h: Include gc_config.h.
3430
3431 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3432
3433         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3434         localhostAddress.
3435         (getByName): Return loopback address for null hostname, without
3436         security check. Use lookup(), not getAllByName.
3437         (getAllByName): Return loopback address for null hostname, without
3438         security check.
3439         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3440         check here.
3441
3442 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3443
3444         PR libgcj/17020
3445         Reported by Robin Green.
3446         * defineclass.cc (handleField): Don't throw exception on unrecognised
3447         modifier. Add FIXME comments for spec compliance.
3448         (handleMethod): Likewise.
3449
3450 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3451
3452         PR libgcj/16662
3453         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3454         (Almost everywhere): add LOG calls, fix, add comments.
3455         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3456         Add explicit check for LOCKED bit in slow case (PR 16662).
3457         (_Jv_MonitorExit): Add casts in debug-only code.
3458         Always release LOCKED bit before throwing exception.
3459         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3460         isn't.  Handle easy cases without lock acquisition.
3461         (Object::wait): Use NotifyAll for lock inflation.
3462
3463 2004-08-12  David Daney  <ddaney@avtrex.com>
3464
3465         * testsuite/libjava.lang/Process_1.java: New test.
3466         * testsuite/libjava.lang/Process_2.java: New test.
3467         * testsuite/libjava.lang/Process_3.java: New test.
3468         * testsuite/libjava.lang/Process_4.java: New test.
3469         * testsuite/libjava.lang/Process_5.java: New test.
3470         * testsuite/libjava.lang/Process_6.java: New test.
3471         * testsuite/libjava.lang/Process_1.out: Expected result.
3472         * testsuite/libjava.lang/Process_2.out: Expected result.
3473         * testsuite/libjava.lang/Process_3.out: Expected result.
3474         * testsuite/libjava.lang/Process_4.out: Expected result.
3475         * testsuite/libjava.lang/Process_5.out: Expected result.
3476         * testsuite/libjava.lang/Process_6.out: Expected result.
3477
3478 2004-08-12  David Daney  <ddaney@avtrex.com>
3479
3480         PR libgcj/11801
3481         * java/lang/PosixProcess.java: Rewrote.
3482         * java/lang/natPosixProcess.cc: Rewrote.
3483         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3484         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3485         * posix-threads.cc (block_sigchld) New function.
3486         (_Jv_ThreadRegister) Use it.
3487         (_Jv_ThreadStart) Use it.
3488         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3489         * Makefile.am: ... to specify extra native headers.
3490         * configure: Regenerated.
3491         * include/config.h: Regenerated.
3492         * Makefile.in: Regenerated.
3493         * gcj/Makefile.in: Regenerated.
3494         * include/Makefile.in: Regenerated.
3495         * testsuite/Makefile.in: Regenerated.
3496
3497 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3498
3499         PR tree-optimization/16867
3500         * testsuite/libjava.lang/PR16867.java: New test.
3501
3502 2004-08-09  Per Bothner  <per@bothner.com>
3503
3504         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3505         with private fields and access methods.
3506         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3507         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3508         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3509         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3510         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3511         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3512         * jni.cc: Likewise.
3513         * resolve.cc: Likewise.
3514         * gcj/field.h: Likewise.
3515         * include/jvm.h: Likewise.
3516         * java/lang/Class.h: Likewise.
3517         * java/lang/natClass.cc: Likwise.
3518         * java/lang/natClassLoader.cc: Likewise
3519         * java/lang/reflect/natMethod.cc: Likewise
3520         * verify.cc: Likewise.
3521         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3522         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3523
3524 2004-08-10  Andrew Haley  <aph@redhat.com>
3525
3526         * testsuite/libjava.lang/err14.java: New file.
3527         * testsuite/libjava.lang/err14.out: New file.
3528
3529 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3530
3531         * Makefile.am: Fix missing rename from x_nat_headers to 
3532         xlib_nat_headers.
3533         * Makefile.in: Regenerated.
3534
3535 2004-08-04  Andrew Haley  <aph@redhat.com>
3536
3537         * java/security/BasicPermission.java: Don't check wildcards.
3538
3539 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3540             Michael Koch  <konqueror@gmx.de>
3541
3542         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3543         * configure.in: Replaced all usages of AC_LINK_FILES by
3544         AC_CONFIG_LINKS.
3545         * aclocal.m4,
3546         configure: Regenerated.
3547
3548 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3549             Michael Koch  <konqueror@gmx.de>
3550
3551         * acconfig.h: Removed.
3552         * Makefile.am: Rename variables for xlib peer to include xlib and
3553         gtk_c_headers to gtk_jni_headers.
3554         * Makefile.in: Regenerated.
3555
3556 2004-08-04  Andrew Haley  <aph@redhat.com>
3557
3558         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3559         debugging.
3560
3561 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3562
3563         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3564         Replace most top level 'dnl' comments with '#' comments, conforming
3565         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3566         help strings.
3567         * configure: Rebuilt.
3568
3569 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3570
3571         * acinclude.m4: Include no-executables.m4.
3572         * aclocal.m4: Rebuild.
3573         * configure.in: Convert to the autoconf 2.59 version of
3574         of the no-executables hack, and also of the nonstandard CXX
3575         hack and the multilibbed CC and CXX hack.  Change prerequisite
3576         to autoconf 2.59.
3577         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3578         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3579         testsuite/Makefile.in: Regenerate.
3580
3581 2004-08-03  Tom Tromey  <tromey@redhat.com>
3582
3583         * jni.cc: Reindented.
3584
3585 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3586
3587         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3588
3589 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3590
3591         * testsuite/libjava.compile/PR16701.java: New test.
3592
3593 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3594
3595         * java/util/Collection.java, java/util/List.java,
3596         java/util/Map.java, java/util/Set.java,
3597         java/util/SortedMap.java, java/util/SortedSet.java:
3598         Added additional exceptions to documentation.
3599
3600 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3601
3602         PR libgcj/16814
3603         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3604         * configure. Regenerate.
3605         * include/win32.h: Explicitly include winsock2.h
3606         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3607         Winsock api.
3608
3609 2004-07-30  Michael Koch  <konqueror@gmx.de>
3610
3611         * java/util/zip/GZIPInputStream.java
3612         (GZIPInputStream): Increase buffer size to 4k.
3613         * java/util/zip/GZIPOutputStream.java
3614         (GZIPOutputStream): Likewise.
3615         * java/util/zip/Inflater.java
3616         (setInput): Merged formating with GNU classpath.
3617         * java/util/zip/InflaterInputStream.java
3618         (InflaterInputStream): Increase buffer size to 4k.
3619         (fill): Throw exception if stream ends early.
3620         (read): Merged endless-loop with GNU classpath.
3621         (skip): Increase buffer size to 2k.
3622
3623 2004-07-30  Michael Koch  <konqueror@gmx.de>
3624
3625         * gnu/java/awt/EmbeddedWindow.java
3626         (addNotify): Use AccessController to allow execution of privileged
3627         code.
3628
3629 2004-07-29  Michael Koch  <konqueror@gmx.de>
3630
3631         * gnu/java/lang/MainThread.java:
3632         Explicitely import used classes.
3633         (args): Make it type String[].
3634
3635 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3636
3637         * gnu/java/awt/ComponentDataBlitOp.java,
3638         gnu/java/beans/ExplicitBeanInfo.java,
3639         gnu/java/beans/IntrospectionIncubator.java,
3640         gnu/java/beans/editors/ColorEditor.java,
3641         gnu/java/beans/editors/FontEditor.java,
3642         gnu/java/beans/editors/NativeBooleanEditor.java,
3643         gnu/java/beans/editors/NativeByteEditor.java,
3644         gnu/java/beans/editors/NativeDoubleEditor.java,
3645         gnu/java/beans/editors/NativeFloatEditor.java,
3646         gnu/java/beans/editors/NativeIntEditor.java,
3647         gnu/java/beans/editors/NativeLongEditor.java,
3648         gnu/java/beans/editors/NativeShortEditor.java,
3649         gnu/java/beans/editors/StringEditor.java,
3650         gnu/java/io/ClassLoaderObjectInputStream.java,
3651         gnu/java/io/decode/Decoder.java,
3652         gnu/java/io/encode/Encoder.java,
3653         gnu/java/lang/ClassHelper.java,
3654         gnu/java/locale/Calendar.java,
3655         gnu/java/locale/Calendar_de.java,
3656         gnu/java/locale/Calendar_en.java,
3657         gnu/java/locale/Calendar_nl.java,
3658         gnu/java/locale/LocaleInformation_de.java,
3659         gnu/java/locale/LocaleInformation_en.java,
3660         gnu/java/locale/LocaleInformation_nl.java:
3661         Cleaned up imports.
3662
3663 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3664
3665         * README: Remove obsolete info. Update bug URL.
3666         * THANKS: Updated.
3667         * NEWS: Updated with news up to GCC 3.4 release.
3668
3669 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3670
3671         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3672         Renamed from 'setName'. New 2-argument form with default value.
3673         (run): Pass default 'value' parameter to System.getProperty().
3674         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3675         typos.
3676         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3677         not 'setName'.
3678
3679 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3680
3681         * configure.in: Check for minimum GTK version 2.4 requirement.
3682         * configure: Rebuilt.
3683
3684 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3685
3686         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3687         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3688         Reduce sleep time.
3689         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3690         compiler bug.
3691         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3692         address. Reduce sleep times. Synchronize with target threads before
3693         attempting to interrupt them. Don't try to calibrate yeild count,
3694         instead, always loop for a fixed time.
3695         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3696         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3697         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3698         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3699         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3700         * testsuite/libjava.lang/pr179.java: Likewise.
3701         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3702         time. Remove upper bounds check on sleep time. 
3703
3704 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3705
3706         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3707         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3708
3709 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3710
3711         * java/io/File.java (toURI): Throw RuntimeException, not 
3712         InternalError.
3713         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3714         class name, not instance.
3715
3716 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3717
3718         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3719         and gnu/java/security/action/SetAccessibleAction.java.
3720         * Makefile.in: Rebuilt.
3721
3722 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3723
3724         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3725         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3726         _Jv_InitPrimClass.
3727         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3728         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3729         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3730
3731 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3732
3733         * Makefile.am: Replace jar, rmic and rmiregistry references with
3734         gjar, grmic and grmiregistry.
3735         * configure.in: Likewise.
3736         * Makefile.in: Regenerate.
3737         * configure: Likewise.
3738         * gcj/Makefile.in: Likewise.
3739         * include/Makefile.in: Likewise.
3740         * testsuite/Makefile.in: Likewise.
3741
3742 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3743
3744         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3745         for privileged getProperty calls.
3746         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3747         SetAccessibleAction instead of anonymous class for doPrivileged call.
3748         (getMethod): Likewise.
3749         (setAccessible): New field. PrivilegedAction object to use when
3750         calling setAccessible.
3751         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3752         SetAccessibleAction instead of anonymous class for diPrivileged call.
3753         (setFields): Likewise.
3754         (getClassUID): Likewise.
3755         (findMethod): Likewise.
3756         * gnu/java/security/action/GetPropertyAction.java: New class.
3757         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3758
3759 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3760
3761         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3762         for final fields.
3763         * testsuite/libjava.lang/Serialization.java: New test.
3764         * testsuite/libjava.lang/Serialization.out: New.
3765
3766 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3767
3768         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3769         missed in last commit.
3770
3771 2004-07-23  Mark Wielaard  <mark@klomp.org>
3772
3773         * java/lang/System.java (static): Set http.agent system property when
3774         not yet set.
3775         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3776         from system property inside AccessController.doPrivileged() call.
3777         (proxyPort): Made package private.
3778         (proxyInUse): Likewise.
3779         (proxyHost): Likewise.
3780         (userAgent): Likewise.
3781
3782 2004-07-23  Mark Wielaard  <mark@klomp.org>
3783
3784         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3785         implementation.
3786
3787 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3788
3789         * Makefile.am (ordinary_java_source_files): Add
3790         DefaultContentHandlerFactory.java.
3791         * Makefile.in: Rebuilt.
3792         * java/net/URLConnection.java (defaultFactory): New field.
3793         (getContent): 
3794         (getContentHandler): Renamed from 'setContentHandler'. Try 
3795         defaultFactory after user-set factory, if any. Search for content 
3796         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3797         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3798         Implemented.
3799         (getLastModified): Implemented.
3800         (getPermission): Create file permission here, instead of in
3801         constructor.
3802         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3803         Implemented.
3804         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3805         Implemented.
3806         (getLastModified): Implemented.
3807         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3808         Default implementation.
3809         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3810         Implement using GdkPixbufDecoder.
3811         
3812 2004-07-21  Michael Koch  <konqueror@gmx.de>
3813
3814         * javax/swing/JTextArea.java
3815         (setLineWrap): Fire property change event after new value is set.
3816         (setTabSize): Likewise.
3817
3818 2004-07-21  Michael Koch  <konqueror@gmx.de>
3819
3820         * javax/swing/JTable.java
3821         (autoCreateColumnsFromModel): New field.
3822         (autoResizeMode): Likewise.
3823         (cellEditor): Likewise.
3824         (cellSelectionEnabled): Likewise.
3825         (columnModel): Likewise.
3826         (dataModel): Likewise.
3827         (defaultEditorsByColumnClass): Likewise.
3828         (defaultRenderersByColumnClass): Likewise.
3829         (editingColumn): Likewise.
3830         (editingRow): Likewise.
3831         (gridColor): Likewise.
3832         (preferredViewportSize): Likewise.
3833         (rowHeight): Likewise.
3834         (rowMargin): Likewise.
3835         (rowSelectionAllowed): Likewise.
3836         (selectionBackground): Likewise.
3837         (selectionForeground): Likewise.
3838         (selectionModel): Likewise.
3839         (showHorizontalLines): Likewise.
3840         (showVerticalLines): Likewise.
3841         (tableHeader): Likewise.
3842         (JTable): Implemented.
3843         (getColumnModel): Likewise.
3844         (getSelectedRow): Likewise.
3845         (getSelectionModel): Likewise.
3846         (setModel): Likewise.
3847         (setSelectionModel): Likewise.
3848         (createScrollPaneForTable): New method.
3849         (createDefaultDataModel): Likewise.
3850         (createDefaultListSelectionModel): Likewise.
3851         (getModel): Likewise.
3852         (getTableHeader): Likewise.
3853         (setTableHeader): Likewise.
3854         (getColumnSelectionAllowed): Likewise.
3855         (setColumnSelectionAllowed): Likewise.
3856         (getRowSelectionAllowed): Likewise.
3857         (setRowSelectionAllowed): Likewise.
3858         (getAutoResizeMode): Likewise.
3859         (setAutoResizeMode): Likewise.
3860         (getColumnCount): Likewise.
3861         (getRowCount): Likewise.
3862         (getCellRenderer): Likewise.
3863         * javax/swing/JTree.java
3864         (cellRenderer): New field.
3865         (editable): Likewise.
3866         (rootVisible): Likewise.
3867         (showsRootHandles): Likewise.
3868         (getModel): New method.
3869         (setModel): Likewise.
3870         (isEditable): Likewise.
3871         (setEditable): Likewise.
3872         (isRootVisbile): Likewise.
3873         (setRootVisible): Likewise.
3874         (getShowsRootHandles): Likewise.
3875         (setShowRootHandles): Likewise.
3876         (getCellRenderer): Likewise.
3877         (setCellRenderer): Likewise.
3878
3879 2004-07-21  Michael Koch  <konqueror@gmx.de>
3880
3881         * javax/swing/JFormattedTextField.java
3882         (setDocument): Implemented.
3883         * javax/swing/JRootPane.java:
3884         Fixed javadocs.
3885         * javax/swing/JTable.java
3886         (getDefaultRenderer): New method.
3887         * javax/swing/JTextField.java
3888         (setFont): Likewise.
3889         (getPreferredSize): Likewise.
3890         * javax/swing/JToggleButton.java
3891         (getAccessibleContext): Fix javadoc.
3892         * javax/swing/JTree.java:
3893         Add some javadocs.
3894         * javax/swing/JViewport.java:
3895         Likewise.
3896
3897 2004-07-21  David Jee  <djee@redhat.com>
3898
3899         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3900         Collect all native method declaration at the top.
3901         (create): Set the filename filter if necessary.
3902         (setDirectory): Call nativeSetDirectory().
3903         (setFilenameFilter): Implement.
3904         (filenameFilterCallback): New method.
3905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3906         (create): Configure dialog to show hidden files.
3907         (filenameFilterCallback): New function. 
3908         (nativeSetFilenameFilter): New function.
3909         (nativeSetDirectory): New function.
3910
3911 2004-07-21  Kim Ho  <kho@redhat.com>
3912
3913         * javax/swing/plaf/basic/BasicSliderUI.java:
3914         Ran Jalopy.
3915         (paintTrack): Fill the track before painting
3916         the borders.
3917
3918 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3919
3920         patch from Roman Kennke <roman@ontographics.com>
3921         * javax/swing/Spring.java: New file.
3922         * javax/swing/SpringLayout.java: New file.
3923         * Makefile.am: Add new files.
3924         * Makefile.in: Regenerate.
3925
3926 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3927
3928         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3929         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3930         * javax/swing/ScrollPaneLayout.java: Likewise.
3931
3932 2004-07-21  Kim Ho  <kho@redhat.com>
3933
3934         * javax/swing/DefaultDesktopManager.java:
3935         (findMinimum): Removed.
3936         (resizeFrame): Trust the UI to pass valid 
3937         bounds.
3938         * javax/swing/JOptionPane.java:
3939         Implemented showInternalXXXDialog methods.
3940         (startModal): New method.
3941         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3942         (BorderListener::mouseDragged): Verify that the new 
3943         bounds are valid before passing them to the DesktopManager.
3944         (preferredLayoutSize): Delegate
3945         to getSize.
3946         (minimumLayoutSize): Ditto.
3947         (getSize): New method.
3948         (GlassPaneDispatcher): Reimplemented by copying 
3949         a stripped down LightweightDispatcher from Container.
3950         (getMinimumSize): Call minimumLayoutSize.
3951         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3952         Ran Jalopy.
3953         (mousePressed): Add ability to properly close 
3954         JInternalFrames.
3955         * javax/swing/plaf/basic/BasicToolBarUI.java:
3956         (DragWindow): Set owner for DragWindow.
3957
3958 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3959
3960         * java/awt/image/ShortLookupTable.java: New file.
3961         * java/awt/image/ByteLookupTable.java: New file.
3962         * Makefile.am: Added new files.
3963         * Makefile.in: Regenerated.
3964
3965 2004-07-21  David Jee  <djee@redhat.com>
3966
3967         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3968         (create(GtkContainerPeer)): New native method.
3969         (create()): Call native create(), passing in the parent frame
3970         as the paramter. Natively set the current file and directory.
3971         (setFile): Construct an absolute filename before passing it to
3972         the native peer.
3973         (nativeGetDirectory): New method.
3974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3975         (window_closed): Removed.
3976         (ok_clicked): Likewise.
3977         (cancel_clicked): Likewise.
3978         (handle_response): New method.
3979         (create): Use GtkFileChooserDialog.
3980         (connectSignals): Connect to handle_response.
3981         (nativeGetDirectory): New method.
3982         (nativeSetFile): Use GtkFileChooserDialog.
3983
3984 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3985
3986         * java/awt/image/LookupTable.java: New file.
3987         * Makefile.am: Added new file.
3988         * Makefile.in: Regenerated.
3989
3990 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3991
3992         * java/awt/image/Kernel.java: New file.
3993         * Makefile.am: Added new file.
3994         * Makefile.in: Regenerated.
3995
3996 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3997
3998         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3999         * javax/swing/JMenu.java: Likewise.
4000         * javax/swing/JMenuBar.java: Likewise.
4001         (MARGIN_CHANGED_PROPERTY): New property.
4002         (setMargin): Implemented.
4003         * javax/swing/JMenuItem.java: Fixed javadocs.
4004         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4005         (LABEL_CHANGED_PROPERTY): New property.
4006         (add): changed to use createActionComponent.
4007         (createActionComponent): Implemented.   
4008         (setLabel): Fire PropertyChangeEvent if label property
4009         changes.
4010         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4011         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4012         (ContainerHandler): Repaint if margin property has changed.
4013         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4014         (installUI): Call installComponents().
4015         (uninstallUI): Call uinstallComponents().
4016         * javax/swing/plaf/basic/BasicMenuUI.java:
4017         Fixed javadocs.
4018         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4019         Likewise.
4020
4021 2004-07-21  Kim Ho  <kho@redhat.com>
4022
4023         * javax/swing/plaf/basic/BasicToolBarUI.java:
4024         (DragWindow): Use the right constructor.
4025
4026 2004-07-21  Kim Ho  <kho@redhat.com>
4027
4028         * javax/swing/JToolBar.java:
4029         (layoutContainer): Use getComponents.
4030         * javax/swing/plaf/basic/BasicToolBarUI.java:
4031         (DragWindow): Don't use SwingUtilities' 
4032         getOwnerFrame
4033         (ToolBarDialog): ditto.
4034
4035 2004-07-21  Kim Ho  <kho@redhat.com>
4036
4037         * javax/swing/JRootPane.java:
4038         Ran jalopy.
4039         (layoutContainer): Set the glasspane's size to 
4040         be the same as the content pane.
4041         (createGlassPane): Set opaque property to false.
4042
4043 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4044
4045         * java/awt/Component.java (requestFocus()): Don't handle Panels
4046         specially.
4047         (requestFocus(boolean)): Likewise.
4048         (requestFocusInWindow(boolean)): Likewise.
4049         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4050         Set GTK_CAN_FOCUS flag.
4051
4052 2004-07-21  Kim Ho  <kho@redhat.com>
4053
4054         * Makefile.am: Added new file.
4055         * Makefile.in: Regenerated.
4056         * gcj/Makefile.in: Regenerated.
4057         * include/Makefile.in: Regenerated.
4058         * javax/swing/AbstractButton.java:
4059         Add rollOverEnabled property.
4060         (setRolloverEnabled): Use new property.
4061         (isRolloverEnabled): Use new property.
4062         * javax/swing/JTabbedPane.java:
4063         (setComponent): Remove useless JTabbedPane.this.
4064         * javax/swing/JToolBar.java: Finish implementation.
4065         * javax/swing/plaf/basic/BasicArrowButton.java:
4066         (paint): Moved border painting to a border.
4067         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4068         Change JToolBar look and feel defaults.
4069         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4070         (actionPerformed): Return Integer index instead of name.
4071         (addButtonComponents): Check to see if component is
4072         JButton last.
4073         (createMessageArea): Don't use components that are not
4074         completed yet.
4075         (getIconForType): Use temporary icons.
4076         * javax/swing/plaf/basic/BasicSliderUI.java:
4077         (mousePressed): Do not return if it's on thumb.
4078         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4079         (paintMinorTickForVertSlider): ditto.
4080         (paintMajorTickForHorizSlider): ditto.
4081         (paintMajorTickForVertSlider): ditto.
4082         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4083         Add a border around the SplitPaneDivider.
4084         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4085         Remove comments.
4086         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4087         New file. Implemented.
4088         * javax/swing/plaf/basic/BasicToolBarUI.java:
4089         Implemented.
4090         * testsuite/Makefile.in: Regenerated.
4091
4092 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4093
4094         * javax/swing/Timer.java (run): Queue events each time cycle.
4095
4096 2004-07-21  David Jee  <djee@redhat.com>
4097
4098         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4099         (imageComplete): Call image.imageComplete().
4100         * java/awt/image/MemoryImageSource.java:
4101         Reimplement consumers as a Vector instead of a Hashtable.  This is
4102         because enumeration on a Hashtable is not thread-safe.
4103         (addConsumer): Adapt to Vector consumers.
4104         (isConsumer): Adapt to Vector consumers.
4105         (removeConsumer): Adapt to Vector consumers.
4106         (startProduction): Adapt to Vector consumers. Call imageComplete()
4107         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4108         (newPixels): Adapt to Vector consumers.
4109         (sendPicture): Set the color model of the image consumer.
4110         (newPixels(IIII)): Adapt to Vector consumers.
4111         (newPixels(IIIIB)): Adapt to Vector consumers.
4112
4113 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4114
4115         * java/awt/Component.java (deliverEvent): Implement.
4116         (postEvent): Implement.
4117         (handleEvent): Implement.
4118         (translateEvent): New method.
4119         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4120         * java/awt/Container.java (deliverEvent): Implement.
4121         * java/awt/Event.java (paramString): Fix formatting.
4122         * java/awt/Font.java (toString): Likewise.
4123         * java/awt/Window.java (postEvent): Implement.
4124
4125 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4126
4127         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4128         Set window's focus owner upon receiving a FOCUS_LOST event.
4129         * java/awt/Window.java (Window()): Refocus the previously
4130         focused component within the window when the window regains the
4131         top-level focus.
4132         (setFocusOwner): New method.
4133         * java/awt/Component.java (requestFocus): Add FIXME.
4134
4135         * libgcj.pc.in: Remove library flags.
4136
4137 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4138
4139         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4140         MOUSE_PRESSED event.
4141         * java/awt/Component.java (requestFocus()): Handle Panel
4142         specially.  Post FOCUS_LOST event on opposite component.
4143         (requestFocus(boolean)): Likewise.
4144         (requestFocusInWindow(boolean)): Likewise.
4145         (paramString): Reorder dimension fields.
4146         * java/awt/Container.java (paramString): Fix string format.
4147         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4148         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
4149         process key events if the focus owner is non-null.
4150         (dispatchKeyEvent): Likewise.
4151         * java/awt/Frame.java (paramString): Fix formatting.
4152         (generateName): New method.
4153         (getUniqueLong): Likewise.
4154         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4155         the temporary focus owner is null.  If so, return the permanent
4156         focus owner.
4157         * java/awt/Panel.java (generateName): New method.
4158         (getUniqueLong): Likewise.
4159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4160         signal handling to make callbacks more specific.
4161
4162 2004-07-21  Michael Koch  <konqueror@gmx.de>
4163
4164         * javax/swing/text/Position.java
4165         (Bias): Implemented.
4166
4167 2004-07-21  Michael Koch  <konqueror@gmx.de>
4168
4169         * javax/swing/LookAndFeel.java
4170         (provideErrorFeedback): New method.
4171
4172 2004-07-21  Michael Koch  <konqueror@gmx.de>
4173
4174         * javax/swing/JTextArea.java
4175         (tabSize): New field.
4176         (getTabSize): New method.
4177         (setTabSize): Likewise.
4178
4179 2004-07-21  Michael Koch  <konqueror@gmx.de>
4180
4181         * javax/swing/ActionMap.java:
4182         Fixed javadocs all over.
4183         (serialVersionUID): Made private.
4184         (parent): Don't explicitely initialize with default value.
4185         (get): SImplified.
4186         (keys): Reimplemented.
4187         (allKeys): Likewise.
4188         (convertSet): Removed.
4189         * javax/swing/ComponentInputMap.java:
4190         Fixed javadocs all over.
4191         (ComponentInputMap): Implemented.
4192         (put): Likewise.
4193         (clear): Likewise.
4194         (remove): Likewise.
4195         (SetParent): Likewise.
4196         (getComponent): Likewise.
4197         * javax/swing/InputMap.java:
4198         Fixed javadocs all over.
4199         (serialVersionUID): Made private.
4200         (parent): Don't explicitely initialize with default value.
4201         (get): SImplified.
4202         (keys): Reimplemented.
4203         (allKeys): Likewise.
4204         (convertSet): Removed.
4205
4206 2004-07-21  Michael Koch  <konqueror@gmx.de>
4207
4208         * javax/swing/ActionMap.java,
4209         javax/swing/ComponentInputMap.java,
4210         javax/swing/InputMap.java,
4211         javax/swing/table/DefaultTableColumnModel.java,
4212         javax/swing/table/TableColumn.java,
4213         javax/swing/table/TableColumnModel.java,
4214         javax/swing/table/TableModel.java,
4215         javax/swing/text/AbstractDocument.java,
4216         javax/swing/text/TextAction.java:
4217         Reformated.
4218
4219 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4220
4221         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4222         Make method non-static.
4223         * javax/swing/AbstractButton.java:
4224         Rename fields to match property names where possible.
4225         (iconTextGap): New property.
4226         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4227         (init) New method, call from after various constructors.
4228         * javax/swing/JComponent.java (revalidate): 
4229         Invalidate before queueing repair.
4230         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4231         Reimplement in terms of visibleRowCount property.
4232         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4233         * javax/swing/JScrollPane.java (createScrollListener): 
4234         Remove tracing chatter.
4235         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4236         * javax/swing/RepaintManager.java (addInvalidComponent): 
4237         Don't invalidate.
4238         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4239         calculations.
4240         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4241         Mimic sun behavior on top left/right positioning.
4242         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4243         Remove mistaken use of preferredScrollableViewportSize here.
4244         (layoutContainer): Use view's preferred size as basis.
4245         * javax/swing/plaf/basic/BasicButtonUI.java:
4246         Set, get, and use textIconGap property.
4247         (paint) Paint text returned from layout (with ellipsis).
4248         * javax/swing/plaf/basic/BasicListUI.java:
4249         Remove tracing chatter, correct various minor calculations.
4250         (getCellBounds): Update layout state before calculating.
4251         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4252         Use margin default similar to sun's.    
4253         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4254         (createIncreaseIcon): Center icon, minimize margins.
4255         (createDecreaseIcon): Likewise.
4256         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4257         Implement.
4258         (installUI): Call it.
4259         (uninstallDefaults): Implement.
4260         (uninstallUI): Call it.
4261         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4262         Call existing Window constructor.
4263         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4264         Set clip before painting.
4265
4266 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4267         
4268         * javax/swing/JMenuItem.java:
4269         (processMouseEvent): Reimplemented to deal with
4270         mouse drag events.
4271         (createMenuDragMouseEvent): New private helper method.
4272         Creates MenuDragMouseEvent.
4273         * javax/swing/MenuSelectionManager.java
4274         (componentForPoint): Implemented.
4275         (isComponentPartOfCurrentMenu): Made public.
4276         (processMouseEvent): Reimplemented to deal with 
4277         mouse drag events.
4278         (setSelectedPath): Corrected small mistake that caused
4279         path to be set incorrectly.
4280         (getPath): If given component is JMenu then also add this
4281         menu's popup menu to the selected path.
4282         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4283         (getPath): Ditto.
4284         (getPreferredSize): Call getPreferredMenuItemSize().
4285         (getPreferredItemSize): Moved code from getPreferredSize to here.
4286         (installListeners): Install MouseMotionListeners.
4287         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4288         if mouse wasn't released in the bounds of this menu item.
4289         (MenuDragMouseHandler): Implemented.
4290         * javax/swing/plaf/basic/BasicMenuUI.java:
4291         (installListeners): Install MouseMotionListener and 
4292         MenuDrageMouseListener.
4293         (MenuDragMouseHandler): Implemented.
4294         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4295         (uninstallListeners): Implemented.
4296         
4297 2004-07-21  Michael Koch  <konqueror@gmx.de>
4298
4299         * javax/swing/JCheckBox.java: Reformated.
4300         (JCheckBox): Fixed all constructors.
4301         (isBorderPaintedFlat): New method.
4302         (setBorderPaintedFlat): New method.
4303         * javax/swing/JEditorPane.java
4304         (createEditorKitForContentType): Made public.
4305         (scrollToReference): Likewise.
4306         * javax/swing/JTextArea.java
4307         (setLineWrap): Fire property change.
4308         * javax/swing/JToggleButton.java
4309         (JToggleButton): New constructor.
4310         (JToggleButton): Simplified.
4311         * javax/swing/text/AttributeSet.java
4312         (FontAttribute): Renamed from FontCharacterAttribute.
4313         * javax/swing/text/JTextComponent.java
4314         (KeyBinBinding): Added javadoc.
4315         (JTextComponent): Likewise.
4316         (getAccessibleContext): Fixed javadoc.
4317         * javax/swing/text/View.java
4318         (View): Added javadoc.
4319         * javax/swing/text/TabableView.java: New file.
4320         * Makefile.am: Added javax/swing/text/TabableView.java.
4321         * Makefile.in: Regenerated.
4322
4323 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4324
4325         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4326         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4327         (GtkErrorImage): New helper class.
4328         (bufferedImageOrError): New helper method.
4329         (createImage): Use it.
4330
4331 2004-07-21  David Jee  <djee@redhat.com>
4332
4333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4334         (setCaretPosition): Scroll the text view so the new caret position
4335         is visible on screen.
4336
4337 2004-07-21  David Jee  <djee@redhat.com>
4338
4339         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4340         (setBounds): Do not validate awtComponent here.
4341         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4342         (getPreferredSize): New method.
4343         * java/awt/ScrollPane.java
4344         (ScrollPane): Set default size to 100x100.
4345         (addNotify): If child is not a Panel, wrap it with a new Panel.
4346         (paramString): Implement.
4347
4348 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4349
4350         * javax/swing/JMenu.java:
4351         (setSelected): Display popup menu only if this menu 
4352         is showing on the screen.
4353         * javax/swing/JPopupMenu.java:
4354         (processMouseEvent): Added comment.
4355         (processKeyEvent): Likewise.
4356         * javax/swing/MenuSelectionManager.java:
4357         (clearSelectedPath): Only fireStateChanged() after
4358         selected path was changed, not before.
4359         (setSelectedPath): Likewise.
4360         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4361         (paintMenuItem): Corrected position of menu item's
4362         icon.
4363         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4364         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4365         (popupMenuCanceled): Reimplemented.
4366         (popupMenuWillBecomeVisible): Select first menu item by default 
4367         when displaying free floating popup menus.
4368         (TopWindowListener): Reimplemented.
4369
4370 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4371
4372         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4373         Panel from being painted twice when it is first shown.
4374
4375 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4376
4377         * java/awt/Window.java: Reverted changes from my 
4378         previous patch for creating window without an owner.
4379         * javax/swing/SwingUtilities.java: 
4380         (SwingUtilities.OwnerFrame): made static.
4381         (OwnerFrame.setVisible): New method. Overridden with
4382         empty implementation.
4383         (OwnerFrame.isShowing): New method. Ovverridden
4384         to return always true.
4385
4386 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4387
4388         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4389         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4390         (GtkComponentPeer): Remove temporary try/catch block.
4391         (setVisible): Call show and hide.
4392         (show): Make native.
4393         (hide): Likewise.
4394         (getArgs): Don't add "visible" argument.
4395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4396         (property_notify_predicate): Return Bool instead of int.
4397         (find_layout): New function.
4398         (connectJObject): Call find_layout.
4399         (connectSignals): Likewise.
4400         (moveLayout): Likewise.
4401         (gtkLayoutSetVisible): Likewise.
4402
4403 2004-07-21  Mark Wielaard  <mark@klomp.org>
4404
4405         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4406         on notifier object before calling notifyAll().
4407
4408 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4409
4410         * java/awt/Window.java: Changed constructors to use new
4411         method that is described below. Constructors call this
4412         methods only if newly created window should have an owner.
4413         (setWindowOwner): New method. Implementation for
4414         this method is moved from this(owner,configuration).
4415         * javax/swing/JWindow.java:
4416         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4417         instead of owner.
4418         * javax/swing/SwingUtilities.java:
4419         (ownerFrame): Change type of this field to OwnerFrame.
4420         (getOwnerFrame): Changed to return object of type OwnerFrame.
4421         (SwingUtilities.OwnerFrame): New class. Represents owner
4422         of a Window that is not provided with one.
4423
4424 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4425
4426         *  javax/swing/AbstractButton.java: 
4427         (configurePropertiesFromAction): Set action command
4428         to button's text by default if action command is not 
4429         explicitely specified.
4430         * javax/swing/JMenu.java: Remove unnecessary listener
4431         and methods relevant to it.
4432         (setSelected): Reimplemented.
4433         (menuSelectionChanged): Moved most part of implementation to
4434         setSelected() and call it instead.
4435         * javax/swing/JMenuItem.java: 
4436         (init): Comment out statement that sets paint_border to false.
4437         (configurePropertiesFromAction): Do not set accelerator
4438         for JMenu.
4439         (menuSelectionChanged): Change selected index in the selection
4440         model of menu item's parent.
4441         * javax/swing/JPopupMenu.java:
4442         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4443         instead of GridBagConstraints.HORIZONTAL.
4444         (insert): Likewise.
4445         (createActionChangeListener): Implemented.
4446         (setVisible): Correct location of HeavyWeightMenu and 
4447         don't firePopupMenuCanceled().
4448         (menuSelectionChanged): Implemented.
4449         (ActionChangeListener): New Listener. Implemented.
4450         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4451         (BasicMenuBarUI.ContainerHandler): Implemented.
4452         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4453         (paintMenuItem): Uncommented out code that paints 
4454         icon, now that icons are working properly.
4455         (PropertyChangeListener): Implemented.
4456         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4457         Added javadocs.
4458         (topWindowListener): New field.
4459         (Constructor): initialize topWindowListener.
4460         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4461         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4462         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4463         Implemented.
4464
4465 2004-07-21  Michael Koch  <konqueror@gmx.de>
4466
4467         * javax/swing/plaf/basic/BasicButtonUI.java
4468         (paintFocus): Fixed method signature.
4469         (paintButtonPressed): Likewise.
4470         (paintButtonNormal): Likewise.
4471         (paintText): New method.
4472         * javax/swing/plaf/basic/BasicLabelUI.java
4473         (paint): Re-indented.
4474         * javax/swing/plaf/basic/BasicTextUI.java
4475         (installUI): Set parent textComponent to opaque.
4476         * javax/swing/text/DefaultHighlighter.java
4477         (checkPositions): New helper method.
4478         (addHighlight): Throws BadLocationException, check positions.
4479         (changeHighlight): Likewise.
4480         * javax/swing/text/EditorKit.java
4481         (EditorKit): Implements Serializable.
4482         * javax/swing/text/JTextComponent.java
4483         (getUI): Added javadoc.
4484         (setUI): Likewise.
4485         (upadteUI): Added javadoc, don't revalidate and repaint.
4486
4487 2004-07-21  David Jee  <djee@redhat.com>
4488
4489         * java/awt/GridBagLayout.java
4490         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4491         * javax/swing/AbstractButton.java
4492         (setText): Reindent.
4493         * javax/swing/RepaintManager.java
4494         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4495
4496 2004-07-21  Michael Koch  <konqueror@gmx.de>
4497
4498         * javax/swing/JFormattedTextField.java
4499         (value): New field.
4500         (JFormattedTextField): Implemented.
4501         (getValue): Likewise.
4502         (setValue): Likewise.
4503         * javax/swing/LookAndFeel.java
4504         (getSupportsWindowDecorations): New method.
4505         * javax/swing/UIDefaults.java:
4506         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4507         (addPropertyChangeListener): Made public.
4508         (addResourceBundle): Likewise.
4509         (removeResourceBundle): Likewise.
4510         (setDefaultLocale): Likewise.
4511         * javax/swing/plaf/basic/BasicRootPaneUI.java
4512         (BasicRootPaneUI): Implements PropertyChangeListener.
4513         (propertyChange): New method.
4514         * javax/swing/plaf/basic/BasicTextUI.java
4515         (BasicHighlighter): New inner class.
4516         (createHighlighter): New method.
4517         * javax/swing/plaf/basic/BasicToolBarUI.java
4518         (DragWindow): Extends java.awt.Window.
4519         * javax/swing/text/JTextComponent.java
4520         (getDocument): Removed debug output.
4521         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4522         javax/swing/text/DefaultHighlighter.java,
4523         javax/swing/text/FieldView.java,
4524         javax/swing/text/PlainView.java: New files.
4525         * Makefile.am: Added new files.
4526         * Makefile.in: Regenerated.
4527
4528 2004-07-21  Michael Koch  <konqueror@gmx.de>
4529
4530         * javax/swing/JEditorPane.java
4531         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4532         (createEditorKitForContentType): Likewise.
4533         * javax/swing/text/DefaultEditorKit.java
4534         (serialVersionUID): Added constant field.
4535         (EndOfLineStringPropery): Fixed typo.
4536         (DefaultEditorKit): New constructor.
4537         * javax/swing/text/Segment.java:
4538         Import java.text.CharacterIterator.
4539         * javax/swing/text/CharacterIterator.java,
4540         javax/swing/text/PlainEditorKit.java: Removed.
4541         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4542         javax/swing/text/PlainEditorKit.java.
4543         * Makefile.in: Regenerated.
4544
4545 2004-07-21  Michael Koch  <konqueror@gmx.de>
4546
4547         * javax/swing/JButton.java,
4548         javax/swing/text/DefaultEditorKit.java,
4549         javax/swing/text/EditorKit.java,
4550         javax/swing/text/Segment.java,
4551         javax/swing/text/StyledEditorKit.java:
4552         Reformatted.
4553
4554 2004-07-21  Michael Koch  <konqueror@gmx.de>
4555
4556         * javax/swing/ImageIcon.java
4557         (file): Removed.
4558         (description): Renamed from descr.
4559         (ImageIcon): Added missing constructors.
4560         (setParent): Removed.
4561         (setImageObserver): New method.
4562         (getImageObserver): New method.
4563         (paintIcon): Handle observer = null.
4564         * javax/swing/JButton.java
4565         (removeNotify): Fixed javadoc.
4566         (updateUI): Simplified.
4567         * javax/swing/JRootPane.java
4568         (serialVersionUID): New constant field.
4569         * javax/swing/UIManager.java:
4570         Fixed javadocs all over.
4571         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4572         * javax/swing/text/AbstractDocument.java
4573         (createPosition): Throws BadLocationException.
4574         (getText): Likewise.
4575         (remove): Likewise.
4576         * javax/swing/text/ComponentView.java
4577         (modelToView): Likewise.
4578         * javax/swing/text/DefaultEditorKit.java:
4579         Made all public methods public.
4580         (read): Throws BadLocationException and IOException.
4581         (write): Likewise.
4582         * javax/swing/text/EditorKit.java:
4583         Made all public methods public.
4584         (serialVersionUID): New constant field.
4585         (clone): New method.
4586         (read): Throws BadLocationException and IOException.
4587         (write): Likewise.
4588         * javax/swing/text/Segment.java
4589         (array): Made public.
4590         (count): Likewise.
4591         (offset): Likewise.
4592         (Segment): New constructors.
4593         (clone): Reimplemented.
4594         * javax/swing/text/StyledEditorKit.java
4595         (serialVersionUID): New constant field.
4596
4597 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4598
4599         * java/awt/image/BufferedImage.java 
4600         (getSource): Implement.
4601         * javax/swing/ImageIcon.java 
4602         (ImageIcon): Implement ctor.
4603         * javax/swing/ScrollPaneLayout.java 
4604         (preferredLayoutSize): Be more careful about nulls.
4605
4606 2004-07-21  Michael Koch  <konqueror@gmx.de>
4607
4608         * javax/swing/text/AttributeSet.java
4609         (CharacterAttribute): New interface
4610         (ColorAttribute): Likewise.
4611         (FontCharacterAttribute): Likewise.
4612         (ParagraphAttribute): Likewise.
4613         * javax/swing/text/DefaultCaret.java
4614         (moveCaret): New method.
4615         (positionCaret): Likewise.
4616         (repaint): Made protected.
4617         * javax/swing/text/JTextComponent.java
4618         (KeyBinding): Made it static.
4619         * javax/swing/text/View.java
4620         (getContainer): Honor parent == null.
4621
4622 2004-07-21  Michael Koch  <konqueror@gmx.de>
4623
4624         * javax/swing/text/AbstractDocument.java:
4625         Reformatted.
4626
4627 2004-07-21  Michael Koch  <konqueror@gmx.de>
4628
4629         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4630         Import javax.swing.UIManager explicitely.
4631         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4632         (ScrollingButton): Made it static.
4633
4634 2004-07-21  Michael Koch  <konqueror@gmx.de>
4635
4636         * javax/swing/UIDefaults.java
4637         (ActiveValue): Made public.
4638         (LazyValue): Likewise.
4639         * javax/swing/plaf/basic/BasicTextUI.java
4640         (RootView): Reintroduced.
4641         (view): Removed.
4642         (rootView): New field.
4643         (installUI): Create document if needed, initialize rootView.
4644         (uninstallUI): Hanle rootView.
4645         (paint): Likewise.
4646         (getRootView): Likewise.
4647         (setView): Likewise.
4648         * javax/swing/text/DefaultCaret.java:
4649         Renamed all "evt" variables to "event".
4650
4651 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4652
4653         * libgcj.spec.in: Add -l-java-util-logging.
4654
4655 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4656
4657         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4658         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4659         gtk-xft-dpi can no calculate the right value.
4660         (dpi_changed_cb): Mark *pspec as unsused.
4661
4662 2004-07-21  David Jee  <djee@redhat.com>
4663
4664         * java/awt/Component.java
4665         (move): Delegate to setBounds().
4666         (resize): Likewise.
4667         (reshape): Fix so it repaints parent and self only when necessary.
4668
4669 2004-07-21  David Jee  <djee@redhat.com>
4670
4671         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4672         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4673         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4674         (setVisible): Likewise.
4675         (show): Likewise.
4676         (hide): Likewise.
4677         (getArgs): Likewise.
4678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4679         (property_notify_predicate): Likewise.
4680         (find_layout): Likewise.
4681         (connectJObject): Likewise.
4682         (connectSignals): Likewise.
4683         (moveLayout): Likewise.
4684         (gtkLayoutSetVisible): Likewise.
4685
4686 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4687
4688         * Makefile.am
4689         (jv_convert_LDADD):
4690         (gij_LDADD):
4691         (rmic_LDADD):
4692         (rmiregistry_LDADD): Add lib-java-util-logging.la
4693         * Makefile.in: Regenerate.
4694
4695 2004-07-21  Michael Koch  <konqueror@gmx.de>
4696
4697         * javax/swing/text/AbstractDocument.java
4698         (replace): Dont use protected method of java.util.Vector directly.
4699
4700 2004-07-21  Michael Koch  <konqueror@gmx.de>
4701
4702         * javax/swing/plaf/basic/BasicTextUI.java
4703         (installUI): Call specialized install methods.
4704         (installDefaults): New method.
4705         (installListeners): Likewise.
4706         (installKeyboardActions): Likewise.
4707         (uninstallUI): Likewise.
4708         (uninstallDefaults): New method.
4709         (uninstallListeners): Likewise.
4710         (uninstallKeyboardActions): Likewise.
4711         (getPropertyPrefix): New abstract method.
4712         (paint): Made final, just call paintSafely().
4713         (paintSavely): New method.
4714         (paintBackground): Likewise.
4715         (getVisibleEditorRect): Likewise.
4716         * javax/swing/text/LayeredHighlighter.java,
4717         javax/swing/text/TabExpander.java: New files.
4718         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4719         and javax/swing/text/TabExpander.java.
4720         * Makefile.in: Regenerated.
4721
4722 2004-07-21  Michael Koch  <konqueror@gmx.de>
4723
4724         * javax/swing/plaf/basic/BasicTextUI.java
4725         (BasicTextUI): Made abstract.
4726         (BasicCaret): New inner class.
4727         (view): Don't explicitely initialize with "null".
4728         (textComponent): New field.
4729         (textColor): Removed.
4730         (disabledTextColor): Removed.
4731         (normalBackgroundColor): Removed.
4732         (RootView): Removed commented out inner class.
4733         (createUI): Removed.
4734         (createCaret): New method.
4735         (getComponent): Likewise.
4736         (installUI): Initialize textComponent only.
4737         (getPreferredSize): Use installed JTextComponent.
4738         (setView): New method.
4739         (create): Likewise.
4740         * javax/swing/text/JTextComponent.java
4741         (highlighter): New field.
4742         (caretColor): Likewise.
4743         (disabledTextColor): Likewise.
4744         (seletedTextColor): Likewise.
4745         (selectionColor): Likewise.
4746         (setUI): New method.
4747         (getCaretColor): Likewise.
4748         (setCaretColor): Likewise.
4749         (getDisabledColor): Likewise.
4750         (setDisabledColor): Likewise.
4751         (getSelectedTextColor): Likewise.
4752         (setSelectedTextColor): Likewise.
4753         (getSelectionColor): Likewise.
4754         (setSelectionColor): Likewise.
4755         (getHighlighter): Likewise.
4756         (setHighlighter): Likewise.
4757         (replaceSelection): Likewise.
4758
4759 2004-07-21  Michael Koch  <konqueror@gmx.de>
4760
4761         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4762         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4763         * javax/swing/plaf/basic/BasicToolBarUI.java
4764         (BasicToolBarUI): Implements SwingConstants.
4765
4766 2004-07-21  Michael Koch  <konqueror@gmx.de>
4767
4768         * javax/swing/JPopupMenu.java: Removed CVS tags.
4769         * javax/swing/UIDefaults.java: Reformatted.
4770         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4771         Explicitely import used classes.
4772
4773 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4774
4775         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4776         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4777         (GtkComponentPeer): Remove temporary try/catch block.
4778         (setVisible): Call show and hide.
4779         (show): Make native.
4780         (hide): Likewise.
4781         (getArgs): Don't add "visible" argument.
4782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4783         (property_notify_predicate): Return Bool instead of int.
4784         (find_layout): New function.
4785         (connectJObject): Call find_layout.
4786         (connectSignals): Likewise.
4787         (moveLayout): Likewise.
4788         (gtkLayoutSetVisible): Likewise.
4789
4790 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4791
4792         * javax/swing/AbstractButton.java:
4793         (setDisplayedMnemonicIndex): Check if button
4794         text is not null before checking its length.
4795         * javax/swing/JMenuItem.java:
4796         (processMouseEvent): Disarm menu item if mouse has
4797         exited it.
4798         * javax/swing/plaf/basic/BasicMenuUI.java:
4799         (MouseInputHandler.mouseEntered): Do not raise
4800         popup menu if this menu is already selected.
4801         (MouseInputHandler.mousePressed): Do not fire 
4802         MenuEvents.
4803         (MenuHandler): Implemented.     
4804
4805 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4806
4807         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4808         (getSelectedObjects): Implemented.
4809         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4810         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4811         Added javadoc for few methods.
4812         (processMouseEvent): Made public.
4813         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4814         (processMouseEvent): Likewise.
4815
4816 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4817
4818         * javax/swing/AbstractButton.java:
4819         (init): Set display mnemonic index to -1.
4820         (setMnemonic(char)): Use setMnemonic(int).
4821         (setMnemonic(int)): Set display mnemonic index.
4822         (getDisplayedMnemonicIndex): Change method signature
4823         by removing 'index' parameter.
4824         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4825         Added default for Menu.selectionBackground.     
4826         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4827         (paintMenuItem): Change background color of the selected
4828         menu item.
4829         (paintText): Paint differently when menu item is disabled.
4830         Also paint mnemonic if it appears in the menu item's label.
4831         (paintAccelerator): Paint accelerator differently
4832         if menu item is disabled.
4833         * javax/swing/plaf/basic/BasicMenuUI.java:
4834         (installDefaults): Install defaults for 
4835         selectionForeground and selectionBackground.
4836         (uninstallDefaults): Uninstall defauls for 
4837         selectionForeground and selectionBackground.
4838
4839 2004-07-21  Michael Koch  <konqueror@gmx.de>
4840
4841         * javax/swing/text/AbstractDocument.java
4842         (BranchElement): Implemented.
4843         (LeafElement): Implemented.
4844         * javax/swing/text/DefaultCaret.java:
4845         Import used classes.
4846         (serialVersionUID): New constant.
4847         * javax/swing/text/JTextComponent.java
4848         (AccessibleJTextComponent): Removed dead declaration.
4849         (caretPos): Removed.
4850         (setCaret): New method.
4851         * javax/swing/text/PlainDocument.java
4852         (rootElement): New field.
4853         (PlainDocument): Initialize rootElement.
4854         (createDefaultRoot): New method.
4855         (getDefaultRootElement): Implemented.
4856         * javax/swing/text/View.java: Reformatted.
4857         * javax/swing/text/ViewFactory.java
4858         (create): Added javadoc.
4859
4860 2004-07-21  Michael Koch  <konqueror@gmx.de>
4861
4862         * javax/swing/ToolTipManager.java: Reformatted.
4863
4864 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4865
4866         * javax/swing/AbstractButton.java
4867         (changeEvent): New field.
4868         (fireItemStateChanged): Change source of the event
4869         to 'this' before firing it to button listeners.
4870         (fireActionPerformed): Likewise.
4871         (fireStateChanged): Likewise.
4872         (createActionListener): Do not set source 
4873         of the event to AbstractButton.                                  
4874         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4875         (ContainerHandler.componentAdded): Removed 
4876         print out statement.
4877         (ContainerHandler.componentRemoved): Likewise.
4878
4879 2004-07-21  Michael Koch  <konqueror@gmx.de>
4880
4881         * javax/swing/text/Highlighter.java: New file.
4882         * Makefile.am: Added javax/swing/text/Highlighter.java.
4883         * Makefile.in: Regenerated.
4884
4885 2004-07-21  Michael Koch  <konqueror@gmx.de>
4886
4887         * javax/swing/ToolTipManager.java
4888         (stillInsideTimerAction): Fixed constructor arguments.
4889         (outsideTimerAction): Likewise.
4890         (insideTimerAction): Likewise.
4891
4892 2004-07-21  Michael Koch  <konqueror@gmx.de>
4893
4894         * javax/swing/JButton.java: Reformatted.
4895         * javax/swing/JFormattedTextField.java
4896         (getUIClassID): Implemented.
4897         * javax/swing/JRootPane.java
4898         (serialVersionUID): New constant.
4899         * javax/swing/JTextField.java
4900         (align): New field.
4901         (JTextField): Simplified.
4902         (getUIClassID): New method.
4903         (getActionListeners): Added @since tag.
4904         (setColumns): Invalidate layout and repaint.
4905         (getHorizontalAlignment): New method.
4906         (setHorizontalAlignment): New method.
4907         (selectAll): Removed.
4908         * javax/swing/SwingUtilities.java
4909         (getAncestorOfClass): Removed redundant @see tag.
4910         (isLeftMouseButton): Fixed implementation.
4911         (isMiddleMouseButton): Likewise.
4912         (isRightMouseButton): Likewise.
4913         * javax/swing/text/AbstractDocument.java
4914         (AttributeContext.addAttribute): New method.
4915         (AttributeContext.addAttributes): New method.
4916         (AttributeContext.getEmptySet): New method.
4917         (AttributeContext.reclaim): New method.
4918         (AttributeContext.removeAttribute): New method.
4919         (AttributeContext.removeAttributes): New method.
4920         * javax/swing/text/Document.java
4921         (createPosition): Throws BadLocationException.
4922         (getText): Likewise.
4923         (remove): Likewise.
4924         * javax/swing/text/JTextComponent.java
4925         (getText): Return null if no document is set. Catch
4926         BadLocationException.
4927         (getUI): Return ui.
4928         (updateUI): Simplified.
4929
4930 2004-07-21  Michael Koch  <konqueror@gmx.de>
4931
4932         * javax/swing/JButton.java
4933         (removeNotify): Fixed javadoc.
4934         (updateUI): Simplified.
4935
4936 2004-07-21  David Jee  <djee@redhat.com>
4937
4938         * gnu/java/awt/image/ImageDecoder.java
4939         (startProduction): Only add consumer if it's not added yet.
4940         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4941         (GdkPixbufDecoder): Don't call initState() here.
4942         (produce): Call initState() here, to ensure area_prepared and
4943         area_updated signals are properly connected.
4944         * gnu/java/awt/peer/gtk/GtkImage.java
4945         (setColorModel): Use equals() to compare ColorModel objects.
4946         (setPixels): Likewise.
4947         * java/awt/image/ColorModel.java
4948         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4949         * java/awt/image/RGBImageFilter.java
4950         (setColorModel): Set consumer's color model.
4951         (setPixels): Use equals() to compare ColorModel objects.
4952
4953 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4954
4955         * java/net/URLConnection.java (position): New field.
4956         (dateFormat1, dateFormat2, dateFormat3): Removed.
4957         (dateFormats): New field.
4958         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4959         each time instead of re-allocating.
4960         (initializeDateFormats): Initialize 'dateFormats'.
4961
4962 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4963
4964         PR libgcj/16591
4965         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4966         is defined.
4967
4968 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4969
4970         * java/net/Socket.java (getImpl): Now private. Remove comment.
4971
4972 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4973
4974         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4975         of chained Writer when calling super-constructor.
4976         * java/io/FilterWriter.java (FilterWriter): Likewise.
4977         * java/io/PrintWriter.java (PrintWriter): Likewise.
4978
4979 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4980
4981         * prims.cc (process_gcj_properties): Don't increment i within LHS
4982         of assignment.
4983
4984 2004-07-19  Per Bothner  <per@bothner.com>
4985
4986         Print -verbose:message on "loading", not initialization.
4987         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4988         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4989         gcj::verbose_class_flag.
4990         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4991         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4992         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4993         (_Jv_PrepareCompiledClass):  Likewise.
4994
4995 2004-07-18  Matthias Klose  <doko@debian.org>
4996
4997         * configure.in: Substitute target_noncanonical.
4998         * configure: Regenerate
4999
5000 2004-07-17  Michael Koch  <konqueror@gmx.de>
5001
5002         * java/lang/String.java: Fixed javadocs all over.
5003
5004 2004-07-17  Mark Wielaard  <mark@klomp.org>
5005
5006         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5007         when size is smaller.
5008         * java/io/RandomAccessFile.java (setLength): Use truncate for
5009         shrinking the file and seek plus write for expanding the file.
5010
5011 2004-07-17  Michael Koch  <konqueror@gmx.de>
5012
5013         * gnu/java/nio/channels/natFileChannelPosix.cc
5014         (implTruncate): Always save current position. Only reposition file
5015         pointer to where we started if not beyond new lenght. Reposition file
5016         pointer to file length if it points beyond the end of file.
5017
5018 2004-07-17  Mark Wielaard  <mark@klomp.org>
5019
5020         * javax/swing/Box.java: Put FIXME comment above class declaration.
5021         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5022         * javax/swing/JCheckBox.java: Likewise.
5023         * javax/swing/JDialog.java: Likewise.
5024         * javax/swing/JRadioButton.java: Likewise.
5025         * javax/swing/JToggleButton.java: Likewise.
5026         * javax/swing/UIManager.java: Likewise.
5027         * javax/swing/border/TitledBorder.java: Likewise.
5028         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5029         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5030         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5031         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5032         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5033         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5034         * javax/swing/text/JTextComponent.java: Likewise.
5035
5036 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
5037
5038         * java/net/DatagramPacket.java (setAddress): Removed check for
5039         null address.
5040
5041 2004-07-17  Michael Koch  <konqueror@gmx.de>
5042
5043         * java/net/DatagramSocket.java
5044         (getLocalAddress): Check if socket is bound or not.
5045         * java/net/Socket.java
5046         (getLocalAddrss): Check if socket is bound or not.
5047         (getPort): Return -1 when not connected. Dont check getImpl() for
5048         null.
5049         (setReuseAddress): Check if socket is closed.
5050         (isConnected): Check if getImpl() returns null.
5051
5052 2004-07-17  Mark Wielaard  <mark@klomp.org>
5053
5054         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5055         on notifier object before calling notifyAll().
5056
5057 2004-07-17  Michael Koch  <konqueror@gmx.de>
5058
5059         * gnu/java/nio/channels/FileChannelImpl.java
5060         (finalize): Added javadoc.
5061
5062 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
5063
5064         * java/text/CollationElementIterator.java
5065         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5066         (setText): Use ArrayList instead of Vector.
5067
5068 2004-07-17  Michael Koch  <konqueror@gmx.de>
5069
5070         * java/nio/ByteOrder.java
5071         (static): Removed. Not needed.
5072         Thanks to Patrick Reali for noticing.
5073         * java/nio/charset/CharsetDecoder.java
5074         (decode): Fix for classpath bug #9177: Reset state before flipping.
5075
5076 2004-07-17  Michael Koch  <konqueror@gmx.de>
5077
5078         * java/security/Security.java: Fixed javadocs all over.
5079
5080 2004-07-17  Michael Koch  <konqueror@gmx.de>
5081
5082         * gnu/java/awt/EmbeddedWindow.java
5083         (static): Removed.
5084         (addNotify): Set peer via reflection.
5085         (setWindowPeer): Removed.
5086         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5087         * Makefile.am (nat_source_files):
5088         Removed gnu/java/awt/natEmbeddedWindow.cc.
5089         * Makefile.in: Regenerated.
5090
5091 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
5092
5093         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5094         assignment.
5095         * configure: Regenerated.
5096
5097 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
5098
5099         * configure.in: Use build_noncanonical rather than build_alias.
5100         * configure: Rebuild.
5101
5102         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5103         by logic refactoring.  Move default definition of NATIVE closer
5104         to first alternate definition.
5105         * configure: Regenerate.
5106
5107         * Makefile.am: Set ZIP and GCJH directly using autoconf.
5108         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5109         gcj/Makefile.in: Regenerate.
5110         * configure.in: Set ZIP and GCJH.  Remove redundant condition
5111         in AM_CONDITIONAL(NATIVE,...)
5112         * configure: Regenerate.
5113
5114 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
5115
5116         * configure.in: Use target_noncanonical rather than
5117         target_alias for forward-compatibility with autoconf 2.59.
5118         * configure: Regenerate.
5119         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5120         testsuite/Makefile.am: Substitute target_noncanonical.
5121         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5122         testsuite/Makefile.in: Regenerate.
5123
5124         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5125         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5126         * acinclude.m4: Include acx.m4.
5127         * aclocal.m4: Regenerate.
5128         * configure: Regenerate.
5129
5130 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
5131
5132         PR libgcj/16574
5133         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5134         (decimalFormat): New static variable.
5135         (sbuf): Likewise.
5136         (getTime): New. Override Date.getTime().
5137         (toString): Synchronize. Use decimalFormat to format nanos value
5138         correctly. Truncate extra zeros.
5139         (before): Compare getNanos() only if getTime() is equal.
5140         (after): Likewise.
5141         
5142 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
5143
5144         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5145         * configure.in: ...here.
5146         * aclocal.m4: Regenerate.
5147         * configure: Regenerate.
5148
5149         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5150         * configure: Rebuilt with autoconf 2.13.
5151         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5152         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5153
5154 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
5155
5156         PR libgcj/16204
5157         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5158         large file support.
5159         * Makefile.in: Rebuilt.
5160         * testsuite/libjava.lang/LargeFile.java: New test case.
5161         * testsuite/libjava.lang/LargeFile.out: New file.
5162
5163 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5164
5165         * java/beans/EventHandler.java: Remove debugging statements.
5166
5167 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
5168
5169         * java/beans/EventHandler.java: New file.
5170         * Makefile.am (awt_java_source_files): Add EventHandler.java.
5171         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5172         testsuite/Makefile.in: Regenerate.
5173
5174 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
5175
5176         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5177         flag to the gcj_setup.
5178         (gcj_jacks_run): Check tclsh version and launch jacks directly with
5179         the tclsh.
5180         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5181         deprecation flag change. 58 XFAILS removed.
5182
5183 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
5184
5185         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
5186         -fno-use-divide-subroutine.
5187         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5188         (HANDLE_FPE): Define.
5189         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5190         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5191         (HANDLE_DIVIDE_OVERFLOW): Define.
5192
5193 2004-07-14  Michael Koch  <konqueror@gmx.de> 
5194             Matthias Klose  <doko@debian.org> 
5195
5196         * java/awt/im/InputContext.java: Initialize in, line.
5197
5198 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
5199
5200         * interpret.cc (run): Correctly access libffi return values of
5201         integral smaller-than-int type; these are implicitly promoted.
5202
5203 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
5204
5205         PR libgcj/7587
5206         * interpret.cc (compile_mutex): New.
5207         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5208         (run): Lock compile_mutex before calling compile() if compilation is
5209         required.
5210         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5211         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5212
5213 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5214
5215         PR libgcj/15713
5216         * include/jvm.h (_Jv_value): New union type.
5217         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5218         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5219         union members.
5220
5221 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5222
5223         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5224         * gnu/awt/xlib/XOffScreenImage.java
5225           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5226           constructor argument. Add constructor using ImageProducer.
5227           (getSource): Implement.
5228           (imageComplete): New method.
5229           (setColorModel): New method.
5230           (setDimensions): New method.
5231           (setHints): New method.
5232           (setPixels): New method.
5233           (setProperties): New method.
5234         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5235         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5236
5237 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5238
5239         PR libgcj/16478 
5240         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5241         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5242         (finalizerReady): Now native.
5243         (run): Likewise.
5244         (runFinalizers): Removed.
5245         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5246         a primitive lock, and don't hold it while running the finalizers.
5247         (runFinalizers): Implement. Don't aquire any Java lock.
5248         (finalizerReady): Use lock primitives to signal finalizer thread.
5249
5250 2004-07-11  Mark Wielaard  <mark@klomp.org>
5251
5252         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5253         * java/net/URLStreamHandler.java (parseURL): When url file part
5254         doesn't contain a '/' just ignore context.
5255
5256 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5257
5258         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5259         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5260         (MAKE_THROW_FRAME): Do not modify PSW address.
5261         (INIT_SEGV): Install SIGINFO-style signal handler.
5262         (INIT_FPE): Likewise.
5263
5264 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5265
5266         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5267         status. 21 xfail's removed, 1 added.
5268
5269 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5270
5271         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5272
5273 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5274
5275         * java/text/MessageFormat.java
5276         (formatInternal): Append "{n}" if argument n is unavailable.
5277         (format(Object, StringBuffer, FieldPosition)): This
5278         should be equivalent to format(Object[],
5279         StringBuffer, FieldPosition).
5280
5281 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5282
5283         * java.util.Calendar.java (cache): New private static field. Cached
5284         mappings of locales->calendar classes.
5285         (ctorArgTypes): New private static field. Singleton argument for
5286         calendar class constructor lookup.
5287         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5288         Optimize by bypassing reflection instantiation for the 
5289         GregorianCalendar case.
5290
5291 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5292
5293         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5294         ResourceBundle.getBundle() calls.
5295         * java/util/GregorianCalendar.java: Likewise.
5296         * java/util/Currency.java: Likewise.
5297         * java/text/BreakIterator.java: Likewise.
5298         * java/text/Collator.java: Likewise.
5299         * java/text/DateFormat.java: Likewise.
5300         * java/text/DateFormatSymbols.java: Likewise.
5301         * java/text/DecimalFormatSymbols.java: Likewise.
5302         * java/text/NumberFormat.java: Likewise.
5303         * java/awt/Window.java: Likewise.       
5304
5305 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5306
5307         * java/util/ResourceBundle.java (bundleCache): Renamed from
5308         resourceBundleCache. Update comments.
5309         (getObject): Don't catch MissingResourceException.
5310         (getBundle(String)): Remove 'final'. Use system classloader if
5311         getCallingClassLoader returned null.
5312         (getBundle(String, Locale)): Likewise.
5313         (BundleKey): New private class. HashMap key for bundle cache lookup.
5314         (lookupKey): New. Singleton instance of BundleKey.
5315         (nullEntry): New. Cache entry to represent failed lookups.
5316         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5317         caching strategy, no-allocation lookup, and new tryBundle methods.
5318         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5319         name using given classloader.
5320         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5321         baseName for given Locale and attempt to load bundle.
5322
5323 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5324
5325         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5326         illegal protected method calls.
5327
5328 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5329
5330         Fix or remove some bogus test cases.
5331         * testsuite/libjava.compile/pr10459_2.java: Removed.
5332         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5333         not Object.clone().
5334         * testsuite/libjava.compile/inner_data.java: Test against its own
5335         protected field.
5336
5337 2004-07-09  Michael Koch  <konqueror@gmx.de>
5338
5339         * scripts/unicode-muncher.pl: Updated to version 2.1
5340         from GNU classpath. Added some clarifications on where to find the
5341         needed files from www.unicode.org.
5342         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5343         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5344         Removed, these can directly be downloaded from www.unicode.org if
5345         needed. 
5346         * gnu/java/lang/CharData.java: Regenerated.
5347         * include/java-chartables.h: Regenerated.
5348         * Makefile.am (ordinary_java_source_files):
5349         Removed gnu/java/lang/CharData.java.
5350         * Makefile.in: Regenerated.
5351
5352 2004-07-09  Michael Koch  <konqueror@gmx.de>
5353
5354         * java/security/AccessControlContext.java,
5355         java/security/SecureClassLoader.java:
5356         Fixed javadocs.
5357
5358 2004-07-09  Michael Koch  <konqueror@gmx.de>
5359
5360         * java/io/ObjectInputStream.java (readFields): Use long datatype
5361         when shifting byte values more then 24 bits left.
5362
5363 2004-07-09  Michael Koch  <konqueror@gmx.de>
5364
5365         * java/util/zip/DeflaterOutputStream.java,
5366         java/util/zip/GZIPInputStream.java,
5367         java/util/zip/GZIPOutputStream.java,
5368         java/util/zip/InflaterInputStream.java:
5369         Reformatted. Added javadocs. Reordered all stuff.
5370         Renamed variables to be more clear.
5371
5372 2004-07-09  Michael Koch  <konqueror@gmx.de>
5373
5374         * javax/imageio/IIOException.java,
5375         javax/imageio/event/IIOReadProgressListener.java,
5376         javax/imageio/event/IIOReadUpdateListener.java,
5377         javax/imageio/event/IIOReadWarningListener.java,
5378         javax/imageio/event/IIOWriteProgressListener.java,
5379         javax/imageio/event/IIOWriteWarningListener.java:
5380         New files.
5381         * Makefile.am: Added new files.
5382         * Makefile.in: Regenerated.
5383
5384 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5385
5386         * java/text/RuleBasedCollator.java
5387         (mergeRules): Use ArrayList instead of Vector.
5388         (subParseString): likewise.
5389         (parseString): likewise.
5390         (buildCollationVector): likewise.
5391         (getCollationKey): likewise.
5392
5393 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5394
5395         * java/text/DateFormat.java (parse):
5396         Improved javadoc. Improved exception message.
5397
5398 2004-07-09  Mark Wielaard  <mark@klomp.org>
5399
5400         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5401         interrupted() method to clear interupt flag of our Thread.
5402
5403 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5404
5405         * java/nio/Buffer.java,
5406         java/nio/ByteBuffer.java,
5407         java/nio/ByteBufferHelper.java,
5408         java/nio/ByteBufferImpl.java,
5409         java/nio/CharBuffer.java,
5410         java/nio/CharBufferImpl.java,
5411         java/nio/CharViewBufferImpl.java,
5412         java/nio/DirectByteBufferImpl.java,
5413         java/nio/DoubleBuffer.java,
5414         java/nio/DoubleBufferImpl.java,
5415         java/nio/DoubleViewBufferImpl.java,
5416         java/nio/FloatBuffer.java,
5417         java/nio/FloatBufferImpl.java,
5418         java/nio/FloatViewBufferImpl.java,
5419         java/nio/IntBuffer.java,
5420         java/nio/IntBufferImpl.java,
5421         java/nio/IntViewBufferImpl.java,
5422         java/nio/LongBuffer.java,
5423         java/nio/LongBufferImpl.java,
5424         java/nio/LongViewBufferImpl.java,
5425         java/nio/MappedByteBufferImpl.java,
5426         java/nio/ShortBuffer.java,
5427         java/nio/ShortBufferImpl.java,
5428         java/nio/ShortViewBufferImpl.java:
5429         Fixed javadocs all over. Improved input error
5430         checking.
5431
5432         * java/nio/Buffer.java
5433         (checkForUnderflow, checkForOverflow, checkIndex,
5434         checkIfReadOnly, checkArraySize): New helper methods
5435         for error checking.
5436
5437         * java/nio/ByteBufferHelper.java
5438         (checkRemainingForRead, checkRemainingForWrite,
5439         checkAvailableForRead, checkAvailableForWrite): Removed
5440         no longer needed methods.
5441
5442 2004-07-09  Michael Koch  <konqueror@gmx.de>
5443
5444         * gnu/regexp/CharIndexedInputStream.java:
5445         Reordered imports to match classpath.
5446
5447 2004-07-09  Michael Koch  <konqueror@gmx.de>
5448
5449         * gnu/java/awt/EmbeddedWindow.java:
5450         Load native library for setWindowPeer method.
5451
5452 2004-07-08  Randolph Chung  <tausq@debian.org>
5453
5454         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5455         * configure: Regenerate.
5456         * configure.host: Set can_unwind_signal for hppa*-linux.
5457         * include/pa-signal.h: New file.
5458
5459 2004-07-07  Per Bothner  <per@bothner.com>
5460
5461         * Makefile.am:  Add rules to build libgij from just gij.cc.
5462
5463         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5464         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5465         (initializeClass):  If verbose_class_flag, print message.
5466         * gij.cc (main):  Handle -verbose:class flag.
5467
5468 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5469
5470         * configure.host: Enable hash synchronization on Darwin.
5471         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5472         ';', since this is a comment on Darwin.
5473         (compare_and_swap_release): Likewise.
5474
5475 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5476
5477         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5478         file portion of URL in addition to spec for file: protocol.
5479
5480 2004-07-05  Anthony Green  <green@redhat.com>
5481
5482         * java/io/File.java (toURI): Merge from Classpath.
5483
5484 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5485
5486         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5487         before passing to URL constructor. Rethrow any MalformedURLException
5488         as a RuntimeException. Catch MalformedURLException specifically, not
5489         all exceptions.
5490
5491 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5492
5493         * java/util/Locale.java (readObject): Intern strings read from object
5494         stream.
5495
5496 2004-07-04  Michael Koch  <konqueror@gmx.de>
5497
5498         * gnu/gcj/runtime/FirstThread.java,
5499         gnu/gcj/runtime/natFirstThread.cc: Removed.
5500         * gnu/java/lang/MainThread.java,
5501         gnu/java/lang/natMainThread.cc: New files.
5502         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5503         * Makefile.am: Added new files and removed deleted ones.
5504         * Makefile.in: Regenerated.
5505
5506 2004-07-03  Mark Wielaard  <mark@klomp.org>
5507             Anthony Green  <green@redhat.com>
5508
5509         * java/net/URL.java (getFile): Clarify return value doc.
5510         (getPath): Return null if file is empty - not empty String.
5511         (set): Convert protocol to lower case before doing anything.
5512         Only change the protocol handler if it's different.
5513
5514 2004-07-03  Anthony Green  <green@redhat.com>
5515
5516         * java/net/URL.java (URL): Convert protocol to lower case before
5517         doing anything, so we getURLStreamHandler() with the proper value.
5518
5519 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5520
5521         * java/util/Locale.java (hashcode): Made transient.
5522         (hashCode): No longer synchronized.
5523         (equals): Remove comment.
5524         (writeObject): No longer synchronized. Implement using writeObject 
5525         calls instead of tweaking hashCode field. Update doc.
5526         (readObject): Implement using readObject calls.
5527
5528 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5529             Andreas Tobler  <a.tobler@schweiz.ch>
5530
5531         * configure.host (powerpc-*-darwin*): New case, define
5532         can_unwind_signal.
5533         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5534         * configure: Regenerate.
5535         * include/darwin-signal.h: New.
5536
5537 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5538
5539         * java/beans/Statement.java (doExecute): Fix formatting.
5540
5541 2004-06-29  Per Bothner  <per@bothner.com>
5542
5543         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5544         etc etc):  Remove needless parenthesis, which causes __stdcall__
5545         attribute on MinGW to get ignored.
5546
5547 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5548
5549         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5550
5551 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5552
5553         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5554
5555 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5556
5557         * java/beans/Expression.java: New file.
5558         * java/beans/Statement.java: New file.
5559         * Makefile.am: Added new files.
5560         * Makefile.in: Re-generate.
5561
5562 2004-06-27 Mark Wielaard  <mark@klomp.org>
5563
5564         * java/io/FilePermission.java (usingPerms): Removed.
5565         (actionsString): Made final.
5566         (cachePerms): Renamed to checkPerms.
5567         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5568         on action String.
5569         (FilePermission): Check arguments, call checkPerms().
5570         (equals): Remove cachePerms() call.
5571         (implies): Likewise.
5572
5573 2004-06-27  Mark Wielaard  <mark@klomp.org>
5574
5575         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5576         final field.
5577         (sendRequest): Use new field in user-agent http agent.
5578
5579 2004-06-27  Mark Wielaard  <mark@klomp.org>
5580
5581         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5582         when argument is null.
5583
5584 2004-06-26  Mark Wielaard  <mark@klomp.org>
5585
5586         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5587         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5588         GetMethodID call.
5589         (cancel_clicked): Likewise.
5590
5591 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5592
5593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5594         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5595         can not calculate the right value.
5596         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5597
5598 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5599
5600         * testsuite/libjava.jacks/jacks.xfail: Remove
5601         15.9.1-qualified-concrete-20.
5602
5603 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5604
5605         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5606         encoding name to iconv.
5607         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5608
5609 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5610
5611         PR libgcj/16134:
5612         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5613         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5614         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5615
5616 2004-06-21  Andrew Haley  <aph@redhat.com>
5617
5618         * java/io/ObjectOutputStream.java: Add DEBUG statements
5619         everywhere.
5620         (dumpElementln): New method.
5621         (depth): New field.
5622         * java/io/ObjectInputStream.java
5623         (currentClassLoader): Make native.
5624         (callersClassLoader): New field.
5625         (depth): New field.
5626         (readObject): ENDBLOCKDATA is generated if the class has a write
5627         method, not if it has a read method.
5628         (readObject): Save and restore this.currentObject and
5629         this.currentObjectStreamClass around calls to callReadMethod().
5630         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5631         method.
5632
5633 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5634
5635         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5636         darwin.
5637
5638 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5639
5640         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5641         if desired, before the default class loader is initialised.
5642         Call INIT_SEGV only if HANDLE_SEGV is defined.
5643
5644 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5645
5646         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5647         directory only if it actually exists.
5648
5649 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5650
5651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5652         Fix up non-ansi comments.
5653
5654 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5655
5656         * javax/swing/text/AbstractDocument.java: Adding missing import
5657         for javax.swing.event.EventListenerList.
5658         * javax/swing/text/DefaultCaret.java: Likewise.
5659
5660 2004-06-17  Michael Koch  <konqueror@gmx.de>
5661
5662         * javax/swing/JToolBar.java
5663         (name): Removed.
5664         (JToolBar): Use Component.setName(String) instead of doing it all
5665         alone.
5666         * javax/swing/Timer.java
5667         (queueEvent): Added missing modifier.
5668
5669 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5670
5671         * Makefile.am: Added new file.
5672         * Makefile.in: Re-generate.
5673         * javax/swing/JMenu.java:
5674         (insertSeparator): Implemented.
5675         * javax/swing/JPopupMenu.java:
5676         (JPopupMenu.Separator): Implemented.
5677         * javax/swing/MenuSelectionManager.java:
5678         (processMouseEvent): Use java.awt.Component 
5679         for event source instead of javax.swing.JComponent. 
5680         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5681         New File. Implemented.
5682         
5683 2004-06-16  David Jee  <djee@redhat.com>
5684
5685         * java/awt/GridBagLayout.java
5686         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5687         Make sure pos_x and pos_y are never negative.
5688
5689 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5690
5691         * Makefile.am: Add new file.
5692         * Makefile.in: Re-generate.     
5693         * javax/swing/JToolBar.java
5694         Partially implemented.
5695         * javax/swing/plaf/basic/BasicToolBarUI.java
5696         New file. Partially implemented.
5697
5698 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5699
5700         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5701         (setComposite): Accept AlphaComposite arguments.
5702         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5703         (createBufferedImage): Add new overloads.
5704         * gnu/java/awt/peer/gtk/GtkToolkit.java
5705         (createImage): Use GdkPixbufDecoder.createBufferedImage
5706         when useGraphics2D() is true.
5707         (getImage): Delegate to createImage.
5708         * javax/swing/JList.java
5709         (isSelectionEmpty):
5710         (getFirstVisibleIndex):
5711         (getLastVisibleIndex):
5712         (setSelectedValue):
5713         (ensureIndexIsVisible): New methods.
5714         * javax/swing/Timer.java: Reimplement.
5715
5716 2004-06-16  Michael Koch  <konqueror@gmx.de>
5717
5718         * javax/swing/text/AbstractDocument.java
5719         (AbstracElement): Made public, implements java.io.Serializable.
5720         (AttributeContext): Made public.
5721         (BranchElement): Likewise.
5722         (Content): Likewise.
5723         (DefaultDocumentEvent): Made public, extends
5724         javax.swing.undo.CompoundEdit.
5725         (ElementEdit): Made public, extends
5726         javax.swing.undo.AbstractUndoableEdit.
5727         (LeafElement): Made public.
5728         (LeafElement.LeafElement): Made public.
5729
5730 2004-06-16  Michael Koch  <konqueror@gmx.de>
5731
5732         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5733         methods (that were obviously never be intended to get included hi this
5734         class. Added some methods too.
5735
5736 2004-06-16  Michael Koch  <konqueror@gmx.de>
5737
5738         * javax/swing/text/PlainDocument.java
5739         (serialVersionUID): New constant.
5740         (lineLimitAttribute): Likewise.
5741         (tabSizeAttribute): Likewise.
5742         (tabSize): New field.
5743         (PlainDocument): Made public.
5744         (PlainDocument): New constructor.
5745
5746 2004-06-16  Michael Koch  <konqueror@gmx.de>
5747
5748         * javax/swing/text/AbstractDocument.java
5749         (insertString): Throws BadLocationException.
5750         * javax/swing/text/Document.java
5751         (insertString): Likewise.
5752         * javax/swing/text/JTextComponent.java:
5753         Javadocs and comments cleaned up.
5754
5755 2004-06-16  Michael Koch  <konqueror@gmx.de>
5756
5757         * javax/swing/event/UndoableEditListener.java: Reformatted.
5758         * javax/swing/text/AbstractDocument.java
5759         (AbstractDocument): Implements java.io.Serializable.
5760         (doc_list): Removed.
5761         (undo_list): Removed.
5762         (AbstractElement.serialVerionUID): New field.
5763         (BranchElement.serialVerionUID): Likewise.
5764         (DefaultDocumentEvent.serialVerionUID): Likewise.
5765         (ElementEdit.serialVerionUID): Likewise.
5766         (LeafElement.serialVerionUID): Likewise.
5767         (serialVerionUID): Likewise.
5768         (BAD_LOCATION): New constant.
5769         (BidiElementName): Likewise.
5770         (ContentElementName): Likewise.
5771         (ParagraphElementName): Likewise.
5772         (SectionElementName): Likewise.
5773         (ElementNameAttribute): Likewise.
5774         (AbstractDocument): Made protected.
5775         (AbstractDocument): New construtor.
5776         (listenerList): New field.
5777         (fireChangedUpdate): Implemented.
5778         (fireInsertUpdate): Likewise.
5779         (fireRemoveUpdate): Likewise.
5780         (fireUndoableEditUpdate): Likewise.
5781         (getListeners): Likewise.
5782         (addDocumentListener): Likewise.
5783         (removeDocumentListener): Likewise.
5784         (addUndoableEditListener): Likewise.
5785         (removeUndoableEditListener): Likewise.
5786         (getDocumentListeners): New method.
5787         (getUndoableEditListeners): Likewise.
5788         (getAsynchronousLoadPriority): Made public.
5789         (getBidiRootElement): Likewise.
5790         (setAsynchronousLoadPriority): Likewise.
5791         (setDocumentProperties): Likewise.
5792         * javax/swing/text/BadLocationException.java
5793         (serialVerionUID): New field.
5794         * javax/swing/text/DefaultCaret.java
5795         (changeEvent): New field.
5796         (listenerList): Likewise.
5797         (changes): Removed.
5798         (addChangeListener): Reimplemented.
5799         (removeChangeListener): Likewise.
5800         (getListeners): New method.
5801         (getChangeListeners): Likwise.
5802         (getComponent): Likewise.
5803         * javax/swing/text/GapContent.java
5804         (GapContent): Implements java.io.Serializable.
5805         (serialVerionUID): New field.
5806
5807 2004-06-16  Michael Koch  <konqueror@gmx.de>
5808
5809         * javax/swing/JTree.java
5810         (treeModel): New field.
5811         (JTree): New constructors, one existing one made public.
5812         (createTreeModel): New method.
5813         (addTreeExpansionListener): Likewise.
5814         (removeTreeExpansionListener): Likewise.
5815         (getTreeExpansionListeners): Likewise.
5816         (fireTreeCollapsed): Likewise.
5817         (fireTreeExpanded): Likewise.
5818         (addTreeSelectionListener): Likewise.
5819         (removeTreeSelectionListener): Likewise.
5820         (getTreeSelectionListeners): Likewise.
5821         (fireValueChanged): Likewise.
5822         (addTreeWillExpandListener): Likewise.
5823         (removeTreeWillExpandListener): Likewise.
5824         (getTreeWillExpandListeners): Likewise.
5825         (fireTreeWillCollapse): Likewise.
5826         (fireTreeWillExpand): Likewise.
5827
5828 2004-06-16  Michael Koch  <konqueror@gmx.de>
5829
5830         * javax/swing/JTree.java: Reformatted.
5831
5832 2004-06-16  Michael Koch  <konqueror@gmx.de>
5833
5834         * javax/swing/JTextArea.java: New file.
5835         * javax/swing/JTextField.java
5836         (actions): Removed.
5837         (notifyAction): New constant.
5838         (columns): New field.
5839         (JTextField): New constructors.
5840         (createDefaultModel): New method.
5841         (addActionListener): Reimplmemented.
5842         (removeActionListener): Reimplemented.
5843         (getActionListeners): New method.
5844         (fireActionPerformed): New method.
5845         (getColumns): New method.
5846         (setColumne): New method.
5847         * javax/swing/text/JTextComponent.java
5848         (AccessibleJTextComponent.serialVersionUID): New field.
5849         (serialVersionUID): Likewise.
5850         (DEFAULT_KEYMAP): Likewise.
5851         (FOCUS_ACCELERATOR_KEY): Likewise.
5852         (doc): Made private.
5853         (icon_gap): Likewise.
5854         (icon): Likewise.
5855         (align): Likewise.
5856         (JTextComponent): Some constructors removed.
5857         (getScrollableTracksViewportHeight): New method.
5858         (getScrollableTracksViewportWidth): Likewise.
5859         * Makefile.am: Added javax/swing/JTextArea.java.
5860         * Makefile.in: Regenerated.
5861
5862 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5863
5864         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5865         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5866         * javax/swing/JViewport.java 
5867         (getExtentSize): Return size rather than preferred size.
5868         (toViewCoordinates): New methods.
5869         (getViewSize): Return size rather than preferred size.
5870         (setViewSize): Note view size as set.
5871         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5872         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5873         (getPreferredSize): Don't redo layout.
5874         * javax/swing/plaf/basic/BasicViewportUI.java 
5875         (paint): Translate image properly and eat exceptions.
5876
5877 2004-06-15  Kim Ho  <kho@redhat.com>
5878
5879         * javax/swing/JTabbedPane.java
5880         (setComponent): Remove old component and
5881         add new component.
5882         (setSelectedIndex): Don't operate on the 
5883         components if they're null. Don't set index
5884         on the model if the index is the same.
5885         (insertTab): Don't add or hide the component
5886         if it's null. Repaint the container.
5887         * javax/swing/plaf/basic/BasicLookAndFeel.java
5888         Change colors for TabbedPane.
5889         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5890         (mousePressed): Re-layout and paint the component.
5891         (layoutContainer): Don't set location on the view.
5892         (ScrollingViewport::paint): Remove.
5893
5894 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5895
5896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5897         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5898
5899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5900         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5901         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5902         critical region.
5903         (drawLine): Call gdk_flush before leaving GDK critical region.
5904         (fillRect): Likewise.
5905         (drawRect): Likewise.
5906         (copyArea): Likewise.
5907         (copyPixmap): Likewise.
5908         (clearRect): Likewise.
5909         (drawArc): Likewise.
5910         (drawPolyline): Likewise.
5911         (drawPolygon): Likewise.
5912         (fillPolygon): Likewise.
5913         (fillArc): Likewise.
5914         (drawOval): Likewise.
5915         (fillOval): Likewise.
5916
5917         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5918         style parameter.
5919         (GdkFontMetrics): Add style argument to initState call.
5920         (stringWidth(String,int,int,String)): Add style parameter.
5921         (stringWidth(String)): Add style argument to stringWidth call.
5922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5923         (initState): Set pango font style and weight based on AWT style
5924         parameter.  Pass default GTK language to
5925         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5926         simply dividing by PANGO_SCALE.
5927         (stringWidth): Set pango font style and weight based on AWT style
5928         parameter.
5929
5930         * java/awt/Button.java (next_button_number): New field.
5931         (paramString): Change output.
5932         (generateName): New method.
5933         (getUniqueLong): New method.
5934
5935 2004-06-14  Kim Ho  <kho@redhat.com>
5936
5937         * javax/swing/JTabbedPane.java:
5938         (setComponentAt): Set the component, not
5939         the enabled status.
5940         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5941         (actionPerformed): Let deiconize catch exception.
5942
5943 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5944
5945         * javax/swing/JPopupMenu.java:
5946         (setVisible): Corrected location of a 
5947         heavyweight popup menu.
5948
5949 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5950
5951         * javax/swing/MenuSelectionManager.java: 
5952         Ran through jalopy to fix formatting style.
5953
5954 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5955         
5956         * javax/swing/JLayeredPane.java: 
5957         (remove): Revalidate and repaint layered pane after
5958         the component was removed.
5959         javax/swing/JMenu.java:
5960         (setVisible): Display popup menu at the user location,
5961         if one was set by the user.
5962         (setMenuLocation): Reimplemented. Fixed javadoc.
5963         * javax/swing/JMenuBar.java: Added javadoc.
5964         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5965         (MODEL_CHANGED_PROPERTY): New Property.
5966         (isSelected): Implemented.
5967         (setBorderPainted): Fire PropertyChangeEvent
5968         if paintBorder property changes.
5969         (setSelected): Implemented.
5970         (setSelectionModel): Implemented.
5971         * javax/swing/JPopupMenu.java: Added Javadoc
5972         (pack): Implemented.
5973         (setVisible): Reimplemented.
5974         (show): Fixed location.
5975         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5976         Container instead of JPanel.
5977         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5978         (clearSelectedPath): Reimplemented to clear selectedPath
5979         in reverse order.
5980         (processMouseEvent): Reimplemented.
5981         (setSelectedPath): Fire stateChange event indicating that
5982         selected menu path has changed.
5983         (getPath): Change to use ArrayList instead of Vector.
5984         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5985         (installUI): call installKeyboardActions().
5986         (uninstallUI): call uninstallKeyboardActions().
5987
5988 2004-06-13  Michael Koch  <konqueror@gmx.de>
5989
5990         * javax/swing/text/DefaultCaret.java,
5991         javax/swing/text/BadLocationException.java:
5992         Reformatted.
5993
5994 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5995
5996         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5997         DEFAULT_COLS): New variables.
5998         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5999         values to DEFAULT_ROWS or DEFAULT_COLS.
6000         (getMinimumSize): Likewise.
6001         (getPreferredSize): Likewise.
6002         (minimumSize): Likewise.
6003         (preferredSize): Likewise.
6004         (create): Set peer's editable state.
6005         * java/awt/TextArea.java (TextArea()): Set rows and columns to
6006         zero.  Update javadocs.
6007         (TextArea(String)): Likewise.
6008         (TextArea(int,int)): Fix javadocs.
6009         (TextArea(String,int,int,int)): Only throw exception if one of
6010         rows or columns is zero.  Fix javadocs.
6011
6012 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
6013
6014         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6015         addition to Components.
6016
6017         * java/awt/MenuItem.java (dispatchEventImpl): If the event
6018         wasn't consumed by normal processing, send it to the parent
6019         menu.
6020
6021         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6022         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6023         translation.
6024
6025 2004-06-11  David Jee  <djee@redhat.com>
6026
6027         * java/awt/MediaTracker.java
6028         (addImage(Image,int)): Call imageUpdate() to udpate image status.
6029         (addImage(Image,int,int,int)): Likewise.
6030
6031 2004-06-11  Michael Koch  <konqueror@gmx.de>
6032
6033         * javax/swing/text/AbstractDocument.java,
6034         javax/swing/text/Document.java,
6035         javax/swing/text/GapContent.java,
6036         javax/swing/text/JTextComponent.java,
6037         javax/swing/text/PlainDocument.java:
6038         Reformatted.
6039
6040 2004-06-11  Michael Koch  <konqueror@gmx.de>
6041
6042         * javax/swing/JRootPane.java
6043         (AccessibleJRootPane.serialVersionUID): New field.
6044         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6045         (AccessibleJRootPane.getAccessibleRole): New method.
6046         (RootLayout): Implements Serializable.
6047         (RootLayout.serialVersionUID): New field.
6048         (RootLayout.RootLayout): New constructor.
6049         (setJMenuBar): Made public.
6050         (getJMenuBar): Likewise.
6051         (JRootPane): Likewise.
6052         (createContentPane): Likewise.
6053         (createGlassPane): Likewise.
6054         (createLayeredPane): Likewise.
6055
6056 2004-06-11  Michael Koch  <konqueror@gmx.de>
6057
6058         * javax/swing/SwingUtilities.java
6059         (isLeftMouseButton): Fixed javadoc.
6060         (isMiddleMouseButton): Likewise.
6061         (isRightMouseButton): Likewise.
6062
6063 2004-06-11  Michael Koch  <konqueror@gmx.de>
6064
6065         * javax/swing/JScrollPane.java
6066         (serialVersionUID): New field.
6067         (columnHeader): Made protected.
6068         (rowHeader): Likewise.
6069         (lowerLeft): Likewise.
6070         (lowerRight): Likewise.
6071         (upperLeft): Likewise.
6072         (upperRight): Likewise.
6073         (horizontalScrollBar): Likewise.
6074         (horizontalScrollBarPolicy): Likewise.
6075         (verticalScrollBar): Likewise.
6076         (verticalScrollBarPolicy): Likewise.
6077         (viewport): Likewise.
6078
6079 2004-06-11  Michael Koch  <konqueror@gmx.de>
6080
6081         * javax/swing/LookAndFeel.java: Fixed javadocs.
6082
6083 2004-06-11  Michael Koch  <konqueror@gmx.de>
6084
6085         * javax/swing/JEditorPane.java: Fixed javadocs.
6086         (JEditorPane): Removed redundant call to to this().
6087         (fireHyperlinkUpdate): Implemented.
6088
6089 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6090
6091         * javax/swing/JMenu.java: Fixed file name 
6092         in the file comment.
6093
6094 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6095
6096         * javax/swing/JMenu.java: Added javadoc.
6097         (JMenu): Added MenuChangeListener to listen to 
6098         ChangeEvents occuring in menu's model. 
6099         (insert): Throw IllegalArgumentException if 
6100         index is less than 0
6101         (setSelected): Reimplement.
6102         (setPopupMenuVisible): Call menu's model isEnabled()
6103         (setDelay): Throw IllegalArgumentException if 
6104         given amount of delay is less than 0.
6105         (createActionComponent): Implemented.
6106         (createActionChangeListener): Implemented.
6107         (addSeparator): Implemented.
6108         (getItem): Throw IllegalArgumentException if index is 
6109         less than 0.
6110         (getItemCount): Implemented.
6111         (fireMenuSelected): Changed to use menuEvent.
6112         (fireMenuDeselected): Likewise.
6113         (fireMenuCanceled): Likewise.
6114         (setAccelerator): Changed to throw an error if this 
6115         method is used. 
6116         (doClick): Implemented.
6117         (JMenu.ActionChangedListener): New inner class to handle
6118         PropertyChangeEvents occuring in the actions associated with menu.
6119         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6120         (BasicMenuUI): Added PropertyChangeListener to the menu.
6121         (createChangeListener): Implemented.
6122         (createMenuDragMouseListener): Likewise.
6123         (createMenuKeyListener): Likewise.
6124         (createPropertyChangeListener): Likewise.
6125         (uninstallListeners): Likewise.
6126         (BasicMenuUI.MouseInputHandler): Reimplemented.
6127         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6128         (BasicMenuUI.ChangeHandler): Likewise.
6129         (BasicMenuUI.MenuDragMouseHandler): Likewise.
6130         (BasicMenuUI.MenuKeyHandler): Likewise.
6131
6132 2004-06-10  David Jee  <djee@redhat.com>
6133
6134         * java/awt/MediaTracker.java
6135         (imageUpdate): Only do notifyAll() if the image is complete.
6136
6137 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
6138
6139         * javax/swing/JApplet.java:
6140         (getJMenuBar): Made public.
6141         (setJMenuBar): Likewise.
6142         * javax/swing/JFrame.java:
6143         (getJMenuBar): Made public.
6144         (setJMenuBar): Likewise.
6145         * javax/swing/JWindow.java:
6146         (getJMenuBar): Removed.
6147         (setJMenuBar): Removed.
6148
6149 2004-06-10  Michael Koch  <konqueror@gmx.de>
6150
6151         * javax/swing/JEditorPane.java
6152         (createEditorKitForContentType): Fixed visibility.
6153         (fireHyperlinkUpdate): Likewise.
6154         (getContentType): Likewise.
6155         (getEditorKit): Likewise.
6156         (getEditorKitForContentType): Likewise.
6157         (getPage): Likewise.
6158         (read): Likewise.
6159         (registerEditorKitForContentTyoe): Likewise.
6160         (replaceSelection): Likewise.
6161         (setContentType): Likewise.
6162         (setEditorKit): Likewise.
6163         (setPage): Likewise.
6164
6165 2004-06-10  Michael Koch  <konqueror@gmx.de>
6166
6167         * javax/swing/Timer.java
6168         (Timer): New constructor.
6169         * javax/swing/plaf/basic/BasicProgressBarUI.java
6170         (animationTimer): Don't initialize at construction.
6171         (startAnimationTimer): Added since tag.
6172         (stopAnimationTimer): Likewise.
6173         (installUI): Use new Timer constructor.
6174         * javax/swing/plaf/basic/BasicScrollBarUI.java
6175         (installUI): Likewise.
6176         * javax/swing/plaf/basic/BasicSliderUI.java
6177         (installUI): Likewise.
6178
6179 2004-06-10  Michael Koch  <konqueror@gmx.de>
6180
6181         * javax/swing/ButtonGroup.java
6182         (serialVersionUID): Made private.
6183         (buttons): Renamed from v, added javadoc.
6184         (sel): Added javadoc.
6185         (ButtonGroup): Likewise.
6186         (add): Likewise.
6187         (remove): Likewise.
6188         (getElements): Likewise.
6189         (getSelection): Likewise.
6190         (setSelected): Likewise.
6191         (isSelected): Likewise.
6192         (getButtonCount): Likewise.
6193
6194 2004-06-10  Michael Koch  <konqueror@gmx.de>
6195
6196         * javax/swing/ButtonGroup.java,
6197         javax/swing/ImageIcon.java,
6198         javax/swing/JEditorPane.java,
6199         javax/swing/JRootPane.java,
6200         javax/swing/JTextField.java,
6201         javax/swing/LookAndFeel.java,
6202         javax/swing/plaf/basic/BasicTextUI.java:
6203         Reindented.
6204
6205 2004-06-10  Michael Koch  <konqueror@gmx.de>
6206
6207         * javax/swing/text/Style.java: Added javadocs.
6208
6209 2004-06-10  Michael Koch  <konqueror@gmx.de>
6210
6211         * javax/swing/JComponent.java
6212         (fireVetoableChange): Removed redundant cast.
6213         * javax/swing/JLabel.java
6214         (getDisabledIcon): Save icon for next call.
6215
6216 2004-06-10  Michael Koch  <konqueror@gmx.de>
6217
6218         * javax/swing/KeyStroke.java
6219         (getKeyStroke(char,boolean)): Marked deprecated.
6220
6221 2004-06-10  Michael Koch  <konqueror@gmx.de>
6222
6223         * javax/swing/DefaultCellEditor.java,
6224         javax/swing/GrayFilter.java,
6225         javax/swing/event/DocumentEvent.java,
6226         javax/swing/text/JTextComponent.java,
6227         javax/swing/text/MutableAttributeSet.java:
6228         Reindented.
6229
6230 2004-06-10  Michael Koch  <konqueror@gmx.de>
6231
6232         * javax/swing/plaf/BorderUIResource.java:
6233         Added serialVersionUID all over.
6234
6235 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6236
6237         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6238
6239 2004-06-10  Michael Koch  <konqueror@gmx.de>
6240
6241         * javax/swing/table/DefaultTableCellRenderer.java
6242         (noFocusBorder): Initialize directly.
6243
6244 2004-06-10  Michael Koch  <konqueror@gmx.de>
6245
6246         * javax/swing/plaf/basic/BasicArrowButton.java
6247         (setDirection): Use method argument.
6248
6249 2004-06-10  Michael Koch  <konqueror@gmx.de>
6250
6251         * javax/swing/plaf/BorderUIResource.java,
6252         javax/swing/plaf/ComponentUI.java,
6253         javax/swing/undo/CompoundEdit.java,
6254         javax/swing/undo/StateEdit.java:
6255         Fixed javadocs all over.
6256
6257 2004-06-10  Michael Koch  <konqueror@gmx.de>
6258
6259         * javax/swing/DefaultButtonModel.java
6260         (ARMED): Made public final, fixed value.
6261         (ENABLED): Likewise.
6262         (PRESSED): Likewise.
6263         (ROLLOVER): Likewise.
6264         (SELECTED): Likewise.
6265         (stateMask): Initialize directly.
6266         (listenerList): Likewise.
6267         (mnemonic): Likewise.
6268         (fireStateChanged): Removed argument, use changeEvent as event.
6269         All places where this method is called are fixed too.
6270         (getActionCommant): Fixed javadoc.
6271         (setGroup): Fixed javadoc.
6272         (getGroup): New method.
6273
6274 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6275
6276         * javax/swing/AbstractButton.java
6277         (AbstractButton): Use init() to initialize the button.
6278         (init): New Method. Initializes AbstractButton.
6279         * javax/swing/JMenuItem.java: Documented.
6280         (JMenuItem): Reimplemented.
6281         (init): Implemented.
6282         (setEnabled): Changed to call super.setEnabled()
6283         (processMouseEvent): Reimplemented.
6284         (fireMenuKeyPressed): Implemented.
6285         (fireMenuKeyReleased): Implemented.
6286         (fireMenuKeyTyped): Implemented.
6287         (menuSelectionChanged): disarm the model if the menu item was
6288         deselected.
6289         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6290         (getPath): Change to use ArrayList instead of Vector.
6291         (getPreferredSize): Renamed variable.
6292         (paintMenuItem): Paint margin area of menu item.
6293         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6294         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6295         menu item's bounds before clearing the selection.       
6296
6297 2004-06-09  David Jee  <djee@redhat.com>
6298
6299         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6300         (GtkTextComponentPeer): Set caret position to 0.
6301         * java/awt/TextComponent.java
6302         (setText): Set caret position to 0.
6303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6304         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6305         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6306         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6307         Likewise.
6308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6309         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6310         visible.
6311
6312 2004-06-09  Kim Ho  <kho@redhat.com>
6313
6314         * Makefile.am: New files
6315         * Makefile.in: Regenerated
6316         * java/awt/Container.java
6317         (getComponentAt): Removed.
6318         * javax/swing/AbstractAction.java
6319         (ENABLED_PROPERTY): New property.
6320         (putValue): Fire PropertyChangeEvents.
6321         (setEnabled): ditto.
6322         (firePropertyChange): Javadoc and implement
6323         convenience method.
6324         * javax/swing/AbstractButton.java
6325         (setAction): Don't create PropertyChangeListener
6326         if new Action is null.
6327         (setIcon): Don't set icon till after comparing
6328         it.
6329         (configurePropertiesFromAction): Check mnemonic
6330         key before calling intValue().
6331         (createActionPropertyChangeListener): Check
6332         properties rather than bulk change.
6333         * javax/swing/DefaultDesktopManager.java:
6334         Implement.
6335         * javax/swing/DesktopManager.java:
6336         Jalopy and javadoc.
6337         * javax/swing/JComponent.java
6338         (fireVetoableChange): Implement.
6339         (paintImmediately): Use root component.
6340         * javax/swing/JDesktopPane.java: Implement
6341         * javax/swing/JInternalFrame.java: Implement
6342         * javax/swing/JLabel.java
6343         (getDisabledIcon): Return grayscaled icon if
6344         no disabled icon specified.
6345         * javax/swing/JMenuBar.java
6346         (getComponentAtIndex): Use getComponent
6347         * javax/swing/JOptionPane.java
6348         (getDesktopPaneForComponent): Use SwingUtilities'
6349         getAncestorOfClass
6350         (getFrameForComponent): ditto.
6351         * javax/swing/JSplitPane.java
6352         (remove): Use getComponent.
6353         * javax/swing/SwingUtilities.java
6354         (convertPoint): Implement.
6355         * javax/swing/plaf/basic/BasicButtonUI.java
6356         (paintButtonNormal): Check opaqueness before
6357         filling background.
6358         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6359         Implement
6360         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6361         Implement.
6362         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6363         Implement.
6364         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6365         Implement.
6366         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6367         Change InternalFrame and Desktop colors.
6368
6369 2004-06-09  David Jee  <djee@redhat.com>
6370
6371         * java/awt/Container.java
6372         (remove): Do not set component to invisible.
6373
6374 2004-06-09  Michael Koch  <konqueror@gmx.de>
6375
6376         * javax/swing/tree/DefaultMutableTreeNode.java
6377         (getLeafCount): Renamed enum to e.
6378
6379 2004-06-09  Michael Koch  <konqueror@gmx.de>
6380
6381         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6382         (positionForMouseEvent): Removed redundant semicolon.
6383         (continueDrag): Use method arguments.
6384
6385 2004-06-09  Michael Koch  <konqueror@gmx.de>
6386
6387         * javax/swing/border/TitledBorder.java,
6388         javax/swing/filechooser/FileSystemView.java,
6389         javax/swing/plaf/basic/BasicButtonListener.java,
6390         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6391         javax/swing/plaf/basic/BasicLabelUI.java,
6392         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6393         javax/swing/plaf/basic/BasicScrollBarUI.java,
6394         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6395         javax/swing/plaf/basic/BasicSliderUI.java,
6396         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6397         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6398         javax/swing/table/JTableHeader.java,
6399         javax/swing/text/AbstractDocument.java,
6400         javax/swing/text/DefaultCaret.java,
6401         javax/swing/text/StyledEditorKit.java,
6402         javax/swing/tree/DefaultTreeCellEditor.java:
6403         Reworked import statements.
6404
6405 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6406
6407         * javax/swing/Box.java: Temporarily comment out code
6408         broken due to visibility bug.
6409
6410 2004-06-09  Michael Koch  <konqueror@gmx.de>
6411
6412         * javax/swing/ImageIcon.java
6413         (ImageIcon): Added missing constructor.
6414
6415 2004-06-08  Michael Koch  <konqueror@gmx.de>
6416
6417         * javax/swing/JToggleButton.java
6418         (JToggleButton): New constructor.
6419         (getAccessibleContext): Moved documentation into javadoc.
6420         (getUIClassID): Likewise.
6421
6422 2004-06-08  Michael Koch  <konqueror@gmx.de>
6423
6424         * javax/swing/AbstractButton.java
6425         (getDisabledIcon): Create disabled icon if none exists yet.
6426
6427 2004-06-08  Michael Koch  <konqueror@gmx.de>
6428
6429         * javax/swing/plaf/basic/BasicLookAndFeel.java
6430         (initClassDefaults): Added FormattedTextFieldUI.
6431         (loadResourceBundle): Renamed enum to e.
6432
6433 2004-06-08  Michael Koch  <konqueror@gmx.de>
6434
6435         * javax/swing/plaf/basic/BasicButtonUI.java
6436         (paintIcon): Simplified.
6437         (paintText): Paint disabled button correctly.
6438
6439 2004-06-08  Michael Koch  <konqueror@gmx.de>
6440
6441         * javax/swing/JComponent.java
6442         (createToolTip): Use official JToolTip API.
6443
6444 2004-06-08  Michael Koch  <konqueror@gmx.de>
6445
6446         * javax/swing/JToolTip.java
6447         (JToolTip): No arguments in API.
6448         (setTipText): New method.
6449
6450 2004-06-08  Michael Koch  <konqueror@gmx.de>
6451
6452         * javax/swing/SwingUtilities.java
6453         (isLeftMouseButton): New method.
6454         (isMiddleMouseButton): New method.
6455         (isRightMouseButton): New method.
6456
6457 2004-06-08  Michael Koch  <konqueror@gmx.de>
6458
6459         * javax/swing/AbstractButton.java,
6460         javax/swing/CellRendererPane.java,
6461         javax/swing/JCheckBoxMenuItem.java,
6462         javax/swing/JColorChooser.java,
6463         javax/swing/JComboBox.java,
6464         javax/swing/JComponent.java,
6465         javax/swing/JDesktopPane.java,
6466         javax/swing/JFileChooser.java,
6467         javax/swing/JMenu.java,
6468         javax/swing/JMenuItem.java,
6469         javax/swing/JOptionPane.java,
6470         javax/swing/JPasswordField.java,
6471         javax/swing/JPopupMenu.java,
6472         javax/swing/JProgressBar.java,
6473         javax/swing/JRadioButtonMenuItem.java,
6474         javax/swing/JScrollBar.java,
6475         javax/swing/JSeparator.java,
6476         javax/swing/JSlider.java,
6477         javax/swing/JSplitPane.java,
6478         javax/swing/JTabbedPane.java,
6479         javax/swing/JTextField.java,
6480         javax/swing/JToolBar.java,
6481         javax/swing/text/JTextComponent.java:
6482         Fixed all constructors of accessibility classes.
6483
6484 2004-06-08  Michael Koch  <konqueror@gmx.de>
6485
6486         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6487         over.
6488
6489 2004-06-08  Michael Koch  <konqueror@gmx.de>
6490
6491         * javax/swing/Box.java
6492         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6493         (AccessibleBoxFiller.serialVersionUID): New member variable.
6494         * javax/swing/DefaultButtonModel.java
6495         (stateMask): Made protected.
6496         (listenerList): Likewise.
6497         (changeEvent): Likewise.
6498         (group): Likewise.
6499         (mnemonic): Likewise.
6500         (actionCommand): Likewise.
6501         (getListeners): New method.
6502         (getActionListeners): New method.
6503         (getItemListeners): New method.
6504         (getChangeListeners): New method.
6505         (fireItemStateChanged): Simplified.
6506         (fireActionPerformed): Simplified.
6507         (fireStateChanged): Simplified.
6508         * javax/swing/JFrame.java
6509         (JFrame): Implements WindowContants.
6510         (HIDE_ON_CLOSE): Removed.
6511         (EXIT_ON_CLOSE): Removed.
6512         (DISPOSE_ON_CLOSE): Removed.
6513         (DO_NOTHING_ON_CLOSE): Removed.
6514         (processWindowEvent): Exit with code 0.
6515         (setDefaultCloseOperation): Do security check before setting value.
6516         * javax/swing/JOptionPane.java
6517         (message): Initialize only in constructor.
6518         * javax/swing/JToolTip.java: Removed unused imports.
6519         * javax/swing/JViewport.java
6520         (serialVersionUID): New member variable.
6521         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6522         (BLIT_SCROLL_MODE): Likewise.
6523         (BACKINGSTORE_SCROLL_MODE): Likewise.
6524         (scrollUnderway): Made protected.
6525         (isViewSizeSet): Likewise.
6526         * javax/swing/ListModel.java: Fixed javadoc.
6527         * javax/swing/Popup.java: Likewise.
6528         * javax/swing/RepaintManager.java
6529         (paintDirtyRegions): Don't use internal classes of
6530         java.util.AbstractMap.
6531         * javax/swing/ScrollPaneConstants.java: Reindented.
6532         * javax/swing/ScrollPaneLayout.java
6533         (viewport): Made protected.
6534         (verticalScrollBar): Made protected, renamed to vsb.
6535         (horizontalScrollBar): Made protected, renamed to hsb.
6536         (rowHeader): Made protected, renamed to rowHead.
6537         (columnHeader): Made protected, renamed to colHead.
6538         (lowerLeft): Made protected.
6539         (lowerRight): Made protected.
6540         (upperLeft): Made protected.
6541         (upperRight): Made protected.
6542         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6543         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6544
6545 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6546
6547         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6548         LOADING if flags has SOMEBITS set.
6549
6550 2004-06-07  Michael Koch  <konqueror@gmx.de>
6551
6552         * javax/swing/AbstractButton.java: Reorganized imports.
6553         * javax/swing/ActionMap.java: Likewise.
6554         * javax/swing/DefaultButtonModel.java: Likewise.
6555         * javax/swing/DefaultListModel.java: Likewise.
6556         * javax/swing/ImageIcon.java: Likewise.
6557         (serialVersionUID): New member variable.
6558         * javax/swing/JComboBox.java: Reorganized imports.
6559         * javax/swing/JComponent.java: Likewise.
6560         (ui): Made protected.
6561         (listenerList): Made protected.
6562         (TOOL_TIP_TEXT_KEY): New constant.
6563         (scrollRectToVisible): Removed redundant null check.
6564         * javax/swing/JFrame.java: Reorganized imports.
6565         * javax/swing/JInternalFrame.java: Reorganized imports.
6566         * javax/swing/JProgressBar.java: Likewise.
6567         * javax/swing/JRootPane.java: Likewise.
6568         * javax/swing/JScrollBar.java: Likewise.
6569         * javax/swing/JSeparator.java: Likewise.
6570         * javax/swing/JSlider.java: Likewise.
6571         * javax/swing/JTabbedPane.java: Likewise.
6572         * javax/swing/JTextField.java: Likewise.
6573         * javax/swing/JToolBar.java: Likewise.
6574         * javax/swing/JTree.java: Likewise.
6575         * javax/swing/JViewport.java: Likewise.
6576         * javax/swing/JWindow.java: Likewise.
6577         * javax/swing/KeyStroke.java: Likewise.
6578         * javax/swing/LookAndFeel.java: Likewise.
6579         * javax/swing/MenuSelectionManager.java: Likewise.
6580         * javax/swing/SwingUtilities.java: Likewise.
6581         * javax/swing/Timer.java: Likewise.
6582         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6583         * javax/swing/JList.java
6584         (HORIZONTAL_WRAP): Made final, fixed value.
6585         (VERTICAL): Likewise.
6586         (VERTICAL_WRAP): Likewise.
6587
6588 2004-06-07  Michael Koch  <konqueror@gmx.de>
6589
6590         * javax/swing/AbstractButton.java
6591         (serialVersionUID): New member variable.
6592         (AccessibleAbstractButton.serialVersionUID): Likewise.
6593         (AbstractButton): Made public.
6594         * javax/swing/Box.java
6595         (AccessibleBox.serialVersionUID): New member variable.
6596         (Filler.serialVersionUID): Likewise.
6597         * javax/swing/DefaultListSelectionModel.java
6598         (serialVersionUID): Likewise.
6599         * javax/swing/JApplet.java
6600         (serialVersionUID): Likewise.
6601         * javax/swing/JCheckBox.java
6602         (serialVersionUID): Likewise.
6603         * javax/swing/JCheckBoxMenuItem.java
6604         (serialVersionUID): Likewise.
6605         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6606         * javax/swing/JColorChooser.java
6607         (serialVersionUID): Likewise.
6608         (AccessibleJColorChooser.serialVersionUID): Likewise.
6609         * javax/swing/JComponent.java
6610         (serialVersionUID): Made private.
6611         (AccessibleJComponent.serialVersionUID): New member variable.
6612         * javax/swing/JDesktopPane.java
6613         (serialVersionUID): Likewise.
6614         * javax/swing/JDialog.java
6615         (serialVersionUID): Likewise.
6616         * javax/swing/JFormattedTextField.java
6617         (serialVersionUID): Fixed value.
6618         * javax/swing/JFrame.java
6619         (serialVersionUID): New member variable.
6620         (getDefaultCloseOpertation): Made public.
6621         * javax/swing/JLayeredPane.java
6622         (serialVersionUID): Likewise.
6623         (LAYER_PROPERTY): Made final, fixed value.
6624         (JLayeredPane): Made public.
6625         * javax/swing/JMenu.java
6626         (AccessibleJMenu.serialVersionUID): New member variable.
6627         (WinListener.serialVersionUID): Likewise.
6628         * javax/swing/JMenuBar.java
6629         (serialVersionUID): Likewise.
6630         (getComponentAtIndex): Added @deprecated tag.
6631         * javax/swing/JMenuItem.java
6632         (serialVersionUID): New member variable.
6633         (AccessibleJMenuItem.serialVersionUID): Likewise.
6634         * javax/swing/JOptionPane.java
6635         (serialVersionUID): Likewise.
6636         (AccessibleJOptionPane.serialVersionUID): Likewise.
6637         * javax/swing/JPopupMenu.java
6638         (serialVersionUID): Likewise.
6639         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6640         (getPopupMenuListeners): New method.
6641         (getComponentAtIndex): Added @deprecated tag.
6642         * javax/swing/JProgressBar.java
6643         (serialVersionUID): New member variable.
6644         (AccessibleJProgressBar.serialVersionUID): Likewise.
6645         * javax/swing/JRadioButton.java
6646         (serialVersionUID): Likewise.
6647         * javax/swing/JRadioButtonMenuItem.java
6648         (serialVersionUID): Likewise.
6649         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6650         * javax/swing/JScrollBar.java
6651         (serialVersionUID): Likewise.
6652         (AccessibleJScrollBar.serialVersionUID): Likewise.
6653         * javax/swing/JSeparator.java
6654         (serialVersionUID): Likewise.
6655         (AccessibleJSeparator.serialVersionUID): Likewise.
6656         * javax/swing/JSlider.java: Fixed javadocs.
6657         (AccessibleJSlider.serialVersionUID): New member variable.
6658         * javax/swing/JSplitPane.java: Added copyright statement.
6659         (serialVersionUID): New member variable.
6660         (AccessibleJSplitPane.serialVersionUID): Likewise.
6661         * javax/swing/JTabbedPane.java
6662         (serialVersionUID): Likewise.
6663         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6664         (ModelListener.serialVersionUID): Likewise.
6665         (ModelListener.ModelListener): New constructor.
6666         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6667         (WRAP_TAB_LAYOUT): Likewise.
6668         * javax/swing/JTable.java
6669         (serialVersionUID): New member variable.
6670         * javax/swing/JToggleButton.java
6671         (serialVersionUID): Likewise.
6672         (ToggleButtonModel): Made static.
6673         (ToggleButtonModel.serialVersionUID): New member variable.
6674         * javax/swing/JToolTip.java
6675         (serialVersionUID): Likewise.
6676         * javax/swing/JTree.java
6677         (serialVersionUID): Likewise.
6678         * javax/swing/JWindow.java
6679         (serialVersionUID): Likewise.
6680         * javax/swing/Timer.java
6681         (serialVersionUID): Likewise.
6682
6683 2004-06-06  Michael Koch  <konqueror@gmx.de>
6684
6685         * javax/swing/SwingConstants.java
6686         (NEXT): New constant.
6687         (PREVIOUS): Likewise.
6688         * javax/swing/UIManager.java
6689         (LookAndFeel): Made public.
6690         (LookAndFeel.getClassName): Likewise.
6691         (LookAndFeel.getName): Likewise.
6692
6693 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6694
6695         * javax/swing/JCheckBoxMenuItem.java:
6696         Removed CVS tags.
6697         * javax/swing/JMenu.java: Likewise.
6698         * javax/swing/JMenuBar.java: Likewise.
6699         * javax/swing/JMenuItem.java: Likewise.
6700         * javax/swing/JPopupMenu.java: Likewise.
6701         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6702         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6703         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6704         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6705         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6706         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6707         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6708
6709 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6710         
6711         * javax/swing/plaf/basic/BasicMenuUI.java:
6712         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6713         Call getPath() from super class instead.
6714
6715 2004-05-31  David Jee  <djee@redhat.com>
6716
6717         * java/awt/Container.java
6718         (remove): Set component visibility to false after removing it.
6719
6720 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6721
6722         * java/awt/Component.java (getForeground): Return SystemColor if
6723         parent is null.
6724         (getBackground): Likewise.
6725
6726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6727         (item_highlighted): New function.
6728         (connectSignals): Set item_highlighted as list's select
6729         function.
6730
6731         * java/applet/Applet.java: Revert changes from 2004-04-29,
6732         2004-03-15 and 2004-03-14.
6733
6734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6735         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6736         factor.
6737
6738         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6739         "Dialog" as the default font.
6740         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6741         Likewise.
6742         * java/awt/Component.java (getFont): Return "Dialog" font by
6743         default.
6744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6745         Multiply size argument to pango_font_description_set_size by the
6746         DPI conversion factor rather than by PANGO_SCALE.
6747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6752         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6754         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6756         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6757         Divide baseline y coordinate by DPI conversion factor rather
6758         than by PANGO_SCALE.
6759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6760         (area_prepared): Fix typo.
6761         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6762         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6764         (dpi_conversion_factor): New global variable.
6765         (init_dpi_conversion_factor): New function to calculate and
6766         track DPI conversion factor.
6767         (dpi_changed_cb): New callback.
6768         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6769
6770 2004-05-27  David Jee  <djee@redhat.com>
6771
6772         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6773         (getGraphics): Return a new GdkGraphics instance.
6774         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6775         (getGraphics): Call super.getGraphics().
6776
6777 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6778
6779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6780         (setNativeBounds): Clamp width and height values to >= 0.
6781
6782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6783         (find_fg_color_widget): Handle GtkOptionMenu specially.
6784
6785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6786         (pre_event_handler): Only post configure events to visible
6787         top-level windows.
6788
6789 2004-05-26  David Jee  <djee@redhat.com>
6790
6791         * java/awt/BorderLayout.java
6792         (layoutContainer): Fix size calculations.
6793
6794 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6795
6796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6797         (window_wm_protocols_filter): Remove function.
6798         (create): Remove filter that removes WM_TAKE_FOCUS client
6799         messages.
6800
6801 2004-06-17  Anthony Green  <green@redhat.com>
6802
6803         * java/util/zip/ZipFile.java (getInputStream): Return null if
6804         entry not found.
6805
6806         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6807         directory contents to the class path.
6808
6809 2004-06-15  Andrew Haley  <aph@redhat.com>
6810
6811         * java/lang/natSystem.cc (getenv0): Don't assume environment
6812         variable is Latin 1 coded.
6813
6814 2004-06-14  Andreas Jaeger  <aj@suse.de>
6815
6816         * configure.in: Support --enable-version-specific-runtime-libs.
6817         * configure: Regenerated.
6818
6819 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6820
6821         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6822         to pass ClassLoader argument.
6823         * java/util/GregorianCalendar.java: Likewise.
6824         * java/util/Currency.java: Likewise.
6825         * java/text/BreakIterator.java: Likewise.
6826         * java/text/Collator.java: Likewise.
6827         * java/text/DateFormat.java: Likewise.
6828         * java/text/DateFormatSymbols.java: Likewise.
6829         * java/text/DecimalFormatSymbols.java: Likewise.
6830         * java/text/NumberFormat.java: Likewise.
6831         * java/awt/Window.java: Likewise.
6832
6833 2004-06-14  Andrew Haley  <aph@redhat.com>
6834
6835         * java/lang/System.java: (getenv0): New method.
6836         (getenv): Add security check.  Do the right thing.
6837         * java/lang/natSystem.cc (getenv0): New method.
6838
6839 2004-06-12  Mark Wielaard  <mark@klomp.org>
6840
6841         * javax/swing/RepaintManager.java
6842         (paintDirtyRegions): Use entrySet(), not values().
6843
6844 2004-06-10  Mark Wielaard  <mark@klomp.org>
6845
6846         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6847         NoSuchMethodError.
6848
6849 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6850
6851         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6852         when we already know the answer.
6853         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6854         (setStartRule,setEndRule): Don't take abs of day number.
6855         (getOffset): Clarify docs.  Add argument checks.
6856         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6857         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6858         endTimeMode.
6859
6860 2004-06-10  Tom Tromey  <tromey@redhat.com>
6861
6862         * interpret.cc (run): Handle wide fload.
6863
6864 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6865
6866         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6867
6868 2004-06-05  Michael Koch  <konqueror@gmx.de>
6869
6870         * javax/swing/SwingConstants.java
6871         (NEXT): New constant.
6872         (PREVIOUS): Likewise.
6873
6874 2004-06-05  Michael Koch  <konqueror@gmx.de>
6875
6876         * javax/swing/UIManager.java
6877         (LookAndFeel): Made public.
6878         (LookAndFeel.getName): Likewise.
6879         (LookAndFeel.getClassName): Likewise.
6880
6881 2004-06-03  Michael Koch  <konqueror@gmx.de>
6882
6883         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6884         (requestFocus): Revert last changes.
6885         (gtkRequestFocus): Removed.
6886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6887         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6888         Renamed to ...
6889         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6890         Reverted last patch.
6891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6892         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6893         Reverted comment change.
6894
6895 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6896
6897         * javax/swing/JCheckBoxMenuItem.java:
6898         Removed CVS tags.
6899         * javax/swing/JMenu.java: Likewise.
6900         * javax/swing/JMenuBar.java: Likewise.
6901         * javax/swing/JMenuItem.java: Likewise.
6902         * javax/swing/JPopupMenu.java: Likewise.
6903         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6904         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6905         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6906         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6907         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6908         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6909         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6910
6911 2004-06-01  Tom Tromey  <tromey@redhat.com>
6912
6913         * java/io/ObjectStreamField.java: Cleaned up imports.
6914
6915 2004-06-01  Michael Koch  <konqueror@gmx.de>
6916
6917         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6918       
6919 2004-06-01  Mark Wielaard  <mark@klomp.org>
6920
6921         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6922
6923 2004-06-01  Michael Koch  <konqueror@gmx.de>
6924
6925         * java/security/Security.java
6926         (insertProviderAt): Use equals() instead of ==.
6927         (removeProvicer): Likewise.
6928         (getProvider): Likewise.
6929         * java/security/Signature.java
6930         (sign): Don't set state to UNINITIALIZED.
6931         (verify): Likewise.
6932
6933 2004-06-01  Mark Wielaard  <mark@klomp.org>
6934
6935         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6936         Implement by calling gtkRequestFocus.
6937         (gtkRequestFocus): New native method.
6938         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6939         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6940         Renamed to ...
6941         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6942         New function name.
6943         (filter_expose_event_handler):
6944         Mark static.
6945         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6946         (menu_pos): Mark static.
6947
6948 2004-06-01  Michael Koch  <konqueror@gmx.de>
6949
6950         * java/text/CollationElementIterator.java,
6951         java/text/CollationKey.java,
6952         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6953         * testsuite/libjava.mauve/xfails: Removed all
6954         java.text.CollationElementIterator tests.
6955
6956 2004-06-01  Michael Koch  <konqueror@gmx.de>
6957
6958         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6959         version.
6960         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6961         Java 1.5 keyword usage.
6962
6963 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6964
6965         * javax/swing/plaf/basic/BasicMenuUI.java:
6966         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6967         Call getPath() from super class instead.
6968
6969 2004-05-31  Michael Koch  <konqueror@gmx.de>
6970
6971         * java/io/SequenceInputStream.java:
6972         Rename enum to e because enum is a keyword in Java 1.5.
6973
6974 2004-05-31  Michael Koch  <konqueror@gmx.de>
6975
6976         * gnu/java/rmi/rmic/CompilerProcess.java:
6977         Fixed javadoc to by XHTML compliant.
6978
6979 2004-05-30  Mark Wielaard  <mark@klomp.org>
6980
6981         * java/awt/Toolkit.java (loadSystemColors): Implement.
6982
6983 2004-05-30  Michael Koch  <konqueror@gmx.de>
6984
6985         * java/lang/System.java: Reordered imports.
6986
6987 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6988
6989         * java/text/DecimalFormat.java
6990         (parse): Fixed parsing of decimal strings. Number of maximum
6991         digits to be read should now work.
6992         * java/text/SimpleDateFormat.java
6993         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6994         formatter. This fixes DateFormatTest.
6995
6996 2004-05-30  Michael Koch  <konqueror@gmx.de>
6997
6998         * java/nio/Buffer.java
6999         (limit): Fixed off by one error.
7000         * java/nio/CharBuffer.java
7001         (wrap): Fixed arguments, added javadocs.
7002
7003 2004-05-30  Michael Koch  <konqueror@gmx.de>
7004
7005         * gnu/java/beans/BeanInfoEmbryo.java,
7006         java/awt/im/InputContext.java,
7007         javax/swing/tree/DefaultMutableTreeNode.java:
7008         Rename enum to e because enum is a keyword in Java 1.5.
7009
7010 2004-05-30  Michael Koch  <konqueror@gmx.de>
7011
7012         * gnu/java/math/MPN.java,
7013         java/awt/geom/Arc2D.java:
7014         Fixed javadocs all over.
7015
7016 2004-05-30  Michael Koch  <konqueror@gmx.de>
7017
7018         * java/awt/DefaultKeyboardFocusManager.java
7019         (dispatchEvent): Call method to get key event dispatchers.
7020         (dispatchKeyEvent): Call method to get key event post processors.
7021         * javax/swing/JComponent.java
7022         (listenerList): Made protected.
7023         * javax/swing/JOptionPane.java
7024         (message): Don't initialize.
7025         (JOptionPane): Set message text.
7026         * javax/swing/JPopupMenu.java
7027         (show): Fixed typo in argument name.
7028         * javax/swing/RepaintManager.java
7029         (paintDirtyRegions): Use public API of java.util.Map.
7030         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7031         (positionForMouseEvent): Removed redundant ';'.
7032         (continueDrag): Use method arguments.
7033
7034 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
7035
7036         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7037         results.
7038
7039 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
7040
7041         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7042         _Jv_AllocBytes.
7043         * gnu/gcj/RawDataManaged.java: New file.
7044         * java/lang/Thread.java (data): Declare as RawDataManaged.
7045         * java/lang/natThread.cc (init_native): Cast natThread data to
7046         RawDataManaged, not jobject.
7047         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7048         * Makefile.in: Rebuilt.
7049
7050 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
7051
7052         * java/util/SimpleTimeZone.java: Reverting my last change until I
7053         can fix it properly.
7054
7055 2004-05-27  Michael Koch  <konqueror@gmx.de>
7056
7057         * javax/swing/JPopupMenu.java
7058         (isVisible): Do not use visible directly.
7059         (setVisible): Likewise.
7060         * javax/swing/JWindow.java
7061         (JWindow): call accessible constructor.
7062         * javax/swing/RepaintManager.java
7063         (paintDirtyRegions): Use public methods to obtain iterator.
7064
7065 2004-05-25  David Jee  <djee@redhat.com>
7066
7067         * java/awt/Container.java
7068         (remove): Set component's parent to null only after we removed the
7069         component from its parent's layout manager.
7070
7071 2004-05-25  David Jee  <djee@redhat.com>
7072
7073         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7074         (GtkComponentPeer): Set bounds regardless of whether awtComponent
7075         is valid.
7076         * gnu/java/awt/peer/gtk/GtkListPeer.java
7077         (getSize): Change native method declaration.
7078         (minimumSize): Pass visible row count into getSize().
7079         (preferredSize): Likewise.
7080         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7081         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7082         natural size. Use visible row count to determine the final height
7083         value to return.
7084
7085 2004-05-21  Graydon Hoare  <graydon@redhat.com>
7086
7087         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
7088         (setClip): Minor correction to order of operations.
7089
7090         * javax/swing/JScrollPane.java: Extend sketchy implementation.
7091         * javax/swing/ScrollPaneLayout.java: Likewise.
7092         * javax/swing/JViewPort.java: Likewise.
7093         * javax/swing/ViewportLayout.java: Likewise.
7094
7095         * javax/swing/JComponent.java: Rewrite.
7096         * javax/swing/RepaintManager.java: Likewise.
7097
7098         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7099         * javax/swing/JList.java 
7100         (setSelectedIndices):
7101         (getSelectedIndices):
7102         (getSelectedValues): New functions.
7103         (getPreferredScrollableViewportSize): Return preferred size.
7104         (getScrollableUnitIncrement):
7105         (getScrollableBlockIncrement): Initial implementations.
7106         * javax/swing/JRootPane.java: Clean up slightly.
7107         (getUI):
7108         (setUI):
7109         (updateUI):
7110         (getUIClassID):
7111         (isValidateRoot): Add overrides from JComponent.
7112         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7113         * javax/swing/UIManager.java (getDimension): Return the dimension.
7114
7115         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7116         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7117         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7118         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7119         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7120         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7121         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7122         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
7123         Likewise, and set background.
7124         * javax/swing/plaf/basic/BasicListUI.java: 
7125         Likewise, and improve a bit.
7126         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
7127         Likewise, and adjust calculations.
7128         * javax/swing/plaf/basic/BasicViewportUI.java:
7129         Likewise, and improve a bit.
7130         * javax/swing/plaf/basic/BasicLookAndFeel.java 
7131         (Button.margin): Shrink.
7132
7133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7134         Hack to set horizontal always, workaround pango.
7135
7136         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7138         Synchronize more often, check cairo status after ops,
7139         handle changes to cairo pattern API, check for disposal.
7140
7141 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
7142
7143         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7144         (BasicMenuItemUI): Create propertyChangeListener.
7145         (getPath):Implemented.
7146         (installListeners): Add propertyChangeListener to menuItem.
7147         (uninstallListeners): Remove propertyChangeListener from menuItem.
7148         (update): Implemented.
7149         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7150         (mouseEntered): Take insets of popup menu into account when
7151         calculating position of popup menu.     
7152         
7153 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7154
7155         * Makefile.am: Added new file. 
7156         * Makefile.in: Regenerate.
7157         * javax/swing/JMenuBar.java:
7158         Started implementation.
7159         * javax/swing/JPopupMenu.java:
7160         (setVisible): Fixed location of lightweight/mediumweight
7161         popup menu.
7162         (show): Fixed location of PopupMenu.
7163         * javax/swing/plaf/basic/BasicMenuBarUI.java:
7164         New file. UI Delegate for JMenuBar.
7165         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7166         (mouseEntered): Corrected position of the submenu.
7167
7168 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
7169
7170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7171         to _gtk_accel_group_attach.
7172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7173         Likewise.
7174
7175         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7176         package access.  Don't override setFont.
7177         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7178         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7179         gtkWidgetRequestFocus package access.
7180         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7181         setFont.
7182         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7183         Give gtkWidgetRequestFocus package access.
7184         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7185         gtkWidgetRequestFocus package access.  Don't override setFont.
7186         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7187         setFont.
7188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7189         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7190         region.
7191         (gtkSetFont): Likewise.
7192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7193         Implement.
7194         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7195         (gtkSetFont): Whitespace fix.
7196
7197         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7198         (gtkWidgetSetUsize): Remove method.
7199
7200 2004-05-18  David Jee  <djee@redhat.com>
7201
7202         * java/awt/image/MemoryImageSource.java
7203         (newPixels(int,int,int,int,boolean)): Set only the specified
7204         rectangle of pixels.
7205         (newPixels(byte[],ColorModel,int,int)): Implement.
7206         (newPixels(int[],ColorModel,int,int)): Implement.
7207
7208 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7209
7210         * Makefile.am: Added new file.
7211         * Makefile.in: Regenerate.
7212         * javax/swing/JMenu.java: Started 
7213         implementation.
7214         * javax/swing/JPopupMenu.java:
7215         (insert): If specified index is -1, then
7216         add component at the end.
7217         (isPopupTrigger): Reimplemented.
7218         (JPopupMenu.LightWeightPopup): setBounds
7219         of the lightWeightPopup before adding it 
7220         to the layeredPane.
7221         (javax/swing/plaf/basic/BasicIconFactory.java):
7222         (getMenuArrowIcon): Implemented.
7223         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7224         (getPreferredSize): Add size of the arrow icon 
7225         if this menu item is instance of JMenu.
7226         (paintMenuItem): Paint arrow icon if this 
7227         menu item is a submenu.
7228         * javax/swing/plaf/basic/BasicMenuUI.java:
7229         New File. UI Delegate for JMenu.
7230
7231 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7232
7233         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7234         Post KEY_TYPED events.
7235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7236         (generates_key_typed_event): Remove function.
7237
7238 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7239
7240         * javax/swing/JRootPane.java
7241         (JRootPane.RootLayout): Reimplemented to 
7242         set bounds of contentPane and menuBar.
7243         (setJMenuBar): Add menu bar to the layered pane.
7244         (createLayeredPane): Set layout of layeredPane
7245         to null.
7246         * javax/swing/JLayeredPane.java:
7247         (addImpl): Calculate index of the component in the
7248         layeredPane according to the specified position within 
7249         the layer.      
7250
7251 2004-05-17  David Jee  <djee@redhat.com>
7252
7253         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7254         (setPixels): Change color model to the default model after
7255         converting pixels.
7256         * java/awt/image/MemoryImageSource.java
7257         (newPixels): Set only the specified rectangle of pixels.
7258
7259 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7260
7261         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7262         -l-java-beans -l-javax-accessibility -l-javax-swing.
7263
7264         * java/awt/AWTEvent.java (toString): Print source's name rather
7265         than the source itself.
7266
7267 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7268
7269         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7270         native.
7271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7272         (gdk_color_to_java_color): New function.
7273         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7274
7275 2004-05-12  David Jee  <djee@redhat.com>
7276
7277         * java/awt/image/RGBImageFilter.java:
7278         Initialize origmodel as null.
7279         (makeColor): Fix pixel component order.
7280         (filterRGBPixels): Fix pixel iteration.
7281         (setPixels): Add extra checks for index color model. Convert pixels
7282         to default color model if necessary.
7283         (convertColorModelToDefault): New override method for byte pixels.
7284         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7285         (makeColorbyDefaultCM): New override method for byte pixels.
7286         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7287         (makeColor): Fix pixel component order.
7288
7289 2004-05-11  Kim Ho  <kho@redhat.com>
7290
7291         * javax/swing/Box.java:
7292         Comment out more parts of Box.Filler.
7293
7294 2004-05-11  Kim Ho  <kho@redhat.com>
7295
7296         * javax/swing/Box.java:
7297         Remove reference to AccessibleAWTComponent so
7298         it compiles again.
7299
7300 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7301
7302         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7303         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7304         implementation of list peer to use GtkTreeView instead of
7305         deprecated GtkCList.
7306
7307 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7308
7309         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7310         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7311         (handleEvent): Remove keyChar argument to
7312         gtkWidgetDispatchKeyEvent calls.
7313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7314         compiler warnings.
7315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7318         Likewise.
7319
7320 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7321
7322         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7323         (gtkWidgetRequestFocus): Mark protected.
7324         (GtkComponentPeer): Only set the peer's bounds if its component
7325         is valid.
7326         * java/awt/Component.java (static): Set the default keyboard
7327         focus manager.
7328         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7329         requestFocusInWindow(temporary)): Don't request focus if the
7330         component is not showing.  Get tree lock before traversing
7331         component hierarchy.
7332         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7333         Only set the global focus owner if it is not a Window.
7334         (processKeyEvent): Consume keystrokes associated with the focus
7335         traversal keystroke.
7336         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7337         downFocusCycle): Call requestFocusInWindow instead of
7338         requestFocus.
7339         * java/awt/EventDispatchThread.java (run): Move setting of
7340         default keyboard focus manager to Component.java.
7341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7342         (awt_keycode_to_keysym): New function.
7343         (gtkWidgetDispatchKeyEvent): Finish implementation.
7344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7345         (pre_event_handler): Add FIXME comment.
7346
7347         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7348         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7349         (gtkWidgetRequestFocus): New method.
7350         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7351         disable Tab and Shift-Tab keystrokes.
7352         (addNotify, appendText, insertText, replaceText): Simplify peer
7353         retrieval code.
7354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7355         (connectSignals): Remove connections to "commit" signals.
7356         Remove C++-style comments.
7357
7358         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7359         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7360         (handleEvent): Activate GTK button when the space bar key is
7361         pressed.
7362         (gtkActivate): New method.
7363
7364 2004-05-06  David Jee  <djee@redhat.com>
7365
7366         * java/awt/image/CropImageFilter.java
7367         (setPixels): Implement for byte array pixels.
7368         * java/awt/image/ReplicateScaleFilter.java
7369         (setPixels): Implement for byte array pixels.
7370         (replicatePixels): Overload for byte array pixels.
7371
7372 2004-05-06  Kim Ho  <kho@redhat.com>
7373
7374         * javax/swing/Box.java:
7375         (getAccessibleContext): Return an instance of the 
7376         correct class.
7377
7378 2004-05-05  David Jee  <djee@redhat.com>
7379
7380         * gnu/java/awt/peer/gtk/GdkGraphics.java
7381         (drawImage): When component is null, use SystemColor.window as
7382         the default bgcolor.
7383         * gnu/java/awt/peer/gtk/GtkImage.java
7384         (setPixels): We can avoid iterating through the pixel rows only
7385         when height is 1.
7386         * java/awt/Image.java
7387         (getScaledInstance): Partially implement.
7388         * java/awt/image/CropImageFilter.java
7389         (setProperties): Fix "filter" property.
7390         (setPixels): Implement.
7391         * java/awt/image/ReplicateScaleFilter.java
7392         (setDimensions): Use scaled dimensions.
7393         (setPixels): Implement.
7394         (replicatePixels): New method.
7395
7396 2004-05-05  David Jee  <djee@redhat.com>
7397
7398         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7399         (convertPixels): If either pixels or model is null, return null.
7400         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7401         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7402         is null, do nothing and return.
7403
7404 2004-05-03  Kim Ho  <kho@redhat.com>
7405
7406         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7407         (getGraphics): Like GtkFramePeer, the Graphics
7408         object needs to be translate to account for
7409         window decorations.
7410         (postMouseEvent): New method. Account for
7411         translation.
7412         (postExposeEvent): ditto.
7413         * javax/swing/Box.java: Stubbed.
7414         * javax/swing/JDialog.java: Ran through jalopy
7415         to fix indentation.
7416         (JDialog): Call SwingUtilities' getOwnerFrame
7417         for null owners.
7418         (setLayout): Check isRootPaneCheckingEnabled
7419         * javax/swing/JOptionPane.java: Re-implemented.
7420         * javax/swing/SwingUtilities.java:
7421         (getOwnerFrame): Static method to grab a default
7422         owner frame for Dialogs that don't specify owners.
7423         * javax/swing/event/SwingPropertyChangeSupport.java:
7424         (firePropertyChange): Fix early exit condition.
7425         * javax/swing/plaf/basic/BasicLabelUI.java:
7426         (paint): Avoid painting text if it is null 
7427         or empty.
7428         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7429         Implement.
7430
7431 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7432
7433         * Makefile.am: Added new file.
7434         * Makefile.in: Regenerate.
7435         * javax/swing/JPopupMenu.java:
7436         Started implementation.
7437         * javax/swing/JWindow.java
7438         (JWindow): call super() if parent for window
7439         is not specified.
7440         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7441         New File. UI Delegate for JPopupMenu.
7442
7443 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7444
7445         * javax/swing/JApplet.java: Indicated that JApplet
7446         implements RootPaneContainer and made method of this
7447         interface public. 
7448         * javax/swing/JFrame.java: Ditto.
7449         * javax/swing/JWindow.java: Ditto.
7450         
7451 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7452
7453         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7454         (nativeSetBounds): Call gdk_window_move in addition to
7455         gtk_window_move.
7456
7457         * java/applet/Applet.java (preferredSize): Call parent's
7458         preferredSize if the applet stub is null.
7459         (minimumSize): Likewise for parent's minimumSize.
7460
7461 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7462
7463         * javax/swing/JMenuItem.java
7464         (createActionPropertyChangeListener): Implemented.
7465         (processMouseEvent): Ditto.
7466         (fireMenuDragMouseEntered): Ditto.
7467         (fireMenuDragMouseExited): Ditto.
7468         (fireMenuDragMouseDragged): Ditto.
7469         (fireMenuDragMouseReleased): Ditto.
7470         (menuSelectionChanged): Ditto.
7471         (getSubElements): Ditto.
7472         (getComponent): Ditto.
7473         (addMenuDragMouseListener): Ditto.
7474         (removeMenuDragMouseListener):Ditto.
7475         (addMenuKeyListener): Ditto.
7476         (removeMenuKeyListener): Ditto.
7477         * javax/swing/plaf/basic/BasicMenuItemUI.java
7478         (doClick): Imlemented.
7479         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7480         Don't handle mouse events here. Pass them to 
7481         MenuSelectionManager.
7482         
7483 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7484         Used correct version of jalopy configuration
7485         file to fix style in the files below.
7486
7487 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7488
7489         * javax/swing/JCheckBoxMenuItem.java: 
7490         Fixed style and removed unnecessary comments.
7491         * javax/swing/JMenuItem.java: Ditto.
7492         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7493         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7494         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7495         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7496
7497 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7498
7499         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7500         C-style.
7501
7502         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7503
7504         * java/awt/ContainerOrderFocusTraversalPolicy.java
7505         (getComponentAfter): Start from current component and work up
7506         the component hierarchy until an acceptable component is found.
7507         Synchronize on tree lock.
7508         (getComponentBefore): Likewise.
7509
7510 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7511
7512         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7513         focus-related debugging messages.
7514         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7515         * java/awt/EventDispatchThread.java: Likewise.
7516         * java/awt/KeyboardFocusManager.java: Likewise.
7517         * java/awt/Window.java: Likewise.
7518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7520
7521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7522         new C++-style comments to C-style comments.
7523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7524
7525         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7526         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7527         (handleEvent): Dispatch key press and key release events to
7528         backing widget.
7529         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7530         (gtkWidgetRequestFocus): New method.
7531         (gtkWidgetDispatchKeyEvent): Likewise.
7532         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7533         requestFocusInWindow, requestFocusInWindow(boolean),
7534         getFocusCycleRootAncestor, nextFocus, transferFocus,
7535         transferFocusBackward, transferFocusUpCycle, hasFocus,
7536         isFocusOwner): Implement and document focus-handling methods.
7537         (setFocusTraversalKeys): Inherit focus traversal keys when
7538         keystrokes argument is null.  Fix focus-handling documentation
7539         throughout class.
7540         * java/awt/Container.java (setFocusTraversalKeys,
7541         getFocusTraversalKeys, areFocusTraversalKeysSet,
7542         isFocusCycleRoot, setFocusTraversalPolicy,
7543         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7544         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7545         Implement and document focus-handling methods.
7546         (transferFocusBackward): Remove method.
7547         (readObject, writeObject): Implement and document serialization
7548         methods.
7549         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7550         and document.
7551         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7552         document.
7553         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7554         partially document.
7555         * java/awt/EventDispatchThread.java (run): Set default keyboard
7556         focus manager.  Attempt to dispatch each event to the keyboard
7557         focus manager before normal dispatch.
7558         * java/awt/KeyboardFocusManager.java: Implement and partially
7559         document.
7560         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7561         (show): Focus initial component when window is shown for the
7562         first time.
7563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7564         (pre_event_handler): Replace complex key press and key release
7565         logic with simple callbacks into GtkComponentPeer.
7566         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7567
7568 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7569
7570         * javax/swing/MenuSelectionManager.java
7571         (componentForPoint): Added new method. 
7572         (defaultManager): New Method. Implemented.
7573         (getSelectedPath): Ditto.
7574         (isComponentPartOfCurrentMenu): Ditto.
7575         (processKeyEvent): Added new method.
7576         (processMouseEvent): New Method. Implemented.
7577         (setSelectedPath): Ditto.
7578         (getPath): Ditto.
7579
7580 2004-04-19  Kim Ho  <kho@redhat.com>
7581
7582         * java/awt/Container.java: 
7583         (remove): Set the component's parent to null.
7584         (getComponentAt): Implement.
7585         * javax/swing/JComponent.java:
7586         (JComponent): Initialize defaultLocale
7587         (getDefaultLocale): Implement.
7588         (setDefaultLocale): ditto.
7589         * javax/swing/JSlider.java:
7590         (JSlider): Fix calculation of value.
7591         * javax/swing/JSplitPane.java: Implement.
7592         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7593         Change SplitPane's default divider size.
7594         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7595         (paint): Remove unused code.
7596         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7597         Added comments and ran through jalopy.
7598         (setBasicSplitPaneUI): Get reference to hidden divider
7599         and set up one touch buttons if necessary.
7600         (setBorder): Fire propertyChangeEvent only if 
7601         borders are different.
7602         (getPreferredSize): Defer to layout manager.
7603         (propertyChange): Implement.
7604         (oneTouchExpandableChanged): ditto.
7605         (createLeftOneTouchButton): Use BasicArrowButton.
7606         (createRightOneTouchButton): ditto.
7607         (moveDividerTo): New method. Moves the divider
7608         to a set location based on the last divider location.
7609         (BasicSplitPaneDivider::MouseHandler): Implement.
7610         (BasicSplitPaneDivider::OneTouchButton): Removed.
7611         (BasicSplitPaneDivider::DragController): Implement.
7612         (BasicSplitPaneDivider::VerticalDragController):
7613         ditto.
7614         (BasicSplitPaneDivider::DividerLayout): ditto.
7615         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7616         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7617         (calculateLayoutInfo): Don't show component if it's
7618         null.
7619         (paintTab): Fix title paint logic.
7620
7621 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7622
7623         PR libgcj/8321
7624         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7625         (setStartRule,setEndRule): Don't take abs of day number.
7626         (getOffset): Clarify docs.  Add argument checks.
7627         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7628         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7629         endTimeMode.
7630         * testsuite/libjava.mauve/xfails
7631         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7632
7633 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7634
7635         Layout interfaces during preparation, not initialization. 
7636         * java/lang/natClass.cc (initializeClass): Move 
7637         _Jv_LayoutInterfaceMethods call...
7638         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7639
7640 2004-05-19  Anthony Green  <green@localhost.localdomain>
7641
7642         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7643         gnu.javax.rmi code.
7644         * Makefile.in: Rebuilt.
7645         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7646         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7647         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7648         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7649         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7650         gnu/javax/rmi/CORBA/DelegateFactory.java,
7651         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7652         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7653         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7654         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7655         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7656         gnu/javax/rmi/PortableServer.java: Remove files.
7657
7658 2004-05-19  Anthony Green  <green@redhat.com>
7659
7660         * Makefile.am: Define JAVA_EXT_DIRS.
7661         * Makefile.in: Rebuilt.
7662         * java/lang/natRuntime.cc (insertSystemProperties): Set
7663         java.ext.dirs property.
7664
7665 2004-05-16  Mark Wielaard  <mark@klomp.org>
7666
7667         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7668
7669 2004-05-15  Mark Wielaard  <mark@klomp.org>
7670
7671         * doc/cni.sgml: Removed, merged into gcj.texi.
7672
7673 2004-05-15  Mark Wielaard  <mark@klomp.org>
7674
7675         * Makefile.am (ordinary_java_source_files): Add new javax.print
7676         classes.
7677         * Makefile.in: Regenerated.
7678
7679 2004-05-15  Michael Koch  <konqueror@gmx.de>
7680
7681         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7682         javax/print/attribute/standard/DateTimeAtCreation.java,
7683         javax/print/attribute/standard/DateTimeAtProcessing.java,
7684         javax/print/attribute/standard/DocumentName.java,
7685         javax/print/attribute/standard/JobHoldUntil.java,
7686         javax/print/attribute/standard/JobImpressionsCompleted.java,
7687         javax/print/attribute/standard/JobMessageFromOperator.java,
7688         javax/print/attribute/standard/JobName.java,
7689         javax/print/attribute/standard/JobOriginatingUserName.java,
7690         javax/print/attribute/standard/JobPriority.java,
7691         javax/print/attribute/standard/JobPrioritySupported.java,
7692         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7693         javax/print/attribute/standard/OutputDeviceAssigned.java,
7694         javax/print/attribute/standard/PrinterInfo.java,
7695         javax/print/attribute/standard/PrinterLocation.java,
7696         javax/print/attribute/standard/PrinterMakeAndModel.java,
7697         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7698         javax/print/attribute/standard/PrinterName.java,
7699         javax/print/attribute/standard/QueuedJobCount.java,
7700         javax/print/attribute/standard/RequestingUserName.java:
7701         Fixed javadocs all over.
7702
7703 2004-05-15  Michael Koch  <konqueror@gmx.de>
7704
7705         * javax/print/DocFlavor.java,
7706         javax/print/attribute/standard/ColorSupported.java,
7707         javax/print/attribute/standard/Compression.java,
7708         javax/print/attribute/standard/CopiesSupported.java,
7709         javax/print/attribute/standard/Fidelity.java,
7710         javax/print/attribute/standard/Finishings.java,
7711         javax/print/attribute/standard/JobImpressionsSupported.java,
7712         javax/print/attribute/standard/JobKOctetsSupported.java,
7713         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7714         javax/print/attribute/standard/JobSheets.java,
7715         javax/print/attribute/standard/JobState.java,
7716         javax/print/attribute/standard/JobStateReason.java,
7717         javax/print/attribute/standard/JobStateReasons.java,
7718         javax/print/attribute/standard/Media.java,
7719         javax/print/attribute/standard/MediaSizeName.java,
7720         javax/print/attribute/standard/MultipleDocumentHandling.java,
7721         javax/print/attribute/standard/NumberUpSupported.java,
7722         javax/print/attribute/standard/OrientationRequested.java,
7723         javax/print/attribute/standard/PDLOverrideSupported.java,
7724         javax/print/attribute/standard/PageRanges.java,
7725         javax/print/attribute/standard/PresentationDirection.java,
7726         javax/print/attribute/standard/PrintQuality.java,
7727         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7728         javax/print/attribute/standard/PrinterMoreInfo.java,
7729         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7730         javax/print/attribute/standard/PrinterResolution.java,
7731         javax/print/attribute/standard/PrinterState.java,
7732         javax/print/attribute/standard/PrinterStateReason.java,
7733         javax/print/attribute/standard/PrinterStateReasons.java,
7734         javax/print/attribute/standard/PrinterURI.java,
7735         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7736         javax/print/attribute/standard/Severity.java,
7737         javax/print/attribute/standard/SheetCollate.java,
7738         javax/print/attribute/standard/Sides.java:
7739         Added serialVersionUID and removed final keyword where it doenst
7740         belong.
7741
7742 2004-05-15  Michael Koch  <konqueror@gmx.de>
7743
7744         * javax/print/PrintServiceLookup.java: New file.
7745
7746 2004-05-15  Michael Koch  <konqueror@gmx.de>
7747
7748         * javax/print/DocFlavor.java:
7749         Implemented all flavor classes.
7750
7751 2004-05-15  Michael Koch  <konqueror@gmx.de>
7752
7753         * javax/print/attribute/standard/ColorSupported.java,
7754         javax/print/attribute/standard/Compression.java,
7755         javax/print/attribute/standard/CopiesSupported.java,
7756         javax/print/attribute/standard/Fidelity.java,
7757         javax/print/attribute/standard/Finishings.java,
7758         javax/print/attribute/standard/JobImpressionsSupported.java,
7759         javax/print/attribute/standard/JobKOctetsSupported.java,
7760         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7761         javax/print/attribute/standard/JobSheets.java,
7762         javax/print/attribute/standard/JobState.java,
7763         javax/print/attribute/standard/JobStateReason.java,
7764         javax/print/attribute/standard/JobStateReasons.java,
7765         javax/print/attribute/standard/Media.java,
7766         javax/print/attribute/standard/MediaSizeName.java,
7767         javax/print/attribute/standard/MultipleDocumentHandling.java,
7768         javax/print/attribute/standard/NumberUpSupported.java,
7769         javax/print/attribute/standard/OrientationRequested.java,
7770         javax/print/attribute/standard/PDLOverrideSupported.java,
7771         javax/print/attribute/standard/PageRanges.java,
7772         javax/print/attribute/standard/PresentationDirection.java,
7773         javax/print/attribute/standard/PrintQuality.java,
7774         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7775         javax/print/attribute/standard/PrinterMoreInfo.java,
7776         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7777         javax/print/attribute/standard/PrinterResolution.java,
7778         javax/print/attribute/standard/PrinterState.java,
7779         javax/print/attribute/standard/PrinterStateReason.java,
7780         javax/print/attribute/standard/PrinterStateReasons.java,
7781         javax/print/attribute/standard/PrinterURI.java,
7782         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7783         javax/print/attribute/standard/Severity.java,
7784         javax/print/attribute/standard/SheetCollate.java,
7785         javax/print/attribute/standard/Sides.java: New files.
7786
7787 2004-05-15  Michael Koch  <konqueror@gmx.de>
7788
7789         * javax/print/Doc.java
7790         (getPrintData): Throws IOException.
7791         (getReaderForText): Likewise.
7792         (getStreamForBytes): Likewise.
7793         * javax/print/DocFlavor.java:
7794         Fixed filename in copyright.
7795         (serialVersionUID): New field.
7796         * javax/print/ServiceUIFactory.java:
7797         Made all constants final.
7798         * javax/print/AttributeException.java
7799         javax/print/MultiDoc.java
7800         javax/print/MultiDocPrintJob.java
7801         javax/print/MultiDocPrintService.java
7802         javax/print/StreamPrintService.java
7803         javax/print/URIException.java: New files.
7804         * javax/print/Makefile.am
7805         (EXTRA_DIST): Added all new files.
7806
7807 2004-05-15  Michael Koch  <konqueror@gmx.de>
7808
7809         * javax/print/attribute/standard/Copies.java,
7810         javax/print/attribute/standard/DateTimeAtCompleted.java,
7811         javax/print/attribute/standard/DateTimeAtCreation.java,
7812         javax/print/attribute/standard/DateTimeAtProcessing.java,
7813         javax/print/attribute/standard/DocumentName.java,
7814         javax/print/attribute/standard/JobHoldUntil.java,
7815         javax/print/attribute/standard/JobImpressions.java,
7816         javax/print/attribute/standard/JobImpressionsCompleted.java,
7817         javax/print/attribute/standard/JobKOctets.java,
7818         javax/print/attribute/standard/JobKOctetsProcessed.java,
7819         javax/print/attribute/standard/JobMediaSheets.java,
7820         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7821         javax/print/attribute/standard/JobMessageFromOperator.java,
7822         javax/print/attribute/standard/JobName.java,
7823         javax/print/attribute/standard/JobOriginatingUserName.java,
7824         javax/print/attribute/standard/JobPriority.java,
7825         javax/print/attribute/standard/JobPrioritySupported.java,
7826         javax/print/attribute/standard/NumberOfDocuments.java,
7827         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7828         javax/print/attribute/standard/NumberUp.java,
7829         javax/print/attribute/standard/OutputDeviceAssigned.java,
7830         javax/print/attribute/standard/PagesPerMinute.java,
7831         javax/print/attribute/standard/PagesPerMinuteColor.java:
7832         Fixed @return tag all over.
7833
7834 2004-05-15  Michael Koch  <konqueror@gmx.de>
7835
7836         * javax/print/attribute/AttributeSetUtilities.java
7837         (verifyCategoryForValue): Fixed typo in javadoc.
7838         * javax/print/attribute/HashAttributeSet.java
7839         (containsKey): Fixed @return tag.
7840         (comtainsValue): Likewise.
7841         (equals): Likewise.
7842         * javax/print/attribute/IntegerSyntax.java
7843         (equals): Likewise.
7844         * javax/print/attribute/ResolutionSyntax.java
7845         (equals): Likewise.
7846         (getCrossFeedResolution): Removed unused code.
7847         (getFeedResolution): Likewise.
7848         * javax/print/attribute/SetOfIntegerSyntax.java
7849         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7850         (equals): Fixed @return tag.
7851         * javax/print/attribute/TextSyntax.java
7852         (TextSyntax): Take locale into account.
7853         (hashCode): Better implementation.
7854
7855 2004-05-15  Michael Koch  <konqueror@gmx.de>
7856
7857         * javax/print/CancelablePrintJob.java,
7858         javax/print/Doc.java,
7859         javax/print/DocFlavor.java,
7860         javax/print/DocPrintJob.java,
7861         javax/print/FlavorException.java,
7862         javax/print/PrintException.java,
7863         javax/print/PrintService.java,
7864         javax/print/ServiceUIFactory.java: New files.
7865
7866 2004-05-15  Mark Wielaard  <mark@klomp.org>
7867
7868         * gnu/regexp/CharIndexedReader.java: Removed.
7869         * gnu/regexp/REFilterReader.java: Likewise.
7870         * gnu/regexp/RETokenLookAhead.java: Likewise.
7871         * Makefile.am (ordinary_java_source_files): Remove above classes.
7872         * Makefile.in: Regenerated.
7873
7874 2004-05-14  Tom Tromey  <tromey@redhat.com>
7875
7876         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7877         not `XGraphicsConfiguration.XOffScreenImage'.
7878
7879 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7880
7881         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7882
7883 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7884
7885         * include/jni.h (_Jv_func): Removed.
7886         (struct JNINativeInterface): Use `void *' for reserved slots.
7887         (struct JNIInvokeInterface): Likewise.
7888
7889 2004-05-11  Michael Koch  <konqueror@gmx.de>
7890
7891         * gnu/java/net/natPlainSocketImplPosix.cc
7892         (read): Fixed typo in expression.
7893
7894 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7895
7896         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7897         ld_library_additions. Adjust all calls to libjava_invoke to match
7898         the new argument.
7899
7900         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7901         path to cxxflagslist.
7902         Pass path of libstdc++ to libjava_invoke.
7903
7904         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7905         libjava_invoke arguments.
7906
7907 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7908
7909         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7910         reality.
7911
7912 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7913
7914         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7915         main binary against the JNI shared library.
7916
7917 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7918
7919         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7920         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7921         (SimpleTimeZone): Tweak docs.  Add new variation.
7922         (setStartRule,setEndRule): Add new variations.  Use
7923         startTimeMode and endTimeMode.
7924
7925 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7926
7927         * java/util/Calendar.java (getActualMinimum,
7928         getActualMaximum):  Remove abstract.  Implement.
7929
7930 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7931
7932         Run the jni tests using the interpreter.
7933         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7934         options_cxx to shared lib compile command.
7935         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7936         they are used to link the shared lib, not the main binary.
7937         Use libjava_invoke to run gij.
7938
7939 2004-05-06  Michael Koch  <konqueror@gmx.de>
7940
7941         * java/util/logging/Level.java
7942         (parse): Use == instead of String.equals().
7943
7944 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7945
7946         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7947         verify_field_signature and verify_method_signature, not 
7948         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7949         (_Jv_ClassReader::handleField): Likewise.
7950         (_Jv_ClassReader::handleMethod): Likewise.
7951
7952 2004-05-06  Michael Koch  <konqueror@gmx.de>
7953
7954         * javax/swing/table/TableColumn.java:
7955         Reformated.
7956
7957 2004-05-06  Michael Koch  <konqueror@gmx.de>
7958
7959         * javax/imageio/spi/ImageReaderWriterSpi.java
7960         (ImageReaderWriterSpi): Made it public.
7961         * javax/imageio/stream/ImageInputStream.java:
7962         Clean up imports.
7963
7964 2004-05-06  Michael Koch  <konqueror@gmx.de>
7965
7966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7967         Removed empty line.
7968
7969 2004-05-06  Michael Koch  <konqueror@gmx.de>
7970
7971         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7972         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7973         New files.
7974         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7975         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7976         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7977         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7978         their own source file.
7979         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7980         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7981         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7982         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7983         (create): Define variable on top of function.
7984         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7985         (menu_pos): Prototyped.
7986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7987         (setTitle): Removed.
7988         * jni/gtk-peer/gthread-jni.c
7989         (gdk_threads_wake): Removed.
7990         * Makefile.am (gtk_c_source_files): Added new files
7991         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7992         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7993         * Makefile.in: Regenerated.
7994
7995 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7996
7997         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7998         call.
7999
8000 2004-05-05  Mark Wielaard  <mark@klomp.org>
8001
8002         * javax/swing/AbstractButton.java: Replace special HTML entities with
8003         ASCII equivalent.
8004         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8005         * javax/swing/DefaultButtonModel.java: Likewise.
8006         * javax/swing/DefaultListModel.java: Likewise.
8007         * javax/swing/JList.java: Likewise.
8008         * javax/swing/JSlider.java: Likewise.
8009         * javax/swing/ListModel.java: Likewise.
8010         * javax/swing/Popup.java: Likewise.
8011         * javax/swing/SwingUtilities.java: Likewise.
8012
8013 2004-05-05  Michael Koch  <konqueror@gmx.de>
8014
8015         * javax/swing/AbstractButton.java,
8016         javax/swing/ActionMap.java,
8017         javax/swing/DefaultButtonModel.java,
8018         javax/swing/DefaultListModel.java,
8019         javax/swing/ImageIcon.java,
8020         javax/swing/JComboBox.java,
8021         javax/swing/JComponent.java,
8022         javax/swing/JFrame.java,
8023         javax/swing/JInternalFrame.java,
8024         javax/swing/JMenuBar.java,
8025         javax/swing/JMenuItem.java,
8026         javax/swing/JOptionPane.java,
8027         javax/swing/JProgressBar.java,
8028         javax/swing/JRootPane.java,
8029         javax/swing/JScrollBar.java,
8030         javax/swing/JScrollPane.java,
8031         javax/swing/JSeparator.java,
8032         javax/swing/JSlider.java,
8033         javax/swing/JTabbedPane.java,
8034         javax/swing/JTable.java,
8035         javax/swing/JTextField.java,
8036         javax/swing/JToolBar.java,
8037         javax/swing/JToolTip.java,
8038         javax/swing/JTree.java,
8039         javax/swing/JViewport.java,
8040         javax/swing/JWindow.java,
8041         javax/swing/KeyStroke.java,
8042         javax/swing/LookAndFeel.java,
8043         javax/swing/SwingUtilities.java,
8044         javax/swing/Timer.java,
8045         javax/swing/ToolTipManager.java,
8046         javax/swing/UIDefaults.java,
8047         javax/swing/border/TitledBorder.java,
8048         javax/swing/filechooser/FileSystemView.java,
8049         javax/swing/plaf/basic/BasicButtonListener.java,
8050         javax/swing/plaf/basic/BasicButtonUI.java,
8051         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8052         javax/swing/plaf/basic/BasicGraphicsUtils.java,
8053         javax/swing/plaf/basic/BasicLabelUI.java,
8054         javax/swing/plaf/basic/BasicMenuItemUI.java,
8055         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8056         javax/swing/plaf/basic/BasicRootPaneUI.java,
8057         javax/swing/plaf/basic/BasicScrollBarUI.java,
8058         javax/swing/plaf/basic/BasicScrollPaneUI.java,
8059         javax/swing/plaf/basic/BasicSliderUI.java,
8060         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8061         javax/swing/plaf/basic/BasicToggleButtonUI.java,
8062         javax/swing/table/JTableHeader.java,
8063         javax/swing/text/AbstractDocument.java,
8064         javax/swing/text/DefaultCaret.java,
8065         javax/swing/text/StyledEditorKit.java,
8066         javax/swing/tree/DefaultTreeCellEditor.java:
8067         Cleaned up imports.
8068
8069 2004-05-05  Michael Koch  <konqueror@gmx.de>
8070
8071         * java/util/prefs/AbstractPreferences.java
8072         (AbstractPreferences): Added parenthesis for clarity.
8073         Closes classpath bug #7940.
8074
8075 2004-05-05  Tom Tromey  <tromey@redhat.com>
8076
8077         * javax/naming/CompoundName.java (endsWith): Look at correct
8078         element of source name.
8079
8080 2004-05-05  Mark Wielaard  <mark@klomp.org>
8081
8082         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8083         * java/util/HashMap.java (rehash): Add entry at start of bucket.
8084
8085 2004-05-05  Tom Tromey  <tromey@redhat.com>
8086
8087         * java/io/BufferedReader.java (skip): Removed unused
8088         variable.
8089
8090 2004-05-05  Michael Koch  <konqueror@gmx.de>
8091
8092         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8093
8094 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
8095
8096         * java/text/AttributedString.java,
8097         java/text/AttributedStringIterator.java,
8098         java/text/Collator.java,
8099         java/text/DecimalFormatSymbols.java,
8100         java/text/NumberFormat.java,
8101         java/text/RuleBasedCollator.java:
8102         Cleaned up imports.
8103
8104 2004-05-05  Tom Tromey  <tromey@redhat.com>
8105
8106         * java/text/Format.java: Cleaned up imports.
8107         * java/text/DecimalFormat.java: Cleaned up imports.
8108         * java/security/SecureRandom.java: Cleaned up imports.
8109         (SecureRandom): Removed unused variable.
8110         * java/security/UnresolvedPermission.java: Cleaned up imports.
8111         * java/util/Date.java (parse): Removed unused variable.
8112         * java/util/ResourceBundle.java: Cleaned up imports.
8113         (getBundle): Removed unused variable.
8114         (tryBundle): Likewise.
8115         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8116
8117 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8118
8119         * java/text/SimpleDateFormat.java:
8120         (formatWithAttribute): New method. It implements
8121         the formatting process with attributes.
8122         (format): Use formatWithAttribute.
8123         (formatToCharacterIterator): New method. Use
8124         formatWithAttribute.
8125
8126 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8127
8128         * java/text/MessageFormat.java:
8129         (class Field): New class.
8130         (formatToCharacterIterator): New method.
8131         (format): Use formatInternal now.
8132         (formatInternal): New method. String formatter should
8133         be done here (with attributes). Attributes merging supported.
8134         (parse): More documentation.
8135         (getFormatsByArgumentIndex): New method.
8136         (setFormatByArgumentIndex): New method.
8137         (setFormatsByArgumentIndex): New method.
8138
8139 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8140
8141         * java/text/DecimalFormat.java
8142         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8143         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8144         (parse): Fixed handling of exponentiation notation and grouping.
8145
8146 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
8147
8148         * java/text/DecimalFormat.java
8149         (scanFix): Build attribute array. Fixed error reporting.
8150         (applyPatternWithSymbols): Store attributes for the prefix and
8151         suffix.
8152         (formatInternal): New method. Changed the way the string is
8153         computed. Implemented attributes. Cleant up rounding in
8154         exponential notation.
8155         (format): Use formatInternal.
8156         (formatToCharacterIterator): New method.
8157         (exponentRound, negativePrefixRanges, positivePrefixRanges,
8158         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8159         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8160         New fields.
8161
8162 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
8163
8164         * java/security/interfaces/DSAKeyPairGenerator.java,
8165         java/security/interfaces/DSAPrivateKey.java,
8166         java/security/interfaces/DSAPublicKey.java,
8167         java/security/interfaces/RSAPrivateKey.java,
8168         java/security/interfaces/RSAPublicKey.java:
8169         Cleaned up imports.
8170
8171 2004-05-04  Michael Koch  <konqueror@gmx.de>
8172
8173         * java/nio/ByteBuffer.java,
8174         java/nio/CharBuffer.java,
8175         java/nio/DoubleBuffer.java,
8176         java/nio/FloatBuffer.java,
8177         java/nio/IntBuffer.java,
8178         java/nio/LongBuffer.java,
8179         java/nio/ShortBuffer.java:
8180         (compareTo): Fixed bogus implementation in all buffer classes.
8181
8182 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8183
8184         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8185         32 bit pixels not 8 bit pixels.
8186         (isCompatibleRaster): Added javadoc comment.
8187
8188 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8189
8190         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8191         scanline stride.
8192
8193 2004-05-04  Ingo Proetel  <proetel@aicas.com>
8194
8195         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8196         (getColorModel): Return the actual color model.
8197         (getRaster): Implemented.
8198         (ColorRaster): New inner class.
8199         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8200         a PaintContext.
8201         * java/awt/Color.java (<init>): Make exception more verbose.
8202         (createContext): Use ColorModel when creating a PaintContext.
8203
8204 2004-05-04  Michael Koch  <konqueror@gmx.de>
8205
8206         * gnu/java/text/CharacterBreakIterator.java
8207         (previous): Removed unused variable.
8208
8209 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8210
8211         * gnu/java/text/FormatBuffer.java,
8212         gnu/java/text/AttributedFormatBuffer.java,
8213         gnu/java/text/StringFormatBuffer.java: New classes to implement
8214         attributed iterators in java.text.
8215         * gnu/java/text/FormatCharacterIterator.java: Moved 
8216         from java/text as it is an internal class.
8217         * java/text/FormatCharacterIterator.java: Removed.
8218         * java/text/Format.java:
8219         Import gnu.java.text.FormatCharacterIterator.
8220         * Makefile.am (java_source_files): Added new files.
8221         * Makefile.in: Regenerated.
8222         
8223
8224 2004-05-04  Mark Wielaard  <mark@klomp.org>
8225
8226         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8227
8228 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8229
8230         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8231         * Makefile.in: Rebuilt.
8232
8233 2004-05-03  Mark Wielaard  <mark@klomp.org>
8234
8235         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8236         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8237         * java/net/URL.java
8238         (set(String, String, int, String, String, String, String, String)):
8239         Assign this.file to path or path + "?" + query.
8240         * java/util/Arrays.java: Call static methods staticly.
8241         * java/util/zip/ZipEntry.java: Likewise.
8242         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8243         dir to this.direction.
8244         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8245         Assign static field only once.
8246         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8247
8248 2004-05-03  Mark Wielaard  <mark@klomp.org>
8249
8250         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8251         unused variables hScrollbarHeight and vScrollbarWidth.
8252         (preferredSize): Likewise.
8253         * gnu/java/security/provider/DSAParameters.java (engineToString):
8254         Removed unused call to System.getProperty("line.seperator");
8255         * java/security/Security.java (loadProviders): Return result.
8256
8257 2004-05-03  Tom Tromey  <tromey@redhat.com>
8258
8259         * java/net/URLStreamHandler.java (toExternalForm): Removed
8260         unused variables.
8261         unused constructor.
8262         * java/math/BigDecimal.java (divide): Removed unused variable.
8263         * java/lang/Throwable.java: Cleaned up imports.
8264         * java/lang/ClassLoader.java: Cleaned up imports.
8265         * java/io/FilePermission.java (implies): Removed unused
8266         variable.
8267         * java/awt/TextComponent.java: Removed unused import.
8268         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8269         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8270         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8271         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8272         import.
8273         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8274         * gnu/java/text/CharacterBreakIterator.java: Removed
8275         unused import.
8276         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8277         Cleaned up imports.
8278         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8279         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8280         unused method.
8281         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8282         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8283         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8284         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8285         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8286         (lookupProviders): Removed unused variable.
8287         (loadNextServiceProvider): Likewise.
8288         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8289
8290 2004-05-03  Michael Koch  <konqueror@gmx.de>
8291
8292         Fixes PR libgcj/14695:
8293         * java/net/NetworkInterface.java
8294         (getByName): Return null when no interface was found.
8295
8296 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8297             Tom Tromey  <tromey@redhat.com>
8298
8299         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8300         additional option "-Wmissing-prototypes" for compiling C sources.
8301         Print actual filename for pass/fail rather than $name.c.
8302         * testsuite/libjava.jni/PR15133.java: New testcase file.
8303         * testsuite/libjava.jni/PR15133.c: Likewise.
8304         * testsuite/libjava.jni/PR15133.out: Likewise.
8305
8306 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8307
8308         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8309         ceil and floor.
8310
8311 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8312         
8313         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8314         limit the maximum heap size to avoid unnecessary thrashing.
8315
8316 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8317
8318         * java/text/CollationElementIterator.java (reset): Reset
8319         lookahead variables.
8320
8321 2004-04-23  Mark Wielaard  <mark@klomp.org>
8322
8323         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8324
8325 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8326
8327         * java/sql/DriverManager.java:
8328         Cleaned up imports.
8329
8330 2004-04-23  Michael Koch  <konqueror@gmx.de>
8331
8332         * java/net/URL.java
8333         (hashcode): Don't initialize with default value explicitely.
8334         (getContent): Removed redundant "final" keyword.
8335         (openStream): Likewise.
8336         (getURLStreamHandler): Fixed coding style.
8337         * java/net/URLConnection.java
8338         (defaultAllowUserInteraction): Don't initialize with default value
8339         explicitely.
8340         (connected): Likewise.
8341         (doOutput): Likewise.
8342         (ifModifiedSince): Likewise.
8343         (dateformats_initialized): Likewise.
8344         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8345
8346 2004-04-23  Michael Koch  <konqueror@gmx.de>
8347
8348         * gnu/java/nio/channels/FileChannelImpl.java
8349         (SET, CUR): Unused, removed.
8350         (read): Implement here directly.
8351         (implRead): Removed.
8352         (write): Implement here directly.
8353         (implWrite): Removed.
8354
8355 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8356
8357         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8358         javax/rmi/CORBA/Stub.java,
8359         javax/rmi/CORBA/Util.java,
8360         javax/rmi/CORBA/ValueHandler.java,
8361         javax/rmi/CORBA/ValueHandler.java,
8362         javax/rmi/PortableRemoteObject.java:
8363         Cleaned up imports.
8364
8365 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8366
8367         * java/util/jar/JarFile.java,
8368         java/util/jar/JarInputStream.java,
8369         java/util/jar/JarOutputStream.java,
8370         java/util/jar/Manifest.java:
8371         Cleaned up imports.
8372
8373 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8374
8375         * java/util/ArrayList.java,
8376         java/util/Calendar.java,
8377         java/util/Currency.java,
8378         java/util/HashMap.java,
8379         java/util/HashSet.java,
8380         java/util/Hashtable.java,
8381         java/util/LinkedList.java,
8382         java/util/Properties.java,
8383         java/util/PropertyPermission.java,
8384         java/util/TimeZone.java,
8385         java/util/TreeMap.java,
8386         java/util/TreeSet.java,
8387         java/util/Vector.java,
8388         java/util/WeakHashMap.java:
8389         Cleaned up imports.
8390
8391 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8392
8393         * java/util/logging/FileHandler.java,
8394         java/util/logging/Formatter.java,
8395         java/util/logging/Handler.java,
8396         java/util/logging/Logger.java,
8397         java/util/logging/SimpleFormatter.java,
8398         java/util/logging/XMLFormatter.java:
8399         Cleaned up imports.
8400
8401 2004-04-22  Mark Wielaard  <mark@klomp.org>
8402
8403         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8404         -Wno-long-long flags variable.
8405         (gtk_c_files): Use PEDANTIC_CFLAGS.
8406         * Makefile.in: Regenerated.
8407
8408 2004-04-22  Mark Wielaard  <mark@klomp.org>
8409
8410         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8411         Changed C++ comments into C comments.
8412         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8413         Likewise.
8414
8415 2004-04-22  Michael Koch  <konqueror@gmx.de>
8416
8417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8418         Merged copyright year with GNU classpath.
8419
8420 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8421
8422         * javax/security/auth/x500/X500Principal.java:
8423         Cleaned up imports.
8424
8425 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8426
8427         * javax/swing/JSlider.java:
8428         Fixed HTML tags in comments.
8429
8430 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8431
8432         * javax/accessibility/AccessibleText.java:
8433         Cleaned up imports.
8434
8435 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8436
8437         * java/net/URLStreamHandler.java
8438         (parseURL): Convert the file path to using '/' instead of native
8439         file separator.
8440
8441 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8442
8443         * java/net/URL.java
8444         (userInfo): New field.
8445         (URL): Set authority to the right value.
8446         (setURL): Fixed authority and file initialization.
8447         * java/net/URLStreamHandler.java
8448         (parseURL): Take care of the query tag. Build authority.
8449         (toExternalForm): Fixed URL building using authority.
8450
8451 2004-04-22  Michael Koch  <konqueror@gmx.de>
8452
8453         * java/net/Socket.java
8454         (impl): Made package-private.
8455         * java/net/ServerSocket.java
8456         (implAccept): Access Socket.impl field directly.
8457
8458 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8459
8460         * java/util/prefs/Preferences.java,
8461         java/util/prefs/InvalidPreferencesFormatException.java,
8462         java/util/prefs/BackingStoreException.java,
8463         java/util/prefs/AbstractPreferences.java:
8464         Cleaned up imports.
8465
8466 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8467
8468         * java/util/regex/Matcher.java,
8469         java/util/regex/Pattern.java:
8470         Cleaned up imports.
8471
8472 2004-04-22  Michael Koch  <konqueror@gmx.de>
8473
8474         * java/nio/charset/IllegalCharsetNameException.java
8475         (charsetName): Made private.
8476         (IllegalCharsetNameException): Added @param tag to javadoc.
8477         (getCharsetName): Added @return tag to javadoc.
8478         * java/nio/charset/MalformedInputException.java
8479         (MalformedInputException): Added @param tag to javadoc.
8480         (getInputLength): Revised method description, added @return tag.
8481         (getMessage): Added @return tag.
8482
8483 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8484
8485         * java/awt/Font.java (deriveFont): Implement missing variants.
8486         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8487         missing variants.
8488
8489 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8490
8491         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8492         Set method->index values for interface methods to their itable index.
8493         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8494
8495 2004-04-21  Michael Koch  <konqueror@gmx.de>
8496
8497         * java/nio/DirectByteBufferImpl.java
8498         (shiftDown): Made static, give address as argument and
8499         provide a convenience method that overwrites shiftDown in
8500         ByteBufferImpl and calls the native shiftDown.
8501         * java/nio/MappedByteBufferImpl.java
8502         (): Use optimized method in DirectByteBufferImpl.
8503         * java/nio/natDirectByteBufferImpl.cc
8504         (shiftDown): Changed method signature. Removed usage of array_offset.
8505
8506 2004-04-21  Michael Koch  <konqueror@gmx.de>
8507
8508         * gnu/java/net/natPlainSocketImplPosix.cc
8509         (SocketInputStream::read): Make sure returned data is a byte value.
8510
8511 2004-04-21  Michael Koch  <konqueror@gmx.de>
8512
8513         * gnu/classpath/ServiceFactory.java,
8514         gnu/classpath/ServiceProviderLoadingAction.java,
8515         javax/imageio/ImageReader.java,
8516         javax/imageio/ImageTranscoder.java,
8517         javax/imageio/ImageWriter.java,
8518         javax/imageio/package.html,
8519         javax/imageio/spi/IIOServiceProvider.java,
8520         javax/imageio/spi/ImageInputStreamSpi.java,
8521         javax/imageio/spi/ImageOutputStreamSpi.java,
8522         javax/imageio/spi/ImageReaderWriterSpi.java,
8523         javax/imageio/spi/ImageTranscoderSpi.java,
8524         javax/imageio/spi/RegisterableService.java,
8525         javax/imageio/spi/ServiceRegistry.java,
8526         javax/imageio/spi/package.html,
8527         javax/imageio/stream/IIOByteBuffer.java,
8528         javax/imageio/stream/ImageInputStream.java,
8529         javax/imageio/stream/ImageOutputStream.java,
8530         javax/imageio/stream/package.html:
8531         New files.
8532         * Makefile.am
8533         (ordinary_java_source_files): Added
8534         gnu/classpath/ServiceFactory.java and
8535         gnu/classpath/ServiceProviderLoadingAction.java.
8536         (javax_source_files): Added
8537         javax/imageio/ImageReader.java,
8538         javax/imageio/ImageTranscoder.java,
8539         javax/imageio/ImageWriter.java,
8540         javax/imageio/spi/IIOServiceProvider.java,
8541         javax/imageio/spi/ImageInputStreamSpi.java,
8542         javax/imageio/spi/ImageOutputStreamSpi.java,
8543         javax/imageio/spi/ImageReaderWriterSpi.java,
8544         javax/imageio/spi/ImageTranscoderSpi.java,
8545         javax/imageio/spi/RegisterableService.java,
8546         javax/imageio/spi/ServiceRegistry.java,
8547         javax/imageio/stream/IIOByteBuffer.java,
8548         javax/imageio/stream/ImageInputStream.java and
8549         javax/imageio/stream/ImageOutputStream.java.
8550         * Makefile.in: Regenerated.
8551
8552 2004-04-21  Michael Koch  <konqueror@gmx.de>
8553
8554         * java/util/Properties.java
8555         (load): Fix wrongly merged fix.
8556
8557 2004-04-21  Mark Wielaard  <mark@klomp.org>
8558
8559         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8560         malloc and free buf.
8561
8562 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8563
8564         * javax/naming/AuthenticationException.java,
8565         javax/naming/AuthenticationNotSupportedException.java,
8566         javax/naming/CannotProceedException.java,
8567         javax/naming/CommunicationException.java,
8568         javax/naming/CompoundName.java,
8569         javax/naming/ConfigurationException.java,
8570         javax/naming/ContextNotEmptyException.java,
8571         javax/naming/InitialContext.java,
8572         javax/naming/InsufficientResourcesException.java,
8573         javax/naming/InterruptedNamingException.java,
8574         javax/naming/LimitExceededException.java,
8575         javax/naming/LinkException.java,
8576         javax/naming/LinkLoopException.java,
8577         javax/naming/LinkRef.java,
8578         javax/naming/MalformedLinkException.java,
8579         javax/naming/Name.java,
8580         javax/naming/NameAlreadyBoundException.java,
8581         javax/naming/NameNotFoundException.java,
8582         javax/naming/NamingSecurityException.java,
8583         javax/naming/NoInitialContextException.java,
8584         javax/naming/NoPermissionException.java,
8585         javax/naming/NotContextException.java,
8586         javax/naming/PartialResultException.java,
8587         javax/naming/ReferralException.java,
8588         javax/naming/ServiceUnavailableException.java,
8589         javax/naming/SizeLimitExceededException.java,
8590         javax/naming/TimeLimitExceededException.java,
8591         javax/naming/directory/Attribute.java,
8592         javax/naming/directory/Attributes.java,
8593         javax/naming/directory/SearchResult.java,
8594         javax/naming/event/NamingExceptionEvent.java,
8595         javax/naming/spi/ResolveResult.java:
8596         Cleaned up imports.
8597
8598 2004-04-21  Mark Wielaard  <mark@klomp.org>
8599
8600         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8601         Changed C++ comments into C comments. Removed commented out code.
8602         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8603         Likewise.
8604         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8605         Likewise.
8606         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8607         Likewise.
8608         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8609         Likewise.
8610         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8611         Likewise.
8612         * native/jni/gtk-peer/gthread-jni.c:
8613         Likewise.
8614
8615 2004-04-21  Mark Wielaard  <mark@klomp.org>
8616
8617         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8618         static fields defined in interface.
8619         * javax/awt/JDialog.java: Likewise.
8620         (JDialog): Make constructors public.
8621         (getDefaultCloseOperation): Make public.
8622         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8623         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8624         * javax/swing/JViewport.java (JViewport): Make constructor public.
8625
8626 2004-04-21  Michael Koch  <konqueror@gmx.de>
8627
8628         * java/util/Map.java
8629         (Entry): Removed redundant "static" modifier.
8630         * java/text/AttributedCharacterIterator.java:
8631         Updated copyright year.
8632
8633 2004-04-20  Michael Koch  <konqueror@gmx.de>
8634
8635         * javax/naming/directory/SearchControls.java:
8636         Don't explicitely extend java.lang.Object.
8637         * javax/naming/spi/DirStateFactory.java:
8638         Merged copyright year with GNU classpath.
8639
8640 2004-04-20  Michael Koch  <konqueror@gmx.de>
8641
8642         * java/nio/channels/Channels.java:
8643         Merged coding style with GNU classpath.
8644
8645 2004-04-20  Michael Koch  <konqueror@gmx.de>
8646
8647         * java/net/ServerSocket.java
8648         Merged coding style from GNU classpath.
8649
8650 2004-04-20  Michael Koch  <konqueror@gmx.de>
8651
8652         * java/io/BufferedWriter.java:
8653         Reordered variables to be at top of the class.
8654         (localFlush): Removed redundant final keyword.
8655
8656 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8657
8658         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8659
8660 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8661
8662         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8663         for percent and permill check.
8664
8665 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8666
8667         * java/text/FieldPosition.java
8668         (FieldPosition) Constructor now behaves as it should according
8669         to the java documentation.
8670
8671 2004-04-20  Mark Wielaard  <mark@klomp.org>
8672
8673         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8674         documentation.
8675
8676 2004-04-20  Michael Koch  <konqueror@gmx.de>
8677
8678         * java/nio/Buffer.java,
8679         java/nio/channels/AlreadyConnectedException.java,
8680         java/nio/channels/AsynchronousCloseException.java,
8681         java/nio/channels/ByteChannel.java,
8682         java/nio/channels/CancelledKeyException.java,
8683         java/nio/channels/Channel.java,
8684         java/nio/channels/Channels.java,
8685         java/nio/channels/ClosedByInterruptException.java,
8686         java/nio/channels/ClosedChannelException.java,
8687         java/nio/channels/ClosedSelectorException.java,
8688         java/nio/channels/ConnectionPendingException.java,
8689         java/nio/channels/DatagramChannel.java,
8690         java/nio/channels/FileChannel.java,
8691         java/nio/channels/FileLock.java,
8692         java/nio/channels/FileLockInterruptionException.java,
8693         java/nio/channels/GatheringByteChannel.java,
8694         java/nio/channels/IllegalBlockingModeException.java,
8695         java/nio/channels/IllegalSelectorException.java,
8696         java/nio/channels/InterruptibleChannel.java,
8697         java/nio/channels/NoConnectionPendingException.java,
8698         java/nio/channels/NonReadableChannelException.java,
8699         java/nio/channels/NonWritableChannelException.java,
8700         java/nio/channels/NotYetBoundException.java,
8701         java/nio/channels/NotYetConnectedException.java,
8702         java/nio/channels/OverlappingFileLockException.java,
8703         java/nio/channels/Pipe.java,
8704         java/nio/channels/ReadableByteChannel.java,
8705         java/nio/channels/ScatteringByteChannel.java,
8706         java/nio/channels/SelectableChannel.java,
8707         java/nio/channels/SelectionKey.java,
8708         java/nio/channels/Selector.java,
8709         java/nio/channels/ServerSocketChannel.java,
8710         java/nio/channels/SocketChannel.java,
8711         java/nio/channels/UnresolvedAddressException.java,
8712         java/nio/channels/UnsupportedAddressTypeException.java,
8713         java/nio/channels/WritableByteChannel.java,
8714         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8715         java/nio/channels/spi/AbstractSelectableChannel.java,
8716         java/nio/channels/spi/AbstractSelectionKey.java,
8717         java/nio/channels/spi/AbstractSelector.java,
8718         java/nio/channels/spi/SelectorProvider.java,
8719         java/nio/charset/spi/CharsetProvider.java:
8720         Fixed javadocs and jalopied all over java.nio.
8721
8722 2004-04-20  Michael Koch  <konqueror@gmx.de>
8723
8724         * java/nio/ByteBufferImpl.java,
8725         java/nio/CharBufferImpl.java,
8726         java/nio/DirectByteBufferImpl.java,
8727         java/nio/DoubleBufferImpl.java,
8728         java/nio/DoubleViewBufferImpl.java,
8729         java/nio/FloatBufferImpl.java,
8730         java/nio/FloatViewBufferImpl.java,
8731         java/nio/IntBufferImpl.java,
8732         java/nio/IntViewBufferImpl.java,
8733         java/nio/LongBufferImpl.java,
8734         java/nio/LongViewBufferImpl.java,
8735         java/nio/MappedByteBufferImpl.java,
8736         java/nio/ShortBufferImpl.java,
8737         java/nio/ShortViewBufferImpl.java:
8738         Made sure all classes are final and removed final keyword from all
8739         methods.
8740
8741 2004-04-20  Michael Koch  <konqueror@gmx.de>
8742
8743         * java/rmi/MarshalledObject.java,
8744         java/rmi/Naming.java,
8745         java/rmi/RemoteException.java,
8746         java/rmi/activation/ActivationException.java,
8747         java/rmi/server/ServerCloneException.java,
8748         java/security/AccessController.java,
8749         java/security/AlgorithmParameterGenerator.java,
8750         java/security/AlgorithmParameters.java,
8751         java/security/CodeSource.java,
8752         java/security/Identity.java,
8753         java/security/IdentityScope.java,
8754         java/security/KeyPairGenerator.java,
8755         java/security/KeyStore.java,
8756         java/security/Security.java,
8757         java/security/Signature.java,
8758         java/security/SignatureSpi.java,
8759         java/security/SignedObject.java,
8760         java/security/spec/DSAParameterSpec.java,
8761         java/security/spec/DSAPrivateKeySpec.java,
8762         java/security/spec/DSAPublicKeySpec.java,
8763         java/sql/Array.java,
8764         java/sql/DatabaseMetaData.java,
8765         java/sql/ResultSet.java,
8766         java/text/ChoiceFormat.java,
8767         java/text/CollationElementIterator.java,
8768         java/text/CollationKey.java,
8769         java/text/Collator.java,
8770         java/text/DateFormat.java,
8771         java/text/DateFormatSymbols.java,
8772         java/text/DecimalFormatSymbols.java,
8773         java/text/Format.java,
8774         java/text/ParsePosition.java,
8775         java/text/RuleBasedCollator.java,
8776         java/text/SimpleDateFormat.java,
8777         java/text/StringCharacterIterator.java,
8778         java/util/Collections.java,
8779         java/util/PropertyResourceBundle.java,
8780         java/util/ResourceBundle.java,
8781         java/util/StringTokenizer.java,
8782         java/util/jar/Attributes.java,
8783         java/util/logging/ConsoleHandler.java,
8784         java/util/logging/LogManager.java,
8785         java/util/logging/MemoryHandler.java,
8786         java/util/logging/SocketHandler.java,
8787         javax/naming/NamingException.java:
8788         Fixed javadoc, coding style and argument names all over.
8789
8790 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8791
8792         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8793         constructor. (valid) Added null check.
8794
8795 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8796
8797         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8798         * java/io/FileOutputStream.java
8799         (FileOutputStream) Reorganized constructors. Constructors now
8800         check whether the given path is directory.
8801
8802 2004-04-20  Michael Koch  <konqueror@gmx.de>
8803
8804         * java/net/Authenticator.java,
8805         java/net/BindException.java,
8806         java/net/ConnectException.java,
8807         java/net/ContentHandler.java,
8808         java/net/ContentHandlerFactory.java,
8809         java/net/DatagramPacket.java,
8810         java/net/DatagramSocket.java,
8811         java/net/DatagramSocketImpl.java,
8812         java/net/DatagramSocketImplFactory.java,
8813         java/net/FileNameMap.java,
8814         java/net/HttpURLConnection.java,
8815         java/net/Inet4Address.java,
8816         java/net/Inet6Address.java,
8817         java/net/InetAddress.java,
8818         java/net/InetSocketAddress.java,
8819         java/net/JarURLConnection.java,
8820         java/net/MalformedURLException.java,
8821         java/net/MulticastSocket.java,
8822         java/net/NetPermission.java,
8823         java/net/NetworkInterface.java,
8824         java/net/NoRouteToHostException.java,
8825         java/net/PasswordAuthentication.java,
8826         java/net/PortUnreachableException.java,
8827         java/net/ProtocolException.java,
8828         java/net/ServerSocket.java,
8829         java/net/Socket.java,
8830         java/net/SocketAddress.java,
8831         java/net/SocketException.java,
8832         java/net/SocketImpl.java,
8833         java/net/SocketImplFactory.java,
8834         java/net/SocketOptions.java,
8835         java/net/SocketPermission.java,
8836         java/net/SocketTimeoutException.java,
8837         java/net/URI.java,
8838         java/net/URISyntaxException.java,
8839         java/net/URL.java,
8840         java/net/URLClassLoader.java,
8841         java/net/URLConnection.java,
8842         java/net/URLDecoder.java,
8843         java/net/URLEncoder.java,
8844         java/net/URLStreamHandler.java,
8845         java/net/URLStreamHandlerFactory.java,
8846         java/net/UnknownHostException.java,
8847         java/net/UnknownServiceException.java:
8848         Fixed javadocs, coding style and argument names all over.
8849
8850 2004-04-20  Michael Koch  <konqueror@gmx.de>
8851
8852         * java/lang/Byte.java,
8853         java/lang/CharSequence.java,
8854         java/lang/ClassLoader.java,
8855         java/lang/Compiler.java,
8856         java/lang/Double.java,
8857         java/lang/Float.java,
8858         java/lang/Integer.java,
8859         java/lang/Long.java,
8860         java/lang/Math.java,
8861         java/lang/Number.java,
8862         java/lang/Package.java,
8863         java/lang/Runtime.java,
8864         java/lang/RuntimePermission.java,
8865         java/lang/SecurityManager.java,
8866         java/lang/Short.java,
8867         java/lang/StringBuffer.java,
8868         java/lang/System.java,
8869         java/lang/ThreadGroup.java,
8870         java/lang/Throwable.java,
8871         java/lang/reflect/InvocationHandler.java,
8872         java/lang/reflect/Proxy.java:
8873         Fixed javadocs, coding style and argument names all over.
8874
8875 2004-04-20  Michael Koch  <konqueror@gmx.de>
8876
8877         * java/io/BufferedWriter.java,
8878         java/io/ByteArrayInputStream.java,
8879         java/io/CharArrayWriter.java,
8880         java/io/DataInput.java,
8881         java/io/DataInputStream.java,
8882         java/io/File.java,
8883         java/io/FilterInputStream.java,
8884         java/io/InputStream.java,
8885         java/io/InputStreamReader.java,
8886         java/io/ObjectInputStream.java,
8887         java/io/ObjectStreamClass.java,
8888         java/io/PipedInputStream.java,
8889         java/io/PipedReader.java,
8890         java/io/PushbackInputStream.java,
8891         java/io/PushbackReader.java,
8892         java/io/RandomAccessFile.java,
8893         java/io/SerializablePermission.java,
8894         java/io/StreamTokenizer.java,
8895         java/io/StringWriter.java,
8896         java/io/WriteAbortedException.java,
8897         java/io/Writer.java:
8898         Fixed javadocs all over, rename arguments to match javadocs,
8899         fixed coding style.
8900
8901 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8902
8903         * java/awt/FontMetrics.java:
8904         (charsWidth): fixed accumulation of total_width
8905         (getWidth): simple default implementation
8906         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8907         in Rectangle constructor.
8908         * java/awt/image/Raster.java (toString): Added method. 
8909         * java/awt/image/SampleModel.java (<init>): Added error cause
8910         information to thrown exception.
8911         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8912         New method.
8913         (setDataElements): New method.
8914         (setPixels): New method.
8915         (toString): New method.
8916
8917 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8918
8919         * java/awt/image/ComponentColorModel.java
8920         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8921         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8922         Mauve tests on this method. Improved documentation.
8923
8924 2004-04-20  Michael Koch  <konqueror@gmx.de>
8925
8926         * javax/swing/JLayeredPane.java,
8927         javax/swing/plaf/BorderUIResource.java,
8928         javax/swing/plaf/ComponentUI.java,
8929         javax/swing/undo/CompoundEdit.java,
8930         javax/swing/undo/StateEdit.java:
8931         Fixed HTML tags in javadocs all over.
8932
8933 2004-04-20  Michael Koch  <konqueror@gmx.de>
8934
8935         * javax/print/attribute/EnumSyntax.java
8936         (getOffset): Made protected.
8937         * javax/print/attribute/HashAttributeSet.java
8938         (HashAttributeSet): Likewise.
8939         * javax/print/attribute/ResolutionSyntax.java
8940         (getFeedResolution): Fixed typo in exception name.
8941         (getCrossFeedResolution): Likewise.
8942         * javax/print/attribute/SetOfIntegerSyntax.java
8943         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8944         * javax/print/attribute/TextSyntax.java
8945         (TextSyntax): Handle locale correctly.
8946         (hashCode): Calc better hashcode value.
8947         (equals): Fixed @return tag.
8948         (toString): New method.
8949
8950 2004-04-20  Michael Koch  <konqueror@gmx.de>
8951
8952         * gnu/java/nio/FileLockImpl.java
8953         (static): Removed, not needed anymore.
8954         * gnu/java/nio/channels/FileChannelImpl.java
8955         (FileChannelImpl): Made final.
8956         (mode): Made private.
8957         (READ, WRITE, APPEND): Made public.
8958         (EXCL, SYNC, DSYNC): Likewise.
8959         (static): Load native JNI library, when needed.
8960         (length): Unused, removed.
8961         (available): Made public.
8962         (implPosition): Throws IOException.
8963         (seek): Likewise.
8964         (implTruncate): Likewise.
8965         (unlock): Likewise.
8966         (lock): Likewise.
8967
8968 2004-04-20  Michael Koch  <konqueror@gmx.de>
8969
8970         * java/awt/AWTPermission.java,
8971         java/awt/Component.java,
8972         java/awt/ComponentOrientation.java,,
8973         java/awt/Dialog.java,
8974         java/awt/FontMetrics.java,
8975         java/awt/Graphics.java,
8976         java/awt/datatransfer/DataFlavor.java,
8977         java/beans/Introspector.java,
8978         java/beans/PropertyEditor.java,
8979         java/beans/PropertyEditorManager.java,
8980         java/beans/beancontext/BeanContextServiceProvider.java:
8981         Fixed HTML tags in javadocs all over.
8982
8983 2004-04-20  Mark Wielaard  <mark@klomp.org>
8984
8985         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8986         MissingResourceException is thrown.
8987         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8988         null when a MissingResourceException is thrown. Should never happen.
8989
8990 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8991
8992         * java/awt/image/DataBufferShort.java,
8993         java/awt/image/DataBufferFloat.java,
8994         java/awt/image/DataBufferDouble.java,
8995         java/awt/image/PixelInterleavedSampleModel.java: New files.
8996         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8997         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8998
8999 2004-04-20  Michael Koch  <konqueror@gmx.de>
9000
9001         * Makefile.am (java_source_files): Added
9002         java/awt/image/DataBufferDouble.java,
9003         java/awt/image/DataBufferFloat.java,
9004         java/awt/image/DataBufferShort.java and
9005         java/awt/image/PixelInterleavedSampleModel.java.
9006         * Makefile.in: Regenerated.
9007
9008 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
9009  
9010         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
9011         undocumented CNI calls.
9012         * include/java-interp.h (_Jv_InterpClass): No longer
9013         extends java.lang.Class.
9014         * java/lang/Class.h (Class): Add new field `aux_info'.
9015         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9016         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9017         Use Class->aux_info instead.
9018         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9019         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9020         Use Class->aux_info instead.
9021         * java/io/natObjectInputStream.cc (allocateObject): Use
9022         _Jv_AllocObject.
9023         * java/lang/natClass.cc (newInstance): Likewise.
9024         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9025         * java/lang/natObject.cc (clone): Likewise.
9026         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9027         * java/lang/natVMClassLoader.cc (defineClass): Don't use
9028         JvAllocObject. Allocate klass->aux_info here for interpreted
9029         class.
9030         
9031 2004-04-17  Mark Wielaard  <mark@klomp.org>
9032
9033         * javax/swing/JToggleButton.java (ToggleButtonModel):
9034         Make public static inner class.
9035         * javax/swing/JTabbedPane.java (setComponentAt):
9036         Call Page.setComponent().
9037         (SCROLL_TAB_LAYOUT): Make public, value is 1.
9038         (WRAP_TAB_LAYOUT): Make public, value is 0.
9039         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9040         Make private static inner class.
9041
9042 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
9043
9044         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9045         arguments to match new signature. Remove FIXME comments.
9046
9047 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
9048
9049         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9050         Remove method.
9051         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9052         unused code.
9053
9054 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
9055
9056         * Makefile.am: Added new file.
9057         * Makefile.in: Regenerate.
9058         * javax/swing/ImageIcon.java: 
9059         (ImageIcon(file)): set description of the icon 
9060         to the file name
9061         * javax/swing/JCheckBoxMenuItem.java:
9062         Mostly Implemented. Work in progress.
9063         * javax/swing/JRadioButtonMenuItem.java:
9064         Reimplement constructors to use JToggleButtonModel.
9065         * javax/swing/plaf/basic/BasicIconFactory.java:
9066         (getCheckBoxMenuItemIcon): return check box
9067         icon.
9068         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9069         paint menu item selected only when it is armed and 
9070         pressed. 
9071  
9072 2004-04-02  David Jee  <djee@redhat.com>
9073
9074         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9075         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9076         * java/awt/Component.java
9077         (add): Set the parent of the popup as this component.
9078         * java/awt/PopupMenu.java
9079         (addNotify): Create popup menu when peer is null.
9080         (show): Call addNotify() if peer is null.
9081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9082         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9083         argument for gtk_menu_popup() as zero. This causes the popup menu to
9084         respond to any mouse button.
9085
9086 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
9087
9088         * Makefile.am: Added new file.
9089         * Makefile.in: Regenerate.
9090         * javax/swing/JRadioButtonMenuItem.java:
9091         Implemented.
9092         * javax/swing/plaf/basic/BasicIconFactory.java:
9093         (getRadioButtonMenuItemIcon): Return
9094         radio button icon.
9095         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9096         (getPreferredSize): Add size of checkIcon if it
9097         exists.
9098         (installDefaults): Don't initialize checkIcon.
9099         It's value will be set in subclasses. 
9100         (uninstallDefaults): remove uninstallation of 
9101         checkIcon.
9102         (paint): Moved code to paintMenuItem().
9103         (paintMenuItem): Implemented.
9104         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9105         UI delegate for JRadioButtonMenuItem.
9106         
9107 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9108
9109         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9110         Corrected position of the accelerator.
9111
9112 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
9113
9114         * Makefile.am: Added new file. 
9115         * Makefile.in: Regenerate.
9116         * javax/swing/JMenuItem.java: Partly 
9117         implemented. Work in progress
9118         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9119         Changed default value of acceleratorDelimiter.
9120         * javax/swing/plaf/basic/BasicMenuItemUI.java:
9121         New class. Partly implemented.
9122                 
9123 2004-03-26  Mark Wielaard  <mark@klomp.org>
9124
9125         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9126         (item_activate): Declare label before use.
9127         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9128         (gtkSetFont): Removed unused variable label.
9129         (addExposeFilter): Declare variables before use.
9130         (removeExposeFilter): Likewise.
9131         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9132         (ok_clicked): Declare str_fileName before use.
9133
9134 2004-03-26  David Jee  <djee@redhat.com>
9135
9136         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9137         (addSeparator): Remove.
9138         * java/awt/Menu.java
9139         (separator): Remove static final MenuItem field.
9140         (separatorLabel): New static final String field.
9141         (addSeparator): Do not use peer method; use add(MenuItem) instead.
9142         Use separatorLabel to denote that it is a separator.
9143         (insertSeparator): Create a new MenuItem with separatorLabel, instead
9144         of reusing the static separator instance, because a MenuItem instance
9145         can't be added more than once without being cloned.
9146         * java/awt/peer/MenuPeer.java
9147         (addSeparator): Remove from interface.
9148
9149 2004-03-26  David Jee  <djee@redhat.com>
9150
9151         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9152         (connectSignals): New native method declaration.
9153         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9154         * java/awt/MenuItem.java
9155         (getActionCommand): Return the label if the action command is not set.
9156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9157         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9158         gtk_menu_shell_append().
9159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9160         (item_activate): Fix argument type.
9161         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9162         signal here.
9163         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9164         method.
9165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9166         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9167         given. Add the menu widget's top-level GtkWindow to the global window
9168         group, so it can grab the pointer.
9169         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9170         gtk_menu_shell_append().
9171
9172 2004-03-23  Graydon Hoare  <graydon@redhat.com>
9173
9174         * java/text/AttributedString.java 
9175         (addAttribute): Fix off-by-one.
9176         (getIterator): Likewise.        
9177         * java/text/AttributedStringIterator.java 
9178         (getRunLimit): Correct logic.
9179         (getRunStart): Likewise.
9180         (getAttribute): Fix inequality.
9181         (getAttributes): Likewise.
9182         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9183
9184 2004-03-23  Kim Ho  <kho@redhat.com>
9185
9186         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9187         (calculateSizes): Return real width and height.
9188
9189 2004-03-23  Kim Ho  <kho@redhat.com>
9190
9191         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9192         (calculateTabRects): Set the selectedRun before
9193         trying to rotate tabs.
9194
9195 2004-03-23  Kim Ho  <kho@redhat.com>
9196
9197         * Makefile.am: New file
9198         * Makefile.in: Regenerate
9199         * java/awt/Graphics.java: (drawRect):
9200         Draw to the correct point.
9201         * javax/swing/DefaultSingleSelectionModel.java
9202         (isSelected): Return true if the selected index
9203         is not -1.
9204         * javax/swing/JLabel.java: Do not change mnemonic
9205         index if text is null.
9206         * javax/swing/JProgressBar.java: Use JComponent's
9207         EventListenerList.
9208         * javax/swing/JScrollBar.java: Ditto.
9209         * javax/swing/JSlider.java: Ditto.
9210         * javax/swing/JTabbedPane.java: Reimplement.
9211         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9212         Add defaults for TabbedPane.
9213         * javax/swing/plaf/basic/BasicArrowButton.java:
9214         Implement
9215         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9216         (paintDeterminate): Don't paint String if it's
9217         empty.
9218         (paintIndeterminate): ditto.
9219         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9220         Reimplement.
9221
9222 2004-03-19  Michael Koch  <konqueror@gmx.de>
9223
9224         * java/awt/image/AffineTransformOp.java
9225         (AffineTransformOp): Made public.
9226         * javax/swing/JComponent.java
9227         (listenerList): Made protected.
9228         (accessibleContext): Likewise.
9229         * javax/swing/JList.java
9230         (valueChanged): Dont use internal fields of ListSelectionEvent.
9231         * javax/swing/JViewport.java
9232         (getView): Dont use internal fields of Component.
9233         (addImpl): Likewise.
9234         * javax/swing/Timer.java
9235         (isRunning): Made public.
9236         (start): Likewise.
9237         (stop): Likewise.
9238         * javax/swing/UIDefaults.java
9239         (getInt): Made public.
9240         * javax/swing/plaf/basic/BasicListUI.java
9241         (mousePressed): Dont use internal fields of MouseEvent.
9242         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9243         * javax/swing/plaf/basic/BasicScrollBarUI.java
9244         (arrowIcon): Made static.
9245         * javax/swing/plaf/basic/BasicViewportUI.java
9246         (stateChanged): Dont use internal field on ChangeEvent.
9247         * javax/swing/text/JTextComponent.java
9248         (getUI): Call UIManager.getUI().
9249         (updateUI): Use getUI().
9250
9251 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9252
9253         * javax/swing/JComponent.java: Turn off double buffer by default.
9254         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9255         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9256         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9257         Use cairo to copy areas.
9258         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9259         Initialize and set clip region.
9260
9261 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9262
9263         * java/applet/Applet.java (preferredSize): Override deprecated
9264         variant of getPreferredSize.
9265         (minimumSize): Override deprecated variant of getMinimumSize.
9266
9267 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9268
9269         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9270         (drawImage(img,xform,bgcolor,obs)): New Method.
9271         Helper function that every drawImage method will
9272         use.
9273         (drawRaster): Added new parameter, bgcolor. All
9274         transparent pixels are changed to bgcolor before 
9275         image is drawn.
9276         (drawRenderedImage): Fixed to use changed drawRaster().
9277         (drawImage(image,xform,obs): Fixed to use new helper function 
9278         (drawImage(image,op,x,y)): Ditto.
9279         (drawImage (img,x,y,observer)): Ditto.
9280         ((PainterThread) bgcolor): New Field.
9281         ((PainterThread) (setPixels)): Changed all transparent pixels 
9282         to bgcolor.     
9283         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9284         Fixed FIXME - all the transparent pixels are 
9285         changed to the specified bgcolor. 
9286         (drawImage(img, x, y, width, height, observer): Changed to 
9287         use function above.
9288         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9289         Fixed FIXME- changed all transparent pixels to bgcolor.
9290         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9291         Changed to use function above. 
9292
9293 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9294
9295         * java/applet/Applet.java (dimensions): New field.
9296         (getDimensions): New method.
9297         (getPreferredSize): Call getDimensions.
9298         (getMinimumSize): Likewise.
9299
9300 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9301
9302         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9303         * jni/classpath/jnilink.c: Likewise.
9304
9305         * java/applet/Applet.java (getPreferredSize): New method.
9306         (getMinimumSize): New method.
9307
9308 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9309
9310         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9311         (_Jv_AllocObjectNoFinalizer): Likewise.
9312         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9313         (_Jv_AllocPtrFreeObject): Likewise.
9314         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9315         directly even in the JVMPI case.        
9316         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9317         _Jv_AllocObject calls.
9318         * gcj/javaprims.h: Update prototypes.
9319         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9320         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9321         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9322
9323 2004-04-14  Andrew Haley  <aph@redhat.com>
9324             Bryce McKinlay  <mckinlay@redhat.com>
9325
9326         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9327         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9328         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9329
9330         * testsuite/libjava.lang/InvokeInterface.java: New file.
9331         * testsuite/libjava.lang/InvokeInterface.out: New file.
9332
9333 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9334         
9335         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9336         modified lookup().
9337         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9338         StackTraceElement directly.
9339         (newElement): New native helper method to create StackTraceElement
9340         bypassing Java access control.
9341         (createStackTraceElement): Use newElement() instead of directly
9342         calling StackTraceElement's constructor.
9343         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9344
9345 2004-04-01  Michael Koch  <konqueror@gmx.de>
9346
9347         * java/lang/SecurityManager.java
9348         (checkAwtEventQueueAccess): Implemented.
9349
9350 2004-04-01  Gary Benson  <gbenson@redhat.com>
9351
9352         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9353         (_Jv_SearchMethodInClass): Likewise.
9354
9355 2004-03-26  Peter Moon  <peterm@miraculum.com>
9356
9357         * java/text/NumberFormat.java: Fix spelling of setCurrency
9358         method.
9359
9360 2004-03-21  Anthony Green  <green@redhat.com>
9361
9362         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9363         recursion when searching for the system ClassLoader.
9364
9365 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9366
9367         * java/net/ServerSocket.java
9368         (accept): Close the socket when error occured.
9369
9370 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9371
9372         * java/net/URI.java (parseURI): Added unquoting.
9373         (unquote): New method.
9374         (quoteAuthority): Implemented.
9375         (quote(String,String)): New method.
9376         (quotePath): Implemented.
9377         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9378         (getSchemeSpecificPart): Removed FIXME comment.
9379         (getRawAuthority): Return new rawAuthority field.
9380         (getAuthority): Removed FIXME comment.
9381         (getRawUserInfo): Return new rawUserInfo field.
9382         (getUserInfo): Removed FIXME comment.
9383         (getRawPath): Return new rawPath field.
9384         (getPath): Removed FIXME comment.
9385         (getRawQuery): Return new rawQuery field.
9386         (getQuery): Removed FIXME comment.
9387         (getRawFragment): Return new rawFragment field.
9388         (getFragment): Removed FIXME comment.
9389
9390 2004-03-20  Michael Koch  <konqueror@gmx.de>
9391
9392         * java/net/URLConnection.java: Merged copyright year with classpath.
9393
9394 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9395
9396         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9397         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9398         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9399         rmi-message.
9400         (getObjectInputStream): Return object reference, throw IOException if null.
9401         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9402         (getObjectOutputStream): Return object reference, throw IOException if null.
9403         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9404         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9405         (UnicastConnectionManager): Throw RemoteException if port is not available.
9406         (getInstance): Throw RemoteException.
9407         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9408         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9409         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9410         Collect Exceptions which are returned by a rmi-call and fix void returns.
9411         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9412         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9413         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9414         (dispatch): Answer ping messages which are sent by other java implementions.
9415         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9416         for every rmi-message and fix void return problems.
9417         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9418         (UnicastServerRef): Throw RemoteException.
9419         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9420         In some situations it is necessary to export a subclass of the class which has the _Stub.
9421         For instance when the class with has the _Stub is abstract.
9422         (findStubSkelClass): New method which looks for the class which has the _Stub.
9423         (getClientHost): Implementated.
9424         * gcc/libjava/java/rmi/server/RemoteServer.java
9425         (getClientHost): Implementated.
9426         * gcc/libjava/Makefile.am (rmi_java_source_files):
9427         Added gnu/java/rmi/server/RMIIncomingThread.java.
9428         * Makefile.in: Regenerated.
9429
9430 2004-03-20  Michael Koch  <konqueror@gmx.de>
9431
9432         * java/net/InetAddress.java
9433         (getLocalHostname): Added javadoc.
9434
9435 2004-03-19  Per Bothner  <per@bothner.com>
9436
9437         * configure.in: FILE variable  overrides FLATFORM when linking
9438         natFileChannelXXX.cc.
9439
9440         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9441         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9442
9443 2004-03-19  Per Bothner  <per@bothner.com>
9444
9445         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9446         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9447         * Makefile.am:  Update accordingly.
9448         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9449         as aliases for UnicodeLittle and UnicodeBig.
9450
9451 2004-03-20  Mark Wielaard  <mark@klomp.org>
9452
9453         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9454         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9455         Don't access ws when it is null.
9456         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9457         Likewise.
9458
9459 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9460
9461         * java/lang/ThreadGroup.java (list): Changed print to println.
9462
9463 2004-03-19  Mark Wielaard  <mark@klomp.org>
9464
9465         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9466         happy.
9467
9468 2004-02-10  Randolph Chung  <tausq@debian.org>
9469  
9470         * configure.in: Build java for hppa target.
9471         * configure: Regenerate.
9472         * libjava/configure.host (hppa-*): Add target.
9473         * libjava/sysdeps/pa/lock.h: New file.
9474
9475 2004-03-19  Mark Wielaard  <mark@klomp.org>
9476
9477         Reported by Stephen Crawley
9478         * java/io/FilePermission.java (implies): Use String.length() -1 to
9479         access last char of String.
9480
9481 2004-03-19  Michael Koch  <konqueror@gmx.de>
9482
9483         * java/awt/image/AffineTransformOp.java
9484         (AffineTransformOp): Made public.
9485         * javax/swing/JComponent.java
9486         (listenerList): Made protected.
9487         (accessibleContext): Likewise.
9488         * javax/swing/JList.java
9489         (valueChanged): Dont use internal fields of ListSelectionEvent.
9490         * javax/swing/JViewport.java
9491         (getView): Dont use internal fields of Component.
9492         (addImpl): Likewise.
9493         * javax/swing/Timer.java
9494         (isRunning): Made public.
9495         (start): Likewise.
9496         (stop): Likewise.
9497         * javax/swing/UIDefaults.java
9498         (getInt): Made public.
9499         * javax/swing/plaf/basic/BasicListUI.java
9500         (mousePressed): Dont use internal fields of MouseEvent.
9501         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9502         * javax/swing/plaf/basic/BasicScrollBarUI.java
9503         (arrowIcon): Made static.
9504         * javax/swing/plaf/basic/BasicViewportUI.java
9505         (stateChanged): Dont use internal field on ChangeEvent.
9506         * javax/swing/text/JTextComponent.java
9507         (getUI): Call UIManager.getUI().
9508         (updateUI): Use getUI().
9509
9510 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9511
9512         * verify.cc: Undef PC.
9513
9514 2004-03-18  Michael Koch  <konqueror@gmx.de>
9515
9516         * java/nio/channels/spi/AbstractSelectableChannel.java
9517         (keys): Initialize at declaration.
9518         (locate): keys cant be null.
9519         (add): Removed.
9520         (addSelectionKey): New method.
9521         (removeSelectionKey): New method.
9522         * java/nio/channels/spi/AbstractSelectionKey.java
9523         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9524         * java/nio/channels/spi/AbstractSelector.java
9525         (provider): Javadoc added.
9526         (cancelledKeys): Javadoc added.
9527         (cancelKey): Javadoc added, add key to cancelledKeys.
9528         (deregister): Implemented.
9529
9530 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9531
9532         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9533         MAP_FAILED to void *.
9534
9535 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9536
9537         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9538         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9539         * javax/swing/JList.java (ListListener): Revalidate on changes.
9540         * javax/swing/JScrollPane.java: Reimplement.
9541         * javax/swing/JViewport.java: Reimplement.
9542         * javax/swing/ScrollPaneLayout.java: Reimplement.
9543         * javax/swing/ViewportLayout.java: Tidy up.
9544         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9545         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9546         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9547         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9548         backing store only.
9549
9550 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9551
9552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9553         (window_wm_protocols_filter): New function.
9554         (window_focus_in_cb): Remove function.
9555         (window_focus_out_cb): Likewise.
9556         (window_focus_or_active_state_change_cb): New function.
9557         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9558         (connectSignals): Don't attach handlers to focus-in-event or
9559         focus-out-event signals.  Handle notify signal.
9560
9561 2004-03-11  David Jee  <djee@redhat.com>
9562
9563         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9564         (gtkSetLabel): New native method declaration.
9565         (setLabel): Use gtkSetLabel.
9566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9567         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9568
9569 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9570
9571         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9572         black when color argument is null.
9573
9574 2004-03-10  Kim Ho  <kho@redhat.com>
9575
9576         * java/awt/Container.java: Remove check
9577         for drag events.
9578
9579 2004-03-10  Kim Ho  <kho@redhat.com>
9580
9581         * java/awt/Container.java: (visitChild):
9582         Remove candidate clip. Use the component
9583         clip to intersect.
9584         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9585         (handleEvent): Use the PaintEvent's clip.
9586
9587 2004-03-10  Kim Ho  <kho@redhat.com>
9588
9589         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9590         (handleEvent): Don't set the clip for the
9591         Graphics object.
9592
9593 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9594
9595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9596         Fix double <-> fixed macros, reset font transform.
9597         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9598         Likewise.
9599
9600 2004-03-09  Kim Ho  <kho@redhat.com>
9601
9602         * java/awt/Container.java: (visitChild): Move
9603         the x and y coordinate of the component rectangle
9604         to correct position.
9605         (handleEvent): Forward drag events to the pressed
9606         component.
9607         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9608         Fix comments.
9609         (ArrowButtonListener::mousePressed): Stop the
9610         existing timer.
9611         (mouseDragged): Implement.
9612         (TrackListener::mousePressed): Only react if
9613         the press doesn't occur on the thumb, otherwise
9614         just set the offset.
9615         (TrackListener::mouseReleased): Unset the isAdjusting
9616         value.
9617         (createIncreaseIcon): Switch icon.
9618         (createDecreaseIcon): Switch icon.
9619         (calculatePreferredSize): Use width.
9620         (getThumbBounds): Use the top as the lower value.
9621         (layoutVScrollBar): Switch the button locations.
9622         (paintIncreaseHighlight): Paint correct side of thumb.
9623         (paintDecreaseHighlight): ditto.
9624         (valueForYPosition): Use top as the lower value.
9625         * javax/swing/plaf/basic/BasicSliderUI.java:
9626         Fix comments.
9627         (mouseDragged): Implement.
9628         (mousePressed): Only react when the thumb isn't
9629         pressed, otherwise just set offset.
9630         (mouseReleased): Handle a release of the thumb.
9631         (scrollDueToClickInTrack): Stop the timer first.
9632         * javax/swing/JProgressBar.java:
9633         (setString): Fix change condition.
9634         * javax/swing/JSeparator.java:
9635         Remove println's.
9636
9637 2004-03-08  David Jee  <djee@redhat.com>
9638
9639         * java/awt/image/AffineTransformOp.java:
9640         (filter): Use Graphics2D interface instead of directly using the
9641         GdkGraphics2D peer.
9642
9643 2004-03-05  David Jee  <djee@redhat.com>
9644
9645         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9646         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9647         * java/awt/Container.java
9648         (acquireComponentForMouseEvent): Fixed.
9649         (handleEvent): Fixed.
9650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9651         (state_to_awt_mods_with_button_states): New method.
9652         (pre_event_handler): Fixed mouse event generation.
9653
9654 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9655
9656         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9657         (GdkGraphics2D (BufferedImage)): Initialize
9658         pixmap associated with specified BufferedImage.
9659         (setPaint): Changed implementation of Texture
9660         Paint to use AffineTransformOp.
9661         * java/awt/image/AffineTransformOp.java
9662         (createCompatibleDestRaster): Throw RasterFormatException 
9663         if resulting width or height of raster is 0.
9664
9665 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9666
9667         * java/awt/image/AffineTransformOp.java:
9668         Removed unnecessary field interpolationType.
9669         Formatted some of the lines to be consistent with 
9670         the GNU style.
9671         (AffineTransformOp): Create new RenderingHints 
9672         containing specified interpolation type.
9673         (createCompatibleDestImage): Implemented.
9674         (createCompatibleDestRaster): Implemented.
9675         (filter): Implemented.
9676         (getBounds2D(BufferedImage)): Implemented.
9677         (getBounds2D(Raster)): Implemented.
9678         (getInterpolationType): Get interpolation value from 
9679         rendering hints.
9680
9681 2004-03-04  David Jee  <djee@redhat.com>
9682
9683         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9684         (setFont): Check if child peers are null.
9685
9686 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9687
9688         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9689         .libs in -L option.
9690         (libjava_arguments): Add new libraries to argument list.
9691
9692 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9693
9694         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9695         * Makefile.in: Re-generated.
9696         * java/awt/image/AffineTransformOp.java: New Class.
9697
9698 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9699
9700         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9701         (setPaint): Interpret correctly TexturePaint's
9702         anchor rectangle.
9703         (drawImage): Fixed scale factors of the affine
9704         transform.
9705
9706 2004-02-27  David Jee  <djee@redhat.com>
9707
9708         * gnu/java/awt/peer/gtk/GdkGraphics.java
9709         (GdkGraphics(Component)): Inherit font from component.
9710         (drawString): Use font style.
9711         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9712         (gtkSetFont): New native method declaration.
9713         (setFont): New method.
9714         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9715         (gtkSetFont): New native method declaration.
9716         (setFont): Call new native method gtkSetFont.
9717         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9718         (setFont): For all child components who do not their fonts set,
9719         set their peers' fonts with this container's font.
9720         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9721         Move all native method declarations to the top for readability.
9722         (gtkSetFont): New native method declaration.
9723         (setFont): New method.
9724         * java/awt/Component.java
9725         (setFont): Invalidate after setting the font.
9726         * java/awt/Container.java
9727         (invalidateTree): New method.
9728         (setFont): Invalidate the container tree after setting the font.
9729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9730         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9732         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9734         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9736         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9737
9738 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9739
9740         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9741         (updateBufferedImage): New helper function.
9742         Updates BufferedImage in memory if it was changed.
9743         (draw): changed to update BufferedImage in memory after
9744         this drawing operation
9745         (fill): Ditto.
9746         (draw3DRect): Ditto.
9747         (fill3DRect): Ditto.
9748         (clearRect): Ditto.
9749         (drawRaster): Ditto.
9750         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9751         no affine transformation.
9752         (drawGlyphVector): Ditto.
9753
9754 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9755
9756         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9757         (isBufferedImageGraphics): New Helper function. 
9758         Returns true if this graphics2d can be used to draw 
9759         into buffered image and false otherwise.
9760         (updateImagePixels): New Helper function. 
9761         Updates pixels in the BufferedImage.
9762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9763         (getImagePixels): New function. Returns pixels
9764         of the buffered image associated with 
9765         this Graphics2D.
9766
9767 2004-02-26  David Jee  <djee@redhat.com>
9768
9769         * java/awt/BorderLayout.java
9770         (layoutContainer): Fix width and height calculations to ensure
9771         that they're non-negative.
9772         * java/awt/Component.java
9773         (setBackground): If c is null, inherit from closest ancestor whose
9774         background color is set.
9775
9776 2004-02-26  Kim Ho  <kho@redhat.com>
9777
9778         * Makefile.am: Add new files.
9779         * Makefile.in: Re-generate.
9780         * javax/swing/JProgressBar.java: 
9781         (JProgressBar(int, int int)): Throw
9782         IllegalArgumentException if orientation is
9783         invalid.
9784         (JProgressBar(BoundedRangeModel)): Create
9785         ChangeListener and register it. UpdateUI.
9786         (getChangeListeners): Implement.
9787         (setModel): Reset ChangeListener.
9788         * javax/swing/JScrollBar.java: Implement.
9789         * javax/swing/JSeparator.java: Implement.
9790         * javax/swing/JSlider.java:
9791         (JSlider(int, int, int, int)): Throw 
9792         IllegalArgumentException if orientation
9793         is invalid.
9794         (getChangeListeners): Fix method name.
9795         * javax/swing/SwingUtilities.java:
9796         (layoutCompoundLabel): If there is no text,
9797         set the text rectangle dimensions to 0.
9798         * javax/swing/plaf/basic/BasicButtonUI.java:
9799         (paint): If there is no text, don't paint it.
9800         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9801         Implement.
9802         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9803         Implement.
9804         * javax/swing/plaf/basic/BasicSliderUI.java: 
9805         (propertyChange): If the model changes, change
9806         the listeners accordingly.
9807
9808 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9809
9810         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9811         * javax/swing/JList.java: Reimplement.
9812         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9813         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9814         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9815         * javax/swing/ListModel.java: Javadoc.
9816         * javax/swing/ListSelectionModel.java: Add missing methods.
9817         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9818         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9819         * javax/swing/ListModel.java: Javadoc and corrections.
9820         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9821
9822 2004-02-25  David Jee  <djee@redhat.com>
9823
9824         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9825         (GtkFontPeer): Change default size to 12.
9826         * gnu/java/awt/peer/gtk/GtkToolkit.java
9827         (getFontPeer): Change default size to 12.
9828         (getClasspathFontPeer): Likewise. Set default name to "Default".
9829         * java/awt/Font.java
9830         (Font(Map)): Call Font(String,Map).
9831         (Font(String,Map)): If attrs is null, initialize it as an empty
9832         HashMap, which will ensure that the Font will get default attributes.
9833
9834 2004-02-25  David Jee  <djee@redhat.com>
9835
9836         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9837         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9838         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9839         * gnu/java/awt/peer/gtk/GtkToolkit.java
9840         (getFontPeer(String,int)): Call the new overload method with size 1.
9841         (getFontPeer(String,int,int)): New method. Overloaded with size
9842         attribute.
9843         (getClasspathFontPeer): Set the size of the font.
9844
9845 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9846
9847         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9848         (bimage): New field.
9849         (GdkGraphics2D): New Constructor. Constructs Graphics
9850         object that can be used to draw into the Buffered Image.
9851         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9852         (GdkGraphicsEnvironment): Fixed to include public 
9853         keyword.
9854         (createGraphics): Implemented.
9855         * gnu/java/awt/peer/gtk/GtkToolkit.java
9856         (getLocalGraphicsEnvironment): Implemented.
9857         * java/awt/GraphicsEnvironment.java:
9858         (getLocalGraphicsEnvironment): Implemented.
9859         * java/awt/image/BufferedImage.java:
9860         (createGraphics): Implemented.
9861                 
9862 2004-02-24  David Jee  <djee@redhat.com>
9863
9864         * java/awt/Component.java
9865         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9866         * java/awt/Container.java
9867         (addNotifyContainerChildren): Fix event enabling.
9868
9869 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9870
9871         * Makefile.am: Added 
9872         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9873         * Makefile.in: Re-generated.
9874         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9875         New Class. 
9876         
9877 2004-02-19  Kim Ho  <kho@redhat.com>
9878
9879         * Makefile.am: Add BasicProgressBarUI
9880         * Makefile.in: Regenerate.
9881         * javax/swing/JProgressBar.java: 
9882         Re-implement.
9883         * javax/swing/plaf/basic/BasicLookAndFeel.java
9884         Add constants for JProgressBar.
9885         * javax/swing/plaf/basic/BasicProgressBarUI.java
9886         Implement.
9887         * javax/swing/plaf/basic/BasicSliderUI.java
9888         Change comments.
9889         (calculateGeometry): New method
9890         (paint): Remove unnecessary size calculations.
9891
9892 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9893
9894         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9895         (drawRaster): Fixed small error that caused
9896         imageToUser transformation to be set incorrectly.
9897         (toString): Implemented.
9898
9899 2004-02-18  David Jee  <djee@redhat.com>
9900
9901         * java/awt/CardLayout.java
9902         (addLayoutComponent): Show the first component added as the default.
9903         (removeLayoutComponent): After removing, show the next component.
9904         (gotoComponent): If there is only one component, show it and return.
9905
9906 2004-02-18  Kim Ho  <kho@redhat.com>
9907
9908         * javax/swing/JSlider.java: Re-order
9909         modifiers.
9910         * javax/swing/JLabel.java: Re-order
9911         modifiers.
9912         * javax/swing/JComponent.java: 
9913         (addPropertyChangeListener):
9914         Implement.
9915         (removePropertyChangeListener):
9916         ditto.
9917         (firePropertyChangeEvent):
9918         ditto.
9919
9920 2004-02-17  David Jee  <djee@redhat.com>
9921
9922         * java/awt/Component.java
9923         (show): Dispatch ComponentEvent via system event queue.
9924         (hide): Likewise.
9925         (move): Likewise.
9926         (resize): Likewise.
9927         (reshape): Likewise.
9928         * java/awt/Window.java
9929         (setBoundsCallback): Likewise.
9930
9931 2004-02-17  David Jee  <djee@redhat.com>
9932
9933         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9934         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9935         Use gtk_widget_set_size_request() instead of the deprecated
9936         gtk_widget_set_usize().
9937
9938 2004-02-17  Kim Ho  <kho@redhat.com>
9939
9940         * javax/swing/JSlider.java: Fix comments and
9941         make property strings constants.
9942         (createStandardLabels): Use the labels
9943         preferred size as bounds.
9944         * javax/swing/plaf/basic/BasicSliderUI.java
9945         Fix comments.
9946         (ScrollHandler::actionPerformed): Don't
9947         calculate the timer stop value. Let the
9948         MouseListeners find the stop location.
9949         (getPreferredHorizontalSize): Re-implement.
9950         (getPreferredVerticalSize): ditto.
9951         (getMinimumHorizontalSize): ditto.
9952         (getMinimumVerticalSize): ditto.
9953         (getPreferredSize): ditto.
9954         (getMinimumSize): ditto.
9955         (getMaximumSize): ditto.
9956         (paintTicks): Use doubles to find the
9957         tick location.
9958         (paintHorizontalLabel):  Use preferredSize
9959         as initial width and height.
9960         (paintVerticalLabel): ditto.
9961
9962 2004-02-17  Kim Ho  <kho@redhat.com>
9963
9964         * javax/swing/JLabel.java: Changed 
9965         property strings to constants.
9966         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9967         New property.
9968         (setText): Change mnemonic index if
9969         text is too short.
9970         (setDisplayedMnemonicIndex): Fire property
9971         change event.
9972         (getDisplayedMnemonicIndex): Remove check
9973         against short text.
9974
9975 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9976
9977         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9978         (drawImage(img,xform,obs)): Invert xform before
9979         passing the xform to cairo.
9980         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9981         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9982         implemented.
9983         (drawImage (img,x,y,w,h,obs)): Implemented.
9984         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9985         bgcolor,obs)): Partly implemented.
9986         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9987         Implemented.
9988         * java/awt/image/BufferedImage.java:
9989         (copyData): if dest is null, create raster with same
9990         dimensions as the current image.
9991
9992 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9993
9994         * javax/swing/plaf/basic/BasicLabelUI.java 
9995         (getPreferredSize): Use layoutCL.
9996         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9997         (getPreferredButtonSize): Start with empty view rect, layout using
9998         component's preferred alignment.
9999         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
10000         List defaults.
10001
10002 2004-02-16  David Jee  <djee@redhat.com>
10003
10004         * java/awt/Component.java
10005         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
10006         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
10007         (move): Erase old bounds and repaint new bounds. Dispatch
10008         COMPONENT_MOVED ComponentEvent.
10009         (resize): Erase old bounds and repaint new bounds. Dispatch
10010         COMPONENT_RESIZED ComponentEvent.
10011         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10012         ComponentEvents.
10013         * java/awt/Window.java
10014         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10015         ComponentEvents.
10016
10017 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
10018
10019         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10020         (setRenderingHint): Added implementation of 
10021         Interpolation rendering hints.
10022         (setRenderingHints): Ditto.
10023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10024         (drawPixels): fixed to allow user to choose type 
10025         of filtering that should be used when displaying images.
10026         (cairoSurfaceSetFilter): New method. Sets filter type for 
10027         interpolation of pixel values.
10028
10029 2004-02-16  David Jee  <djee@redhat.com>
10030
10031         * java/awt/GridBagLayout.java
10032         (calcCellSizes): Rows or columns with zero sizes should still be
10033         considered for extra space distribution.
10034
10035 2004-02-16  Kim Ho  <kho@redhat.com>
10036
10037         * javax/swing/JLabel.java: Re-implement.
10038         * javax/swing/plaf/basic/BasicLabelUI.java
10039         Re-implement.
10040         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10041         Added constant.
10042
10043 2004-02-16  Kim Ho  <kho@redhat.com>
10044
10045         * javax/swing/JSlider.java: Fix indentation and comments.
10046         (setModel): Remove null check to conform with Sun's.
10047         (setOrientation): Throw exception if not
10048         HORIZONTAL or VERTICAL.
10049         (getInverted): Use private variable instead of 
10050         ComponentOrientation.
10051         (setInverted): ditto.
10052         * javax/swing/plaf/basic/BasicSliderUI.java:
10053         Fix indentation and comments.
10054         (propertyChange): Remove check for inverted slider, handle
10055         in main paint.
10056         (getMinimumSize): Return preferred size.
10057         (getMaximumSize): ditto.
10058         (calculateFocusRect): Don't relocate rectangle.
10059         (drawInverted): Return XOR of the slider's inversion and 
10060         the component's orientation.
10061         (paint): Update leftToRightCache
10062
10063 2004-02-13  David Jee  <djee@redhat.com>
10064
10065         * java/awt/GridBagLayout.java
10066         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10067         code to helper methods.
10068         (sortBySpan): New helper method.
10069         (distributeSizeAndWeight): Likewise.
10070         (calcCellWeights): Likewise.
10071         (calcCellSizes): Add comments.
10072
10073 2004-02-13  David Jee  <djee@redhat.com>
10074
10075         * java/awt/Component.java
10076         (show): Only do something if component is invisible at the moment.
10077         (hide): Only do something if component is visible at the moment.
10078         (reshape): If lightweight, erase old bounds and repaint new bounds.
10079
10080 2004-02-13  Kim Ho  <kho@redhat.com>
10081
10082         * Makefile.am: Updated for new file.
10083         * Makefile.in: Regenerated.
10084         * javax/swing/JSlider.java: Reimplement.
10085         * javax/swing/SwingUtilities.java
10086         (layoutCompoundLabel): Use icon height
10087         instead of width.
10088         (paintComponent): Implement.
10089         * javax/swing/plaf/basic/BasicLookAndFeel.java:
10090         Add JSlider defaults.
10091         * javax/swing/plaf/basic/BasicSliderUI.java:
10092         Implement. New file.
10093
10094 2004-03-17  Michael Koch  <konqueror@gmx.de>
10095
10096         * gnu/java/net/PlainDatagramSocketImpl.java
10097         (RECEIVE_LOCK): New member field.
10098         (SEND_LOCK): New member field.
10099         (send0): New method.
10100         (send): Synchronize on SEND_LOCK.
10101         (receive0): New method.
10102         (receive): Synchronize on RECEIVE_LOCK.
10103         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10104         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10105         gnu/java/net/natPlainDatagramSocketImplWin32.cc
10106         (send0): Renamed from send.
10107         (receive0): Renamed from receive.
10108 2004-03-17  Michael Koch  <konqueror@gmx.de>
10109
10110         * gnu/java/net/natPlainSocketImplPosix.cc
10111         (write): Just call write(jbyteArray, offset, len).
10112         (read): Just call read(jbyteArray, offset, len).
10113
10114 2004-03-16  Michael Koch  <konqueror@gmx.de>
10115
10116         * javax/swing/JTabbedPane.java
10117         (serialVersionUID): New field.
10118
10119 2004-03-16  Norbert Frese  <postfach@nfrese.net>
10120
10121         * java/net/InetAddress.java
10122         (getByName): Handle hostname == "" case.
10123
10124 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
10125
10126         Reported by: Adam Heath <doogie@debian.org>
10127         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10128         class loader.
10129
10130 2004-03-15  Michael Koch  <konqueror@gmx.de>
10131
10132         * java/util/Locale.java: Reverting my last patch
10133         and add a comment why the original version was okay.
10134
10135 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
10136
10137         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10138         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10139         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10140         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10141
10142 2004-03-12  Michael Koch  <konqueror@gmx.de>
10143
10144         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10145
10146 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10147
10148         * java/net/URI.java (toURL): Implemented.
10149
10150 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
10151
10152         * java/net/URI.java
10153         (URI_REGEXP) updated to contain scheme specific part.
10154         (SCHEME_SPEC_PART_GROUP) new constant.
10155         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10156         updated to make room for SCHEME_SPEC_PART_GROUP.
10157         (parseURI) parse scheme specific part.
10158         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10159         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10160         getQuery, getFragment) implemented.
10161
10162 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
10163
10164         * libraries/javalib/java/net/URI.java
10165         partially implemented using java.util.regex.
10166         (URI_REGEXP) new constant. Used to parse URIs.
10167         (SCHEME_GROUP) new constant representing index of scheme group
10168         in parsed URI.
10169         (AUTHORITY_GROUP) new constant representing index of authority
10170         group in parsed URI.
10171         (PATH_GROUP) new constant representing index of path group in
10172         parsed URI.
10173         (QUERY_GROUP) new constant representing index of query group in
10174         parsed URI.
10175         (FRAGMENT_GROUP) new constant representing index of fragment
10176         group in parsed URI.
10177         (getURIGroup) new static utility method.
10178         (parseURI) implemented.
10179         (quote) stub for new static utility method.
10180         (quoteAuthority) stub for new static utility method.
10181         (quoteHost) stub for new static utility method.
10182         (quotePath) stub for new static utility method.
10183         (quoteUserInfo) stub for new static utility method.
10184         (URI) implemented.
10185         (create) don't throw URISyntaxException. Implemented.
10186         (toString) implemented.
10187
10188 2004-03-12  Michael Koch  <konqueror@gmx.de>
10189
10190         * java/net/HttpURLConnection.java
10191         (getResponseCode): Fix another typo in javadoc.
10192
10193 2004-03-11  Michael Koch  <konqueror@gmx.de>
10194
10195         * java/util/logging/Level.java
10196         (parse): Use String.equals() instead of ==.
10197
10198 2004-03-11  Michael Koch  <konqueror@gmx.de>
10199
10200         * gnu/java/net/protocol/jar/Connection.java
10201         (getContentLength): New method.
10202
10203 2004-03-11  Michael Koch  <konqueror@gmx.de>
10204
10205         * gnu/java/net/PlainSocketImpl.java:
10206         Reformated to merge better with classpath's version.
10207
10208 2004-03-11  Michael Koch  <konqueror@gmx.de>
10209
10210         * java/util/Locale.java
10211         (getISO3Language): Use String.equals() instead of ==.
10212         (getISO3Country): Likewise.
10213
10214 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10215
10216         * java/text/AttributedString.java
10217         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10218         Use HashMap instead of Hashtable since value can be null, and
10219         you can not store a null value in a Hashtable.
10220
10221 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10222
10223         * java/text/AttributedStringIterator.java
10224         (getAllAttributesKey): Return only keys concerned
10225         by the current iterator.
10226         (getAttributes): Use strict inequality for
10227         end_index. 
10228
10229 2004-03-11  Michael Koch  <konqueror@gmx.de>
10230
10231         * java/net/HttpURLConnection.java:
10232         Fixed typo in javadoc.
10233
10234 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10235
10236         * java/io/BufferedInputStream.java (marktarget): New field for max
10237         mark limit.
10238         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10239         (mark): Use new fields.
10240         (read): Likewise.
10241         (read(byte[],int,int)): Likewise.
10242         (skip): Likewise.
10243         (refill): Likewise.
10244
10245 2004-03-11  Mark Wielaard  <mark@klomp.org>
10246
10247         * java/beans/BeanDescriptor.java (BeanDescriptor):
10248         Set the FeatureDescriptor programmatic name.
10249
10250 2004-03-11  Michael Koch  <konqueror@gmx.de>
10251
10252         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10253         This file was was just copied form java/io/natFileDescriptorEcos.cc
10254         and never changed to compile correctly.
10255
10256 2004-03-11  Michael Koch  <konqueror@gmx.de>
10257
10258         * gnu/java/nio/PipeImpl.java
10259         (SourceChannelImpl): Made final.
10260         (read): Implemented.
10261         (SinkChannelImpl): Made final.
10262         (write): Implemented.
10263
10264 2004-03-11  Michael Koch  <konqueror@gmx.de>
10265
10266         * gnu/java/net/PlainDatagramSocketImpl.java:
10267         Reformated to match classpath's version more.
10268
10269 2004-03-11  Michael Koch  <konqueror@gmx.de>
10270
10271         * gnu/java/awt/peer/ClasspathFontPeer.java:
10272         Fixed javadoc to be correct xhtml.
10273         * gnu/java/awt/peer/gtk/GtkArgList.java
10274         (add): Use Boolean.valueOf() instead of new Boolean().
10275
10276 2004-03-09  Michael Koch  <konqueror@gmx.de>
10277
10278         * java/lang/Thread.java
10279         (runnable): Moved around.
10280         (daemon): Renamed from daemon_flag.
10281         (contextClassLoader): Renamed from context_class_loader.
10282         (Thread): Reordered constructors.
10283         (activeCount): Use group directly.
10284         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10285         (holdsLock): Reworked javadoc.
10286         (setDaemon): Reworked.
10287         * java/lang/natThread.cc
10288         (destroy): Removed.
10289
10290 2004-03-08  Anthony Green  <green@redhat.com>
10291
10292         * Makefile.am: Build property resource files into libgcj.
10293         * Makefile.in: Rebuilt.
10294         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10295         java/util/regex/PatternSyntaxException.java,
10296         gnu/regexp/CharIndexed.java,
10297         gnu/regexp/CharIndexedCharArray.java,
10298         gnu/regexp/CharIndexedInputStream.java,
10299         gnu/regexp/CharIndexedReader.java,
10300         gnu/regexp/CharIndexedString.java,
10301         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10302         gnu/regexp/REException.java,
10303         gnu/regexp/REFilterInputStream.java,
10304         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10305         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10306         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10307         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10308         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10309         gnu/regexp/RETokenLookAhead.java,
10310         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10311         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10312         gnu/regexp/RETokenStart.java,
10313         gnu/regexp/RETokenWordBoundary.java,
10314         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10315
10316 2004-03-03  Per Bothner  <per@bothner.com>
10317
10318         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10319         Optimize when argument is a FileChannelImpl.
10320         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10321         New native methods.
10322         * java/nio/channels/natChannels.cc:  New file for new native methods.
10323         * Makefile.am:  Update accordingly.
10324
10325 2004-03-02  Jan Hubicka  <jh@suse.cz>
10326
10327         * configure.host: Pass -fno-omit-frame-pointer for i386.
10328         * configure.in: Likewise.
10329         * configure: Regenerate.
10330
10331 2004-03-01  Per Bothner  <per@bothner.com>
10332
10333         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10334
10335 2004-02-29  Per Bothner  <per@bothner.com>
10336
10337         * java/nio/channels/FileChannelImpl.java:  Moved to package
10338         gnu/java/nio/channels, since we need to refer to it from java.io.
10339         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10340         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10341         from java/nio/channels.  Don't depend on FileDescriptor.
10342         (in, out, err):  New static fields.
10343         (mode):  New field.
10344         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10345         from FileDescriptor.
10346         (by):  Removed MappedByteBuffer field.
10347         (map):  New working implementation.
10348         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10349         some code "ported" from natFileDescriptoPosix.cc.
10350         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10351         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10352         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10353         Remove native methods.
10354         * Makefile.am, configure.in:  Updated accordingly.
10355
10356         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10357         (ch):  New FileChannelImpl field.  Update constructor to match.
10358         (releaseImpl):  Remove native method.  Instead ...
10359         (release):  Call unlock on channel.
10360         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10361
10362         * java/io/natFileDescriptorEcos.cc:  Remove file.
10363         * java/io/natFileDescriptorPosix.cc:  Remove file.
10364         * java/io/natFileDescriptorWin32.cc:  Remove file.
10365         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10366         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10367         (<init>(FileChannelImpl)):  New package-private constructor.
10368         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10369         (available, close, read, skip):  Implement using FileChannelImpl.
10370         (getFD):  Allocate FileDescriptor if needed.
10371         (getChannel):  Is now trivial.
10372         * java/io/FileOutputStream.java:  Corresponding changes.
10373         * java/io/RandomAccessFile.java:  Corresponding changes.
10374
10375         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10376         unmapImpl):  New dummy methods, to be overridden by subclass.
10377         (finalize, isLoaded, load, force):  New methods.
10378         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10379         Now works, at least for read mapping.
10380
10381         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10382         streams using FileChannelImpl, not FileDescriptor.
10383         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10384
10385 2004-02-28  Michael Koch  <konqueror@gmx.de>
10386
10387         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10388         wrong code.
10389
10390 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10391
10392         * java/io/ObjectInputStream.java
10393         (readClassDescriptor): Keep elements of the mapping non null.
10394         (checkTypeConsistency): New method.
10395         (readFields): Fixed main loop and base logic. Small reindentation.
10396         * java/io/ObjectStreamField.java
10397         (lookupField): New method to update the field reference.
10398         (checkFieldType): New method.
10399         * java/io/ObjectStreamClass.java
10400         (setClass, setFields): Call lookupField when building the field
10401         database. Check the real field type.
10402
10403 2004-02-28  Michael Koch  <konqueror@gmx.de>
10404
10405         * java/nio/ByteOrder.java
10406         (nativeOrder): Use equals() to compare strings.
10407
10408 2004-02-26  Michael Koch  <konqueror@gmx.de>
10409
10410         * gnu/java/nio/FileLockImpl.java
10411         (finalize): Made protected.
10412         * java/nio/channels/FileChannel.java
10413         (MapMode.READ_ONLY): Made final.
10414         (MapMode.READ_WRITE): Made final.
10415         (MapMode.PRIVATE): Made final.
10416         * java/nio/channels/SocketChannel.java
10417         (open): Simplified code.
10418         * java/nio/channels/spi/AbstractSelectableChannel.java
10419         (registered): Unused, removed.
10420         (keyFor): Check channel is open, only locate key
10421         and not add a new one.
10422         (register): Don't delete attachments.
10423
10424 2004-02-26  Michael Koch  <konqueror@gmx.de>
10425
10426         * gnu/java/awt/ComponentDataBlitOp.java
10427         (INSTANCE): Made final.
10428         * gnu/java/awt/image/ImageDecoder.java:
10429         Reworked imports.
10430         (cm): Unused, removed.
10431
10432 2004-02-26  Michael Koch  <konqueror@gmx.de>
10433
10434         * gnu/java/nio/DatagramChannelImpl.java
10435         (send): Check if target address is resolved.
10436
10437 2004-02-26  Michael Koch  <konqueror@gmx.de>
10438
10439         * Makefile.am: Generate and install headers for inner classes in
10440         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10441         * Makefile.in: Regenerated.
10442
10443 2004-02-24  Anthony Green  <green@redhat.com>
10444
10445         * java/lang/StringBuffer.java: No need to NULL out remainder of
10446         buffer since ensureCapacity_unsynchronized will have done this for
10447         us.
10448
10449 2004-02-20  Michael Koch  <konqueror@gmx.de>
10450
10451         * gnu/java/net/protocol/jar/Handler.java
10452         (): Removed unneeded check for file != null. java.net.URL.getFile()
10453         returns an empty string but never null.
10454
10455 2004-02-20  Michael Koch  <konqueror@gmx.de>
10456
10457         * gnu/gcj/convert/Convert.java
10458         (main): Use equals() to compare strings.
10459
10460 2004-02-20  Michael Koch  <konqueror@gmx.de>
10461
10462         * javax/swing/AbstractButton.java: Made several constants final.
10463         (getRolloverSelectedIcon): Made public.
10464         (getSelectedIcon): Made public.
10465
10466 2004-02-16  Per Bothner  <per@bothner.com>
10467
10468         * java/nio/CharBufferImpl.java:  Inline super constructor.
10469         * java/nio/DoubleBufferImpl.java:  Likewise.
10470         * java/nio/FloatBufferImpl.java:  Likewise.
10471         * java/nio/IntBufferImpl.java:  Likewise.
10472         * java/nio/LongBufferImpl.java:  Likewise.
10473         * java/nio/ShortBufferImpl.java:  Likewise.
10474         * java/nio/CharBuffer.java:  Remove unused constructor.
10475         * java/nio/DoubleBuffer.java:  Likewise.
10476         * java/nio/FloatBuffer.java:  Likewise.
10477         * java/nio/IntBuffer.java:  Likewise.
10478         * java/nio/LongBuffer.java:  Likewise.
10479         * java/nio/ShortBuffer.java:  Likewise.
10480         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10481         Fix buggy call to super constructor.
10482         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10483         * java/nio/FloatViewBufferImpl.java:  Likewise.
10484         * java/nio/IntViewBufferImpl.java:  Likewise.
10485         * java/nio/LongViewBufferImpl.java:  Likewise.
10486         * java/nio/ShortViewBufferImpl.java:  Likewise.
10487         
10488         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10489         java.nio classes can inherit it.
10490         (<init>):  Don't bother clearing array_offset.
10491         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10492         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10493         Remove redundant test.
10494
10495         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10496         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10497         Use new XxxViewBufferImpl constructors.
10498         * java/nio/MappedByteBufferImpl.java:  Likewise.
10499         * java/nio/DirectByteBufferImpl.java:  Likewise.
10500
10501         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10502         Inline super in remaining constructor.
10503         * java/nio/ByteBuffer.java:  Remove unused constructor.
10504
10505         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10506
10507         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10508         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10509         (offset):  Remove unused field.
10510         (<init>):  Modify one and add another constructor.  Change callers.
10511         (allocateDirect):  Removed - not used.
10512         (getImpl, putImpl):  Make static and pass address explicitly,
10513         to make them useful for MappedByteBufferImpl.
10514         (get, put):  Check for underflow.  Modify for new getImpl.
10515         (getImpl):  New native method where target is array.
10516         (get(byte[],int,int)):  Use the above.
10517         (adjustAddress):  New static native method.
10518         (slice, duplicate, asReadOnly):  New implementations.
10519         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10520         adjustAddress):  New or updated native methods.
10521
10522 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10523
10524         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10525         overflow of fieldmapping.
10526
10527 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10528
10529         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10530
10531 2004-02-14  Per Bothner  <per@bothner.com>
10532
10533         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10534         Set closed before calling implCloseChannel, as in the spec.
10535
10536 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10537
10538         * javax/swing/ToggleButtonModel.java: Remove dead class.
10539         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10540         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10541         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10542         * Makefile.am: Update for new and removed files.
10543         * Makefile.in: Regenerate.
10544
10545         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10546         * javax/swing/AbstractButton.java 
10547         (AbstractButton): Initialize fields correctly in ctor.
10548         * javax/swing/JCheckbox.java 
10549         (JCheckBox): Override painting flags.
10550         * javax/swing/DefaultButtonModel.java: Conform to sun.
10551         * javax/swing/JComponent.java (paint): Fill with background color
10552         if available.
10553         (processComponentKeyEvent)
10554         (processFocusEvent)
10555         (processKeyEvent)
10556         (processMouseMotionEvent): Remove event-consuming empty methods.
10557         (getUIClassID): Return "ComponentUI" not "JComponent"
10558         * javax/swing/JFrame.java: Remove some debugging chatter.
10559         (JFrame): Subscribe to window events.
10560         * javax/swing/JRadioButton.java 
10561         (JRadioButton): Override painting flags.
10562         * javax/swing/JRootPane.java 
10563         (JRootPane): Set background from UIDefaults.
10564         * javax/swing/JToggleButton.java 
10565         (ToggleButtonModel): New inner class.
10566         (JToggleButton): Override layout alighment.
10567         * javax/swing/SwingUtilities.java:
10568         (getLocalBounds): Return width and height, not x and y.
10569         (calculateInnerArea): Use local bounds, not bounds.
10570         (layoutCompoundLabel): Provide overridden form.
10571         (layoutCompoundLabel): Correct bugs.
10572         * javax/swing/UIDefaults.java: Correct comment.
10573         * javax/swing/plaf/basic/BasicButtonUI.java: 
10574         Move most logic into defaults, external listener.
10575         (paintIcon): Implement icon painting.
10576         (paint): Fix state painting to conform to changes in model.
10577         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10578         Remove most dead/wrong methods.
10579         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10580         * javax/swing/plaf/basic/BasicIconFactory.java:
10581         (DummyIcon): New class.
10582         (getMenuItemCheckIcon)
10583         (getMenuItemArrowIcon) 
10584         (getMenuArrowIcon)
10585         (getCheckBoxMenuItemIcon)
10586         (getRadioButtonMenuItemIcon)
10587         (createEmptyFrameIcon): Return DummyIcons, not null.
10588         (getCheckBoxIcon): Implement an icon that looks like sun's.
10589         (getRadioButtonIcon): Implement an icon that looks like sun's.
10590         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10591         (initComponentDefaults): Fix impossible values, add some missing.
10592         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10593         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10594         Remove most dead/wrong methods.
10595         (icon): New field.
10596         (getDefaultIcon): New method.
10597         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10598         Remove most dead/wrong methods.
10599         * javax/swing/plaf/metal/MetalLookAndFeel.java
10600         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10602         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10603         Implement "clearing" as drawing, when on pixmap drawables.
10604
10605         * javax/swing/JButton.java (getUIClassID): 
10606         * javax/swing/JCheckBox.java (getUIClassID):
10607         * javax/swing/JEditorPane.java (getUIClassID):
10608         * javax/swing/JLabel.java (getUIClassID): 
10609         * javax/swing/JList.java (getUIClassID): 
10610         * javax/swing/JOptionPane.java (getUIClassID): 
10611         * javax/swing/JPanel.java (getUIClassID): 
10612         * javax/swing/JPasswordField.java (uiClassID): 
10613         * javax/swing/JRadioButton.java (getUIClassID): 
10614         * javax/swing/JRootPane.java (getUIClassID): 
10615         * javax/swing/JScrollPane.java (getUIClassID): 
10616         * javax/swing/JTabbedPane.java (getUIClassID): 
10617         * javax/swing/JToggleButton.java (getUIClassID): 
10618         * javax/swing/JTree.java (getUIClassID): 
10619         * javax/swing/JViewport.java (getUIClassID): 
10620         * javax/swing/text/JTextComponent.java (getUIClassID):
10621         Return "fooUI" not "Jfoo"
10622
10623 2004-02-11  Michael Koch  <konqueror@gmx.de>
10624
10625         * java/net/DatagramSocket.java
10626         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10627         Boolean object.
10628         (setBroadcast): Likewise.
10629         * java/net/MulticastSocket.java
10630         (setLoopbackMode): Likewise.
10631         * java/net/ServerSocket.java
10632         (setReuseAddress): Likewise.
10633         * java/net/Socket.java
10634         (setTcpNoDelay): Likewise.
10635         (setSoLinger): Likewise.
10636         (setOOBInline): Likewise.
10637         (setKeepAlive): Likewise.
10638         (setReuseAddress): Likewise.
10639         * java/net/URLConnection.java
10640         (setContentHandler): Replace == with equals().
10641         * java/net/URLStreamHandler.java
10642         (hostSEquals): Fix checking host addresses.
10643         (toExternalForm): Dont check protocol for null. We know already its
10644         not null.
10645
10646 2004-02-10  David Jee  <djee@redhat.com>
10647
10648         * java/awt/BorderLayout.java
10649         (calcCompSize): Invisible components get zero dimensions.
10650         * java/awt/Button.java
10651         (setLabel): Set actionCommand.
10652         * java/awt/Component.java
10653         (show): Invalidate component and parent container.
10654         (hide): Likewise.
10655
10656 2004-02-10  David Jee  <djee@redhat.com>
10657
10658         * java/awt/GridBagLayout.java
10659         (GridBagLayout): New private field, internalcomptable.
10660         (lookupInternalConstraints): New method.
10661         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10662         (GetLayoutInfo): Reimplement.
10663         (calcCellSizes): Ignore rows/columns with size 0.
10664
10665 2004-02-10  Michael Koch  <konqueror@gmx.de>
10666
10667         * gnu/java/awt/EmbeddedWindow.java
10668         (setHandle): Use java.awt.Component.getPeer() instead of
10669         java.awt.Component.peer directly.
10670
10671 2004-02-10  David Jee  <djee@redhat.com>
10672
10673         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10674         (gtkSetLabel): New native method definition.
10675         (setLabel): Use gtkSetLabel.
10676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10677         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10678
10679 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10680
10681         * include/powerpc-signal.h: Revert 2004-01-21 change.
10682         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10683         from syscall for ppc32 versions.
10684
10685 2004-02-08  Per Bothner  <per@bothner.com>
10686
10687         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10688         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10689         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10690         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10691         Pass ByteOrder parameter to most methods, since the underlying
10692         ByteBuffer's order isn't always what we should use.
10693         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10694         * java/nio/DirectByteBufferImpl.java:  Likewise.
10695         Use ByteBufferHelper methods.
10696         * java/nio/MappedByteBufferImpl.java:  Likewise.
10697         (compact):  Use shiftDown.
10698         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10699         (get, put):  Use ByteBufferHelper.
10700         (compact):  Use new shiftDown method.
10701         (duplicate(boolean)):  New helper method.
10702         (duplicate, asReadOnlyBuffer):  Use it.
10703         (order):  Return endian field.
10704         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10705         * java/nio/FloatViewBufferImpl.java:  Likewise.
10706         * java/nio/IntViewBufferImpl.java:  Likewise.
10707         * java/nio/LongViewBufferImpl.java:  Likewise.
10708         * java/nio/ShortViewBufferImpl.java:  Likewise.
10709         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10710         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10711         (compact):  Re-implement using shiftDown.
10712
10713 2004-02-08  Andreas Jaeger  <aj@suse.de>
10714
10715         * include/x86_64-signal.h: Fix typo.
10716
10717 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10718
10719         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10720         qualifier to _regs.
10721         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10722
10723 2004-02-06  Michael Koch  <konqueror@gmx.de>
10724
10725         * java/io/ObjectInputStream.java
10726         (currentClassLoader): Reverted to old version of this method.
10727
10728 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10729
10730         * java/io/ObjectInputStream.java: Made all calls
10731         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10732         use cached info from ObjectStreamClass. (readClassDescriptor):
10733         Cache more information in ObjectStreamClass. (processResolution,
10734         readFields): Use cached info from ObjectStreamClass.
10735         (newObject): Throw exception instead of returning null for failure.
10736         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10737         setCharField, setDoubleField, setFloatField, setIntField,
10738         setLongField, setShortField, setObjectField, readObjectParams):
10739         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10740         check.
10741         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10742         (setClass): Added call to cacheMethods() (findMethod): New method.
10743         (cacheMethods): New method. (ObjectStreamClass): Added call to
10744         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10745         AccessController.doPrivileged to invoke setAccessible.
10746         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10747         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10748         New fields.
10749         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10750         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10751         isPrimitive): Made safe for cases where type == null.
10752         (setBooleanField, setByteField, setCharField, setShortField,
10753         setIntField, setLongField, setFloatField, setDoubleField,
10754         setObjectField): New methods.
10755
10756 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10757
10758         * java/awt/Component.java (getFont): Return a default font
10759         instead of null.
10760
10761         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10762         (Scrollbar (int, int, int, int, int)): Make default page
10763         increment 10.
10764         (setValues): Only call peer.setValues if one of the values has
10765         changed.
10766         (generateName): New method.
10767         (getUniqueLong): New method.
10768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10769         (range_scrollbar): Remove structure.
10770         (post_adjustment_event): Remove function.
10771         (post_change_event): Accept jobject argument.
10772         (create): Cast jints to gdoubles.  Round scrollbar values to the
10773         nearest integer.  Clamp min, max and value settings.
10774         (connectJObject): Connect hook to widget->window.
10775         (connectSignals): Remove range_scrollbar structure variables.
10776         Remove "move-slider" connection.  Pass global peer reference to
10777         "value-changed" callback.
10778         (setLineIncrement): Cast jint value to gdouble.
10779         (setPageIncrement): Likewise.
10780         (setValues): Likewise.  Clamp min, max and value settings.
10781
10782 2004-02-05  Michael Koch  <konqueror@gmx.de>
10783
10784         * javax/swing/AbstractCellEditor.java
10785         (getCellEditorValue): Removed.
10786         * javax/swing/Box.java: Reformated.
10787         (serialVersionUID): New field.
10788         * javax/swing/ButtonGroup.java:
10789         Removed some weird whitespace.
10790         * javax/swing/CellEditor.java: Reformated.
10791         * javax/swing/CellRendererPane.java
10792         (serialVersionUID): New field.
10793         (AccessibleCellRendererPaneserialVersionUID): New field.
10794         * javax/swing/DefaultListModel.java
10795         (serialVersionUID): New field.
10796         * javax/swing/JEditorPane.java
10797         (serialVersionUID): New field.
10798         (setPage): Throws IOException.
10799         (addHyperlinkListener): Implemented.
10800         (removeHyperlinkListener): Implemented.
10801         (getHyperlinkListener): New method.
10802         * javax/swing/JFileChooser.java
10803         (serialVersionUID): New field.
10804         (AccessibleJFileChooser.serialVersionUID): New field.
10805         (addActionListener): Implemented.
10806         (removeActionListener): Implemented.
10807         (getActionListeners): New method.
10808         * javax/swing/JFormattedTextField.java
10809         (serialVersionUID): New field.
10810         (AbstractFormatter.serialVersionUID): New field.
10811         (clone): Throws CloneNotSupportedException
10812         (setEditValid): Add missing argument.
10813         (stringToValue): Throws ParseExcpetion.
10814         (valueToString): Throws ParseException.
10815         (commitEdit): Throws ParseException.
10816         * javax/swing/JLabel.java
10817         (serialVersionUID): New field.
10818         * javax/swing/JList.java
10819         (serialVersionUID): New field.
10820         (addListSelectionListener): Reformated.
10821         (removeListSelectionListener): Reformated.
10822         (getListSelectionListeners): New method.
10823         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10824         Reformated.
10825         (serialVersionUID): New field.
10826         * javax/swing/table/AbstractTableModel.java
10827         (getValueAt): Removed.
10828         (getColumnCount): Removed.
10829         (getRowCount): Removed.
10830
10831 2004-02-05  Michael Koch  <konqueror@gmx.de>
10832
10833         * java/awt/datatransfer/DataFlavor.java
10834         (imageFlavor): Javadoc added.
10835         (javaJVMLocalObjectType): Fixed.
10836
10837 2004-02-05  Michael Koch  <konqueror@gmx.de>
10838
10839         * java/lang/Thread.java
10840         (Thread): Reordered.
10841         (setContextClassLoader): Fixed javadoc comment.
10842         (setPriority): Reordered.
10843         (yield): Reordered.
10844         (initialize_native): Reordered.
10845         (gen_name): Reordered.
10846
10847 2004-02-05  Michael Koch  <konqueror@gmx.de>
10848
10849         * java/lang/Thread.java: Reordered fields, reformated much code,
10850         no functional changes, some variables renamed, javadoc comments
10851         merged.
10852
10853 2004-02-05  Michael Koch  <konqueror@gmx.de>
10854
10855         * java/util/zip/Deflater.java,
10856         java/util/zip/DeflaterOutputStream.java,
10857         java/util/zip/GZIPInputStream.java:
10858         Reformated and javadoc comments merged from classpath.
10859
10860 2004-02-05  Michael Koch  <konqueror@gmx.de>
10861
10862         * gnu/java/nio/NIOServerSocket.java
10863         (impl): Unused, removed.
10864         * gnu/java/nio/SocketChannelImpl.java
10865         (finnishConnect): Don't throw NoConnectionPendingException if not
10866         connected or no connection pending.
10867
10868 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10869
10870         * javax/swing/SwingUtilities.java: Many new functions.
10871         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10872         * javax/swing/basic/BasicGraphicsUtils.java 
10873         (getPreferredButtonSize): Start layout from top-left corner.
10874
10875 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10876
10877         * java/awt/geom/AffineTransform.java: 
10878         Corrected comments on the field definitions for
10879         m11 and m10.
10880         (shear): Fixed few errors that caused shear
10881         transformation to be performed incorrectly.
10882         (createInverse): Fixed to return correct
10883         inverse of the given matrix.
10884
10885 2004-02-03  Tom Tromey  <tromey@redhat.com>
10886
10887         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10888         PATH or LD_LIBRARY_PATH is not set in parent environment.
10889
10890 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10891
10892         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10893         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10894         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10895         java/awt/Component.java, java/awt/Container.java,
10896         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10897         java/awt/LayoutManager2.java, java/awt/List.java,
10898         java/awt/Menu.java, java/awt/MenuBar.java,
10899         java/awt/MenuItem.java, java/awt/Polygon.java,
10900         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10901         java/awt/Scrollbar.java, java/awt/TextArea.java,
10902         java/awt/TextField.java,
10903         java/awt/image/renderable/RenderContext.java,
10904         javax/swing/JApplet.java: Fix handling of alias methods, where a
10905         method has been deprecated in favour of a new one with the same
10906         funtion but a different name.  Put the method implementation in
10907         the deprecated method and have the new method call the
10908         deprecated one.  Make all other code call the new method.
10909
10910 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10911
10912         * gnu/java/nio/DatagramChannelImpl.java
10913         (inChannelOperation): New field.
10914         (isInChannelOperation): New accessor.
10915         (setInChannelOperation): New modifier.
10916         (receive): Use capacity() - position() of destination
10917         buffer instead of remaining(). Set and reset our "in
10918         channel operation indicator" before and after delegating
10919         the receive to our datagram socket. Removed testing code.
10920         Update destination buffer's current position if it is
10921         backed by a byte array (hasArray() is true).
10922         (send): Set and reset our "in channel operation indicator"
10923         before and after delegating the send to our datagram socket.
10924         Removed testing code. Update source buffer's current position
10925         if it is backed by a byte array (hasArray() is true).
10926         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10927         Use capacity() - position() of destination buffer instead
10928         of remaining().
10929         * java/net/DatagramSocket.java (receive): Don't throw an
10930         IllegalBlockingModeException if we have a non-blocking
10931         channel which initiated this operation.
10932         (send): Likewise.
10933
10934 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10935
10936         * configure.in: Add pkgconfig check for glib and gthread.
10937         * configure: Regenerate.
10938
10939 2004-02-01  Michael Koch  <konqueror@gmx.de>
10940
10941         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10942         arguments.
10943         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10944         * verify.cc (debug_print): Mark 'fmt' unused.
10945
10946 2004-01-30  Michael Koch  <konqueror@gmx.de>
10947
10948         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10949         * configure: Regenerated.
10950         * glib-2.0.m4: Removed.
10951         * gtk-2.0.m4: Removed.
10952         * libart.m4: Removed.
10953         * pkg.m4: New file.
10954
10955 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10956
10957         * gnu/java/net/PlainSocketImpl.java 
10958         (inChannelOperation): New field.
10959         (isInChannelOperation): New accessor.
10960         (setInChannelOperation): New modifier.
10961         * gnu/java/nio/ServerSocketChannelImpl.java
10962         (accept): Set and reset our server socket's PlainSocketImpl's
10963         "in channel operation" indicator before and after delegating
10964         the accept to our server socket.
10965         * gnu/java/nio/SocketChannelImpl.java
10966         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10967         operation" indicator before and after delegating the operation to
10968         our socket.
10969         (read): Likewise.
10970         (write): Likewise.
10971         * java/net/ServerSocket.java (implAccept): Don't throw an
10972         IllegalBlockingModeException if we have a non-blocking
10973         channel which initiated this accept operation.
10974         * java/net/Socket.java (connect): Don't throw an
10975         IllegalBlockingModeException if we have a non-blocking
10976         channel which initiated this connect operation.
10977         * java/nio/channels/spi/AbstractSelectableChannel.java
10978         (configureBlocking): Only call implConfigureBlocking() if
10979         the desired blocking mode is different from our current one.
10980
10981 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10982
10983         * java/io/BufferedReader.java (sbuf): New field.
10984         (readLine): Use String.valueOf instead of new String() as per
10985         Per Bothner's suggestion. Use instance sbuf field instead of a
10986         local StringBuffer instance.
10987         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10988         caller's buffer to refill().
10989         (read(void)): Pass our internal work buffer to refill if our
10990         input queue is empty.
10991         (refill): Changed return type to int. Use the specified buffer
10992         instead of our work buffer as per Bryce McKinlay's suggestion.
10993         Return the number of characters read or -1 for EOF.
10994
10995 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10996
10997         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10998
10999 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11000
11001         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
11002         * Makefile.in: Re-generated.
11003         * gnu/awt/xlib/XFontPeer.java: New file.
11004         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
11005         (setClip): Commented out debug printout.
11006         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
11007         (getFontPeer): Return XFontPeer.
11008         (getLocalGraphicsEnvironment): New method.
11009         (getClasspathFontPeer): New method.
11010         (createFont): New method.
11011
11012 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
11013
11014         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
11015         return null. 
11016
11017 2004-01-29  Kim Ho  <kho@redhat.com>
11018
11019         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11020         (gtkLayoutSetVisible): New method
11021         (setMenuBar): Hide layout before setting MenuBar
11022         and reshow it after.
11023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11024         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
11025
11026 2004-01-28  Michael Koch  <konqueror@gmx.de>
11027
11028         * gnu/java/lang/ClassHelper.java
11029         (getPackagePortion): Removed.
11030
11031 2004-01-28  Michael Koch  <konqueror@gmx.de>
11032
11033         * javax/swing/JComponent.java
11034         (listenerList): Initalize globally.
11035         (ancestor_list): Removed.
11036         (veto_list): Removed.
11037         (change_list): Removed.
11038         (get_veto_list): Removed.
11039         (get_change_list): Removed.
11040         (get_ancestor_list): Removed.
11041         (removeAncestorListener): Reimplemented.
11042         (removePropertyChangeListener): Likewise.
11043         (removeVetoableChangeListener): Likewise.
11044         (addAncestorListener): Likewise.
11045         (addPropertyChangeListener): Likewise.
11046         (addVetoableChangeListener): Likewise.
11047         (getListeners): New method.
11048         (getAncestorListeners): Likewise.
11049         (getVetoableChangeListeners): Likewise.
11050         (fireVetoableChange): Throws PropertyVetoException.
11051         * javax/swing/JEditorPane.java
11052         (JEditorPane): Throws IOException.
11053
11054 2004-01-28  David Jee  <djee@redhat.com>
11055
11056         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11057         (create): Set the default foreground color to
11058         java.awt.SystemColor.windowText.
11059
11060 2004-01-27  Michael Koch  <konqueror@gmx.de>
11061
11062         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11063         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11064         Reindented to merge with classpath.
11065
11066 2004-01-27  David Jee  <djee@redhat.com>
11067
11068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11069         (addExposeFilter): Handle GtkFramePeer separately.
11070         (removeExposeFilter): Likewise.
11071
11072 2004-01-27  Michael Koch  <konqueror@gmx.de>
11073
11074         * gnu/java/net/protocol/http/Connection.java
11075         (getOutputStream): Fixed typo.
11076
11077 2004-01-27  Michael Koch  <konqueror@gmx.de>
11078
11079         * java/lang/Class.java
11080         (getConstructor): Removed SecurityException from throws clause.
11081         (_getConstructors): Likewise.
11082         (getConstructors): Likewise.
11083         (getDeclaredConstructor): Likewise.
11084         (getDeclaredClasses): Likewise.
11085         (getDeclaredConstructors): Likewise.
11086         (getDeclaredField): Likewise.
11087         (getDeclaredMethod): Likewise.
11088         (getDeclaredMethods): Likewise.
11089         (getField): Likewise.
11090         (getMethod): Likewise.
11091         (getMethods): Likewise.
11092
11093 2004-01-27  Kim Ho  <kho@redhat.com>
11094
11095         * gnu/java/awt/peer/gtk/GtkFramePeer.java
11096         (removeMenuBarPeer): Remove MenuBarPeer argument.
11097         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11098         (dispose): Call native method.
11099         * java/awt/Frame.java (setMenuBar): Create and remove
11100         MenuBar peers only if the Frame has a peer.
11101         (addNotify): Create the MenuBar peer if one exists.
11102         (removeNotify): Remove MenuBar peer if one exists.
11103         * java/awt/Menu.java: Fix imports.
11104         (addNotify): Don't use full class name.
11105         (removeNotify): Call removeNotify on all children.
11106         * java/awt/MenuBar.java (removeNotify): Call
11107         removeNotify on all children.
11108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11109         (removeMenuBarPeer): Remove MenuBarPeer argument.
11110         Iterate through children to find the Frame's MenuBar.
11111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11112         New file.
11113         (dispose): Remove references to the MenuComponent.
11114
11115 2004-01-27  Michael Koch  <konqueror@gmx.de>
11116
11117         * javax/swing/AbstractCellEditor.java: Reformated.
11118         * javax/swing/DefaultListSelectionModel.java
11119         (listenerList): Made protected.
11120         (addListSelectionListener): Javadoc added.
11121         (removeListSelectionListener): Likewise.
11122         (getListeners): Likewise.
11123         (getListSelectionListeners): Likewise.
11124         * javax/swing/JComboBox.java: Merged copyright year.
11125         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11126
11127 2004-01-26  Andrew Haley  <aph@redhat.com>
11128
11129         * javax/swing/table/JTableHeader.java: Extend JComponent
11130
11131 2004-01-26  Kim Ho  <kho@redhat.com>
11132
11133         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11134         Fix spacing.
11135
11136 2004-01-26  Kim Ho  <kho@redhat.com>
11137
11138         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11139         method.
11140         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11141         height and let the Layout Managers readjust anything that
11142         needs to move.
11143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11144         (moveLayout): New method. Shift everything in the Gtk
11145         layout in the Y direction by an offset.
11146
11147 2004-01-26  David Jee  <djee@redhat.com>
11148
11149         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11150         (handleEvent): Implemented. Handles PaintEvents.
11151         (paint): Implemented. Use GTK native methods to queue updates
11152         for this heavyweight peer.
11153         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11154         (handleEvent): Removed.
11155         * java/awt/Component.java
11156         (paint): Implemented. Explictly paint the heavyweight peer.
11157         (update): Clear the background for heavyweight components.
11158         (paintAll): No need to call peer.paint() anymore.
11159         (processEvent): Don't process PaintEvents here. It's now done in
11160         the peer's handleEvent().
11161         (processPaintEvent): Removed.
11162         * java/awt/Container.java
11163         (paint): No need to call super.paint(). Visit heavyweight
11164         children as well.
11165         (update): Don't clear the background here.  It's done in
11166         Component.update().
11167         (visitChildren): Added check to not recurse into Containers.
11168         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11169         (filter_expose_event_handler): New method.  Filter unwanted
11170         expose events while painting heavyweight peers.
11171         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11172         New method. Connect filter and block pre_event_handler.
11173         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11174         New method. Disconnect filter and unblock pre_event_handler.
11175         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11176         New method. Invalidate and update given area.
11177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11178         (pre_event_handler): Add checks for unwanted expose events.
11179
11180 2004-01-26  David Jee  <djee@redhat.com>
11181
11182         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11183         (find_bg_color_widget): For GtkButton, return its child.
11184
11185 2004-01-26  Kim Ho  <kho@redhat.com>
11186
11187         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11188         private.
11189         (setMenuBar): Grab MenuBar height and change insets.
11190         (setBounds): Account for MenuBar height.
11191         (postInsetsChangedEvent): Ditto.
11192         (postSizeAllocateEvent): Remove.
11193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11194         (menubar_resize_cb): Remove
11195         (setMenuBarPeer): Remove callback.
11196         (getMenuBarHeight): Use size requisition instead of
11197         allocation.
11198
11199 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11200
11201         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
11202         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11203         when peer is null.
11204         (setColumns): Remove FIXME -- peer will retrieve number of
11205         columns by calling getColumns.
11206         (setRows): Likewise for number of rows.
11207         (next_text_number): New field.
11208         (paramString): Fix param string.
11209         (generateName): New method.
11210         (getUniqueLong): New method.
11211
11212 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11213
11214         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11215         image observer of image loading status.
11216         (getImage (String)): Start image production.
11217         (getImage (URL)): Likewise.
11218
11219 2004-01-25  Michael Koch  <konqueror@gmx.de>
11220
11221         * java/lang/Class.java: Imports reworked, reformated.
11222         (Class): Javadoc added.
11223         (forName): Likewise.
11224         (getClasses): Likewise.
11225         (getClassLoader): Likewise.
11226         (getComponentType): Likewise.
11227         (getConstructor): Likewise.
11228         (getConstructors): Likewise.
11229         (getDeclaredConstructor): Likewise.
11230         (getDeclaredClasses): Likewise.
11231         (getDeclaredConstructors): Likewise.
11232         (getDeclaredField): Likewise.
11233         (getDeclaredMethod): Likewise.
11234         (getDeclaredMethods): Likewise.
11235         (getDeclaringClass): Likewise.
11236         (getField): Likewise.
11237         (getInterfaces): Likewise.
11238         (getMethod): Likewise.
11239         (getMethods): Likewise.
11240         (getModifiers): Likewise.
11241         (getName): Likewise.
11242         (getResource): Likewise.
11243         (getResourceAsStream): Likewise.
11244         (getSigners): Likewise.
11245         (setSigners): Likewise.
11246         (getSuperclass): Likewise.
11247         (isArray): Likewise.
11248         (isAssignableFrom): Likewise.
11249         (isInstance): Likewise.
11250         (isInterface): Likewise.
11251         (isPrimitive): Likewise.
11252         (newInstance): Likewise.
11253         (getProtectionDomain): Likewise.
11254         (toString): Likewise.
11255         (Class): Moved.
11256         (initializeClass): Likewise.
11257         (finalize): Likewise.
11258
11259 2004-01-24  Michael Koch  <konqueror@gmx.de>
11260
11261         * gnu/java/net/protocol/jar/Connection.java
11262         (hdrHash): Removed.
11263         (hdrVec): Removed.
11264         (gotHeaders): Removed.
11265         (getHeaderField): Removed.
11266         (getHeaderFields): Removed.
11267         (getHeaderFieldKey): Removed.
11268         (getKey): Removed.
11269         (getField): Removed.
11270         (getHeaders): Removed.
11271
11272 2004-01-24  Michael Koch  <konqueror@gmx.de>
11273
11274         * Makefile.am: Added library version to gtk peer lib.
11275         * Makefile.in: Regenerated.
11276
11277 2004-01-24  Michael Koch  <konqueror@gmx.de>
11278
11279         * java/util/zip/InflaterInputStream.java: Merged class documentation
11280         with classpath.
11281
11282 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11283
11284         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11285         header.  For __powerpc64__ provide the default-signal.h definitions
11286         for now.
11287         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11288         instead of the dummy definitions.
11289         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11290         (powerpc64*-*): Remove with_libffi_default.
11291         Only add -mminimal-toc for 64-bit compilations.
11292         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11293         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11294         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11295         * configure: Rebuilt.
11296
11297 2004-01-23  Michael Koch  <konqueror@gmx.de>
11298
11299         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11300
11301 2004-01-23  Michael Koch  <konqueror@gmx.de>
11302
11303         * java/lang/VMClassLoader.java: Reworked imports.
11304         
11305 2004-01-23  Michael Koch  <konqueror@gmx.de>
11306
11307         * javax/swing/AbstractAction.java: Reformated.
11308
11309 2004-01-23  Michael Koch  <konqueror@gmx.de>
11310
11311         * java/text/CollationElementIterator.java:
11312         (setText): New method.
11313
11314 2004-01-23  Michael Koch  <konqueror@gmx.de>
11315
11316         * gnu/java/nio/FileLockImpl.java:
11317         Fixed filename in copyright.
11318         (released): Removed.
11319         (finalize): New method.
11320         * gnu/java/nio/natFileLockImpl.cc
11321         (releaseImpl): Implemented.
11322         * java/nio/channels/FileChannelImpl.java:
11323         Reworked imports.
11324         (lock): Implemented.
11325         (lockImpl): New method.
11326         (tryLock): Implemented.
11327         (tryLockImpl): New method.
11328         * java/nio/channels/natFileChannelImpl.cc
11329         (lockImpl): New method.
11330         (tryLockImpl): New method.
11331
11332 2004-01-23  Michael Koch  <konqueror@gmx.de>
11333
11334         * java/io/FileDescriptor.java
11335         (lock): New method.
11336         (tryLock): New method.
11337         (unlock): New method.
11338         * java/io/natFileDescriptorEcos.cc
11339         (lock): New method.
11340         (tryLock): New method.
11341         (unlock): New method.
11342         * java/io/natFileDescriptorPosix.cc
11343         (lock): New method.
11344         (tryLock): New method.
11345         (unlock): New method.
11346         * java/io/natFileDescriptorWin32.cc
11347         (lock): New method.
11348         (tryLock): New method.
11349         (unlock): New method.
11350
11351 2004-01-23  Michael Koch  <konqueror@gmx.de>
11352
11353         * java/io/FileDescriptor.java
11354         (sync): Moved around, added javadoc.
11355         (valid): Likewise.
11356         (open): Likewise.
11357         (write): Likewise.
11358         (close): Likewise.
11359         (setLength): Likewise.
11360         (seek): Likewise.
11361         (getLength): Likewise.
11362         (getFilePointer): Likewise.
11363         (read): Likewise.
11364         (available): Likewise.
11365         (finalize): Likewise.
11366
11367 2004-01-23  Michael Koch  <konqueror@gmx.de>
11368
11369         * javax/swing/AbstractAction.java: Reformated.
11370         (getPropertyChangeListeners): New method.
11371         * javax/swing/AbstractCellEditor.java: Reformated.
11372         (getCellEditorListeners): New method.
11373         * javax/swing/DefaultListSelectionModel.java
11374         (listenerList): New field.
11375         (listeners): Removed.
11376         (get_listeners): Removed.
11377         (addListSelectionListener): Rewritten.
11378         (removeListSelectionListener): Rewritten.
11379         (getListSelectionListeners): New method.
11380         (getListeners): New method.
11381         * javax/swing/JComboBox.java: Imports reworked.
11382         (addActionListener): Implemented.
11383         (removeActionListener): Implemented.
11384         (addItemListener): Implemented.
11385         (removeItemListener): Implemented.
11386         (addPopupMenuListener): Implemented.
11387         (removePopupMenuListener): Implemented.
11388         (getActionListeners): New method.
11389         (getItemListeners): New method.
11390         (getPopupMenuListeners): New method.
11391
11392 2004-01-23  Michael Koch  <konqueror@gmx.de>
11393
11394         * gnu/java/net/protocol/http/Connection.java
11395         (connect): Don't initialize bufferedOutputStream if not needed.
11396         (sendRequest): Set property for content length if content is present.
11397         Write content only if present.
11398         (getOutputStream): Check if already connected, dont connect,
11399         initalize bufferedOutputStream if needed.
11400
11401 2004-01-23  Michael Koch  <konqueror@gmx.de>
11402
11403         * java/io/FileDescriptor.java
11404         (in, out, err): Added javadoc.
11405         (static): Merged loading code.
11406         (fd, position): Moved around.
11407
11408 2004-01-23  Michael Koch  <konqueror@gmx.de>
11409
11410         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11411         New file.
11412
11413 2004-01-23  Michael Koch  <konqueror@gmx.de>
11414
11415         * java/lang/Class.java,
11416         java/lang/Object.java,
11417         java/lang/Thread.java: Merged copyright with classpath.
11418
11419 2004-01-23  Michael Koch  <konqueror@gmx.de>
11420
11421         * java/io/FileDescriptor.java: Merged copyright with classpath to
11422         start merging this class.
11423
11424 2004-01-22  Tom Tromey  <tromey@redhat.com>
11425
11426         PR libgcj/13107:
11427         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11428         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11429         * testsuite/libjava.lang/pr13107_3.java: New file.
11430         * testsuite/libjava.lang/pr13107_3.out: New file.
11431         * testsuite/libjava.lang/pr13107_2.java: New file.
11432         * testsuite/libjava.lang/pr13107_2.out: New file.
11433         * testsuite/libjava.lang/pr13107.java: New file.
11434         * testsuite/libjava.lang/pr13107.out: New file.
11435         * verify.cc (jsr_ptrs): Removed.
11436         (entry_points): Likewise.
11437         (struct subr_info): Likewise.
11438         (struct subr_entry_info): Likewise.
11439         (type_val::unused_by_subroutine_type): Likewise.
11440         (type::merge): Don't handle unused_by_subroutine_type.
11441         (type::print): Likewise.
11442         (state::flags): Removed.
11443         (state::subroutine): Likewise.
11444         (state::seen_subrs): Likewise.
11445         (state::NO_STACK): Likewise.
11446         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11447         (state): Updated all methods.
11448         (state::clean_subrs): Removed.
11449         (state::state): Removed `ret_semantics' flag.
11450         (state::copy): Likewise.
11451         (state::add_subr): Removed.
11452         (state::enter_subroutine): Likewise.
11453         (type::set_return_address): New method.
11454         (handle_jsr_insn): Set return address on the type.  Always
11455         invalidate PC after call.
11456         (check_nonrecursive_call): Removed.
11457         (~_Jv_BytecodeVerifier): Updated.
11458         (branch_prepass): Removed special handling of jsr.
11459         (note_branch_target): Likewise.
11460         (get_subroutine): Removed.
11461         (state::merge): Don't merge subroutines and don't handle
11462         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11463         (state::note_variable): Removed.
11464         (state::is_unmerged_ret_state): Likewise.
11465         (state::print): Updated.
11466         (set_variable): Likewise.
11467         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11468         and jsr_semantics arguments.  Updated for new reverification
11469         list.
11470         (pop_jump): Rewrote.
11471         (construct_primitive_array_type): Updated.
11472         (state::next): Removed.
11473         (INVALID_STATE): New define.
11474         (state::INVALID): Removed.
11475         (state::NO_NEXT): New value.
11476         (state::pc, state::next): New fields.
11477         (state::get_pc): New method.
11478         (next_verify_pc): Removed.
11479         (next_verify_state): New field.
11480         (verify_instructions_0): Always check for falling off end.
11481         (linked): New type.
11482         (linked_utf8): Removed.
11483         (states): Changed type.
11484         (type::state_mergeable_p): New method.
11485         (state::state_mergeable_p): Likewise.
11486         (handle_ret_insn): Removed most code.
11487         (state::reverify): New method.
11488         (add_new_state): Likewise.
11489         (state::set_pc): Likewise.
11490
11491 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11492
11493         PR java/13733
11494         * testsuite/libjava.compile/PR13733.java: New file.
11495         * testsuite/libjava.compile/PR13733.xfail: New file.
11496
11497 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11498             Michael Koch  <konqueror@gmx.de>
11499
11500         * javax/swing/table/DefaultTableCellRenderer.java
11501         (DefaultTableCellRenderer): Added javadoc for the class and for
11502         the constructor, Border instance, create an EmptyBorder.
11503         (UIResource): Removed the comment at the end of the class
11504         (setForeground): New method.
11505         (setBackground): New method.
11506         (updateUI): New method.
11507         (getTableCellRendererComponent): Rewritten with the help of
11508         dvholten and Stephane Meslin-Weber.
11509         (validate): New method.
11510         (repaint): New method.
11511         (firePropertyChange): New method.
11512         (setValue): New method.
11513
11514 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11515
11516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11517         (connectJObject): Replace printf calls with g_assert statements.
11518         Move property-notify-event signal connection to ...
11519         (connectSignals): Connect property-notify-event signal.  Iterate
11520         through the vbox's children to find layout.
11521
11522 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11523         
11524         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11525         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11526         Predicate static initialization on GtkToolkit.useGraphics2D().
11527         * java/awt/Component.java (processPaintEvent): Consume event.
11528         * javax/swing/AbstractButton.java: Reimplement, document.
11529         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11530         * javax/swing/JComponent.java (paint): Use double buffer.
11531         (listenerList): Enable member.
11532         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11533         * javax/swing/JToggleButton.java 
11534         (JToggleButton): Modify model constructor.
11535         * javax/swing/SwingUtilities.java 
11536         (layoutCompoundLabel): Adjust arithmetic.
11537         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11538         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11539         (getPreferredButtonSize): Include margins in calculation.
11540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11541         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11542         Receive up events from subordinate layout component.
11543
11544 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11545
11546         * java/awt/Component.java (show): Set visible to true before
11547         showing the peer.
11548
11549 2004-01-21  Kim Ho  <kho@redhat.com>
11550
11551         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11552         Fix comments.
11553         (removeMenuBarPeer): Make package private.
11554         (setMenuBarPeer): Make package private.
11555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11556         (menubar_resize_cb): Mark attributes unused.
11557         (getMenuBarHeight): ditto.
11558
11559 2004-01-21  David Jee  <djee@redhat.com>
11560
11561         * java/awt/Container.java
11562         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11563         dispatching MOUSE_ENTERED event twice. Translate the point for
11564         the mouse event target before dispatching the event.
11565
11566 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11567
11568         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11569         lib_org_w3c_dom_la_LDFLAGS): New.
11570         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11571         * Makefile.in: Rebuilt.
11572
11573 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11574
11575         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11576         Calculate proper offsets for heavyweight components packed in
11577         lightweight containers.
11578
11579         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11580         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11581         (native create): Add width parameter.
11582         (create): Calculate text entry width based on current font's
11583         metrics and number of columns.  Set TextField's font if not
11584         already set.  Call native create.
11585         (gtkEntryGetBorderWidth): New native method.
11586         (gtkEntryGetSize): Remove method.
11587         (getMinimumSize): Call minimumSize.
11588         (getPreferredSize): Call preferredSize.
11589         (minimumSize): Calculate minimum size based on backing
11590         GtkEntry's borders, font metrics and number of columns.
11591         (preferredSize): Likewise for preferred size.
11592         (get_border_width): New static function.
11593
11594         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11595         Override GtkWindowPeer's setResizable method to account for menu
11596         bar height when setting the frame's size.
11597
11598 2004-01-19  Matthias Klose  <doko@debian.org>
11599
11600         * libtool-version: Increased `current' to 6.
11601
11602 2004-01-19  Kim Ho  <kho@redhat.com>
11603
11604         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11605         (connectJObject): Iterate through the vbox's children to find layout.
11606
11607 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11608
11609         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11610         isDispatchThread method to replace wrong test condition.
11611
11612 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11613
11614         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11615         events to the queue out of order by acquiring locks in the proper
11616         order and not by releasing one before acquiring the other.
11617
11618 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11619
11620         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11621         visible so that dialog can be reused.
11622
11623 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11624
11625         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11626         events may be handled by any queue in the stack.
11627
11628 2004-01-19  Kim Ho  <kho@redhat.com>
11629
11630         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11631         MenuBarPeer parameter.
11632         (removeMenuBarPeer): New native method.
11633         (setMenuBar): Call remove if menu bar is null. Adjust insets
11634         appropriately.
11635         (postSizeAllocateEvent): New method. Called when menu bar size is
11636         allocated. Adjust insets and redo layout.
11637         (GtkFramePeer): Set menu bar during frame creation.
11638         (postConfigureEvent): Adjust position and size to accomodate
11639         menu bar.
11640         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11641         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11642         (addNotify): Create the peer if it doesn't exist and call addNotify
11643         for the menu's items.
11644         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11645         * java/awt/MenuItem.java (addNotify): Create the peer if it
11646         doesn't exist.
11647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11648         (removeMenuBarPeer): New method. Remove menu bar on the current
11649         frame.
11650         (setMenuBarPeer): Add the menu bar to the current frame and the
11651         callback for size-allocate events on the menu bar.
11652         (getMenuBarHeight): Add menu bar parameter.
11653         (menubar_resize_cb): New callback method for postSizeAllocate events.
11654
11655         Also: Fix indentation on last ChangeLog entry.
11656
11657 2004-01-16  Kim Ho  <kho@redhat.com>
11658
11659         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11660         (gtkWidgetGetDimensions): Remove.
11661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11662         (gtkWidgetGetDimensions): Remove.
11663
11664 2004-01-16  Tom Tromey  <tromey@redhat.com>
11665
11666         * java/awt/Container.java: Typo and indentation fixes.
11667
11668         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11669         * java/lang/natVMClassLoader.cc: ...here.  New file.
11670         * Makefile.in: Rebuilt.
11671         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11672
11673 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11674
11675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11676         Discard GDK_ENTER_NOTIFY related to ungrabs.
11677
11678 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11679
11680         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11681         is called for an intermediate queue.
11682
11683 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11684
11685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11686         (window_property_changed_cb): Set id_set.
11687
11688 2004-01-16  Kim Ho  <kho@redhat.com>
11689
11690         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11691         it is a FileDialog and has dimensions of 0 by 0, then the initial
11692         size is set to size request plus insets.
11693         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11694         (gtkWidgetGetDimensions): Override method.
11695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11696         (gtkWidgetGetDimensions): Override method. Returns size request plus
11697         insets.
11698
11699 2004-01-16  Andrew Haley  <aph@redhat.com>
11700
11701         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11702         * sysdep/i386/locks.h: Likewise.
11703
11704 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11705
11706         * java/awt/EventDispatchThread.java (run): Stop running when
11707         interrupted.
11708         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11709         Reset the queue after transferring its contents.
11710         (push): Start a new dispatch thread if none is running.
11711
11712 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11713
11714         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11715         (doPolygon): set fill rule of polygon to 
11716         WIND_EVEN_ODD by default.
11717
11718 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11719
11720         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11721         Implemented rendering hints related methods.
11722         (getDefaultHints): New helper method. Returns
11723         default rendering hints.
11724         (walkPath): changed to normalize path if
11725         the KEY_STROKE_CONTROL key is in "normalize" mode.
11726         (draw3DRect): changed coordinates of rectangle by +0.5
11727         if in "normalize" mode.
11728
11729 2004-01-15  Tom Tromey  <tromey@redhat.com>
11730
11731         * Makefile.in: Rebuilt.
11732         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11733         (%.lo: %.java) Filter out StackTrace.lo.
11734
11735 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11736
11737         * configure.in: Add in AC_PREREQ(2.13)
11738         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11739         FIXME comment.
11740
11741 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11742             Tom Tromey  <tromey@redhat.com>
11743
11744         PR libgcj/12001:
11745         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11746         array to superclass.
11747         (init): Changed interface; add URLs here.
11748         (initialize): New static method.
11749         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11750         (_Jv_RunMain): ... not here.
11751
11752 2004-01-14  Michael Koch  <konqueror@gmx.de>
11753
11754         * java/text/MessageFormat.java:
11755         Added descriptions to exceptions.
11756         This fixes PR libgcj/2429.
11757
11758 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11759
11760         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11761         (push): Make sure push is performed at the top of the thread stack.
11762
11763 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11764
11765         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11766         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11767         (native create): Add width and height parameters.  Set text
11768         view's size request according to new parameters.
11769         (create): Calculate text view size based on current font's
11770         metrics and number of rows and columns.  Set TextArea's font if
11771         not already set.  Call native create.
11772         (getMinimumSize): Call minimumSize.
11773         (getPreferredSize): Call preferredSize.
11774         (getHScrollbarHeight): New method.
11775         (getVScrollbarWidth): New method.
11776         (minimumSize): Calculate minimum size based on scrollbar
11777         visibility, scrollbar sizes, font metrics and number of rows and
11778         columns.
11779         (preferredSize): Likewise for preferred size.
11780         (gtkTextGetSize): Remove method.
11781
11782 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11783
11784         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11785         (initializeInsets): Remove method.
11786         (GtkComponentPeer): Initialize insets field.  Remove call to
11787         initializeInsets.
11788         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11789         Remove method.
11790         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11791         Remove method.
11792         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11793         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11794         (latestInsets): Remove field.
11795         (native create): Add insets parameter.  Call
11796         window_get_frame_extents.  Set the window's default size and
11797         size request based on its frame extents.
11798         (create): Initialize insets.
11799         (postInsetsChangedEvent): New method.
11800         (postConfigureEvent): Remove parameters top, left, bottom,
11801         right.  Remove insets-related logic.
11802         (connectJObject): Handle property-notify-event.
11803         (window_get_frame_extents, request_frame_extents,
11804         property_notify_predicate, window_property_changed_cb): New
11805         static functions.
11806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11807         (pre_event_handler): Remove insets-related logic for configure
11808         events.
11809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11810         Update postConfigureEvent signature.
11811
11812 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11813  
11814         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11815         to handle Window "Closing" events.
11816  
11817 2004-01-13  David Jee  <djee@redhat.com>
11818
11819         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11820         (setBackground): New method. Children with no explicitly-set
11821         background will be repainted with the parent container's new
11822         background color.
11823
11824 2004-01-13  David Jee  <djee@redhat.com>
11825
11826         * Makefile.am: Add BitwiseXORComposite.java.
11827         * Makefile.in: Regenerated.
11828         * gcj/Makefile.in: Regenerated.
11829         * include/Makefile.in: Regenerated.
11830         * testsuite/Makefile.in: Regenerated.
11831
11832 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11833
11834         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11835         not show modal dialogs twice and so that it allows showing a modal
11836         dialog from another modal dialog.
11837
11838 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11839
11840         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11841         and run secondary dispatch thread to process event queue while this
11842         thread is blocked.
11843
11844 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11845
11846         * gnu/java/awt/gtk/GdkGraphics2D.java
11847         (static): Check GtkToolkit before initializing static state.
11848         (Graphics2D): Don't construct transform with 0.5 unit offset.
11849
11850 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11851
11852         * gnu/java/awt/BitwiseXORComposite.java: Add.
11853         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11854         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11855         (BitwiseXORComposite): Remove inner class.
11856
11857 2004-01-11  Michael Koch  <konqueror@gmx.de>
11858
11859         * gnu/java/lang/reflect/TypeSignature.java
11860         (getEncodingOfClass): Documentation fixed.
11861         (getClassForEncoding): Give class loader to Class.forName().
11862         Documentation fixed.
11863
11864 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11865
11866         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11867
11868 2004-01-11  Michael Koch  <konqueror@gmx.de>
11869
11870         * javax/swing/undo/StateEditable.java
11871         (RCSID): Removed redundant modifiers.
11872
11873 2004-01-10  Michael Koch  <konqueror@gmx.de>
11874
11875         * javax/print/attribute/EnumSyntax.java
11876         (getStringTable): Made protected.
11877         (getEnumValueTable): Likewise.
11878         * javax/print/attribute/standard/JobKOctetsProcessed.java
11879         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11880         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11881         (JobMediaSheetsCompleted): Made class final.
11882         * javax/print/attribute/standard/OutputDeviceAssigned.java
11883         (getName): Fixed typo.
11884         * javax/print/attribute/standard/RequestingUserName.java
11885         (serialVersionUID): Fixed value.
11886
11887 2004-01-10  Michael Koch  <konqueror@gmx.de>
11888
11889         * javax/swing/plaf/basic/BasicButtonUI.java,
11890         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11891         javax/swing/plaf/basic/BasicListUI.java,
11892         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11893         javax/swing/plaf/basic/BasicPanelUI.java,
11894         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11895         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11896         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11897         javax/swing/plaf/basic/BasicViewportUI.java:
11898         Fixed import statements.
11899
11900 2004-01-10  Michael Koch  <konqueror@gmx.de>
11901
11902         * gnu/java/awt/image/ImageDecoder.java
11903         (produce): Made public.
11904         * gnu/java/awt/peer/GLightweightPeer.java,
11905         gnu/java/awt/peer/gtk/GtkToolkit.java:
11906         Reformated.
11907
11908 2004-01-10  Michael Koch  <konqueror@gmx.de>
11909
11910         * javax/swing/JRadioButtonMenuItem.java,
11911         javax/swing/JSeparator.java,
11912         javax/swing/JSplitPane.java,
11913         javax/swing/JTextPane.java,
11914         javax/swing/JToolBar.java,
11915         javax/swing/ListCellRenderer.java,
11916         javax/swing/ListModel.java,
11917         javax/swing/MenuElement.java,
11918         javax/swing/OverlayLayout.java,
11919         javax/swing/ProgressMonitor.java,
11920         javax/swing/ProgressMonitorInputStream.java,
11921         javax/swing/Renderer.java,
11922         javax/swing/RootPaneContainer.java,
11923         javax/swing/Scrollable.java,
11924         javax/swing/SingleSelectionModel.java,
11925         javax/swing/ToolTipManager.java,
11926         javax/swing/ViewportLayout.java,
11927         javax/swing/event/DocumentEvent.java,
11928         javax/swing/event/SwingPropertyChangeSupport.java,
11929         javax/swing/event/TreeSelectionEvent.java,
11930         javax/swing/event/UndoableEditEvent.java,
11931         javax/swing/text/AbstractDocument.java,
11932         javax/swing/text/AttributeSet.java,
11933         javax/swing/text/Caret.java,
11934         javax/swing/text/ComponentView.java,
11935         javax/swing/text/DefaultCaret.java,
11936         javax/swing/text/DefaultEditorKit.java,
11937         javax/swing/text/Document.java,
11938         javax/swing/text/EditorKit.java,
11939         javax/swing/text/GapContent.java,
11940         javax/swing/text/Keymap.java,
11941         javax/swing/text/MutableAttributeSet.java,
11942         javax/swing/text/PlainEditorKit.java,
11943         javax/swing/text/Segment.java,
11944         javax/swing/text/Style.java,
11945         javax/swing/text/StyledDocument.java,
11946         javax/swing/text/StyledEditorKit.java,
11947         javax/swing/text/TextAction.java,
11948         javax/swing/text/View.java: Fixed import statements.
11949
11950 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11951
11952         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11953         djee@redhat.com's recent inverse ordering of Container elements.
11954
11955 2004-01-09  Michael Koch  <konqueror@gmx.de>
11956
11957         * gnu/java/lang/ArrayHelper.java
11958         (equalsArray): Removed.
11959
11960 2004-01-09  Andrew Haley  <aph@redhat.com>
11961
11962         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11963         a Utf8Const field before looking at its class.
11964
11965 2004-01-09  Michael Koch  <konqueror@gmx.de>
11966
11967         * javax/print/attribute/standard/DocumentName.java,
11968         javax/print/attribute/standard/JobHoldUntil.java,
11969         javax/print/attribute/standard/JobMessageFromOperator.java,
11970         javax/print/attribute/standard/JobName.java,
11971         javax/print/attribute/standard/JobOriginatingUserName.java,
11972         javax/print/attribute/standard/OutputDeviceAssigned.java,
11973         javax/print/attribute/standard/PrinterInfo.java,
11974         javax/print/attribute/standard/PrinterLocation.java,
11975         javax/print/attribute/standard/PrinterMakeAndModel.java,
11976         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11977         javax/print/attribute/standard/PrinterName.java,
11978         javax/print/attribute/standard/RequestingUserName.java: New files.
11979         * Makefile.am (javax_source_files): Added new files.
11980         * Makefile.in: Regenerated.
11981
11982 2004-01-09  Michael Koch  <konqueror@gmx.de>
11983
11984         * javax/swing/AbstractAction.java,
11985         javax/swing/AbstractSet.java,
11986         javax/swing/Action.java,
11987         javax/swing/ActionMap.java,
11988         javax/swing/BoundedRangeModel.java,
11989         javax/swing/ButtonModel.java,
11990         javax/swing/CellEditor.java,
11991         javax/swing/CellRendererPane.java,
11992         javax/swing/ComboBoxEditor.java,
11993         javax/swing/DebugGraphics.java,
11994         javax/swing/DefaultCellEditor.java,
11995         javax/swing/DefaultCellRenderer.java,
11996         javax/swing/DefaultComboBoxModel.java,
11997         javax/swing/DefaultDesktopManager.java,
11998         javax/swing/DefaultFocusManager.java,
11999         javax/swing/DefaultListCellRenderer.java,
12000         javax/swing/Icon.java,
12001         javax/swing/JButton.java,
12002         javax/swing/JCheckBoxMenuItem.java,
12003         javax/swing/JDesktopPane.java,
12004         javax/swing/JEditorPane.java,
12005         javax/swing/JMenu.java,
12006         javax/swing/JPanel.java,
12007         javax/swing/JPasswordField.java,
12008         javax/swing/JPopupMenu.java,
12009         javax/swing/JProgressBar.java: Reworked imports.
12010
12011 2004-01-09  Michael Koch  <konqueror@gmx.de>
12012
12013         * java/awt/geom/PathIterator.java
12014         (WIND_EVEN_ODD): Removed redundant modifiers.
12015         (WIND_NON_ZERO): Likewise.
12016         (SEG_MOVETO): Likewise.
12017         (SEG_LINETO): Likewise.
12018         (SEG_QUADTO): Likewise.
12019         (SEG_CUBICTO): Likewise.
12020         (SEG_CLOSE): Likewise.
12021         * java/awt/image/SinglePixelPackedSampleModel.java:
12022         Removed redundant semicolon.
12023         * java/io/ObjectInputStream.java
12024         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
12025         * java/util/logging/Filter.java
12026         (isLoggable): Removed redundant modifier.
12027         * java/util/logging/LogManager.java:
12028         Removed redundant semicolon.
12029         * java/util/logging/XMLFormatter.java
12030         (format): Removed unused variable "key".
12031
12032 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
12033
12034         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12035         New name for the former setFile native method.
12036         (setFile): New method.
12037         (setDirectory): Implemented.
12038         (connectSignals): New native method.
12039         (setFilenameFilter): Improve comment.
12040         (getGraphics): Comment.
12041         (gtkHideFileDialog): New method.
12042         (gtkDisposeFileDialog): New method.
12043         (gtkSetFilename): New method.
12044         * java/awt/Dialog.java (show): Block on modal dialogs, but only
12045         for FileDialog for now.
12046         (hide): New method.
12047         (dispose): New method.
12048         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12049         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12050         deprecated creation functions.  Make dialog modal.  Add it to the
12051         window group.
12052         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12053         function.
12054         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12055         Rename to...
12056         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12057         name.
12058         (window_closed): New function.
12059         (ok_clicked): New function.
12060         (cancel_clicked): New function.
12061
12062 2004-01-08  Michael Koch  <konqueror@gmx.de>
12063
12064         * javax/swing/JLayeredPane.java: Revert changes to standard
12065         boilerplate, reworked imports.
12066
12067 2004-01-07  Tom Tromey  <tromey@redhat.com>
12068
12069         PR libgcj/13439:
12070         * verify.cc (state::merge): Copy changed locals out of subroutine
12071         in NO_STACK case.
12072         (state::FLAG_CHANGED): New const.
12073         (state::FLAG_UNUSED): Likewise.
12074         (state::local_changed): Removed.  Updated all users.
12075         (state::flags): New field.
12076         (state::merge): Added jsr_semantics argument, more logic.
12077         (push_jump_merge): Added jsr_semantics argument.
12078         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12079         merging through the jsr instruction.
12080
12081 2004-01-07  Tom Tromey  <tromey@redhat.com>
12082
12083         * scripts/MakeDefaultMimeTypes.java: Use \n, not
12084         backslash-newline.
12085
12086 2004-01-07  Graydon Hoare  <graydon@redhat.com>
12087
12088         * java/awt/Container.java (LightweightDispatcher): Implement.
12089         (visitChild): Reuse graphics object.
12090         (dispatchEventImpl): Optionally dispatch to lightweight.
12091         (addNotifyContainerChildren): Build LightweightDispatcher.
12092
12093 2004-01-07  David Jee  <djee@redhat.com>
12094
12095         * java/awt/Container.java
12096         (update): Clear only the clipped region, instead of clearing the
12097         entire Container.
12098         (visitChildren): Visit children in descending order.
12099
12100 2004-01-07  Michael Koch  <konqueror@gmx.de>
12101
12102         * java/lang/reflect/Array.java: Merged documentation with classpath.
12103
12104 2004-01-07  Michael Koch  <konqueror@gmx.de>
12105
12106         * java/text/CollationElementIterator.java
12107         (textIndex): Renamed from index.
12108         * java/text/CollationKey.java
12109         (collator): New member.
12110         (CollationKey): New argument for parent collator.
12111         (equals): Check for same collator, source string and key array.
12112         * java/text/RuleBasedCollator.java:
12113         Reformated.
12114         (RuleBasedCollator): Don't re-initialize frenchAccents with default
12115         value.
12116         (getCollationElementIterator): Rewritten.
12117         (getCollationKey): Added new argument to CollationKey constructor.
12118
12119 2004-01-07  Michael Koch  <konqueror@gmx.de>
12120
12121         * gnu/java/nio/DatagramChannelImpl.java
12122         (blocking): Removed.
12123         (DatagramChannelImpl): Call configureBlocking().
12124         (implConfigureBlocking): Dont initialize blocking.
12125         * gnu/java/nio/ServerSocketChannelImpl.java
12126         (blocking): Removed.
12127         (ServerSocketChannelImpl): Call configureBlocking().
12128         (implConfigureBlocking): Dont initialize blocking.
12129         * gnu/java/nio/SocketChannelImpl.java
12130         (blocking): Removed.
12131         (SocketChannelImpl): Call configureBlocking().
12132         (implConfigureBlocking): Dont initialize blocking.
12133         (connect): Use isBlocking().
12134         * java/nio/channels/spi/AbstractSelectableChannel.java
12135         (configureBlocking): Use blockingLock() instead of LOCK.
12136         Set blocking after successfully called implConfigureBlocking().
12137         (register): Use blockingLock() instead of LOCK.
12138
12139 2004-01-07  Michael Koch  <konqueror@gmx.de>
12140
12141         * java/net/ServerSocket.java (isBound): Fixed documentation.
12142
12143 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
12144
12145         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12146         (changeEvent): Create event object on demand.
12147         (DefaultBoundedRangeModel, toString, setValue, setExtent,
12148         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12149         fireStateChanged): Re-written.
12150         * javax/swing/event/EventListenerList.java: Reformatted, document
12151         typical usage.
12152         (toString): Implemented.
12153         (getListeners): Re-written.
12154         (remove): Re-written.
12155         (add): Re-written.
12156         (NO_LISTENERS): New singleton field.
12157         (listenerList): Declare as transient; document.
12158         (serialVersionUID): Document.
12159         (getListenerCount(Class)): More efficient implementation,
12160         also accepts null argument.  Improve Javadoc.
12161         (getListenerCount()): Remove unnecessary cast; docfix.
12162         * javax/swing/undo/UndoableEditSupport.java:
12163         Re-format, document.
12164         (UndoableEditSupport): Set realSource field. Improve documentation.
12165         (_postEdit): Iterate over cloned listener vector.
12166         (toString): Don't emit realSource.
12167         (beginUpdate, endUpdate): Support nested updates.
12168         (postEdit): Use compound edit if present.
12169
12170 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12171
12172         * java/awt/Container.java (swapComponents): Add forgotten
12173         function, required for JLayeredPane change.
12174
12175 2004-01-06  Michael Koch  <konqueror@gmx.de>
12176
12177         * java/text/CollationElementIterator.java: Reformated.
12178         (CollationElementIterator): Changed order of arguments.
12179         * java/text/RuleBasedCollator.java
12180         (RuleBasedCollator): Merged class documentation.
12181         (CollationElement): Added documentation.
12182         (compare): Reformated, renamed arguments.
12183         (equals): Likewise.
12184         (getCollationElementIterator): Likewise.
12185         (getCollationKey): Likewise.
12186
12187 2004-01-06  Graydon Hoare  <graydon@redhat.com>
12188
12189         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12190
12191 2004-01-06  Michael Koch  <konqueror@gmx.de>
12192
12193         * gnu/java/net/protocol/file/Connection.java:
12194         Reformated copyright.
12195         (hdrHash): Removed.
12196         (hdrVec): Removed.
12197         (gotHeaders): Removed.
12198         (getHeaderField): Removed.
12199         (getHeaderField): Removed.
12200         (getHeaderFieldKey): Removed.
12201         (getKey): Removed.
12202         (getField): Removed.
12203         (getHeaders): Removed.
12204
12205 2004-01-06  Michael Koch  <konqueror@gmx.de>
12206
12207         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12208         javax/print/attribute/standard/DateTimeAtCreation.java,
12209         javax/print/attribute/standard/DateTimeAtProcessing.java,
12210         javax/print/attribute/standard/JobImpressionsCompleted.java,
12211         javax/print/attribute/standard/JobKOctets.java,
12212         javax/print/attribute/standard/JobKOctetsProcessed.java,
12213         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12214         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12215         * Makefile.am (javax_source_files): Added new files.
12216         * Makefile.in: Regenerated.
12217
12218 2004-01-06  Michael Koch  <konqueror@gmx.de>
12219
12220         * java/net/URLConnection.java
12221         (contentHandler): Removed.
12222         (locale): Removed.
12223         (getHeaderFields): Return an empty map instead of null.
12224         (getContent): Connect if needed, renamed "cType" to "type" and
12225         "contentHandler" to "ch" and made it a local variable.
12226         (getPermission): Don't use package in class name.
12227         (setDefaultRequestProperty): Fixed typo in documentation.
12228         (initializeDateFormats): Made locale a local variable.
12229
12230 2004-01-06  Michael Koch  <konqueror@gmx.de>
12231
12232         * java/lang/Package.java
12233         (getPackage): Get the current class loader directly.
12234         * java/lang/SecurityManager.java
12235         (currentLoadedClass): Dont iterate over class contexts.
12236         (classLoaderDepth): Don't check class loaders if everything is allowed.
12237
12238 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12239
12240         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12241         (pre_event_handler): Set all insets to 0 when a Configure event
12242         is received for a GtkPlug.
12243         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12244         Make handle long, not int.
12245         (EmbeddedWindow()): New constructor.
12246         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12247         long, not int.
12248         (setHandle): New method.
12249         (getHandle): Return long, not int.
12250         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12251         declaration.
12252         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12253         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12254         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12255         argument to GdkNativeWindow.
12256         (construct): New method.
12257         (embed): New method.
12258
12259         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12260         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12261         (create(int, int)): New method.
12262         (create): Call new create method.
12263         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12264         methods.
12265         (childResized): Remove native implementation.  Implement in
12266         Java.
12267         (getHScrollbarHeight, getVScrollbarWidth): Call
12268         gtk_widget_size_request to get scrollbar dimensions.
12269         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12270         call getVScrollbarWidth and getHScrollbarHeight when vertical
12271         and horizontal scrollbars respectively are needed.
12272         (doLayout): Enlarge child if it is smaller than the viewport.
12273
12274 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12275
12276         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12277         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12278         argument as per spec.
12279
12280 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12281
12282         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12283         (insert): Ditto.
12284         (remove): Ditto.  Also, Check for valid argument.
12285         (removeAll): Use peer interface method.
12286         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12287         native add function.
12288         (nativeRemove): New name for native remove function.
12289         (getHistory): New native function.
12290         (constructor): Generate ItemEvent.
12291         (add): Ditto, if selection is changed.
12292         (remove): Ditto, ditto.
12293         (removeAll): Add implementation.
12294         (handleEvent): Remove.  Dead code.
12295         (choicePostItemEvent): Add comment.
12296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12297         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12298         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12299         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12300         comments and fix condition to change selection.
12301         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12302         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12303         remove all capability.
12304         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12305         (item_activate): Add cast to remove compiler warning.
12306
12307 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12308
12309         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12310         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12311         (getPreferredSize): Call preferredSize.
12312         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12313         (getMinimumSize): Call minimumSize.
12314         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12315         (gtkWidgetGetDimensions): Return the peer widget's current size
12316         request.
12317         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12318         natural size request.
12319
12320 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12321
12322         Thanks to Brian Gough <bjg@network-theory.com>
12323         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12324         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12325
12326 2004-01-04  Matthias Klose  <doko@debian.org>
12327
12328         * aclocal.m4: Rebuilt using "aclocal -I .".
12329         * configure: Rebuilt.
12330
12331 2004-01-03  Per Bothner  <per@bothner.com>
12332
12333         * java/util/Date.java (parse):  Fix a number of problems.
12334         (skipParens):  Remove no-longer-needed method.
12335