OSDN Git Service

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