OSDN Git Service

PR target/18444
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
2
3         PR target/18444
4         * configure.ac (threading): Accept 'posix95'.
5         * configure: Regenerate.
6
7 2004-11-22  Michael Koch  <konqueror@gmx.de>
8
9         * gnu/java/nio/SocketChannelImpl.java
10         (read): Made check for blocking un-ambiguous.
11         Removed wrong check for data array length.
12
13 2004-11-21  Michael Koch  <konqueror@gmx.de>
14
15         * gnu/java/nio/SocketChannelImpl.java
16         (read): Only return 0 when no bytes for reading available in
17         non-blocking mode.
18         * java/nio/channels/SocketChannel.java:
19         Added some missing @return tags.
20
21 2004-11-21  Michael Koch  <konqueror@gmx.de>
22
23         * java/beans/PropertyChangeSupport.java
24         (propertyChangeSupportSerializedDataVersion): Made static.
25         * java/beans/VetoableChangeSupport.java
26         (propertyChangeSupportSerializedDataVersion): Likewise.
27
28 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
29
30         * java/net/URLStreamHandler.java
31         (parseURL): Fixed file path canonicalisation.
32
33 2004-11-18  Jeroen Frijters  <jeroen@frijters.net>
34
35         * java/net/URLStreamHandler.java
36         (parseURL): Fixed file path canonicalisation.
37
38 2004-11-18  Michael Koch  <konqueror@gmx.de>
39
40         * java/net/URLClassLoader.java: Whitespace cleanup.
41
42 2004-11-18  Robert Schuster <address@bogus.example.com>
43
44         Complete 1.4 support
45         * java/beans/PropertyDescriptor.java:
46         (setReadMethod): New method
47         (setWriteMethod): New method
48         (equals): Implemented (1.4)
49         (checkMethods): operates on arguments now (private)
50
51
52 2004-11-18  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
53
54         * java/net/Inet6Address.java (getHostAddress): Fix textual
55         representation of IPv6 address with embedded zeroes
56         to conform to RFC 2373.
57
58 2004-11-18  Jeroen Frijters  <address@bogus.example.com>
59
60         * java/lang/StackTraceElement.java: Made final.
61         * java/nio/channels/Channels.java: Added private constructor.
62         * java/rmi/Naming.java: Added private constructor.
63         * java/rmi/registry/LocateRegistry.java: Added private constructor.
64         * java/rmi/server/RMIClassLoader.java: Added private constructor.
65         * java/security/KeyPairGeneratorSpi.java
66         (clone): Made protected and simplified implementation.
67         * java/text/DateFormat.java
68         (allFields): Made package accessible.
69         * java/text/DecimalFormat.java
70         (formatInternal): Made private.
71         * java/text/Format.java
72         (formatInternal): Made private.
73         * java/util/logging/Handler.java: Made constructor protected.
74         * java/util/regex/Matcher.java: Made final.
75         * java/util/regex/Pattern.java: Made final.
76         * javax/crypto/CipherInputStream.java
77         (mark): Corrected mark parameter type (from long to int).
78         * javax/crypto/ExemptionMechanism.java
79         (finalize): Added.
80         * javax/crypto/Mac.java
81         (getMacLength): Made final.
82         (clone): Made final.
83         * javax/imageio/ImageIO.java: Added private constructor.
84         * javax/imageio/stream/ImageInputStreamImpl.java
85         (checkClosed): Made final.
86         * javax/net/ssl/SSLPermission.java: Made final.
87         * javax/print/DocFlavor.java
88         (hostEncoding): Added work-around to prevent the field from being
89         a compile time constant.
90         * javax/print/attribute/AttributeSetUtilities.java: Added private
91         constructor.
92         (UnmodifiableDocAttributeSet): Made private.
93         (UnmodifiablePrintJobAttributeSet): Made private.
94         (UnmodifiablePrintRequestAttributeSet): Made private.
95         (UnmodifiablePrintServiceAttributeSet): Made private.
96         (SynchronizedAttributeSet): Made private.
97         (SynchronizedDocAttributeSet): Made private.
98         (SynchronizedPrintJobAttributeSet): Made private.
99         (SynchronizedPrintRequestAttributeSet): Made private.
100         (SynchronizedPrintServiceAttributeSet): Made private.
101         * javax/security/auth/PrivateCredentialPermission.java: Made final.
102
103 2004-11-18  Craig Black  <craig.black@aonix.com>
104
105         * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
106
107 2004-11-18  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
108
109         * Makefile.am: Correct friend function declaration.
110         * Makefile.in: Regenerated.
111         * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
112         scope to function names.  Declare functions directly.
113         * libjava/java/lang/Class.h
114         (java::lang::Class): Correct friend class declaration.
115         (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
116         scope.
117         * libjava/java/lang/Class.h
118         (java::lang::Object): Correct friend class declaration.
119
120 2004-11-17  David Daney  <ddaney@avtrex.com>
121
122         * java/io/BufferedInputStream.java (skip): Return zero on EOF.
123
124 2004-11-17  Michael Koch  <konqueror@gmx.de>
125
126         * java/net/Socket.java (getPort): Return 0 in error case.
127
128 2004-11-17  Michael Koch  <konqueror@gmx.de>
129
130         *  java/nio/DirectByteBufferImpl.java
131         (owner): Updated comment.
132         (allocate): New method.
133
134 2004-11-17  Michael Koch  <konqueror@gmx.de>
135
136         * java/net/URL.java (URL): Handle case when argument is null.
137
138 2004-11-17  Michael Koch  <konqueror@gmx.de>
139
140         * java/beans/Beans.java,
141         java/beans/PropertyChangeEvent.java,
142         java/beans/PropertyEditorSupport.java:
143         Fixed javadocs.
144
145 2004-11-17  Michael Koch  <konqueror@gmx.de>
146
147         * java/util/Timer.java (DEFAULT_SIZE): Made static.
148
149 2004-11-17  Michael Koch  <konqueror@gmx.de>
150
151         * java/net/InetAddress.java (getCanonicalHostName):
152         Support IPv6 addresses.
153
154 2004-11-16  Michael Koch  <konqueror@gmx.de>
155
156         * java/lang/Object.java: Added javadocs all over (merged from GNU
157         classpath).
158
159 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
160
161         * java/security/Security.java (Security): Silence the warning about no
162         providers found in the no debug case.
163
164 2004-11-16  Michael Koch  <konqueror@gmx.de>
165
166         * java/net/InetAddress.java
167         (toString): Merged from GNU classpath.
168
169 2004-11-16  Michael Koch  <konqueror@gmx.de>
170
171         * java/awt/geom/doc-files/Area-1.png,
172         java/awt/geom/doc-files/Ellipse-1.png,
173         java/awt/geom/doc-files/GeneralPath-1.png:
174         New files.
175
176 2004-11-16  Michael Koch  <konqueror@gmx.de>
177
178         * java/util/Currency.java (cache): Fix modifier order.
179
180 2004-11-16  Michael Koch  <konqueror@gmx.de>
181
182         * java/io/BufferedReader.java,
183         java/io/FileInputStream.java,
184         java/io/FileOutputStream.java,
185         java/io/FileWriter.java,
186         java/io/OutputStreamWriter.java,
187         java/io/PipedInputStream.java,
188         java/io/PipedOutputStream.java,
189         java/io/PipedReader.java,
190         java/io/PipedWriter.java,
191         java/io/PrintStream.java,
192         java/io/PushbackInputStream.java,
193         java/io/RandomAccessFile.java,
194         java/io/Reader.java,
195         java/io/StreamTokenizer.java,
196         java/io/StringReader.java,
197         java/net/NetworkInterface.java,
198         java/net/URLClassLoader.java,
199         java/nio/ByteOrder.java,
200         java/nio/channels/Channel.java:
201         Fixed javadocs all over.
202
203 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
204
205         * Makefile.am: Add imported files.
206         * Makefile.in: Regenerate.
207
208         2004-10-24  Casey Marshall  <csm@gnu.org>
209
210         * javax/security/auth/login/LoginContext.java: Implemented.
211         * javax/security/auth/login/Configuration.java (getConfig): New method.
212         * javax/security/auth/spi/LoginModule.java,
213         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
214
215 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
216
217         Import/Merge the X.509 certificate code from Classpath.
218
219         * Makefile.am: Add imported files.
220         * Makefile.in: Regenerate.
221
222         2004-11-07  Casey Marshall  <csm@gnu.org>
223
224         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
225         priviliged action. Add new algorithms.
226         * gnu/java/security/provider/X509CertificateFactory.java
227         (engineGenerateCertificate): Chain exceptions.
228         (engineGenerateCertificates): Likewise.
229         (engineGenerateCRL): Likewise.
230         (engineGenerateCRLs): Likewise.
231         (engineGenerateCertPath): New methods.
232         (generateCert): Throw exception if 'inStream' is null.
233         (generateCRL): Likewise.
234         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
235         version from GNU Crypto CVS.
236         * gnu/java/security/x509/X509CRL.java: Likewise.
237         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
238         * gnu/java/security/x509/X509Certificate.java: Likewise.
239         * java/security/cert/TrustAnchor.java: Call 'toString' and not
240         toRFC2253.
241         * gnu/java/security/provider/CollectionCertStoreImpl.java,
242         * gnu/java/security/provider/EncodedKeyFactory.java,
243         * gnu/java/security/provider/GnuDHPublicKey.java,
244         * gnu/java/security/provider/GnuRSAPrivateKey.java,
245         * gnu/java/security/provider/GnuRSAPublicKey.java,
246         * gnu/java/security/provider/MD2withRSA.java,
247         * gnu/java/security/provider/MD4withRSA.java,
248         * gnu/java/security/provider/MD5withRSA.java,
249         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
250         * gnu/java/security/provider/RSA.java,
251         * gnu/java/security/provider/RSAKeyFactory.java,
252         * gnu/java/security/provider/SHA1withRSA.java,
253         * gnu/java/security/x509/GnuPKIExtension.java,
254         * gnu/java/security/x509/PolicyNodeImpl.java,
255         * gnu/java/security/x509/Util.java,
256         * gnu/java/security/x509/X509CRLSelectorImpl.java,
257         * gnu/java/security/x509/X509CertPath.java,
258         * gnu/java/security/x509/X509CertSelectorImpl.java,
259         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
260         * gnu/java/security/x509/ext/BasicConstraints.java,
261         * gnu/java/security/x509/ext/CRLNumber.java,
262         * gnu/java/security/x509/ext/CertificatePolicies.java,
263         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
264         * gnu/java/security/x509/ext/Extension.java,
265         * gnu/java/security/x509/ext/GeneralNames.java,
266         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
267         * gnu/java/security/x509/ext/KeyUsage.java,
268         * gnu/java/security/x509/ext/PolicyConstraint.java,
269         * gnu/java/security/x509/ext/PolicyMappings.java,
270         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
271         * gnu/java/security/x509/ext/ReasonCode.java,
272         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
273         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
274
275         2004-11-07  Casey Marshall  <csm@gnu.org>
276
277         * gnu/java/security/x509/X509CRL.java:
278         Missed import statements in previous checkin.
279
280         2004-11-07  Casey Marshall  <csm@gnu.org>
281
282         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
283         to 'X509CertificateImpl' from previous checkin.
284
285 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
286
287         PR other/14264
288         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
289
290 2004-11-11  Casey Marshall  <csm@gnu.org>
291
292         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
293         channel is open.
294         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
295         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
296
297 2004-11-11  Robert Schuster <thebohemian@gmx.net>
298
299         Fixed regression:
300         * gnu/java/beans/IntrospectionIncubator.java:
301         (addMethod): Corrected classification of normal and property methods.
302         (capitalize): Added documentation.
303         (DoubleKey): [class] Added documentation.
304
305 2004-11-09  Tom Tromey  <tromey@redhat.com>
306
307         * include/jni.h: Added FIXME.
308
309 2004-11-08  Tom Tromey  <tromey@redhat.com>
310
311         * java/util/GregorianCalendar.java: Removed unused imports.
312         * java/util/Vector.java: Removed unused import.
313
314 2004-11-07  Michael Koch  <konqueror@gmx.de>
315
316         * java/lang/Process.java:
317         Import cleanups.
318
319 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
320
321         * java/util/zip/ZipEntry.java
322         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
323
324 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
325
326         Fixes bug #10908
327         * gnu/java/beans/IntrospectionIncubator.java:
328         (addMethod): static methods are discarded now, too.
329
330 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
331
332         * java/util/GregorianCalendar.java
333         Added/amended documentation.
334
335 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
336
337         * java/util/Collections.java
338         Added documentation.
339         * java/util/SortedMap.java
340         Clarified some method examples.
341         * java/util/SortedSet.java
342         Clarified some method examples.
343
344 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
345
346         * java/util/Currency.java
347         Documented variables and methods more fully.
348         Caches the currency instances, so that a request
349         for a locale, l, only ever returns the same
350         instance (i.e. successive calls to getInstance(l)
351         are reference equivalent (==)).
352
353 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
354
355         * java/util/Date.java
356         Added missing documentation.
357
358 2004-11-06  Michael Koch  <konqueror@gmx.de>
359
360         * java/util/zip/CheckedInputStream.java,
361         java/util/zip/InflaterInputStream.java,
362         java/util/zip/ZipFile.java,
363         java/util/zip/ZipInputStream.java:
364         Import cleanups.
365
366 2004-11-06  Tom Tromey  <tromey@redhat.com>
367
368         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
369         package-private.
370         (connections): Likewise.
371         (scavenger): Likewise.
372         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
373         package-private.
374         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
375         package-private.
376         (ptr): Likewise.
377         * gnu/classpath/ServiceFactory.java (log): Now package-private.
378
379 2004-11-06  Tom Tromey  <tromey@redhat.com>
380
381         * javax/naming/directory/BasicAttributes.java (attributes): Now
382         package-private.
383         * javax/imageio/spi/ServiceRegistry.java (categories): Now
384         package-private.
385
386 2004-11-06  Tom Tromey  <tromey@redhat.com>
387
388         * java/net/URLClassLoader.java (URLClassLoader): Now
389         package-private.
390         * java/nio/charset/CoderResult.java (CoderResult): Now
391         package-private.
392         (get): Likewise.
393         (Cache): Likewise.  Don't synchronize on `this'.
394         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
395         package-private.
396         * java/util/TimeZone.java (timezones): Now package-private.
397
398 2004-11-06  Tom Tromey  <tromey@redhat.com>
399
400         * java/security/Permissions.java (perms): Now package-private.
401         * java/security/UnresolvedPermission.java (permissions): Now
402         package-private.
403
404 2004-11-06  Tom Tromey  <tromey@redhat.com>
405
406         * java/io/FilePermission.java: Reindented.
407
408 2004-11-06  Tom Tromey  <tromey@redhat.com>
409
410         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
411         package-private.
412         (setBlockDataMode): Likewise.
413
414 2004-11-06  Tom Tromey  <tromey@redhat.com>
415
416         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
417         package-private.
418         (Encoder): Likewise.
419         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
420         (Encoder): Likewise.
421         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
422         package-private.
423         (Encoder): Likewise.
424
425 2004-11-06  Mark Wielaard  <mark@klomp.org>
426
427         * Makefile.am: Add new javax.imageio files.
428         * Makefile.in: Regenerated.
429
430 2004-11-06  Michael Koch  <konqueror@gmx.de>
431
432         * javax/imageio/event/IIOReadProgressListener.java,
433         javax/imageio/event/IIOReadUpdateListener.java,
434         javax/imageio/event/IIOReadWarningListener.java,
435         javax/imageio/event/IIOWriteProgressListener.java,
436         javax/imageio/event/IIOWriteWarningListener.java,
437         javax/imageio/metadata/IIOMetadataFormat.java,
438         javax/imageio/stream/FileCacheImageInputStream.java,
439         javax/imageio/stream/FileCacheImageOutputStream.java,
440         javax/imageio/stream/ImageInputStreamImpl.java:
441         Import cleanup.
442         * javax/imageio/metadata/package.html: New file.
443
444 2004-11-06  Michael Koch  <konqueror@gmx.de>
445
446         * javax/imageio/spi/ImageReaderSpi.java
447         (isOwnReader): New method.
448         * javax/imageio/spi/ImageWriterSpi.java
449         (isOwnWriter): Likewise.
450
451 2004-11-06  Michael Koch  <konqueror@gmx.de>
452
453         * javax/imageio/ImageWriter.java
454         (convertImageMetadata): New abstract method.
455         (convertStreamMetadata): Likewise.
456         (write): Likewise.
457         * javax/imageio/stream/FileCacheImageInputStream.java
458         (close): Fixed setting of stream to null.
459         (checkStreamClosed): Throws IOException.
460
461 2004-11-06  Michael Koch  <konqueror@gmx.de>
462
463         * javax/imageio/stream/FileCacheImageInputStream.java,
464         javax/imageio/stream/FileCacheImageOutputStream.java,
465         javax/imageio/stream/FileImageInputStream.java,
466         javax/imageio/stream/FileImageOutputStream.java,
467         javax/imageio/stream/MemoryCacheImageInputStream.java,
468         javax/imageio/stream/MemoryCacheImageOutputStream.java:
469         New files.
470
471 2004-11-06  Michael Koch  <konqueror@gmx.de>
472
473         * javax/imageio/metadata/IIOInvalidTreeException.java,
474         javax/imageio/metadata/IIOMetadataFormatImpl.java,
475         javax/imageio/metadata/IIOMetadataNode.java:
476         New stub files.
477
478 2004-11-06  Michael Koch  <konqueror@gmx.de>
479
480         * javax/imageio/stream/ImageInputStreamImpl.java,
481         javax/imageio/stream/ImageOutputStreamImpl.java:
482         New files.
483
484 2004-11-06  Michael Koch  <konqueror@gmx.de>
485
486         * javax/imageio/ImageIO.java:
487         Added much new methods.
488
489 2004-11-06  Michael Koch  <konqueror@gmx.de>
490
491         * javax/imageio/ImageReader.java,
492         javax/imageio/ImageWriter.java,
493         javax/imageio/spi/ImageWriterSpi.java:
494         Add SOME new methods.
495
496 2004-11-06  Michael Koch  <konqueror@gmx.de>
497
498         * javax/imageio/IIOParam.java,
499         javax/imageio/ImageReadParam.java,
500         javax/imageio/ImageReader.java,
501         javax/imageio/ImageWriter.java:
502         Mostly implemented.
503         * javax/imageio/spi/ImageReaderSpi.java,
504         javax/imageio/spi/ImageWriterSpi.java:
505         New files.
506
507 2004-11-06  Michael Koch  <konqueror@gmx.de>
508
509         * javax/imageio/ImageWriteParam.java,
510         javax/imageio/metadata/IIOMetadataFormat.java:
511         Implemented.
512
513 2004-11-06  Michael Koch  <konqueror@gmx.de>
514
515         * javax/imageio/ImageTypeSpecifier.java:
516         Mostly implemented.
517
518 2004-11-06  Michael Koch  <konqueror@gmx.de>
519
520         * javax/imageio/metadata/IIOMetadata.java:
521         Mostly implemented.
522
523 2004-11-06  Michael Koch  <konqueror@gmx.de>
524
525         * javax/imageio/IIOImage.java,
526         javax/imageio/ImageReadParam.java,
527         javax/imageio/metadata/IIOMetadataController.java,
528         javax/imageio/metadata/IIOMetadataFormat.java:
529         New files.
530         * javax/imageio/stream/ImageOutputStream.java:
531         Implemented.
532
533 2004-11-06  Michael Koch  <konqueror@gmx.de>
534
535         * javax/imageio/IIOParam.java,
536         javax/imageio/IIOParamController.java,
537         javax/imageio/ImageTypeSpecifier.java,
538         javax/imageio/ImageWriteParam.java,
539         javax/imageio/metadata/IIOMetadata.java:
540         New files.
541         * javax/imageio/ImageTranscoder.java:
542         Implemented.
543
544 2004-11-06  Michael Koch  <konqueror@gmx.de>
545
546         * javax/imageio/spi/ImageInputStreamSpi.java,
547         javax/imageio/spi/ImageOutputStreamSpi.java:
548         Reworked import startments.
549         * javax/imageio/spi/ServiceRegistry.java:
550         Reworked import startments. Fixed XHTML in javadocs.
551         (ServiceRegistry): Added @param tag to javadoc.
552         * javax/imageio/stream/ImageInputStream.java
553         (mark): Doesn't throws IOException;
554
555 2004-11-06  Michael Koch  <konqueror@gmx.de>
556
557         * javax/imageio/ImageIO.java:
558         New file.
559
560 2004-11-06  Michael Koch  <konqueror@gmx.de>
561
562         * javax/imageio/spi/IIORegistry.java
563         (static): Don't register ImageReaderSpi.class and
564         ImageWriterSpi.class yet.
565
566 2004-11-06  Michael Koch  <konqueror@gmx.de>
567
568         * javax/imageio/spi/IIORegistry.java:
569         New file.
570
571 2004-11-06  Noa Resare  <noa@resare.com>
572
573         * java/net/Socket.java (getPort): Return 0 instead of -1 on
574         unconnected sockets.
575
576 2004-11-06  Michael Koch  <konqueror@gmx.de>
577
578         * java/lang/StringBuffer.java,
579         java/lang/Throwable.java,
580         java/security/spec/DSAParameterSpec.java,
581         java/util/zip/ZipEntry.java,
582         java/util/zip/ZipFile.java,
583         java/util/zip/ZipInputStream.java,
584         java/util/zip/ZipOutputStream.java:
585         Removed redundant and reordered modifiers.
586
587 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
588
589         * java/io/Vector.java
590         (writeObject): New function to serialized output thread safe.
591
592         * java/io/ObjectOutputStream.java
593         (writeObject): Move the assignment of the class handle to after
594         the assignment of class descriptor handle.
595
596 2004-11-06  Robert Schuster <thebohemian@gmx.net>
597
598         Fixes documentation and indentation
599         * java/beans/PropertyEditorSupport.java:
600         reworked initial API doc
601         (value): changed name from val
602
603 2004-11-06  Robert Schuster <thebohemian@gmx.net>
604
605         Updates to 1.5
606         * java/beans/PropertyEditorSupport.java
607         (PropertyEditorSupport()): Changed modifier to public
608         (PropertyEditorSupport(Object): Changed modifier to public
609         (setSource): New method
610         (getSource): New method
611
612 2004-11-06  Robert Schuster <thebohemian@gmx.net>
613
614         Fixes bug #10799
615         * java/beans/PropertyEditorSupport.java
616         (setValue): Fire property change event
617
618 2004-11-03  Tom Tromey  <tromey@redhat.com>
619
620         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
621         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
622         returns jobjectArray.
623         (_Jv_JNIEnv::NewObjectArray): Likewise.
624
625 2004-11-01  Tom Tromey  <tromey@redhat.com>
626
627         * verify.cc (state::check_no_uninitialized_objects): Removed.
628         (push_jump): Updated.
629         (push_exception_jump): Likewise.
630         (handle_ret_insn): Likewise.
631         (handle_jsr_insn): Likewise.
632
633 2004-10-30  Mark Wielaard  <mark@klomp.org>
634
635         PR libgcj/18234
636         * java/lang/Runtime.java (static): Call init().
637         (Runtime): Remove call to init().
638         (init): Make static.
639
640 2004-10-28  David Daney  <ddaney@avtrex.com>
641
642         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
643         * Makefile.am: Build it.
644         * Makefile.in: Regenerate.
645
646 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
647
648         PR libgcj/18104
649         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
650         colon.
651         * Makefile.in: Regenerate.
652         * configure: Regenerate.
653         * configure.ac (CLASSPATH_SEPARATOR): Define.
654         * gcj/Makefile.in: Regenerate.
655         * include/Makefile.in: Regenerate.
656         * testsuite/Makefile.in: Regenerate.
657         * testsuite/lib/libjava.exp (libjava_arguments): Fix
658         CLASSPATH separator handling for Windows.
659
660 2004-10-26  Michael Koch  <konqueror@gmx.de>
661
662         * gnu/java/net/protocol/http/Connection.java
663         (getOutputStream): Implicitely switch to POST method.
664
665 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
666
667         * libjava/java/lang/Class.h
668         (java::lang::Class): Correct friend class declaration.
669
670 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
671
672         * Makefile.am (DARWIN_CRT_SRC): New.
673         (libgcj_la_SOURCES): Use it.
674         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
675         * darwin.cc: New file.
676         * include/jvm.h (_Jv_RegisterClasses): Constify.
677         (_Jv_RegisterClasses_Counted): New prototype.
678         * java/lang/Class.h: Include stddef.h.  
679         (_Jv_RegisterClasses): Constify.
680         (_Jv_RegisterClasses_Counted): New prototype.
681         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
682         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
683         (_Jv_RegisterClasses_Counted): New function.
684         * configure: Regenerate.
685         * Makefile.in: Regenerate.
686         * gcj/Makefile.in: Regenerate.
687         * include/Makefile.in: Regenerate.
688         * testsuite/Makefile.in: Regenerate.
689
690 2004-10-25  Tom Tromey  <tromey@redhat.com>
691
692         * java/util/ResourceBundle.java (tryBundle): Use
693         Class.isAssignableFrom rather than catching ClassCastException.
694
695 2004-10-25  Tom Tromey  <tromey@redhat.com>
696
697         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
698         initialize `iter'.
699         * gnu/java/text/SentenceBreakIterator.java
700         (SentenceBreakIterator): Don't initialize `iter'.
701         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
702         initialize `iter'.
703         * gnu/java/text/CharacterBreakIterator.java
704         (CharacterBreakIterator): Don't initialize `iter'.
705         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
706         constructor.
707         * java/text/BreakIterator.java: Updated documentation.
708
709 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
710
711         PR other/18138
712         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
713
714 2004-10-23  Michael Koch  <konqueror@gmx.de>
715
716         * javax/print/DocFlavor.java,
717         javax/print/attribute/standard/JobStateReason.java,
718         javax/print/attribute/standard/MultipleDocumentHandling.java:
719         Added missing constants.
720
721 2004-10-22  Tom Tromey  <tromey@redhat.com>
722
723         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
724         typo.
725
726 2004-10-22  Michael Koch  <konqueror@gmx.de>
727
728         PR libjava/14009
729         * gnu/java/net/protocol/http/Connection.java
730         (sendRequest): Handle case when url.getFile() returns an empty string.
731
732 2004-10-22  Michael Koch  <konqueror@gmx.de>
733
734         * java/lang/Math.java,
735         java/lang/StackTraceElement.java,
736         java/nio/Buffer.java,
737         java/nio/ByteBuffer.java,
738         java/nio/CharBuffer.java,
739         java/nio/DoubleBuffer.java,
740         java/nio/FloatBuffer.java,
741         java/nio/IntBuffer.java,
742         java/nio/LongBuffer.java,
743         java/nio/ShortBuffer.java,
744         java/nio/charset/Charset.java,
745         java/rmi/server/RMIClassLoader.java,
746         java/rmi/server/RMISocketFactory.java,
747         java/security/Policy.java,
748         java/text/ChoiceFormat.java,
749         java/text/CollationElementIterator.java,
750         java/text/DateFormat.java,
751         java/text/DecimalFormat.java,
752         java/text/DecimalFormatSymbols.java,
753         java/text/MessageFormat.java,
754         java/text/NumberFormat.java,
755         java/text/RuleBasedCollator.java,
756         java/text/SimpleDateFormat.java,
757         java/util/BitSet.java,
758         java/util/Calendar.java,
759         java/util/Collections.java,
760         java/util/IdentityHashMap.java,
761         java/util/Locale.java,
762         java/util/TreeMap.java,
763         java/util/logging/LogRecord.java,
764         java/util/logging/XMLFormatter.java,
765         java/util/prefs/AbstractPreferences.java,
766         java/util/prefs/Preferences.java,
767         javax/crypto/interfaces/DHPrivateKey.java,
768         javax/crypto/interfaces/DHPublicKey.java,
769         javax/crypto/interfaces/PBEKey.java,
770         javax/net/ssl/HandshakeCompletedEvent.java,
771         javax/security/auth/Subject.java:
772         Removed redundant and reordered modifiers.
773
774 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
775
776         * gnu/java/net/natPlainSocketImplPosix.cc
777         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
778         with 'int *' argument instead of 'long *'.
779
780 2004-10-21  Michael Koch  <konqueror@gmx.de>
781
782         * java/net/NetworkInterface.java,
783         java/text/Format.java,
784         javax/security/auth/x500/X500Principal.java,
785         javax/security/auth/x500/X500PrivateCredential.java,
786         javax/security/cert/X509CertBridge.java,
787         javax/security/sasl/Sasl.java,
788         javax/sql/XAConnection.java:
789         Import cleanup.
790
791 2004-10-21  Michael Koch  <konqueror@gmx.de>
792
793         * javax/net/ssl/HandshakeCompletedEvent.java,
794         javax/net/ssl/KeyManagerFactory.java,
795         javax/net/ssl/SSLContext.java,
796         javax/net/ssl/SSLServerSocketFactory.java,
797         javax/net/ssl/SSLSession.java,
798         javax/net/ssl/SSLSocketFactory.java,
799         javax/net/ssl/TrustManagerFactory.java:
800         Import cleanup.
801
802 2004-10-21  Michael Koch  <konqueror@gmx.de>
803
804         * javax/naming/directory/BasicAttribute.java,
805         javax/naming/directory/BasicAttributes.java,
806         javax/naming/directory/InitialDirContext.java,
807         javax/naming/event/NamingEvent.java,
808         javax/naming/ldap/ControlFactory.java,
809         javax/naming/ldap/ExtendedRequest.java,
810         javax/naming/ldap/InitialLdapContext.java,
811         javax/naming/ldap/LdapReferralException.java,
812         javax/naming/spi/DirObjectFactory.java,
813         javax/naming/spi/DirStateFactory.java,
814         javax/naming/spi/DirectoryManager.java,
815         javax/naming/spi/InitialContextFactory.java,
816         javax/naming/spi/InitialContextFactoryBuilder.java,
817         javax/naming/spi/NamingManager.java,
818         javax/naming/spi/ObjectFactory.java,
819         javax/naming/spi/ObjectFactoryBuilder.java,
820         javax/naming/spi/StateFactory.java:
821         Import cleanup.
822
823 2004-10-21  Michael Koch  <konqueror@gmx.de>
824
825         * javax/crypto/Cipher.java,
826         javax/crypto/EncryptedPrivateKeyInfo.java,
827         javax/crypto/ExemptionMechanism.java,
828         javax/crypto/KeyAgreement.java,
829         javax/crypto/KeyGenerator.java,
830         javax/crypto/Mac.java,
831         javax/crypto/SecretKeyFactory.java,
832         javax/crypto/SecretKeyFactorySpi.java,
833         javax/crypto/spec/SecretKeySpec.java:
834         Import cleanup.
835
836 2004-10-21  Michael Koch  <konqueror@gmx.de>
837
838         * java/security/AlgorithmParameterGenerator.java,
839         java/security/AlgorithmParameters.java,
840         java/security/AlgorithmParametersSpi.java,
841         java/security/AllPermission.java,
842         java/security/BasicPermission.java,
843         java/security/Certificate.java,
844         java/security/CodeSource.java,
845         java/security/DigestInputStream.java,
846         java/security/DigestOutputStream.java,
847         java/security/GuardedObject.java,
848         java/security/KeyFactory.java,
849         java/security/KeyFactorySpi.java,
850         java/security/KeyPairGenerator.java,
851         java/security/KeyStore.java,
852         java/security/KeyStoreSpi.java,
853         java/security/Permissions.java,
854         java/security/Security.java,
855         java/security/Signature.java,
856         java/security/UnresolvedPermission.java,
857         java/security/cert/CertPathBuilder.java,
858         java/security/cert/CertPathValidator.java,
859         java/security/cert/CertStore.java,
860         java/security/cert/Certificate.java,
861         java/security/cert/CertificateFactory.java,
862         java/security/cert/PolicyQualifierInfo.java,
863         java/security/cert/TrustAnchor.java,
864         java/security/cert/X509CRL.java,
865         java/security/cert/X509CRLSelector.java,
866         java/security/cert/X509CertSelector.java:
867         Import cleanup.
868
869 2004-10-21  Michael Koch  <konqueror@gmx.de>
870
871         * java/rmi/MarshalledObject.java,
872         java/rmi/Naming.java,
873         java/rmi/activation/Activatable.java,
874         java/rmi/activation/ActivationGroup.java,
875         java/rmi/activation/ActivationGroupDesc.java,
876         java/rmi/activation/ActivationInstantiator.java,
877         java/rmi/activation/ActivationMonitor.java,
878         java/rmi/activation/ActivationSystem.java,
879         java/rmi/activation/Activator.java,
880         java/rmi/registry/LocateRegistry.java,
881         java/rmi/registry/Registry.java,
882         java/rmi/server/LogStream.java,
883         java/rmi/server/ObjID.java,
884         java/rmi/server/RMIClientSocketFactory.java,
885         java/rmi/server/RMIServerSocketFactory.java,
886         java/rmi/server/RMISocketFactory.java,
887         java/rmi/server/RemoteCall.java,
888         java/rmi/server/RemoteServer.java,
889         java/rmi/server/ServerRef.java,
890         java/rmi/server/UID.java,
891         java/rmi/server/UnicastRemoteObject.java:
892         Import cleanup.
893
894 2004-10-21  Tom Tromey  <tromey@redhat.com>
895
896         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
897         exception if we hit EOF of `in'.
898         (read): Handle case where inflating returns -1.
899
900 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
901
902         * gnu/java/nio/channels/natFileChannelPosix.cc
903         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
904         argument instead of 'long *'.
905
906 2004-10-21  Tom Tromey  <tromey@redhat.com>
907
908         * java/util/ResourceBundle.java (tryBundle): Also ignore
909         ClassCastException.
910
911 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
912
913         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
914         for all sh*-*-linux* targets.
915         * configure: Regenerate.
916         * include/sh-signal.h: New file.
917
918 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
919
920         * java/lang/ieeefp.h: Add m32r support.
921
922 2004-10-20  Andreas Schwab  <schwab@suse.de>
923
924         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
925         to uaddr, not int.
926         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
927         Likewise.
928
929 2004-10-20  Michael Koch  <konqueror@gmx.de>
930
931         * javax/print/attribute/standard/ColorSupported.java,
932         javax/print/attribute/standard/Compression.java,
933         javax/print/attribute/standard/Copies.java,
934         javax/print/attribute/standard/CopiesSupported.java,
935         javax/print/attribute/standard/DateTimeAtCompleted.java,
936         javax/print/attribute/standard/DateTimeAtCreation.java,
937         javax/print/attribute/standard/DateTimeAtProcessing.java,
938         javax/print/attribute/standard/DocumentName.java,
939         javax/print/attribute/standard/Fidelity.java,
940         javax/print/attribute/standard/Finishings.java,
941         javax/print/attribute/standard/JobHoldUntil.java,
942         javax/print/attribute/standard/JobImpressions.java,
943         javax/print/attribute/standard/JobImpressionsCompleted.java,
944         javax/print/attribute/standard/JobImpressionsSupported.java,
945         javax/print/attribute/standard/JobKOctets.java,
946         javax/print/attribute/standard/JobKOctetsProcessed.java,
947         javax/print/attribute/standard/JobKOctetsSupported.java,
948         javax/print/attribute/standard/JobMediaSheets.java,
949         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
950         javax/print/attribute/standard/JobMediaSheetsSupported.java,
951         javax/print/attribute/standard/JobMessageFromOperator.java,
952         javax/print/attribute/standard/JobName.java,
953         javax/print/attribute/standard/JobOriginatingUserName.java,
954         javax/print/attribute/standard/JobPriority.java,
955         javax/print/attribute/standard/JobPrioritySupported.java,
956         javax/print/attribute/standard/JobSheets.java,
957         javax/print/attribute/standard/JobState.java,
958         javax/print/attribute/standard/JobStateReason.java,
959         javax/print/attribute/standard/JobStateReasons.java,
960         javax/print/attribute/standard/Media.java,
961         javax/print/attribute/standard/MultipleDocumentHandling.java,
962         javax/print/attribute/standard/NumberOfDocuments.java,
963         javax/print/attribute/standard/NumberOfInterveningJobs.java,
964         javax/print/attribute/standard/NumberUp.java,
965         javax/print/attribute/standard/NumberUpSupported.java,
966         javax/print/attribute/standard/OrientationRequested.java,
967         javax/print/attribute/standard/OutputDeviceAssigned.java,
968         javax/print/attribute/standard/PDLOverrideSupported.java,
969         javax/print/attribute/standard/PageRanges.java,
970         javax/print/attribute/standard/PagesPerMinute.java,
971         javax/print/attribute/standard/PagesPerMinuteColor.java,
972         javax/print/attribute/standard/PrintQuality.java,
973         javax/print/attribute/standard/PrinterInfo.java,
974         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
975         javax/print/attribute/standard/PrinterLocation.java,
976         javax/print/attribute/standard/PrinterMakeAndModel.java,
977         javax/print/attribute/standard/PrinterMessageFromOperator.java,
978         javax/print/attribute/standard/PrinterMoreInfo.java,
979         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
980         javax/print/attribute/standard/PrinterName.java,
981         javax/print/attribute/standard/PrinterStateReason.java,
982         javax/print/attribute/standard/PrinterStateReasons.java,
983         javax/print/attribute/standard/PrinterURI.java,
984         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
985         javax/print/attribute/standard/RequestingUserName.java:
986         Reorganized imports and removed redundant final modifiers.
987
988 2004-10-20  Michael Koch  <konqueror@gmx.de>
989
990         * javax/security/sasl/SaslClient.java,
991         javax/security/sasl/SaslClientFactory.java,
992         javax/security/sasl/SaslException.java,
993         javax/security/sasl/SaslServer.java,
994         javax/security/sasl/SaslServerFactory.java:
995         Remvoed CVS tags.
996
997 2004-10-20  Michael Koch  <konqueror@gmx.de>
998
999         * javax/security/auth/login/NullConfiguration.java,
1000         javax/security/auth/x500/X500Principal.java,
1001         javax/security/cert/X509Certificate.java,
1002         javax/security/sasl/AuthenticationException.java,
1003         javax/security/sasl/AuthorizeCallback.java,
1004         javax/security/sasl/RealmCallback.java,
1005         javax/security/sasl/RealmChoiceCallback.java,
1006         javax/security/sasl/Sasl.java,
1007         javax/security/sasl/SaslClient.java,
1008         javax/security/sasl/SaslClientFactory.java,
1009         javax/security/sasl/SaslException.java,
1010         javax/security/sasl/SaslServer.java,
1011         javax/security/sasl/SaslServerFactory.java:
1012         Cleaned up import statements and copyright notices.
1013
1014 2004-10-20  Michael Koch  <konqueror@gmx.de>
1015
1016         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1017
1018 2004-10-20  Michael Koch  <konqueror@gmx.de>
1019
1020         * java/sql/Timestamp.java,
1021         java/text/AttributedCharacterIterator.java,
1022         java/text/AttributedString.java,
1023         java/util/zip/CheckedOutputStream.java,
1024         java/util/zip/DeflaterOutputStream.java,
1025         java/util/zip/ZipFile.java,
1026         javax/crypto/Cipher.java,
1027         javax/crypto/ExemptionMechanismException.java,
1028         javax/crypto/SecretKey.java,
1029         javax/crypto/SecretKeyFactory.java,
1030         javax/naming/directory/ModificationItem.java,
1031         javax/naming/directory/SearchControls.java,
1032         javax/naming/event/NamingListener.java,
1033         javax/naming/ldap/Control.java,
1034         javax/naming/ldap/ExtendedResponse.java,
1035         javax/net/ssl/SSLSocketFactory.java:
1036         Reorganized imports and fixed copyright headers.
1037
1038 2004-10-20  Michael Koch  <konqueror@gmx.de>
1039
1040         * java/util/logging/ConsoleHandler.java,
1041         java/util/logging/ErrorManager.java,
1042         java/util/logging/FileHandler.java,
1043         java/util/logging/Filter.java,
1044         java/util/logging/Formatter.java,
1045         java/util/logging/Handler.java,
1046         java/util/logging/Level.java,
1047         java/util/logging/LogManager.java,
1048         java/util/logging/LogRecord.java,
1049         java/util/logging/Logger.java,
1050         java/util/logging/LoggingPermission.java,
1051         java/util/logging/MemoryHandler.java,
1052         java/util/logging/SimpleFormatter.java,
1053         java/util/logging/SocketHandler.java,
1054         java/util/logging/StreamHandler.java,
1055         java/util/logging/XMLFormatter.java:
1056         Standardized copyrigth header.
1057
1058 2004-10-20  Michael Koch  <konqueror@gmx.de>
1059
1060         * java/security/AlgorithmParameterGenerator.java,
1061         java/security/AlgorithmParameters.java,
1062         java/security/DigestInputStream.java,
1063         java/security/Identity.java,
1064         java/security/KeyFactory.java,
1065         java/security/KeyPairGenerator.java,
1066         java/security/KeyStore.java,
1067         java/security/MessageDigest.java,
1068         java/security/MessageDigestSpi.java,
1069         java/security/Policy.java,
1070         java/security/SecureRandom.java,
1071         java/security/Security.java,
1072         java/security/Signature.java,
1073         java/security/SignatureSpi.java,
1074         java/security/cert/CertPathBuilder.java,
1075         java/security/cert/CertPathValidator.java,
1076         java/security/cert/CertStore.java,
1077         java/security/cert/Certificate.java,
1078         java/security/cert/CertificateFactory.java,
1079         java/security/cert/PolicyQualifierInfo.java,
1080         java/security/cert/TrustAnchor.java,
1081         java/security/cert/X509CRL.java,
1082         java/security/cert/X509CRLEntry.java,
1083         java/security/cert/X509Certificate.java,
1084         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1085         Import statements reorganized, some little formatting issues,
1086         used java-style array declarations, added comments in empty catch
1087         blocks.
1088
1089 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1090
1091         * java/security/Security.java
1092         (static): Use AccessController.doPrivileged to get system property.
1093
1094 2004-10-18  Sven de Marothy  <sven@physto.se>
1095
1096         * java/nio/ByteBufferHelper.java
1097         (putDouble): Use Double.toRawLongBits instead.
1098
1099 2004-10-18  Mark Wielaard  <mark@klomp.org>
1100         Andrew Haley  <aph@redhat.com>
1101
1102         * testsuite/libjava.lang/ExtraClassLoader.java: New.
1103
1104 2004-10-18  Andrew Haley  <aph@redhat.com>
1105
1106         PR java/18036:
1107         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
1108         and correct logic used to find interpreter.
1109         
1110 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1111
1112         * java/util/logging/LogManager.java
1113         (findAncestor): Fixed IndexOutOfBoundsException.
1114
1115 2004-10-18  Michael Koch  <konqueror@gmx.de>
1116
1117         * java/io/BufferedInputStream.java: Fixed @author tag.
1118         (read): Simplified expression.
1119         (read): Merged javadoc a bit more.
1120         (read): Renamed 'remain' to 'totalBytesRead'.
1121         * java/io/DataInputStream.java,
1122         java/io/DataOutputStream.java,
1123         java/io/ObjectInputStream.java,
1124         java/io/ObjectOutputStream.java:
1125         Reworked modifier order.
1126
1127 2004-10-18  Michael Koch  <konqueror@gmx.de>
1128
1129         * java/net/Inet4Address.java: Merged file header and javadocs.
1130         * java/net/Inet6Address.java: Likewise.
1131         * java/net/InetAddress.java
1132         (getCanonicalHostName): Create Inet4Address object instead of
1133         InetAddress and add comment regarding IPv6.
1134         (toString): Simplified.
1135
1136 2004-10-18  Michael Koch  <konqueror@gmx.de>
1137
1138         * gnu/java/net/protocol/http/Connection.java,
1139         java/nio/MappedByteBufferImpl.java,
1140         java/text/RuleBasedCollator.java,
1141         java/util/ResourceBundle.java:
1142         Reworked import statements.
1143
1144 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1145
1146         * java/security/IdentityScope.java
1147         (systemScope): Removed useless initializer.
1148         * java/security/Policy.java
1149         (currentPolicy): Likewise.
1150
1151 2004-10-18  Michael Koch  <konqueror@gmx.de>
1152
1153         * java/lang/System.java: Revert accidential change.
1154
1155 2004-10-18  Michael Koch  <konqueror@gmx.de>
1156
1157         * java/lang/Math.java,
1158         java/lang/Package.java,
1159         java/lang/Runtime.java,
1160         java/lang/StrictMath.java,
1161         java/lang/System.java,
1162         java/lang/Thread.java,
1163         java/lang/ThreadLocal.java,
1164         java/lang/Void.java:
1165         Reworked import statements, HTML in javadocs and modifier orders.
1166
1167 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1168
1169         * java/util/Timer.java
1170         (nr): Removed useless initializer.
1171         * java/util/logging/LogRecord.java
1172         (lastSeqNum): Likewise.
1173         * javax/naming/spi/NamingManager.java
1174         (icfb, ofb): Likewise.
1175
1176 2004-10-18  Michael Koch  <konqueror@gmx.de>
1177
1178         * gnu/java/net/PlainDatagramSocketImpl.java:
1179         Reworked import statements.
1180         * gnu/java/security/provider/DSAParameters.java:
1181         Fixed copyrigth years.
1182         * java/net/JarURLConnection.java:
1183         Fixed HTML in @author tags.
1184         
1185
1186 2004-10-18  Michael Koch  <konqueror@gmx.de>
1187
1188         * java/rmi/activation/ActivationSystem.java
1189         (SYSTEM_PORT): Initialize with correct port number.
1190
1191 2004-10-18  Michael Koch  <konqueror@gmx.de>
1192
1193         * java/lang/reflect/Proxy.java: Improved javadocs.
1194
1195 2004-10-18  Michael Koch  <konqueror@gmx.de>
1196
1197         * java/lang/reflect/AccessibleObject.java
1198         (checkPermission): Removed redundant final modifier.
1199         (secureSetAccessible): Likewise.
1200         * java/lang/reflect/Proxy.java:
1201         Reworked import statements.
1202         (generate): Removed redundant final modifier.
1203         * java/lang/reflect/ReflectPermission.java:
1204         Reorder package declaration and import statement.
1205
1206 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1207
1208         * java/lang/reflect/Proxy.java
1209         (count): Removed useless initializer.
1210
1211 2004-10-17  Michael Koch  <konqueror@gmx.de>
1212
1213         * java/net/BindException.java,
1214         java/net/ConnectException.java,
1215         java/net/ContentHandler.java,
1216         java/net/ContentHandlerFactory.java,
1217         java/net/DatagramPacket.java,
1218         java/net/DatagramSocket.java,
1219         java/net/DatagramSocketImpl.java,
1220         java/net/DatagramSocketImplFactory.java,
1221         java/net/FileNameMap.java,
1222         java/net/HttpURLConnection.java,
1223         java/net/MalformedURLException.java,
1224         java/net/MulticastSocket.java,
1225         java/net/NetworkInterface.java,
1226         java/net/NoRouteToHostException.java,
1227         java/net/PasswordAuthentication.java,
1228         java/net/PortUnreachableException.java,
1229         java/net/ProtocolException.java,
1230         java/net/ServerSocket.java,
1231         java/net/Socket.java,
1232         java/net/SocketException.java,
1233         java/net/SocketImpl.java,
1234         java/net/SocketImplFactory.java,
1235         java/net/SocketOptions.java,
1236         java/net/SocketPermission.java,
1237         java/net/SocketTimeoutException.java,
1238         java/net/URI.java,
1239         java/net/URISyntaxException.java,
1240         java/net/URL.java,
1241         java/net/URLDecoder.java,
1242         java/net/URLEncoder.java,
1243         java/net/URLStreamHandler.java,
1244         java/net/URLStreamHandlerFactory.java,
1245         java/net/UnknownHostException.java,
1246         java/net/UnknownServiceException.java:
1247         Big import statement and @author tag cleanup.
1248
1249 2004-10-17  Michael Koch  <konqueror@gmx.de>
1250
1251         * gnu/java/security/OID.java,
1252         gnu/java/security/provider/DSAParameters.java,
1253         gnu/java/security/provider/DSASignature.java,
1254         gnu/java/security/x509/X500DistinguishedName.java,
1255         gnu/java/security/x509/X509CRL.java:
1256         Import statements cleaned up.
1257
1258 2004-10-16  Michael Koch  <konqueror@gmx.de>
1259
1260         * gnu/java/nio/NIODatagramSocket.java,
1261         gnu/java/nio/ServerSocketChannelImpl.java:
1262         Reorganized import statements.
1263
1264 2004-10-16  Michael Koch  <konqueror@gmx.de>
1265
1266         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1267         gnu/java/rmi/rmic/RMIC.java,
1268         gnu/java/rmi/server/RMIHashes.java,
1269         gnu/java/rmi/server/RMIObjectInputStream.java,
1270         gnu/java/rmi/server/RMIObjectOutputStream.java,
1271         gnu/java/rmi/server/UnicastConnection.java,
1272         gnu/java/rmi/server/UnicastConnectionManager.java,
1273         gnu/java/rmi/server/UnicastRemoteCall.java,
1274         gnu/java/rmi/server/UnicastServer.java,
1275         gnu/java/rmi/server/UnicastServerRef.java,
1276         java/rmi/MarshalledObject.java,
1277         java/rmi/Naming.java,
1278         java/rmi/RMISecurityManager.java,
1279         java/rmi/Remote.java,
1280         java/rmi/activation/Activatable.java,
1281         java/rmi/activation/ActivationDesc.java,
1282         java/rmi/activation/ActivationGroup.java,
1283         java/rmi/activation/ActivationGroupDesc.java,
1284         java/rmi/activation/ActivationGroupID.java,
1285         java/rmi/activation/ActivationID.java,
1286         java/rmi/activation/ActivationInstantiator.java,
1287         java/rmi/activation/ActivationMonitor.java,
1288         java/rmi/activation/ActivationSystem.java,
1289         java/rmi/activation/Activator.java,
1290         java/rmi/dgc/DGC.java,
1291         java/rmi/dgc/Lease.java,
1292         java/rmi/dgc/VMID.java,
1293         java/rmi/registry/LocateRegistry.java,
1294         java/rmi/registry/Registry.java,
1295         java/rmi/registry/RegistryHandler.java,
1296         java/rmi/server/LoaderHandler.java,
1297         java/rmi/server/LogStream.java,
1298         java/rmi/server/ObjID.java,
1299         java/rmi/server/Operation.java,
1300         java/rmi/server/RMIClassLoader.java,
1301         java/rmi/server/RMIClassLoaderSpi.java,
1302         java/rmi/server/RMIClientSocketFactory.java,
1303         java/rmi/server/RMIFailureHandler.java,
1304         java/rmi/server/RMIServerSocketFactory.java,
1305         java/rmi/server/RMISocketFactory.java,
1306         java/rmi/server/RemoteCall.java,
1307         java/rmi/server/RemoteObject.java,
1308         java/rmi/server/RemoteRef.java,
1309         java/rmi/server/RemoteServer.java,
1310         java/rmi/server/RemoteStub.java,
1311         java/rmi/server/ServerRef.java,
1312         java/rmi/server/Skeleton.java,
1313         java/rmi/server/SkeletonMismatchException.java,
1314         java/rmi/server/UID.java,
1315         java/rmi/server/UnicastRemoteObject.java,
1316         java/rmi/server/Unreferenced.java:
1317         File headers and import statements cleaned up.
1318
1319 2004-10-16  Michael Koch  <konqueror@gmx.de>
1320
1321         * libjava/gnu/java/nio/charset/UTF_16.java,
1322         libjava/gnu/java/nio/charset/UTF_16BE.java,
1323         libjava/gnu/java/nio/charset/UTF_16LE.java,
1324         libjava/java/nio/ByteOrder.java,
1325         libjava/java/nio/MappedByteBuffer.java,
1326         libjava/java/nio/channels/Channels.java,
1327         libjava/java/nio/channels/spi/SelectorProvider.java,
1328         libjava/java/nio/charset/Charset.java:
1329         Cleanup.
1330
1331 2004-10-16  Michael Koch  <konqueror@gmx.de>
1332
1333         * gnu/java/nio/charset/UTF_16Encoder.java
1334         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1335
1336 2004-10-16  Michael Koch  <konqueror@gmx.de>
1337
1338         * java/math/BigDecimal.java, java/math/BigInteger.java:
1339         Reorganized import statements, removed redundant and
1340         reorganized modifiers.
1341
1342 2004-10-16  Michael Koch  <konqueror@gmx.de>
1343
1344         * gnu/java/beans/ExplicitBeanInfo.java:
1345         Explicitely import java.awt.Image.
1346         (getIcon): Fixed off-by-one error.
1347
1348 2004-10-15  Andrew Haley  <aph@redhat.com>
1349
1350         * Makefile.am (nat_files, xlib_nat_files): New.
1351         * Makefile.in: Regenerate.
1352
1353 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1354
1355         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1356         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1357
1358 2004-10-13  Andrew Haley  <aph@redhat.com>
1359
1360         * interpret.cc (_Jv_InterpMethod::run): Initialize
1361         _Jv_StartOfInterpreter.
1362         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1363         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1364         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1365         _Unwind_FindEnclosingFunction to discover whether PC is within the
1366         interpreter.
1367
1368 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1369
1370         PR libgcj/17903:
1371         * testsuite/libjava.lang/md5test.java: New file.
1372         * testsuite/libjava.lang/md5test.out: Likewise.
1373         * testsuite/libjava.lang/shatest.java: Likewise.
1374         * testsuite/libjava.lang/shatest.out: Likewise.
1375
1376 2004-10-11  Richard Henderson  <rth@redhat.com>
1377
1378         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1379         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1380
1381 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1382
1383         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1384         field as a DST boundary may have been crossed.
1385         * java/util/GregorianCalendar.java (add): Throw 
1386         IllegalArgumentException on attempt to add to DST_OFFSET or 
1387         ZONE_OFFSET fields. Update javadoc.
1388
1389 2004-10-09  Michael Koch  <konqueror@gmx.de>
1390
1391         * java/io/CharArrayWriter.java
1392         (resize): Removed redundant 'final' modifier.
1393         * java/io/DataInputStream.java
1394         (readFully): Throw IndexOutOfBoundsException of len < 0.
1395         * java/io/FileDescriptor.java,
1396         java/io/FileInputStream.java,
1397         java/io/FileOutputStream.java,
1398         java/io/ObjectOutputStream.java,
1399         java/io/ObjectStreamClass.java,
1400         java/io/PipedInputStream.java,
1401         java/io/RandomAccessFile.java:
1402         Reorganized import statements.
1403
1404 2004-10-09  Michael Koch  <konqueror@gmx.de>
1405
1406         * gnu/java/rmi/rmic/RMIC.java,
1407         gnu/java/rmi/server/RMIHashes.java,
1408         gnu/java/rmi/server/RMIObjectInputStream.java,
1409         gnu/java/rmi/server/UnicastConnection.java,
1410         gnu/java/rmi/server/UnicastConnectionManager.java,
1411         gnu/java/rmi/server/UnicastRemoteCall.java,
1412         gnu/java/rmi/server/UnicastServerRef.java:
1413         Reworked import statements and fixed file headers.
1414
1415 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1416
1417         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1418         emission rule.
1419         * configure: Rebuilt.
1420
1421 2004-09-30  Tom Tromey  <tromey@redhat.com>
1422
1423         * java/text/MessageFormat.java (Field): Constructor now
1424         protected.
1425
1426 2004-09-30  Tom Tromey  <tromey@redhat.com>
1427
1428         * javax/crypto/MacSpi.java: Fixed typo.
1429
1430 2004-09-30  Michael Koch  <konqueror@gmx.de>
1431
1432         * java/net/InetAddress.java: Reformatted.
1433         (loopback): Initialize with Inet4Address object.
1434         (static): Initialize ANY_IF with Inet4Address object.
1435         (InetAddress): Removed unused package-private constructor.
1436
1437 2004-09-30  Michael Koch  <konqueror@gmx.de>
1438
1439         * java/beans/Beans.java,
1440         java/beans/EventHandler.java,
1441         java/beans/EventSetDescriptor.java,
1442         java/beans/Introspector.java,
1443         java/beans/PropertyEditorManager.java,
1444         java/beans/beancontext/BeanContext.java,
1445         java/beans/beancontext/BeanContextChild.java,
1446         java/beans/beancontext/BeanContextChildSupport.java,
1447         java/beans/beancontext/BeanContextMembershipEvent.java:
1448         Reordered import statements and removed redundant modifiers.
1449
1450 2004-09-29  Tom Tromey  <tromey@redhat.com>
1451
1452         PR libgcj/17715:
1453         * Makefile.in: Rebuilt.
1454         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1455         files.
1456         (all_property_files): New macro.
1457
1458         * Makefile.in: Rebuilt.
1459         * Makefile.am (ordinary_java_source_files): Re-sorted.
1460         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1461
1462 2004-09-28  Tom Tromey  <tromey@redhat.com>
1463
1464         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1465
1466         PR libgcj/17222:
1467         * Makefile.am (libgcj.la): Restored.
1468         * Makefile.in: Rebuilt.
1469
1470 2004-09-28  Michael Koch  <konqueror@gmx.de>
1471
1472         * java/net/URLConnection.java: Reformatted.
1473         * java/net/URLClassLoader.java: Reformatted.
1474         (getContent): Reordered return of content.
1475         (getContentHandler): Don't check for null explicitely.
1476
1477 2004-09-27  Michael Koch  <konqueror@gmx.de>
1478
1479         * java/io/BufferedInputStream.java
1480         (BufferedInputStream): Added Jeroen Frijters to authors.
1481         (count): Don't explicitely initialize with default value.
1482         (pos): Likewise.
1483         (marklimit): Likewise.
1484         (read): Changed boolean expression to match GNU classpath' version.
1485         (reset): Add proper message to exception.
1486         (skip): Check for closed stream.
1487         (refill): Likewise.
1488
1489 2004-09-26  Per Bothner  <per@bothner.com>
1490
1491         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1492         avoid warnings in the non-POSIX_VERSION case.
1493         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1494         so place it inside an #if block.
1495         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1496         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1497         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1498         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1499
1500 2004-09-26  Per Bothner  <per@bothner.com>
1501
1502         * prims.cc (process_gcj_properties):  Optimization.
1503
1504 2004-09-26  Per Bothner  <per@bothner.com>
1505
1506         * java/util/Collections.java (sort):  Copy from array in forwards
1507         order, rather than reverse order which may be much less efficient.
1508
1509 2004-09-26  Mark Wielaard  <mark@klomp.org>
1510
1511         * java/lang/System.java (properties): Make package private.
1512         * java/lang/Throwable.java (StaticData.nl): Initialize through
1513         directly accessing System.properties.getProperty().
1514
1515         * java/lang/Throwable.java (nl): Remove static field.
1516         (StaticData): New private static inner class.
1517         (stackTraceStringBuffer): Use StaticData.nl.
1518
1519 2004-09-26  Casey Marshall <csm@gnu.org>
1520
1521         * java/security/ProtectionDomain.java
1522         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1523         `true'.
1524
1525         * java/security/SecureClassLoader.java
1526         (defineClass): make protection domain dynamically bound.
1527         (getPermissions): call `getCurrentPolicy' to avoid permission
1528         check.
1529
1530 2004-09-25  Mark Wielaard  <mark@klomp.org>
1531
1532         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1533         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1534         * Makefile.in: Regenerated.
1535
1536         * gcj/javaprims.h: Regenerated.
1537
1538         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1539         (getDefaultTimeZone): Make package private. Check that GMToffset
1540         contains at least one digit.
1541         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1542         VMTimeZone.
1543         * util/VMTimeZone.java: New file with above methods.
1544
1545         * java/util/natTimeZone.cc: Removed (renamed).
1546         * java/util/natVMTimeZone.cc: Added (renamed).
1547
1548 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1549
1550         * java/util/TimeZone.java
1551         (getDefaultTimeZone): Fixed test to distinguish between hours and
1552         minutes in specified timezone.
1553
1554 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1555
1556         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1557         handling of default package. (generate): Removed confused comments
1558         and code about making Method and Field accessible.
1559
1560 2004-09-25  Tom Tromey  <tromey@redhat.com>
1561
1562         PR java/17500:
1563         * testsuite/libjava.compile/pr17500.java: New file.
1564
1565 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1566             Mark Wielaard  <mark@klomp.org>
1567
1568         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1569         * gnu/regexp/RETokenLookAhead.java: New file.
1570
1571         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1572         * Makefile.in: Regenerated.
1573
1574 2004-09-25  Michael Koch  <konqueror@gmx.de>
1575
1576         * java/io/ObjectStreamField.java:
1577         Removed unused import statement.
1578
1579 2004-09-24  Tom Tromey  <tromey@redhat.com>
1580
1581         PR java/15656:
1582         * testsuite/libjava.compile/pr15656.xfail: New file.
1583         * testsuite/libjava.compile/pr15656.java: new file.
1584
1585         PR java/16789:
1586         * testsuite/libjava.lang/pr16789.out: New file.
1587         * testsuite/libjava.lang/pr16789.java: New file.
1588
1589 2004-09-24  Andrew Haley  <aph@redhat.com>
1590
1591         PR java/16927
1592         * testsuite/libjava.compile/AssertBug.java: New file.
1593
1594 2004-09-24  Casey Marshall <csm@gnu.org>
1595
1596         * java/util/PropertyPermissionCollection.java
1597         (implies): avoid infinite loop.
1598
1599 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1600
1601         * javax/security/auth/PrivateCredentialPermission.java
1602         (PrivateCredentialPermission): added serialization UID
1603
1604
1605 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1606
1607         * gnu/java/rmi/server/UnicastServer.java
1608         (incomingMessageCall): Added code to handle Errors.
1609         * gnu/java/rmi/server/UnicastServerRef.java
1610         (incomingMessageCall): Added code to handle Errors.
1611
1612
1613 2004-09-24  Tom Tromey  <tromey@redhat.com>
1614
1615         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1616         (definedPackages): Likewise.
1617
1618 2004-09-24  Michael Koch  <konqueror@gmx.de>
1619
1620         * java/io/ObjectInputStream.java:
1621         Re-ordered imports.
1622
1623 2004-09-24  Casey Marshall <csm@gnu.org>
1624
1625         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1626         `ClassNotFoundException'.
1627
1628 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1629
1630         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1631         of Externalizable classes to ObjectStreamClass.
1632         * java/io/ObjectStreamClass.java (newInstance): New method to
1633         instantiate Externalizable (while ignoring the accessibility of
1634         the constructor). (constructor): New field to cache the constructor.
1635
1636 2004-09-24  Mark Wielaard  <mark@klomp.org>
1637
1638         * java/net/URL.java (systemClassLoader): New static field.
1639         (getURLStreamHandler): Always use system/application classloader
1640         for finding URLStreamhandler. Remove unecessary instanceof checks.
1641
1642 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1643
1644         * java/net/URL.java
1645         (set): This method now matches the behaviour of the JDK.
1646         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1647
1648 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1649
1650         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1651
1652 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1653
1654         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1655         Don't set authority if host isn't specified.
1656
1657 2004-09-24  Michael Koch  <konqueror@gmx.de>
1658
1659         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1660         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1661         * gnu/java/nio/VMPipe.java,
1662         gnu/java/nio/VMSelector.java:
1663         New files.
1664         * gnu/java/nio/natPipeImplEcos.cc,
1665         gnu/java/nio/natPipeImplPosix.cc,
1666         gnu/java/nio/natPipeImplWin32.cc:
1667         Ported to VMPipe.
1668         * gnu/java/nio/natSelectorImplEcos.cc,
1669         gnu/java/nio/natSelectorImplPosix.cc,
1670         gnu/java/nio/natSelectorImplWin32.cc:
1671         Ported to VMSelector.
1672         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1673         gnu/java/nio/VMSelector.java.
1674         * Makefile.in: Regenerated.
1675
1676 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1677
1678         * java/lang/StackTraceElement.java
1679         (className): Renamed field to declaringClass to be compatible
1680         with Sun serialization format.
1681
1682 2004-09-23  Michael Koch  <konqueror@gmx.de>
1683
1684         * java/applet/AppletContext.java,
1685         java/applet/Applet.java,
1686         java/applet/AppletStub.java,
1687         java/applet/AudioClip.java:
1688         Jalopied and checkstyle clean.
1689
1690 2004-09-23  Mark Wielaard  <mark@klomp.org>
1691
1692         * java/util/Collections.java
1693         (binarySearch(List, Object, Comparator)): Explicitly
1694         reverse direction in list iterator.
1695         (rotate): Just return when list is empty.
1696
1697 2004-09-23  Tom Tromey  <tromey@redhat.com>
1698
1699         PR java/17329:
1700         * testsuite/libjava.compile/pr17329.java: New file.
1701
1702         PR java/17380:
1703         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1704         9.2-implicit-7.
1705
1706 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1707
1708         * Makefile.am: Run aclocal with -I ../config
1709         * acinclude.m4: Delete macros picked up from ../config and tidy.
1710         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1711         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1712         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1713
1714 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1715
1716         * aclocal.m4: Regenerate with aclocal 1.9.2.
1717         * configure: Regenerate.
1718         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1719         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1720
1721 2004-09-22  David Daney  <ddaney@avtrex.com>
1722
1723         PR libgcj/17623
1724         * java/net/URL.java (URL): Copy userInfo from context.
1725         (getUserInfo): Return cached userInfo if present.
1726
1727 2004-09-22  Tom Tromey  <tromey@redhat.com>
1728
1729         PR libgcj/6182:
1730         * mauve-libgcj: Enable java.lang.Character tests.
1731
1732 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1733
1734         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1735         dependencies.
1736         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1737         * Makefile.in: Regenerated.
1738
1739 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1740
1741         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1742         * configure: Regenerate.
1743         * include/config.h.in: Likewise.
1744         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1746         macro to gtkpeer.h.
1747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1748         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1749         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1750         architectures.
1751         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1752         Likewise.
1753
1754 2004-09-22  Tom Tromey  <tromey@redhat.com>
1755
1756         PR libgcj/14446:
1757         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1758         when comparing CRCs.
1759         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1760         field.
1761         (read()): New overload.
1762
1763 2004-09-21  Tom Tromey  <tromey@redhat.com>
1764
1765         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1766         Indentation fix.
1767
1768 2004-09-21  Michael Koch  <konqueror@gmx.de>
1769
1770         * java/net/Socket.java
1771         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1772
1773 2004-09-21  Casey Marshall  <csm@gnu.org>
1774
1775         * javax/crypto/MacSpi.java (clone): Provide meaningful
1776         implementation.
1777
1778 2004-09-21  Tom Tromey  <tromey@redhat.com>
1779
1780         PR libgcj/16869:
1781         * Makefile.in: Rebuilt.
1782         * Makefile.am (MOSTLYCLEANFILES): Removed.
1783         (mostlyclean-local): Remove header files.
1784
1785 2004-09-21  Casey Marshall  <csm@gnu.org>
1786
1787         * java/security/cert/X509CRLSelector.java:
1788         (match): remove unreachable try-catch clauses.
1789         Reported by: Dalibor Topic <robilad@kaffe.org>
1790
1791 2004-09-21  Mark Wielaard  <mark@klomp.org>
1792
1793         * java/util/TreeMap.java (root): Don't initialize.
1794         (TreeMap(Comparator)): Call fabricateTree(0).
1795         (fabricateTree): Initialize root and size when count is 0.
1796
1797 2004-09-21  Sven de Marothy <sven@physto.se>
1798
1799         * java/nio/ByteBuffer.java (hashCode): Implemented.
1800         * java/nio/CharBuffer.java: Likewise.
1801         * java/nio/DoubleBuffer.java: Likewise.
1802         * java/nio/FloatBuffer.java: Likewise.
1803         * java/nio/LongBuffer.java: Likewise.
1804         * java/nio/IntBuffer.java: Likewise.
1805         * java/nio/ShortBuffer.java: Likewise.
1806
1807 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1808
1809         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1810
1811 2004-09-21  Michael Koch  <konqueror@gmx.de>
1812
1813         * javax/net/ssl/SSLServerSocket.java:
1814         Removed comment about "Do not edit this file, it's generated.".
1815
1816 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1817
1818         Import the big Crypto/Jessie/Security merge from Classpath.
1819
1820         * Makefile.am: Add imported files.
1821         * Makefile.in: Regenerate.
1822
1823         2004-08-14  Casey Marshall <csm@gnu.org>
1824
1825         The Big Crypto Merge of 2004.
1826
1827         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1828         Crypto's version.
1829
1830         Files imported from GNU Crypto.
1831         * javax/crypto/BadPaddingException.java
1832         * javax/crypto/Cipher.java
1833         * javax/crypto/CipherInputStream.java
1834         * javax/crypto/CipherOutputStream.java
1835         * javax/crypto/CipherSpi.java
1836         * javax/crypto/EncryptedPrivateKeyInfo.java
1837         * javax/crypto/ExemptionMechanism.java
1838         * javax/crypto/ExemptionMechanismException.java
1839         * javax/crypto/ExemptionMechanismSpi.java
1840         * javax/crypto/IllegalBlockSizeException.java
1841         * javax/crypto/KeyAgreement.java
1842         * javax/crypto/KeyAgreementSpi.java
1843         * javax/crypto/KeyGenerator.java
1844         * javax/crypto/KeyGeneratorSpi.java
1845         * javax/crypto/Mac.java
1846         * javax/crypto/MacSpi.java
1847         * javax/crypto/Makefile.am
1848         * javax/crypto/NoSuchPaddingException.java
1849         * javax/crypto/NullCipher.java
1850         * javax/crypto/NullCipherImpl.java
1851         * javax/crypto/SealedObject.java
1852         * javax/crypto/SecretKey.java
1853         * javax/crypto/SecretKeyFactory.java
1854         * javax/crypto/SecretKeyFactorySpi.java
1855         * javax/crypto/ShortBufferException.java
1856         * javax/crypto/interfaces/DHKey.java
1857         * javax/crypto/interfaces/DHPrivateKey.java
1858         * javax/crypto/interfaces/DHPublicKey.java
1859         * javax/crypto/interfaces/PBEKey.java
1860         * javax/crypto/spec/DESKeySpec.java
1861         * javax/crypto/spec/DESedeKeySpec.java
1862         * javax/crypto/spec/DHGenParameterSpec.java
1863         * javax/crypto/spec/DHParameterSpec.java
1864         * javax/crypto/spec/DHPrivateKeySpec.java
1865         * javax/crypto/spec/DHPublicKeySpec.java
1866         * javax/crypto/spec/IvParameterSpec.java
1867         * javax/crypto/spec/PBEKeySpec.java
1868         * javax/crypto/spec/PBEParameterSpec.java
1869         * javax/crypto/spec/RC2ParameterSpec.java
1870         * javax/crypto/spec/RC5ParameterSpec.java
1871         * javax/crypto/spec/SecretKeySpec.java
1872         * javax/security/auth/AuthPermission.java
1873         * javax/security/auth/DestroyFailedException.java
1874         * javax/security/auth/Destroyable.java
1875         * javax/security/auth/Policy.java
1876         * javax/security/auth/PrivateCredentialPermission.java
1877         * javax/security/auth/RefreshFailedException.java
1878         * javax/security/auth/Refreshable.java
1879         * javax/security/auth/Subject.java
1880         * javax/security/auth/SubjectDomainCombiner.java
1881         * javax/security/auth/callback/Callback.java
1882         * javax/security/auth/callback/CallbackHandler.java
1883         * javax/security/auth/callback/ChoiceCallback.java
1884         * javax/security/auth/callback/ConfirmationCallback.java
1885         * javax/security/auth/callback/LanguageCallback.java
1886         * javax/security/auth/callback/NameCallback.java
1887         * javax/security/auth/callback/PasswordCallback.java
1888         * javax/security/auth/callback/TextInputCallback.java
1889         * javax/security/auth/callback/TextOutputCallback.java
1890         * javax/security/auth/callback/UnsupportedCallbackException.java
1891         * javax/security/auth/login/AccountExpiredException.java
1892         * javax/security/auth/login/AppConfigurationEntry.java
1893         * javax/security/auth/login/Configuration.java
1894         * javax/security/auth/login/CredentialExpiredException.java
1895         * javax/security/auth/login/FailedLoginException.java
1896         * javax/security/auth/login/LoginContext.java
1897         * javax/security/auth/login/LoginException.java
1898         * javax/security/auth/login/NullConfiguration.java
1899         * javax/security/auth/x500/X500PrivateCredential.java
1900         * javax/security/sasl/AuthenticationException.java
1901         * javax/security/sasl/AuthorizeCallback.java
1902         * javax/security/sasl/RealmCallback.java
1903         * javax/security/sasl/RealmChoiceCallback.java
1904         * javax/security/sasl/Sasl.java
1905         * javax/security/sasl/SaslClient.java
1906         * javax/security/sasl/SaslClientFactory.java
1907         * javax/security/sasl/SaslException.java
1908         * javax/security/sasl/SaslServer.java
1909         * javax/security/sasl/SaslServerFactory.java
1910         * org/ietf/jgss/ChannelBinding.java
1911         * org/ietf/jgss/GSSContext.java
1912         * org/ietf/jgss/GSSCredential.java
1913         * org/ietf/jgss/GSSException.java
1914         * org/ietf/jgss/GSSManager.java
1915         * org/ietf/jgss/GSSName.java
1916         * org/ietf/jgss/MessageProp.java
1917         * org/ietf/jgss/Oid.java
1918         * org/ietf/jgss/MessagesBundle.properties
1919
1920         Files imported from Jessie <http://www.nongnu.org/jessie/>
1921         * javax/net/ServerSocketFactory.java
1922         * javax/net/SocketFactory.java
1923         * javax/net/VanillaServerSocketFactory.java
1924         * javax/net/VanillaSocketFactory.java
1925         * javax/net/ssl/HandshakeCompletedEvent.java
1926         * javax/net/ssl/HandshakeCompletedListener.java
1927         * javax/net/ssl/HostnameVerifier.java
1928         * javax/net/ssl/HttpsURLConnection.java
1929         * javax/net/ssl/KeyManager.java
1930         * javax/net/ssl/KeyManagerFactory.java
1931         * javax/net/ssl/KeyManagerFactorySpi.java
1932         * javax/net/ssl/ManagerFactoryParameters.java
1933         * javax/net/ssl/SSLContext.java
1934         * javax/net/ssl/SSLContextSpi.java
1935         * javax/net/ssl/SSLException.java
1936         * javax/net/ssl/SSLHandshakeException.java
1937         * javax/net/ssl/SSLKeyException.java
1938         * javax/net/ssl/SSLPeerUnverifiedException.java
1939         * javax/net/ssl/SSLPermission.java
1940         * javax/net/ssl/SSLProtocolException.java
1941         * javax/net/ssl/SSLServerSocket.java
1942         * javax/net/ssl/SSLServerSocketFactory.java
1943         * javax/net/ssl/SSLSession.java
1944         * javax/net/ssl/SSLSessionBindingEvent.java
1945         * javax/net/ssl/SSLSessionBindingListener.java
1946         * javax/net/ssl/SSLSessionContext.java
1947         * javax/net/ssl/SSLSocket.java
1948         * javax/net/ssl/SSLSocketFactory.java
1949         * javax/net/ssl/TrivialHostnameVerifier.java
1950         * javax/net/ssl/TrustManager.java
1951         * javax/net/ssl/TrustManagerFactory.java
1952         * javax/net/ssl/TrustManagerFactorySpi.java
1953         * javax/net/ssl/X509KeyManager.java
1954         * javax/net/ssl/X509TrustManager.java
1955         * javax/security/cert/Certificate.java
1956         * javax/security/cert/CertificateEncodingException.java
1957         * javax/security/cert/CertificateException.java
1958         * javax/security/cert/CertificateExpiredException.java
1959         * javax/security/cert/CertificateNotYetValidException.java
1960         * javax/security/cert/CertificateParsingException.java
1961         * javax/security/cert/X509CertBridge.java
1962         * javax/security/cert/X509Certificate.java
1963
1964         2004-08-20  Casey Marshall  <csm@gnu.org>
1965
1966         * java/security/cert/X509CRLSelector.java: New file.
1967         * java/security/cert/X509CertSelector.java: New file.
1968
1969 2004-09-15  Michael Koch  <konqueror@gmx.de>
1970
1971         * gnu/java/net/protocol/file/Handler.java
1972         (openConnection): Don't throw exception if host part for file: URI is
1973         present. setURL() keeps file: protocol if ftp: protocol is not
1974         available.
1975
1976 2004-09-14  Richard Henderson  <rth@redhat.com>
1977
1978         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1979         value of sigsuspend.
1980
1981 2004-09-12  Tom Tromey  <tromey@redhat.com>
1982
1983         * javax/naming/CompoundName.java (CompoundName): Don't check for
1984         separator in "flat" case.
1985
1986 2004-09-12  Michael Koch  <konqueror@gmx.de>
1987
1988         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1989         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1990         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1991         Regenerate.
1992
1993 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1994
1995         PR libgcj/14751
1996         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1997         handle in newly-allocated _Jv_Thread_t.
1998         (_Jv_ThreadDestroyData): Close thread handle.
1999         (_Jv_ThreadStart): Remove obsolete comment.
2000         Store handle of newly-created thread in _Jv_Thread_t.
2001         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2002         before including <windows.h>
2003         #define _Jv_HaveCondDestroy
2004
2005 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
2006
2007         * java/lang/natThread.cc (finalize_native): Destroy
2008         join conditional variable and mutex if these destroy
2009         operations are supported.
2010
2011 2004-09-10  Dalibor Topic <robilad@kaffe.org>
2012
2013         * gnu/java/net/protocol/file/Connection.java (permission): New field.
2014         (DEFAULT_PERMISSION): New constant.
2015         (Connection): Create a FilePermission with permission to read file.
2016
2017 2004-09-10  Michael Koch  <konqueror@gmx.de>
2018
2019         * gnu/java/net/protocol/file/Connection.java
2020         (getLastModified): Moved around.
2021         (getPermission): Return stored permission.
2022
2023 2004-09-10  Michael Koch  <konqueror@gmx.de>
2024
2025         * Makefile.in: Regenerate.
2026
2027 2004-09-10  Michael Koch  <konqueror@gmx.de>
2028
2029         * Makefile.am: Reverted accidently commited stuff.
2030         * configure: Regenerated.
2031
2032 2004-09-10  Michael Koch  <konqueror@gmx.de>
2033
2034         * gnu/java/net/protocol/file/Connection.java
2035         (lineSeparator): Made non-final.
2036         (static): Removed.
2037         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2038         instead of StringBufferInputStream.
2039
2040 2004-09-10  Michael Koch  <konqueror@gmx.de>
2041
2042         * gnu/java/net/protocol/file/Connection.java
2043         (connect): Handle file is a directory case.
2044
2045 2004-09-10  Michael Koch  <konqueror@gmx.de>
2046
2047         * Makefile.am
2048         (xlib_includes): Removed.
2049         (AM_CPPFLAGS): Renamed from INCLUDES.
2050         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2051         * Makefile.in: Regenerate.
2052
2053 2004-09-09  Michael Koch  <konqueror@gmx.de>
2054
2055         * java/security/ProtectionDomain.java,
2056         * java/util/PropertyPermissionCollection.java:
2057         Fixed javadocs all over.
2058
2059 2004-09-09  Sven de Marothy  <sven@physto.se>
2060
2061         Patch from David Gilbert <david.gilbert@object-refinery.com>
2062         * java/lang/Comparable.java: Fixed documentation errors.
2063         * java/util/Arrays.java: Likewise.
2064
2065 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2066
2067         * java/net/Inet4Address.java
2068         (Inet4Address): Added comment to serialization UID.
2069         * java/text/Format.java
2070         (Format): Added comment to serialization UID.
2071
2072 2004-09-09  Michael Koch  <konqueror@gmx.de>
2073
2074         * java/lang/System.java
2075         (err): Fixed javadoci to point to setErr() and not setOut().
2076
2077 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
2078
2079         (normalizePath): Added special case for windows systems.
2080
2081 2004-09-09  Michael Koch  <konqueror@gmx.de>
2082
2083         * java/io/File.java
2084         (dupSeparator): Made private.
2085         (File(URI)): New constructor.
2086         (getParentFile): Fixed javadoc.
2087         (createTempFile): Reformated.
2088         (setReadOnly): Added comment.
2089         (deleteOnExit): Merged javadoc with classpath version.
2090
2091 2004-09-09  Michael Koch  <konqueror@gmx.de>
2092
2093         * Makefile.am: Don't try to include deps.mk.
2094         * Makefile.in: Regenerated.
2095
2096 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
2097
2098         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2099         .d files.
2100         * configure: Rebuilt.
2101
2102 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
2103
2104         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
2105         Changed pfn from static local to local.
2106
2107 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
2108             H.J. Lu  <hongjiu.lu@intel.com>
2109
2110         PR libgcj/17290
2111         * Makefile.am (GCJCOMPILE): Remove definition.
2112         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
2113         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
2114         * Makefile.in: Rebuilt.
2115
2116 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
2117
2118         * configure.ac (enable-gc-debug): Update help for new syntax.
2119         * configure: Regenerate.
2120
2121 2004-09-03  David Daney  <ddaney@avtrex.com>
2122
2123         * include/mips-signal.h: Update copyright.
2124
2125 2004-09-03  David Daney  <ddaney@avtrex.com>
2126
2127         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2128         * include/mips-signal.h: Added HANDLE_FPE support.
2129         
2130 2004-08-31  Michael Koch  <konqueror@gmx.de>
2131
2132         * javax/swing/plaf/basic/BasicTextAreaUI.java
2133         (create): New method.
2134         * javax/swing/text/DefaultHighlighter.java
2135         (DefaultHighlightPainter.debugRect): Removed.
2136         * javax/swing/text/StyleContext.java
2137         (DEFAULT_STYLE): New field.
2138
2139 2004-08-31  Michael Koch  <konqueror@gmx.de>
2140
2141         * javax/swing/plaf/basic/BasicLookAndFeel.java
2142         (initComponentDefaults): Add keybindings for selection.backward and
2143         selection-forward for text components.
2144         * javax/swing/plaf/basic/BasicTextUI.java
2145         (paintSafely): Paint highlight only when something is actually
2146         selected.
2147         * javax/swing/text/DefaultCaret.java
2148         (handleHighlight): New method.
2149         (setSelectionVisible): Don't do anything when nothing changes.
2150         Handle highlight.
2151         (moveDot): Reimplemented. Handle highlight.
2152         (setDot): Set mark too. Handle highlight.
2153         (getSelectionPainter): New method.
2154         * javax/swing/text/DefaultEditorKit.java
2155         (defaultActions): Added new actions for text selection.
2156         * javax/swing/text/DefaultHighlighter.java
2157         (DefaultHighlightPainter): New inner class.
2158         (DefaultPainter): New field.
2159         (paint): Implemented.
2160         * javax/swing/text/PlainView.java
2161         (paint): Don't draw background here again.
2162         * javax/swing/text/Utilities.java
2163         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2164         (drawTabbedText): Likewise.
2165
2166 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2167
2168         * javax/swing/JComponent.java
2169         (resetKeyboardActions): Add null checks.
2170
2171 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2172
2173         * javax/swing/DefaultButtonModel.java:
2174         Skip group notification when no group is set.
2175
2176 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2177
2178         * javax/swing/JColorChooser.java: 
2179         Make a couple inner classes static, for jikes.
2180
2181 2004-08-31  Michael Koch  <konqueror@gmx.de>
2182
2183         * javax/swing/plaf/basic/BasicTextUI.java
2184         (RottView.modelToView): New method.
2185         (UpdateHandler): Renamed from EventHandler.
2186         (updateHandler): Renamed from eventHandler.
2187         (modelToView): Implemented.
2188         * javax/swing/text/AbstractDocument.java
2189         (BranchElement.getElement): Return null for non-existing indeces.
2190         (BranchElement.getElementIndex): Return 0 in some corner cases.
2191         * javax/swing/text/FieldView.java
2192         (modelToView): New method.
2193         * javax/swing/text/PlainView.java
2194         (modelToView): Made public.
2195
2196 2004-08-31  Kim Ho  <kho@redhat.com>
2197
2198         * Makefile.am: New files.
2199         * Makefile.in: Regenerate.
2200         * gcj/Makefile.in: Regenerate.
2201         * include/Makefile.in: Regenerate.
2202         * java/awt/Color.java: Fix documentation.
2203         (RGBtoHSB): Use floats for conversions.
2204         * javax/swing/ButtonGroup.java: Run Jalopy.
2205         (setSelected): Reimplement.
2206         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2207         (changeState): Let ButtonGroup know that the button 
2208         is changing state.
2209         * javax/swing/JColorChooser.java: Implement.
2210         * javax/swing/JLabel.java: Run Jalopy.
2211         * javax/swing/JSpinner.java: Run Jalopy.
2212         (setValue): New method.
2213         * javax/swing/JTabbedPane.java: Run Jalopy.
2214         (removeTabAt): Call correct remove method.
2215         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2216         (getPreviousValue): Compare minimum value.
2217         * javax/swing/Timer.java: Run Jalopy.
2218         (run): Comment out println.
2219         * javax/swing/ToolTipManager.java:
2220         (mouseMoved): Get new tooltip text for location.
2221         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2222         Jalopy and Javadoc.
2223         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2224         Implement.
2225         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2226         Run Jalopy.
2227         (setSelectedColor): Fire ChangeEvent.
2228         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2229         New file. Implement.
2230         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2231         Ditto.
2232         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2233         Ditto.
2234         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2235         Ditto.
2236         * javax/swing/plaf/basic/BasicArrowButton.java:
2237         (getArrow): Fix size of upward pointing button.
2238         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2239         Implement.
2240         * javax/swing/plaf/basic/BasicSliderUI.java:
2241         (getWidthOfWidestLabel): Use preferred dimensions.
2242         (getHeightOfTallestLabel): Ditto.
2243         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2244         Run Jalopy.
2245         (mousePressed): Disable changes to spinner if it is not enabled.
2246         * testsuite/Makefile.in: Regenerate.
2247
2248
2249 2004-08-31  Michael Koch  <konqueror@gmx.de>
2250
2251         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2252         javax/swing/plaf/basic/BasicTableUI.java:
2253         Added copyright notice.
2254
2255 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2256
2257         * Makefile.am: Added new files.
2258         * Makefile.in: Regenerate.
2259         * javax/swing/ComboBoxEditor.java: Added javadocs.
2260         * javax/swing/ComboBoxModel.java: Likewise.
2261         * javax/swing/DefaultComboBoxModel.java: Implemented.
2262         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2263         and ran through jalopy to fix formatting style.
2264         (getListCellRendererComponent): Use appropriate border
2265         if renderer has focus and use noFocusBorder when it doesn't.
2266         * javax/swing/JComboBox.java: Implemented.
2267         * javax/swing/JList.java:
2268         (locationToIndex): New Method. Implemented.
2269         (indexToLocation): New Method.
2270         * javax/swing/JPopupMenu.java: 
2271         (visible): New field.
2272         (isVisible): Changed to use new field above.
2273         (setVisible): Likewise.
2274         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2275         * javax/swing/plaf/basic/BasicArrowButton.java: 
2276         (shadow): Changed default color to Color.gray.
2277         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2278         UI delegate for JComboBox.
2279         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2280         Popup menu containing list of JComboBox's items.
2281         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2282         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2283         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2284         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2285         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2286         (popupMenuWillBecomeVisible): Set selected path to the first
2287         element only if it is of type MenuElement. Also fix formatting
2288         style.
2289         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2290         methods signatures.
2291         
2292 2004-08-31  Michael Koch  <konqueror@gmx.de>
2293
2294         * javax/swing/text/AbstractDocument.java
2295         (createBranchElement): Use new constructor of BranchElement.
2296         (createLeafElement): Renamed arguments.
2297         (getRootElements): Implemented.
2298         (BranchElement.start): Removed.
2299         (BranchElement.end): Likewise.
2300         (BranchElement.BranchElement): Fixed arguments.
2301         (BranchElement.getEndOffset): Reimplemented.
2302         (BranchElement.getStartOffset): Likewis.
2303         * javax/swing/text/DefaultCaret.java
2304         (paint): Draw simple vertical line as caret instead of a rectangle.
2305         * javax/swing/text/JTextComponent.java
2306         (setText): Use doc directly.
2307         * javax/swing/text/PlainView.java
2308         (nextTabStop): Implemented.
2309         * javax/swing/text/Utilities.java
2310         (drawTabbedText): nextTabStop() returns an absolute x position.
2311         (getTabbedTextWidth): Likewise.
2312
2313 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2314
2315         * java/awt/Component.java 
2316         (isFocusTraversable): Predicate on isLightweight()
2317         (setFocusable): Set isFocusTraversableOverridden.
2318         (requestFocus): Predicate peer dispatch on !isLightweight()
2319         (requestFocusInWindow): Likewise.
2320         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2321         * java/awt/Container.java
2322         (dispatchEventImpl): Predicate on event mask.
2323         (LightweightDispatcher): Remove focus machinery.
2324         * java/awt/DefaultFocusTraversalPolicy.java
2325         (accept): Expand predicate to include isFocusable(). 
2326         * java/awt/DefaultKeyboardFocusManager.java:
2327         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2328         * java/awt/KeyboardFocusManager.java
2329         (redispatchEvent): Synchronize on event to prevent feedback.
2330         * javax/swing/AbstractButton.java
2331         (ButtonFocusListener): Remove class.
2332         (init): Set focusPainted, focusable.
2333         * javax/swing/ActionMap.java (get): Check parent for null. 
2334         * javax/swing/InputMap.java (get): Likewise. 
2335         * javax/swing/JComponent.java
2336         (inputMap_whenFocused): New InputMap.
2337         (inputMap_whenAncestorOfFocused): Likewise.
2338         (inputMap_whenInFocusedWindow): Likewise.
2339         (getActionForKeyStroke): Rewrite.
2340         (getConditionForKeystroke): Likewise.
2341         (ActionListenerProxy): New private class.
2342         (setInputMap): Implement.
2343         (getInputMap): Likewise.
2344         (setActionMap): Likewise.
2345         (getActionMap): Likewise.
2346         (processComponentKeyEvent): New empty method.
2347         (processKeyEvent): Implement.
2348         (processKeyBinding): Likewise.
2349         (resetKeyboardActions): Rewrite.
2350         * javax/swing/KeyStroke.java: Rewrite.
2351         * javax/swing/SwingUtilities.java
2352         (notifyAction): Implement.
2353         (replaceUIActionMap): Likewise.
2354         (replaceUIInputMap): Likewise.
2355         * javax/swing/plaf/basic/BasicButtonListener.java
2356         (focusGained): Implement.
2357         (focusLost): Repaint if focusPainted().
2358         (installKeyboardActions): Install pressed / released actions.
2359         (uninstallKeyboardActions): Implement.
2360         * javax/swing/plaf/basic/BasicButtonUI.java
2361         (focusColor): New field.
2362         (installDefaults): Load focus color, install input map.
2363         (installKeyboardActions): Implement.
2364         (uninstallKeyboardActions): Likewise.
2365         (paintFocus): Rewrite.
2366         * javax/swing/plaf/basic/BasicLookAndFeel.java
2367         (Button.focus): New default, midPurple. 
2368         * javax/swing/plaf/basic/BasicTextUI.java
2369         (kit): Make static.
2370         (installUI): Get doc from kit, load defaults.
2371         (getKeymapName): Implement.
2372         (createKeymap): Likewise.
2373         (installKeyboardActions): Likewise.
2374         (getInputMap): Likewise.
2375         (getActionMap): Likewise.
2376         (createActionMap): Likewise.
2377         * javax/swing/text/AbstractDocument.java
2378         (getStartPosition): Implement.
2379         (getEndPosition): Likewise.
2380         * javax/swing/text/DefaultEditorKit.java
2381         (CopyAction): New class.
2382         (CutAction): Likewise.
2383         (DefaultKeyTypedAction): Likewise.
2384         (InsertBreakAction): Likewise.
2385         (InsertContentAction): Likewise.
2386         (InsertTabAction): Likewise.
2387         (PasteAction): Likewise.
2388         (defaultActions): New static table.
2389         (createCaret): Implement.
2390         (getActions): Likewise.
2391         * javax/swing/text/JTextComponent.java
2392         (KeymapWrapper): New private class.
2393         (KeymapActionMap): Likewise.
2394         (DefaultKeymap): New class.
2395         (keymaps): New static table.
2396         (keymap): New field.
2397         (getKeymap): Implement.
2398         (removeKeymap): Likewise.
2399         (addKeymap): Likewise.
2400         (setKeymap): Likewise.
2401         (loadKeymap): Likewise.
2402         (getActions): Likewise.
2403         (margin): New field.
2404         (JTextComponent): Build and install default keymap.
2405         * javax/swing/text/TextAction.java
2406         (textAction): Call super properly.
2407         (getTextComponent): Implement.
2408         * javax/swing/text/Utilities.java
2409         (drawTabbedText): Adjust position by ascent.
2410
2411 2004-08-31  David Jee  <djee@redhat.com>
2412
2413         PR AWT/17156
2414
2415         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2416         (setEnabled): Make it a native method.
2417         * java/awt/DefaultKeyboardFocusManager.java
2418         (postProcessKeyEvent): Only post event if the menu item
2419         is active.
2420         * java/awt/MenuItem.java:
2421         Private field 'enabled' should be true by default.
2422         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2423         (setEnabled): New function.
2424
2425 2004-08-31  David Jee  <djee@redhat.com>
2426
2427         PR AWT/17059
2428
2429         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2430         (nativeSetHelpMenu): New native method declaration.
2431         (addHelpMenu): Call nativeSetHelpMenu().
2432         (addMenu): Remove.
2433         * java/awt/MenuBar.java
2434         (setHelpMenu): Call addNotify() on the new help menu.
2435         (add): Call addNotify() on the new menu.
2436         (addNotify): Set the help menu if one exists.
2437         * java/awt/peer/MenuBarPeer.java
2438         (addMenu): Remove.
2439         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2440         (nativeSetHelpMenu): New method.
2441
2442 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2443
2444         * Makefile.am: Add new files.
2445         * Makefile.in: Regenerate.
2446         * javax/swing/Box.java: Fix setting of layout in ctor.
2447         * javax/swing/JScrollPane.java: Scroll headers as well.
2448         * javax/swing/JTable.java: Reimplement.
2449         * javax/swing/JViewPort.java: Only add non-null children.
2450         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2451         * javax/swing/Timer.java: Fix stopping null waker.
2452         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2453         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2454         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2455         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2456         * javax/swing/table/DefaultTableModel.java: Clean up.
2457         * javax/swing/table/JTableHeader.java: Implement.
2458
2459 2004-08-31  Mark Wielaard  <mark@klomp.org>
2460
2461         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2462         semi-colon.
2463
2464 2004-08-31  Mark Wielaard  <mark@klomp.org>
2465
2466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2467         Declare variables at top of functions/block.
2468         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2469
2470 2004-08-31  Mark Wielaard  <mark@klomp.org>
2471
2472         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2473         first.
2474
2475 2004-08-31  Michael Koch  <konqueror@gmx.de>
2476
2477         * javax/swing/text/PlainView.java
2478         (selectedColor): New field.
2479         (unselectedColor): Likewise.
2480         (font): Likewise.
2481         (updateMetrics): New method.
2482         (lineToRect): Likewise.
2483         (modelToView): Likewise.
2484         (drawSelectedText): Use color from JTextComponent ad draw with
2485         Utilities class.
2486         (drawUnselectedText): Likewise.
2487         (paint): Initialize helper fields.
2488         * javax/swing/text/View.java
2489         (getChildAllocation): New method.
2490         (getViewIndex): Likewise.
2491         (getToolTipText): Likewise.
2492
2493 2004-08-31  Michael Koch  <konqueror@gmx.de>
2494
2495         * javax/swing/text/Utilities.java
2496         (drawTabbedText): Reimplemented.
2497         (getTabbedTextWidth): Likewise.
2498
2499 2004-08-31  Michael Koch  <konqueror@gmx.de>
2500
2501         * javax/swing/plaf/basic/BasicTextUI.java
2502         (installDefaults): Install caret and highlighter.
2503         (modelToView): Use Bias.Forward when calling sibling.
2504         * javax/swing/text/AbstractDocument.java
2505         (ElementEdit): Implements DocumentEvent.ElementChange.
2506         (ElementEdit.ElementEdit): New method.
2507         (ElementEdit.getChildrenAdded): Likewise.
2508         (ElementEdit.getChildrenRemoved): Likewise.
2509         (ElementEdit.getElement): Likewise.
2510         (ElementEdit.getIndex): Likewise.
2511         * javax/swing/text/DefaultCaret.java
2512         (color): Removed.
2513         (textComponent): Renamed from parent, made private.
2514         (selectionVisible): Renamed from vis_sel, made private.
2515         (blinkRate): Renamed from blink, made private.
2516         (magicCaretPosition): Renamed from magic, made private.
2517         (visible): Renamed from vis, made private.
2518         (dot): Made private.
2519         (mark): Likewise.
2520         (deinstall): Remove as MouseMotionListener.
2521         (install): Initialize textComponent first. Add as MouseMotionListener.
2522         (paint): Reimplemented.
2523         * javax/swing/text/JTextComponent.java
2524         (setCaret): Deinstall old caret, install new one and fire property
2525         change after setting property.
2526         (setHighlighter): Deinstall old highlighter, install new one and fire
2527         property change after setting property.
2528         (setCaretColor): Fire property change after setting property.
2529         (setDisabledTextColor): Likewise.
2530         (setSelectedTextColor): Likewise.
2531         (setSelectionColor): Likewise.
2532         (modelToView): New method.
2533
2534 2004-08-31  Michael Koch  <konqueror@gmx.de>
2535
2536         * javax/swing/text/AbstractDocument.java
2537         (getText): Simplified.
2538         * javax/swing/text/Segment.java
2539         (current): New field.
2540         (current): Reimplemented.
2541         (first): Likewise.
2542         (getIndex): Likewise.
2543         (last): Likewise.
2544         (next): Likewise.
2545         (previous): Likewise.
2546         (setIndex): Likewise.
2547
2548 2004-08-31  Michael Koch  <konqueror@gmx.de>
2549
2550         * javax/swing/plaf/basic/BasicButtonUI.java
2551         (defaultTextIconGap): Made protected.
2552         (defaultTextShiftOffset): Likewise.
2553         (textShiftOffset): New field.
2554         (clearTextShiftOffset): New method.
2555         (getTextShiftOffset): Likewise.
2556         (setTextShiftOffset): Likewise.
2557
2558 2004-08-31  Michael Koch  <konqueror@gmx.de>
2559
2560         * javax/swing/plaf/basic/BasicTextUI.java
2561         (installUI): Add eventHandler as property listener.
2562         (uninstallUI): remove eventHandler as propert listener.
2563         (installDefaults): Added comment.
2564         (installListeners): Likewise.
2565         (installKeyboardActions): Likewise.
2566         (uninstallDefaults): Likewise.
2567         (uninstallListeners): Likewise.
2568         (uninstallKeyboardActions): Likewise.
2569
2570 2004-08-31  Michael Koch  <konqueror@gmx.de>
2571
2572         * javax/swing/text/AbstractDocument.java:
2573         Fixed some typos in comments.
2574         (insertString): Reimplemented.
2575         (remove): Likewise.
2576         (replace): New method.
2577         (children): Dont use fully qualified class name.
2578         (DefaultDocumentEvent.offset): Renamed from off.
2579         (DefaultDocumentEvent.length): Renamed from len.
2580         (DefaultDocumentEvent.type): New field.
2581         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2582         (DefaultDocumentEvent.getType): Implemented.
2583
2584 2004-08-31  Michael Koch  <konqueror@gmx.de>
2585
2586         * javax/swing/plaf/basic/BasicTextUI.java
2587         (RootView.textComponent): Removed.
2588         (RootView.RootView): Don't initialize textComponent.
2589         (RootView.getViewFactory): New method.
2590         (EventHandler): New inner class.
2591         (rootView): Initialize at instance creation.
2592         (eventHandler): New field.
2593         (installUI): Don't create view hierarchy directly,
2594         call modelChanged() instead.
2595         (modelChanged): New method.
2596         * javax/swing/text/JTextComponent.java
2597         (setDocument): Fire property change event.
2598
2599 2004-08-31  Michael Koch  <konqueror@gmx.de>
2600
2601         * javax/swing/plaf/basic/BasicTextUI.java
2602         (RootView.paint): Removed debug output.
2603         (paintSafely): Draw highlighter before text.
2604         (paintBackground): Use background color of text component.
2605         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2606         Reformatted.
2607
2608 2004-08-31  Michael Koch  <konqueror@gmx.de>
2609
2610         * javax/swing/plaf/basic/BasicToolBarUI.java
2611         (BasicToolBarUI): Fixed arguments for constructor.
2612         (createUI): Fixed creation of object.
2613
2614 2004-08-31  Michael Koch  <konqueror@gmx.de>
2615
2616         * javax/swing/DefaultListSelectionModel.java
2617         (fireValueChanged): Renamed from fireSelectionValueChanged,
2618         made protected.
2619
2620 2004-08-31  Michael Koch  <konqueror@gmx.de>
2621
2622         * javax/swing/text/TabSet.java
2623         (TabSet): Implements java.io.Serializable.
2624         * javax/swing/text/TabStop.java
2625         (TabStop): Implements java.io.Serializable.
2626         (TabStop): Made public.
2627
2628 2004-08-31  Michael Koch  <konqueror@gmx.de>
2629
2630         * javax/swing/JComponent.java
2631         (setUI): Fire PropertyChange.
2632         * javax/swing/JLabel.java
2633         (text): Renamed from labelText.
2634         (horizontalAlignment): New default vlaue.
2635         (icon): Renamed from activeIcon.
2636         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2637         (displayedMnemonicIndex): Renamed from underlineChar.
2638         (setDisplayedMnemonic): Reimplemented.
2639         * javax/swing/JRadioButton.java
2640         (JRadioButton): New constructors.
2641         * javax/swing/JTextField.java
2642         (JTextField): Throw exception if colums < 0, initialitialz
2643         this.columns directly and initialize document with text conditionally.
2644
2645 2004-08-31  Michael Koch  <konqueror@gmx.de>
2646
2647         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2648         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2649         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2650         * javax/swing/text/FieldView.java
2651         (paint): Just call super method for now.
2652         * Makefile.am: Added new files.
2653         * Makefile.in: Regenerated.
2654
2655 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2656
2657         * javax/swing/AbstractSpinnerModel.java,
2658         javax/swing/JSpinner.java,
2659         javax/swing/SpinnerNumberModel.java,
2660         javax/swing/plaf/basic/BasicSpinnerUI.java:
2661         New files.
2662         * javax/swing/plaf/basic/BasicLookAndFeel.java
2663         (initClassDefaults): Added defaults for BasicSpinnerUI.
2664
2665 2004-08-31  Michael Koch  <konqueror@gmx.de>
2666
2667         * Makefile.am: Added new files.
2668         * Makefile.in: Regenerated.
2669
2670 2004-08-31  Michael Koch  <konqueror@gmx.de>
2671
2672         * javax/swing/TransferHandler.java,
2673         javax/swing/plaf/basic/ComboPopup.java: New files
2674         * Makefile.am: Added javax/swing/TransferHandler.java and
2675         javax/swing/plaf/basic/ComboPopup.java
2676         * Makefile.in: Regenerated.
2677
2678 2004-08-31  Roman Kennke  <roman@ontographics.com>
2679
2680         * javax/swing/text/Utilities.java: New file.
2681
2682 2004-08-31  Michael Koch  <konqueror@gmx.de>
2683
2684         * Makefile.am: Added javax/swing/text/Utilities.java.
2685         * Makefile.in: Regenerated.
2686
2687 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2688
2689         * javax/swing/text/SimpleAttributeSet.java: New file.
2690         * javax/swing/text/StyleConstants.java: New file.
2691         * javax/swing/text/StyleContext.java: New file.
2692         * javax/swing/text/TabSet.java: New file.
2693         * javax/swing/text/TabStop.java: New file.
2694         * javax/swing/text/AbstactDocument.java:
2695         (AbstractElement): Implement attribute support.
2696         * javax/swing/text/AttributeSet.java
2697         (NameAttribute): New static field.
2698         (ResolveAttribute): New static field.
2699         * Makefile.am: Update for new files.
2700         * Makefile.in: Regenerate.
2701
2702 2004-08-31  Craig Black  <craig.black@aonix.com>
2703
2704         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2705         (drawImage): Add support for scaling pixmaps.
2706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2707         (copyAndScalePixmap): New native method.
2708  
2709 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2710
2711         PR AWT/16121
2712         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2713         type-punning compiler warnings using unions.
2714         (throw): Replace bzero with memset.
2715
2716 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2717             Thomas Fitzsimmons  <fitzsim@redhat.com>
2718
2719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2720         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2721         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2723         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2724
2725 2004-08-31  Mark Wielaard  <mark@klomp.org>
2726
2727         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2728         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2729         and stdlib.h, not gtkpeer.h.
2730         (*vm): New static variable.
2731         (areaPreparedID): Make static.
2732         (areaUpdatedID): Likewise.
2733         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2734         (area_prepared): Likewise.
2735         (area_updated): Likewise.
2736         (closed): Likewise.
2737         (initStaticState): Initialize *vm javaVM.
2738         (pumpBytes): Use given env, not global gdk_env.
2739
2740 2004-08-31  Mark Wielaard  <mark@klomp.org>
2741
2742         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2743         comments.
2744
2745 2004-08-31  Sven de Marothy  <sven@physto.se>
2746
2747         * java/awt/geom/CubicCurve2D.java: Reindent.
2748         (contains): Implemented.
2749         (intersects): Implemented.
2750         * java/awt/geom/QuadCurve2D.java: Likewise.
2751         * java/awt/geom/GeneralPath.java: Reindent and document.
2752         Fully (re)implemented using separate xpoints and ypoints
2753         float[] coords.
2754         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2755
2756 2004-08-31  Michael Koch  <konqueror@gmx.de>
2757
2758         * javax/swing/JMenuItem.java
2759         (getMenuDragMouseListeners): New method.
2760         (getMenuKeyListeners): Likewise.
2761
2762 2004-08-31  Michael Koch  <konqueror@gmx.de>
2763
2764         * javax/swing/AbstractButton.java
2765         (model): Made protected.
2766         (actionListener): Likewise.
2767         (changeListener): Likewise.
2768         (itemListener): Likewise.
2769         (multiClickThreshhold): New field.
2770         (getActionListeners): New method.
2771         (getChangeListeners): Likewise.
2772         (getItemListeners): Likewise.
2773         (fireItemStateChanged): Simplified implementation.
2774         (fireActionPerformed): Likewise.
2775         (fireStateChanged): Likewise.
2776         (getMultiClickThreshhold): New method.
2777         (setMultiClickThreshhold): Likewise.
2778
2779 2004-08-31  Tom Tromey  <tromey@redhat.com>
2780
2781         * java/awt/image/Kernel.java (clone): Use super.clone().
2782
2783 2004-08-31  David Jee  <djee@redhat.com>
2784
2785         PR AWT/16682
2786         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2787         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2788         (nativeSetIconImageFromData): New native method declaration.
2789         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2790         * gnu/java/awt/peer/gtk/GtkImage.java
2791         (getPixelCache): New method.
2792         (getColorModel): New method.
2793         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2794         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2795         (free_pixbuf_data): New helper function.
2796         (nativeSetIconImageFromData): New function.
2797
2798 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2799
2800         PR SWING/16576
2801         * javax/swing/JLayeredPane.java 
2802         (setLayer): Permit changing layer after addition.
2803         (setPosition): Permit over-length positions.
2804         (layerToRange): Compare intValue()s.
2805         * javax/swing/Box.java (createHorizontalBox): Implement.
2806         (createRigidArea): Likewise.
2807         (createVerticalBox): Likewise.
2808
2809 2004-08-31  Kim Ho  <kho@redhat.com>
2810
2811         * java/awt/Component.java:
2812         (processMouseEvent): Consume event after
2813         listeners process it.
2814         (processMouseMotionEvent): ditto.
2815         (processMouseWheelEvent): ditto.
2816         * java/awt/Container.java:
2817         (acquireComponentForMouseEvent):
2818         Do not dispatch to events that have been
2819         removed from the Container.
2820         (handleEvent): Consume the MouseEvents.
2821         * javax/swing/RepaintManager.java:
2822         (paintDirtyRegions): Do not add to list of 
2823         damaged areas if the component has no root.
2824
2825 2004-08-31  Michael Koch  <konqueror@gmx.de>
2826
2827         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2828
2829 2004-08-31  Mark Wielaard  <mark@klomp.org>
2830
2831         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2832         null when a MissingResourceException is thrown. Should never happen.
2833
2834 2004-08-31  Mark Wielaard  <mark@klomp.org>
2835
2836         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2837         when argument is null.
2838
2839 2004-08-31  Mark Wielaard  <mark@klomp.org>
2840
2841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2842         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2843         Define hid at start of function.
2844         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2845         Likewise.
2846
2847 2004-08-31  Mark Wielaard  <mark@klomp.org>
2848
2849         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2850         * javax/swing/JButton.java: Reindent.
2851         * javax/swing/JCheckBox.java: Reindent.
2852
2853 2004-08-31  Mark Wielaard  <mark@klomp.org>
2854
2855         * Makefile.am (gtk_c_source_files): Added
2856         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2857         (gtk_awt_peer_sources): Added
2858         gnu/java/awt/peer/gtk/GThreadMutex.java and
2859         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2860         * Makefile.in: Regenerated.
2861
2862 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2863
2864         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2865
2866 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2867
2868         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2869         Added jfieldID, jmethodID.
2870
2871 2004-08-31  Mark Wielaard  <mark@klomp.org>
2872
2873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2874         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2875         gdk_env before calling any gdk or gtk function.
2876
2877         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2878         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2879         (run): Set gtkInitCalled.
2880
2881 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2882
2883         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2884         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2885
2886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2887         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2888         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2889         init_glib_threads. 
2890         (init_glib_threads): New function.
2891
2892 2004-08-31  Mark Wielaard  <mark@klomp.org>
2893
2894         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2895         PRIORITY when not already defined in header file.
2896
2897 2004-08-31  Mark Wielaard  <mark@klomp.org>
2898
2899         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2900         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2901
2902 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2903
2904         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2905         Implemented missing functions for GTK2.
2906         Added error handling.
2907         Renamed static functions out of the g_ namespace.
2908         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2909         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2910         Rewrote global-reference code.
2911         Eliminated cascading errors.
2912         (mutex_trylock_jni_impl) Fully implemented.
2913         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2914         resolution.
2915         (setup_cache) New function.
2916         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2917         bug where they were not unlocking the GMutex associated with the
2918         condition variable during the wait on that condition variable.
2919
2920         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2921         native/jni/gtk-peer/gthread-jni.c,
2922         native/jni/gtk-peer/gthread-jni.h
2923         (g_thread_jni_functions): Renamed to ...
2924         (portable_native_sync_jni_functions): this name.
2925         (gdk_vm): Renamed to...
2926         (the_vm): this name.
2927
2928         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2929         (gdk_vm): Removed duplicate definition.
2930         (gtkInit): Removed stray message to stdout.
2931         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2932         (gtkInit): Fix a const assignment bug.
2933         (gtkInit): Simplified code.
2934
2935         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2936         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2937         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2938         gnu/java/awt/peer/gtk/GThreadMutex.java:
2939         New files.
2940
2941 2004-08-31  Mark Wielaard  <mark@klomp.org>
2942
2943         * javax/swing/Box.java: Put FIXME comment above class declaration.
2944         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2945         * javax/swing/JCheckBox.java: Likewise.
2946         * javax/swing/JDialog.java: Likewise.
2947         * javax/swing/JRadioButton.java: Likewise.
2948         * javax/swing/JToggleButton.java: Likewise.
2949         * javax/swing/UIManager.java: Likewise.
2950         * javax/swing/border/TitledBorder.java: Likewise.
2951         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2952         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2953         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2954         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2955         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2956         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2957         * javax/swing/text/JTextComponent.java: Likewise.
2958
2959 2004-08-31  David Jee  <djee@redhat.com>
2960
2961         PR AWT/16682
2962         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2963         (setIconImage): Add a FIXME for unhandled cases.
2964
2965 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2966
2967         PR AWT/16040
2968         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2969         getModifiers.  Replace old button masks with new ones.
2970         * gnu/awt/xlib/XEventLoop.java: Likewise.
2971         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2972         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2973         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2974         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2975         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2976         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2977         * java/awt/Component.java: Replace old modifier masks with new
2978         ones.
2979         * java/awt/Container.java: Call getModifiersEx, not
2980         getModifiers.
2981         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2982         old modifier masks.
2983         * javax/swing/JMenuItem.java: Replace old button masks with new
2984         ones.
2985         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2986         getModifiers.
2987         * javax/swing/SwingUtilities.java: Likewise.
2988         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2989         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2990         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2991         mask macros with new ones.
2992         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2993         macros with new ones representing new masks.
2994
2995 2004-08-31  Craig Black  <craig.black@aonix.com>
2996
2997         * gnu/java/awt/peer/gtk/GdkGraphics.java
2998         (drawRoundRect): Implemented.
2999         (fillRoundRect): Implemented.
3000         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3001         (drawRoundRect): Reimplemented to match GdkGraphics.
3002         (fillRoundRect): Reimplemented to match GdkGraphics.
3003
3004 2004-08-31  Mark Wielaard  <mark@klomp.org>
3005
3006         * Makefile.in: Regenerated.
3007
3008 2004-08-31  Michael Koch  <konqueror@gmx.de>
3009
3010         * gnu/java/awt/EmbeddedWindow.java
3011         (addNotify): Use AccessController to allow execution of privileged
3012         code.
3013
3014 2004-08-31  Michael Koch  <konqueror@gmx.de>
3015
3016         * gnu/java/awt/EmbeddedWindow.java
3017         (static): Removed.
3018         (addNotify): Set peer via reflection.
3019         (setWindowPeer): Removed.
3020         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3021         * Makefile.am (nat_source_files):
3022         Removed gnu/java/awt/natEmbeddedWindow.cc.
3023
3024 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3025
3026         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
3027         and gnu/java/security/action/SetAccessibleAction.java.
3028
3029 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3030
3031         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3032         Renamed from 'setName'. New 2-argument form with default value.
3033         (run): Pass default 'value' parameter to System.getProperty().
3034         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3035         typos.
3036
3037 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3038
3039         * gnu/java/security/action/GetPropertyAction.java: New class.
3040         * gnu/java/security/action/SetAccessibleAction.java: New class.
3041
3042 2004-08-31  David Jee  <djee@redhat.com>
3043
3044         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3045         (setIconImage): Check if image is null.
3046
3047 2004-08-31  David Jee  <djee@redhat.com>
3048
3049         * gnu/java/awt/peer/gtk/GtkFramePeer.java
3050         (create): Set the icon image.
3051         (nativeSetIconImage): New native method declaration.
3052         (setIconImage): Implement.
3053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3054         (nativeSetIconImage): New function.
3055
3056 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3057
3058         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3059         (filenameFilterCallback): Declare local variable accepted before use.
3060
3061 2004-08-31  Dalibor Topic <robilad@kaffe.org>
3062
3063         * gnu/java/awt/ComponentDataBlitOp.java:
3064         Cleaned up imports.
3065
3066 2004-08-31  Tom Tromey  <tromey@redhat.com>
3067
3068         * gnu/java/awt/peer/GLightweightPeer.java,
3069         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3070         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3071         javax/swing/JScrollPane.java: Removed
3072         redundant imports.
3073
3074 2004-08-31  David Jee  <djee@redhat.com>
3075
3076         * java/awt/DefaultKeyboardFocusManager.java
3077         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3078         event.  Fix shift modifier checking.
3079         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3080         (accel_attach): Remove.
3081         (setupAccelGroup): Remove calls to accel_attach.
3082
3083 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3084
3085         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3086         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3087
3088         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3089         GtkArgList.java.
3090         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3091         * Makefile.in: Regenerate.
3092         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3093         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3094         (create(String)): New method.
3095         (create): Call new create method.
3096         (getArgs): Remove method.
3097         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3098         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
3099         (nativeCreate): Rename to create.
3100         (gtkSetLabel): Rename to gtkButtonSetLabel.
3101         (gtkToggleButtonSetActive): New method.
3102         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
3103         (setState): Replace set call with gtkToggleButtonSetActive.
3104         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
3105         (getArgs): Remove method.
3106         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3107         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3108         (gtkWidgetSetSensitive): New method.
3109         (gtkWidgetSetParent): Likewise.
3110         (GtkComponentPeer): Call setParent, setComponentBounds and
3111         setVisibleAndEnabled.
3112         (setParent): New method.
3113         (setComponentBounds): New method.
3114         (setVisibleAndEnabled): New method.
3115         (setEnabled): Call gtkWidgetSetSensitive.
3116         (getArgs): Remove method.
3117         Remove all set methods.
3118         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
3119         gtkWindowSetModal, setTitle and setResizable.
3120         (getArgs): Remove method.
3121         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3122         (setComponentBounds): New method.
3123         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3124         Replace set call with gtkWindowSetResizable.
3125         (getArgs): Remove method.
3126         (create): Call setTitle and setResizable.
3127         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3128         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3129         (gtkWindowSetTitle): New method.
3130         (gtkWindowSetResizable): New method.
3131         (gtkWindowSetModal): New method.
3132         (setParent): New method.
3133         (setVisibleAndEnabled): New method.
3134         (getArgs): Remove method.
3135         (setTitle): Call gtkWindowSetTitle.
3136         (setResizable): Call gtkWindowSetResizable.
3137         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3138         and off locking instrumentation.
3139
3140 2004-08-31  Kim Ho  <kho@redhat.com>
3141
3142         * Makefile.am: Add new file.
3143         * Makefile.in: Regenerate.
3144         * gcj/Makefile.in: Regenerate
3145         * include/Makefile.in:
3146         * java/awt/Container.java:
3147         (acquireComponentForMouseEvent): Respect 
3148         the event mask when looking for candidate.
3149         * javax/swing/JComponent.java:
3150         Remove toolTip field.
3151         (createToolTip): Create a tooltip on demand.
3152         (setToolTipText): Register with the ToolTipManager.
3153         (getToolTipText(MouseEvent)): Return getToolTipText().
3154         * javax/swing/JToolTip.java: Implement.
3155         * javax/swing/Timer.java: Jalopy.
3156         (restart): Call stop, then start.
3157         (stop): Interrupt the timer rather than wait for
3158         the timer to come to a stop naturally.
3159         * javax/swing/ToolTipManager.java: Implement.
3160         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3161         Change ToolTip.background color.
3162         * javax/swing/plaf/basic/BasicToolTipUI.java:
3163         Implement.
3164         * testsuite/Makefile.in: Regenerate
3165
3166 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3167
3168         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3169         constructor param comments.
3170
3171 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3172
3173         * java/awt/Component.java: Document AWT 1.0 event handler
3174         methods.
3175
3176 2004-08-31  Roman Kennke  <roman@ontographics.com>
3177
3178         * javax/swing/Box.java:
3179         (createGlue): Implemented
3180         (createHorizontalGlue): Implemented
3181         (createHorizontalStrut): Implemented
3182         (createVerticalGlue): Implemented
3183         (createVerticalStrut): Implemented
3184
3185 2004-08-31  David Jee  <djee@redhat.com>
3186
3187         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3188         (GtkChoicePeer): Do not automatically select first item.
3189         (getHistory): Remove.
3190         (nativeGetSelected): New method.
3191         (nativeRemoveAll): New method.
3192         (add): Use nativeGetSelected() instead of getHistory().
3193         (remove): Likewise.
3194         (removeAll): Call nativeRemoveAll().
3195         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3196         (create): Migrate to GtkComboBox.
3197         (append): Likewise.
3198         (nativeAdd): Likewise.
3199         (nativeRemove): Likewise.
3200         (select): Likewise.
3201         (nativeRemoveAll): New method.
3202         (nativeGetSelected): New method.
3203         (selection_changed): New method.
3204         (getHistory): Remove.
3205         (item_activate): Remove.
3206         (item_removed): Remove.
3207         (connect_choice_item_selectable_hook): Remove.
3208
3209 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3210
3211         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3212         variable in setEditable call.
3213
3214         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3215         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3216         (gtkWidgetSetBackground): New method.
3217         (gtkWidgetSetForeground): Likewise.
3218         (create): Set peer's editable state based on awtComponent's.
3219
3220         * java/awt/Button.java (Button()): Use empty string rather than
3221         null in no-label constructor.
3222
3223 2004-08-31  Roman Kennke  <roman@ontographics.com>
3224
3225         * javax/swing/BoxLayout.java: Reimplement.
3226
3227 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3228
3229         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3230         gnu_java_awt_peer_gtk_GdkGraphics.c
3231         (initState(GtkComponentPeer)): Don't return array of colour
3232         values.
3233         (GdkGraphics(int,int)): Set default font to size 12.
3234         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3235         component's foreground colour.
3236         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3237         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3238         (initState(GtkComponentPeer)): Don't return array of colour
3239         values.
3240         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3241         colours to component's colours.
3242         (current_colors_of_widget): Remove function.
3243         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3244         Return a new graphics object.
3245         * java/awt/Font.java (toString): Fix format.
3246         * java/awt/Graphics.java (toString): Likewise.
3247
3248 2004-08-31  Craig Black  <craig.black@aonix.com>
3249
3250         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3251         (addTearOff): New function.
3252         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3253         New native method.
3254         (init): Call addTearOff() when menu.isTearOff().
3255
3256 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3257
3258         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3259         Default implementation.
3260         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3261         Implement using GdkPixbufDecoder.
3262
3263 2004-08-31  David Jee  <djee@redhat.com>
3264
3265         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3266         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3267         setting the size of GtkFileDialogPeers.
3268         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3269         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3270         use their default sizes rather than their natural requisitions.
3271
3272 2004-08-31  Michael Koch  <konqueror@gmx.de>
3273
3274         * javax/swing/JFormattedTextField.java
3275         (JFormattedTextField): Implemented.
3276         * javax/swing/text/DefaultEditorKit.java
3277         (BeepAction): New inner class.
3278         * javax/swing/text/Segment.java
3279         (partialReturn): New field.
3280         (setPartialReturn): New method.
3281         (isPartialReturn): Likewise.
3282         * javax/swing/text/View.java
3283         (createFragment): Fixed typo.
3284         (getStartOffset): New method.
3285         (getEndOffset): Likewise.
3286
3287 2004-08-31  Michael Koch  <konqueror@gmx.de>
3288
3289         * javax/swing/table/DefaultTableColumnModel.java
3290         (serialVersionUID): Made private.
3291         (listenerList): Initialize.
3292         (changeEvent): Initialize.
3293         * javax/swing/table/JTableHeader.java
3294         (JTableHeader): New constructors.
3295         (createDefaultColumnModel): New method.
3296         * javax/swing/table/TableColumn.java
3297         (setHeaderRenderer): Simplified code.
3298         (setCellRenderer): Likewise.
3299         (setWidth): Likewise.
3300
3301 2004-08-31  Tom Tromey  <tromey@redhat.com>
3302
3303         * java/text/AttributedString.java (AttributedString): Use
3304         ArrayList to build array of attribute ranges.  Don't use
3305         `attribs' before it is set.
3306
3307 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3308
3309         * HACKING: Remove reference to special automake. No longer needed.
3310
3311 2004-08-30  Tom Tromey  <tromey@redhat.com>
3312
3313         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3314         return result from `add'.
3315
3316 2004-08-30  Tom Tromey  <tromey@redhat.com>
3317
3318         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3319
3320 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3321
3322         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3323
3324 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3325
3326         * java/io/File.java File(String,String): Fixed handling of empty
3327         path.
3328
3329 2004-08-30  Casey Marshall  <csm@gnu.org>
3330
3331         Author e-mail updated for all files.
3332         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3333         instance of OID.
3334         (compareTo): Use `equals'.
3335         * gnu/java/security/der/BitString.java (equals): Test if the
3336         argument is an instance of BitString.
3337         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3338         class final. Made fields private.
3339         (<init>): New constructor.
3340         (skip): New method.
3341         (makeString): Made static; don't use NIO.
3342         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3343         * gnu/java/security/der/DERWriter.java: Fixed imports.
3344         (writeString): Don't use NIO.
3345         (toIso88591, toUtf16Be, toUtf8): New methods.
3346         * gnu/java/security/der/DERValue.java: Formatting changes only.
3347         * gnu/java/security/der/DER.java: Likewise.
3348
3349 2004-08-30  Tom Tromey  <tromey@redhat.com>
3350
3351         * java/nio/CharBuffer.java (put): Fix typo.
3352         * java/nio/DoubleBuffer.java (put): Fix typo.
3353         * java/nio/FloatBuffer.java (put): Fix typo.
3354         * java/nio/IntBuffer.java (put): Fix typo.
3355         * java/nio/LongBuffer.java (put): Fix typo.
3356         * java/nio/ShortBuffer.java (put): Fix typo.
3357
3358 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3359
3360         * java/nio/ByteBuffer.java (put): Fix typo.
3361
3362 2004-08-30  Casey Marshall  <csm@gnu.org>
3363
3364         * java/security/DummyKeyPairGenerator.java (clone): Removed
3365         useless instanceof check.
3366         * java/security/DummyMessageDigest.java (clone): Likewise.
3367         * java/security/DummySignature.java (clone): Likewise.
3368         * java/security/MessageDigest.java (clone): Remove useless
3369         instanceof check.
3370         * java/security/MessageDigestSpi.java (clone): Likewise.
3371         * java/security/Signature.java (clone): Provide meaningful
3372         implementation.
3373         * java/security/SignatureSpi.java (clone): Likewise.
3374
3375 2004-08-29  Mark Wielaard  <mark@klomp.org>
3376
3377         * java/util/Arrays.java
3378         (sort(byte[], int, int)): Check fromIndex < 0.
3379         (sort(char[], int, int)): Likewise.
3380         (sort(short[], int, int)): Likewise.
3381         (sort(int[], int, int)): Likewise.
3382         (sort(long[], int, int)): Likewise.
3383         (sort(float[], int, int)): Likewise.
3384         (sort(double[], int, int)): Likewise.
3385         (sort(Object[], int, int, Comparator)): Likewise.
3386         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3387         (qsort(char[], int, int)): Likewise.
3388         (qsort(short[], int, int)): Likewise.
3389         (qsort(int[], int, int)): Likewise.
3390         (qsort(long[], int, int)): Likewise.
3391         (qsort(float[], int, int)): Likewise.
3392         (qsort(double[], int, int)): Likewise.
3393
3394 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3395
3396         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3397         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3398         java/util/ArrayList.java, java/util/Arrays.java,
3399         java/util/BitSet.java, java/util/Calendar.java,
3400         java/util/Collection.java, java/util/ListIterator.java,
3401         java/util/Map.java, java/util/SortedSet.java:
3402         Added additional exceptions to documentation, along
3403         with some additions and corrections.
3404
3405 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3406
3407         * configure.ac: Handle --enable-gc-debug.
3408         * configure: Regenerate.
3409         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3410         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3411         Rearrange include file order.
3412         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3413         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3414         (disable_gc_mutex): Delete along with all references.
3415         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3416         adjust for debug header size.
3417         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3418         debug case.
3419         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3420         (gcj_describe_type_fn): New.
3421         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3422         Register gcj_describe_type_fn.
3423         * include/boehm-gc.h:
3424         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3425         Don't define, but declare, for debug case.
3426         * java/lang/natObject.cc:
3427         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3428
3429 2004-08-26  Mark Wielaard  <mark@klomp.org>
3430
3431         Fixes PR libgcj/17002:
3432         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3433         a TimeZoneId string and then try to convert that to a TimeZone with
3434         getDefaultSystemTimeZone(String).
3435         (timezones0): Changed type from Hashtable to HashMap.
3436         (timezones): Create HashMap, not Hashtable.
3437         (getDefaultTimeZone): New method, rewritten from CNI version.
3438         (readTimeZoneFile): New method.
3439         (readtzFile): Likewise.
3440         (skipFully): Likewise.
3441         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3442         getDefaultTimeZoneId and rewritten.
3443         (getDefaultTimeZoneId): Rewritten in java.
3444         
3445 2004-08-25  David Daney  <daney@avtrex.com>
3446
3447         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3448         * Makefile.in: Regenerated.
3449
3450 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3451
3452         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3453         only if jvmpi is enabled.
3454         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3455         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3456         (_Jv_AllocString): Likewise.
3457         (_Jv_AllocPtrFreeObject): Likewise.     
3458
3459 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3460
3461         * defineclass.cc: Include <stdio.h>.
3462         * java/lang/natClassLoader.cc: Include <stdio.h>.
3463
3464 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3465             Michael Koch  <konqueror@gmx.de>
3466
3467         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3468         * Makefile.in: Regenerated.
3469
3470 2004-08-20  Michael Koch  <konqueror@gmx.de>
3471
3472         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3473         AC_COMPILE_IFELSE macros.
3474
3475 2004-08-20  Michael Koch  <konqueror@gmx.de>
3476
3477         * configure.in: Renamed to configure.ac.
3478         * configure.ac: New file.
3479         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3480         include/config.h.in, testsuite/Makefile.in: Regenerated.
3481
3482 2004-08-20  Michael Koch  <konqueror@gmx.de>
3483
3484         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3485         * aclocal.m4, configure: Regenerated.
3486
3487 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3488             Michael Koch  <konqueror@gmx.de>
3489
3490         * configure.in, Makefile.am: Ported to automake 1.9.
3491         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3492         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3493         Regenerated.
3494
3495 2004-08-19  Tom Tromey