OSDN Git Service

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