OSDN Git Service

* gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-06  Tom Tromey  <tromey@redhat.com>
2
3         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
4         package-private.
5         (Encoder): Likewise.
6         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
7         (Encoder): Likewise.
8         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
9         package-private.
10         (Encoder): Likewise.
11
12 2004-11-06  Mark Wielaard  <mark@klomp.org>
13
14         * Makefile.am: Add new javax.imageio files.
15         * Makefile.in: Regenerated.
16
17 2004-11-06  Michael Koch  <konqueror@gmx.de>
18
19         * javax/imageio/event/IIOReadProgressListener.java,
20         javax/imageio/event/IIOReadUpdateListener.java,
21         javax/imageio/event/IIOReadWarningListener.java,
22         javax/imageio/event/IIOWriteProgressListener.java,
23         javax/imageio/event/IIOWriteWarningListener.java,
24         javax/imageio/metadata/IIOMetadataFormat.java,
25         javax/imageio/stream/FileCacheImageInputStream.java,
26         javax/imageio/stream/FileCacheImageOutputStream.java,
27         javax/imageio/stream/ImageInputStreamImpl.java:
28         Import cleanup.
29         * javax/imageio/metadata/package.html: New file.
30
31 2004-11-06  Michael Koch  <konqueror@gmx.de>
32
33         * javax/imageio/spi/ImageReaderSpi.java
34         (isOwnReader): New method.
35         * javax/imageio/spi/ImageWriterSpi.java
36         (isOwnWriter): Likewise.
37
38 2004-11-06  Michael Koch  <konqueror@gmx.de>
39
40         * javax/imageio/ImageWriter.java
41         (convertImageMetadata): New abstract method.
42         (convertStreamMetadata): Likewise.
43         (write): Likewise.
44         * javax/imageio/stream/FileCacheImageInputStream.java
45         (close): Fixed setting of stream to null.
46         (checkStreamClosed): Throws IOException.
47
48 2004-11-06  Michael Koch  <konqueror@gmx.de>
49
50         * javax/imageio/stream/FileCacheImageInputStream.java,
51         javax/imageio/stream/FileCacheImageOutputStream.java,
52         javax/imageio/stream/FileImageInputStream.java,
53         javax/imageio/stream/FileImageOutputStream.java,
54         javax/imageio/stream/MemoryCacheImageInputStream.java,
55         javax/imageio/stream/MemoryCacheImageOutputStream.java:
56         New files.
57
58 2004-11-06  Michael Koch  <konqueror@gmx.de>
59
60         * javax/imageio/metadata/IIOInvalidTreeException.java,
61         javax/imageio/metadata/IIOMetadataFormatImpl.java,
62         javax/imageio/metadata/IIOMetadataNode.java:
63         New stub files.
64
65 2004-11-06  Michael Koch  <konqueror@gmx.de>
66
67         * javax/imageio/stream/ImageInputStreamImpl.java,
68         javax/imageio/stream/ImageOutputStreamImpl.java:
69         New files.
70
71 2004-11-06  Michael Koch  <konqueror@gmx.de>
72
73         * javax/imageio/ImageIO.java:
74         Added much new methods.
75
76 2004-11-06  Michael Koch  <konqueror@gmx.de>
77
78         * javax/imageio/ImageReader.java,
79         javax/imageio/ImageWriter.java,
80         javax/imageio/spi/ImageWriterSpi.java:
81         Add SOME new methods.
82
83 2004-11-06  Michael Koch  <konqueror@gmx.de>
84
85         * javax/imageio/IIOParam.java,
86         javax/imageio/ImageReadParam.java,
87         javax/imageio/ImageReader.java,
88         javax/imageio/ImageWriter.java:
89         Mostly implemented.
90         * javax/imageio/spi/ImageReaderSpi.java,
91         javax/imageio/spi/ImageWriterSpi.java:
92         New files.
93
94 2004-11-06  Michael Koch  <konqueror@gmx.de>
95
96         * javax/imageio/ImageWriteParam.java,
97         javax/imageio/metadata/IIOMetadataFormat.java:
98         Implemented.
99
100 2004-11-06  Michael Koch  <konqueror@gmx.de>
101
102         * javax/imageio/ImageTypeSpecifier.java:
103         Mostly implemented.
104
105 2004-11-06  Michael Koch  <konqueror@gmx.de>
106
107         * javax/imageio/metadata/IIOMetadata.java:
108         Mostly implemented.
109
110 2004-11-06  Michael Koch  <konqueror@gmx.de>
111
112         * javax/imageio/IIOImage.java,
113         javax/imageio/ImageReadParam.java,
114         javax/imageio/metadata/IIOMetadataController.java,
115         javax/imageio/metadata/IIOMetadataFormat.java:
116         New files.
117         * javax/imageio/stream/ImageOutputStream.java:
118         Implemented.
119
120 2004-11-06  Michael Koch  <konqueror@gmx.de>
121
122         * javax/imageio/IIOParam.java,
123         javax/imageio/IIOParamController.java,
124         javax/imageio/ImageTypeSpecifier.java,
125         javax/imageio/ImageWriteParam.java,
126         javax/imageio/metadata/IIOMetadata.java:
127         New files.
128         * javax/imageio/ImageTranscoder.java:
129         Implemented.
130
131 2004-11-06  Michael Koch  <konqueror@gmx.de>
132
133         * javax/imageio/spi/ImageInputStreamSpi.java,
134         javax/imageio/spi/ImageOutputStreamSpi.java:
135         Reworked import startments.
136         * javax/imageio/spi/ServiceRegistry.java:
137         Reworked import startments. Fixed XHTML in javadocs.
138         (ServiceRegistry): Added @param tag to javadoc.
139         * javax/imageio/stream/ImageInputStream.java
140         (mark): Doesn't throws IOException;
141
142 2004-11-06  Michael Koch  <konqueror@gmx.de>
143
144         * javax/imageio/ImageIO.java:
145         New file.
146
147 2004-11-06  Michael Koch  <konqueror@gmx.de>
148
149         * javax/imageio/spi/IIORegistry.java
150         (static): Don't register ImageReaderSpi.class and
151         ImageWriterSpi.class yet.
152
153 2004-11-06  Michael Koch  <konqueror@gmx.de>
154
155         * javax/imageio/spi/IIORegistry.java:
156         New file.
157
158 2004-11-06  Noa Resare  <noa@resare.com>
159
160         * java/net/Socket.java (getPort): Return 0 instead of -1 on
161         unconnected sockets.
162
163 2004-11-06  Michael Koch  <konqueror@gmx.de>
164
165         * java/lang/StringBuffer.java,
166         java/lang/Throwable.java,
167         java/security/spec/DSAParameterSpec.java,
168         java/util/zip/ZipEntry.java,
169         java/util/zip/ZipFile.java,
170         java/util/zip/ZipInputStream.java,
171         java/util/zip/ZipOutputStream.java:
172         Removed redundant and reordered modifiers.
173
174 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
175
176         * java/io/Vector.java
177         (writeObject): New function to serialized output thread safe.
178
179         * java/io/ObjectOutputStream.java
180         (writeObject): Move the assignment of the class handle to after
181         the assignment of class descriptor handle.
182
183 2004-11-06  Robert Schuster <thebohemian@gmx.net>
184
185         Fixes documentation and indentation
186         * java/beans/PropertyEditorSupport.java:
187         reworked initial API doc
188         (value): changed name from val
189
190 2004-11-06  Robert Schuster <thebohemian@gmx.net>
191
192         Updates to 1.5
193         * java/beans/PropertyEditorSupport.java
194         (PropertyEditorSupport()): Changed modifier to public
195         (PropertyEditorSupport(Object): Changed modifier to public
196         (setSource): New method
197         (getSource): New method
198
199 2004-11-06  Robert Schuster <thebohemian@gmx.net>
200
201         Fixes bug #10799
202         * java/beans/PropertyEditorSupport.java
203         (setValue): Fire property change event
204
205 2004-11-03  Tom Tromey  <tromey@redhat.com>
206
207         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
208         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
209         returns jobjectArray.
210         (_Jv_JNIEnv::NewObjectArray): Likewise.
211
212 2004-11-01  Tom Tromey  <tromey@redhat.com>
213
214         * verify.cc (state::check_no_uninitialized_objects): Removed.
215         (push_jump): Updated.
216         (push_exception_jump): Likewise.
217         (handle_ret_insn): Likewise.
218         (handle_jsr_insn): Likewise.
219
220 2004-10-30  Mark Wielaard  <mark@klomp.org>
221
222         PR libgcj/18234
223         * java/lang/Runtime.java (static): Call init().
224         (Runtime): Remove call to init().
225         (init): Make static.
226
227 2004-10-28  David Daney  <ddaney@avtrex.com>
228
229         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
230         * Makefile.am: Build it.
231         * Makefile.in: Regenerate.
232
233 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
234
235         PR libgcj/18104
236         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
237         colon.
238         * Makefile.in: Regenerate.
239         * configure: Regenerate.
240         * configure.ac (CLASSPATH_SEPARATOR): Define.
241         * gcj/Makefile.in: Regenerate.
242         * include/Makefile.in: Regenerate.
243         * testsuite/Makefile.in: Regenerate.
244         * testsuite/lib/libjava.exp (libjava_arguments): Fix
245         CLASSPATH separator handling for Windows.
246
247 2004-10-26  Michael Koch  <konqueror@gmx.de>
248
249         * gnu/java/net/protocol/http/Connection.java
250         (getOutputStream): Implicitely switch to POST method.
251
252 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
253
254         * libjava/java/lang/Class.h
255         (java::lang::Class): Correct friend class declaration.
256
257 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
258
259         * Makefile.am (DARWIN_CRT_SRC): New.
260         (libgcj_la_SOURCES): Use it.
261         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
262         * darwin.cc: New file.
263         * include/jvm.h (_Jv_RegisterClasses): Constify.
264         (_Jv_RegisterClasses_Counted): New prototype.
265         * java/lang/Class.h: Include stddef.h.  
266         (_Jv_RegisterClasses): Constify.
267         (_Jv_RegisterClasses_Counted): New prototype.
268         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
269         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
270         (_Jv_RegisterClasses_Counted): New function.
271         * configure: Regenerate.
272         * Makefile.in: Regenerate.
273         * gcj/Makefile.in: Regenerate.
274         * include/Makefile.in: Regenerate.
275         * testsuite/Makefile.in: Regenerate.
276
277 2004-10-25  Tom Tromey  <tromey@redhat.com>
278
279         * java/util/ResourceBundle.java (tryBundle): Use
280         Class.isAssignableFrom rather than catching ClassCastException.
281
282 2004-10-25  Tom Tromey  <tromey@redhat.com>
283
284         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
285         initialize `iter'.
286         * gnu/java/text/SentenceBreakIterator.java
287         (SentenceBreakIterator): Don't initialize `iter'.
288         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
289         initialize `iter'.
290         * gnu/java/text/CharacterBreakIterator.java
291         (CharacterBreakIterator): Don't initialize `iter'.
292         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
293         constructor.
294         * java/text/BreakIterator.java: Updated documentation.
295
296 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
297
298         PR other/18138
299         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
300
301 2004-10-23  Michael Koch  <konqueror@gmx.de>
302
303         * javax/print/DocFlavor.java,
304         javax/print/attribute/standard/JobStateReason.java,
305         javax/print/attribute/standard/MultipleDocumentHandling.java:
306         Added missing constants.
307
308 2004-10-22  Tom Tromey  <tromey@redhat.com>
309
310         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
311         typo.
312
313 2004-10-22  Michael Koch  <konqueror@gmx.de>
314
315         PR libjava/14009
316         * gnu/java/net/protocol/http/Connection.java
317         (sendRequest): Handle case when url.getFile() returns an empty string.
318
319 2004-10-22  Michael Koch  <konqueror@gmx.de>
320
321         * java/lang/Math.java,
322         java/lang/StackTraceElement.java,
323         java/nio/Buffer.java,
324         java/nio/ByteBuffer.java,
325         java/nio/CharBuffer.java,
326         java/nio/DoubleBuffer.java,
327         java/nio/FloatBuffer.java,
328         java/nio/IntBuffer.java,
329         java/nio/LongBuffer.java,
330         java/nio/ShortBuffer.java,
331         java/nio/charset/Charset.java,
332         java/rmi/server/RMIClassLoader.java,
333         java/rmi/server/RMISocketFactory.java,
334         java/security/Policy.java,
335         java/text/ChoiceFormat.java,
336         java/text/CollationElementIterator.java,
337         java/text/DateFormat.java,
338         java/text/DecimalFormat.java,
339         java/text/DecimalFormatSymbols.java,
340         java/text/MessageFormat.java,
341         java/text/NumberFormat.java,
342         java/text/RuleBasedCollator.java,
343         java/text/SimpleDateFormat.java,
344         java/util/BitSet.java,
345         java/util/Calendar.java,
346         java/util/Collections.java,
347         java/util/IdentityHashMap.java,
348         java/util/Locale.java,
349         java/util/TreeMap.java,
350         java/util/logging/LogRecord.java,
351         java/util/logging/XMLFormatter.java,
352         java/util/prefs/AbstractPreferences.java,
353         java/util/prefs/Preferences.java,
354         javax/crypto/interfaces/DHPrivateKey.java,
355         javax/crypto/interfaces/DHPublicKey.java,
356         javax/crypto/interfaces/PBEKey.java,
357         javax/net/ssl/HandshakeCompletedEvent.java,
358         javax/security/auth/Subject.java:
359         Removed redundant and reordered modifiers.
360
361 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
362
363         * gnu/java/net/natPlainSocketImplPosix.cc
364         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
365         with 'int *' argument instead of 'long *'.
366
367 2004-10-21  Michael Koch  <konqueror@gmx.de>
368
369         * java/net/NetworkInterface.java,
370         java/text/Format.java,
371         javax/security/auth/x500/X500Principal.java,
372         javax/security/auth/x500/X500PrivateCredential.java,
373         javax/security/cert/X509CertBridge.java,
374         javax/security/sasl/Sasl.java,
375         javax/sql/XAConnection.java:
376         Import cleanup.
377
378 2004-10-21  Michael Koch  <konqueror@gmx.de>
379
380         * javax/net/ssl/HandshakeCompletedEvent.java,
381         javax/net/ssl/KeyManagerFactory.java,
382         javax/net/ssl/SSLContext.java,
383         javax/net/ssl/SSLServerSocketFactory.java,
384         javax/net/ssl/SSLSession.java,
385         javax/net/ssl/SSLSocketFactory.java,
386         javax/net/ssl/TrustManagerFactory.java:
387         Import cleanup.
388
389 2004-10-21  Michael Koch  <konqueror@gmx.de>
390
391         * javax/naming/directory/BasicAttribute.java,
392         javax/naming/directory/BasicAttributes.java,
393         javax/naming/directory/InitialDirContext.java,
394         javax/naming/event/NamingEvent.java,
395         javax/naming/ldap/ControlFactory.java,
396         javax/naming/ldap/ExtendedRequest.java,
397         javax/naming/ldap/InitialLdapContext.java,
398         javax/naming/ldap/LdapReferralException.java,
399         javax/naming/spi/DirObjectFactory.java,
400         javax/naming/spi/DirStateFactory.java,
401         javax/naming/spi/DirectoryManager.java,
402         javax/naming/spi/InitialContextFactory.java,
403         javax/naming/spi/InitialContextFactoryBuilder.java,
404         javax/naming/spi/NamingManager.java,
405         javax/naming/spi/ObjectFactory.java,
406         javax/naming/spi/ObjectFactoryBuilder.java,
407         javax/naming/spi/StateFactory.java:
408         Import cleanup.
409
410 2004-10-21  Michael Koch  <konqueror@gmx.de>
411
412         * javax/crypto/Cipher.java,
413         javax/crypto/EncryptedPrivateKeyInfo.java,
414         javax/crypto/ExemptionMechanism.java,
415         javax/crypto/KeyAgreement.java,
416         javax/crypto/KeyGenerator.java,
417         javax/crypto/Mac.java,
418         javax/crypto/SecretKeyFactory.java,
419         javax/crypto/SecretKeyFactorySpi.java,
420         javax/crypto/spec/SecretKeySpec.java:
421         Import cleanup.
422
423 2004-10-21  Michael Koch  <konqueror@gmx.de>
424
425         * java/security/AlgorithmParameterGenerator.java,
426         java/security/AlgorithmParameters.java,
427         java/security/AlgorithmParametersSpi.java,
428         java/security/AllPermission.java,
429         java/security/BasicPermission.java,
430         java/security/Certificate.java,
431         java/security/CodeSource.java,
432         java/security/DigestInputStream.java,
433         java/security/DigestOutputStream.java,
434         java/security/GuardedObject.java,
435         java/security/KeyFactory.java,
436         java/security/KeyFactorySpi.java,
437         java/security/KeyPairGenerator.java,
438         java/security/KeyStore.java,
439         java/security/KeyStoreSpi.java,
440         java/security/Permissions.java,
441         java/security/Security.java,
442         java/security/Signature.java,
443         java/security/UnresolvedPermission.java,
444         java/security/cert/CertPathBuilder.java,
445         java/security/cert/CertPathValidator.java,
446         java/security/cert/CertStore.java,
447         java/security/cert/Certificate.java,
448         java/security/cert/CertificateFactory.java,
449         java/security/cert/PolicyQualifierInfo.java,
450         java/security/cert/TrustAnchor.java,
451         java/security/cert/X509CRL.java,
452         java/security/cert/X509CRLSelector.java,
453         java/security/cert/X509CertSelector.java:
454         Import cleanup.
455
456 2004-10-21  Michael Koch  <konqueror@gmx.de>
457
458         * java/rmi/MarshalledObject.java,
459         java/rmi/Naming.java,
460         java/rmi/activation/Activatable.java,
461         java/rmi/activation/ActivationGroup.java,
462         java/rmi/activation/ActivationGroupDesc.java,
463         java/rmi/activation/ActivationInstantiator.java,
464         java/rmi/activation/ActivationMonitor.java,
465         java/rmi/activation/ActivationSystem.java,
466         java/rmi/activation/Activator.java,
467         java/rmi/registry/LocateRegistry.java,
468         java/rmi/registry/Registry.java,
469         java/rmi/server/LogStream.java,
470         java/rmi/server/ObjID.java,
471         java/rmi/server/RMIClientSocketFactory.java,
472         java/rmi/server/RMIServerSocketFactory.java,
473         java/rmi/server/RMISocketFactory.java,
474         java/rmi/server/RemoteCall.java,
475         java/rmi/server/RemoteServer.java,
476         java/rmi/server/ServerRef.java,
477         java/rmi/server/UID.java,
478         java/rmi/server/UnicastRemoteObject.java:
479         Import cleanup.
480
481 2004-10-21  Tom Tromey  <tromey@redhat.com>
482
483         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
484         exception if we hit EOF of `in'.
485         (read): Handle case where inflating returns -1.
486
487 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
488
489         * gnu/java/nio/channels/natFileChannelPosix.cc
490         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
491         argument instead of 'long *'.
492
493 2004-10-21  Tom Tromey  <tromey@redhat.com>
494
495         * java/util/ResourceBundle.java (tryBundle): Also ignore
496         ClassCastException.
497
498 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
499
500         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
501         for all sh*-*-linux* targets.
502         * configure: Regenerate.
503         * include/sh-signal.h: New file.
504
505 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
506
507         * java/lang/ieeefp.h: Add m32r support.
508
509 2004-10-20  Andreas Schwab  <schwab@suse.de>
510
511         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
512         to uaddr, not int.
513         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
514         Likewise.
515
516 2004-10-20  Michael Koch  <konqueror@gmx.de>
517
518         * javax/print/attribute/standard/ColorSupported.java,
519         javax/print/attribute/standard/Compression.java,
520         javax/print/attribute/standard/Copies.java,
521         javax/print/attribute/standard/CopiesSupported.java,
522         javax/print/attribute/standard/DateTimeAtCompleted.java,
523         javax/print/attribute/standard/DateTimeAtCreation.java,
524         javax/print/attribute/standard/DateTimeAtProcessing.java,
525         javax/print/attribute/standard/DocumentName.java,
526         javax/print/attribute/standard/Fidelity.java,
527         javax/print/attribute/standard/Finishings.java,
528         javax/print/attribute/standard/JobHoldUntil.java,
529         javax/print/attribute/standard/JobImpressions.java,
530         javax/print/attribute/standard/JobImpressionsCompleted.java,
531         javax/print/attribute/standard/JobImpressionsSupported.java,
532         javax/print/attribute/standard/JobKOctets.java,
533         javax/print/attribute/standard/JobKOctetsProcessed.java,
534         javax/print/attribute/standard/JobKOctetsSupported.java,
535         javax/print/attribute/standard/JobMediaSheets.java,
536         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
537         javax/print/attribute/standard/JobMediaSheetsSupported.java,
538         javax/print/attribute/standard/JobMessageFromOperator.java,
539         javax/print/attribute/standard/JobName.java,
540         javax/print/attribute/standard/JobOriginatingUserName.java,
541         javax/print/attribute/standard/JobPriority.java,
542         javax/print/attribute/standard/JobPrioritySupported.java,
543         javax/print/attribute/standard/JobSheets.java,
544         javax/print/attribute/standard/JobState.java,
545         javax/print/attribute/standard/JobStateReason.java,
546         javax/print/attribute/standard/JobStateReasons.java,
547         javax/print/attribute/standard/Media.java,
548         javax/print/attribute/standard/MultipleDocumentHandling.java,
549         javax/print/attribute/standard/NumberOfDocuments.java,
550         javax/print/attribute/standard/NumberOfInterveningJobs.java,
551         javax/print/attribute/standard/NumberUp.java,
552         javax/print/attribute/standard/NumberUpSupported.java,
553         javax/print/attribute/standard/OrientationRequested.java,
554         javax/print/attribute/standard/OutputDeviceAssigned.java,
555         javax/print/attribute/standard/PDLOverrideSupported.java,
556         javax/print/attribute/standard/PageRanges.java,
557         javax/print/attribute/standard/PagesPerMinute.java,
558         javax/print/attribute/standard/PagesPerMinuteColor.java,
559         javax/print/attribute/standard/PrintQuality.java,
560         javax/print/attribute/standard/PrinterInfo.java,
561         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
562         javax/print/attribute/standard/PrinterLocation.java,
563         javax/print/attribute/standard/PrinterMakeAndModel.java,
564         javax/print/attribute/standard/PrinterMessageFromOperator.java,
565         javax/print/attribute/standard/PrinterMoreInfo.java,
566         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
567         javax/print/attribute/standard/PrinterName.java,
568         javax/print/attribute/standard/PrinterStateReason.java,
569         javax/print/attribute/standard/PrinterStateReasons.java,
570         javax/print/attribute/standard/PrinterURI.java,
571         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
572         javax/print/attribute/standard/RequestingUserName.java:
573         Reorganized imports and removed redundant final modifiers.
574
575 2004-10-20  Michael Koch  <konqueror@gmx.de>
576
577         * javax/security/sasl/SaslClient.java,
578         javax/security/sasl/SaslClientFactory.java,
579         javax/security/sasl/SaslException.java,
580         javax/security/sasl/SaslServer.java,
581         javax/security/sasl/SaslServerFactory.java:
582         Remvoed CVS tags.
583
584 2004-10-20  Michael Koch  <konqueror@gmx.de>
585
586         * javax/security/auth/login/NullConfiguration.java,
587         javax/security/auth/x500/X500Principal.java,
588         javax/security/cert/X509Certificate.java,
589         javax/security/sasl/AuthenticationException.java,
590         javax/security/sasl/AuthorizeCallback.java,
591         javax/security/sasl/RealmCallback.java,
592         javax/security/sasl/RealmChoiceCallback.java,
593         javax/security/sasl/Sasl.java,
594         javax/security/sasl/SaslClient.java,
595         javax/security/sasl/SaslClientFactory.java,
596         javax/security/sasl/SaslException.java,
597         javax/security/sasl/SaslServer.java,
598         javax/security/sasl/SaslServerFactory.java:
599         Cleaned up import statements and copyright notices.
600
601 2004-10-20  Michael Koch  <konqueror@gmx.de>
602
603         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
604
605 2004-10-20  Michael Koch  <konqueror@gmx.de>
606
607         * java/sql/Timestamp.java,
608         java/text/AttributedCharacterIterator.java,
609         java/text/AttributedString.java,
610         java/util/zip/CheckedOutputStream.java,
611         java/util/zip/DeflaterOutputStream.java,
612         java/util/zip/ZipFile.java,
613         javax/crypto/Cipher.java,
614         javax/crypto/ExemptionMechanismException.java,
615         javax/crypto/SecretKey.java,
616         javax/crypto/SecretKeyFactory.java,
617         javax/naming/directory/ModificationItem.java,
618         javax/naming/directory/SearchControls.java,
619         javax/naming/event/NamingListener.java,
620         javax/naming/ldap/Control.java,
621         javax/naming/ldap/ExtendedResponse.java,
622         javax/net/ssl/SSLSocketFactory.java:
623         Reorganized imports and fixed copyright headers.
624
625 2004-10-20  Michael Koch  <konqueror@gmx.de>
626
627         * java/util/logging/ConsoleHandler.java,
628         java/util/logging/ErrorManager.java,
629         java/util/logging/FileHandler.java,
630         java/util/logging/Filter.java,
631         java/util/logging/Formatter.java,
632         java/util/logging/Handler.java,
633         java/util/logging/Level.java,
634         java/util/logging/LogManager.java,
635         java/util/logging/LogRecord.java,
636         java/util/logging/Logger.java,
637         java/util/logging/LoggingPermission.java,
638         java/util/logging/MemoryHandler.java,
639         java/util/logging/SimpleFormatter.java,
640         java/util/logging/SocketHandler.java,
641         java/util/logging/StreamHandler.java,
642         java/util/logging/XMLFormatter.java:
643         Standardized copyrigth header.
644
645 2004-10-20  Michael Koch  <konqueror@gmx.de>
646
647         * java/security/AlgorithmParameterGenerator.java,
648         java/security/AlgorithmParameters.java,
649         java/security/DigestInputStream.java,
650         java/security/Identity.java,
651         java/security/KeyFactory.java,
652         java/security/KeyPairGenerator.java,
653         java/security/KeyStore.java,
654         java/security/MessageDigest.java,
655         java/security/MessageDigestSpi.java,
656         java/security/Policy.java,
657         java/security/SecureRandom.java,
658         java/security/Security.java,
659         java/security/Signature.java,
660         java/security/SignatureSpi.java,
661         java/security/cert/CertPathBuilder.java,
662         java/security/cert/CertPathValidator.java,
663         java/security/cert/CertStore.java,
664         java/security/cert/Certificate.java,
665         java/security/cert/CertificateFactory.java,
666         java/security/cert/PolicyQualifierInfo.java,
667         java/security/cert/TrustAnchor.java,
668         java/security/cert/X509CRL.java,
669         java/security/cert/X509CRLEntry.java,
670         java/security/cert/X509Certificate.java,
671         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
672         Import statements reorganized, some little formatting issues,
673         used java-style array declarations, added comments in empty catch
674         blocks.
675
676 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
677
678         * java/security/Security.java
679         (static): Use AccessController.doPrivileged to get system property.
680
681 2004-10-18  Sven de Marothy  <sven@physto.se>
682
683         * java/nio/ByteBufferHelper.java
684         (putDouble): Use Double.toRawLongBits instead.
685
686 2004-10-18  Mark Wielaard  <mark@klomp.org>
687         Andrew Haley  <aph@redhat.com>
688
689         * testsuite/libjava.lang/ExtraClassLoader.java: New.
690
691 2004-10-18  Andrew Haley  <aph@redhat.com>
692
693         PR java/18036:
694         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
695         and correct logic used to find interpreter.
696         
697 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
698
699         * java/util/logging/LogManager.java
700         (findAncestor): Fixed IndexOutOfBoundsException.
701
702 2004-10-18  Michael Koch  <konqueror@gmx.de>
703
704         * java/io/BufferedInputStream.java: Fixed @author tag.
705         (read): Simplified expression.
706         (read): Merged javadoc a bit more.
707         (read): Renamed 'remain' to 'totalBytesRead'.
708         * java/io/DataInputStream.java,
709         java/io/DataOutputStream.java,
710         java/io/ObjectInputStream.java,
711         java/io/ObjectOutputStream.java:
712         Reworked modifier order.
713
714 2004-10-18  Michael Koch  <konqueror@gmx.de>
715
716         * java/net/Inet4Address.java: Merged file header and javadocs.
717         * java/net/Inet6Address.java: Likewise.
718         * java/net/InetAddress.java
719         (getCanonicalHostName): Create Inet4Address object instead of
720         InetAddress and add comment regarding IPv6.
721         (toString): Simplified.
722
723 2004-10-18  Michael Koch  <konqueror@gmx.de>
724
725         * gnu/java/net/protocol/http/Connection.java,
726         java/nio/MappedByteBufferImpl.java,
727         java/text/RuleBasedCollator.java,
728         java/util/ResourceBundle.java:
729         Reworked import statements.
730
731 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
732
733         * java/security/IdentityScope.java
734         (systemScope): Removed useless initializer.
735         * java/security/Policy.java
736         (currentPolicy): Likewise.
737
738 2004-10-18  Michael Koch  <konqueror@gmx.de>
739
740         * java/lang/System.java: Revert accidential change.
741
742 2004-10-18  Michael Koch  <konqueror@gmx.de>
743
744         * java/lang/Math.java,
745         java/lang/Package.java,
746         java/lang/Runtime.java,
747         java/lang/StrictMath.java,
748         java/lang/System.java,
749         java/lang/Thread.java,
750         java/lang/ThreadLocal.java,
751         java/lang/Void.java:
752         Reworked import statements, HTML in javadocs and modifier orders.
753
754 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
755
756         * java/util/Timer.java
757         (nr): Removed useless initializer.
758         * java/util/logging/LogRecord.java
759         (lastSeqNum): Likewise.
760         * javax/naming/spi/NamingManager.java
761         (icfb, ofb): Likewise.
762
763 2004-10-18  Michael Koch  <konqueror@gmx.de>
764
765         * gnu/java/net/PlainDatagramSocketImpl.java:
766         Reworked import statements.
767         * gnu/java/security/provider/DSAParameters.java:
768         Fixed copyrigth years.
769         * java/net/JarURLConnection.java:
770         Fixed HTML in @author tags.
771         
772
773 2004-10-18  Michael Koch  <konqueror@gmx.de>
774
775         * java/rmi/activation/ActivationSystem.java
776         (SYSTEM_PORT): Initialize with correct port number.
777
778 2004-10-18  Michael Koch  <konqueror@gmx.de>
779
780         * java/lang/reflect/Proxy.java: Improved javadocs.
781
782 2004-10-18  Michael Koch  <konqueror@gmx.de>
783
784         * java/lang/reflect/AccessibleObject.java
785         (checkPermission): Removed redundant final modifier.
786         (secureSetAccessible): Likewise.
787         * java/lang/reflect/Proxy.java:
788         Reworked import statements.
789         (generate): Removed redundant final modifier.
790         * java/lang/reflect/ReflectPermission.java:
791         Reorder package declaration and import statement.
792
793 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
794
795         * java/lang/reflect/Proxy.java
796         (count): Removed useless initializer.
797
798 2004-10-17  Michael Koch  <konqueror@gmx.de>
799
800         * java/net/BindException.java,
801         java/net/ConnectException.java,
802         java/net/ContentHandler.java,
803         java/net/ContentHandlerFactory.java,
804         java/net/DatagramPacket.java,
805         java/net/DatagramSocket.java,
806         java/net/DatagramSocketImpl.java,
807         java/net/DatagramSocketImplFactory.java,
808         java/net/FileNameMap.java,
809         java/net/HttpURLConnection.java,
810         java/net/MalformedURLException.java,
811         java/net/MulticastSocket.java,
812         java/net/NetworkInterface.java,
813         java/net/NoRouteToHostException.java,
814         java/net/PasswordAuthentication.java,
815         java/net/PortUnreachableException.java,
816         java/net/ProtocolException.java,
817         java/net/ServerSocket.java,
818         java/net/Socket.java,
819         java/net/SocketException.java,
820         java/net/SocketImpl.java,
821         java/net/SocketImplFactory.java,
822         java/net/SocketOptions.java,
823         java/net/SocketPermission.java,
824         java/net/SocketTimeoutException.java,
825         java/net/URI.java,
826         java/net/URISyntaxException.java,
827         java/net/URL.java,
828         java/net/URLDecoder.java,
829         java/net/URLEncoder.java,
830         java/net/URLStreamHandler.java,
831         java/net/URLStreamHandlerFactory.java,
832         java/net/UnknownHostException.java,
833         java/net/UnknownServiceException.java:
834         Big import statement and @author tag cleanup.
835
836 2004-10-17  Michael Koch  <konqueror@gmx.de>
837
838         * gnu/java/security/OID.java,
839         gnu/java/security/provider/DSAParameters.java,
840         gnu/java/security/provider/DSASignature.java,
841         gnu/java/security/x509/X500DistinguishedName.java,
842         gnu/java/security/x509/X509CRL.java:
843         Import statements cleaned up.
844
845 2004-10-16  Michael Koch  <konqueror@gmx.de>
846
847         * gnu/java/nio/NIODatagramSocket.java,
848         gnu/java/nio/ServerSocketChannelImpl.java:
849         Reorganized import statements.
850
851 2004-10-16  Michael Koch  <konqueror@gmx.de>
852
853         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
854         gnu/java/rmi/rmic/RMIC.java,
855         gnu/java/rmi/server/RMIHashes.java,
856         gnu/java/rmi/server/RMIObjectInputStream.java,
857         gnu/java/rmi/server/RMIObjectOutputStream.java,
858         gnu/java/rmi/server/UnicastConnection.java,
859         gnu/java/rmi/server/UnicastConnectionManager.java,
860         gnu/java/rmi/server/UnicastRemoteCall.java,
861         gnu/java/rmi/server/UnicastServer.java,
862         gnu/java/rmi/server/UnicastServerRef.java,
863         java/rmi/MarshalledObject.java,
864         java/rmi/Naming.java,
865         java/rmi/RMISecurityManager.java,
866         java/rmi/Remote.java,
867         java/rmi/activation/Activatable.java,
868         java/rmi/activation/ActivationDesc.java,
869         java/rmi/activation/ActivationGroup.java,
870         java/rmi/activation/ActivationGroupDesc.java,
871         java/rmi/activation/ActivationGroupID.java,
872         java/rmi/activation/ActivationID.java,
873         java/rmi/activation/ActivationInstantiator.java,
874         java/rmi/activation/ActivationMonitor.java,
875         java/rmi/activation/ActivationSystem.java,
876         java/rmi/activation/Activator.java,
877         java/rmi/dgc/DGC.java,
878         java/rmi/dgc/Lease.java,
879         java/rmi/dgc/VMID.java,
880         java/rmi/registry/LocateRegistry.java,
881         java/rmi/registry/Registry.java,
882         java/rmi/registry/RegistryHandler.java,
883         java/rmi/server/LoaderHandler.java,
884         java/rmi/server/LogStream.java,
885         java/rmi/server/ObjID.java,
886         java/rmi/server/Operation.java,
887         java/rmi/server/RMIClassLoader.java,
888         java/rmi/server/RMIClassLoaderSpi.java,
889         java/rmi/server/RMIClientSocketFactory.java,
890         java/rmi/server/RMIFailureHandler.java,
891         java/rmi/server/RMIServerSocketFactory.java,
892         java/rmi/server/RMISocketFactory.java,
893         java/rmi/server/RemoteCall.java,
894         java/rmi/server/RemoteObject.java,
895         java/rmi/server/RemoteRef.java,
896         java/rmi/server/RemoteServer.java,
897         java/rmi/server/RemoteStub.java,
898         java/rmi/server/ServerRef.java,
899         java/rmi/server/Skeleton.java,
900         java/rmi/server/SkeletonMismatchException.java,
901         java/rmi/server/UID.java,
902         java/rmi/server/UnicastRemoteObject.java,
903         java/rmi/server/Unreferenced.java:
904         File headers and import statements cleaned up.
905
906 2004-10-16  Michael Koch  <konqueror@gmx.de>
907
908         * libjava/gnu/java/nio/charset/UTF_16.java,
909         libjava/gnu/java/nio/charset/UTF_16BE.java,
910         libjava/gnu/java/nio/charset/UTF_16LE.java,
911         libjava/java/nio/ByteOrder.java,
912         libjava/java/nio/MappedByteBuffer.java,
913         libjava/java/nio/channels/Channels.java,
914         libjava/java/nio/channels/spi/SelectorProvider.java,
915         libjava/java/nio/charset/Charset.java:
916         Cleanup.
917
918 2004-10-16  Michael Koch  <konqueror@gmx.de>
919
920         * gnu/java/nio/charset/UTF_16Encoder.java
921         (UTF_16Encoder): Fixed maxBytesPerChar handling.
922
923 2004-10-16  Michael Koch  <konqueror@gmx.de>
924
925         * java/math/BigDecimal.java, java/math/BigInteger.java:
926         Reorganized import statements, removed redundant and
927         reorganized modifiers.
928
929 2004-10-16  Michael Koch  <konqueror@gmx.de>
930
931         * gnu/java/beans/ExplicitBeanInfo.java:
932         Explicitely import java.awt.Image.
933         (getIcon): Fixed off-by-one error.
934
935 2004-10-15  Andrew Haley  <aph@redhat.com>
936
937         * Makefile.am (nat_files, xlib_nat_files): New.
938         * Makefile.in: Regenerate.
939
940 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
941
942         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
943         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
944
945 2004-10-13  Andrew Haley  <aph@redhat.com>
946
947         * interpret.cc (_Jv_InterpMethod::run): Initialize
948         _Jv_StartOfInterpreter.
949         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
950         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
951         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
952         _Unwind_FindEnclosingFunction to discover whether PC is within the
953         interpreter.
954
955 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
956
957         PR libgcj/17903:
958         * testsuite/libjava.lang/md5test.java: New file.
959         * testsuite/libjava.lang/md5test.out: Likewise.
960         * testsuite/libjava.lang/shatest.java: Likewise.
961         * testsuite/libjava.lang/shatest.out: Likewise.
962
963 2004-10-11  Richard Henderson  <rth@redhat.com>
964
965         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
966         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
967
968 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
969
970         * java/util/Calendar.java (set): Invalidate DST_OFFSET
971         field as a DST boundary may have been crossed.
972         * java/util/GregorianCalendar.java (add): Throw 
973         IllegalArgumentException on attempt to add to DST_OFFSET or 
974         ZONE_OFFSET fields. Update javadoc.
975
976 2004-10-09  Michael Koch  <konqueror@gmx.de>
977
978         * java/io/CharArrayWriter.java
979         (resize): Removed redundant 'final' modifier.
980         * java/io/DataInputStream.java
981         (readFully): Throw IndexOutOfBoundsException of len < 0.
982         * java/io/FileDescriptor.java,
983         java/io/FileInputStream.java,
984         java/io/FileOutputStream.java,
985         java/io/ObjectOutputStream.java,
986         java/io/ObjectStreamClass.java,
987         java/io/PipedInputStream.java,
988         java/io/RandomAccessFile.java:
989         Reorganized import statements.
990
991 2004-10-09  Michael Koch  <konqueror@gmx.de>
992
993         * gnu/java/rmi/rmic/RMIC.java,
994         gnu/java/rmi/server/RMIHashes.java,
995         gnu/java/rmi/server/RMIObjectInputStream.java,
996         gnu/java/rmi/server/UnicastConnection.java,
997         gnu/java/rmi/server/UnicastConnectionManager.java,
998         gnu/java/rmi/server/UnicastRemoteCall.java,
999         gnu/java/rmi/server/UnicastServerRef.java:
1000         Reworked import statements and fixed file headers.
1001
1002 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1003
1004         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1005         emission rule.
1006         * configure: Rebuilt.
1007
1008 2004-09-30  Tom Tromey  <tromey@redhat.com>
1009
1010         * java/text/MessageFormat.java (Field): Constructor now
1011         protected.
1012
1013 2004-09-30  Tom Tromey  <tromey@redhat.com>
1014
1015         * javax/crypto/MacSpi.java: Fixed typo.
1016
1017 2004-09-30  Michael Koch  <konqueror@gmx.de>
1018
1019         * java/net/InetAddress.java: Reformatted.
1020         (loopback): Initialize with Inet4Address object.
1021         (static): Initialize ANY_IF with Inet4Address object.
1022         (InetAddress): Removed unused package-private constructor.
1023
1024 2004-09-30  Michael Koch  <konqueror@gmx.de>
1025
1026         * java/beans/Beans.java,
1027         java/beans/EventHandler.java,
1028         java/beans/EventSetDescriptor.java,
1029         java/beans/Introspector.java,
1030         java/beans/PropertyEditorManager.java,
1031         java/beans/beancontext/BeanContext.java,
1032         java/beans/beancontext/BeanContextChild.java,
1033         java/beans/beancontext/BeanContextChildSupport.java,
1034         java/beans/beancontext/BeanContextMembershipEvent.java:
1035         Reordered import statements and removed redundant modifiers.
1036
1037 2004-09-29  Tom Tromey  <tromey@redhat.com>
1038
1039         PR libgcj/17715:
1040         * Makefile.in: Rebuilt.
1041         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1042         files.
1043         (all_property_files): New macro.
1044
1045         * Makefile.in: Rebuilt.
1046         * Makefile.am (ordinary_java_source_files): Re-sorted.
1047         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1048
1049 2004-09-28  Tom Tromey  <tromey@redhat.com>
1050
1051         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1052
1053         PR libgcj/17222:
1054         * Makefile.am (libgcj.la): Restored.
1055         * Makefile.in: Rebuilt.
1056
1057 2004-09-28  Michael Koch  <konqueror@gmx.de>
1058
1059         * java/net/URLConnection.java: Reformatted.
1060         * java/net/URLClassLoader.java: Reformatted.
1061         (getContent): Reordered return of content.
1062         (getContentHandler): Don't check for null explicitely.
1063
1064 2004-09-27  Michael Koch  <konqueror@gmx.de>
1065
1066         * java/io/BufferedInputStream.java
1067         (BufferedInputStream): Added Jeroen Frijters to authors.
1068         (count): Don't explicitely initialize with default value.
1069         (pos): Likewise.
1070         (marklimit): Likewise.
1071         (read): Changed boolean expression to match GNU classpath' version.
1072         (reset): Add proper message to exception.
1073         (skip): Check for closed stream.
1074         (refill): Likewise.
1075
1076 2004-09-26  Per Bothner  <per@bothner.com>
1077
1078         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1079         avoid warnings in the non-POSIX_VERSION case.
1080         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1081         so place it inside an #if block.
1082         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1083         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1084         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1085         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1086
1087 2004-09-26  Per Bothner  <per@bothner.com>
1088
1089         * prims.cc (process_gcj_properties):  Optimization.
1090
1091 2004-09-26  Per Bothner  <per@bothner.com>
1092
1093         * java/util/Collections.java (sort):  Copy from array in forwards
1094         order, rather than reverse order which may be much less efficient.
1095
1096 2004-09-26  Mark Wielaard  <mark@klomp.org>
1097
1098         * java/lang/System.java (properties): Make package private.
1099         * java/lang/Throwable.java (StaticData.nl): Initialize through
1100         directly accessing System.properties.getProperty().
1101
1102         * java/lang/Throwable.java (nl): Remove static field.
1103         (StaticData): New private static inner class.
1104         (stackTraceStringBuffer): Use StaticData.nl.
1105
1106 2004-09-26  Casey Marshall <csm@gnu.org>
1107
1108         * java/security/ProtectionDomain.java
1109         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1110         `true'.
1111
1112         * java/security/SecureClassLoader.java
1113         (defineClass): make protection domain dynamically bound.
1114         (getPermissions): call `getCurrentPolicy' to avoid permission
1115         check.
1116
1117 2004-09-25  Mark Wielaard  <mark@klomp.org>
1118
1119         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1120         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1121         * Makefile.in: Regenerated.
1122
1123         * gcj/javaprims.h: Regenerated.
1124
1125         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1126         (getDefaultTimeZone): Make package private. Check that GMToffset
1127         contains at least one digit.
1128         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1129         VMTimeZone.
1130         * util/VMTimeZone.java: New file with above methods.
1131
1132         * java/util/natTimeZone.cc: Removed (renamed).
1133         * java/util/natVMTimeZone.cc: Added (renamed).
1134
1135 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1136
1137         * java/util/TimeZone.java
1138         (getDefaultTimeZone): Fixed test to distinguish between hours and
1139         minutes in specified timezone.
1140
1141 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1142
1143         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1144         handling of default package. (generate): Removed confused comments
1145         and code about making Method and Field accessible.
1146
1147 2004-09-25  Tom Tromey  <tromey@redhat.com>
1148
1149         PR java/17500:
1150         * testsuite/libjava.compile/pr17500.java: New file.
1151
1152 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1153             Mark Wielaard  <mark@klomp.org>
1154
1155         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1156         * gnu/regexp/RETokenLookAhead.java: New file.
1157
1158         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1159         * Makefile.in: Regenerated.
1160
1161 2004-09-25  Michael Koch  <konqueror@gmx.de>
1162
1163         * java/io/ObjectStreamField.java:
1164         Removed unused import statement.
1165
1166 2004-09-24  Tom Tromey  <tromey@redhat.com>
1167
1168         PR java/15656:
1169         * testsuite/libjava.compile/pr15656.xfail: New file.
1170         * testsuite/libjava.compile/pr15656.java: new file.
1171
1172         PR java/16789:
1173         * testsuite/libjava.lang/pr16789.out: New file.
1174         * testsuite/libjava.lang/pr16789.java: New file.
1175
1176 2004-09-24  Andrew Haley  <aph@redhat.com>
1177
1178         PR java/16927
1179         * testsuite/libjava.compile/AssertBug.java: New file.
1180
1181 2004-09-24  Casey Marshall <csm@gnu.org>
1182
1183         * java/util/PropertyPermissionCollection.java
1184         (implies): avoid infinite loop.
1185
1186 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1187
1188         * javax/security/auth/PrivateCredentialPermission.java
1189         (PrivateCredentialPermission): added serialization UID
1190
1191
1192 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1193
1194         * gnu/java/rmi/server/UnicastServer.java
1195         (incomingMessageCall): Added code to handle Errors.
1196         * gnu/java/rmi/server/UnicastServerRef.java
1197         (incomingMessageCall): Added code to handle Errors.
1198
1199
1200 2004-09-24  Tom Tromey  <tromey@redhat.com>
1201
1202         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1203         (definedPackages): Likewise.
1204
1205 2004-09-24  Michael Koch  <konqueror@gmx.de>
1206
1207         * java/io/ObjectInputStream.java:
1208         Re-ordered imports.
1209
1210 2004-09-24  Casey Marshall <csm@gnu.org>
1211
1212         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1213         `ClassNotFoundException'.
1214
1215 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1216
1217         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1218         of Externalizable classes to ObjectStreamClass.
1219         * java/io/ObjectStreamClass.java (newInstance): New method to
1220         instantiate Externalizable (while ignoring the accessibility of
1221         the constructor). (constructor): New field to cache the constructor.
1222
1223 2004-09-24  Mark Wielaard  <mark@klomp.org>
1224
1225         * java/net/URL.java (systemClassLoader): New static field.
1226         (getURLStreamHandler): Always use system/application classloader
1227         for finding URLStreamhandler. Remove unecessary instanceof checks.
1228
1229 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1230
1231         * java/net/URL.java
1232         (set): This method now matches the behaviour of the JDK.
1233         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1234
1235 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1236
1237         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1238
1239 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1240
1241         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1242         Don't set authority if host isn't specified.
1243
1244 2004-09-24  Michael Koch  <konqueror@gmx.de>
1245
1246         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1247         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1248         * gnu/java/nio/VMPipe.java,
1249         gnu/java/nio/VMSelector.java:
1250         New files.
1251         * gnu/java/nio/natPipeImplEcos.cc,
1252         gnu/java/nio/natPipeImplPosix.cc,
1253         gnu/java/nio/natPipeImplWin32.cc:
1254         Ported to VMPipe.
1255         * gnu/java/nio/natSelectorImplEcos.cc,
1256         gnu/java/nio/natSelectorImplPosix.cc,
1257         gnu/java/nio/natSelectorImplWin32.cc:
1258         Ported to VMSelector.
1259         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1260         gnu/java/nio/VMSelector.java.
1261         * Makefile.in: Regenerated.
1262
1263 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1264
1265         * java/lang/StackTraceElement.java
1266         (className): Renamed field to declaringClass to be compatible
1267         with Sun serialization format.
1268
1269 2004-09-23  Michael Koch  <konqueror@gmx.de>
1270
1271         * java/applet/AppletContext.java,
1272         java/applet/Applet.java,
1273         java/applet/AppletStub.java,
1274         java/applet/AudioClip.java:
1275         Jalopied and checkstyle clean.
1276
1277 2004-09-23  Mark Wielaard  <mark@klomp.org>
1278
1279         * java/util/Collections.java
1280         (binarySearch(List, Object, Comparator)): Explicitly
1281         reverse direction in list iterator.
1282         (rotate): Just return when list is empty.
1283
1284 2004-09-23  Tom Tromey  <tromey@redhat.com>
1285
1286         PR java/17329:
1287         * testsuite/libjava.compile/pr17329.java: New file.
1288
1289         PR java/17380:
1290         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1291         9.2-implicit-7.
1292
1293 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1294
1295         * Makefile.am: Run aclocal with -I ../config
1296         * acinclude.m4: Delete macros picked up from ../config and tidy.
1297         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1298         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1299         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1300
1301 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1302
1303         * aclocal.m4: Regenerate with aclocal 1.9.2.
1304         * configure: Regenerate.
1305         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1306         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1307
1308 2004-09-22  David Daney  <ddaney@avtrex.com>
1309
1310         PR libgcj/17623
1311         * java/net/URL.java (URL): Copy userInfo from context.
1312         (getUserInfo): Return cached userInfo if present.
1313
1314 2004-09-22  Tom Tromey  <tromey@redhat.com>
1315
1316         PR libgcj/6182:
1317         * mauve-libgcj: Enable java.lang.Character tests.
1318
1319 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1320
1321         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1322         dependencies.
1323         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1324         * Makefile.in: Regenerated.
1325
1326 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1327
1328         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1329         * configure: Regenerate.
1330         * include/config.h.in: Likewise.
1331         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1332         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1333         macro to gtkpeer.h.
1334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1335         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1336         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1337         architectures.
1338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1339         Likewise.
1340
1341 2004-09-22  Tom Tromey  <tromey@redhat.com>
1342
1343         PR libgcj/14446:
1344         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1345         when comparing CRCs.
1346         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1347         field.
1348         (read()): New overload.
1349
1350 2004-09-21  Tom Tromey  <tromey@redhat.com>
1351
1352         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1353         Indentation fix.
1354
1355 2004-09-21  Michael Koch  <konqueror@gmx.de>
1356
1357         * java/net/Socket.java
1358         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1359
1360 2004-09-21  Casey Marshall  <csm@gnu.org>
1361
1362         * javax/crypto/MacSpi.java (clone): Provide meaningful
1363         implementation.
1364
1365 2004-09-21  Tom Tromey  <tromey@redhat.com>
1366
1367         PR libgcj/16869:
1368         * Makefile.in: Rebuilt.
1369         * Makefile.am (MOSTLYCLEANFILES): Removed.
1370         (mostlyclean-local): Remove header files.
1371
1372 2004-09-21  Casey Marshall  <csm@gnu.org>
1373
1374         * java/security/cert/X509CRLSelector.java:
1375         (match): remove unreachable try-catch clauses.
1376         Reported by: Dalibor Topic <robilad@kaffe.org>
1377
1378 2004-09-21  Mark Wielaard  <mark@klomp.org>
1379
1380         * java/util/TreeMap.java (root): Don't initialize.
1381         (TreeMap(Comparator)): Call fabricateTree(0).
1382         (fabricateTree): Initialize root and size when count is 0.
1383
1384 2004-09-21  Sven de Marothy <sven@physto.se>
1385
1386         * java/nio/ByteBuffer.java (hashCode): Implemented.
1387         * java/nio/CharBuffer.java: Likewise.
1388         * java/nio/DoubleBuffer.java: Likewise.
1389         * java/nio/FloatBuffer.java: Likewise.
1390         * java/nio/LongBuffer.java: Likewise.
1391         * java/nio/IntBuffer.java: Likewise.
1392         * java/nio/ShortBuffer.java: Likewise.
1393
1394 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1395
1396         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1397
1398 2004-09-21  Michael Koch  <konqueror@gmx.de>
1399
1400         * javax/net/ssl/SSLServerSocket.java:
1401         Removed comment about "Do not edit this file, it's generated.".
1402
1403 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1404
1405         Import the big Crypto/Jessie/Security merge from Classpath.
1406
1407         * Makefile.am: Add imported files.
1408         * Makefile.in: Regenerate.
1409
1410         2004-08-14  Casey Marshall <csm@gnu.org>
1411
1412         The Big Crypto Merge of 2004.
1413
1414         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1415         Crypto's version.
1416
1417         Files imported from GNU Crypto.
1418         * javax/crypto/BadPaddingException.java
1419         * javax/crypto/Cipher.java
1420         * javax/crypto/CipherInputStream.java
1421         * javax/crypto/CipherOutputStream.java
1422         * javax/crypto/CipherSpi.java
1423         * javax/crypto/EncryptedPrivateKeyInfo.java
1424         * javax/crypto/ExemptionMechanism.java
1425         * javax/crypto/ExemptionMechanismException.java
1426         * javax/crypto/ExemptionMechanismSpi.java
1427         * javax/crypto/IllegalBlockSizeException.java
1428         * javax/crypto/KeyAgreement.java
1429         * javax/crypto/KeyAgreementSpi.java
1430         * javax/crypto/KeyGenerator.java
1431         * javax/crypto/KeyGeneratorSpi.java
1432         * javax/crypto/Mac.java
1433         * javax/crypto/MacSpi.java
1434         * javax/crypto/Makefile.am
1435         * javax/crypto/NoSuchPaddingException.java
1436         * javax/crypto/NullCipher.java
1437         * javax/crypto/NullCipherImpl.java
1438         * javax/crypto/SealedObject.java
1439         * javax/crypto/SecretKey.java
1440         * javax/crypto/SecretKeyFactory.java
1441         * javax/crypto/SecretKeyFactorySpi.java
1442         * javax/crypto/ShortBufferException.java
1443         * javax/crypto/interfaces/DHKey.java
1444         * javax/crypto/interfaces/DHPrivateKey.java
1445         * javax/crypto/interfaces/DHPublicKey.java
1446         * javax/crypto/interfaces/PBEKey.java
1447         * javax/crypto/spec/DESKeySpec.java
1448         * javax/crypto/spec/DESedeKeySpec.java
1449         * javax/crypto/spec/DHGenParameterSpec.java
1450         * javax/crypto/spec/DHParameterSpec.java
1451         * javax/crypto/spec/DHPrivateKeySpec.java
1452         * javax/crypto/spec/DHPublicKeySpec.java
1453         * javax/crypto/spec/IvParameterSpec.java
1454         * javax/crypto/spec/PBEKeySpec.java
1455         * javax/crypto/spec/PBEParameterSpec.java
1456         * javax/crypto/spec/RC2ParameterSpec.java
1457         * javax/crypto/spec/RC5ParameterSpec.java
1458         * javax/crypto/spec/SecretKeySpec.java
1459         * javax/security/auth/AuthPermission.java
1460         * javax/security/auth/DestroyFailedException.java
1461         * javax/security/auth/Destroyable.java
1462         * javax/security/auth/Policy.java
1463         * javax/security/auth/PrivateCredentialPermission.java
1464         * javax/security/auth/RefreshFailedException.java
1465         * javax/security/auth/Refreshable.java
1466         * javax/security/auth/Subject.java
1467         * javax/security/auth/SubjectDomainCombiner.java
1468         * javax/security/auth/callback/Callback.java
1469         * javax/security/auth/callback/CallbackHandler.java
1470         * javax/security/auth/callback/ChoiceCallback.java
1471         * javax/security/auth/callback/ConfirmationCallback.java
1472         * javax/security/auth/callback/LanguageCallback.java
1473         * javax/security/auth/callback/NameCallback.java
1474         * javax/security/auth/callback/PasswordCallback.java
1475         * javax/security/auth/callback/TextInputCallback.java
1476         * javax/security/auth/callback/TextOutputCallback.java
1477         * javax/security/auth/callback/UnsupportedCallbackException.java
1478         * javax/security/auth/login/AccountExpiredException.java
1479         * javax/security/auth/login/AppConfigurationEntry.java
1480         * javax/security/auth/login/Configuration.java
1481         * javax/security/auth/login/CredentialExpiredException.java
1482         * javax/security/auth/login/FailedLoginException.java
1483         * javax/security/auth/login/LoginContext.java
1484         * javax/security/auth/login/LoginException.java
1485         * javax/security/auth/login/NullConfiguration.java
1486         * javax/security/auth/x500/X500PrivateCredential.java
1487         * javax/security/sasl/AuthenticationException.java
1488         * javax/security/sasl/AuthorizeCallback.java
1489         * javax/security/sasl/RealmCallback.java
1490         * javax/security/sasl/RealmChoiceCallback.java
1491         * javax/security/sasl/Sasl.java
1492         * javax/security/sasl/SaslClient.java
1493         * javax/security/sasl/SaslClientFactory.java
1494         * javax/security/sasl/SaslException.java
1495         * javax/security/sasl/SaslServer.java
1496         * javax/security/sasl/SaslServerFactory.java
1497         * org/ietf/jgss/ChannelBinding.java
1498         * org/ietf/jgss/GSSContext.java
1499         * org/ietf/jgss/GSSCredential.java
1500         * org/ietf/jgss/GSSException.java
1501         * org/ietf/jgss/GSSManager.java
1502         * org/ietf/jgss/GSSName.java
1503         * org/ietf/jgss/MessageProp.java
1504         * org/ietf/jgss/Oid.java
1505         * org/ietf/jgss/MessagesBundle.properties
1506
1507         Files imported from Jessie <http://www.nongnu.org/jessie/>
1508         * javax/net/ServerSocketFactory.java
1509         * javax/net/SocketFactory.java
1510         * javax/net/VanillaServerSocketFactory.java
1511         * javax/net/VanillaSocketFactory.java
1512         * javax/net/ssl/HandshakeCompletedEvent.java
1513         * javax/net/ssl/HandshakeCompletedListener.java
1514         * javax/net/ssl/HostnameVerifier.java
1515         * javax/net/ssl/HttpsURLConnection.java
1516         * javax/net/ssl/KeyManager.java
1517         * javax/net/ssl/KeyManagerFactory.java
1518         * javax/net/ssl/KeyManagerFactorySpi.java
1519         * javax/net/ssl/ManagerFactoryParameters.java
1520         * javax/net/ssl/SSLContext.java
1521         * javax/net/ssl/SSLContextSpi.java
1522         * javax/net/ssl/SSLException.java
1523         * javax/net/ssl/SSLHandshakeException.java
1524         * javax/net/ssl/SSLKeyException.java
1525         * javax/net/ssl/SSLPeerUnverifiedException.java
1526         * javax/net/ssl/SSLPermission.java
1527         * javax/net/ssl/SSLProtocolException.java
1528         * javax/net/ssl/SSLServerSocket.java
1529         * javax/net/ssl/SSLServerSocketFactory.java
1530         * javax/net/ssl/SSLSession.java
1531         * javax/net/ssl/SSLSessionBindingEvent.java
1532         * javax/net/ssl/SSLSessionBindingListener.java
1533         * javax/net/ssl/SSLSessionContext.java
1534         * javax/net/ssl/SSLSocket.java
1535         * javax/net/ssl/SSLSocketFactory.java
1536         * javax/net/ssl/TrivialHostnameVerifier.java
1537         * javax/net/ssl/TrustManager.java
1538         * javax/net/ssl/TrustManagerFactory.java
1539         * javax/net/ssl/TrustManagerFactorySpi.java
1540         * javax/net/ssl/X509KeyManager.java
1541         * javax/net/ssl/X509TrustManager.java
1542         * javax/security/cert/Certificate.java
1543         * javax/security/cert/CertificateEncodingException.java
1544         * javax/security/cert/CertificateException.java
1545         * javax/security/cert/CertificateExpiredException.java
1546         * javax/security/cert/CertificateNotYetValidException.java
1547         * javax/security/cert/CertificateParsingException.java
1548         * javax/security/cert/X509CertBridge.java
1549         * javax/security/cert/X509Certificate.java
1550
1551         2004-08-20  Casey Marshall  <csm@gnu.org>
1552
1553         * java/security/cert/X509CRLSelector.java: New file.
1554         * java/security/cert/X509CertSelector.java: New file.
1555
1556 2004-09-15  Michael Koch  <konqueror@gmx.de>
1557
1558         * gnu/java/net/protocol/file/Handler.java
1559         (openConnection): Don't throw exception if host part for file: URI is
1560         present. setURL() keeps file: protocol if ftp: protocol is not
1561         available.
1562
1563 2004-09-14  Richard Henderson  <rth@redhat.com>
1564
1565         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1566         value of sigsuspend.
1567
1568 2004-09-12  Tom Tromey  <tromey@redhat.com>
1569
1570         * javax/naming/CompoundName.java (CompoundName): Don't check for
1571         separator in "flat" case.
1572
1573 2004-09-12  Michael Koch  <konqueror@gmx.de>
1574
1575         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1576         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1577         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1578         Regenerate.
1579
1580 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1581
1582         PR libgcj/14751
1583         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1584         handle in newly-allocated _Jv_Thread_t.
1585         (_Jv_ThreadDestroyData): Close thread handle.
1586         (_Jv_ThreadStart): Remove obsolete comment.
1587         Store handle of newly-created thread in _Jv_Thread_t.
1588         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1589         before including <windows.h>
1590         #define _Jv_HaveCondDestroy
1591
1592 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1593
1594         * java/lang/natThread.cc (finalize_native): Destroy
1595         join conditional variable and mutex if these destroy
1596         operations are supported.
1597
1598 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1599
1600         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1601         (DEFAULT_PERMISSION): New constant.
1602         (Connection): Create a FilePermission with permission to read file.
1603
1604 2004-09-10  Michael Koch  <konqueror@gmx.de>
1605
1606         * gnu/java/net/protocol/file/Connection.java
1607         (getLastModified): Moved around.
1608         (getPermission): Return stored permission.
1609
1610 2004-09-10  Michael Koch  <konqueror@gmx.de>
1611
1612         * Makefile.in: Regenerate.
1613
1614 2004-09-10  Michael Koch  <konqueror@gmx.de>
1615
1616         * Makefile.am: Reverted accidently commited stuff.
1617         * configure: Regenerated.
1618
1619 2004-09-10  Michael Koch  <konqueror@gmx.de>
1620
1621         * gnu/java/net/protocol/file/Connection.java
1622         (lineSeparator): Made non-final.
1623         (static): Removed.
1624         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1625         instead of StringBufferInputStream.
1626
1627 2004-09-10  Michael Koch  <konqueror@gmx.de>
1628
1629         * gnu/java/net/protocol/file/Connection.java
1630         (connect): Handle file is a directory case.
1631
1632 2004-09-10  Michael Koch  <konqueror@gmx.de>
1633
1634         * Makefile.am
1635         (xlib_includes): Removed.
1636         (AM_CPPFLAGS): Renamed from INCLUDES.
1637         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1638         * Makefile.in: Regenerate.
1639
1640 2004-09-09  Michael Koch  <konqueror@gmx.de>
1641
1642         * java/security/ProtectionDomain.java,
1643         * java/util/PropertyPermissionCollection.java:
1644         Fixed javadocs all over.
1645
1646 2004-09-09  Sven de Marothy  <sven@physto.se>
1647
1648         Patch from David Gilbert <david.gilbert@object-refinery.com>
1649         * java/lang/Comparable.java: Fixed documentation errors.
1650         * java/util/Arrays.java: Likewise.
1651
1652 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1653
1654         * java/net/Inet4Address.java
1655         (Inet4Address): Added comment to serialization UID.
1656         * java/text/Format.java
1657         (Format): Added comment to serialization UID.
1658
1659 2004-09-09  Michael Koch  <konqueror@gmx.de>
1660
1661         * java/lang/System.java
1662         (err): Fixed javadoci to point to setErr() and not setOut().
1663
1664 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1665
1666         (normalizePath): Added special case for windows systems.
1667
1668 2004-09-09  Michael Koch  <konqueror@gmx.de>
1669
1670         * java/io/File.java
1671         (dupSeparator): Made private.
1672         (File(URI)): New constructor.
1673         (getParentFile): Fixed javadoc.
1674         (createTempFile): Reformated.
1675         (setReadOnly): Added comment.
1676         (deleteOnExit): Merged javadoc with classpath version.
1677
1678 2004-09-09  Michael Koch  <konqueror@gmx.de>
1679
1680         * Makefile.am: Don't try to include deps.mk.
1681         * Makefile.in: Regenerated.
1682
1683 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1684
1685         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1686         .d files.
1687         * configure: Rebuilt.
1688
1689 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1690
1691         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1692         Changed pfn from static local to local.
1693
1694 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1695             H.J. Lu  <hongjiu.lu@intel.com>
1696
1697         PR libgcj/17290
1698         * Makefile.am (GCJCOMPILE): Remove definition.
1699         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1700         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1701         * Makefile.in: Rebuilt.
1702
1703 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1704
1705         * configure.ac (enable-gc-debug): Update help for new syntax.
1706         * configure: Regenerate.
1707
1708 2004-09-03  David Daney  <ddaney@avtrex.com>
1709
1710         * include/mips-signal.h: Update copyright.
1711
1712 2004-09-03  David Daney  <ddaney@avtrex.com>
1713
1714         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1715         * include/mips-signal.h: Added HANDLE_FPE support.
1716         
1717 2004-08-31  Michael Koch  <konqueror@gmx.de>
1718
1719         * javax/swing/plaf/basic/BasicTextAreaUI.java
1720         (create): New method.
1721         * javax/swing/text/DefaultHighlighter.java
1722         (DefaultHighlightPainter.debugRect): Removed.
1723         * javax/swing/text/StyleContext.java
1724         (DEFAULT_STYLE): New field.
1725
1726 2004-08-31  Michael Koch  <konqueror@gmx.de>
1727
1728         * javax/swing/plaf/basic/BasicLookAndFeel.java
1729         (initComponentDefaults): Add keybindings for selection.backward and
1730         selection-forward for text components.
1731         * javax/swing/plaf/basic/BasicTextUI.java
1732         (paintSafely): Paint highlight only when something is actually
1733         selected.
1734         * javax/swing/text/DefaultCaret.java
1735         (handleHighlight): New method.
1736         (setSelectionVisible): Don't do anything when nothing changes.
1737         Handle highlight.
1738         (moveDot): Reimplemented. Handle highlight.
1739         (setDot): Set mark too. Handle highlight.
1740         (getSelectionPainter): New method.
1741         * javax/swing/text/DefaultEditorKit.java
1742         (defaultActions): Added new actions for text selection.
1743         * javax/swing/text/DefaultHighlighter.java
1744         (DefaultHighlightPainter): New inner class.
1745         (DefaultPainter): New field.
1746         (paint): Implemented.
1747         * javax/swing/text/PlainView.java
1748         (paint): Don't draw background here again.
1749         * javax/swing/text/Utilities.java
1750         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1751         (drawTabbedText): Likewise.
1752
1753 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1754
1755         * javax/swing/JComponent.java
1756         (resetKeyboardActions): Add null checks.
1757
1758 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1759
1760         * javax/swing/DefaultButtonModel.java:
1761         Skip group notification when no group is set.
1762
1763 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1764
1765         * javax/swing/JColorChooser.java: 
1766         Make a couple inner classes static, for jikes.
1767
1768 2004-08-31  Michael Koch  <konqueror@gmx.de>
1769
1770         * javax/swing/plaf/basic/BasicTextUI.java
1771         (RottView.modelToView): New method.
1772         (UpdateHandler): Renamed from EventHandler.
1773         (updateHandler): Renamed from eventHandler.
1774         (modelToView): Implemented.
1775         * javax/swing/text/AbstractDocument.java
1776         (BranchElement.getElement): Return null for non-existing indeces.
1777         (BranchElement.getElementIndex): Return 0 in some corner cases.
1778         * javax/swing/text/FieldView.java
1779         (modelToView): New method.
1780         * javax/swing/text/PlainView.java
1781         (modelToView): Made public.
1782
1783 2004-08-31  Kim Ho  <kho@redhat.com>
1784
1785         * Makefile.am: New files.
1786         * Makefile.in: Regenerate.
1787         * gcj/Makefile.in: Regenerate.
1788         * include/Makefile.in: Regenerate.
1789         * java/awt/Color.java: Fix documentation.
1790         (RGBtoHSB): Use floats for conversions.
1791         * javax/swing/ButtonGroup.java: Run Jalopy.
1792         (setSelected): Reimplement.
1793         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1794         (changeState): Let ButtonGroup know that the button 
1795         is changing state.
1796         * javax/swing/JColorChooser.java: Implement.
1797         * javax/swing/JLabel.java: Run Jalopy.
1798         * javax/swing/JSpinner.java: Run Jalopy.
1799         (setValue): New method.
1800         * javax/swing/JTabbedPane.java: Run Jalopy.
1801         (removeTabAt): Call correct remove method.
1802         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1803         (getPreviousValue): Compare minimum value.
1804         * javax/swing/Timer.java: Run Jalopy.
1805         (run): Comment out println.
1806         * javax/swing/ToolTipManager.java:
1807         (mouseMoved): Get new tooltip text for location.
1808         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1809         Jalopy and Javadoc.
1810         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1811         Implement.
1812         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1813         Run Jalopy.
1814         (setSelectedColor): Fire ChangeEvent.
1815         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1816         New file. Implement.
1817         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1818         Ditto.
1819         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1820         Ditto.
1821         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1822         Ditto.
1823         * javax/swing/plaf/basic/BasicArrowButton.java:
1824         (getArrow): Fix size of upward pointing button.
1825         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1826         Implement.
1827         * javax/swing/plaf/basic/BasicSliderUI.java:
1828         (getWidthOfWidestLabel): Use preferred dimensions.
1829         (getHeightOfTallestLabel): Ditto.
1830         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1831         Run Jalopy.
1832         (mousePressed): Disable changes to spinner if it is not enabled.
1833         * testsuite/Makefile.in: Regenerate.
1834
1835
1836 2004-08-31  Michael Koch  <konqueror@gmx.de>
1837
1838         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1839         javax/swing/plaf/basic/BasicTableUI.java:
1840         Added copyright notice.
1841
1842 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1843
1844         * Makefile.am: Added new files.
1845         * Makefile.in: Regenerate.
1846         * javax/swing/ComboBoxEditor.java: Added javadocs.
1847         * javax/swing/ComboBoxModel.java: Likewise.
1848         * javax/swing/DefaultComboBoxModel.java: Implemented.
1849         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1850         and ran through jalopy to fix formatting style.
1851         (getListCellRendererComponent): Use appropriate border
1852         if renderer has focus and use noFocusBorder when it doesn't.
1853         * javax/swing/JComboBox.java: Implemented.
1854         * javax/swing/JList.java:
1855         (locationToIndex): New Method. Implemented.
1856         (indexToLocation): New Method.
1857         * javax/swing/JPopupMenu.java: 
1858         (visible): New field.
1859         (isVisible): Changed to use new field above.
1860         (setVisible): Likewise.
1861         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1862         * javax/swing/plaf/basic/BasicArrowButton.java: 
1863         (shadow): Changed default color to Color.gray.
1864         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1865         UI delegate for JComboBox.
1866         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1867         Popup menu containing list of JComboBox's items.
1868         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1869         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1870         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1871         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1872         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1873         (popupMenuWillBecomeVisible): Set selected path to the first
1874         element only if it is of type MenuElement. Also fix formatting
1875         style.
1876         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1877         methods signatures.
1878         
1879 2004-08-31  Michael Koch  <konqueror@gmx.de>
1880
1881         * javax/swing/text/AbstractDocument.java
1882         (createBranchElement): Use new constructor of BranchElement.
1883         (createLeafElement): Renamed arguments.
1884         (getRootElements): Implemented.
1885         (BranchElement.start): Removed.
1886         (BranchElement.end): Likewise.
1887         (BranchElement.BranchElement): Fixed arguments.
1888         (BranchElement.getEndOffset): Reimplemented.
1889         (BranchElement.getStartOffset): Likewis.
1890         * javax/swing/text/DefaultCaret.java
1891         (paint): Draw simple vertical line as caret instead of a rectangle.
1892         * javax/swing/text/JTextComponent.java
1893         (setText): Use doc directly.
1894         * javax/swing/text/PlainView.java
1895         (nextTabStop): Implemented.
1896         * javax/swing/text/Utilities.java
1897         (drawTabbedText): nextTabStop() returns an absolute x position.
1898         (getTabbedTextWidth): Likewise.
1899
1900 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1901
1902         * java/awt/Component.java 
1903         (isFocusTraversable): Predicate on isLightweight()
1904         (setFocusable): Set isFocusTraversableOverridden.
1905         (requestFocus): Predicate peer dispatch on !isLightweight()
1906         (requestFocusInWindow): Likewise.
1907         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1908         * java/awt/Container.java
1909         (dispatchEventImpl): Predicate on event mask.
1910         (LightweightDispatcher): Remove focus machinery.
1911         * java/awt/DefaultFocusTraversalPolicy.java
1912         (accept): Expand predicate to include isFocusable(). 
1913         * java/awt/DefaultKeyboardFocusManager.java:
1914         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1915         * java/awt/KeyboardFocusManager.java
1916         (redispatchEvent): Synchronize on event to prevent feedback.
1917         * javax/swing/AbstractButton.java
1918         (ButtonFocusListener): Remove class.
1919         (init): Set focusPainted, focusable.
1920         * javax/swing/ActionMap.java (get): Check parent for null. 
1921         * javax/swing/InputMap.java (get): Likewise. 
1922         * javax/swing/JComponent.java
1923         (inputMap_whenFocused): New InputMap.
1924         (inputMap_whenAncestorOfFocused): Likewise.
1925         (inputMap_whenInFocusedWindow): Likewise.
1926         (getActionForKeyStroke): Rewrite.
1927         (getConditionForKeystroke): Likewise.
1928         (ActionListenerProxy): New private class.
1929         (setInputMap): Implement.
1930         (getInputMap): Likewise.
1931         (setActionMap): Likewise.
1932         (getActionMap): Likewise.
1933         (processComponentKeyEvent): New empty method.
1934         (processKeyEvent): Implement.
1935         (processKeyBinding): Likewise.
1936         (resetKeyboardActions): Rewrite.
1937         * javax/swing/KeyStroke.java: Rewrite.
1938         * javax/swing/SwingUtilities.java
1939         (notifyAction): Implement.
1940         (replaceUIActionMap): Likewise.
1941         (replaceUIInputMap): Likewise.
1942         * javax/swing/plaf/basic/BasicButtonListener.java
1943         (focusGained): Implement.
1944         (focusLost): Repaint if focusPainted().
1945         (installKeyboardActions): Install pressed / released actions.
1946         (uninstallKeyboardActions): Implement.
1947         * javax/swing/plaf/basic/BasicButtonUI.java
1948         (focusColor): New field.
1949         (installDefaults): Load focus color, install input map.
1950         (installKeyboardActions): Implement.
1951         (uninstallKeyboardActions): Likewise.
1952         (paintFocus): Rewrite.
1953         * javax/swing/plaf/basic/BasicLookAndFeel.java
1954         (Button.focus): New default, midPurple. 
1955         * javax/swing/plaf/basic/BasicTextUI.java
1956         (kit): Make static.
1957         (installUI): Get doc from kit, load defaults.
1958         (getKeymapName): Implement.
1959         (createKeymap): Likewise.
1960         (installKeyboardActions): Likewise.
1961         (getInputMap): Likewise.
1962         (getActionMap): Likewise.
1963         (createActionMap): Likewise.
1964         * javax/swing/text/AbstractDocument.java
1965         (getStartPosition): Implement.
1966         (getEndPosition): Likewise.
1967         * javax/swing/text/DefaultEditorKit.java
1968         (CopyAction): New class.
1969         (CutAction): Likewise.
1970         (DefaultKeyTypedAction): Likewise.
1971         (InsertBreakAction): Likewise.
1972         (InsertContentAction): Likewise.
1973         (InsertTabAction): Likewise.
1974         (PasteAction): Likewise.
1975         (defaultActions): New static table.
1976         (createCaret): Implement.
1977         (getActions): Likewise.
1978         * javax/swing/text/JTextComponent.java
1979         (KeymapWrapper): New private class.
1980         (KeymapActionMap): Likewise.
1981         (DefaultKeymap): New class.
1982         (keymaps): New static table.
1983         (keymap): New field.
1984         (getKeymap): Implement.
1985         (removeKeymap): Likewise.
1986         (addKeymap): Likewise.
1987         (setKeymap): Likewise.
1988         (loadKeymap): Likewise.
1989         (getActions): Likewise.
1990         (margin): New field.
1991         (JTextComponent): Build and install default keymap.
1992         * javax/swing/text/TextAction.java
1993         (textAction): Call super properly.
1994         (getTextComponent): Implement.
1995         * javax/swing/text/Utilities.java
1996         (drawTabbedText): Adjust position by ascent.
1997
1998 2004-08-31  David Jee  <djee@redhat.com>
1999
2000         PR AWT/17156
2001
2002         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2003         (setEnabled): Make it a native method.
2004         * java/awt/DefaultKeyboardFocusManager.java
2005         (postProcessKeyEvent): Only post event if the menu item
2006         is active.
2007         * java/awt/MenuItem.java:
2008         Private field 'enabled' should be true by default.
2009         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2010         (setEnabled): New function.
2011
2012 2004-08-31  David Jee  <djee@redhat.com>
2013
2014         PR AWT/17059
2015
2016         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2017         (nativeSetHelpMenu): New native method declaration.
2018         (addHelpMenu): Call nativeSetHelpMenu().
2019         (addMenu): Remove.
2020         * java/awt/MenuBar.java
2021         (setHelpMenu): Call addNotify() on the new help menu.
2022         (add): Call addNotify() on the new menu.
2023         (addNotify): Set the help menu if one exists.
2024         * java/awt/peer/MenuBarPeer.java
2025         (addMenu): Remove.
2026         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2027         (nativeSetHelpMenu): New method.
2028
2029 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2030
2031         * Makefile.am: Add new files.
2032         * Makefile.in: Regenerate.
2033         * javax/swing/Box.java: Fix setting of layout in ctor.
2034         * javax/swing/JScrollPane.java: Scroll headers as well.
2035         * javax/swing/JTable.java: Reimplement.
2036         * javax/swing/JViewPort.java: Only add non-null children.
2037         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2038         * javax/swing/Timer.java: Fix stopping null waker.
2039         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2040         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2041         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2042         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2043         * javax/swing/table/DefaultTableModel.java: Clean up.
2044         * javax/swing/table/JTableHeader.java: Implement.
2045
2046 2004-08-31  Mark Wielaard  <mark@klomp.org>
2047
2048         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2049         semi-colon.
2050
2051 2004-08-31  Mark Wielaard  <mark@klomp.org>
2052
2053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2054         Declare variables at top of functions/block.
2055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2056
2057 2004-08-31  Mark Wielaard  <mark@klomp.org>
2058
2059         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2060         first.
2061
2062 2004-08-31  Michael Koch  <konqueror@gmx.de>
2063
2064         * javax/swing/text/PlainView.java
2065         (selectedColor): New field.
2066         (unselectedColor): Likewise.
2067         (font): Likewise.
2068         (updateMetrics): New method.
2069         (lineToRect): Likewise.
2070         (modelToView): Likewise.
2071         (drawSelectedText): Use color from JTextComponent ad draw with
2072         Utilities class.
2073         (drawUnselectedText): Likewise.
2074         (paint): Initialize helper fields.
2075         * javax/swing/text/View.java
2076         (getChildAllocation): New method.
2077         (getViewIndex): Likewise.
2078         (getToolTipText): Likewise.
2079
2080 2004-08-31  Michael Koch  <konqueror@gmx.de>
2081
2082         * javax/swing/text/Utilities.java
2083         (drawTabbedText): Reimplemented.
2084         (getTabbedTextWidth): Likewise.
2085
2086 2004-08-31  Michael Koch  <konqueror@gmx.de>
2087
2088         * javax/swing/plaf/basic/BasicTextUI.java
2089         (installDefaults): Install caret and highlighter.
2090         (modelToView): Use Bias.Forward when calling sibling.
2091         * javax/swing/text/AbstractDocument.java
2092         (ElementEdit): Implements DocumentEvent.ElementChange.
2093         (ElementEdit.ElementEdit): New method.
2094         (ElementEdit.getChildrenAdded): Likewise.
2095         (ElementEdit.getChildrenRemoved): Likewise.
2096         (ElementEdit.getElement): Likewise.
2097         (ElementEdit.getIndex): Likewise.
2098         * javax/swing/text/DefaultCaret.java
2099         (color): Removed.
2100         (textComponent): Renamed from parent, made private.
2101         (selectionVisible): Renamed from vis_sel, made private.
2102         (blinkRate): Renamed from blink, made private.
2103         (magicCaretPosition): Renamed from magic, made private.
2104         (visible): Renamed from vis, made private.
2105         (dot): Made private.
2106         (mark): Likewise.
2107         (deinstall): Remove as MouseMotionListener.
2108         (install): Initialize textComponent first. Add as MouseMotionListener.
2109         (paint): Reimplemented.
2110         * javax/swing/text/JTextComponent.java
2111         (setCaret): Deinstall old caret, install new one and fire property
2112         change after setting property.
2113         (setHighlighter): Deinstall old highlighter, install new one and fire
2114         property change after setting property.
2115         (setCaretColor): Fire property change after setting property.
2116         (setDisabledTextColor): Likewise.
2117         (setSelectedTextColor): Likewise.
2118         (setSelectionColor): Likewise.
2119         (modelToView): New method.
2120
2121 2004-08-31  Michael Koch  <konqueror@gmx.de>
2122
2123         * javax/swing/text/AbstractDocument.java
2124         (getText): Simplified.
2125         * javax/swing/text/Segment.java
2126         (current): New field.
2127         (current): Reimplemented.
2128         (first): Likewise.
2129         (getIndex): Likewise.
2130         (last): Likewise.
2131         (next): Likewise.
2132         (previous): Likewise.
2133         (setIndex): Likewise.
2134
2135 2004-08-31  Michael Koch  <konqueror@gmx.de>
2136
2137         * javax/swing/plaf/basic/BasicButtonUI.java
2138         (defaultTextIconGap): Made protected.
2139         (defaultTextShiftOffset): Likewise.
2140         (textShiftOffset): New field.
2141         (clearTextShiftOffset): New method.
2142         (getTextShiftOffset): Likewise.
2143         (setTextShiftOffset): Likewise.
2144
2145 2004-08-31  Michael Koch  <konqueror@gmx.de>
2146
2147         * javax/swing/plaf/basic/BasicTextUI.java
2148         (installUI): Add eventHandler as property listener.
2149         (uninstallUI): remove eventHandler as propert listener.
2150         (installDefaults): Added comment.
2151         (installListeners): Likewise.
2152         (installKeyboardActions): Likewise.
2153         (uninstallDefaults): Likewise.
2154         (uninstallListeners): Likewise.
2155         (uninstallKeyboardActions): Likewise.
2156
2157 2004-08-31  Michael Koch  <konqueror@gmx.de>
2158
2159         * javax/swing/text/AbstractDocument.java:
2160         Fixed some typos in comments.
2161         (insertString): Reimplemented.
2162         (remove): Likewise.
2163         (replace): New method.
2164         (children): Dont use fully qualified class name.
2165         (DefaultDocumentEvent.offset): Renamed from off.
2166         (DefaultDocumentEvent.length): Renamed from len.
2167         (DefaultDocumentEvent.type): New field.
2168         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2169         (DefaultDocumentEvent.getType): Implemented.
2170
2171 2004-08-31  Michael Koch  <konqueror@gmx.de>
2172
2173         * javax/swing/plaf/basic/BasicTextUI.java
2174         (RootView.textComponent): Removed.
2175         (RootView.RootView): Don't initialize textComponent.
2176         (RootView.getViewFactory): New method.
2177         (EventHandler): New inner class.
2178         (rootView): Initialize at instance creation.
2179         (eventHandler): New field.
2180         (installUI): Don't create view hierarchy directly,
2181         call modelChanged() instead.
2182         (modelChanged): New method.
2183         * javax/swing/text/JTextComponent.java
2184         (setDocument): Fire property change event.
2185
2186 2004-08-31  Michael Koch  <konqueror@gmx.de>
2187
2188         * javax/swing/plaf/basic/BasicTextUI.java
2189         (RootView.paint): Removed debug output.
2190         (paintSafely): Draw highlighter before text.
2191         (paintBackground): Use background color of text component.
2192         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2193         Reformatted.
2194
2195 2004-08-31  Michael Koch  <konqueror@gmx.de>
2196
2197         * javax/swing/plaf/basic/BasicToolBarUI.java
2198         (BasicToolBarUI): Fixed arguments for constructor.
2199         (createUI): Fixed creation of object.
2200
2201 2004-08-31  Michael Koch  <konqueror@gmx.de>
2202
2203         * javax/swing/DefaultListSelectionModel.java
2204         (fireValueChanged): Renamed from fireSelectionValueChanged,
2205         made protected.
2206
2207 2004-08-31  Michael Koch  <konqueror@gmx.de>
2208
2209         * javax/swing/text/TabSet.java
2210         (TabSet): Implements java.io.Serializable.
2211         * javax/swing/text/TabStop.java
2212         (TabStop): Implements java.io.Serializable.
2213         (TabStop): Made public.
2214
2215 2004-08-31  Michael Koch  <konqueror@gmx.de>
2216
2217         * javax/swing/JComponent.java
2218         (setUI): Fire PropertyChange.
2219         * javax/swing/JLabel.java
2220         (text): Renamed from labelText.
2221         (horizontalAlignment): New default vlaue.
2222         (icon): Renamed from activeIcon.
2223         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2224         (displayedMnemonicIndex): Renamed from underlineChar.
2225         (setDisplayedMnemonic): Reimplemented.
2226         * javax/swing/JRadioButton.java
2227         (JRadioButton): New constructors.
2228         * javax/swing/JTextField.java
2229         (JTextField): Throw exception if colums < 0, initialitialz
2230         this.columns directly and initialize document with text conditionally.
2231
2232 2004-08-31  Michael Koch  <konqueror@gmx.de>
2233
2234         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2235         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2236         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2237         * javax/swing/text/FieldView.java
2238         (paint): Just call super method for now.
2239         * Makefile.am: Added new files.
2240         * Makefile.in: Regenerated.
2241
2242 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2243
2244         * javax/swing/AbstractSpinnerModel.java,
2245         javax/swing/JSpinner.java,
2246         javax/swing/SpinnerNumberModel.java,
2247         javax/swing/plaf/basic/BasicSpinnerUI.java:
2248         New files.
2249         * javax/swing/plaf/basic/BasicLookAndFeel.java
2250         (initClassDefaults): Added defaults for BasicSpinnerUI.
2251
2252 2004-08-31  Michael Koch  <konqueror@gmx.de>
2253
2254         * Makefile.am: Added new files.
2255         * Makefile.in: Regenerated.
2256
2257 2004-08-31  Michael Koch  <konqueror@gmx.de>
2258
2259         * javax/swing/TransferHandler.java,
2260         javax/swing/plaf/basic/ComboPopup.java: New files
2261         * Makefile.am: Added javax/swing/TransferHandler.java and
2262         javax/swing/plaf/basic/ComboPopup.java
2263         * Makefile.in: Regenerated.
2264
2265 2004-08-31  Roman Kennke  <roman@ontographics.com>
2266
2267         * javax/swing/text/Utilities.java: New file.
2268
2269 2004-08-31  Michael Koch  <konqueror@gmx.de>
2270
2271         * Makefile.am: Added javax/swing/text/Utilities.java.
2272         * Makefile.in: Regenerated.
2273
2274 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2275
2276         * javax/swing/text/SimpleAttributeSet.java: New file.
2277         * javax/swing/text/StyleConstants.java: New file.
2278         * javax/swing/text/StyleContext.java: New file.
2279         * javax/swing/text/TabSet.java: New file.
2280         * javax/swing/text/TabStop.java: New file.
2281         * javax/swing/text/AbstactDocument.java:
2282         (AbstractElement): Implement attribute support.
2283         * javax/swing/text/AttributeSet.java
2284         (NameAttribute): New static field.
2285         (ResolveAttribute): New static field.
2286         * Makefile.am: Update for new files.
2287         * Makefile.in: Regenerate.
2288
2289 2004-08-31  Craig Black  <craig.black@aonix.com>
2290
2291         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2292         (drawImage): Add support for scaling pixmaps.
2293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2294         (copyAndScalePixmap): New native method.
2295  
2296 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2297
2298         PR AWT/16121
2299         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2300         type-punning compiler warnings using unions.
2301         (throw): Replace bzero with memset.
2302
2303 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2304             Thomas Fitzsimmons  <fitzsim@redhat.com>
2305
2306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2307         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2308         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2310         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2311
2312 2004-08-31  Mark Wielaard  <mark@klomp.org>
2313
2314         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2315         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2316         and stdlib.h, not gtkpeer.h.
2317         (*vm): New static variable.
2318         (areaPreparedID): Make static.
2319         (areaUpdatedID): Likewise.
2320         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2321         (area_prepared): Likewise.
2322         (area_updated): Likewise.
2323         (closed): Likewise.
2324         (initStaticState): Initialize *vm javaVM.
2325         (pumpBytes): Use given env, not global gdk_env.
2326
2327 2004-08-31  Mark Wielaard  <mark@klomp.org>
2328
2329         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2330         comments.
2331
2332 2004-08-31  Sven de Marothy  <sven@physto.se>
2333
2334         * java/awt/geom/CubicCurve2D.java: Reindent.
2335         (contains): Implemented.
2336         (intersects): Implemented.
2337         * java/awt/geom/QuadCurve2D.java: Likewise.
2338         * java/awt/geom/GeneralPath.java: Reindent and document.
2339         Fully (re)implemented using separate xpoints and ypoints
2340         float[] coords.
2341         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2342
2343 2004-08-31  Michael Koch  <konqueror@gmx.de>
2344
2345         * javax/swing/JMenuItem.java
2346         (getMenuDragMouseListeners): New method.
2347         (getMenuKeyListeners): Likewise.
2348
2349 2004-08-31  Michael Koch  <konqueror@gmx.de>
2350
2351         * javax/swing/AbstractButton.java
2352         (model): Made protected.
2353         (actionListener): Likewise.
2354         (changeListener): Likewise.
2355         (itemListener): Likewise.
2356         (multiClickThreshhold): New field.
2357         (getActionListeners): New method.
2358         (getChangeListeners): Likewise.
2359         (getItemListeners): Likewise.
2360         (fireItemStateChanged): Simplified implementation.
2361         (fireActionPerformed): Likewise.
2362         (fireStateChanged): Likewise.
2363         (getMultiClickThreshhold): New method.
2364         (setMultiClickThreshhold): Likewise.
2365
2366 2004-08-31  Tom Tromey  <tromey@redhat.com>
2367
2368         * java/awt/image/Kernel.java (clone): Use super.clone().
2369
2370 2004-08-31  David Jee  <djee@redhat.com>
2371
2372         PR AWT/16682
2373         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2374         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2375         (nativeSetIconImageFromData): New native method declaration.
2376         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2377         * gnu/java/awt/peer/gtk/GtkImage.java
2378         (getPixelCache): New method.
2379         (getColorModel): New method.
2380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2381         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2382         (free_pixbuf_data): New helper function.
2383         (nativeSetIconImageFromData): New function.
2384
2385 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2386
2387         PR SWING/16576
2388         * javax/swing/JLayeredPane.java 
2389         (setLayer): Permit changing layer after addition.
2390         (setPosition): Permit over-length positions.
2391         (layerToRange): Compare intValue()s.
2392         * javax/swing/Box.java (createHorizontalBox): Implement.
2393         (createRigidArea): Likewise.
2394         (createVerticalBox): Likewise.
2395
2396 2004-08-31  Kim Ho  <kho@redhat.com>
2397
2398         * java/awt/Component.java:
2399         (processMouseEvent): Consume event after
2400         listeners process it.
2401         (processMouseMotionEvent): ditto.
2402         (processMouseWheelEvent): ditto.
2403         * java/awt/Container.java:
2404         (acquireComponentForMouseEvent):
2405         Do not dispatch to events that have been
2406         removed from the Container.
2407         (handleEvent): Consume the MouseEvents.
2408         * javax/swing/RepaintManager.java:
2409         (paintDirtyRegions): Do not add to list of 
2410         damaged areas if the component has no root.
2411
2412 2004-08-31  Michael Koch  <konqueror@gmx.de>
2413
2414         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2415
2416 2004-08-31  Mark Wielaard  <mark@klomp.org>
2417
2418         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2419         null when a MissingResourceException is thrown. Should never happen.
2420
2421 2004-08-31  Mark Wielaard  <mark@klomp.org>
2422
2423         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2424         when argument is null.
2425
2426 2004-08-31  Mark Wielaard  <mark@klomp.org>
2427
2428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2429         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2430         Define hid at start of function.
2431         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2432         Likewise.
2433
2434 2004-08-31  Mark Wielaard  <mark@klomp.org>
2435
2436         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2437         * javax/swing/JButton.java: Reindent.
2438         * javax/swing/JCheckBox.java: Reindent.
2439
2440 2004-08-31  Mark Wielaard  <mark@klomp.org>
2441
2442         * Makefile.am (gtk_c_source_files): Added
2443         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2444         (gtk_awt_peer_sources): Added
2445         gnu/java/awt/peer/gtk/GThreadMutex.java and
2446         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2447         * Makefile.in: Regenerated.
2448
2449 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2450
2451         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2452
2453 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2454
2455         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2456         Added jfieldID, jmethodID.
2457
2458 2004-08-31  Mark Wielaard  <mark@klomp.org>
2459
2460         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2461         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2462         gdk_env before calling any gdk or gtk function.
2463
2464         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2465         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2466         (run): Set gtkInitCalled.
2467
2468 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2469
2470         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2471         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2472
2473         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2474         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2475         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2476         init_glib_threads. 
2477         (init_glib_threads): New function.
2478
2479 2004-08-31  Mark Wielaard  <mark@klomp.org>
2480
2481         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2482         PRIORITY when not already defined in header file.
2483
2484 2004-08-31  Mark Wielaard  <mark@klomp.org>
2485
2486         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2487         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2488
2489 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2490
2491         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2492         Implemented missing functions for GTK2.
2493         Added error handling.
2494         Renamed static functions out of the g_ namespace.
2495         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2496         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2497         Rewrote global-reference code.
2498         Eliminated cascading errors.
2499         (mutex_trylock_jni_impl) Fully implemented.
2500         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2501         resolution.
2502         (setup_cache) New function.
2503         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2504         bug where they were not unlocking the GMutex associated with the
2505         condition variable during the wait on that condition variable.
2506
2507         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2508         native/jni/gtk-peer/gthread-jni.c,
2509         native/jni/gtk-peer/gthread-jni.h
2510         (g_thread_jni_functions): Renamed to ...
2511         (portable_native_sync_jni_functions): this name.
2512         (gdk_vm): Renamed to...
2513         (the_vm): this name.
2514
2515         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2516         (gdk_vm): Removed duplicate definition.
2517         (gtkInit): Removed stray message to stdout.
2518         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2519         (gtkInit): Fix a const assignment bug.
2520         (gtkInit): Simplified code.
2521
2522         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2523         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2524         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2525         gnu/java/awt/peer/gtk/GThreadMutex.java:
2526         New files.
2527
2528 2004-08-31  Mark Wielaard  <mark@klomp.org>
2529
2530         * javax/swing/Box.java: Put FIXME comment above class declaration.
2531         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2532         * javax/swing/JCheckBox.java: Likewise.
2533         * javax/swing/JDialog.java: Likewise.
2534         * javax/swing/JRadioButton.java: Likewise.
2535         * javax/swing/JToggleButton.java: Likewise.
2536         * javax/swing/UIManager.java: Likewise.
2537         * javax/swing/border/TitledBorder.java: Likewise.
2538         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2539         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2540         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2541         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2542         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2543         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2544         * javax/swing/text/JTextComponent.java: Likewise.
2545
2546 2004-08-31  David Jee  <djee@redhat.com>
2547
2548         PR AWT/16682
2549         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2550         (setIconImage): Add a FIXME for unhandled cases.
2551
2552 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2553
2554         PR AWT/16040
2555         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2556         getModifiers.  Replace old button masks with new ones.
2557         * gnu/awt/xlib/XEventLoop.java: Likewise.
2558         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2559         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2560         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2561         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2562         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2563         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2564         * java/awt/Component.java: Replace old modifier masks with new
2565         ones.
2566         * java/awt/Container.java: Call getModifiersEx, not
2567         getModifiers.
2568         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2569         old modifier masks.
2570         * javax/swing/JMenuItem.java: Replace old button masks with new
2571         ones.
2572         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2573         getModifiers.
2574         * javax/swing/SwingUtilities.java: Likewise.
2575         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2576         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2577         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2578         mask macros with new ones.
2579         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2580         macros with new ones representing new masks.
2581
2582 2004-08-31  Craig Black  <craig.black@aonix.com>
2583
2584         * gnu/java/awt/peer/gtk/GdkGraphics.java
2585         (drawRoundRect): Implemented.
2586         (fillRoundRect): Implemented.
2587         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2588         (drawRoundRect): Reimplemented to match GdkGraphics.
2589         (fillRoundRect): Reimplemented to match GdkGraphics.
2590
2591 2004-08-31  Mark Wielaard  <mark@klomp.org>
2592
2593         * Makefile.in: Regenerated.
2594
2595 2004-08-31  Michael Koch  <konqueror@gmx.de>
2596
2597         * gnu/java/awt/EmbeddedWindow.java
2598         (addNotify): Use AccessController to allow execution of privileged
2599         code.
2600
2601 2004-08-31  Michael Koch  <konqueror@gmx.de>
2602
2603         * gnu/java/awt/EmbeddedWindow.java
2604         (static): Removed.
2605         (addNotify): Set peer via reflection.
2606         (setWindowPeer): Removed.
2607         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2608         * Makefile.am (nat_source_files):
2609         Removed gnu/java/awt/natEmbeddedWindow.cc.
2610
2611 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2612
2613         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2614         and gnu/java/security/action/SetAccessibleAction.java.
2615
2616 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2617
2618         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2619         Renamed from 'setName'. New 2-argument form with default value.
2620         (run): Pass default 'value' parameter to System.getProperty().
2621         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2622         typos.
2623
2624 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2625
2626         * gnu/java/security/action/GetPropertyAction.java: New class.
2627         * gnu/java/security/action/SetAccessibleAction.java: New class.
2628
2629 2004-08-31  David Jee  <djee@redhat.com>
2630
2631         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2632         (setIconImage): Check if image is null.
2633
2634 2004-08-31  David Jee  <djee@redhat.com>
2635
2636         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2637         (create): Set the icon image.
2638         (nativeSetIconImage): New native method declaration.
2639         (setIconImage): Implement.
2640         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2641         (nativeSetIconImage): New function.
2642
2643 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2644
2645         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2646         (filenameFilterCallback): Declare local variable accepted before use.
2647
2648 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2649
2650         * gnu/java/awt/ComponentDataBlitOp.java:
2651         Cleaned up imports.
2652
2653 2004-08-31  Tom Tromey  <tromey@redhat.com>
2654
2655         * gnu/java/awt/peer/GLightweightPeer.java,
2656         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2657         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2658         javax/swing/JScrollPane.java: Removed
2659         redundant imports.
2660
2661 2004-08-31  David Jee  <djee@redhat.com>
2662
2663         * java/awt/DefaultKeyboardFocusManager.java
2664         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2665         event.  Fix shift modifier checking.
2666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2667         (accel_attach): Remove.
2668         (setupAccelGroup): Remove calls to accel_attach.
2669
2670 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2671
2672         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2673         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2674
2675         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2676         GtkArgList.java.
2677         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2678         * Makefile.in: Regenerate.
2679         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2680         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2681         (create(String)): New method.
2682         (create): Call new create method.
2683         (getArgs): Remove method.
2684         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2685         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2686         (nativeCreate): Rename to create.
2687         (gtkSetLabel): Rename to gtkButtonSetLabel.
2688         (gtkToggleButtonSetActive): New method.
2689         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2690         (setState): Replace set call with gtkToggleButtonSetActive.
2691         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2692         (getArgs): Remove method.
2693         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2694         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2695         (gtkWidgetSetSensitive): New method.
2696         (gtkWidgetSetParent): Likewise.
2697         (GtkComponentPeer): Call setParent, setComponentBounds and
2698         setVisibleAndEnabled.
2699         (setParent): New method.
2700         (setComponentBounds): New method.
2701         (setVisibleAndEnabled): New method.
2702         (setEnabled): Call gtkWidgetSetSensitive.
2703         (getArgs): Remove method.
2704         Remove all set methods.
2705         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2706         gtkWindowSetModal, setTitle and setResizable.
2707         (getArgs): Remove method.
2708         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2709         (setComponentBounds): New method.
2710         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2711         Replace set call with gtkWindowSetResizable.
2712         (getArgs): Remove method.
2713         (create): Call setTitle and setResizable.
2714         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2715         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2716         (gtkWindowSetTitle): New method.
2717         (gtkWindowSetResizable): New method.
2718         (gtkWindowSetModal): New method.
2719         (setParent): New method.
2720         (setVisibleAndEnabled): New method.
2721         (getArgs): Remove method.
2722         (setTitle): Call gtkWindowSetTitle.
2723         (setResizable): Call gtkWindowSetResizable.
2724         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2725         and off locking instrumentation.
2726
2727 2004-08-31  Kim Ho  <kho@redhat.com>
2728
2729         * Makefile.am: Add new file.
2730         * Makefile.in: Regenerate.
2731         * gcj/Makefile.in: Regenerate
2732         * include/Makefile.in:
2733         * java/awt/Container.java:
2734         (acquireComponentForMouseEvent): Respect 
2735         the event mask when looking for candidate.
2736         * javax/swing/JComponent.java:
2737         Remove toolTip field.
2738         (createToolTip): Create a tooltip on demand.
2739         (setToolTipText): Register with the ToolTipManager.
2740         (getToolTipText(MouseEvent)): Return getToolTipText().
2741         * javax/swing/JToolTip.java: Implement.
2742         * javax/swing/Timer.java: Jalopy.
2743         (restart): Call stop, then start.
2744         (stop): Interrupt the timer rather than wait for
2745         the timer to come to a stop naturally.
2746         * javax/swing/ToolTipManager.java: Implement.
2747         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2748         Change ToolTip.background color.
2749         * javax/swing/plaf/basic/BasicToolTipUI.java:
2750         Implement.
2751         * testsuite/Makefile.in: Regenerate
2752
2753 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2754
2755         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2756         constructor param comments.
2757
2758 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2759
2760         * java/awt/Component.java: Document AWT 1.0 event handler
2761         methods.
2762
2763 2004-08-31  Roman Kennke  <roman@ontographics.com>
2764
2765         * javax/swing/Box.java:
2766         (createGlue): Implemented
2767         (createHorizontalGlue): Implemented
2768         (createHorizontalStrut): Implemented
2769         (createVerticalGlue): Implemented
2770         (createVerticalStrut): Implemented
2771
2772 2004-08-31  David Jee  <djee@redhat.com>
2773
2774         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2775         (GtkChoicePeer): Do not automatically select first item.
2776         (getHistory): Remove.
2777         (nativeGetSelected): New method.
2778         (nativeRemoveAll): New method.
2779         (add): Use nativeGetSelected() instead of getHistory().
2780         (remove): Likewise.
2781         (removeAll): Call nativeRemoveAll().
2782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2783         (create): Migrate to GtkComboBox.
2784         (append): Likewise.
2785         (nativeAdd): Likewise.
2786         (nativeRemove): Likewise.
2787         (select): Likewise.
2788         (nativeRemoveAll): New method.
2789         (nativeGetSelected): New method.
2790         (selection_changed): New method.
2791         (getHistory): Remove.
2792         (item_activate): Remove.
2793         (item_removed): Remove.
2794         (connect_choice_item_selectable_hook): Remove.
2795
2796 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2797
2798         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2799         variable in setEditable call.
2800
2801         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2802         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2803         (gtkWidgetSetBackground): New method.
2804         (gtkWidgetSetForeground): Likewise.
2805         (create): Set peer's editable state based on awtComponent's.
2806
2807         * java/awt/Button.java (Button()): Use empty string rather than
2808         null in no-label constructor.
2809
2810 2004-08-31  Roman Kennke  <roman@ontographics.com>
2811
2812         * javax/swing/BoxLayout.java: Reimplement.
2813
2814 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2815
2816         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2817         gnu_java_awt_peer_gtk_GdkGraphics.c
2818         (initState(GtkComponentPeer)): Don't return array of colour
2819         values.
2820         (GdkGraphics(int,int)): Set default font to size 12.
2821         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2822         component's foreground colour.
2823         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2824         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2825         (initState(GtkComponentPeer)): Don't return array of colour
2826         values.
2827         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2828         colours to component's colours.
2829         (current_colors_of_widget): Remove function.
2830         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2831         Return a new graphics object.
2832         * java/awt/Font.java (toString): Fix format.
2833         * java/awt/Graphics.java (toString): Likewise.
2834
2835 2004-08-31  Craig Black  <craig.black@aonix.com>
2836
2837         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2838         (addTearOff): New function.
2839         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2840         New native method.
2841         (init): Call addTearOff() when menu.isTearOff().
2842
2843 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2844
2845         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2846         Default implementation.
2847         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2848         Implement using GdkPixbufDecoder.
2849
2850 2004-08-31  David Jee  <djee@redhat.com>
2851
2852         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2853         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2854         setting the size of GtkFileDialogPeers.
2855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2856         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2857         use their default sizes rather than their natural requisitions.
2858
2859 2004-08-31  Michael Koch  <konqueror@gmx.de>
2860
2861         * javax/swing/JFormattedTextField.java
2862         (JFormattedTextField): Implemented.
2863         * javax/swing/text/DefaultEditorKit.java
2864         (BeepAction): New inner class.
2865         * javax/swing/text/Segment.java
2866         (partialReturn): New field.
2867         (setPartialReturn): New method.
2868         (isPartialReturn): Likewise.
2869         * javax/swing/text/View.java
2870         (createFragment): Fixed typo.
2871         (getStartOffset): New method.
2872         (getEndOffset): Likewise.
2873
2874 2004-08-31  Michael Koch  <konqueror@gmx.de>
2875
2876         * javax/swing/table/DefaultTableColumnModel.java
2877         (serialVersionUID): Made private.
2878         (listenerList): Initialize.
2879         (changeEvent): Initialize.
2880         * javax/swing/table/JTableHeader.java
2881         (JTableHeader): New constructors.
2882         (createDefaultColumnModel): New method.
2883         * javax/swing/table/TableColumn.java
2884         (setHeaderRenderer): Simplified code.
2885         (setCellRenderer): Likewise.
2886         (setWidth): Likewise.
2887
2888 2004-08-31  Tom Tromey  <tromey@redhat.com>
2889
2890         * java/text/AttributedString.java (AttributedString): Use
2891         ArrayList to build array of attribute ranges.  Don't use
2892         `attribs' before it is set.
2893
2894 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2895
2896         * HACKING: Remove reference to special automake. No longer needed.
2897
2898 2004-08-30  Tom Tromey  <tromey@redhat.com>
2899
2900         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2901         return result from `add'.
2902
2903 2004-08-30  Tom Tromey  <tromey@redhat.com>
2904
2905         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2906
2907 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2908
2909         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2910
2911 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2912
2913         * java/io/File.java File(String,String): Fixed handling of empty
2914         path.
2915
2916 2004-08-30  Casey Marshall  <csm@gnu.org>
2917
2918         Author e-mail updated for all files.
2919         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2920         instance of OID.
2921         (compareTo): Use `equals'.
2922         * gnu/java/security/der/BitString.java (equals): Test if the
2923         argument is an instance of BitString.
2924         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2925         class final. Made fields private.
2926         (<init>): New constructor.
2927         (skip): New method.
2928         (makeString): Made static; don't use NIO.
2929         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2930         * gnu/java/security/der/DERWriter.java: Fixed imports.
2931         (writeString): Don't use NIO.
2932         (toIso88591, toUtf16Be, toUtf8): New methods.
2933         * gnu/java/security/der/DERValue.java: Formatting changes only.
2934         * gnu/java/security/der/DER.java: Likewise.
2935
2936 2004-08-30  Tom Tromey  <tromey@redhat.com>
2937
2938         * java/nio/CharBuffer.java (put): Fix typo.
2939         * java/nio/DoubleBuffer.java (put): Fix typo.
2940         * java/nio/FloatBuffer.java (put): Fix typo.
2941         * java/nio/IntBuffer.java (put): Fix typo.
2942         * java/nio/LongBuffer.java (put): Fix typo.
2943         * java/nio/ShortBuffer.java (put): Fix typo.
2944
2945 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2946
2947         * java/nio/ByteBuffer.java (put): Fix typo.
2948
2949 2004-08-30  Casey Marshall  <csm@gnu.org>
2950
2951         * java/security/DummyKeyPairGenerator.java (clone): Removed
2952         useless instanceof check.
2953         * java/security/DummyMessageDigest.java (clone): Likewise.
2954         * java/security/DummySignature.java (clone): Likewise.
2955         * java/security/MessageDigest.java (clone): Remove useless
2956         instanceof check.
2957         * java/security/MessageDigestSpi.java (clone): Likewise.
2958         * java/security/Signature.java (clone): Provide meaningful
2959         implementation.
2960         * java/security/SignatureSpi.java (clone): Likewise.
2961
2962 2004-08-29  Mark Wielaard  <mark@klomp.org>
2963
2964         * java/util/Arrays.java
2965         (sort(byte[], int, int)): Check fromIndex < 0.
2966         (sort(char[], int, int)): Likewise.
2967         (sort(short[], int, int)): Likewise.
2968         (sort(int[], int, int)): Likewise.
2969         (sort(long[], int, int)): Likewise.
2970         (sort(float[], int, int)): Likewise.
2971         (sort(double[], int, int)): Likewise.
2972         (sort(Object[], int, int, Comparator)): Likewise.
2973         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2974         (qsort(char[], int, int)): Likewise.
2975         (qsort(short[], int, int)): Likewise.
2976         (qsort(int[], int, int)): Likewise.
2977         (qsort(long[], int, int)): Likewise.
2978         (qsort(float[], int, int)): Likewise.
2979         (qsort(double[], int, int)): Likewise.
2980
2981 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2982
2983         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2984         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2985         java/util/ArrayList.java, java/util/Arrays.java,
2986         java/util/BitSet.java, java/util/Calendar.java,
2987         java/util/Collection.java, java/util/ListIterator.java,
2988         java/util/Map.java, java/util/SortedSet.java:
2989         Added additional exceptions to documentation, along
2990         with some additions and corrections.
2991
2992 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2993
2994         * configure.ac: Handle --enable-gc-debug.
2995         * configure: Regenerate.
2996         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2997         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2998         Rearrange include file order.
2999         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3000         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3001         (disable_gc_mutex): Delete along with all references.
3002         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3003         adjust for debug header size.
3004         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3005         debug case.
3006         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3007         (gcj_describe_type_fn): New.
3008         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3009         Register gcj_describe_type_fn.
3010         * include/boehm-gc.h:
3011         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3012         Don't define, but declare, for debug case.
3013         * java/lang/natObject.cc:
3014         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3015
3016 2004-08-26  Mark Wielaard  <mark@klomp.org>
3017
3018         Fixes PR libgcj/17002:
3019         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3020         a TimeZoneId string and then try to convert that to a TimeZone with
3021         getDefaultSystemTimeZone(String).
3022         (timezones0): Changed type from Hashtable to HashMap.
3023         (timezones): Create HashMap, not Hashtable.
3024         (getDefaultTimeZone): New method, rewritten from CNI version.
3025         (readTimeZoneFile): New method.
3026         (readtzFile): Likewise.
3027         (skipFully): Likewise.
3028         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3029         getDefaultTimeZoneId and rewritten.
3030         (getDefaultTimeZoneId): Rewritten in java.
3031         
3032 2004-08-25  David Daney  <daney@avtrex.com>
3033
3034         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3035         * Makefile.in: Regenerated.
3036
3037 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3038
3039         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3040         only if jvmpi is enabled.
3041         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3042         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3043         (_Jv_AllocString): Likewise.
3044         (_Jv_AllocPtrFreeObject): Likewise.     
3045
3046 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3047
3048         * defineclass.cc: Include <stdio.h>.
3049         * java/lang/natClassLoader.cc: Include <stdio.h>.
3050
3051 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3052             Michael Koch  <konqueror@gmx.de>
3053
3054         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3055         * Makefile.in: Regenerated.
3056
3057 2004-08-20  Michael Koch  <konqueror@gmx.de>
3058
3059         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3060         AC_COMPILE_IFELSE macros.
3061
3062 2004-08-20  Michael Koch  <konqueror@gmx.de>
3063
3064         * configure.in: Renamed to configure.ac.
3065         * configure.ac: New file.
3066         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3067         include/config.h.in, testsuite/Makefile.in: Regenerated.
3068
3069 2004-08-20  Michael Koch  <konqueror@gmx.de>
3070
3071         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3072         * aclocal.m4, configure: Regenerated.
3073
3074 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3075             Michael Koch  <konqueror@gmx.de>
3076
3077         * configure.in, Makefile.am: Ported to automake 1.9.
3078         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3079         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3080         Regenerated.
3081
3082 2004-08-19  Tom Tromey  <tromey@redhat.com>
3083
3084         * java/net/DatagramSocket.java: Fixed typo.
3085
3086 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3087
3088         PR libgcj/17081
3089         * java/net/URI.java (string): New field. Make all other fields
3090         transient.
3091         (readObject): Implemented.
3092         (writeObject): Implemented.
3093         (URI): Set 'string'.
3094
3095 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3096
3097         PR libgcj/17079
3098         * java/util/logging/Handler.java (isLoggable): Accept record if its
3099         log level equals the threshold level. From Robin Green.
3100
3101 2004-08-18  David Daney  <ddaney@avtrex.com>
3102
3103         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3104         instead of sigwait.
3105
3106 2004-08-17  Michael Koch  <konqueror@gmx.de>
3107
3108         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3109         * Makefile.in: Regenerated.
3110
3111 2004-08-16  Tom Tromey  <tromey@redhat.com>
3112
3113         PR java/8473:
3114         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3115
3116 2004-08-16  Michael Koch  <konqueror@gmx.de>
3117
3118         * Makefile.am
3119         (math_c_files): Renamed from c_files.
3120         (math_c_source_files): Renamed from c_source_files.
3121         * Makefile.in,
3122         gcj/Makefile.in,
3123         include/Makefile.in,
3124         testsuite/Makefile.in: Regenerated.
3125
3126 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3127
3128         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3129         to avoid autoconf warning.
3130         * configure: Rebuilt.
3131
3132 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3133
3134         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3135         localhostAddress to loopbackAddress.
3136         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3137
3138 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3139
3140         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3141         boehm-gc's include dirs.
3142         * configure: Rebuilt.
3143         * include/boehm-gc.h: Include gc_config.h.
3144
3145 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3146
3147         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3148         localhostAddress.
3149         (getByName): Return loopback address for null hostname, without
3150         security check. Use lookup(), not getAllByName.
3151         (getAllByName): Return loopback address for null hostname, without
3152         security check.
3153         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3154         check here.
3155
3156 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3157
3158         PR libgcj/17020
3159         Reported by Robin Green.
3160         * defineclass.cc (handleField): Don't throw exception on unrecognised
3161         modifier. Add FIXME comments for spec compliance.
3162         (handleMethod): Likewise.
3163
3164 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3165
3166         PR libgcj/16662
3167         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3168         (Almost everywhere): add LOG calls, fix, add comments.
3169         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3170         Add explicit check for LOCKED bit in slow case (PR 16662).
3171         (_Jv_MonitorExit): Add casts in debug-only code.
3172         Always release LOCKED bit before throwing exception.
3173         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3174         isn't.  Handle easy cases without lock acquisition.
3175         (Object::wait): Use NotifyAll for lock inflation.
3176
3177 2004-08-12  David Daney  <ddaney@avtrex.com>
3178
3179         * testsuite/libjava.lang/Process_1.java: New test.
3180         * testsuite/libjava.lang/Process_2.java: New test.
3181         * testsuite/libjava.lang/Process_3.java: New test.
3182         * testsuite/libjava.lang/Process_4.java: New test.
3183         * testsuite/libjava.lang/Process_5.java: New test.
3184         * testsuite/libjava.lang/Process_6.java: New test.
3185         * testsuite/libjava.lang/Process_1.out: Expected result.
3186         * testsuite/libjava.lang/Process_2.out: Expected result.
3187         * testsuite/libjava.lang/Process_3.out: Expected result.
3188         * testsuite/libjava.lang/Process_4.out: Expected result.
3189         * testsuite/libjava.lang/Process_5.out: Expected result.
3190         * testsuite/libjava.lang/Process_6.out: Expected result.
3191
3192 2004-08-12  David Daney  <ddaney@avtrex.com>
3193
3194         PR libgcj/11801
3195         * java/lang/PosixProcess.java: Rewrote.
3196         * java/lang/natPosixProcess.cc: Rewrote.
3197         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3198         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3199         * posix-threads.cc (block_sigchld) New function.
3200         (_Jv_ThreadRegister) Use it.
3201         (_Jv_ThreadStart) Use it.
3202         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3203         * Makefile.am: ... to specify extra native headers.
3204         * configure: Regenerated.
3205         * include/config.h: Regenerated.
3206         * Makefile.in: Regenerated.
3207         * gcj/Makefile.in: Regenerated.
3208         * include/Makefile.in: Regenerated.
3209         * testsuite/Makefile.in: Regenerated.
3210
3211 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3212
3213         PR tree-optimization/16867
3214         * testsuite/libjava.lang/PR16867.java: New test.
3215
3216 2004-08-09  Per Bothner  <per@bothner.com>
3217
3218         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3219         with private fields and access methods.
3220         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3221         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3222         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3223         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3224         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3225         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3226         * jni.cc: Likewise.
3227         * resolve.cc: Likewise.
3228         * gcj/field.h: Likewise.
3229         * include/jvm.h: Likewise.
3230         * java/lang/Class.h: Likewise.
3231         * java/lang/natClass.cc: Likwise.
3232         * java/lang/natClassLoader.cc: Likewise
3233         * java/lang/reflect/natMethod.cc: Likewise
3234         * verify.cc: Likewise.
3235         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3236         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3237
3238 2004-08-10  Andrew Haley  <aph@redhat.com>
3239
3240         * testsuite/libjava.lang/err14.java: New file.
3241         * testsuite/libjava.lang/err14.out: New file.
3242
3243 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3244
3245         * Makefile.am: Fix missing rename from x_nat_headers to 
3246         xlib_nat_headers.
3247         * Makefile.in: Regenerated.
3248
3249 2004-08-04  Andrew Haley  <aph@redhat.com>
3250
3251         * java/security/BasicPermission.java: Don't check wildcards.
3252
3253 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3254             Michael Koch  <konqueror@gmx.de>
3255
3256         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3257         * configure.in: Replaced all usages of AC_LINK_FILES by
3258         AC_CONFIG_LINKS.
3259         * aclocal.m4,
3260         configure: Regenerated.
3261
3262 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3263             Michael Koch  <konqueror@gmx.de>
3264
3265         * acconfig.h: Removed.
3266         * Makefile.am: Rename variables for xlib peer to include xlib and
3267         gtk_c_headers to gtk_jni_headers.
3268         * Makefile.in: Regenerated.
3269
3270 2004-08-04  Andrew Haley  <aph@redhat.com>
3271
3272         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3273         debugging.
3274
3275 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3276
3277         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3278         Replace most top level 'dnl' comments with '#' comments, conforming
3279         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3280         help strings.
3281         * configure: Rebuilt.
3282
3283 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3284
3285         * acinclude.m4: Include no-executables.m4.
3286         * aclocal.m4: Rebuild.
3287         * configure.in: Convert to the autoconf 2.59 version of
3288         of the no-executables hack, and also of the nonstandard CXX
3289         hack and the multilibbed CC and CXX hack.  Change prerequisite
3290         to autoconf 2.59.
3291         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3292         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3293         testsuite/Makefile.in: Regenerate.
3294
3295 2004-08-03  Tom Tromey  <tromey@redhat.com>
3296
3297         * jni.cc: Reindented.
3298
3299 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3300
3301         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3302
3303 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3304
3305         * testsuite/libjava.compile/PR16701.java: New test.
3306
3307 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3308
3309         * java/util/Collection.java, java/util/List.java,
3310         java/util/Map.java, java/util/Set.java,
3311         java/util/SortedMap.java, java/util/SortedSet.java:
3312         Added additional exceptions to documentation.
3313
3314 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3315
3316         PR libgcj/16814
3317         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3318         * configure. Regenerate.
3319         * include/win32.h: Explicitly include winsock2.h
3320         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3321         Winsock api.
3322
3323 2004-07-30  Michael Koch  <konqueror@gmx.de>
3324
3325         * java/util/zip/GZIPInputStream.java
3326         (GZIPInputStream): Increase buffer size to 4k.
3327         * java/util/zip/GZIPOutputStream.java
3328         (GZIPOutputStream): Likewise.
3329         * java/util/zip/Inflater.java
3330         (setInput): Merged formating with GNU classpath.
3331         * java/util/zip/InflaterInputStream.java
3332         (InflaterInputStream): Increase buffer size to 4k.
3333         (fill): Throw exception if stream ends early.
3334         (read): Merged endless-loop with GNU classpath.
3335         (skip): Increase buffer size to 2k.
3336
3337 2004-07-30  Michael Koch  <konqueror@gmx.de>
3338
3339         * gnu/java/awt/EmbeddedWindow.java
3340         (addNotify): Use AccessController to allow execution of privileged
3341         code.
3342
3343 2004-07-29  Michael Koch  <konqueror@gmx.de>
3344
3345         * gnu/java/lang/MainThread.java:
3346         Explicitely import used classes.
3347         (args): Make it type String[].
3348
3349 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3350
3351         * gnu/java/awt/ComponentDataBlitOp.java,
3352         gnu/java/beans/ExplicitBeanInfo.java,
3353         gnu/java/beans/IntrospectionIncubator.java,
3354         gnu/java/beans/editors/ColorEditor.java,
3355         gnu/java/beans/editors/FontEditor.java,
3356         gnu/java/beans/editors/NativeBooleanEditor.java,
3357         gnu/java/beans/editors/NativeByteEditor.java,
3358         gnu/java/beans/editors/NativeDoubleEditor.java,
3359         gnu/java/beans/editors/NativeFloatEditor.java,
3360         gnu/java/beans/editors/NativeIntEditor.java,
3361         gnu/java/beans/editors/NativeLongEditor.java,
3362         gnu/java/beans/editors/NativeShortEditor.java,
3363         gnu/java/beans/editors/StringEditor.java,
3364         gnu/java/io/ClassLoaderObjectInputStream.java,
3365         gnu/java/io/decode/Decoder.java,
3366         gnu/java/io/encode/Encoder.java,
3367         gnu/java/lang/ClassHelper.java,
3368         gnu/java/locale/Calendar.java,
3369         gnu/java/locale/Calendar_de.java,
3370         gnu/java/locale/Calendar_en.java,
3371         gnu/java/locale/Calendar_nl.java,
3372         gnu/java/locale/LocaleInformation_de.java,
3373         gnu/java/locale/LocaleInformation_en.java,
3374         gnu/java/locale/LocaleInformation_nl.java:
3375         Cleaned up imports.
3376
3377 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3378
3379         * README: Remove obsolete info. Update bug URL.
3380         * THANKS: Updated.
3381         * NEWS: Updated with news up to GCC 3.4 release.
3382
3383 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3384
3385         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3386         Renamed from 'setName'. New 2-argument form with default value.
3387         (run): Pass default 'value' parameter to System.getProperty().
3388         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3389         typos.
3390         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3391         not 'setName'.
3392
3393 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3394
3395         * configure.in: Check for minimum GTK version 2.4 requirement.
3396         * configure: Rebuilt.
3397
3398 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3399
3400         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3401         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3402         Reduce sleep time.
3403         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3404         compiler bug.
3405         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3406         address. Reduce sleep times. Synchronize with target threads before
3407         attempting to interrupt them. Don't try to calibrate yeild count,
3408         instead, always loop for a fixed time.
3409         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3410         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3411         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3412         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3413         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3414         * testsuite/libjava.lang/pr179.java: Likewise.
3415         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3416         time. Remove upper bounds check on sleep time. 
3417
3418 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3419
3420         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3421         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3422
3423 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3424
3425         * java/io/File.java (toURI): Throw RuntimeException, not 
3426         InternalError.
3427         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3428         class name, not instance.
3429
3430 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3431
3432         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3433         and gnu/java/security/action/SetAccessibleAction.java.
3434         * Makefile.in: Rebuilt.
3435
3436 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3437
3438         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3439         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3440         _Jv_InitPrimClass.
3441         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3442         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3443         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3444
3445 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3446
3447         * Makefile.am: Replace jar, rmic and rmiregistry references with
3448         gjar, grmic and grmiregistry.
3449         * configure.in: Likewise.
3450         * Makefile.in: Regenerate.
3451         * configure: Likewise.
3452         * gcj/Makefile.in: Likewise.
3453         * include/Makefile.in: Likewise.
3454         * testsuite/Makefile.in: Likewise.
3455
3456 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3457
3458         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3459         for privileged getProperty calls.
3460         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3461         SetAccessibleAction instead of anonymous class for doPrivileged call.
3462         (getMethod): Likewise.
3463         (setAccessible): New field. PrivilegedAction object to use when
3464         calling setAccessible.
3465         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3466         SetAccessibleAction instead of anonymous class for diPrivileged call.
3467         (setFields): Likewise.
3468         (getClassUID): Likewise.
3469         (findMethod): Likewise.
3470         * gnu/java/security/action/GetPropertyAction.java: New class.
3471         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3472
3473 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3474
3475         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3476         for final fields.
3477         * testsuite/libjava.lang/Serialization.java: New test.
3478         * testsuite/libjava.lang/Serialization.out: New.
3479
3480 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3481
3482         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3483         missed in last commit.
3484
3485 2004-07-23  Mark Wielaard  <mark@klomp.org>
3486
3487         * java/lang/System.java (static): Set http.agent system property when
3488         not yet set.
3489         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3490         from system property inside AccessController.doPrivileged() call.
3491         (proxyPort): Made package private.
3492         (proxyInUse): Likewise.
3493         (proxyHost): Likewise.
3494         (userAgent): Likewise.
3495
3496 2004-07-23  Mark Wielaard  <mark@klomp.org>
3497
3498         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3499         implementation.
3500
3501 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3502
3503         * Makefile.am (ordinary_java_source_files): Add
3504         DefaultContentHandlerFactory.java.
3505         * Makefile.in: Rebuilt.
3506         * java/net/URLConnection.java (defaultFactory): New field.
3507         (getContent): 
3508         (getContentHandler): Renamed from 'setContentHandler'. Try 
3509         defaultFactory after user-set factory, if any. Search for content 
3510         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3511         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3512         Implemented.
3513         (getLastModified): Implemented.
3514         (getPermission): Create file permission here, instead of in
3515         constructor.
3516         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3517         Implemented.
3518         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3519         Implemented.
3520         (getLastModified): Implemented.
3521         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3522         Default implementation.
3523         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3524         Implement using GdkPixbufDecoder.
3525         
3526 2004-07-21  Michael Koch  <konqueror@gmx.de>
3527
3528         * javax/swing/JTextArea.java
3529         (setLineWrap): Fire property change event after new value is set.
3530         (setTabSize): Likewise.
3531
3532 2004-07-21  Michael Koch  <konqueror@gmx.de>
3533
3534         * javax/swing/JTable.java
3535         (autoCreateColumnsFromModel): New field.
3536         (autoResizeMode): Likewise.
3537         (cellEditor): Likewise.
3538         (cellSelectionEnabled): Likewise.
3539         (columnModel): Likewise.
3540         (dataModel): Likewise.
3541         (defaultEditorsByColumnClass): Likewise.
3542         (defaultRenderersByColumnClass): Likewise.
3543         (editingColumn): Likewise.
3544         (editingRow): Likewise.
3545         (gridColor): Likewise.
3546         (preferredViewportSize): Likewise.
3547         (rowHeight): Likewise.
3548         (rowMargin): Likewise.
3549         (rowSelectionAllowed): Likewise.
3550         (selectionBackground): Likewise.
3551         (selectionForeground): Likewise.
3552         (selectionModel): Likewise.
3553         (showHorizontalLines): Likewise.
3554         (showVerticalLines): Likewise.
3555         (tableHeader): Likewise.
3556         (JTable): Implemented.
3557         (getColumnModel): Likewise.
3558         (getSelectedRow): Likewise.
3559         (getSelectionModel): Likewise.
3560         (setModel): Likewise.
3561         (setSelectionModel): Likewise.
3562         (createScrollPaneForTable): New method.
3563         (createDefaultDataModel): Likewise.
3564         (createDefaultListSelectionModel): Likewise.
3565         (getModel): Likewise.
3566         (getTableHeader): Likewise.
3567         (setTableHeader): Likewise.
3568         (getColumnSelectionAllowed): Likewise.
3569         (setColumnSelectionAllowed): Likewise.
3570         (getRowSelectionAllowed): Likewise.
3571         (setRowSelectionAllowed): Likewise.
3572         (getAutoResizeMode): Likewise.
3573         (setAutoResizeMode): Likewise.
3574         (getColumnCount): Likewise.
3575         (getRowCount): Likewise.
3576         (getCellRenderer): Likewise.
3577         * javax/swing/JTree.java
3578         (cellRenderer): New field.
3579         (editable): Likewise.
3580         (rootVisible): Likewise.
3581         (showsRootHandles): Likewise.
3582         (getModel): New method.
3583         (setModel): Likewise.
3584         (isEditable): Likewise.
3585         (setEditable): Likewise.
3586         (isRootVisbile): Likewise.
3587         (setRootVisible): Likewise.
3588         (getShowsRootHandles): Likewise.
3589         (setShowRootHandles): Likewise.
3590         (getCellRenderer): Likewise.
3591         (setCellRenderer): Likewise.
3592
3593 2004-07-21  Michael Koch  <konqueror@gmx.de>
3594
3595         * javax/swing/JFormattedTextField.java
3596         (setDocument): Implemented.
3597         * javax/swing/JRootPane.java:
3598         Fixed javadocs.
3599         * javax/swing/JTable.java
3600         (getDefaultRenderer): New method.
3601         * javax/swing/JTextField.java
3602         (setFont): Likewise.
3603         (getPreferredSize): Likewise.
3604         * javax/swing/JToggleButton.java
3605         (getAccessibleContext): Fix javadoc.
3606         * javax/swing/JTree.java:
3607         Add some javadocs.
3608         * javax/swing/JViewport.java:
3609         Likewise.
3610
3611 2004-07-21  David Jee  <djee@redhat.com>
3612
3613         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3614         Collect all native method declaration at the top.
3615         (create): Set the filename filter if necessary.
3616         (setDirectory): Call nativeSetDirectory().
3617         (setFilenameFilter): Implement.
3618         (filenameFilterCallback): New method.
3619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3620         (create): Configure dialog to show hidden files.
3621         (filenameFilterCallback): New function. 
3622         (nativeSetFilenameFilter): New function.
3623         (nativeSetDirectory): New function.
3624
3625 2004-07-21  Kim Ho  <kho@redhat.com>
3626
3627         * javax/swing/plaf/basic/BasicSliderUI.java:
3628         Ran Jalopy.
3629         (paintTrack): Fill the track before painting
3630         the borders.
3631
3632 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3633
3634         patch from Roman Kennke <roman@ontographics.com>
3635         * javax/swing/Spring.java: New file.
3636         * javax/swing/SpringLayout.java: New file.
3637         * Makefile.am: Add new files.
3638         * Makefile.in: Regenerate.
3639
3640 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3641
3642         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3643         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3644         * javax/swing/ScrollPaneLayout.java: Likewise.
3645
3646 2004-07-21  Kim Ho  <kho@redhat.com>
3647
3648         * javax/swing/DefaultDesktopManager.java:
3649         (findMinimum): Removed.
3650         (resizeFrame): Trust the UI to pass valid 
3651         bounds.
3652         * javax/swing/JOptionPane.java:
3653         Implemented showInternalXXXDialog methods.
3654         (startModal): New method.
3655         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3656         (BorderListener::mouseDragged): Verify that the new 
3657         bounds are valid before passing them to the DesktopManager.
3658         (preferredLayoutSize): Delegate
3659         to getSize.
3660         (minimumLayoutSize): Ditto.
3661         (getSize): New method.
3662         (GlassPaneDispatcher): Reimplemented by copying 
3663         a stripped down LightweightDispatcher from Container.
3664         (getMinimumSize): Call minimumLayoutSize.
3665         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3666         Ran Jalopy.
3667         (mousePressed): Add ability to properly close 
3668         JInternalFrames.
3669         * javax/swing/plaf/basic/BasicToolBarUI.java:
3670         (DragWindow): Set owner for DragWindow.
3671
3672 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3673
3674         * java/awt/image/ShortLookupTable.java: New file.
3675         * java/awt/image/ByteLookupTable.java: New file.
3676         * Makefile.am: Added new files.
3677         * Makefile.in: Regenerated.
3678
3679 2004-07-21  David Jee  <djee@redhat.com>
3680
3681         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3682         (create(GtkContainerPeer)): New native method.
3683         (create()): Call native create(), passing in the parent frame
3684         as the paramter. Natively set the current file and directory.
3685         (setFile): Construct an absolute filename before passing it to
3686         the native peer.
3687         (nativeGetDirectory): New method.
3688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3689         (window_closed): Removed.
3690         (ok_clicked): Likewise.
3691         (cancel_clicked): Likewise.
3692         (handle_response): New method.
3693         (create): Use GtkFileChooserDialog.
3694         (connectSignals): Connect to handle_response.
3695         (nativeGetDirectory): New method.
3696         (nativeSetFile): Use GtkFileChooserDialog.
3697
3698 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3699
3700         * java/awt/image/LookupTable.java: New file.
3701         * Makefile.am: Added new file.
3702         * Makefile.in: Regenerated.
3703
3704 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3705
3706         * java/awt/image/Kernel.java: New file.
3707         * Makefile.am: Added new file.
3708         * Makefile.in: Regenerated.
3709
3710 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3711
3712         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3713         * javax/swing/JMenu.java: Likewise.
3714         * javax/swing/JMenuBar.java: Likewise.
3715         (MARGIN_CHANGED_PROPERTY): New property.
3716         (setMargin): Implemented.
3717         * javax/swing/JMenuItem.java: Fixed javadocs.
3718         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3719         (LABEL_CHANGED_PROPERTY): New property.
3720         (add): changed to use createActionComponent.
3721         (createActionComponent): Implemented.   
3722         (setLabel): Fire PropertyChangeEvent if label property
3723         changes.
3724         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3725         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3726         (ContainerHandler): Repaint if margin property has changed.
3727         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3728         (installUI): Call installComponents().
3729         (uninstallUI): Call uinstallComponents().
3730         * javax/swing/plaf/basic/BasicMenuUI.java:
3731         Fixed javadocs.
3732         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3733         Likewise.
3734
3735 2004-07-21  Kim Ho  <kho@redhat.com>
3736
3737         * javax/swing/plaf/basic/BasicToolBarUI.java:
3738         (DragWindow): Use the right constructor.
3739
3740 2004-07-21  Kim Ho  <kho@redhat.com>
3741
3742         * javax/swing/JToolBar.java:
3743         (layoutContainer): Use getComponents.
3744         * javax/swing/plaf/basic/BasicToolBarUI.java:
3745         (DragWindow): Don't use SwingUtilities' 
3746         getOwnerFrame
3747         (ToolBarDialog): ditto.
3748
3749 2004-07-21  Kim Ho  <kho@redhat.com>
3750
3751         * javax/swing/JRootPane.java:
3752         Ran jalopy.
3753         (layoutContainer): Set the glasspane's size to 
3754         be the same as the content pane.
3755         (createGlassPane): Set opaque property to false.
3756
3757 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3758
3759         * java/awt/Component.java (requestFocus()): Don't handle Panels
3760         specially.
3761         (requestFocus(boolean)): Likewise.
3762         (requestFocusInWindow(boolean)): Likewise.
3763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3764         Set GTK_CAN_FOCUS flag.
3765
3766 2004-07-21  Kim Ho  <kho@redhat.com>
3767
3768         * Makefile.am: Added new file.
3769         * Makefile.in: Regenerated.
3770         * gcj/Makefile.in: Regenerated.
3771         * include/Makefile.in: Regenerated.
3772         * javax/swing/AbstractButton.java:
3773         Add rollOverEnabled property.
3774         (setRolloverEnabled): Use new property.
3775         (isRolloverEnabled): Use new property.
3776         * javax/swing/JTabbedPane.java:
3777         (setComponent): Remove useless JTabbedPane.this.
3778         * javax/swing/JToolBar.java: Finish implementation.
3779         * javax/swing/plaf/basic/BasicArrowButton.java:
3780         (paint): Moved border painting to a border.
3781         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3782         Change JToolBar look and feel defaults.
3783         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3784         (actionPerformed): Return Integer index instead of name.
3785         (addButtonComponents): Check to see if component is
3786         JButton last.
3787         (createMessageArea): Don't use components that are not
3788         completed yet.
3789         (getIconForType): Use temporary icons.
3790         * javax/swing/plaf/basic/BasicSliderUI.java:
3791         (mousePressed): Do not return if it's on thumb.
3792         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3793         (paintMinorTickForVertSlider): ditto.
3794         (paintMajorTickForHorizSlider): ditto.
3795         (paintMajorTickForVertSlider): ditto.
3796         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3797         Add a border around the SplitPaneDivider.
3798         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3799         Remove comments.
3800         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3801         New file. Implemented.
3802         * javax/swing/plaf/basic/BasicToolBarUI.java:
3803         Implemented.
3804         * testsuite/Makefile.in: Regenerated.
3805
3806 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3807
3808         * javax/swing/Timer.java (run): Queue events each time cycle.
3809
3810 2004-07-21  David Jee  <djee@redhat.com>
3811
3812         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3813         (imageComplete): Call image.imageComplete().
3814         * java/awt/image/MemoryImageSource.java:
3815         Reimplement consumers as a Vector instead of a Hashtable.  This is
3816         because enumeration on a Hashtable is not thread-safe.
3817         (addConsumer): Adapt to Vector consumers.
3818         (isConsumer): Adapt to Vector consumers.
3819         (removeConsumer): Adapt to Vector consumers.
3820         (startProduction): Adapt to Vector consumers. Call imageComplete()
3821         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3822         (newPixels): Adapt to Vector consumers.
3823         (sendPicture): Set the color model of the image consumer.
3824         (newPixels(IIII)): Adapt to Vector consumers.
3825         (newPixels(IIIIB)): Adapt to Vector consumers.
3826
3827 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3828
3829         * java/awt/Component.java (deliverEvent): Implement.
3830         (postEvent): Implement.
3831         (handleEvent): Implement.
3832         (translateEvent): New method.
3833         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3834         * java/awt/Container.java (deliverEvent): Implement.
3835         * java/awt/Event.java (paramString): Fix formatting.
3836         * java/awt/Font.java (toString): Likewise.
3837         * java/awt/Window.java (postEvent): Implement.
3838
3839 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3840
3841         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3842         Set window's focus owner upon receiving a FOCUS_LOST event.
3843         * java/awt/Window.java (Window()): Refocus the previously
3844         focused component within the window when the window regains the
3845         top-level focus.
3846         (setFocusOwner): New method.
3847         * java/awt/Component.java (requestFocus): Add FIXME.
3848
3849         * libgcj.pc.in: Remove library flags.
3850
3851 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3852
3853         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3854         MOUSE_PRESSED event.
3855         * java/awt/Component.java (requestFocus()): Handle Panel
3856         specially.  Post FOCUS_LOST event on opposite component.
3857         (requestFocus(boolean)): Likewise.
3858         (requestFocusInWindow(boolean)): Likewise.
3859         (paramString): Reorder dimension fields.
3860         * java/awt/Container.java (paramString): Fix string format.
3861         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3862         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3863         process key events if the focus owner is non-null.
3864         (dispatchKeyEvent): Likewise.
3865         * java/awt/Frame.java (paramString): Fix formatting.
3866         (generateName): New method.
3867         (getUniqueLong): Likewise.
3868         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3869         the temporary focus owner is null.  If so, return the permanent
3870         focus owner.
3871         * java/awt/Panel.java (generateName): New method.
3872         (getUniqueLong): Likewise.
3873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3874         signal handling to make callbacks more specific.
3875
3876 2004-07-21  Michael Koch  <konqueror@gmx.de>
3877
3878         * javax/swing/text/Position.java
3879         (Bias): Implemented.
3880
3881 2004-07-21  Michael Koch  <konqueror@gmx.de>
3882
3883         * javax/swing/LookAndFeel.java
3884         (provideErrorFeedback): New method.
3885
3886 2004-07-21  Michael Koch  <konqueror@gmx.de>
3887
3888         * javax/swing/JTextArea.java
3889         (tabSize): New field.
3890         (getTabSize): New method.
3891         (setTabSize): Likewise.
3892
3893 2004-07-21  Michael Koch  <konqueror@gmx.de>
3894
3895         * javax/swing/ActionMap.java:
3896         Fixed javadocs all over.
3897         (serialVersionUID): Made private.
3898         (parent): Don't explicitely initialize with default value.
3899         (get): SImplified.
3900         (keys): Reimplemented.
3901         (allKeys): Likewise.
3902         (convertSet): Removed.
3903         * javax/swing/ComponentInputMap.java:
3904         Fixed javadocs all over.
3905         (ComponentInputMap): Implemented.
3906         (put): Likewise.
3907         (clear): Likewise.
3908         (remove): Likewise.
3909         (SetParent): Likewise.
3910         (getComponent): Likewise.
3911         * javax/swing/InputMap.java:
3912         Fixed javadocs all over.
3913         (serialVersionUID): Made private.
3914         (parent): Don't explicitely initialize with default value.
3915         (get): SImplified.
3916         (keys): Reimplemented.
3917         (allKeys): Likewise.
3918         (convertSet): Removed.
3919
3920 2004-07-21  Michael Koch  <konqueror@gmx.de>
3921
3922         * javax/swing/ActionMap.java,
3923         javax/swing/ComponentInputMap.java,
3924         javax/swing/InputMap.java,
3925         javax/swing/table/DefaultTableColumnModel.java,
3926         javax/swing/table/TableColumn.java,
3927         javax/swing/table/TableColumnModel.java,
3928         javax/swing/table/TableModel.java,
3929         javax/swing/text/AbstractDocument.java,
3930         javax/swing/text/TextAction.java:
3931         Reformated.
3932
3933 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3934
3935         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3936         Make method non-static.
3937         * javax/swing/AbstractButton.java:
3938         Rename fields to match property names where possible.
3939         (iconTextGap): New property.
3940         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3941         (init) New method, call from after various constructors.
3942         * javax/swing/JComponent.java (revalidate): 
3943         Invalidate before queueing repair.
3944         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3945         Reimplement in terms of visibleRowCount property.
3946         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3947         * javax/swing/JScrollPane.java (createScrollListener): 
3948         Remove tracing chatter.
3949         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3950         * javax/swing/RepaintManager.java (addInvalidComponent): 
3951         Don't invalidate.
3952         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3953         calculations.
3954         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3955         Mimic sun behavior on top left/right positioning.
3956         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3957         Remove mistaken use of preferredScrollableViewportSize here.
3958         (layoutContainer): Use view's preferred size as basis.
3959         * javax/swing/plaf/basic/BasicButtonUI.java:
3960         Set, get, and use textIconGap property.
3961         (paint) Paint text returned from layout (with ellipsis).
3962         * javax/swing/plaf/basic/BasicListUI.java:
3963         Remove tracing chatter, correct various minor calculations.
3964         (getCellBounds): Update layout state before calculating.
3965         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3966         Use margin default similar to sun's.    
3967         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3968         (createIncreaseIcon): Center icon, minimize margins.
3969         (createDecreaseIcon): Likewise.
3970         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3971         Implement.
3972         (installUI): Call it.
3973         (uninstallDefaults): Implement.
3974         (uninstallUI): Call it.
3975         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3976         Call existing Window constructor.
3977         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3978         Set clip before painting.
3979
3980 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3981         
3982         * javax/swing/JMenuItem.java:
3983         (processMouseEvent): Reimplemented to deal with
3984         mouse drag events.
3985         (createMenuDragMouseEvent): New private helper method.
3986         Creates MenuDragMouseEvent.
3987         * javax/swing/MenuSelectionManager.java
3988         (componentForPoint): Implemented.
3989         (isComponentPartOfCurrentMenu): Made public.
3990         (processMouseEvent): Reimplemented to deal with 
3991         mouse drag events.
3992         (setSelectedPath): Corrected small mistake that caused
3993         path to be set incorrectly.
3994         (getPath): If given component is JMenu then also add this
3995         menu's popup menu to the selected path.
3996         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3997         (getPath): Ditto.
3998         (getPreferredSize): Call getPreferredMenuItemSize().
3999         (getPreferredItemSize): Moved code from getPreferredSize to here.
4000         (installListeners): Install MouseMotionListeners.
4001         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4002         if mouse wasn't released in the bounds of this menu item.
4003         (MenuDragMouseHandler): Implemented.
4004         * javax/swing/plaf/basic/BasicMenuUI.java:
4005         (installListeners): Install MouseMotionListener and 
4006         MenuDrageMouseListener.
4007         (MenuDragMouseHandler): Implemented.
4008         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4009         (uninstallListeners): Implemented.
4010         
4011 2004-07-21  Michael Koch  <konqueror@gmx.de>
4012
4013         * javax/swing/JCheckBox.java: Reformated.
4014         (JCheckBox): Fixed all constructors.
4015         (isBorderPaintedFlat): New method.
4016         (setBorderPaintedFlat): New method.
4017         * javax/swing/JEditorPane.java
4018         (createEditorKitForContentType): Made public.
4019         (scrollToReference): Likewise.
4020         * javax/swing/JTextArea.java
4021         (setLineWrap): Fire property change.
4022         * javax/swing/JToggleButton.java
4023         (JToggleButton): New constructor.
4024         (JToggleButton): Simplified.
4025         * javax/swing/text/AttributeSet.java
4026         (FontAttribute): Renamed from FontCharacterAttribute.
4027         * javax/swing/text/JTextComponent.java
4028         (KeyBinBinding): Added javadoc.
4029         (JTextComponent): Likewise.
4030         (getAccessibleContext): Fixed javadoc.
4031         * javax/swing/text/View.java
4032         (View): Added javadoc.
4033         * javax/swing/text/TabableView.java: New file.
4034         * Makefile.am: Added javax/swing/text/TabableView.java.
4035         * Makefile.in: Regenerated.
4036
4037 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4038
4039         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4040         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4041         (GtkErrorImage): New helper class.
4042         (bufferedImageOrError): New helper method.
4043         (createImage): Use it.
4044
4045 2004-07-21  David Jee  <djee@redhat.com>
4046
4047         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4048         (setCaretPosition): Scroll the text view so the new caret position
4049         is visible on screen.
4050
4051 2004-07-21  David Jee  <djee@redhat.com>
4052
4053         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4054         (setBounds): Do not validate awtComponent here.
4055         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4056         (getPreferredSize): New method.
4057         * java/awt/ScrollPane.java
4058         (ScrollPane): Set default size to 100x100.
4059         (addNotify): If child is not a Panel, wrap it with a new Panel.
4060         (paramString): Implement.
4061
4062 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4063
4064         * javax/swing/JMenu.java:
4065         (setSelected): Display popup menu only if this menu 
4066         is showing on the screen.
4067         * javax/swing/JPopupMenu.java:
4068         (processMouseEvent): Added comment.
4069         (processKeyEvent): Likewise.
4070         * javax/swing/MenuSelectionManager.java:
4071         (clearSelectedPath): Only fireStateChanged() after
4072         selected path was changed, not before.
4073         (setSelectedPath): Likewise.
4074         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4075         (paintMenuItem): Corrected position of menu item's
4076         icon.
4077         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4078         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4079         (popupMenuCanceled): Reimplemented.
4080         (popupMenuWillBecomeVisible): Select first menu item by default 
4081         when displaying free floating popup menus.
4082         (TopWindowListener): Reimplemented.
4083
4084 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4085
4086         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4087         Panel from being painted twice when it is first shown.
4088
4089 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4090
4091         * java/awt/Window.java: Reverted changes from my 
4092         previous patch for creating window without an owner.
4093         * javax/swing/SwingUtilities.java: 
4094         (SwingUtilities.OwnerFrame): made static.
4095         (OwnerFrame.setVisible): New method. Overridden with
4096         empty implementation.
4097         (OwnerFrame.isShowing): New method. Ovverridden
4098         to return always true.
4099
4100 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4101
4102         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4103         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4104         (GtkComponentPeer): Remove temporary try/catch block.
4105         (setVisible): Call show and hide.
4106         (show): Make native.
4107         (hide): Likewise.
4108         (getArgs): Don't add "visible" argument.
4109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4110         (property_notify_predicate): Return Bool instead of int.
4111         (find_layout): New function.
4112         (connectJObject): Call find_layout.
4113         (connectSignals): Likewise.
4114         (moveLayout): Likewise.
4115         (gtkLayoutSetVisible): Likewise.
4116
4117 2004-07-21  Mark Wielaard  <mark@klomp.org>
4118
4119         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4120         on notifier object before calling notifyAll().
4121
4122 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4123
4124         * java/awt/Window.java: Changed constructors to use new
4125         method that is described below. Constructors call this
4126         methods only if newly created window should have an owner.
4127         (setWindowOwner): New method. Implementation for
4128         this method is moved from this(owner,configuration).
4129         * javax/swing/JWindow.java:
4130         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4131         instead of owner.
4132         * javax/swing/SwingUtilities.java:
4133         (ownerFrame): Change type of this field to OwnerFrame.
4134         (getOwnerFrame): Changed to return object of type OwnerFrame.
4135         (SwingUtilities.OwnerFrame): New class. Represents owner
4136         of a Window that is not provided with one.
4137
4138 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4139
4140         *  javax/swing/AbstractButton.java: 
4141         (configurePropertiesFromAction): Set action command
4142         to button's text by default if action command is not 
4143         explicitely specified.
4144         * javax/swing/JMenu.java: Remove unnecessary listener
4145         and methods relevant to it.
4146         (setSelected): Reimplemented.
4147         (menuSelectionChanged): Moved most part of implementation to
4148         setSelected() and call it instead.
4149         * javax/swing/JMenuItem.java: 
4150         (init): Comment out statement that sets paint_border to false.
4151         (configurePropertiesFromAction): Do not set accelerator
4152         for JMenu.
4153         (menuSelectionChanged): Change selected index in the selection
4154         model of menu item's parent.
4155         * javax/swing/JPopupMenu.java:
4156         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4157         instead of GridBagConstraints.HORIZONTAL.
4158         (insert): Likewise.
4159         (createActionChangeListener): Implemented.
4160         (setVisible): Correct location of HeavyWeightMenu and 
4161         don't firePopupMenuCanceled().
4162         (menuSelectionChanged): Implemented.
4163         (ActionChangeListener): New Listener. Implemented.
4164         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4165         (BasicMenuBarUI.ContainerHandler): Implemented.
4166         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4167         (paintMenuItem): Uncommented out code that paints 
4168         icon, now that icons are working properly.
4169         (PropertyChangeListener): Implemented.
4170         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4171         Added javadocs.
4172         (topWindowListener): New field.
4173         (Constructor): initialize topWindowListener.
4174         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4175         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4176         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4177         Implemented.
4178
4179 2004-07-21  Michael Koch  <konqueror@gmx.de>
4180
4181         * javax/swing/plaf/basic/BasicButtonUI.java
4182         (paintFocus): Fixed method signature.
4183         (paintButtonPressed): Likewise.
4184         (paintButtonNormal): Likewise.
4185         (paintText): New method.
4186         * javax/swing/plaf/basic/BasicLabelUI.java
4187         (paint): Re-indented.
4188         * javax/swing/plaf/basic/BasicTextUI.java
4189         (installUI): Set parent textComponent to opaque.
4190         * javax/swing/text/DefaultHighlighter.java
4191         (checkPositions): New helper method.
4192         (addHighlight): Throws BadLocationException, check positions.
4193         (changeHighlight): Likewise.
4194         * javax/swing/text/EditorKit.java
4195         (EditorKit): Implements Serializable.
4196         * javax/swing/text/JTextComponent.java
4197         (getUI): Added javadoc.
4198         (setUI): Likewise.
4199         (upadteUI): Added javadoc, don't revalidate and repaint.
4200
4201 2004-07-21  David Jee  <djee@redhat.com>
4202
4203         * java/awt/GridBagLayout.java
4204         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4205         * javax/swing/AbstractButton.java
4206         (setText): Reindent.
4207         * javax/swing/RepaintManager.java
4208         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4209
4210 2004-07-21  Michael Koch  <konqueror@gmx.de>
4211
4212         * javax/swing/JFormattedTextField.java
4213         (value): New field.
4214         (JFormattedTextField): Implemented.
4215         (getValue): Likewise.
4216         (setValue): Likewise.
4217         * javax/swing/LookAndFeel.java
4218         (getSupportsWindowDecorations): New method.
4219         * javax/swing/UIDefaults.java:
4220         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4221         (addPropertyChangeListener): Made public.
4222         (addResourceBundle): Likewise.
4223         (removeResourceBundle): Likewise.
4224         (setDefaultLocale): Likewise.
4225         * javax/swing/plaf/basic/BasicRootPaneUI.java
4226         (BasicRootPaneUI): Implements PropertyChangeListener.
4227         (propertyChange): New method.
4228         * javax/swing/plaf/basic/BasicTextUI.java
4229         (BasicHighlighter): New inner class.
4230         (createHighlighter): New method.
4231         * javax/swing/plaf/basic/BasicToolBarUI.java
4232         (DragWindow): Extends java.awt.Window.
4233         * javax/swing/text/JTextComponent.java
4234         (getDocument): Removed debug output.
4235         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4236         javax/swing/text/DefaultHighlighter.java,
4237         javax/swing/text/FieldView.java,
4238         javax/swing/text/PlainView.java: New files.
4239         * Makefile.am: Added new files.
4240         * Makefile.in: Regenerated.
4241
4242 2004-07-21  Michael Koch  <konqueror@gmx.de>
4243
4244         * javax/swing/JEditorPane.java
4245         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4246         (createEditorKitForContentType): Likewise.
4247         * javax/swing/text/DefaultEditorKit.java
4248         (serialVersionUID): Added constant field.
4249         (EndOfLineStringPropery): Fixed typo.
4250         (DefaultEditorKit): New constructor.
4251         * javax/swing/text/Segment.java:
4252         Import java.text.CharacterIterator.
4253         * javax/swing/text/CharacterIterator.java,
4254         javax/swing/text/PlainEditorKit.java: Removed.
4255         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4256         javax/swing/text/PlainEditorKit.java.
4257         * Makefile.in: Regenerated.
4258
4259 2004-07-21  Michael Koch  <konqueror@gmx.de>
4260
4261         * javax/swing/JButton.java,
4262         javax/swing/text/DefaultEditorKit.java,
4263         javax/swing/text/EditorKit.java,
4264         javax/swing/text/Segment.java,
4265         javax/swing/text/StyledEditorKit.java:
4266         Reformatted.
4267
4268 2004-07-21  Michael Koch  <konqueror@gmx.de>
4269
4270         * javax/swing/ImageIcon.java
4271         (file): Removed.
4272         (description): Renamed from descr.
4273         (ImageIcon): Added missing constructors.
4274         (setParent): Removed.
4275         (setImageObserver): New method.
4276         (getImageObserver): New method.
4277         (paintIcon): Handle observer = null.
4278         * javax/swing/JButton.java
4279         (removeNotify): Fixed javadoc.
4280         (updateUI): Simplified.
4281         * javax/swing/JRootPane.java
4282         (serialVersionUID): New constant field.
4283         * javax/swing/UIManager.java:
4284         Fixed javadocs all over.
4285         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4286         * javax/swing/text/AbstractDocument.java
4287         (createPosition): Throws BadLocationException.
4288         (getText): Likewise.
4289         (remove): Likewise.
4290         * javax/swing/text/ComponentView.java
4291         (modelToView): Likewise.
4292         * javax/swing/text/DefaultEditorKit.java:
4293         Made all public methods public.
4294         (read): Throws BadLocationException and IOException.
4295         (write): Likewise.
4296         * javax/swing/text/EditorKit.java:
4297         Made all public methods public.
4298         (serialVersionUID): New constant field.
4299         (clone): New method.
4300         (read): Throws BadLocationException and IOException.
4301         (write): Likewise.
4302         * javax/swing/text/Segment.java
4303         (array): Made public.
4304         (count): Likewise.
4305         (offset): Likewise.
4306         (Segment): New constructors.
4307         (clone): Reimplemented.
4308         * javax/swing/text/StyledEditorKit.java
4309         (serialVersionUID): New constant field.
4310
4311 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4312
4313         * java/awt/image/BufferedImage.java 
4314         (getSource): Implement.
4315         * javax/swing/ImageIcon.java 
4316         (ImageIcon): Implement ctor.
4317         * javax/swing/ScrollPaneLayout.java 
4318         (preferredLayoutSize): Be more careful about nulls.
4319
4320 2004-07-21  Michael Koch  <konqueror@gmx.de>
4321
4322         * javax/swing/text/AttributeSet.java
4323         (CharacterAttribute): New interface
4324         (ColorAttribute): Likewise.
4325         (FontCharacterAttribute): Likewise.
4326         (ParagraphAttribute): Likewise.
4327         * javax/swing/text/DefaultCaret.java
4328         (moveCaret): New method.
4329         (positionCaret): Likewise.
4330         (repaint): Made protected.
4331         * javax/swing/text/JTextComponent.java
4332         (KeyBinding): Made it static.
4333         * javax/swing/text/View.java
4334         (getContainer): Honor parent == null.
4335
4336 2004-07-21  Michael Koch  <konqueror@gmx.de>
4337
4338         * javax/swing/text/AbstractDocument.java:
4339         Reformatted.
4340
4341 2004-07-21  Michael Koch  <konqueror@gmx.de>
4342
4343         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4344         Import javax.swing.UIManager explicitely.
4345         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4346         (ScrollingButton): Made it static.
4347
4348 2004-07-21  Michael Koch  <konqueror@gmx.de>
4349
4350         * javax/swing/UIDefaults.java
4351         (ActiveValue): Made public.
4352         (LazyValue): Likewise.
4353         * javax/swing/plaf/basic/BasicTextUI.java
4354         (RootView): Reintroduced.
4355         (view): Removed.
4356         (rootView): New field.
4357         (installUI): Create document if needed, initialize rootView.
4358         (uninstallUI): Hanle rootView.
4359         (paint): Likewise.
4360         (getRootView): Likewise.
4361         (setView): Likewise.
4362         * javax/swing/text/DefaultCaret.java:
4363         Renamed all "evt" variables to "event".
4364
4365 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4366
4367         * libgcj.spec.in: Add -l-java-util-logging.
4368
4369 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4370
4371         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4372         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4373         gtk-xft-dpi can no calculate the right value.
4374         (dpi_changed_cb): Mark *pspec as unsused.
4375
4376 2004-07-21  David Jee  <djee@redhat.com>
4377
4378         * java/awt/Component.java
4379         (move): Delegate to setBounds().
4380         (resize): Likewise.
4381         (reshape): Fix so it repaints parent and self only when necessary.
4382
4383 2004-07-21  David Jee  <djee@redhat.com>
4384
4385         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4386         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4387         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4388         (setVisible): Likewise.
4389         (show): Likewise.
4390         (hide): Likewise.
4391         (getArgs): Likewise.
4392         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4393         (property_notify_predicate): Likewise.
4394         (find_layout): Likewise.
4395         (connectJObject): Likewise.
4396         (connectSignals): Likewise.
4397         (moveLayout): Likewise.
4398         (gtkLayoutSetVisible): Likewise.
4399
4400 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4401
4402         * Makefile.am
4403         (jv_convert_LDADD):
4404         (gij_LDADD):
4405         (rmic_LDADD):
4406         (rmiregistry_LDADD): Add lib-java-util-logging.la
4407         * Makefile.in: Regenerate.
4408
4409 2004-07-21  Michael Koch  <konqueror@gmx.de>
4410
4411         * javax/swing/text/AbstractDocument.java
4412         (replace): Dont use protected method of java.util.Vector directly.
4413
4414 2004-07-21  Michael Koch  <konqueror@gmx.de>
4415
4416         * javax/swing/plaf/basic/BasicTextUI.java
4417         (installUI): Call specialized install methods.
4418         (installDefaults): New method.
4419         (installListeners): Likewise.
4420         (installKeyboardActions): Likewise.
4421         (uninstallUI): Likewise.
4422         (uninstallDefaults): New method.
4423         (uninstallListeners): Likewise.
4424         (uninstallKeyboardActions): Likewise.
4425         (getPropertyPrefix): New abstract method.
4426         (paint): Made final, just call paintSafely().
4427         (paintSavely): New method.
4428         (paintBackground): Likewise.
4429         (getVisibleEditorRect): Likewise.
4430         * javax/swing/text/LayeredHighlighter.java,
4431         javax/swing/text/TabExpander.java: New files.
4432         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4433         and javax/swing/text/TabExpander.java.
4434         * Makefile.in: Regenerated.
4435
4436 2004-07-21  Michael Koch  <konqueror@gmx.de>
4437
4438         * javax/swing/plaf/basic/BasicTextUI.java
4439         (BasicTextUI): Made abstract.
4440         (BasicCaret): New inner class.
4441         (view): Don't explicitely initialize with "null".
4442         (textComponent): New field.
4443         (textColor): Removed.
4444         (disabledTextColor): Removed.
4445         (normalBackgroundColor): Removed.
4446         (RootView): Removed commented out inner class.
4447         (createUI): Removed.
4448         (createCaret): New method.
4449         (getComponent): Likewise.
4450         (installUI): Initialize textComponent only.
4451         (getPreferredSize): Use installed JTextComponent.
4452         (setView): New method.
4453         (create): Likewise.
4454         * javax/swing/text/JTextComponent.java
4455         (highlighter): New field.
4456         (caretColor): Likewise.
4457         (disabledTextColor): Likewise.
4458         (seletedTextColor): Likewise.
4459         (selectionColor): Likewise.
4460         (setUI): New method.
4461         (getCaretColor): Likewise.
4462         (setCaretColor): Likewise.
4463         (getDisabledColor): Likewise.
4464         (setDisabledColor): Likewise.
4465         (getSelectedTextColor): Likewise.
4466         (setSelectedTextColor): Likewise.
4467         (getSelectionColor): Likewise.
4468         (setSelectionColor): Likewise.
4469         (getHighlighter): Likewise.
4470         (setHighlighter): Likewise.
4471         (replaceSelection): Likewise.
4472
4473 2004-07-21  Michael Koch  <konqueror@gmx.de>
4474
4475         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4476         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4477         * javax/swing/plaf/basic/BasicToolBarUI.java
4478         (BasicToolBarUI): Implements SwingConstants.
4479
4480 2004-07-21  Michael Koch  <konqueror@gmx.de>
4481
4482         * javax/swing/JPopupMenu.java: Removed CVS tags.
4483         * javax/swing/UIDefaults.java: Reformatted.
4484         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4485         Explicitely import used classes.
4486
4487 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4488
4489         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4490         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4491         (GtkComponentPeer): Remove temporary try/catch block.
4492         (setVisible): Call show and hide.
4493         (show): Make native.
4494         (hide): Likewise.
4495         (getArgs): Don't add "visible" argument.
4496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4497         (property_notify_predicate): Return Bool instead of int.
4498         (find_layout): New function.
4499         (connectJObject): Call find_layout.
4500         (connectSignals): Likewise.
4501         (moveLayout): Likewise.
4502         (gtkLayoutSetVisible): Likewise.
4503
4504 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4505
4506         * javax/swing/AbstractButton.java:
4507         (setDisplayedMnemonicIndex): Check if button
4508         text is not null before checking its length.
4509         * javax/swing/JMenuItem.java:
4510         (processMouseEvent): Disarm menu item if mouse has
4511         exited it.
4512         * javax/swing/plaf/basic/BasicMenuUI.java:
4513         (MouseInputHandler.mouseEntered): Do not raise
4514         popup menu if this menu is already selected.
4515         (MouseInputHandler.mousePressed): Do not fire 
4516         MenuEvents.
4517         (MenuHandler): Implemented.     
4518
4519 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4520
4521         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4522         (getSelectedObjects): Implemented.
4523         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4524         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4525         Added javadoc for few methods.
4526         (processMouseEvent): Made public.
4527         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4528         (processMouseEvent): Likewise.
4529
4530 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4531
4532         * javax/swing/AbstractButton.java:
4533         (init): Set display mnemonic index to -1.
4534         (setMnemonic(char)): Use setMnemonic(int).
4535         (setMnemonic(int)): Set display mnemonic index.
4536         (getDisplayedMnemonicIndex): Change method signature
4537         by removing 'index' parameter.
4538         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4539         Added default for Menu.selectionBackground.     
4540         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4541         (paintMenuItem): Change background color of the selected
4542         menu item.
4543         (paintText): Paint differently when menu item is disabled.
4544         Also paint mnemonic if it appears in the menu item's label.
4545         (paintAccelerator): Paint accelerator differently
4546         if menu item is disabled.
4547         * javax/swing/plaf/basic/BasicMenuUI.java:
4548         (installDefaults): Install defaults for 
4549         selectionForeground and selectionBackground.
4550         (uninstallDefaults): Uninstall defauls for 
4551         selectionForeground and selectionBackground.
4552
4553 2004-07-21  Michael Koch  <konqueror@gmx.de>
4554
4555         * javax/swing/text/AbstractDocument.java
4556         (BranchElement): Implemented.
4557         (LeafElement): Implemented.
4558         * javax/swing/text/DefaultCaret.java:
4559         Import used classes.
4560         (serialVersionUID): New constant.
4561         * javax/swing/text/JTextComponent.java
4562         (AccessibleJTextComponent): Removed dead declaration.
4563         (caretPos): Removed.
4564         (setCaret): New method.
4565         * javax/swing/text/PlainDocument.java
4566         (rootElement): New field.
4567         (PlainDocument): Initialize rootElement.
4568         (createDefaultRoot): New method.
4569         (getDefaultRootElement): Implemented.
4570         * javax/swing/text/View.java: Reformatted.
4571         * javax/swing/text/ViewFactory.java
4572         (create): Added javadoc.
4573
4574 2004-07-21  Michael Koch  <konqueror@gmx.de>
4575
4576         * javax/swing/ToolTipManager.java: Reformatted.
4577
4578 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4579
4580         * javax/swing/AbstractButton.java
4581         (changeEvent): New field.
4582         (fireItemStateChanged): Change source of the event
4583         to 'this' before firing it to button listeners.
4584         (fireActionPerformed): Likewise.
4585         (fireStateChanged): Likewise.
4586         (createActionListener): Do not set source 
4587         of the event to AbstractButton.                                  
4588         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4589         (ContainerHandler.componentAdded): Removed 
4590         print out statement.
4591         (ContainerHandler.componentRemoved): Likewise.
4592
4593 2004-07-21  Michael Koch  <konqueror@gmx.de>
4594
4595         * javax/swing/text/Highlighter.java: New file.
4596         * Makefile.am: Added javax/swing/text/Highlighter.java.
4597         * Makefile.in: Regenerated.
4598
4599 2004-07-21  Michael Koch  <konqueror@gmx.de>
4600
4601         * javax/swing/ToolTipManager.java
4602         (stillInsideTimerAction): Fixed constructor arguments.
4603         (outsideTimerAction): Likewise.
4604         (insideTimerAction): Likewise.
4605
4606 2004-07-21  Michael Koch  <konqueror@gmx.de>
4607
4608         * javax/swing/JButton.java: Reformatted.
4609         * javax/swing/JFormattedTextField.java
4610         (getUIClassID): Implemented.
4611         * javax/swing/JRootPane.java
4612         (serialVersionUID): New constant.
4613         * javax/swing/JTextField.java
4614         (align): New field.
4615         (JTextField): Simplified.
4616         (getUIClassID): New method.
4617         (getActionListeners): Added @since tag.
4618         (setColumns): Invalidate layout and repaint.
4619         (getHorizontalAlignment): New method.
4620         (setHorizontalAlignment): New method.
4621         (selectAll): Removed.
4622         * javax/swing/SwingUtilities.java
4623         (getAncestorOfClass): Removed redundant @see tag.
4624         (isLeftMouseButton): Fixed implementation.
4625         (isMiddleMouseButton): Likewise.
4626         (isRightMouseButton): Likewise.
4627         * javax/swing/text/AbstractDocument.java
4628         (AttributeContext.addAttribute): New method.
4629         (AttributeContext.addAttributes): New method.
4630         (AttributeContext.getEmptySet): New method.
4631         (AttributeContext.reclaim): New method.
4632         (AttributeContext.removeAttribute): New method.
4633         (AttributeContext.removeAttributes): New method.
4634         * javax/swing/text/Document.java
4635         (createPosition): Throws BadLocationException.
4636         (getText): Likewise.
4637         (remove): Likewise.
4638         * javax/swing/text/JTextComponent.java
4639         (getText): Return null if no document is set. Catch
4640         BadLocationException.
4641         (getUI): Return ui.
4642         (updateUI): Simplified.
4643
4644 2004-07-21  Michael Koch  <konqueror@gmx.de>
4645
4646         * javax/swing/JButton.java
4647         (removeNotify): Fixed javadoc.
4648         (updateUI): Simplified.
4649
4650 2004-07-21  David Jee  <djee@redhat.com>
4651
4652         * gnu/java/awt/image/ImageDecoder.java
4653         (startProduction): Only add consumer if it's not added yet.
4654         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4655         (GdkPixbufDecoder): Don't call initState() here.
4656         (produce): Call initState() here, to ensure area_prepared and
4657         area_updated signals are properly connected.
4658         * gnu/java/awt/peer/gtk/GtkImage.java
4659         (setColorModel): Use equals() to compare ColorModel objects.
4660         (setPixels): Likewise.
4661         * java/awt/image/ColorModel.java
4662         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4663         * java/awt/image/RGBImageFilter.java
4664         (setColorModel): Set consumer's color model.
4665         (setPixels): Use equals() to compare ColorModel objects.
4666
4667 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4668
4669         * java/net/URLConnection.java (position): New field.
4670         (dateFormat1, dateFormat2, dateFormat3): Removed.
4671         (dateFormats): New field.
4672         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4673         each time instead of re-allocating.
4674         (initializeDateFormats): Initialize 'dateFormats'.
4675
4676 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4677
4678         PR libgcj/16591
4679         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4680         is defined.
4681
4682 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4683
4684         * java/net/Socket.java (getImpl): Now private. Remove comment.
4685
4686 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4687
4688         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4689         of chained Writer when calling super-constructor.
4690         * java/io/FilterWriter.java (FilterWriter): Likewise.
4691         * java/io/PrintWriter.java (PrintWriter): Likewise.
4692
4693 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4694
4695         * prims.cc (process_gcj_properties): Don't increment i within LHS
4696         of assignment.
4697
4698 2004-07-19  Per Bothner  <per@bothner.com>
4699
4700         Print -verbose:message on "loading", not initialization.
4701         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4702         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4703         gcj::verbose_class_flag.
4704         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4705         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4706         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4707         (_Jv_PrepareCompiledClass):  Likewise.
4708
4709 2004-07-18  Matthias Klose  <doko@debian.org>
4710
4711         * configure.in: Substitute target_noncanonical.
4712         * configure: Regenerate
4713
4714 2004-07-17  Michael Koch  <konqueror@gmx.de>
4715
4716         * java/lang/String.java: Fixed javadocs all over.
4717
4718 2004-07-17  Mark Wielaard  <mark@klomp.org>
4719
4720         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4721         when size is smaller.
4722         * java/io/RandomAccessFile.java (setLength): Use truncate for
4723         shrinking the file and seek plus write for expanding the file.
4724
4725 2004-07-17  Michael Koch  <konqueror@gmx.de>
4726
4727         * gnu/java/nio/channels/natFileChannelPosix.cc
4728         (implTruncate): Always save current position. Only reposition file
4729         pointer to where we started if not beyond new lenght. Reposition file
4730         pointer to file length if it points beyond the end of file.
4731
4732 2004-07-17  Mark Wielaard  <mark@klomp.org>
4733
4734         * javax/swing/Box.java: Put FIXME comment above class declaration.
4735         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4736         * javax/swing/JCheckBox.java: Likewise.
4737         * javax/swing/JDialog.java: Likewise.
4738         * javax/swing/JRadioButton.java: Likewise.
4739         * javax/swing/JToggleButton.java: Likewise.
4740         * javax/swing/UIManager.java: Likewise.
4741         * javax/swing/border/TitledBorder.java: Likewise.
4742         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4743         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4744         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4745         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4746         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4747         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4748         * javax/swing/text/JTextComponent.java: Likewise.
4749
4750 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4751
4752         * java/net/DatagramPacket.java (setAddress): Removed check for
4753         null address.
4754
4755 2004-07-17  Michael Koch  <konqueror@gmx.de>
4756
4757         * java/net/DatagramSocket.java
4758         (getLocalAddress): Check if socket is bound or not.
4759         * java/net/Socket.java
4760         (getLocalAddrss): Check if socket is bound or not.
4761         (getPort): Return -1 when not connected. Dont check getImpl() for
4762         null.
4763         (setReuseAddress): Check if socket is closed.
4764         (isConnected): Check if getImpl() returns null.
4765
4766 2004-07-17  Mark Wielaard  <mark@klomp.org>
4767
4768         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4769         on notifier object before calling notifyAll().
4770
4771 2004-07-17  Michael Koch  <konqueror@gmx.de>
4772
4773         * gnu/java/nio/channels/FileChannelImpl.java
4774         (finalize): Added javadoc.
4775
4776 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4777
4778         * java/text/CollationElementIterator.java
4779         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4780         (setText): Use ArrayList instead of Vector.
4781
4782 2004-07-17  Michael Koch  <konqueror@gmx.de>
4783
4784         * java/nio/ByteOrder.java
4785         (static): Removed. Not needed.
4786         Thanks to Patrick Reali for noticing.
4787         * java/nio/charset/CharsetDecoder.java
4788         (decode): Fix for classpath bug #9177: Reset state before flipping.
4789
4790 2004-07-17  Michael Koch  <konqueror@gmx.de>
4791
4792         * java/security/Security.java: Fixed javadocs all over.
4793
4794 2004-07-17  Michael Koch  <konqueror@gmx.de>
4795
4796         * gnu/java/awt/EmbeddedWindow.java
4797         (static): Removed.
4798         (addNotify): Set peer via reflection.
4799         (setWindowPeer): Removed.
4800         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4801         * Makefile.am (nat_source_files):
4802         Removed gnu/java/awt/natEmbeddedWindow.cc.
4803         * Makefile.in: Regenerated.
4804
4805 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4806
4807         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4808         assignment.
4809         * configure: Regenerated.
4810
4811 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4812
4813         * configure.in: Use build_noncanonical rather than build_alias.
4814         * configure: Rebuild.
4815
4816         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4817         by logic refactoring.  Move default definition of NATIVE closer
4818         to first alternate definition.
4819         * configure: Regenerate.
4820
4821         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4822         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4823         gcj/Makefile.in: Regenerate.
4824         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4825         in AM_CONDITIONAL(NATIVE,...)
4826         * configure: Regenerate.
4827
4828 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4829
4830         * configure.in: Use target_noncanonical rather than
4831         target_alias for forward-compatibility with autoconf 2.59.
4832         * configure: Regenerate.
4833         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4834         testsuite/Makefile.am: Substitute target_noncanonical.
4835         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4836         testsuite/Makefile.in: Regenerate.
4837
4838         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4839         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4840         * acinclude.m4: Include acx.m4.
4841         * aclocal.m4: Regenerate.
4842         * configure: Regenerate.
4843
4844 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4845
4846         PR libgcj/16574
4847         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4848         (decimalFormat): New static variable.
4849         (sbuf): Likewise.
4850         (getTime): New. Override Date.getTime().
4851         (toString): Synchronize. Use decimalFormat to format nanos value
4852         correctly. Truncate extra zeros.
4853         (before): Compare getNanos() only if getTime() is equal.
4854         (after): Likewise.
4855         
4856 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4857
4858         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4859         * configure.in: ...here.
4860         * aclocal.m4: Regenerate.
4861         * configure: Regenerate.
4862
4863         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4864         * configure: Rebuilt with autoconf 2.13.
4865         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4866         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4867
4868 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4869
4870         PR libgcj/16204
4871         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4872         large file support.
4873         * Makefile.in: Rebuilt.
4874         * testsuite/libjava.lang/LargeFile.java: New test case.
4875         * testsuite/libjava.lang/LargeFile.out: New file.
4876
4877 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4878
4879         * java/beans/EventHandler.java: Remove debugging statements.
4880
4881 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4882
4883         * java/beans/EventHandler.java: New file.
4884         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4885         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4886         testsuite/Makefile.in: Regenerate.
4887
4888 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4889
4890         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4891         flag to the gcj_setup.
4892         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4893         the tclsh.
4894         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4895         deprecation flag change. 58 XFAILS removed.
4896
4897 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4898
4899         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4900         -fno-use-divide-subroutine.
4901         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4902         (HANDLE_FPE): Define.
4903         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4904         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4905         (HANDLE_DIVIDE_OVERFLOW): Define.
4906
4907 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4908             Matthias Klose  <doko@debian.org> 
4909
4910         * java/awt/im/InputContext.java: Initialize in, line.
4911
4912 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4913
4914         * interpret.cc (run): Correctly access libffi return values of
4915         integral smaller-than-int type; these are implicitly promoted.
4916
4917 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4918
4919         PR libgcj/7587
4920         * interpret.cc (compile_mutex): New.
4921         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4922         (run): Lock compile_mutex before calling compile() if compilation is
4923         required.
4924         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4925         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4926
4927 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4928
4929         PR libgcj/15713
4930         * include/jvm.h (_Jv_value): New union type.
4931         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4932         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4933         union members.
4934
4935 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4936
4937         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4938         * gnu/awt/xlib/XOffScreenImage.java
4939           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4940           constructor argument. Add constructor using ImageProducer.
4941           (getSource): Implement.
4942           (imageComplete): New method.
4943           (setColorModel): New method.
4944           (setDimensions): New method.
4945           (setHints): New method.
4946           (setPixels): New method.
4947           (setProperties): New method.
4948         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4949         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4950
4951 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4952
4953         PR libgcj/16478 
4954         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4955         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4956         (finalizerReady): Now native.
4957         (run): Likewise.
4958         (runFinalizers): Removed.
4959         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4960         a primitive lock, and don't hold it while running the finalizers.
4961         (runFinalizers): Implement. Don't aquire any Java lock.
4962         (finalizerReady): Use lock primitives to signal finalizer thread.
4963
4964 2004-07-11  Mark Wielaard  <mark@klomp.org>
4965
4966         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4967         * java/net/URLStreamHandler.java (parseURL): When url file part
4968         doesn't contain a '/' just ignore context.
4969
4970 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4971
4972         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4973         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4974         (MAKE_THROW_FRAME): Do not modify PSW address.
4975         (INIT_SEGV): Install SIGINFO-style signal handler.
4976         (INIT_FPE): Likewise.
4977
4978 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4979
4980         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4981         status. 21 xfail's removed, 1 added.
4982
4983 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4984
4985         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4986
4987 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4988
4989         * java/text/MessageFormat.java
4990         (formatInternal): Append "{n}" if argument n is unavailable.
4991         (format(Object, StringBuffer, FieldPosition)): This
4992         should be equivalent to format(Object[],
4993         StringBuffer, FieldPosition).
4994
4995 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4996
4997         * java.util.Calendar.java (cache): New private static field. Cached
4998         mappings of locales->calendar classes.
4999         (ctorArgTypes): New private static field. Singleton argument for
5000         calendar class constructor lookup.
5001         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5002         Optimize by bypassing reflection instantiation for the 
5003         GregorianCalendar case.
5004
5005 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5006
5007         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5008         ResourceBundle.getBundle() calls.
5009         * java/util/GregorianCalendar.java: Likewise.
5010         * java/util/Currency.java: Likewise.
5011         * java/text/BreakIterator.java: Likewise.
5012         * java/text/Collator.java: Likewise.
5013         * java/text/DateFormat.java: Likewise.
5014         * java/text/DateFormatSymbols.java: Likewise.
5015         * java/text/DecimalFormatSymbols.java: Likewise.
5016         * java/text/NumberFormat.java: Likewise.
5017         * java/awt/Window.java: Likewise.       
5018
5019 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5020
5021         * java/util/ResourceBundle.java (bundleCache): Renamed from
5022         resourceBundleCache. Update comments.
5023         (getObject): Don't catch MissingResourceException.
5024         (getBundle(String)): Remove 'final'. Use system classloader if
5025         getCallingClassLoader returned null.
5026         (getBundle(String, Locale)): Likewise.
5027         (BundleKey): New private class. HashMap key for bundle cache lookup.
5028         (lookupKey): New. Singleton instance of BundleKey.
5029         (nullEntry): New. Cache entry to represent failed lookups.
5030         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5031         caching strategy, no-allocation lookup, and new tryBundle methods.
5032         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5033         name using given classloader.
5034         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5035         baseName for given Locale and attempt to load bundle.
5036
5037 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5038
5039         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5040         illegal protected method calls.
5041
5042 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5043
5044         Fix or remove some bogus test cases.
5045         * testsuite/libjava.compile/pr10459_2.java: Removed.
5046         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5047         not Object.clone().
5048         * testsuite/libjava.compile/inner_data.java: Test against its own
5049         protected field.
5050
5051 2004-07-09  Michael Koch  <konqueror@gmx.de>
5052
5053         * scripts/unicode-muncher.pl: Updated to version 2.1
5054         from GNU classpath. Added some clarifications on where to find the
5055         needed files from www.unicode.org.
5056         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5057         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5058         Removed, these can directly be downloaded from www.unicode.org if
5059         needed. 
5060         * gnu/java/lang/CharData.java: Regenerated.
5061         * include/java-chartables.h: Regenerated.
5062         * Makefile.am (ordinary_java_source_files):
5063         Removed gnu/java/lang/CharData.java.
5064         * Makefile.in: Regenerated.
5065
5066 2004-07-09  Michael Koch  <konqueror@gmx.de>
5067
5068         * java/security/AccessControlContext.java,
5069         java/security/SecureClassLoader.java:
5070         Fixed javadocs.
5071
5072 2004-07-09  Michael Koch  <konqueror@gmx.de>
5073
5074         * java/io/ObjectInputStream.java (readFields): Use long datatype
5075         when shifting byte values more then 24 bits left.
5076
5077 2004-07-09  Michael Koch  <konqueror@gmx.de>
5078
5079         * java/util/zip/DeflaterOutputStream.java,
5080         java/util/zip/GZIPInputStream.java,
5081         java/util/zip/GZIPOutputStream.java,
5082         java/util/zip/InflaterInputStream.java:
5083         Reformatted. Added javadocs. Reordered all stuff.
5084         Renamed variables to be more clear.
5085
5086 2004-07-09  Michael Koch  <konqueror@gmx.de>
5087
5088         * javax/imageio/IIOException.java,
5089         javax/imageio/event/IIOReadProgressListener.java,
5090         javax/imageio/event/IIOReadUpdateListener.java,
5091         javax/imageio/event/IIOReadWarningListener.java,
5092         javax/imageio/event/IIOWriteProgressListener.java,
5093         javax/imageio/event/IIOWriteWarningListener.java:
5094         New files.
5095         * Makefile.am: Added new files.
5096         * Makefile.in: Regenerated.
5097
5098 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5099
5100         * java/text/RuleBasedCollator.java
5101         (mergeRules): Use ArrayList instead of Vector.
5102         (subParseString): likewise.
5103         (parseString): likewise.
5104         (buildCollationVector): likewise.
5105         (getCollationKey): likewise.
5106
5107 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5108
5109         * java/text/DateFormat.java (parse):
5110         Improved javadoc. Improved exception message.
5111
5112 2004-07-09  Mark Wielaard  <mark@klomp.org>
5113
5114         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5115         interrupted() method to clear interupt flag of our Thread.
5116
5117 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5118
5119         * java/nio/Buffer.java,
5120         java/nio/ByteBuffer.java,
5121         java/nio/ByteBufferHelper.java,
5122         java/nio/ByteBufferImpl.java,
5123         java/nio/CharBuffer.java,
5124         java/nio/CharBufferImpl.java,
5125         java/nio/CharViewBufferImpl.java,
5126         java/nio/DirectByteBufferImpl.java,
5127         java/nio/DoubleBuffer.java,
5128         java/nio/DoubleBufferImpl.java,
5129         java/nio/DoubleViewBufferImpl.java,
5130         java/nio/FloatBuffer.java,
5131         java/nio/FloatBufferImpl.java,
5132         java/nio/FloatViewBufferImpl.java,
5133         java/nio/IntBuffer.java,
5134         java/nio/IntBufferImpl.java,
5135         java/nio/IntViewBufferImpl.java,
5136         java/nio/LongBuffer.java,
5137         java/nio/LongBufferImpl.java,
5138         java/nio/LongViewBufferImpl.java,
5139         java/nio/MappedByteBufferImpl.java,
5140         java/nio/ShortBuffer.java,
5141         java/nio/ShortBufferImpl.java,
5142         java/nio/ShortViewBufferImpl.java:
5143         Fixed javadocs all over. Improved input error
5144         checking.
5145
5146         * java/nio/Buffer.java
5147         (checkForUnderflow, checkForOverflow, checkIndex,
5148         checkIfReadOnly, checkArraySize): New helper methods
5149         for error checking.
5150
5151         * java/nio/ByteBufferHelper.java
5152         (checkRemainingForRead, checkRemainingForWrite,
5153         checkAvailableForRead, checkAvailableForWrite): Removed
5154         no longer needed methods.
5155
5156 2004-07-09  Michael Koch  <konqueror@gmx.de>
5157
5158         * gnu/regexp/CharIndexedInputStream.java:
5159         Reordered imports to match classpath.
5160
5161 2004-07-09  Michael Koch  <konqueror@gmx.de>
5162
5163         * gnu/java/awt/EmbeddedWindow.java:
5164         Load native library for setWindowPeer method.
5165
5166 2004-07-08  Randolph Chung  <tausq@debian.org>
5167
5168         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5169         * configure: Regenerate.
5170         * configure.host: Set can_unwind_signal for hppa*-linux.
5171         * include/pa-signal.h: New file.
5172
5173 2004-07-07  Per Bothner  <per@bothner.com>
5174
5175         * Makefile.am:  Add rules to build libgij from just gij.cc.
5176
5177         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5178         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5179         (initializeClass):  If verbose_class_flag, print message.
5180         * gij.cc (main):  Handle -verbose:class flag.
5181
5182 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5183
5184         * configure.host: Enable hash synchronization on Darwin.
5185         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5186         ';', since this is a comment on Darwin.
5187         (compare_and_swap_release): Likewise.
5188
5189 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5190
5191         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5192         file portion of URL in addition to spec for file: protocol.
5193
5194 2004-07-05  Anthony Green  <green@redhat.com>
5195
5196         * java/io/File.java (toURI): Merge from Classpath.
5197
5198 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5199
5200         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5201         before passing to URL constructor. Rethrow any MalformedURLException
5202         as a RuntimeException. Catch MalformedURLException specifically, not
5203         all exceptions.
5204
5205 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5206
5207         * java/util/Locale.java (readObject): Intern strings read from object
5208         stream.
5209
5210 2004-07-04  Michael Koch  <konqueror@gmx.de>
5211
5212         * gnu/gcj/runtime/FirstThread.java,
5213         gnu/gcj/runtime/natFirstThread.cc: Removed.
5214         * gnu/java/lang/MainThread.java,
5215         gnu/java/lang/natMainThread.cc: New files.
5216         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5217         * Makefile.am: Added new files and removed deleted ones.
5218         * Makefile.in: Regenerated.
5219
5220 2004-07-03  Mark Wielaard  <mark@klomp.org>
5221             Anthony Green  <green@redhat.com>
5222
5223         * java/net/URL.java (getFile): Clarify return value doc.
5224         (getPath): Return null if file is empty - not empty String.
5225         (set): Convert protocol to lower case before doing anything.
5226         Only change the protocol handler if it's different.
5227
5228 2004-07-03  Anthony Green  <green@redhat.com>
5229
5230         * java/net/URL.java (URL): Convert protocol to lower case before
5231         doing anything, so we getURLStreamHandler() with the proper value.
5232
5233 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5234
5235         * java/util/Locale.java (hashcode): Made transient.
5236         (hashCode): No longer synchronized.
5237         (equals): Remove comment.
5238         (writeObject): No longer synchronized. Implement using writeObject 
5239         calls instead of tweaking hashCode field. Update doc.
5240         (readObject): Implement using readObject calls.
5241
5242 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5243             Andreas Tobler  <a.tobler@schweiz.ch>
5244
5245         * configure.host (powerpc-*-darwin*): New case, define
5246         can_unwind_signal.
5247         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5248         * configure: Regenerate.
5249         * include/darwin-signal.h: New.
5250
5251 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5252
5253         * java/beans/Statement.java (doExecute): Fix formatting.
5254
5255 2004-06-29  Per Bothner  <per@bothner.com>
5256
5257         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5258         etc etc):  Remove needless parenthesis, which causes __stdcall__
5259         attribute on MinGW to get ignored.
5260
5261 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5262
5263         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5264
5265 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5266
5267         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5268
5269 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5270
5271         * java/beans/Expression.java: New file.
5272         * java/beans/Statement.java: New file.
5273         * Makefile.am: Added new files.
5274         * Makefile.in: Re-generate.
5275
5276 2004-06-27 Mark Wielaard  <mark@klomp.org>
5277
5278         * java/io/FilePermission.java (usingPerms): Removed.
5279         (actionsString): Made final.
5280         (cachePerms): Renamed to checkPerms.
5281         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5282         on action String.
5283         (FilePermission): Check arguments, call checkPerms().
5284         (equals): Remove cachePerms() call.
5285         (implies): Likewise.
5286
5287 2004-06-27  Mark Wielaard  <mark@klomp.org>
5288
5289         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5290         final field.
5291         (sendRequest): Use new field in user-agent http agent.
5292
5293 2004-06-27  Mark Wielaard  <mark@klomp.org>
5294
5295         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5296         when argument is null.
5297
5298 2004-06-26  Mark Wielaard  <mark@klomp.org>
5299
5300         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5301         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5302         GetMethodID call.
5303         (cancel_clicked): Likewise.
5304
5305 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5306
5307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5308         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5309         can not calculate the right value.
5310         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5311
5312 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5313
5314         * testsuite/libjava.jacks/jacks.xfail: Remove
5315         15.9.1-qualified-concrete-20.
5316
5317 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5318
5319         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5320         encoding name to iconv.
5321         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5322
5323 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5324
5325         PR libgcj/16134:
5326         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5327         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5328         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5329
5330 2004-06-21  Andrew Haley  <aph@redhat.com>
5331
5332         * java/io/ObjectOutputStream.java: Add DEBUG statements
5333         everywhere.
5334         (dumpElementln): New method.
5335         (depth): New field.
5336         * java/io/ObjectInputStream.java
5337         (currentClassLoader): Make native.
5338         (callersClassLoader): New field.
5339         (depth): New field.
5340         (readObject): ENDBLOCKDATA is generated if the class has a write
5341         method, not if it has a read method.
5342         (readObject): Save and restore this.currentObject and
5343         this.currentObjectStreamClass around calls to callReadMethod().
5344         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5345         method.
5346
5347 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5348
5349         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5350         darwin.
5351
5352 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5353
5354         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5355         if desired, before the default class loader is initialised.
5356         Call INIT_SEGV only if HANDLE_SEGV is defined.
5357
5358 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5359
5360         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5361         directory only if it actually exists.
5362
5363 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5364
5365         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5366         Fix up non-ansi comments.
5367
5368 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5369
5370         * javax/swing/text/AbstractDocument.java: Adding missing import
5371         for javax.swing.event.EventListenerList.
5372         * javax/swing/text/DefaultCaret.java: Likewise.
5373
5374 2004-06-17  Michael Koch  <konqueror@gmx.de>
5375
5376         * javax/swing/JToolBar.java
5377         (name): Removed.
5378         (JToolBar): Use Component.setName(String) instead of doing it all
5379         alone.
5380         * javax/swing/Timer.java
5381         (queueEvent): Added missing modifier.
5382
5383 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5384
5385         * Makefile.am: Added new file.
5386         * Makefile.in: Re-generate.
5387         * javax/swing/JMenu.java:
5388         (insertSeparator): Implemented.
5389         * javax/swing/JPopupMenu.java:
5390         (JPopupMenu.Separator): Implemented.
5391         * javax/swing/MenuSelectionManager.java:
5392         (processMouseEvent): Use java.awt.Component 
5393         for event source instead of javax.swing.JComponent. 
5394         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5395         New File. Implemented.
5396         
5397 2004-06-16  David Jee  <djee@redhat.com>
5398
5399         * java/awt/GridBagLayout.java
5400         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5401         Make sure pos_x and pos_y are never negative.
5402
5403 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5404
5405         * Makefile.am: Add new file.
5406         * Makefile.in: Re-generate.     
5407         * javax/swing/JToolBar.java
5408         Partially implemented.
5409         * javax/swing/plaf/basic/BasicToolBarUI.java
5410         New file. Partially implemented.
5411
5412 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5413
5414         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5415         (setComposite): Accept AlphaComposite arguments.
5416         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5417         (createBufferedImage): Add new overloads.
5418         * gnu/java/awt/peer/gtk/GtkToolkit.java
5419         (createImage): Use GdkPixbufDecoder.createBufferedImage
5420         when useGraphics2D() is true.
5421         (getImage): Delegate to createImage.
5422         * javax/swing/JList.java
5423         (isSelectionEmpty):
5424         (getFirstVisibleIndex):
5425         (getLastVisibleIndex):
5426         (setSelectedValue):
5427         (ensureIndexIsVisible): New methods.
5428         * javax/swing/Timer.java: Reimplement.
5429
5430 2004-06-16  Michael Koch  <konqueror@gmx.de>
5431
5432         * javax/swing/text/AbstractDocument.java
5433         (AbstracElement): Made public, implements java.io.Serializable.
5434         (AttributeContext): Made public.
5435         (BranchElement): Likewise.
5436         (Content): Likewise.
5437         (DefaultDocumentEvent): Made public, extends
5438         javax.swing.undo.CompoundEdit.
5439         (ElementEdit): Made public, extends
5440         javax.swing.undo.AbstractUndoableEdit.
5441         (LeafElement): Made public.
5442         (LeafElement.LeafElement): Made public.
5443
5444 2004-06-16  Michael Koch  <konqueror@gmx.de>
5445
5446         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5447         methods (that were obviously never be intended to get included hi this
5448         class. Added some methods too.
5449
5450 2004-06-16  Michael Koch  <konqueror@gmx.de>
5451
5452         * javax/swing/text/PlainDocument.java
5453         (serialVersionUID): New constant.
5454         (lineLimitAttribute): Likewise.
5455         (tabSizeAttribute): Likewise.
5456         (tabSize): New field.
5457         (PlainDocument): Made public.
5458         (PlainDocument): New constructor.
5459
5460 2004-06-16  Michael Koch  <konqueror@gmx.de>
5461
5462         * javax/swing/text/AbstractDocument.java
5463         (insertString): Throws BadLocationException.
5464         * javax/swing/text/Document.java
5465         (insertString): Likewise.
5466         * javax/swing/text/JTextComponent.java:
5467         Javadocs and comments cleaned up.
5468
5469 2004-06-16  Michael Koch  <konqueror@gmx.de>
5470
5471         * javax/swing/event/UndoableEditListener.java: Reformatted.
5472         * javax/swing/text/AbstractDocument.java
5473         (AbstractDocument): Implements java.io.Serializable.
5474         (doc_list): Removed.
5475         (undo_list): Removed.
5476         (AbstractElement.serialVerionUID): New field.
5477         (BranchElement.serialVerionUID): Likewise.
5478         (DefaultDocumentEvent.serialVerionUID): Likewise.
5479         (ElementEdit.serialVerionUID): Likewise.
5480         (LeafElement.serialVerionUID): Likewise.
5481         (serialVerionUID): Likewise.
5482         (BAD_LOCATION): New constant.
5483         (BidiElementName): Likewise.
5484         (ContentElementName): Likewise.
5485         (ParagraphElementName): Likewise.
5486         (SectionElementName): Likewise.
5487         (ElementNameAttribute): Likewise.
5488         (AbstractDocument): Made protected.
5489         (AbstractDocument): New construtor.
5490         (listenerList): New field.
5491         (fireChangedUpdate): Implemented.
5492         (fireInsertUpdate): Likewise.
5493         (fireRemoveUpdate): Likewise.
5494         (fireUndoableEditUpdate): Likewise.
5495         (getListeners): Likewise.
5496         (addDocumentListener): Likewise.
5497         (removeDocumentListener): Likewise.
5498         (addUndoableEditListener): Likewise.
5499         (removeUndoableEditListener): Likewise.
5500         (getDocumentListeners): New method.
5501         (getUndoableEditListeners): Likewise.
5502         (getAsynchronousLoadPriority): Made public.
5503         (getBidiRootElement): Likewise.
5504         (setAsynchronousLoadPriority): Likewise.
5505         (setDocumentProperties): Likewise.
5506         * javax/swing/text/BadLocationException.java
5507         (serialVerionUID): New field.
5508         * javax/swing/text/DefaultCaret.java
5509         (changeEvent): New field.
5510         (listenerList): Likewise.
5511         (changes): Removed.
5512         (addChangeListener): Reimplemented.
5513         (removeChangeListener): Likewise.
5514         (getListeners): New method.
5515         (getChangeListeners): Likwise.
5516         (getComponent): Likewise.
5517         * javax/swing/text/GapContent.java
5518         (GapContent): Implements java.io.Serializable.
5519         (serialVerionUID): New field.
5520
5521 2004-06-16  Michael Koch  <konqueror@gmx.de>
5522
5523         * javax/swing/JTree.java
5524         (treeModel): New field.
5525         (JTree): New constructors, one existing one made public.
5526         (createTreeModel): New method.
5527         (addTreeExpansionListener): Likewise.
5528         (removeTreeExpansionListener): Likewise.
5529         (getTreeExpansionListeners): Likewise.
5530         (fireTreeCollapsed): Likewise.
5531         (fireTreeExpanded): Likewise.
5532         (addTreeSelectionListener): Likewise.
5533         (removeTreeSelectionListener): Likewise.
5534         (getTreeSelectionListeners): Likewise.
5535         (fireValueChanged): Likewise.
5536         (addTreeWillExpandListener): Likewise.
5537         (removeTreeWillExpandListener): Likewise.
5538         (getTreeWillExpandListeners): Likewise.
5539         (fireTreeWillCollapse): Likewise.
5540         (fireTreeWillExpand): Likewise.
5541
5542 2004-06-16  Michael Koch  <konqueror@gmx.de>
5543
5544         * javax/swing/JTree.java: Reformatted.
5545
5546 2004-06-16  Michael Koch  <konqueror@gmx.de>
5547
5548         * javax/swing/JTextArea.java: New file.
5549         * javax/swing/JTextField.java
5550         (actions): Removed.
5551         (notifyAction): New constant.
5552         (columns): New field.
5553         (JTextField): New constructors.
5554         (createDefaultModel): New method.
5555         (addActionListener): Reimplmemented.
5556         (removeActionListener): Reimplemented.
5557         (getActionListeners): New method.
5558         (fireActionPerformed): New method.
5559         (getColumns): New method.
5560         (setColumne): New method.
5561         * javax/swing/text/JTextComponent.java
5562         (AccessibleJTextComponent.serialVersionUID): New field.
5563         (serialVersionUID): Likewise.
5564         (DEFAULT_KEYMAP): Likewise.
5565         (FOCUS_ACCELERATOR_KEY): Likewise.
5566         (doc): Made private.
5567         (icon_gap): Likewise.
5568         (icon): Likewise.
5569         (align): Likewise.
5570         (JTextComponent): Some constructors removed.
5571         (getScrollableTracksViewportHeight): New method.
5572         (getScrollableTracksViewportWidth): Likewise.
5573         * Makefile.am: Added javax/swing/JTextArea.java.
5574         * Makefile.in: Regenerated.
5575
5576 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5577
5578         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5579         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5580         * javax/swing/JViewport.java 
5581         (getExtentSize): Return size rather than preferred size.
5582         (toViewCoordinates): New methods.
5583         (getViewSize): Return size rather than preferred size.
5584         (setViewSize): Note view size as set.
5585         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5586         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5587         (getPreferredSize): Don't redo layout.
5588         * javax/swing/plaf/basic/BasicViewportUI.java 
5589         (paint): Translate image properly and eat exceptions.
5590
5591 2004-06-15  Kim Ho  <kho@redhat.com>
5592
5593         * javax/swing/JTabbedPane.java
5594         (setComponent): Remove old component and
5595         add new component.
5596         (setSelectedIndex): Don't operate on the 
5597         components if they're null. Don't set index
5598         on the model if the index is the same.
5599         (insertTab): Don't add or hide the component
5600         if it's null. Repaint the container.
5601         * javax/swing/plaf/basic/BasicLookAndFeel.java
5602         Change colors for TabbedPane.
5603         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5604         (mousePressed): Re-layout and paint the component.
5605         (layoutContainer): Don't set location on the view.
5606         (ScrollingViewport::paint): Remove.
5607
5608 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5609
5610         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5611         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5612
5613         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5614         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5615         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5616         critical region.
5617         (drawLine): Call gdk_flush before leaving GDK critical region.
5618         (fillRect): Likewise.
5619         (drawRect): Likewise.
5620         (copyArea): Likewise.
5621         (copyPixmap): Likewise.
5622         (clearRect): Likewise.
5623         (drawArc): Likewise.
5624         (drawPolyline): Likewise.
5625         (drawPolygon): Likewise.
5626         (fillPolygon): Likewise.
5627         (fillArc): Likewise.
5628         (drawOval): Likewise.
5629         (fillOval): Likewise.
5630
5631         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5632         style parameter.
5633         (GdkFontMetrics): Add style argument to initState call.
5634         (stringWidth(String,int,int,String)): Add style parameter.
5635         (stringWidth(String)): Add style argument to stringWidth call.
5636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5637         (initState): Set pango font style and weight based on AWT style
5638         parameter.  Pass default GTK language to
5639         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5640         simply dividing by PANGO_SCALE.
5641         (stringWidth): Set pango font style and weight based on AWT style
5642         parameter.
5643
5644         * java/awt/Button.java (next_button_number): New field.
5645         (paramString): Change output.
5646         (generateName): New method.
5647         (getUniqueLong): New method.
5648
5649 2004-06-14  Kim Ho  <kho@redhat.com>
5650
5651         * javax/swing/JTabbedPane.java:
5652         (setComponentAt): Set the component, not
5653         the enabled status.
5654         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5655         (actionPerformed): Let deiconize catch exception.
5656
5657 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5658
5659         * javax/swing/JPopupMenu.java:
5660         (setVisible): Corrected location of a 
5661         heavyweight popup menu.
5662
5663 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5664
5665         * javax/swing/MenuSelectionManager.java: 
5666         Ran through jalopy to fix formatting style.
5667
5668 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5669         
5670         * javax/swing/JLayeredPane.java: 
5671         (remove): Revalidate and repaint layered pane after
5672         the component was removed.
5673         javax/swing/JMenu.java:
5674         (setVisible): Display popup menu at the user location,
5675         if one was set by the user.
5676         (setMenuLocation): Reimplemented. Fixed javadoc.
5677         * javax/swing/JMenuBar.java: Added javadoc.
5678         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5679         (MODEL_CHANGED_PROPERTY): New Property.
5680         (isSelected): Implemented.
5681         (setBorderPainted): Fire PropertyChangeEvent
5682         if paintBorder property changes.
5683         (setSelected): Implemented.
5684         (setSelectionModel): Implemented.
5685         * javax/swing/JPopupMenu.java: Added Javadoc
5686         (pack): Implemented.
5687         (setVisible): Reimplemented.
5688         (show): Fixed location.
5689         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5690         Container instead of JPanel.
5691         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5692         (clearSelectedPath): Reimplemented to clear selectedPath
5693         in reverse order.
5694         (processMouseEvent): Reimplemented.
5695         (setSelectedPath): Fire stateChange event indicating that
5696         selected menu path has changed.
5697         (getPath): Change to use ArrayList instead of Vector.
5698         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5699         (installUI): call installKeyboardActions().
5700         (uninstallUI): call uninstallKeyboardActions().
5701
5702 2004-06-13  Michael Koch  <konqueror@gmx.de>
5703
5704         * javax/swing/text/DefaultCaret.java,
5705         javax/swing/text/BadLocationException.java:
5706         Reformatted.
5707
5708 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5709
5710         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5711         DEFAULT_COLS): New variables.
5712         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5713         values to DEFAULT_ROWS or DEFAULT_COLS.
5714         (getMinimumSize): Likewise.
5715         (getPreferredSize): Likewise.
5716         (minimumSize): Likewise.
5717         (preferredSize): Likewise.
5718         (create): Set peer's editable state.
5719         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5720         zero.  Update javadocs.
5721         (TextArea(String)): Likewise.
5722         (TextArea(int,int)): Fix javadocs.
5723         (TextArea(String,int,int,int)): Only throw exception if one of
5724         rows or columns is zero.  Fix javadocs.
5725
5726 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5727
5728         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5729         addition to Components.
5730
5731         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5732         wasn't consumed by normal processing, send it to the parent
5733         menu.
5734
5735         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5736         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5737         translation.
5738
5739 2004-06-11  David Jee  <djee@redhat.com>
5740
5741         * java/awt/MediaTracker.java
5742         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5743         (addImage(Image,int,int,int)): Likewise.
5744
5745 2004-06-11  Michael Koch  <konqueror@gmx.de>
5746
5747         * javax/swing/text/AbstractDocument.java,
5748         javax/swing/text/Document.java,
5749         javax/swing/text/GapContent.java,
5750         javax/swing/text/JTextComponent.java,
5751         javax/swing/text/PlainDocument.java:
5752         Reformatted.
5753
5754 2004-06-11  Michael Koch  <konqueror@gmx.de>
5755
5756         * javax/swing/JRootPane.java
5757         (AccessibleJRootPane.serialVersionUID): New field.
5758         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5759         (AccessibleJRootPane.getAccessibleRole): New method.
5760         (RootLayout): Implements Serializable.
5761         (RootLayout.serialVersionUID): New field.
5762         (RootLayout.RootLayout): New constructor.
5763         (setJMenuBar): Made public.
5764         (getJMenuBar): Likewise.
5765         (JRootPane): Likewise.
5766         (createContentPane): Likewise.
5767         (createGlassPane): Likewise.
5768         (createLayeredPane): Likewise.
5769
5770 2004-06-11  Michael Koch  <konqueror@gmx.de>
5771
5772         * javax/swing/SwingUtilities.java
5773         (isLeftMouseButton): Fixed javadoc.
5774         (isMiddleMouseButton): Likewise.
5775         (isRightMouseButton): Likewise.
5776
5777 2004-06-11  Michael Koch  <konqueror@gmx.de>
5778
5779         * javax/swing/JScrollPane.java
5780         (serialVersionUID): New field.
5781         (columnHeader): Made protected.
5782         (rowHeader): Likewise.
5783         (lowerLeft): Likewise.
5784         (lowerRight): Likewise.
5785         (upperLeft): Likewise.
5786         (upperRight): Likewise.
5787         (horizontalScrollBar): Likewise.
5788         (horizontalScrollBarPolicy): Likewise.
5789         (verticalScrollBar): Likewise.
5790         (verticalScrollBarPolicy): Likewise.
5791         (viewport): Likewise.
5792
5793 2004-06-11  Michael Koch  <konqueror@gmx.de>
5794
5795         * javax/swing/LookAndFeel.java: Fixed javadocs.
5796
5797 2004-06-11  Michael Koch  <konqueror@gmx.de>
5798
5799         * javax/swing/JEditorPane.java: Fixed javadocs.
5800         (JEditorPane): Removed redundant call to to this().
5801         (fireHyperlinkUpdate): Implemented.
5802
5803 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5804
5805         * javax/swing/JMenu.java: Fixed file name 
5806         in the file comment.
5807
5808 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5809
5810         * javax/swing/JMenu.java: Added javadoc.
5811         (JMenu): Added MenuChangeListener to listen to 
5812         ChangeEvents occuring in menu's model. 
5813         (insert): Throw IllegalArgumentException if 
5814         index is less than 0
5815         (setSelected): Reimplement.
5816         (setPopupMenuVisible): Call menu's model isEnabled()
5817         (setDelay): Throw IllegalArgumentException if 
5818         given amount of delay is less than 0.
5819         (createActionComponent): Implemented.
5820         (createActionChangeListener): Implemented.
5821         (addSeparator): Implemented.
5822         (getItem): Throw IllegalArgumentException if index is 
5823         less than 0.
5824         (getItemCount): Implemented.
5825         (fireMenuSelected): Changed to use menuEvent.
5826         (fireMenuDeselected): Likewise.
5827         (fireMenuCanceled): Likewise.
5828         (setAccelerator): Changed to throw an error if this 
5829         method is used. 
5830         (doClick): Implemented.
5831         (JMenu.ActionChangedListener): New inner class to handle
5832         PropertyChangeEvents occuring in the actions associated with menu.
5833         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5834         (BasicMenuUI): Added PropertyChangeListener to the menu.
5835         (createChangeListener): Implemented.
5836         (createMenuDragMouseListener): Likewise.
5837         (createMenuKeyListener): Likewise.
5838         (createPropertyChangeListener): Likewise.
5839         (uninstallListeners): Likewise.
5840         (BasicMenuUI.MouseInputHandler): Reimplemented.
5841         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5842         (BasicMenuUI.ChangeHandler): Likewise.
5843         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5844         (BasicMenuUI.MenuKeyHandler): Likewise.
5845
5846 2004-06-10  David Jee  <djee@redhat.com>
5847
5848         * java/awt/MediaTracker.java
5849         (imageUpdate): Only do notifyAll() if the image is complete.
5850
5851 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5852
5853         * javax/swing/JApplet.java:
5854         (getJMenuBar): Made public.
5855         (setJMenuBar): Likewise.
5856         * javax/swing/JFrame.java:
5857         (getJMenuBar): Made public.
5858         (setJMenuBar): Likewise.
5859         * javax/swing/JWindow.java:
5860         (getJMenuBar): Removed.
5861         (setJMenuBar): Removed.
5862
5863 2004-06-10  Michael Koch  <konqueror@gmx.de>
5864
5865         * javax/swing/JEditorPane.java
5866         (createEditorKitForContentType): Fixed visibility.
5867         (fireHyperlinkUpdate): Likewise.
5868         (getContentType): Likewise.
5869         (getEditorKit): Likewise.
5870         (getEditorKitForContentType): Likewise.
5871         (getPage): Likewise.
5872         (read): Likewise.
5873         (registerEditorKitForContentTyoe): Likewise.
5874         (replaceSelection): Likewise.
5875         (setContentType): Likewise.
5876         (setEditorKit): Likewise.
5877         (setPage): Likewise.
5878
5879 2004-06-10  Michael Koch  <konqueror@gmx.de>
5880
5881         * javax/swing/Timer.java
5882         (Timer): New constructor.
5883         * javax/swing/plaf/basic/BasicProgressBarUI.java
5884         (animationTimer): Don't initialize at construction.
5885         (startAnimationTimer): Added since tag.
5886         (stopAnimationTimer): Likewise.
5887         (installUI): Use new Timer constructor.
5888         * javax/swing/plaf/basic/BasicScrollBarUI.java
5889         (installUI): Likewise.
5890         * javax/swing/plaf/basic/BasicSliderUI.java
5891         (installUI): Likewise.
5892
5893 2004-06-10  Michael Koch  <konqueror@gmx.de>
5894
5895         * javax/swing/ButtonGroup.java
5896         (serialVersionUID): Made private.
5897         (buttons): Renamed from v, added javadoc.
5898         (sel): Added javadoc.
5899         (ButtonGroup): Likewise.
5900         (add): Likewise.
5901         (remove): Likewise.
5902         (getElements): Likewise.
5903         (getSelection): Likewise.
5904         (setSelected): Likewise.
5905         (isSelected): Likewise.
5906         (getButtonCount): Likewise.
5907
5908 2004-06-10  Michael Koch  <konqueror@gmx.de>
5909
5910         * javax/swing/ButtonGroup.java,
5911         javax/swing/ImageIcon.java,
5912         javax/swing/JEditorPane.java,
5913         javax/swing/JRootPane.java,
5914         javax/swing/JTextField.java,
5915         javax/swing/LookAndFeel.java,
5916         javax/swing/plaf/basic/BasicTextUI.java:
5917         Reindented.
5918
5919 2004-06-10  Michael Koch  <konqueror@gmx.de>
5920
5921         * javax/swing/text/Style.java: Added javadocs.
5922
5923 2004-06-10  Michael Koch  <konqueror@gmx.de>
5924
5925         * javax/swing/JComponent.java
5926         (fireVetoableChange): Removed redundant cast.
5927         * javax/swing/JLabel.java
5928         (getDisabledIcon): Save icon for next call.
5929
5930 2004-06-10  Michael Koch  <konqueror@gmx.de>
5931
5932         * javax/swing/KeyStroke.java
5933         (getKeyStroke(char,boolean)): Marked deprecated.
5934
5935 2004-06-10  Michael Koch  <konqueror@gmx.de>
5936
5937         * javax/swing/DefaultCellEditor.java,
5938         javax/swing/GrayFilter.java,
5939         javax/swing/event/DocumentEvent.java,
5940         javax/swing/text/JTextComponent.java,
5941         javax/swing/text/MutableAttributeSet.java:
5942         Reindented.
5943
5944 2004-06-10  Michael Koch  <konqueror@gmx.de>
5945
5946         * javax/swing/plaf/BorderUIResource.java:
5947         Added serialVersionUID all over.
5948
5949 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5950
5951         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5952
5953 2004-06-10  Michael Koch  <konqueror@gmx.de>
5954
5955         * javax/swing/table/DefaultTableCellRenderer.java
5956         (noFocusBorder): Initialize directly.
5957
5958 2004-06-10  Michael Koch  <konqueror@gmx.de>
5959
5960         * javax/swing/plaf/basic/BasicArrowButton.java
5961         (setDirection): Use method argument.
5962
5963 2004-06-10  Michael Koch  <konqueror@gmx.de>
5964
5965         * javax/swing/plaf/BorderUIResource.java,
5966         javax/swing/plaf/ComponentUI.java,
5967         javax/swing/undo/CompoundEdit.java,
5968         javax/swing/undo/StateEdit.java:
5969         Fixed javadocs all over.
5970
5971 2004-06-10  Michael Koch  <konqueror@gmx.de>
5972
5973         * javax/swing/DefaultButtonModel.java
5974         (ARMED): Made public final, fixed value.
5975         (ENABLED): Likewise.
5976         (PRESSED): Likewise.
5977         (ROLLOVER): Likewise.
5978         (SELECTED): Likewise.
5979         (stateMask): Initialize directly.
5980         (listenerList): Likewise.
5981         (mnemonic): Likewise.
5982         (fireStateChanged): Removed argument, use changeEvent as event.
5983         All places where this method is called are fixed too.
5984         (getActionCommant): Fixed javadoc.
5985         (setGroup): Fixed javadoc.
5986         (getGroup): New method.
5987
5988 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5989
5990         * javax/swing/AbstractButton.java
5991         (AbstractButton): Use init() to initialize the button.
5992         (init): New Method. Initializes AbstractButton.
5993         * javax/swing/JMenuItem.java: Documented.
5994         (JMenuItem): Reimplemented.
5995         (init): Implemented.
5996         (setEnabled): Changed to call super.setEnabled()
5997         (processMouseEvent): Reimplemented.
5998         (fireMenuKeyPressed): Implemented.
5999         (fireMenuKeyReleased): Implemented.
6000         (fireMenuKeyTyped): Implemented.
6001         (menuSelectionChanged): disarm the model if the menu item was
6002         deselected.
6003         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6004         (getPath): Change to use ArrayList instead of Vector.
6005         (getPreferredSize): Renamed variable.
6006         (paintMenuItem): Paint margin area of menu item.
6007         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6008         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6009         menu item's bounds before clearing the selection.       
6010
6011 2004-06-09  David Jee  <djee@redhat.com>
6012
6013         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6014         (GtkTextComponentPeer): Set caret position to 0.
6015         * java/awt/TextComponent.java
6016         (setText): Set caret position to 0.
6017         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6018         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6019         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6020         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6021         Likewise.
6022         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6023         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6024         visible.
6025
6026 2004-06-09  Kim Ho  <kho@redhat.com>
6027
6028         * Makefile.am: New files
6029         * Makefile.in: Regenerated
6030         * java/awt/Container.java
6031         (getComponentAt): Removed.
6032         * javax/swing/AbstractAction.java
6033         (ENABLED_PROPERTY): New property.
6034         (putValue): Fire PropertyChangeEvents.
6035         (setEnabled): ditto.
6036         (firePropertyChange): Javadoc and implement
6037         convenience method.
6038         * javax/swing/AbstractButton.java
6039         (setAction): Don't create PropertyChangeListener
6040         if new Action is null.
6041         (setIcon): Don't set icon till after comparing
6042         it.
6043         (configurePropertiesFromAction): Check mnemonic
6044         key before calling intValue().
6045         (createActionPropertyChangeListener): Check
6046         properties rather than bulk change.
6047         * javax/swing/DefaultDesktopManager.java:
6048         Implement.
6049         * javax/swing/DesktopManager.java:
6050         Jalopy and javadoc.
6051         * javax/swing/JComponent.java
6052         (fireVetoableChange): Implement.
6053         (paintImmediately): Use root component.
6054         * javax/swing/JDesktopPane.java: Implement
6055         * javax/swing/JInternalFrame.java: Implement
6056         * javax/swing/JLabel.java
6057         (getDisabledIcon): Return grayscaled icon if
6058         no disabled icon specified.
6059         * javax/swing/JMenuBar.java
6060         (getComponentAtIndex): Use getComponent
6061         * javax/swing/JOptionPane.java
6062         (getDesktopPaneForComponent): Use SwingUtilities'
6063         getAncestorOfClass
6064         (getFrameForComponent): ditto.
6065         * javax/swing/JSplitPane.java
6066         (remove): Use getComponent.
6067         * javax/swing/SwingUtilities.java
6068         (convertPoint): Implement.
6069         * javax/swing/plaf/basic/BasicButtonUI.java
6070         (paintButtonNormal): Check opaqueness before
6071         filling background.
6072         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6073         Implement
6074         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6075         Implement.
6076         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6077         Implement.
6078         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6079         Implement.
6080         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6081         Change InternalFrame and Desktop colors.
6082
6083 2004-06-09  David Jee  <djee@redhat.com>
6084
6085         * java/awt/Container.java
6086         (remove): Do not set component to invisible.
6087
6088 2004-06-09  Michael Koch  <konqueror@gmx.de>
6089
6090         * javax/swing/tree/DefaultMutableTreeNode.java
6091         (getLeafCount): Renamed enum to e.
6092
6093 2004-06-09  Michael Koch  <konqueror@gmx.de>
6094
6095         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6096         (positionForMouseEvent): Removed redundant semicolon.
6097         (continueDrag): Use method arguments.
6098
6099 2004-06-09  Michael Koch  <konqueror@gmx.de>
6100
6101         * javax/swing/border/TitledBorder.java,
6102         javax/swing/filechooser/FileSystemView.java,
6103         javax/swing/plaf/basic/BasicButtonListener.java,
6104         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6105         javax/swing/plaf/basic/BasicLabelUI.java,
6106         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6107         javax/swing/plaf/basic/BasicScrollBarUI.java,
6108         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6109         javax/swing/plaf/basic/BasicSliderUI.java,
6110         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6111         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6112         javax/swing/table/JTableHeader.java,
6113         javax/swing/text/AbstractDocument.java,
6114         javax/swing/text/DefaultCaret.java,
6115         javax/swing/text/StyledEditorKit.java,
6116         javax/swing/tree/DefaultTreeCellEditor.java:
6117         Reworked import statements.
6118
6119 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6120
6121         * javax/swing/Box.java: Temporarily comment out code
6122         broken due to visibility bug.
6123
6124 2004-06-09  Michael Koch  <konqueror@gmx.de>
6125
6126         * javax/swing/ImageIcon.java
6127         (ImageIcon): Added missing constructor.
6128
6129 2004-06-08  Michael Koch  <konqueror@gmx.de>
6130
6131         * javax/swing/JToggleButton.java
6132         (JToggleButton): New constructor.
6133         (getAccessibleContext): Moved documentation into javadoc.
6134         (getUIClassID): Likewise.
6135
6136 2004-06-08  Michael Koch  <konqueror@gmx.de>
6137
6138         * javax/swing/AbstractButton.java
6139         (getDisabledIcon): Create disabled icon if none exists yet.
6140
6141 2004-06-08  Michael Koch  <konqueror@gmx.de>
6142
6143         * javax/swing/plaf/basic/BasicLookAndFeel.java
6144         (initClassDefaults): Added FormattedTextFieldUI.
6145         (loadResourceBundle): Renamed enum to e.
6146
6147 2004-06-08  Michael Koch  <konqueror@gmx.de>
6148
6149         * javax/swing/plaf/basic/BasicButtonUI.java
6150         (paintIcon): Simplified.
6151         (paintText): Paint disabled button correctly.
6152
6153 2004-06-08  Michael Koch  <konqueror@gmx.de>
6154
6155         * javax/swing/JComponent.java
6156         (createToolTip): Use official JToolTip API.
6157
6158 2004-06-08  Michael Koch  <konqueror@gmx.de>
6159
6160         * javax/swing/JToolTip.java
6161         (JToolTip): No arguments in API.
6162         (setTipText): New method.
6163
6164 2004-06-08  Michael Koch  <konqueror@gmx.de>
6165
6166         * javax/swing/SwingUtilities.java
6167         (isLeftMouseButton): New method.
6168         (isMiddleMouseButton): New method.
6169         (isRightMouseButton): New method.
6170
6171 2004-06-08  Michael Koch  <konqueror@gmx.de>
6172
6173         * javax/swing/AbstractButton.java,
6174         javax/swing/CellRendererPane.java,
6175         javax/swing/JCheckBoxMenuItem.java,
6176         javax/swing/JColorChooser.java,
6177         javax/swing/JComboBox.java,
6178         javax/swing/JComponent.java,
6179         javax/swing/JDesktopPane.java,
6180         javax/swing/JFileChooser.java,
6181         javax/swing/JMenu.java,
6182         javax/swing/JMenuItem.java,
6183         javax/swing/JOptionPane.java,
6184         javax/swing/JPasswordField.java,
6185         javax/swing/JPopupMenu.java,
6186         javax/swing/JProgressBar.java,
6187         javax/swing/JRadioButtonMenuItem.java,
6188         javax/swing/JScrollBar.java,
6189         javax/swing/JSeparator.java,
6190         javax/swing/JSlider.java,
6191         javax/swing/JSplitPane.java,
6192         javax/swing/JTabbedPane.java,
6193         javax/swing/JTextField.java,
6194         javax/swing/JToolBar.java,
6195         javax/swing/text/JTextComponent.java:
6196         Fixed all constructors of accessibility classes.
6197
6198 2004-06-08  Michael Koch  <konqueror@gmx.de>
6199
6200         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6201         over.
6202
6203 2004-06-08  Michael Koch  <konqueror@gmx.de>
6204
6205         * javax/swing/Box.java
6206         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6207         (AccessibleBoxFiller.serialVersionUID): New member variable.
6208         * javax/swing/DefaultButtonModel.java
6209         (stateMask): Made protected.
6210         (listenerList): Likewise.
6211         (changeEvent): Likewise.
6212         (group): Likewise.
6213         (mnemonic): Likewise.
6214         (actionCommand): Likewise.
6215         (getListeners): New method.
6216         (getActionListeners): New method.
6217         (getItemListeners): New method.
6218         (getChangeListeners): New method.
6219         (fireItemStateChanged): Simplified.
6220         (fireActionPerformed): Simplified.
6221         (fireStateChanged): Simplified.
6222         * javax/swing/JFrame.java
6223         (JFrame): Implements WindowContants.
6224         (HIDE_ON_CLOSE): Removed.
6225         (EXIT_ON_CLOSE): Removed.
6226         (DISPOSE_ON_CLOSE): Removed.
6227         (DO_NOTHING_ON_CLOSE): Removed.
6228         (processWindowEvent): Exit with code 0.
6229         (setDefaultCloseOperation): Do security check before setting value.
6230         * javax/swing/JOptionPane.java
6231         (message): Initialize only in constructor.
6232         * javax/swing/JToolTip.java: Removed unused imports.
6233         * javax/swing/JViewport.java
6234         (serialVersionUID): New member variable.
6235         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6236         (BLIT_SCROLL_MODE): Likewise.
6237         (BACKINGSTORE_SCROLL_MODE): Likewise.
6238         (scrollUnderway): Made protected.
6239         (isViewSizeSet): Likewise.
6240         * javax/swing/ListModel.java: Fixed javadoc.
6241         * javax/swing/Popup.java: Likewise.
6242         * javax/swing/RepaintManager.java
6243         (paintDirtyRegions): Don't use internal classes of
6244         java.util.AbstractMap.
6245         * javax/swing/ScrollPaneConstants.java: Reindented.
6246         * javax/swing/ScrollPaneLayout.java
6247         (viewport): Made protected.
6248         (verticalScrollBar): Made protected, renamed to vsb.
6249         (horizontalScrollBar): Made protected, renamed to hsb.
6250         (rowHeader): Made protected, renamed to rowHead.
6251         (columnHeader): Made protected, renamed to colHead.
6252         (lowerLeft): Made protected.
6253         (lowerRight): Made protected.
6254         (upperLeft): Made protected.
6255         (upperRight): Made protected.
6256         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6257         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6258
6259 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6260
6261         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6262         LOADING if flags has SOMEBITS set.
6263
6264 2004-06-07  Michael Koch  <konqueror@gmx.de>
6265
6266         * javax/swing/AbstractButton.java: Reorganized imports.
6267         * javax/swing/ActionMap.java: Likewise.
6268         * javax/swing/DefaultButtonModel.java: Likewise.
6269         * javax/swing/DefaultListModel.java: Likewise.
6270         * javax/swing/ImageIcon.java: Likewise.
6271         (serialVersionUID): New member variable.
6272         * javax/swing/JComboBox.java: Reorganized imports.
6273         * javax/swing/JComponent.java: Likewise.
6274         (ui): Made protected.
6275         (listenerList): Made protected.
6276         (TOOL_TIP_TEXT_KEY): New constant.
6277         (scrollRectToVisible): Removed redundant null check.
6278         * javax/swing/JFrame.java: Reorganized imports.
6279         * javax/swing/JInternalFrame.java: Reorganized imports.
6280         * javax/swing/JProgressBar.java: Likewise.
6281         * javax/swing/JRootPane.java: Likewise.
6282         * javax/swing/JScrollBar.java: Likewise.
6283         * javax/swing/JSeparator.java: Likewise.
6284         * javax/swing/JSlider.java: Likewise.
6285         * javax/swing/JTabbedPane.java: Likewise.
6286         * javax/swing/JTextField.java: Likewise.
6287         * javax/swing/JToolBar.java: Likewise.
6288         * javax/swing/JTree.java: Likewise.
6289         * javax/swing/JViewport.java: Likewise.
6290         * javax/swing/JWindow.java: Likewise.
6291         * javax/swing/KeyStroke.java: Likewise.
6292         * javax/swing/LookAndFeel.java: Likewise.
6293         * javax/swing/MenuSelectionManager.java: Likewise.
6294         * javax/swing/SwingUtilities.java: Likewise.
6295         * javax/swing/Timer.java: Likewise.
6296         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6297         * javax/swing/JList.java
6298         (HORIZONTAL_WRAP): Made final, fixed value.
6299         (VERTICAL): Likewise.
6300         (VERTICAL_WRAP): Likewise.
6301
6302 2004-06-07  Michael Koch  <konqueror@gmx.de>
6303
6304         * javax/swing/AbstractButton.java
6305         (serialVersionUID): New member variable.
6306         (AccessibleAbstractButton.serialVersionUID): Likewise.
6307         (AbstractButton): Made public.
6308         * javax/swing/Box.java
6309         (AccessibleBox.serialVersionUID): New member variable.
6310         (Filler.serialVersionUID): Likewise.
6311         * javax/swing/DefaultListSelectionModel.java
6312         (serialVersionUID): Likewise.
6313         * javax/swing/JApplet.java
6314         (serialVersionUID): Likewise.
6315         * javax/swing/JCheckBox.java
6316         (serialVersionUID): Likewise.
6317         * javax/swing/JCheckBoxMenuItem.java
6318         (serialVersionUID): Likewise.
6319         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6320         * javax/swing/JColorChooser.java
6321         (serialVersionUID): Likewise.
6322         (AccessibleJColorChooser.serialVersionUID): Likewise.
6323         * javax/swing/JComponent.java
6324         (serialVersionUID): Made private.
6325         (AccessibleJComponent.serialVersionUID): New member variable.
6326         * javax/swing/JDesktopPane.java
6327         (serialVersionUID): Likewise.
6328         * javax/swing/JDialog.java
6329         (serialVersionUID): Likewise.
6330         * javax/swing/JFormattedTextField.java
6331         (serialVersionUID): Fixed value.
6332         * javax/swing/JFrame.java
6333         (serialVersionUID): New member variable.
6334         (getDefaultCloseOpertation): Made public.
6335         * javax/swing/JLayeredPane.java
6336         (serialVersionUID): Likewise.
6337         (LAYER_PROPERTY): Made final, fixed value.
6338         (JLayeredPane): Made public.
6339         * javax/swing/JMenu.java
6340         (AccessibleJMenu.serialVersionUID): New member variable.
6341         (WinListener.serialVersionUID): Likewise.
6342         * javax/swing/JMenuBar.java
6343         (serialVersionUID): Likewise.
6344         (getComponentAtIndex): Added @deprecated tag.
6345         * javax/swing/JMenuItem.java
6346         (serialVersionUID): New member variable.
6347         (AccessibleJMenuItem.serialVersionUID): Likewise.
6348         * javax/swing/JOptionPane.java
6349         (serialVersionUID): Likewise.
6350         (AccessibleJOptionPane.serialVersionUID): Likewise.
6351         * javax/swing/JPopupMenu.java
6352         (serialVersionUID): Likewise.
6353         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6354         (getPopupMenuListeners): New method.
6355         (getComponentAtIndex): Added @deprecated tag.
6356         * javax/swing/JProgressBar.java
6357         (serialVersionUID): New member variable.
6358         (AccessibleJProgressBar.serialVersionUID): Likewise.
6359         * javax/swing/JRadioButton.java
6360         (serialVersionUID): Likewise.
6361         * javax/swing/JRadioButtonMenuItem.java
6362         (serialVersionUID): Likewise.
6363         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6364         * javax/swing/JScrollBar.java
6365         (serialVersionUID): Likewise.
6366         (AccessibleJScrollBar.serialVersionUID): Likewise.
6367         * javax/swing/JSeparator.java
6368         (serialVersionUID): Likewise.
6369         (AccessibleJSeparator.serialVersionUID): Likewise.
6370         * javax/swing/JSlider.java: Fixed javadocs.
6371         (AccessibleJSlider.serialVersionUID): New member variable.
6372         * javax/swing/JSplitPane.java: Added copyright statement.
6373         (serialVersionUID): New member variable.
6374         (AccessibleJSplitPane.serialVersionUID): Likewise.
6375         * javax/swing/JTabbedPane.java
6376         (serialVersionUID): Likewise.
6377         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6378         (ModelListener.serialVersionUID): Likewise.
6379         (ModelListener.ModelListener): New constructor.
6380         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6381         (WRAP_TAB_LAYOUT): Likewise.
6382         * javax/swing/JTable.java
6383         (serialVersionUID): New member variable.
6384         * javax/swing/JToggleButton.java
6385         (serialVersionUID): Likewise.
6386         (ToggleButtonModel): Made static.
6387         (ToggleButtonModel.serialVersionUID): New member variable.
6388         * javax/swing/JToolTip.java
6389         (serialVersionUID): Likewise.
6390         * javax/swing/JTree.java
6391         (serialVersionUID): Likewise.
6392         * javax/swing/JWindow.java
6393         (serialVersionUID): Likewise.
6394         * javax/swing/Timer.java
6395         (serialVersionUID): Likewise.
6396
6397 2004-06-06  Michael Koch  <konqueror@gmx.de>
6398
6399         * javax/swing/SwingConstants.java
6400         (NEXT): New constant.
6401         (PREVIOUS): Likewise.
6402         * javax/swing/UIManager.java
6403         (LookAndFeel): Made public.
6404         (LookAndFeel.getClassName): Likewise.
6405         (LookAndFeel.getName): Likewise.
6406
6407 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6408
6409         * javax/swing/JCheckBoxMenuItem.java:
6410         Removed CVS tags.
6411         * javax/swing/JMenu.java: Likewise.
6412         * javax/swing/JMenuBar.java: Likewise.
6413         * javax/swing/JMenuItem.java: Likewise.
6414         * javax/swing/JPopupMenu.java: Likewise.
6415         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6416         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6417         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6418         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6419         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6420         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6421         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6422
6423 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6424         
6425         * javax/swing/plaf/basic/BasicMenuUI.java:
6426         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6427         Call getPath() from super class instead.
6428
6429 2004-05-31  David Jee  <djee@redhat.com>
6430
6431         * java/awt/Container.java
6432         (remove): Set component visibility to false after removing it.
6433
6434 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6435
6436         * java/awt/Component.java (getForeground): Return SystemColor if
6437         parent is null.
6438         (getBackground): Likewise.
6439
6440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6441         (item_highlighted): New function.
6442         (connectSignals): Set item_highlighted as list's select
6443         function.
6444
6445         * java/applet/Applet.java: Revert changes from 2004-04-29,
6446         2004-03-15 and 2004-03-14.
6447
6448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6449         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6450         factor.
6451
6452         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6453         "Dialog" as the default font.
6454         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6455         Likewise.
6456         * java/awt/Component.java (getFont): Return "Dialog" font by
6457         default.
6458         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6459         Multiply size argument to pango_font_description_set_size by the
6460         DPI conversion factor rather than by PANGO_SCALE.
6461         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6465         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6467         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6468         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6471         Divide baseline y coordinate by DPI conversion factor rather
6472         than by PANGO_SCALE.
6473         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6474         (area_prepared): Fix typo.
6475         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6476         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6477         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6478         (dpi_conversion_factor): New global variable.
6479         (init_dpi_conversion_factor): New function to calculate and
6480         track DPI conversion factor.
6481         (dpi_changed_cb): New callback.
6482         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6483
6484 2004-05-27  David Jee  <djee@redhat.com>
6485
6486         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6487         (getGraphics): Return a new GdkGraphics instance.
6488         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6489         (getGraphics): Call super.getGraphics().
6490
6491 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6492
6493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6494         (setNativeBounds): Clamp width and height values to >= 0.
6495
6496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6497         (find_fg_color_widget): Handle GtkOptionMenu specially.
6498
6499         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6500         (pre_event_handler): Only post configure events to visible
6501         top-level windows.
6502
6503 2004-05-26  David Jee  <djee@redhat.com>
6504
6505         * java/awt/BorderLayout.java
6506         (layoutContainer): Fix size calculations.
6507
6508 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6509
6510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6511         (window_wm_protocols_filter): Remove function.
6512         (create): Remove filter that removes WM_TAKE_FOCUS client
6513         messages.
6514
6515 2004-06-17  Anthony Green  <green@redhat.com>
6516
6517         * java/util/zip/ZipFile.java (getInputStream): Return null if
6518         entry not found.
6519
6520         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6521         directory contents to the class path.
6522
6523 2004-06-15  Andrew Haley  <aph@redhat.com>
6524
6525         * java/lang/natSystem.cc (getenv0): Don't assume environment
6526         variable is Latin 1 coded.
6527
6528 2004-06-14  Andreas Jaeger  <aj@suse.de>
6529
6530         * configure.in: Support --enable-version-specific-runtime-libs.
6531         * configure: Regenerated.
6532
6533 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6534
6535         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6536         to pass ClassLoader argument.
6537         * java/util/GregorianCalendar.java: Likewise.
6538         * java/util/Currency.java: Likewise.
6539         * java/text/BreakIterator.java: Likewise.
6540         * java/text/Collator.java: Likewise.
6541         * java/text/DateFormat.java: Likewise.
6542         * java/text/DateFormatSymbols.java: Likewise.
6543         * java/text/DecimalFormatSymbols.java: Likewise.
6544         * java/text/NumberFormat.java: Likewise.
6545         * java/awt/Window.java: Likewise.
6546
6547 2004-06-14  Andrew Haley  <aph@redhat.com>
6548
6549         * java/lang/System.java: (getenv0): New method.
6550         (getenv): Add security check.  Do the right thing.
6551         * java/lang/natSystem.cc (getenv0): New method.
6552
6553 2004-06-12  Mark Wielaard  <mark@klomp.org>
6554
6555         * javax/swing/RepaintManager.java
6556         (paintDirtyRegions): Use entrySet(), not values().
6557
6558 2004-06-10  Mark Wielaard  <mark@klomp.org>
6559
6560         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6561         NoSuchMethodError.
6562
6563 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6564
6565         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6566         when we already know the answer.
6567         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6568         (setStartRule,setEndRule): Don't take abs of day number.
6569         (getOffset): Clarify docs.  Add argument checks.
6570         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6571         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6572         endTimeMode.
6573
6574 2004-06-10  Tom Tromey  <tromey@redhat.com>
6575
6576         * interpret.cc (run): Handle wide fload.
6577
6578 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6579
6580         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6581
6582 2004-06-05  Michael Koch  <konqueror@gmx.de>
6583
6584         * javax/swing/SwingConstants.java
6585         (NEXT): New constant.
6586         (PREVIOUS): Likewise.
6587
6588 2004-06-05  Michael Koch  <konqueror@gmx.de>
6589
6590         * javax/swing/UIManager.java
6591         (LookAndFeel): Made public.
6592         (LookAndFeel.getName): Likewise.
6593         (LookAndFeel.getClassName): Likewise.
6594
6595 2004-06-03  Michael Koch  <konqueror@gmx.de>
6596
6597         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6598         (requestFocus): Revert last changes.
6599         (gtkRequestFocus): Removed.
6600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6601         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6602         Renamed to ...
6603         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6604         Reverted last patch.
6605         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6606         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6607         Reverted comment change.
6608
6609 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6610
6611         * javax/swing/JCheckBoxMenuItem.java:
6612         Removed CVS tags.
6613         * javax/swing/JMenu.java: Likewise.
6614         * javax/swing/JMenuBar.java: Likewise.
6615         * javax/swing/JMenuItem.java: Likewise.
6616         * javax/swing/JPopupMenu.java: Likewise.
6617         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6618         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6619         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6620         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6621         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6622         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6623         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6624
6625 2004-06-01  Tom Tromey  <tromey@redhat.com>
6626
6627         * java/io/ObjectStreamField.java: Cleaned up imports.
6628
6629 2004-06-01  Michael Koch  <konqueror@gmx.de>
6630
6631         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6632       
6633 2004-06-01  Mark Wielaard  <mark@klomp.org>
6634
6635         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6636
6637 2004-06-01  Michael Koch  <konqueror@gmx.de>
6638
6639         * java/security/Security.java
6640         (insertProviderAt): Use equals() instead of ==.
6641         (removeProvicer): Likewise.
6642         (getProvider): Likewise.
6643         * java/security/Signature.java
6644         (sign): Don't set state to UNINITIALIZED.
6645         (verify): Likewise.
6646
6647 2004-06-01  Mark Wielaard  <mark@klomp.org>
6648
6649         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6650         Implement by calling gtkRequestFocus.
6651         (gtkRequestFocus): New native method.
6652         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6653         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6654         Renamed to ...
6655         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6656         New function name.
6657         (filter_expose_event_handler):
6658         Mark static.
6659         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6660         (menu_pos): Mark static.
6661
6662 2004-06-01  Michael Koch  <konqueror@gmx.de>
6663
6664         * java/text/CollationElementIterator.java,
6665         java/text/CollationKey.java,
6666         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6667         * testsuite/libjava.mauve/xfails: Removed all
6668         java.text.CollationElementIterator tests.
6669
6670 2004-06-01  Michael Koch  <konqueror@gmx.de>
6671
6672         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6673         version.
6674         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6675         Java 1.5 keyword usage.
6676
6677 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6678
6679         * javax/swing/plaf/basic/BasicMenuUI.java:
6680         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6681         Call getPath() from super class instead.
6682
6683 2004-05-31  Michael Koch  <konqueror@gmx.de>
6684
6685         * java/io/SequenceInputStream.java:
6686         Rename enum to e because enum is a keyword in Java 1.5.
6687
6688 2004-05-31  Michael Koch  <konqueror@gmx.de>
6689
6690         * gnu/java/rmi/rmic/CompilerProcess.java:
6691         Fixed javadoc to by XHTML compliant.
6692
6693 2004-05-30  Mark Wielaard  <mark@klomp.org>
6694
6695         * java/awt/Toolkit.java (loadSystemColors): Implement.
6696
6697 2004-05-30  Michael Koch  <konqueror@gmx.de>
6698
6699         * java/lang/System.java: Reordered imports.
6700
6701 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6702
6703         * java/text/DecimalFormat.java
6704         (parse): Fixed parsing of decimal strings. Number of maximum
6705         digits to be read should now work.
6706         * java/text/SimpleDateFormat.java
6707         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6708         formatter. This fixes DateFormatTest.
6709
6710 2004-05-30  Michael Koch  <konqueror@gmx.de>
6711
6712         * java/nio/Buffer.java
6713         (limit): Fixed off by one error.
6714         * java/nio/CharBuffer.java
6715         (wrap): Fixed arguments, added javadocs.
6716
6717 2004-05-30  Michael Koch  <konqueror@gmx.de>
6718
6719         * gnu/java/beans/BeanInfoEmbryo.java,
6720         java/awt/im/InputContext.java,
6721         javax/swing/tree/DefaultMutableTreeNode.java:
6722         Rename enum to e because enum is a keyword in Java 1.5.
6723
6724 2004-05-30  Michael Koch  <konqueror@gmx.de>
6725
6726         * gnu/java/math/MPN.java,
6727         java/awt/geom/Arc2D.java:
6728         Fixed javadocs all over.
6729
6730 2004-05-30  Michael Koch  <konqueror@gmx.de>
6731
6732         * java/awt/DefaultKeyboardFocusManager.java
6733         (dispatchEvent): Call method to get key event dispatchers.
6734         (dispatchKeyEvent): Call method to get key event post processors.
6735         * javax/swing/JComponent.java
6736         (listenerList): Made protected.
6737         * javax/swing/JOptionPane.java
6738         (message): Don't initialize.
6739         (JOptionPane): Set message text.
6740         * javax/swing/JPopupMenu.java
6741         (show): Fixed typo in argument name.
6742         * javax/swing/RepaintManager.java
6743         (paintDirtyRegions): Use public API of java.util.Map.
6744         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6745         (positionForMouseEvent): Removed redundant ';'.
6746         (continueDrag): Use method arguments.
6747
6748 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6749
6750         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6751         results.
6752
6753 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6754
6755         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6756         _Jv_AllocBytes.
6757         * gnu/gcj/RawDataManaged.java: New file.
6758         * java/lang/Thread.java (data): Declare as RawDataManaged.
6759         * java/lang/natThread.cc (init_native): Cast natThread data to
6760         RawDataManaged, not jobject.
6761         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6762         * Makefile.in: Rebuilt.
6763
6764 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6765
6766         * java/util/SimpleTimeZone.java: Reverting my last change until I
6767         can fix it properly.
6768
6769 2004-05-27  Michael Koch  <konqueror@gmx.de>
6770
6771         * javax/swing/JPopupMenu.java
6772         (isVisible): Do not use visible directly.
6773         (setVisible): Likewise.
6774         * javax/swing/JWindow.java
6775         (JWindow): call accessible constructor.
6776         * javax/swing/RepaintManager.java
6777         (paintDirtyRegions): Use public methods to obtain iterator.
6778
6779 2004-05-25  David Jee  <djee@redhat.com>
6780
6781         * java/awt/Container.java
6782         (remove): Set component's parent to null only after we removed the
6783         component from its parent's layout manager.
6784
6785 2004-05-25  David Jee  <djee@redhat.com>
6786
6787         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6788         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6789         is valid.
6790         * gnu/java/awt/peer/gtk/GtkListPeer.java
6791         (getSize): Change native method declaration.
6792         (minimumSize): Pass visible row count into getSize().
6793         (preferredSize): Likewise.
6794         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6795         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6796         natural size. Use visible row count to determine the final height
6797         value to return.
6798
6799 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6800
6801         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6802         (setClip): Minor correction to order of operations.
6803
6804         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6805         * javax/swing/ScrollPaneLayout.java: Likewise.
6806         * javax/swing/JViewPort.java: Likewise.
6807         * javax/swing/ViewportLayout.java: Likewise.
6808
6809         * javax/swing/JComponent.java: Rewrite.
6810         * javax/swing/RepaintManager.java: Likewise.
6811
6812         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6813         * javax/swing/JList.java 
6814         (setSelectedIndices):
6815         (getSelectedIndices):
6816         (getSelectedValues): New functions.
6817         (getPreferredScrollableViewportSize): Return preferred size.
6818         (getScrollableUnitIncrement):
6819         (getScrollableBlockIncrement): Initial implementations.
6820         * javax/swing/JRootPane.java: Clean up slightly.
6821         (getUI):
6822         (setUI):
6823         (updateUI):
6824         (getUIClassID):
6825         (isValidateRoot): Add overrides from JComponent.
6826         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6827         * javax/swing/UIManager.java (getDimension): Return the dimension.
6828
6829         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6830         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6831         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6832         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6833         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6834         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6835         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6836         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6837         Likewise, and set background.
6838         * javax/swing/plaf/basic/BasicListUI.java: 
6839         Likewise, and improve a bit.
6840         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6841         Likewise, and adjust calculations.
6842         * javax/swing/plaf/basic/BasicViewportUI.java:
6843         Likewise, and improve a bit.
6844         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6845         (Button.margin): Shrink.
6846
6847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6848         Hack to set horizontal always, workaround pango.
6849
6850         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6852         Synchronize more often, check cairo status after ops,
6853         handle changes to cairo pattern API, check for disposal.
6854
6855 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6856
6857         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6858         (BasicMenuItemUI): Create propertyChangeListener.
6859         (getPath):Implemented.
6860         (installListeners): Add propertyChangeListener to menuItem.
6861         (uninstallListeners): Remove propertyChangeListener from menuItem.
6862         (update): Implemented.
6863         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6864         (mouseEntered): Take insets of popup menu into account when
6865         calculating position of popup menu.     
6866         
6867 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6868
6869         * Makefile.am: Added new file. 
6870         * Makefile.in: Regenerate.
6871         * javax/swing/JMenuBar.java:
6872         Started implementation.
6873         * javax/swing/JPopupMenu.java:
6874         (setVisible): Fixed location of lightweight/mediumweight
6875         popup menu.
6876         (show): Fixed location of PopupMenu.
6877         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6878         New file. UI Delegate for JMenuBar.
6879         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6880         (mouseEntered): Corrected position of the submenu.
6881
6882 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6883
6884         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6885         to _gtk_accel_group_attach.
6886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6887         Likewise.
6888
6889         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6890         package access.  Don't override setFont.
6891         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6892         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6893         gtkWidgetRequestFocus package access.
6894         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6895         setFont.
6896         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6897         Give gtkWidgetRequestFocus package access.
6898         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6899         gtkWidgetRequestFocus package access.  Don't override setFont.
6900         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6901         setFont.
6902         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6903         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6904         region.
6905         (gtkSetFont): Likewise.
6906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6907         Implement.
6908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6909         (gtkSetFont): Whitespace fix.
6910
6911         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6912         (gtkWidgetSetUsize): Remove method.
6913
6914 2004-05-18  David Jee  <djee@redhat.com>
6915
6916         * java/awt/image/MemoryImageSource.java
6917         (newPixels(int,int,int,int,boolean)): Set only the specified
6918         rectangle of pixels.
6919         (newPixels(byte[],ColorModel,int,int)): Implement.
6920         (newPixels(int[],ColorModel,int,int)): Implement.
6921
6922 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6923
6924         * Makefile.am: Added new file.
6925         * Makefile.in: Regenerate.
6926         * javax/swing/JMenu.java: Started 
6927         implementation.
6928         * javax/swing/JPopupMenu.java:
6929         (insert): If specified index is -1, then
6930         add component at the end.
6931         (isPopupTrigger): Reimplemented.
6932         (JPopupMenu.LightWeightPopup): setBounds
6933         of the lightWeightPopup before adding it 
6934         to the layeredPane.
6935         (javax/swing/plaf/basic/BasicIconFactory.java):
6936         (getMenuArrowIcon): Implemented.
6937         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6938         (getPreferredSize): Add size of the arrow icon 
6939         if this menu item is instance of JMenu.
6940         (paintMenuItem): Paint arrow icon if this 
6941         menu item is a submenu.
6942         * javax/swing/plaf/basic/BasicMenuUI.java:
6943         New File. UI Delegate for JMenu.
6944
6945 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6946
6947         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6948         Post KEY_TYPED events.
6949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6950         (generates_key_typed_event): Remove function.
6951
6952 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6953
6954         * javax/swing/JRootPane.java
6955         (JRootPane.RootLayout): Reimplemented to 
6956         set bounds of contentPane and menuBar.
6957         (setJMenuBar): Add menu bar to the layered pane.
6958         (createLayeredPane): Set layout of layeredPane
6959         to null.
6960         * javax/swing/JLayeredPane.java:
6961         (addImpl): Calculate index of the component in the
6962         layeredPane according to the specified position within 
6963         the layer.      
6964
6965 2004-05-17  David Jee  <djee@redhat.com>
6966
6967         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6968         (setPixels): Change color model to the default model after
6969         converting pixels.
6970         * java/awt/image/MemoryImageSource.java
6971         (newPixels): Set only the specified rectangle of pixels.
6972
6973 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6974
6975         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6976         -l-java-beans -l-javax-accessibility -l-javax-swing.
6977
6978         * java/awt/AWTEvent.java (toString): Print source's name rather
6979         than the source itself.
6980
6981 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6982
6983         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6984         native.
6985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6986         (gdk_color_to_java_color): New function.
6987         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6988
6989 2004-05-12  David Jee  <djee@redhat.com>
6990
6991         * java/awt/image/RGBImageFilter.java:
6992         Initialize origmodel as null.
6993         (makeColor): Fix pixel component order.
6994         (filterRGBPixels): Fix pixel iteration.
6995         (setPixels): Add extra checks for index color model. Convert pixels
6996         to default color model if necessary.
6997         (convertColorModelToDefault): New override method for byte pixels.
6998         (convertColorModelToDefault): For int pixels, fix pixel iteration.
6999         (makeColorbyDefaultCM): New override method for byte pixels.
7000         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7001         (makeColor): Fix pixel component order.
7002
7003 2004-05-11  Kim Ho  <kho@redhat.com>
7004
7005         * javax/swing/Box.java:
7006         Comment out more parts of Box.Filler.
7007
7008 2004-05-11  Kim Ho  <kho@redhat.com>
7009
7010         * javax/swing/Box.java:
7011         Remove reference to AccessibleAWTComponent so
7012         it compiles again.
7013
7014 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7015
7016         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7017         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7018         implementation of list peer to use GtkTreeView instead of
7019         deprecated GtkCList.
7020
7021 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7022
7023         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7024         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7025         (handleEvent): Remove keyChar argument to
7026         gtkWidgetDispatchKeyEvent calls.
7027         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7028         compiler warnings.
7029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7030         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7031         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7032         Likewise.
7033
7034 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7035
7036         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7037         (gtkWidgetRequestFocus): Mark protected.
7038         (GtkComponentPeer): Only set the peer's bounds if its component
7039         is valid.
7040         * java/awt/Component.java (static): Set the default keyboard
7041         focus manager.
7042         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7043         requestFocusInWindow(temporary)): Don't request focus if the
7044         component is not showing.  Get tree lock before traversing
7045         component hierarchy.
7046         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7047         Only set the global focus owner if it is not a Window.
7048         (processKeyEvent): Consume keystrokes associated with the focus
7049         traversal keystroke.
7050         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7051         downFocusCycle): Call requestFocusInWindow instead of
7052         requestFocus.
7053         * java/awt/EventDispatchThread.java (run): Move setting of
7054         default keyboard focus manager to Component.java.
7055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7056         (awt_keycode_to_keysym): New function.
7057         (gtkWidgetDispatchKeyEvent): Finish implementation.
7058         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7059         (pre_event_handler): Add FIXME comment.
7060
7061         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7062         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7063         (gtkWidgetRequestFocus): New method.
7064         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7065         disable Tab and Shift-Tab keystrokes.
7066         (addNotify, appendText, insertText, replaceText): Simplify peer
7067         retrieval code.
7068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7069         (connectSignals): Remove connections to "commit" signals.
7070         Remove C++-style comments.
7071
7072         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7073         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7074         (handleEvent): Activate GTK button when the space bar key is
7075         pressed.
7076         (gtkActivate): New method.
7077
7078 2004-05-06  David Jee  <djee@redhat.com>
7079
7080         * java/awt/image/CropImageFilter.java
7081         (setPixels): Implement for byte array pixels.
7082         * java/awt/image/ReplicateScaleFilter.java
7083         (setPixels): Implement for byte array pixels.
7084         (replicatePixels): Overload for byte array pixels.
7085
7086 2004-05-06  Kim Ho  <kho@redhat.com>
7087
7088         * javax/swing/Box.java:
7089         (getAccessibleContext): Return an instance of the 
7090         correct class.
7091
7092 2004-05-05  David Jee  <djee@redhat.com>
7093
7094         * gnu/java/awt/peer/gtk/GdkGraphics.java
7095         (drawImage): When component is null, use SystemColor.window as
7096         the default bgcolor.
7097         * gnu/java/awt/peer/gtk/GtkImage.java
7098         (setPixels): We can avoid iterating through the pixel rows only
7099         when height is 1.
7100         * java/awt/Image.java
7101         (getScaledInstance): Partially implement.
7102         * java/awt/image/CropImageFilter.java
7103         (setProperties): Fix "filter" property.
7104         (setPixels): Implement.
7105         * java/awt/image/ReplicateScaleFilter.java
7106         (setDimensions): Use scaled dimensions.
7107         (setPixels): Implement.
7108         (replicatePixels): New method.
7109
7110 2004-05-05  David Jee  <djee@redhat.com>
7111
7112         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7113         (convertPixels): If either pixels or model is null, return null.
7114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7115         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7116         is null, do nothing and return.
7117
7118 2004-05-03  Kim Ho  <kho@redhat.com>
7119
7120         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7121         (getGraphics): Like GtkFramePeer, the Graphics
7122         object needs to be translate to account for
7123         window decorations.
7124         (postMouseEvent): New method. Account for
7125         translation.
7126         (postExposeEvent): ditto.
7127         * javax/swing/Box.java: Stubbed.
7128         * javax/swing/JDialog.java: Ran through jalopy
7129         to fix indentation.
7130         (JDialog): Call SwingUtilities' getOwnerFrame
7131         for null owners.
7132         (setLayout): Check isRootPaneCheckingEnabled
7133         * javax/swing/JOptionPane.java: Re-implemented.
7134         * javax/swing/SwingUtilities.java:
7135         (getOwnerFrame): Static method to grab a default
7136         owner frame for Dialogs that don't specify owners.
7137         * javax/swing/event/SwingPropertyChangeSupport.java:
7138         (firePropertyChange): Fix early exit condition.
7139         * javax/swing/plaf/basic/BasicLabelUI.java:
7140         (paint): Avoid painting text if it is null 
7141         or empty.
7142         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7143         Implement.
7144
7145 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7146
7147         * Makefile.am: Added new file.
7148         * Makefile.in: Regenerate.
7149         * javax/swing/JPopupMenu.java:
7150         Started implementation.
7151         * javax/swing/JWindow.java
7152         (JWindow): call super() if parent for window
7153         is not specified.
7154         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7155         New File. UI Delegate for JPopupMenu.
7156
7157 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7158
7159         * javax/swing/JApplet.java: Indicated that JApplet
7160         implements RootPaneContainer and made method of this
7161         interface public. 
7162         * javax/swing/JFrame.java: Ditto.
7163         * javax/swing/JWindow.java: Ditto.
7164         
7165 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7166
7167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7168         (nativeSetBounds): Call gdk_window_move in addition to
7169         gtk_window_move.
7170
7171         * java/applet/Applet.java (preferredSize): Call parent's
7172         preferredSize if the applet stub is null.
7173         (minimumSize): Likewise for parent's minimumSize.
7174
7175 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7176
7177         * javax/swing/JMenuItem.java
7178         (createActionPropertyChangeListener): Implemented.
7179         (processMouseEvent): Ditto.
7180         (fireMenuDragMouseEntered): Ditto.
7181         (fireMenuDragMouseExited): Ditto.
7182         (fireMenuDragMouseDragged): Ditto.
7183         (fireMenuDragMouseReleased): Ditto.
7184         (menuSelectionChanged): Ditto.
7185         (getSubElements): Ditto.
7186         (getComponent): Ditto.
7187         (addMenuDragMouseListener): Ditto.
7188         (removeMenuDragMouseListener):Ditto.
7189         (addMenuKeyListener): Ditto.
7190         (removeMenuKeyListener): Ditto.
7191         * javax/swing/plaf/basic/BasicMenuItemUI.java
7192         (doClick): Imlemented.
7193         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7194         Don't handle mouse events here. Pass them to 
7195         MenuSelectionManager.
7196         
7197 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7198         Used correct version of jalopy configuration
7199         file to fix style in the files below.
7200
7201 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7202
7203         * javax/swing/JCheckBoxMenuItem.java: 
7204         Fixed style and removed unnecessary comments.
7205         * javax/swing/JMenuItem.java: Ditto.
7206         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7207         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7208         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7209         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7210
7211 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7212
7213         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7214         C-style.
7215
7216         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7217
7218         * java/awt/ContainerOrderFocusTraversalPolicy.java
7219         (getComponentAfter): Start from current component and work up
7220         the component hierarchy until an acceptable component is found.
7221         Synchronize on tree lock.
7222         (getComponentBefore): Likewise.
7223
7224 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7225
7226         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7227         focus-related debugging messages.
7228         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7229         * java/awt/EventDispatchThread.java: Likewise.
7230         * java/awt/KeyboardFocusManager.java: Likewise.
7231         * java/awt/Window.java: Likewise.
7232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7234
7235         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7236         new C++-style comments to C-style comments.
7237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7238
7239         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7240         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7241         (handleEvent): Dispatch key press and key release events to
7242         backing widget.
7243         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7244         (gtkWidgetRequestFocus): New method.
7245         (gtkWidgetDispatchKeyEvent): Likewise.
7246         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7247         requestFocusInWindow, requestFocusInWindow(boolean),
7248         getFocusCycleRootAncestor, nextFocus, transferFocus,
7249         transferFocusBackward, transferFocusUpCycle, hasFocus,
7250         isFocusOwner): Implement and document focus-handling methods.
7251         (setFocusTraversalKeys): Inherit focus traversal keys when
7252         keystrokes argument is null.  Fix focus-handling documentation
7253         throughout class.
7254         * java/awt/Container.java (setFocusTraversalKeys,
7255         getFocusTraversalKeys, areFocusTraversalKeysSet,
7256         isFocusCycleRoot, setFocusTraversalPolicy,
7257         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7258         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7259         Implement and document focus-handling methods.
7260         (transferFocusBackward): Remove method.
7261         (readObject, writeObject): Implement and document serialization
7262         methods.
7263         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7264         and document.
7265         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7266         document.
7267         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7268         partially document.
7269         * java/awt/EventDispatchThread.java (run): Set default keyboard
7270         focus manager.  Attempt to dispatch each event to the keyboard
7271         focus manager before normal dispatch.
7272         * java/awt/KeyboardFocusManager.java: Implement and partially
7273         document.
7274         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7275         (show): Focus initial component when window is shown for the
7276         first time.
7277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7278         (pre_event_handler): Replace complex key press and key release
7279         logic with simple callbacks into GtkComponentPeer.
7280         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7281
7282 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7283
7284         * javax/swing/MenuSelectionManager.java
7285         (componentForPoint): Added new method. 
7286         (defaultManager): New Method. Implemented.
7287         (getSelectedPath): Ditto.
7288         (isComponentPartOfCurrentMenu): Ditto.
7289         (processKeyEvent): Added new method.
7290         (processMouseEvent): New Method. Implemented.
7291         (setSelectedPath): Ditto.
7292         (getPath): Ditto.
7293
7294 2004-04-19  Kim Ho  <kho@redhat.com>
7295
7296         * java/awt/Container.java: 
7297         (remove): Set the component's parent to null.
7298         (getComponentAt): Implement.
7299         * javax/swing/JComponent.java:
7300         (JComponent): Initialize defaultLocale
7301         (getDefaultLocale): Implement.
7302         (setDefaultLocale): ditto.
7303         * javax/swing/JSlider.java:
7304         (JSlider): Fix calculation of value.
7305         * javax/swing/JSplitPane.java: Implement.
7306         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7307         Change SplitPane's default divider size.
7308         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7309         (paint): Remove unused code.
7310         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7311         Added comments and ran through jalopy.
7312         (setBasicSplitPaneUI): Get reference to hidden divider
7313         and set up one touch buttons if necessary.
7314         (setBorder): Fire propertyChangeEvent only if 
7315         borders are different.
7316         (getPreferredSize): Defer to layout manager.
7317         (propertyChange): Implement.
7318         (oneTouchExpandableChanged): ditto.
7319         (createLeftOneTouchButton): Use BasicArrowButton.
7320         (createRightOneTouchButton): ditto.
7321         (moveDividerTo): New method. Moves the divider
7322         to a set location based on the last divider location.
7323         (BasicSplitPaneDivider::MouseHandler): Implement.
7324         (BasicSplitPaneDivider::OneTouchButton): Removed.
7325         (BasicSplitPaneDivider::DragController): Implement.
7326         (BasicSplitPaneDivider::VerticalDragController):
7327         ditto.
7328         (BasicSplitPaneDivider::DividerLayout): ditto.
7329         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7330         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7331         (calculateLayoutInfo): Don't show component if it's
7332         null.
7333         (paintTab): Fix title paint logic.
7334
7335 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7336
7337         PR libgcj/8321
7338         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7339         (setStartRule,setEndRule): Don't take abs of day number.
7340         (getOffset): Clarify docs.  Add argument checks.
7341         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7342         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7343         endTimeMode.
7344         * testsuite/libjava.mauve/xfails
7345         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7346
7347 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7348
7349         Layout interfaces during preparation, not initialization. 
7350         * java/lang/natClass.cc (initializeClass): Move 
7351         _Jv_LayoutInterfaceMethods call...
7352         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7353
7354 2004-05-19  Anthony Green  <green@localhost.localdomain>
7355
7356         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7357         gnu.javax.rmi code.
7358         * Makefile.in: Rebuilt.
7359         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7360         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7361         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7362         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7363         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7364         gnu/javax/rmi/CORBA/DelegateFactory.java,
7365         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7366         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7367         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7368         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7369         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7370         gnu/javax/rmi/PortableServer.java: Remove files.
7371
7372 2004-05-19  Anthony Green  <green@redhat.com>
7373
7374         * Makefile.am: Define JAVA_EXT_DIRS.
7375         * Makefile.in: Rebuilt.
7376         * java/lang/natRuntime.cc (insertSystemProperties): Set
7377         java.ext.dirs property.
7378
7379 2004-05-16  Mark Wielaard  <mark@klomp.org>
7380
7381         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7382
7383 2004-05-15  Mark Wielaard  <mark@klomp.org>
7384
7385         * doc/cni.sgml: Removed, merged into gcj.texi.
7386
7387 2004-05-15  Mark Wielaard  <mark@klomp.org>
7388
7389         * Makefile.am (ordinary_java_source_files): Add new javax.print
7390         classes.
7391         * Makefile.in: Regenerated.
7392
7393 2004-05-15  Michael Koch  <konqueror@gmx.de>
7394
7395         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7396         javax/print/attribute/standard/DateTimeAtCreation.java,
7397         javax/print/attribute/standard/DateTimeAtProcessing.java,
7398         javax/print/attribute/standard/DocumentName.java,
7399         javax/print/attribute/standard/JobHoldUntil.java,
7400         javax/print/attribute/standard/JobImpressionsCompleted.java,
7401         javax/print/attribute/standard/JobMessageFromOperator.java,
7402         javax/print/attribute/standard/JobName.java,
7403         javax/print/attribute/standard/JobOriginatingUserName.java,
7404         javax/print/attribute/standard/JobPriority.java,
7405         javax/print/attribute/standard/JobPrioritySupported.java,
7406         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7407         javax/print/attribute/standard/OutputDeviceAssigned.java,
7408         javax/print/attribute/standard/PrinterInfo.java,
7409         javax/print/attribute/standard/PrinterLocation.java,
7410         javax/print/attribute/standard/PrinterMakeAndModel.java,
7411         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7412         javax/print/attribute/standard/PrinterName.java,
7413         javax/print/attribute/standard/QueuedJobCount.java,
7414         javax/print/attribute/standard/RequestingUserName.java:
7415         Fixed javadocs all over.
7416
7417 2004-05-15  Michael Koch  <konqueror@gmx.de>
7418
7419         * javax/print/DocFlavor.java,
7420         javax/print/attribute/standard/ColorSupported.java,
7421         javax/print/attribute/standard/Compression.java,
7422         javax/print/attribute/standard/CopiesSupported.java,
7423         javax/print/attribute/standard/Fidelity.java,
7424         javax/print/attribute/standard/Finishings.java,
7425         javax/print/attribute/standard/JobImpressionsSupported.java,
7426         javax/print/attribute/standard/JobKOctetsSupported.java,
7427         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7428         javax/print/attribute/standard/JobSheets.java,
7429         javax/print/attribute/standard/JobState.java,
7430         javax/print/attribute/standard/JobStateReason.java,
7431         javax/print/attribute/standard/JobStateReasons.java,
7432         javax/print/attribute/standard/Media.java,
7433         javax/print/attribute/standard/MediaSizeName.java,
7434         javax/print/attribute/standard/MultipleDocumentHandling.java,
7435         javax/print/attribute/standard/NumberUpSupported.java,
7436         javax/print/attribute/standard/OrientationRequested.java,
7437         javax/print/attribute/standard/PDLOverrideSupported.java,
7438         javax/print/attribute/standard/PageRanges.java,
7439         javax/print/attribute/standard/PresentationDirection.java,
7440         javax/print/attribute/standard/PrintQuality.java,
7441         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7442         javax/print/attribute/standard/PrinterMoreInfo.java,
7443         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7444         javax/print/attribute/standard/PrinterResolution.java,
7445         javax/print/attribute/standard/PrinterState.java,
7446         javax/print/attribute/standard/PrinterStateReason.java,
7447         javax/print/attribute/standard/PrinterStateReasons.java,
7448         javax/print/attribute/standard/PrinterURI.java,
7449         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7450         javax/print/attribute/standard/Severity.java,
7451         javax/print/attribute/standard/SheetCollate.java,
7452         javax/print/attribute/standard/Sides.java:
7453         Added serialVersionUID and removed final keyword where it doenst
7454         belong.
7455
7456 2004-05-15  Michael Koch  <konqueror@gmx.de>
7457
7458         * javax/print/PrintServiceLookup.java: New file.
7459
7460 2004-05-15  Michael Koch  <konqueror@gmx.de>
7461
7462         * javax/print/DocFlavor.java:
7463         Implemented all flavor classes.
7464
7465 2004-05-15  Michael Koch  <konqueror@gmx.de>
7466
7467         * javax/print/attribute/standard/ColorSupported.java,
7468         javax/print/attribute/standard/Compression.java,
7469         javax/print/attribute/standard/CopiesSupported.java,
7470         javax/print/attribute/standard/Fidelity.java,
7471         javax/print/attribute/standard/Finishings.java,
7472         javax/print/attribute/standard/JobImpressionsSupported.java,
7473         javax/print/attribute/standard/JobKOctetsSupported.java,
7474         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7475         javax/print/attribute/standard/JobSheets.java,
7476         javax/print/attribute/standard/JobState.java,
7477         javax/print/attribute/standard/JobStateReason.java,
7478         javax/print/attribute/standard/JobStateReasons.java,
7479         javax/print/attribute/standard/Media.java,
7480         javax/print/attribute/standard/MediaSizeName.java,
7481         javax/print/attribute/standard/MultipleDocumentHandling.java,
7482         javax/print/attribute/standard/NumberUpSupported.java,
7483         javax/print/attribute/standard/OrientationRequested.java,
7484         javax/print/attribute/standard/PDLOverrideSupported.java,
7485         javax/print/attribute/standard/PageRanges.java,
7486         javax/print/attribute/standard/PresentationDirection.java,
7487         javax/print/attribute/standard/PrintQuality.java,
7488         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7489         javax/print/attribute/standard/PrinterMoreInfo.java,
7490         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7491         javax/print/attribute/standard/PrinterResolution.java,
7492         javax/print/attribute/standard/PrinterState.java,
7493         javax/print/attribute/standard/PrinterStateReason.java,
7494         javax/print/attribute/standard/PrinterStateReasons.java,
7495         javax/print/attribute/standard/PrinterURI.java,
7496         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7497         javax/print/attribute/standard/Severity.java,
7498         javax/print/attribute/standard/SheetCollate.java,
7499         javax/print/attribute/standard/Sides.java: New files.
7500
7501 2004-05-15  Michael Koch  <konqueror@gmx.de>
7502
7503         * javax/print/Doc.java
7504         (getPrintData): Throws IOException.
7505         (getReaderForText): Likewise.
7506         (getStreamForBytes): Likewise.
7507         * javax/print/DocFlavor.java:
7508         Fixed filename in copyright.
7509         (serialVersionUID): New field.
7510         * javax/print/ServiceUIFactory.java:
7511         Made all constants final.
7512         * javax/print/AttributeException.java
7513         javax/print/MultiDoc.java
7514         javax/print/MultiDocPrintJob.java
7515         javax/print/MultiDocPrintService.java
7516         javax/print/StreamPrintService.java
7517         javax/print/URIException.java: New files.
7518         * javax/print/Makefile.am
7519         (EXTRA_DIST): Added all new files.
7520
7521 2004-05-15  Michael Koch  <konqueror@gmx.de>
7522
7523         * javax/print/attribute/standard/Copies.java,
7524         javax/print/attribute/standard/DateTimeAtCompleted.java,
7525         javax/print/attribute/standard/DateTimeAtCreation.java,
7526         javax/print/attribute/standard/DateTimeAtProcessing.java,
7527         javax/print/attribute/standard/DocumentName.java,
7528         javax/print/attribute/standard/JobHoldUntil.java,
7529         javax/print/attribute/standard/JobImpressions.java,
7530         javax/print/attribute/standard/JobImpressionsCompleted.java,
7531         javax/print/attribute/standard/JobKOctets.java,
7532         javax/print/attribute/standard/JobKOctetsProcessed.java,
7533         javax/print/attribute/standard/JobMediaSheets.java,
7534         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7535         javax/print/attribute/standard/JobMessageFromOperator.java,
7536         javax/print/attribute/standard/JobName.java,
7537         javax/print/attribute/standard/JobOriginatingUserName.java,
7538         javax/print/attribute/standard/JobPriority.java,
7539         javax/print/attribute/standard/JobPrioritySupported.java,
7540         javax/print/attribute/standard/NumberOfDocuments.java,
7541         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7542         javax/print/attribute/standard/NumberUp.java,
7543         javax/print/attribute/standard/OutputDeviceAssigned.java,
7544         javax/print/attribute/standard/PagesPerMinute.java,
7545         javax/print/attribute/standard/PagesPerMinuteColor.java:
7546         Fixed @return tag all over.
7547
7548 2004-05-15  Michael Koch  <konqueror@gmx.de>
7549
7550         * javax/print/attribute/AttributeSetUtilities.java
7551         (verifyCategoryForValue): Fixed typo in javadoc.
7552         * javax/print/attribute/HashAttributeSet.java
7553         (containsKey): Fixed @return tag.
7554         (comtainsValue): Likewise.
7555         (equals): Likewise.
7556         * javax/print/attribute/IntegerSyntax.java
7557         (equals): Likewise.
7558         * javax/print/attribute/ResolutionSyntax.java
7559         (equals): Likewise.
7560         (getCrossFeedResolution): Removed unused code.
7561         (getFeedResolution): Likewise.
7562         * javax/print/attribute/SetOfIntegerSyntax.java
7563         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7564         (equals): Fixed @return tag.
7565         * javax/print/attribute/TextSyntax.java
7566         (TextSyntax): Take locale into account.
7567         (hashCode): Better implementation.
7568
7569 2004-05-15  Michael Koch  <konqueror@gmx.de>
7570
7571         * javax/print/CancelablePrintJob.java,
7572         javax/print/Doc.java,
7573         javax/print/DocFlavor.java,
7574         javax/print/DocPrintJob.java,
7575         javax/print/FlavorException.java,
7576         javax/print/PrintException.java,
7577         javax/print/PrintService.java,
7578         javax/print/ServiceUIFactory.java: New files.
7579
7580 2004-05-15  Mark Wielaard  <mark@klomp.org>
7581
7582         * gnu/regexp/CharIndexedReader.java: Removed.
7583         * gnu/regexp/REFilterReader.java: Likewise.
7584         * gnu/regexp/RETokenLookAhead.java: Likewise.
7585         * Makefile.am (ordinary_java_source_files): Remove above classes.
7586         * Makefile.in: Regenerated.
7587
7588 2004-05-14  Tom Tromey  <tromey@redhat.com>
7589
7590         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7591         not `XGraphicsConfiguration.XOffScreenImage'.
7592
7593 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7594
7595         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7596
7597 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7598
7599         * include/jni.h (_Jv_func): Removed.
7600         (struct JNINativeInterface): Use `void *' for reserved slots.
7601         (struct JNIInvokeInterface): Likewise.
7602
7603 2004-05-11  Michael Koch  <konqueror@gmx.de>
7604
7605         * gnu/java/net/natPlainSocketImplPosix.cc
7606         (read): Fixed typo in expression.
7607
7608 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7609
7610         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7611         ld_library_additions. Adjust all calls to libjava_invoke to match
7612         the new argument.
7613
7614         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7615         path to cxxflagslist.
7616         Pass path of libstdc++ to libjava_invoke.
7617
7618         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7619         libjava_invoke arguments.
7620
7621 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7622
7623         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7624         reality.
7625
7626 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7627
7628         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7629         main binary against the JNI shared library.
7630
7631 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7632
7633         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7634         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7635         (SimpleTimeZone): Tweak docs.  Add new variation.
7636         (setStartRule,setEndRule): Add new variations.  Use
7637         startTimeMode and endTimeMode.
7638
7639 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7640
7641         * java/util/Calendar.java (getActualMinimum,
7642         getActualMaximum):  Remove abstract.  Implement.
7643
7644 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7645
7646         Run the jni tests using the interpreter.
7647         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7648         options_cxx to shared lib compile command.
7649         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7650         they are used to link the shared lib, not the main binary.
7651         Use libjava_invoke to run gij.
7652
7653 2004-05-06  Michael Koch  <konqueror@gmx.de>
7654
7655         * java/util/logging/Level.java
7656         (parse): Use == instead of String.equals().
7657
7658 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7659
7660         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7661         verify_field_signature and verify_method_signature, not 
7662         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7663         (_Jv_ClassReader::handleField): Likewise.
7664         (_Jv_ClassReader::handleMethod): Likewise.
7665
7666 2004-05-06  Michael Koch  <konqueror@gmx.de>
7667
7668         * javax/swing/table/TableColumn.java:
7669         Reformated.
7670
7671 2004-05-06  Michael Koch  <konqueror@gmx.de>
7672
7673         * javax/imageio/spi/ImageReaderWriterSpi.java
7674         (ImageReaderWriterSpi): Made it public.
7675         * javax/imageio/stream/ImageInputStream.java:
7676         Clean up imports.
7677
7678 2004-05-06  Michael Koch  <konqueror@gmx.de>
7679
7680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7681         Removed empty line.
7682
7683 2004-05-06  Michael Koch  <konqueror@gmx.de>
7684
7685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7686         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7687         New files.
7688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7689         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7690         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7691         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7692         their own source file.
7693         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7694         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7695         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7697         (create): Define variable on top of function.
7698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7699         (menu_pos): Prototyped.
7700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7701         (setTitle): Removed.
7702         * jni/gtk-peer/gthread-jni.c
7703         (gdk_threads_wake): Removed.
7704         * Makefile.am (gtk_c_source_files): Added new files
7705         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7706         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7707         * Makefile.in: Regenerated.
7708
7709 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7710
7711         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7712         call.
7713
7714 2004-05-05  Mark Wielaard  <mark@klomp.org>
7715
7716         * javax/swing/AbstractButton.java: Replace special HTML entities with
7717         ASCII equivalent.
7718         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7719         * javax/swing/DefaultButtonModel.java: Likewise.
7720         * javax/swing/DefaultListModel.java: Likewise.
7721         * javax/swing/JList.java: Likewise.
7722         * javax/swing/JSlider.java: Likewise.
7723         * javax/swing/ListModel.java: Likewise.
7724         * javax/swing/Popup.java: Likewise.
7725         * javax/swing/SwingUtilities.java: Likewise.
7726
7727 2004-05-05  Michael Koch  <konqueror@gmx.de>
7728
7729         * javax/swing/AbstractButton.java,
7730         javax/swing/ActionMap.java,
7731         javax/swing/DefaultButtonModel.java,
7732         javax/swing/DefaultListModel.java,
7733         javax/swing/ImageIcon.java,
7734         javax/swing/JComboBox.java,
7735         javax/swing/JComponent.java,
7736         javax/swing/JFrame.java,
7737         javax/swing/JInternalFrame.java,
7738         javax/swing/JMenuBar.java,
7739         javax/swing/JMenuItem.java,
7740         javax/swing/JOptionPane.java,
7741         javax/swing/JProgressBar.java,
7742         javax/swing/JRootPane.java,
7743         javax/swing/JScrollBar.java,
7744         javax/swing/JScrollPane.java,
7745         javax/swing/JSeparator.java,
7746         javax/swing/JSlider.java,
7747         javax/swing/JTabbedPane.java,
7748         javax/swing/JTable.java,
7749         javax/swing/JTextField.java,
7750         javax/swing/JToolBar.java,
7751         javax/swing/JToolTip.java,
7752         javax/swing/JTree.java,
7753         javax/swing/JViewport.java,
7754         javax/swing/JWindow.java,
7755         javax/swing/KeyStroke.java,
7756         javax/swing/LookAndFeel.java,
7757         javax/swing/SwingUtilities.java,
7758         javax/swing/Timer.java,
7759         javax/swing/ToolTipManager.java,
7760         javax/swing/UIDefaults.java,
7761         javax/swing/border/TitledBorder.java,
7762         javax/swing/filechooser/FileSystemView.java,
7763         javax/swing/plaf/basic/BasicButtonListener.java,
7764         javax/swing/plaf/basic/BasicButtonUI.java,
7765         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7766         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7767         javax/swing/plaf/basic/BasicLabelUI.java,
7768         javax/swing/plaf/basic/BasicMenuItemUI.java,
7769         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7770         javax/swing/plaf/basic/BasicRootPaneUI.java,
7771         javax/swing/plaf/basic/BasicScrollBarUI.java,
7772         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7773         javax/swing/plaf/basic/BasicSliderUI.java,
7774         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7775         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7776         javax/swing/table/JTableHeader.java,
7777         javax/swing/text/AbstractDocument.java,
7778         javax/swing/text/DefaultCaret.java,
7779         javax/swing/text/StyledEditorKit.java,
7780         javax/swing/tree/DefaultTreeCellEditor.java:
7781         Cleaned up imports.
7782
7783 2004-05-05  Michael Koch  <konqueror@gmx.de>
7784
7785         * java/util/prefs/AbstractPreferences.java
7786         (AbstractPreferences): Added parenthesis for clarity.
7787         Closes classpath bug #7940.
7788
7789 2004-05-05  Tom Tromey  <tromey@redhat.com>
7790
7791         * javax/naming/CompoundName.java (endsWith): Look at correct
7792         element of source name.
7793
7794 2004-05-05  Mark Wielaard  <mark@klomp.org>
7795
7796         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7797         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7798
7799 2004-05-05  Tom Tromey  <tromey@redhat.com>
7800
7801         * java/io/BufferedReader.java (skip): Removed unused
7802         variable.
7803
7804 2004-05-05  Michael Koch  <konqueror@gmx.de>
7805
7806         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7807
7808 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7809
7810         * java/text/AttributedString.java,
7811         java/text/AttributedStringIterator.java,
7812         java/text/Collator.java,
7813         java/text/DecimalFormatSymbols.java,
7814         java/text/NumberFormat.java,
7815         java/text/RuleBasedCollator.java:
7816         Cleaned up imports.
7817
7818 2004-05-05  Tom Tromey  <tromey@redhat.com>
7819
7820         * java/text/Format.java: Cleaned up imports.
7821         * java/text/DecimalFormat.java: Cleaned up imports.
7822         * java/security/SecureRandom.java: Cleaned up imports.
7823         (SecureRandom): Removed unused variable.
7824         * java/security/UnresolvedPermission.java: Cleaned up imports.
7825         * java/util/Date.java (parse): Removed unused variable.
7826         * java/util/ResourceBundle.java: Cleaned up imports.
7827         (getBundle): Removed unused variable.
7828         (tryBundle): Likewise.
7829         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7830
7831 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7832
7833         * java/text/SimpleDateFormat.java:
7834         (formatWithAttribute): New method. It implements
7835         the formatting process with attributes.
7836         (format): Use formatWithAttribute.
7837         (formatToCharacterIterator): New method. Use
7838         formatWithAttribute.
7839
7840 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7841
7842         * java/text/MessageFormat.java:
7843         (class Field): New class.
7844         (formatToCharacterIterator): New method.
7845         (format): Use formatInternal now.
7846         (formatInternal): New method. String formatter should
7847         be done here (with attributes). Attributes merging supported.
7848         (parse): More documentation.
7849         (getFormatsByArgumentIndex): New method.
7850         (setFormatByArgumentIndex): New method.
7851         (setFormatsByArgumentIndex): New method.
7852
7853 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7854
7855         * java/text/DecimalFormat.java
7856         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7857         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7858         (parse): Fixed handling of exponentiation notation and grouping.
7859
7860 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7861
7862         * java/text/DecimalFormat.java
7863         (scanFix): Build attribute array. Fixed error reporting.
7864         (applyPatternWithSymbols): Store attributes for the prefix and
7865         suffix.
7866         (formatInternal): New method. Changed the way the string is
7867         computed. Implemented attributes. Cleant up rounding in
7868         exponential notation.
7869         (format): Use formatInternal.
7870         (formatToCharacterIterator): New method.
7871         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7872         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7873         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7874         New fields.
7875
7876 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7877
7878         * java/security/interfaces/DSAKeyPairGenerator.java,
7879         java/security/interfaces/DSAPrivateKey.java,
7880         java/security/interfaces/DSAPublicKey.java,
7881         java/security/interfaces/RSAPrivateKey.java,
7882         java/security/interfaces/RSAPublicKey.java:
7883         Cleaned up imports.
7884
7885 2004-05-04  Michael Koch  <konqueror@gmx.de>
7886
7887         * java/nio/ByteBuffer.java,
7888         java/nio/CharBuffer.java,
7889         java/nio/DoubleBuffer.java,
7890         java/nio/FloatBuffer.java,
7891         java/nio/IntBuffer.java,
7892         java/nio/LongBuffer.java,
7893         java/nio/ShortBuffer.java:
7894         (compareTo): Fixed bogus implementation in all buffer classes.
7895
7896 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7897
7898         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7899         32 bit pixels not 8 bit pixels.
7900         (isCompatibleRaster): Added javadoc comment.
7901
7902 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7903
7904         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7905         scanline stride.
7906
7907 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7908
7909         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7910         (getColorModel): Return the actual color model.
7911         (getRaster): Implemented.
7912         (ColorRaster): New inner class.
7913         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7914         a PaintContext.
7915         * java/awt/Color.java (<init>): Make exception more verbose.
7916         (createContext): Use ColorModel when creating a PaintContext.
7917
7918 2004-05-04  Michael Koch  <konqueror@gmx.de>
7919
7920         * gnu/java/text/CharacterBreakIterator.java
7921         (previous): Removed unused variable.
7922
7923 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7924
7925         * gnu/java/text/FormatBuffer.java,
7926         gnu/java/text/AttributedFormatBuffer.java,
7927         gnu/java/text/StringFormatBuffer.java: New classes to implement
7928         attributed iterators in java.text.
7929         * gnu/java/text/FormatCharacterIterator.java: Moved 
7930         from java/text as it is an internal class.
7931         * java/text/FormatCharacterIterator.java: Removed.
7932         * java/text/Format.java:
7933         Import gnu.java.text.FormatCharacterIterator.
7934         * Makefile.am (java_source_files): Added new files.
7935         * Makefile.in: Regenerated.
7936         
7937
7938 2004-05-04  Mark Wielaard  <mark@klomp.org>
7939
7940         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7941
7942 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7943
7944         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7945         * Makefile.in: Rebuilt.
7946
7947 2004-05-03  Mark Wielaard  <mark@klomp.org>
7948
7949         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7950         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7951         * java/net/URL.java
7952         (set(String, String, int, String, String, String, String, String)):
7953         Assign this.file to path or path + "?" + query.
7954         * java/util/Arrays.java: Call static methods staticly.
7955         * java/util/zip/ZipEntry.java: Likewise.
7956         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7957         dir to this.direction.
7958         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7959         Assign static field only once.
7960         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7961
7962 2004-05-03  Mark Wielaard  <mark@klomp.org>
7963
7964         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7965         unused variables hScrollbarHeight and vScrollbarWidth.
7966         (preferredSize): Likewise.
7967         * gnu/java/security/provider/DSAParameters.java (engineToString):
7968         Removed unused call to System.getProperty("line.seperator");
7969         * java/security/Security.java (loadProviders): Return result.
7970
7971 2004-05-03  Tom Tromey  <tromey@redhat.com>
7972
7973         * java/net/URLStreamHandler.java (toExternalForm): Removed
7974         unused variables.
7975         unused constructor.
7976         * java/math/BigDecimal.java (divide): Removed unused variable.
7977         * java/lang/Throwable.java: Cleaned up imports.
7978         * java/lang/ClassLoader.java: Cleaned up imports.
7979         * java/io/FilePermission.java (implies): Removed unused
7980         variable.
7981         * java/awt/TextComponent.java: Removed unused import.
7982         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7983         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7984         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7985         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7986         import.
7987         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7988         * gnu/java/text/CharacterBreakIterator.java: Removed
7989         unused import.
7990         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7991         Cleaned up imports.
7992         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7993         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7994         unused method.
7995         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7996         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7997         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7998         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7999         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8000         (lookupProviders): Removed unused variable.
8001         (loadNextServiceProvider): Likewise.
8002         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8003
8004 2004-05-03  Michael Koch  <konqueror@gmx.de>
8005
8006         Fixes PR libgcj/14695:
8007         * java/net/NetworkInterface.java
8008         (getByName): Return null when no interface was found.
8009
8010 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8011             Tom Tromey  <tromey@redhat.com>
8012
8013         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8014         additional option "-Wmissing-prototypes" for compiling C sources.
8015         Print actual filename for pass/fail rather than $name.c.
8016         * testsuite/libjava.jni/PR15133.java: New testcase file.
8017         * testsuite/libjava.jni/PR15133.c: Likewise.
8018         * testsuite/libjava.jni/PR15133.out: Likewise.
8019
8020 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8021
8022         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8023         ceil and floor.
8024
8025 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8026         
8027         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8028         limit the maximum heap size to avoid unnecessary thrashing.
8029
8030 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8031
8032         * java/text/CollationElementIterator.java (reset): Reset
8033         lookahead variables.
8034
8035 2004-04-23  Mark Wielaard  <mark@klomp.org>
8036
8037         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8038
8039 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8040
8041         * java/sql/DriverManager.java:
8042         Cleaned up imports.
8043
8044 2004-04-23  Michael Koch  <konqueror@gmx.de>
8045
8046         * java/net/URL.java
8047         (hashcode): Don't initialize with default value explicitely.
8048         (getContent): Removed redundant "final" keyword.
8049         (openStream): Likewise.
8050         (getURLStreamHandler): Fixed coding style.
8051         * java/net/URLConnection.java
8052         (defaultAllowUserInteraction): Don't initialize with default value
8053         explicitely.
8054         (connected): Likewise.
8055         (doOutput): Likewise.
8056         (ifModifiedSince): Likewise.
8057         (dateformats_initialized): Likewise.
8058         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8059
8060 2004-04-23  Michael Koch  <konqueror@gmx.de>
8061
8062         * gnu/java/nio/channels/FileChannelImpl.java
8063         (SET, CUR): Unused, removed.
8064         (read): Implement here directly.
8065         (implRead): Removed.
8066         (write): Implement here directly.
8067         (implWrite): Removed.
8068
8069 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8070
8071         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8072         javax/rmi/CORBA/Stub.java,
8073         javax/rmi/CORBA/Util.java,
8074         javax/rmi/CORBA/ValueHandler.java,
8075         javax/rmi/CORBA/ValueHandler.java,
8076         javax/rmi/PortableRemoteObject.java:
8077         Cleaned up imports.
8078
8079 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8080
8081         * java/util/jar/JarFile.java,
8082         java/util/jar/JarInputStream.java,
8083         java/util/jar/JarOutputStream.java,
8084         java/util/jar/Manifest.java:
8085         Cleaned up imports.
8086
8087 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8088
8089         * java/util/ArrayList.java,
8090         java/util/Calendar.java,
8091         java/util/Currency.java,
8092         java/util/HashMap.java,
8093         java/util/HashSet.java,
8094         java/util/Hashtable.java,
8095         java/util/LinkedList.java,
8096         java/util/Properties.java,
8097         java/util/PropertyPermission.java,
8098         java/util/TimeZone.java,
8099         java/util/TreeMap.java,
8100         java/util/TreeSet.java,
8101         java/util/Vector.java,
8102         java/util/WeakHashMap.java:
8103         Cleaned up imports.
8104
8105 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8106
8107         * java/util/logging/FileHandler.java,
8108         java/util/logging/Formatter.java,
8109         java/util/logging/Handler.java,
8110         java/util/logging/Logger.java,
8111         java/util/logging/SimpleFormatter.java,
8112         java/util/logging/XMLFormatter.java:
8113         Cleaned up imports.
8114
8115 2004-04-22  Mark Wielaard  <mark@klomp.org>
8116
8117         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8118         -Wno-long-long flags variable.
8119         (gtk_c_files): Use PEDANTIC_CFLAGS.
8120         * Makefile.in: Regenerated.
8121
8122 2004-04-22  Mark Wielaard  <mark@klomp.org>
8123
8124         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8125         Changed C++ comments into C comments.
8126         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8127         Likewise.
8128
8129 2004-04-22  Michael Koch  <konqueror@gmx.de>
8130
8131         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8132         Merged copyright year with GNU classpath.
8133
8134 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8135
8136         * javax/security/auth/x500/X500Principal.java:
8137         Cleaned up imports.
8138
8139 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8140
8141         * javax/swing/JSlider.java:
8142         Fixed HTML tags in comments.
8143
8144 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8145
8146         * javax/accessibility/AccessibleText.java:
8147         Cleaned up imports.
8148
8149 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8150
8151         * java/net/URLStreamHandler.java
8152         (parseURL): Convert the file path to using '/' instead of native
8153         file separator.
8154
8155 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8156
8157         * java/net/URL.java
8158         (userInfo): New field.
8159         (URL): Set authority to the right value.
8160         (setURL): Fixed authority and file initialization.
8161         * java/net/URLStreamHandler.java
8162         (parseURL): Take care of the query tag. Build authority.
8163         (toExternalForm): Fixed URL building using authority.
8164
8165 2004-04-22  Michael Koch  <konqueror@gmx.de>
8166
8167         * java/net/Socket.java
8168         (impl): Made package-private.
8169         * java/net/ServerSocket.java
8170         (implAccept): Access Socket.impl field directly.
8171
8172 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8173
8174         * java/util/prefs/Preferences.java,
8175         java/util/prefs/InvalidPreferencesFormatException.java,
8176         java/util/prefs/BackingStoreException.java,
8177         java/util/prefs/AbstractPreferences.java:
8178         Cleaned up imports.
8179
8180 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8181
8182         * java/util/regex/Matcher.java,
8183         java/util/regex/Pattern.java:
8184         Cleaned up imports.
8185
8186 2004-04-22  Michael Koch  <konqueror@gmx.de>
8187
8188         * java/nio/charset/IllegalCharsetNameException.java
8189         (charsetName): Made private.
8190         (IllegalCharsetNameException): Added @param tag to javadoc.
8191         (getCharsetName): Added @return tag to javadoc.
8192         * java/nio/charset/MalformedInputException.java
8193         (MalformedInputException): Added @param tag to javadoc.
8194         (getInputLength): Revised method description, added @return tag.
8195         (getMessage): Added @return tag.
8196
8197 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8198
8199         * java/awt/Font.java (deriveFont): Implement missing variants.
8200         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8201         missing variants.
8202
8203 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8204
8205         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8206         Set method->index values for interface methods to their itable index.
8207         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8208
8209 2004-04-21  Michael Koch  <konqueror@gmx.de>
8210
8211         * java/nio/DirectByteBufferImpl.java
8212         (shiftDown): Made static, give address as argument and
8213         provide a convenience method that overwrites shiftDown in
8214         ByteBufferImpl and calls the native shiftDown.
8215         * java/nio/MappedByteBufferImpl.java
8216         (): Use optimized method in DirectByteBufferImpl.
8217         * java/nio/natDirectByteBufferImpl.cc
8218         (shiftDown): Changed method signature. Removed usage of array_offset.
8219
8220 2004-04-21  Michael Koch  <konqueror@gmx.de>
8221
8222         * gnu/java/net/natPlainSocketImplPosix.cc
8223         (SocketInputStream::read): Make sure returned data is a byte value.
8224
8225 2004-04-21  Michael Koch  <konqueror@gmx.de>
8226
8227         * gnu/classpath/ServiceFactory.java,
8228         gnu/classpath/ServiceProviderLoadingAction.java,
8229         javax/imageio/ImageReader.java,
8230         javax/imageio/ImageTranscoder.java,
8231         javax/imageio/ImageWriter.java,
8232         javax/imageio/package.html,
8233         javax/imageio/spi/IIOServiceProvider.java,
8234         javax/imageio/spi/ImageInputStreamSpi.java,
8235         javax/imageio/spi/ImageOutputStreamSpi.java,
8236         javax/imageio/spi/ImageReaderWriterSpi.java,
8237         javax/imageio/spi/ImageTranscoderSpi.java,
8238         javax/imageio/spi/RegisterableService.java,
8239         javax/imageio/spi/ServiceRegistry.java,
8240         javax/imageio/spi/package.html,
8241         javax/imageio/stream/IIOByteBuffer.java,
8242         javax/imageio/stream/ImageInputStream.java,
8243         javax/imageio/stream/ImageOutputStream.java,
8244         javax/imageio/stream/package.html:
8245         New files.
8246         * Makefile.am
8247         (ordinary_java_source_files): Added
8248         gnu/classpath/ServiceFactory.java and
8249         gnu/classpath/ServiceProviderLoadingAction.java.
8250         (javax_source_files): Added
8251         javax/imageio/ImageReader.java,
8252         javax/imageio/ImageTranscoder.java,
8253         javax/imageio/ImageWriter.java,
8254         javax/imageio/spi/IIOServiceProvider.java,
8255         javax/imageio/spi/ImageInputStreamSpi.java,
8256         javax/imageio/spi/ImageOutputStreamSpi.java,
8257         javax/imageio/spi/ImageReaderWriterSpi.java,
8258         javax/imageio/spi/ImageTranscoderSpi.java,
8259         javax/imageio/spi/RegisterableService.java,
8260         javax/imageio/spi/ServiceRegistry.java,
8261         javax/imageio/stream/IIOByteBuffer.java,
8262         javax/imageio/stream/ImageInputStream.java and
8263         javax/imageio/stream/ImageOutputStream.java.
8264         * Makefile.in: Regenerated.
8265
8266 2004-04-21  Michael Koch  <konqueror@gmx.de>
8267
8268         * java/util/Properties.java
8269         (load): Fix wrongly merged fix.
8270
8271 2004-04-21  Mark Wielaard  <mark@klomp.org>
8272
8273         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8274         malloc and free buf.
8275
8276 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8277
8278         * javax/naming/AuthenticationException.java,
8279         javax/naming/AuthenticationNotSupportedException.java,
8280         javax/naming/CannotProceedException.java,
8281         javax/naming/CommunicationException.java,
8282         javax/naming/CompoundName.java,
8283         javax/naming/ConfigurationException.java,
8284         javax/naming/ContextNotEmptyException.java,
8285         javax/naming/InitialContext.java,
8286         javax/naming/InsufficientResourcesException.java,
8287         javax/naming/InterruptedNamingException.java,
8288         javax/naming/LimitExceededException.java,
8289         javax/naming/LinkException.java,
8290         javax/naming/LinkLoopException.java,
8291         javax/naming/LinkRef.java,
8292         javax/naming/MalformedLinkException.java,
8293         javax/naming/Name.java,
8294         javax/naming/NameAlreadyBoundException.java,
8295         javax/naming/NameNotFoundException.java,
8296         javax/naming/NamingSecurityException.java,
8297         javax/naming/NoInitialContextException.java,
8298         javax/naming/NoPermissionException.java,
8299         javax/naming/NotContextException.java,
8300         javax/naming/PartialResultException.java,
8301         javax/naming/ReferralException.java,
8302         javax/naming/ServiceUnavailableException.java,
8303         javax/naming/SizeLimitExceededException.java,
8304         javax/naming/TimeLimitExceededException.java,
8305         javax/naming/directory/Attribute.java,
8306         javax/naming/directory/Attributes.java,
8307         javax/naming/directory/SearchResult.java,
8308         javax/naming/event/NamingExceptionEvent.java,
8309         javax/naming/spi/ResolveResult.java:
8310         Cleaned up imports.
8311
8312 2004-04-21  Mark Wielaard  <mark@klomp.org>
8313
8314         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8315         Changed C++ comments into C comments. Removed commented out code.
8316         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8317         Likewise.
8318         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8319         Likewise.
8320         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8321         Likewise.
8322         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8323         Likewise.
8324         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8325         Likewise.
8326         * native/jni/gtk-peer/gthread-jni.c:
8327         Likewise.
8328
8329 2004-04-21  Mark Wielaard  <mark@klomp.org>
8330
8331         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8332         static fields defined in interface.
8333         * javax/awt/JDialog.java: Likewise.
8334         (JDialog): Make constructors public.
8335         (getDefaultCloseOperation): Make public.
8336         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8337         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8338         * javax/swing/JViewport.java (JViewport): Make constructor public.
8339
8340 2004-04-21  Michael Koch  <konqueror@gmx.de>
8341
8342         * java/util/Map.java
8343         (Entry): Removed redundant "static" modifier.
8344         * java/text/AttributedCharacterIterator.java:
8345         Updated copyright year.
8346
8347 2004-04-20  Michael Koch  <konqueror@gmx.de>
8348
8349         * javax/naming/directory/SearchControls.java:
8350         Don't explicitely extend java.lang.Object.
8351         * javax/naming/spi/DirStateFactory.java:
8352         Merged copyright year with GNU classpath.
8353
8354 2004-04-20  Michael Koch  <konqueror@gmx.de>
8355
8356         * java/nio/channels/Channels.java:
8357         Merged coding style with GNU classpath.
8358
8359 2004-04-20  Michael Koch  <konqueror@gmx.de>
8360
8361         * java/net/ServerSocket.java
8362         Merged coding style from GNU classpath.
8363
8364 2004-04-20  Michael Koch  <konqueror@gmx.de>
8365
8366         * java/io/BufferedWriter.java:
8367         Reordered variables to be at top of the class.
8368         (localFlush): Removed redundant final keyword.
8369
8370 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8371
8372         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8373
8374 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8375
8376         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8377         for percent and permill check.
8378
8379 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8380
8381         * java/text/FieldPosition.java
8382         (FieldPosition) Constructor now behaves as it should according
8383         to the java documentation.
8384
8385 2004-04-20  Mark Wielaard  <mark@klomp.org>
8386
8387         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8388         documentation.
8389
8390 2004-04-20  Michael Koch  <konqueror@gmx.de>
8391
8392         * java/nio/Buffer.java,
8393         java/nio/channels/AlreadyConnectedException.java,
8394         java/nio/channels/AsynchronousCloseException.java,
8395         java/nio/channels/ByteChannel.java,
8396         java/nio/channels/CancelledKeyException.java,
8397         java/nio/channels/Channel.java,
8398         java/nio/channels/Channels.java,
8399         java/nio/channels/ClosedByInterruptException.java,
8400         java/nio/channels/ClosedChannelException.java,
8401         java/nio/channels/ClosedSelectorException.java,
8402         java/nio/channels/ConnectionPendingException.java,
8403         java/nio/channels/DatagramChannel.java,
8404         java/nio/channels/FileChannel.java,
8405         java/nio/channels/FileLock.java,
8406         java/nio/channels/FileLockInterruptionException.java,
8407         java/nio/channels/GatheringByteChannel.java,
8408         java/nio/channels/IllegalBlockingModeException.java,
8409         java/nio/channels/IllegalSelectorException.java,
8410         java/nio/channels/InterruptibleChannel.java,
8411         java/nio/channels/NoConnectionPendingException.java,
8412         java/nio/channels/NonReadableChannelException.java,
8413         java/nio/channels/NonWritableChannelException.java,
8414         java/nio/channels/NotYetBoundException.java,
8415         java/nio/channels/NotYetConnectedException.java,
8416         java/nio/channels/OverlappingFileLockException.java,
8417         java/nio/channels/Pipe.java,
8418         java/nio/channels/ReadableByteChannel.java,
8419         java/nio/channels/ScatteringByteChannel.java,
8420         java/nio/channels/SelectableChannel.java,
8421         java/nio/channels/SelectionKey.java,
8422         java/nio/channels/Selector.java,
8423         java/nio/channels/ServerSocketChannel.java,
8424         java/nio/channels/SocketChannel.java,
8425         java/nio/channels/UnresolvedAddressException.java,
8426         java/nio/channels/UnsupportedAddressTypeException.java,
8427         java/nio/channels/WritableByteChannel.java,
8428         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8429         java/nio/channels/spi/AbstractSelectableChannel.java,
8430         java/nio/channels/spi/AbstractSelectionKey.java,
8431         java/nio/channels/spi/AbstractSelector.java,
8432         java/nio/channels/spi/SelectorProvider.java,
8433         java/nio/charset/spi/CharsetProvider.java:
8434         Fixed javadocs and jalopied all over java.nio.
8435
8436 2004-04-20  Michael Koch  <konqueror@gmx.de>
8437
8438         * java/nio/ByteBufferImpl.java,
8439         java/nio/CharBufferImpl.java,
8440         java/nio/DirectByteBufferImpl.java,
8441         java/nio/DoubleBufferImpl.java,
8442         java/nio/DoubleViewBufferImpl.java,
8443         java/nio/FloatBufferImpl.java,
8444         java/nio/FloatViewBufferImpl.java,
8445         java/nio/IntBufferImpl.java,
8446         java/nio/IntViewBufferImpl.java,
8447         java/nio/LongBufferImpl.java,
8448         java/nio/LongViewBufferImpl.java,
8449         java/nio/MappedByteBufferImpl.java,
8450         java/nio/ShortBufferImpl.java,
8451         java/nio/ShortViewBufferImpl.java:
8452         Made sure all classes are final and removed final keyword from all
8453         methods.
8454
8455 2004-04-20  Michael Koch  <konqueror@gmx.de>
8456
8457         * java/rmi/MarshalledObject.java,
8458         java/rmi/Naming.java,
8459         java/rmi/RemoteException.java,
8460         java/rmi/activation/ActivationException.java,
8461         java/rmi/server/ServerCloneException.java,
8462         java/security/AccessController.java,
8463         java/security/AlgorithmParameterGenerator.java,
8464         java/security/AlgorithmParameters.java,
8465         java/security/CodeSource.java,
8466         java/security/Identity.java,
8467         java/security/IdentityScope.java,
8468         java/security/KeyPairGenerator.java,
8469         java/security/KeyStore.java,
8470         java/security/Security.java,
8471         java/security/Signature.java,
8472         java/security/SignatureSpi.java,
8473         java/security/SignedObject.java,
8474         java/security/spec/DSAParameterSpec.java,
8475         java/security/spec/DSAPrivateKeySpec.java,
8476         java/security/spec/DSAPublicKeySpec.java,
8477         java/sql/Array.java,
8478         java/sql/DatabaseMetaData.java,
8479         java/sql/ResultSet.java,
8480         java/text/ChoiceFormat.java,
8481         java/text/CollationElementIterator.java,
8482         java/text/CollationKey.java,
8483         java/text/Collator.java,
8484         java/text/DateFormat.java,
8485         java/text/DateFormatSymbols.java,
8486         java/text/DecimalFormatSymbols.java,
8487         java/text/Format.java,
8488         java/text/ParsePosition.java,
8489         java/text/RuleBasedCollator.java,
8490         java/text/SimpleDateFormat.java,
8491         java/text/StringCharacterIterator.java,
8492         java/util/Collections.java,
8493         java/util/PropertyResourceBundle.java,
8494         java/util/ResourceBundle.java,
8495         java/util/StringTokenizer.java,
8496         java/util/jar/Attributes.java,
8497         java/util/logging/ConsoleHandler.java,
8498         java/util/logging/LogManager.java,
8499         java/util/logging/MemoryHandler.java,
8500         java/util/logging/SocketHandler.java,
8501         javax/naming/NamingException.java:
8502         Fixed javadoc, coding style and argument names all over.
8503
8504 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8505
8506         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8507         constructor. (valid) Added null check.
8508
8509 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8510
8511         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8512         * java/io/FileOutputStream.java
8513         (FileOutputStream) Reorganized constructors. Constructors now
8514         check whether the given path is directory.
8515
8516 2004-04-20  Michael Koch  <konqueror@gmx.de>
8517
8518         * java/net/Authenticator.java,
8519         java/net/BindException.java,
8520         java/net/ConnectException.java,
8521         java/net/ContentHandler.java,
8522         java/net/ContentHandlerFactory.java,
8523         java/net/DatagramPacket.java,
8524         java/net/DatagramSocket.java,
8525         java/net/DatagramSocketImpl.java,
8526         java/net/DatagramSocketImplFactory.java,
8527         java/net/FileNameMap.java,
8528         java/net/HttpURLConnection.java,
8529         java/net/Inet4Address.java,
8530         java/net/Inet6Address.java,
8531         java/net/InetAddress.java,
8532         java/net/InetSocketAddress.java,
8533         java/net/JarURLConnection.java,
8534         java/net/MalformedURLException.java,
8535         java/net/MulticastSocket.java,
8536         java/net/NetPermission.java,
8537         java/net/NetworkInterface.java,
8538         java/net/NoRouteToHostException.java,
8539         java/net/PasswordAuthentication.java,
8540         java/net/PortUnreachableException.java,
8541         java/net/ProtocolException.java,
8542         java/net/ServerSocket.java,
8543         java/net/Socket.java,
8544         java/net/SocketAddress.java,
8545         java/net/SocketException.java,
8546         java/net/SocketImpl.java,
8547         java/net/SocketImplFactory.java,
8548         java/net/SocketOptions.java,
8549         java/net/SocketPermission.java,
8550         java/net/SocketTimeoutException.java,
8551         java/net/URI.java,
8552         java/net/URISyntaxException.java,
8553         java/net/URL.java,
8554         java/net/URLClassLoader.java,
8555         java/net/URLConnection.java,
8556         java/net/URLDecoder.java,
8557         java/net/URLEncoder.java,
8558         java/net/URLStreamHandler.java,
8559         java/net/URLStreamHandlerFactory.java,
8560         java/net/UnknownHostException.java,
8561         java/net/UnknownServiceException.java:
8562         Fixed javadocs, coding style and argument names all over.
8563
8564 2004-04-20  Michael Koch  <konqueror@gmx.de>
8565
8566         * java/lang/Byte.java,
8567         java/lang/CharSequence.java,
8568         java/lang/ClassLoader.java,
8569         java/lang/Compiler.java,
8570         java/lang/Double.java,
8571         java/lang/Float.java,
8572         java/lang/Integer.java,
8573         java/lang/Long.java,
8574         java/lang/Math.java,
8575         java/lang/Number.java,
8576         java/lang/Package.java,
8577         java/lang/Runtime.java,
8578         java/lang/RuntimePermission.java,
8579         java/lang/SecurityManager.java,
8580         java/lang/Short.java,
8581         java/lang/StringBuffer.java,
8582         java/lang/System.java,
8583         java/lang/ThreadGroup.java,
8584         java/lang/Throwable.java,
8585         java/lang/reflect/InvocationHandler.java,
8586         java/lang/reflect/Proxy.java:
8587         Fixed javadocs, coding style and argument names all over.
8588
8589 2004-04-20  Michael Koch  <konqueror@gmx.de>
8590
8591         * java/io/BufferedWriter.java,
8592         java/io/ByteArrayInputStream.java,
8593         java/io/CharArrayWriter.java,
8594         java/io/DataInput.java,
8595         java/io/DataInputStream.java,
8596         java/io/File.java,
8597         java/io/FilterInputStream.java,
8598         java/io/InputStream.java,
8599         java/io/InputStreamReader.java,
8600         java/io/ObjectInputStream.java,
8601         java/io/ObjectStreamClass.java,
8602         java/io/PipedInputStream.java,
8603         java/io/PipedReader.java,
8604         java/io/PushbackInputStream.java,
8605         java/io/PushbackReader.java,
8606         java/io/RandomAccessFile.java,
8607         java/io/SerializablePermission.java,
8608         java/io/StreamTokenizer.java,
8609         java/io/StringWriter.java,
8610         java/io/WriteAbortedException.java,
8611         java/io/Writer.java:
8612         Fixed javadocs all over, rename arguments to match javadocs,
8613         fixed coding style.
8614
8615 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8616
8617         * java/awt/FontMetrics.java:
8618         (charsWidth): fixed accumulation of total_width
8619         (getWidth): simple default implementation
8620         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8621         in Rectangle constructor.
8622         * java/awt/image/Raster.java (toString): Added method. 
8623         * java/awt/image/SampleModel.java (<init>): Added error cause
8624         information to thrown exception.
8625         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8626         New method.
8627         (setDataElements): New method.
8628         (setPixels): New method.
8629         (toString): New method.
8630
8631 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8632
8633         * java/awt/image/ComponentColorModel.java
8634         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8635         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8636         Mauve tests on this method. Improved documentation.
8637
8638 2004-04-20  Michael Koch  <konqueror@gmx.de>
8639
8640         * javax/swing/JLayeredPane.java,
8641         javax/swing/plaf/BorderUIResource.java,
8642         javax/swing/plaf/ComponentUI.java,
8643         javax/swing/undo/CompoundEdit.java,
8644         javax/swing/undo/StateEdit.java:
8645         Fixed HTML tags in javadocs all over.
8646
8647 2004-04-20  Michael Koch  <konqueror@gmx.de>
8648
8649         * javax/print/attribute/EnumSyntax.java
8650         (getOffset): Made protected.
8651         * javax/print/attribute/HashAttributeSet.java
8652         (HashAttributeSet): Likewise.
8653         * javax/print/attribute/ResolutionSyntax.java
8654         (getFeedResolution): Fixed typo in exception name.
8655         (getCrossFeedResolution): Likewise.
8656         * javax/print/attribute/SetOfIntegerSyntax.java
8657         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8658         * javax/print/attribute/TextSyntax.java
8659         (TextSyntax): Handle locale correctly.
8660         (hashCode): Calc better hashcode value.
8661         (equals): Fixed @return tag.
8662         (toString): New method.
8663
8664 2004-04-20  Michael Koch  <konqueror@gmx.de>
8665
8666         * gnu/java/nio/FileLockImpl.java
8667         (static): Removed, not needed anymore.
8668         * gnu/java/nio/channels/FileChannelImpl.java
8669         (FileChannelImpl): Made final.
8670         (mode): Made private.
8671         (READ, WRITE, APPEND): Made public.
8672         (EXCL, SYNC, DSYNC): Likewise.
8673         (static): Load native JNI library, when needed.
8674         (length): Unused, removed.
8675         (available): Made public.
8676         (implPosition): Throws IOException.
8677         (seek): Likewise.
8678         (implTruncate): Likewise.
8679         (unlock): Likewise.
8680         (lock): Likewise.
8681
8682 2004-04-20  Michael Koch  <konqueror@gmx.de>
8683
8684         * java/awt/AWTPermission.java,
8685         java/awt/Component.java,
8686         java/awt/ComponentOrientation.java,,
8687         java/awt/Dialog.java,
8688         java/awt/FontMetrics.java,
8689         java/awt/Graphics.java,
8690         java/awt/datatransfer/DataFlavor.java,
8691         java/beans/Introspector.java,
8692         java/beans/PropertyEditor.java,
8693         java/beans/PropertyEditorManager.java,
8694         java/beans/beancontext/BeanContextServiceProvider.java:
8695         Fixed HTML tags in javadocs all over.
8696
8697 2004-04-20  Mark Wielaard  <mark@klomp.org>
8698
8699         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8700         MissingResourceException is thrown.
8701         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8702         null when a MissingResourceException is thrown. Should never happen.
8703
8704 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8705
8706         * java/awt/image/DataBufferShort.java,
8707         java/awt/image/DataBufferFloat.java,
8708         java/awt/image/DataBufferDouble.java,
8709         java/awt/image/PixelInterleavedSampleModel.java: New files.
8710         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8711         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8712
8713 2004-04-20  Michael Koch  <konqueror@gmx.de>
8714
8715         * Makefile.am (java_source_files): Added
8716         java/awt/image/DataBufferDouble.java,
8717         java/awt/image/DataBufferFloat.java,
8718         java/awt/image/DataBufferShort.java and
8719         java/awt/image/PixelInterleavedSampleModel.java.
8720         * Makefile.in: Regenerated.
8721
8722 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8723  
8724         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8725         undocumented CNI calls.
8726         * include/java-interp.h (_Jv_InterpClass): No longer
8727         extends java.lang.Class.
8728         * java/lang/Class.h (Class): Add new field `aux_info'.
8729         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8730         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8731         Use Class->aux_info instead.
8732         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8733         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8734         Use Class->aux_info instead.
8735         * java/io/natObjectInputStream.cc (allocateObject): Use
8736         _Jv_AllocObject.
8737         * java/lang/natClass.cc (newInstance): Likewise.
8738         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8739         * java/lang/natObject.cc (clone): Likewise.
8740         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8741         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8742         JvAllocObject. Allocate klass->aux_info here for interpreted
8743         class.
8744         
8745 2004-04-17  Mark Wielaard  <mark@klomp.org>
8746
8747         * javax/swing/JToggleButton.java (ToggleButtonModel):
8748         Make public static inner class.
8749         * javax/swing/JTabbedPane.java (setComponentAt):
8750         Call Page.setComponent().
8751         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8752         (WRAP_TAB_LAYOUT): Make public, value is 0.
8753         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8754         Make private static inner class.
8755
8756 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8757
8758         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8759         arguments to match new signature. Remove FIXME comments.
8760
8761 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8762
8763         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8764         Remove method.
8765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8766         unused code.
8767
8768 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8769
8770         * Makefile.am: Added new file.
8771         * Makefile.in: Regenerate.
8772         * javax/swing/ImageIcon.java: 
8773         (ImageIcon(file)): set description of the icon 
8774         to the file name
8775         * javax/swing/JCheckBoxMenuItem.java:
8776         Mostly Implemented. Work in progress.
8777         * javax/swing/JRadioButtonMenuItem.java:
8778         Reimplement constructors to use JToggleButtonModel.
8779         * javax/swing/plaf/basic/BasicIconFactory.java:
8780         (getCheckBoxMenuItemIcon): return check box
8781         icon.
8782         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8783         paint menu item selected only when it is armed and 
8784         pressed. 
8785  
8786 2004-04-02  David Jee  <djee@redhat.com>
8787
8788         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8789         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8790         * java/awt/Component.java
8791         (add): Set the parent of the popup as this component.
8792         * java/awt/PopupMenu.java
8793         (addNotify): Create popup menu when peer is null.
8794         (show): Call addNotify() if peer is null.
8795         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8796         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8797         argument for gtk_menu_popup() as zero. This causes the popup menu to
8798         respond to any mouse button.
8799
8800 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8801
8802         * Makefile.am: Added new file.
8803         * Makefile.in: Regenerate.
8804         * javax/swing/JRadioButtonMenuItem.java:
8805         Implemented.
8806         * javax/swing/plaf/basic/BasicIconFactory.java:
8807         (getRadioButtonMenuItemIcon): Return
8808         radio button icon.
8809         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8810         (getPreferredSize): Add size of checkIcon if it
8811         exists.
8812         (installDefaults): Don't initialize checkIcon.
8813         It's value will be set in subclasses. 
8814         (uninstallDefaults): remove uninstallation of 
8815         checkIcon.
8816         (paint): Moved code to paintMenuItem().
8817         (paintMenuItem): Implemented.
8818         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8819         UI delegate for JRadioButtonMenuItem.
8820         
8821 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8822
8823         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8824         Corrected position of the accelerator.
8825
8826 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8827
8828         * Makefile.am: Added new file. 
8829         * Makefile.in: Regenerate.
8830         * javax/swing/JMenuItem.java: Partly 
8831         implemented. Work in progress
8832         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8833         Changed default value of acceleratorDelimiter.
8834         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8835         New class. Partly implemented.
8836                 
8837 2004-03-26  Mark Wielaard  <mark@klomp.org>
8838
8839         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8840         (item_activate): Declare label before use.
8841         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8842         (gtkSetFont): Removed unused variable label.
8843         (addExposeFilter): Declare variables before use.
8844         (removeExposeFilter): Likewise.
8845         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8846         (ok_clicked): Declare str_fileName before use.
8847
8848 2004-03-26  David Jee  <djee@redhat.com>
8849
8850         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8851         (addSeparator): Remove.
8852         * java/awt/Menu.java
8853         (separator): Remove static final MenuItem field.
8854         (separatorLabel): New static final String field.
8855         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8856         Use separatorLabel to denote that it is a separator.
8857         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8858         of reusing the static separator instance, because a MenuItem instance
8859         can't be added more than once without being cloned.
8860         * java/awt/peer/MenuPeer.java
8861         (addSeparator): Remove from interface.
8862
8863 2004-03-26  David Jee  <djee@redhat.com>
8864
8865         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8866         (connectSignals): New native method declaration.
8867         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8868         * java/awt/MenuItem.java
8869         (getActionCommand): Return the label if the action command is not set.
8870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8871         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8872         gtk_menu_shell_append().
8873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8874         (item_activate): Fix argument type.
8875         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8876         signal here.
8877         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8878         method.
8879         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8880         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8881         given. Add the menu widget's top-level GtkWindow to the global window
8882         group, so it can grab the pointer.
8883         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8884         gtk_menu_shell_append().
8885
8886 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8887
8888         * java/text/AttributedString.java 
8889         (addAttribute): Fix off-by-one.
8890         (getIterator): Likewise.        
8891         * java/text/AttributedStringIterator.java 
8892         (getRunLimit): Correct logic.
8893         (getRunStart): Likewise.
8894         (getAttribute): Fix inequality.
8895         (getAttributes): Likewise.
8896         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8897
8898 2004-03-23  Kim Ho  <kho@redhat.com>
8899
8900         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8901         (calculateSizes): Return real width and height.
8902
8903 2004-03-23  Kim Ho  <kho@redhat.com>
8904
8905         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8906         (calculateTabRects): Set the selectedRun before
8907         trying to rotate tabs.
8908
8909 2004-03-23  Kim Ho  <kho@redhat.com>
8910
8911         * Makefile.am: New file
8912         * Makefile.in: Regenerate
8913         * java/awt/Graphics.java: (drawRect):
8914         Draw to the correct point.
8915         * javax/swing/DefaultSingleSelectionModel.java
8916         (isSelected): Return true if the selected index
8917         is not -1.
8918         * javax/swing/JLabel.java: Do not change mnemonic
8919         index if text is null.
8920         * javax/swing/JProgressBar.java: Use JComponent's
8921         EventListenerList.
8922         * javax/swing/JScrollBar.java: Ditto.
8923         * javax/swing/JSlider.java: Ditto.
8924         * javax/swing/JTabbedPane.java: Reimplement.
8925         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8926         Add defaults for TabbedPane.
8927         * javax/swing/plaf/basic/BasicArrowButton.java:
8928         Implement
8929         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8930         (paintDeterminate): Don't paint String if it's
8931         empty.
8932         (paintIndeterminate): ditto.
8933         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8934         Reimplement.
8935
8936 2004-03-19  Michael Koch  <konqueror@gmx.de>
8937
8938         * java/awt/image/AffineTransformOp.java
8939         (AffineTransformOp): Made public.
8940         * javax/swing/JComponent.java
8941         (listenerList): Made protected.
8942         (accessibleContext): Likewise.
8943         * javax/swing/JList.java
8944         (valueChanged): Dont use internal fields of ListSelectionEvent.
8945         * javax/swing/JViewport.java
8946         (getView): Dont use internal fields of Component.
8947         (addImpl): Likewise.
8948         * javax/swing/Timer.java
8949         (isRunning): Made public.
8950         (start): Likewise.
8951         (stop): Likewise.
8952         * javax/swing/UIDefaults.java
8953         (getInt): Made public.
8954         * javax/swing/plaf/basic/BasicListUI.java
8955         (mousePressed): Dont use internal fields of MouseEvent.
8956         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8957         * javax/swing/plaf/basic/BasicScrollBarUI.java
8958         (arrowIcon): Made static.
8959         * javax/swing/plaf/basic/BasicViewportUI.java
8960         (stateChanged): Dont use internal field on ChangeEvent.
8961         * javax/swing/text/JTextComponent.java
8962         (getUI): Call UIManager.getUI().
8963         (updateUI): Use getUI().
8964
8965 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8966
8967         * javax/swing/JComponent.java: Turn off double buffer by default.
8968         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8969         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8970         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8971         Use cairo to copy areas.
8972         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8973         Initialize and set clip region.
8974
8975 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8976
8977         * java/applet/Applet.java (preferredSize): Override deprecated
8978         variant of getPreferredSize.
8979         (minimumSize): Override deprecated variant of getMinimumSize.
8980
8981 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8982
8983         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8984         (drawImage(img,xform,bgcolor,obs)): New Method.
8985         Helper function that every drawImage method will
8986         use.
8987         (drawRaster): Added new parameter, bgcolor. All
8988         transparent pixels are changed to bgcolor before 
8989         image is drawn.
8990         (drawRenderedImage): Fixed to use changed drawRaster().
8991         (drawImage(image,xform,obs): Fixed to use new helper function 
8992         (drawImage(image,op,x,y)): Ditto.
8993         (drawImage (img,x,y,observer)): Ditto.
8994         ((PainterThread) bgcolor): New Field.
8995         ((PainterThread) (setPixels)): Changed all transparent pixels 
8996         to bgcolor.     
8997         (drawImage(img,x,y,width,height,bgcolor,observer)): 
8998         Fixed FIXME - all the transparent pixels are 
8999         changed to the specified bgcolor. 
9000         (drawImage(img, x, y, width, height, observer): Changed to 
9001         use function above.
9002         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9003         Fixed FIXME- changed all transparent pixels to bgcolor.
9004         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9005         Changed to use function above. 
9006
9007 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9008
9009         * java/applet/Applet.java (dimensions): New field.
9010         (getDimensions): New method.
9011         (getPreferredSize): Call getDimensions.
9012         (getMinimumSize): Likewise.
9013
9014 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9015
9016         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9017         * jni/classpath/jnilink.c: Likewise.
9018
9019         * java/applet/Applet.java (getPreferredSize): New method.
9020         (getMinimumSize): New method.
9021
9022 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9023
9024         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9025         (_Jv_AllocObjectNoFinalizer): Likewise.
9026         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9027         (_Jv_AllocPtrFreeObject): Likewise.
9028         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9029         directly even in the JVMPI case.        
9030         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9031         _Jv_AllocObject calls.
9032         * gcj/javaprims.h: Update prototypes.
9033         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9034         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9035         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9036
9037 2004-04-14  Andrew Haley  <aph@redhat.com>
9038             Bryce McKinlay  <mckinlay@redhat.com>
9039
9040         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9041         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9042         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9043
9044         * testsuite/libjava.lang/InvokeInterface.java: New file.
9045         * testsuite/libjava.lang/InvokeInterface.out: New file.
9046
9047 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9048         
9049         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9050         modified lookup().
9051         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9052         StackTraceElement directly.
9053         (newElement): New native helper method to create StackTraceElement
9054         bypassing Java access control.
9055         (createStackTraceElement): Use newElement() instead of directly
9056         calling StackTraceElement's constructor.
9057         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9058
9059 2004-04-01  Michael Koch  <konqueror@gmx.de>
9060
9061         * java/lang/SecurityManager.java
9062         (checkAwtEventQueueAccess): Implemented.
9063
9064 2004-04-01  Gary Benson  <gbenson@redhat.com>
9065
9066         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9067         (_Jv_SearchMethodInClass): Likewise.
9068
9069 2004-03-26  Peter Moon  <peterm@miraculum.com>
9070
9071         * java/text/NumberFormat.java: Fix spelling of setCurrency
9072         method.
9073
9074 2004-03-21  Anthony Green  <green@redhat.com>
9075
9076         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9077         recursion when searching for the system ClassLoader.
9078
9079 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9080
9081         * java/net/ServerSocket.java
9082         (accept): Close the socket when error occured.
9083
9084 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9085
9086         * java/net/URI.java (parseURI): Added unquoting.
9087         (unquote): New method.
9088         (quoteAuthority): Implemented.
9089         (quote(String,String)): New method.
9090         (quotePath): Implemented.
9091         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9092         (getSchemeSpecificPart): Removed FIXME comment.
9093         (getRawAuthority): Return new rawAuthority field.
9094         (getAuthority): Removed FIXME comment.
9095         (getRawUserInfo): Return new rawUserInfo field.
9096         (getUserInfo): Removed FIXME comment.
9097         (getRawPath): Return new rawPath field.
9098         (getPath): Removed FIXME comment.
9099         (getRawQuery): Return new rawQuery field.
9100         (getQuery): Removed FIXME comment.
9101         (getRawFragment): Return new rawFragment field.
9102         (getFragment): Removed FIXME comment.
9103
9104 2004-03-20  Michael Koch  <konqueror@gmx.de>
9105
9106         * java/net/URLConnection.java: Merged copyright year with classpath.
9107
9108 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9109
9110         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9111         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9112         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9113         rmi-message.
9114         (getObjectInputStream): Return object reference, throw IOException if null.
9115         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9116         (getObjectOutputStream): Return object reference, throw IOException if null.
9117         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9118         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9119         (UnicastConnectionManager): Throw RemoteException if port is not available.
9120         (getInstance): Throw RemoteException.
9121         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9122         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9123         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9124         Collect Exceptions which are returned by a rmi-call and fix void returns.
9125         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9126         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9127         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9128         (dispatch): Answer ping messages which are sent by other java implementions.
9129         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9130         for every rmi-message and fix void return problems.
9131         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9132         (UnicastServerRef): Throw RemoteException.
9133         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9134         In some situations it is necessary to export a subclass of the class which has the _Stub.
9135         For instance when the class with has the _Stub is abstract.
9136         (findStubSkelClass): New method which looks for the class which has the _Stub.
9137         (getClientHost): Implementated.
9138         * gcc/libjava/java/rmi/server/RemoteServer.java
9139         (getClientHost): Implementated.
9140         * gcc/libjava/Makefile.am (rmi_java_source_files):
9141         Added gnu/java/rmi/server/RMIIncomingThread.java.
9142         * Makefile.in: Regenerated.
9143
9144 2004-03-20  Michael Koch  <konqueror@gmx.de>
9145
9146         * java/net/InetAddress.java
9147         (getLocalHostname): Added javadoc.
9148
9149 2004-03-19  Per Bothner  <per@bothner.com>
9150
9151         * configure.in: FILE variable  overrides FLATFORM when linking
9152         natFileChannelXXX.cc.
9153
9154         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9155         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9156
9157 2004-03-19  Per Bothner  <per@bothner.com>
9158
9159         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9160         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9161         * Makefile.am:  Update accordingly.
9162         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9163         as aliases for UnicodeLittle and UnicodeBig.
9164
9165 2004-03-20  Mark Wielaard  <mark@klomp.org>
9166
9167         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9168         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9169         Don't access ws when it is null.
9170         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9171         Likewise.
9172
9173 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9174
9175         * java/lang/ThreadGroup.java (list): Changed print to println.
9176
9177 2004-03-19  Mark Wielaard  <mark@klomp.org>
9178
9179         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9180         happy.
9181
9182 2004-02-10  Randolph Chung  <tausq@debian.org>
9183  
9184         * configure.in: Build java for hppa target.
9185         * configure: Regenerate.
9186         * libjava/configure.host (hppa-*): Add target.
9187         * libjava/sysdeps/pa/lock.h: New file.
9188
9189 2004-03-19  Mark Wielaard  <mark@klomp.org>
9190
9191         Reported by Stephen Crawley
9192         * java/io/FilePermission.java (implies): Use String.length() -1 to
9193         access last char of String.
9194
9195 2004-03-19  Michael Koch  <konqueror@gmx.de>
9196
9197         * java/awt/image/AffineTransformOp.java
9198         (AffineTransformOp): Made public.
9199         * javax/swing/JComponent.java
9200         (listenerList): Made protected.
9201         (accessibleContext): Likewise.
9202         * javax/swing/JList.java
9203         (valueChanged): Dont use internal fields of ListSelectionEvent.
9204         * javax/swing/JViewport.java
9205         (getView): Dont use internal fields of Component.
9206         (addImpl): Likewise.
9207         * javax/swing/Timer.java
9208         (isRunning): Made public.
9209         (start): Likewise.
9210         (stop): Likewise.
9211         * javax/swing/UIDefaults.java
9212         (getInt): Made public.
9213         * javax/swing/plaf/basic/BasicListUI.java
9214         (mousePressed): Dont use internal fields of MouseEvent.
9215         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9216         * javax/swing/plaf/basic/BasicScrollBarUI.java
9217         (arrowIcon): Made static.
9218         * javax/swing/plaf/basic/BasicViewportUI.java
9219         (stateChanged): Dont use internal field on ChangeEvent.
9220         * javax/swing/text/JTextComponent.java
9221         (getUI): Call UIManager.getUI().
9222         (updateUI): Use getUI().
9223
9224 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9225
9226         * verify.cc: Undef PC.
9227
9228 2004-03-18  Michael Koch  <konqueror@gmx.de>
9229
9230         * java/nio/channels/spi/AbstractSelectableChannel.java
9231         (keys): Initialize at declaration.
9232         (locate): keys cant be null.
9233         (add): Removed.
9234         (addSelectionKey): New method.
9235         (removeSelectionKey): New method.
9236         * java/nio/channels/spi/AbstractSelectionKey.java
9237         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9238         * java/nio/channels/spi/AbstractSelector.java
9239         (provider): Javadoc added.
9240         (cancelledKeys): Javadoc added.
9241         (cancelKey): Javadoc added, add key to cancelledKeys.
9242         (deregister): Implemented.
9243
9244 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9245
9246         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9247         MAP_FAILED to void *.
9248
9249 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9250
9251         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9252         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9253         * javax/swing/JList.java (ListListener): Revalidate on changes.
9254         * javax/swing/JScrollPane.java: Reimplement.
9255         * javax/swing/JViewport.java: Reimplement.
9256         * javax/swing/ScrollPaneLayout.java: Reimplement.
9257         * javax/swing/ViewportLayout.java: Tidy up.
9258         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9259         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9260         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9261         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9262         backing store only.
9263
9264 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9265
9266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9267         (window_wm_protocols_filter): New function.
9268         (window_focus_in_cb): Remove function.
9269         (window_focus_out_cb): Likewise.
9270         (window_focus_or_active_state_change_cb): New function.
9271         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9272         (connectSignals): Don't attach handlers to focus-in-event or
9273         focus-out-event signals.  Handle notify signal.
9274
9275 2004-03-11  David Jee  <djee@redhat.com>
9276
9277         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9278         (gtkSetLabel): New native method declaration.
9279         (setLabel): Use gtkSetLabel.
9280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9281         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9282
9283 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9284
9285         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9286         black when color argument is null.
9287
9288 2004-03-10  Kim Ho  <kho@redhat.com>
9289
9290         * java/awt/Container.java: Remove check
9291         for drag events.
9292
9293 2004-03-10  Kim Ho  <kho@redhat.com>
9294
9295         * java/awt/Container.java: (visitChild):
9296         Remove candidate clip. Use the component
9297         clip to intersect.
9298         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9299         (handleEvent): Use the PaintEvent's clip.
9300
9301 2004-03-10  Kim Ho  <kho@redhat.com>
9302
9303         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9304         (handleEvent): Don't set the clip for the
9305         Graphics object.
9306
9307 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9308
9309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9310         Fix double <-> fixed macros, reset font transform.
9311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9312         Likewise.
9313
9314 2004-03-09  Kim Ho  <kho@redhat.com>
9315
9316         * java/awt/Container.java: (visitChild): Move
9317         the x and y coordinate of the component rectangle
9318         to correct position.
9319         (handleEvent): Forward drag events to the pressed
9320         component.
9321         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9322         Fix comments.
9323         (ArrowButtonListener::mousePressed): Stop the
9324         existing timer.
9325         (mouseDragged): Implement.
9326         (TrackListener::mousePressed): Only react if
9327         the press doesn't occur on the thumb, otherwise
9328         just set the offset.
9329         (TrackListener::mouseReleased): Unset the isAdjusting
9330         value.
9331         (createIncreaseIcon): Switch icon.
9332         (createDecreaseIcon): Switch icon.
9333         (calculatePreferredSize): Use width.
9334         (getThumbBounds): Use the top as the lower value.
9335         (layoutVScrollBar): Switch the button locations.
9336         (paintIncreaseHighlight): Paint correct side of thumb.
9337         (paintDecreaseHighlight): ditto.
9338         (valueForYPosition): Use top as the lower value.
9339         * javax/swing/plaf/basic/BasicSliderUI.java:
9340         Fix comments.
9341         (mouseDragged): Implement.
9342         (mousePressed): Only react when the thumb isn't
9343         pressed, otherwise just set offset.
9344         (mouseReleased): Handle a release of the thumb.
9345         (scrollDueToClickInTrack): Stop the timer first.
9346         * javax/swing/JProgressBar.java:
9347         (setString): Fix change condition.
9348         * javax/swing/JSeparator.java:
9349         Remove println's.
9350
9351 2004-03-08  David Jee  <djee@redhat.com>
9352
9353         * java/awt/image/AffineTransformOp.java:
9354         (filter): Use Graphics2D interface instead of directly using the
9355         GdkGraphics2D peer.
9356
9357 2004-03-05  David Jee  <djee@redhat.com>
9358
9359         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9360         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9361         * java/awt/Container.java
9362         (acquireComponentForMouseEvent): Fixed.
9363         (handleEvent): Fixed.
9364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9365         (state_to_awt_mods_with_button_states): New method.
9366         (pre_event_handler): Fixed mouse event generation.
9367
9368 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9369
9370         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9371         (GdkGraphics2D (BufferedImage)): Initialize
9372         pixmap associated with specified BufferedImage.
9373         (setPaint): Changed implementation of Texture
9374         Paint to use AffineTransformOp.
9375         * java/awt/image/AffineTransformOp.java
9376         (createCompatibleDestRaster): Throw RasterFormatException 
9377         if resulting width or height of raster is 0.
9378
9379 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9380
9381         * java/awt/image/AffineTransformOp.java:
9382         Removed unnecessary field interpolationType.
9383         Formatted some of the lines to be consistent with 
9384         the GNU style.
9385         (AffineTransformOp): Create new RenderingHints 
9386         containing specified interpolation type.
9387         (createCompatibleDestImage): Implemented.
9388         (createCompatibleDestRaster): Implemented.
9389         (filter): Implemented.
9390         (getBounds2D(BufferedImage)): Implemented.
9391         (getBounds2D(Raster)): Implemented.
9392         (getInterpolationType): Get interpolation value from 
9393         rendering hints.
9394
9395 2004-03-04  David Jee  <djee@redhat.com>
9396
9397         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9398         (setFont): Check if child peers are null.
9399
9400 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9401
9402         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9403         .libs in -L option.
9404         (libjava_arguments): Add new libraries to argument list.
9405
9406 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9407
9408         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9409         * Makefile.in: Re-generated.
9410         * java/awt/image/AffineTransformOp.java: New Class.
9411
9412 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9413
9414         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9415         (setPaint): Interpret correctly TexturePaint's
9416         anchor rectangle.
9417         (drawImage): Fixed scale factors of the affine
9418         transform.
9419
9420 2004-02-27  David Jee  <djee@redhat.com>
9421
9422         * gnu/java/awt/peer/gtk/GdkGraphics.java
9423         (GdkGraphics(Component)): Inherit font from component.
9424         (drawString): Use font style.
9425         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9426         (gtkSetFont): New native method declaration.
9427         (setFont): New method.
9428         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9429         (gtkSetFont): New native method declaration.
9430         (setFont): Call new native method gtkSetFont.
9431         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9432         (setFont): For all child components who do not their fonts set,
9433         set their peers' fonts with this container's font.
9434         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9435         Move all native method declarations to the top for readability.
9436         (gtkSetFont): New native method declaration.
9437         (setFont): New method.
9438         * java/awt/Component.java
9439         (setFont): Invalidate after setting the font.
9440         * java/awt/Container.java
9441         (invalidateTree): New method.
9442         (setFont): Invalidate the container tree after setting the font.
9443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9444         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9445         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9446         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9448         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9449         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9450         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9451
9452 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9453
9454         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9455         (updateBufferedImage): New helper function.
9456         Updates BufferedImage in memory if it was changed.
9457         (draw): changed to update BufferedImage in memory after
9458         this drawing operation
9459         (fill): Ditto.
9460         (draw3DRect): Ditto.
9461         (fill3DRect): Ditto.
9462         (clearRect): Ditto.
9463         (drawRaster): Ditto.
9464         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9465         no affine transformation.
9466         (drawGlyphVector): Ditto.
9467
9468 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9469
9470         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9471         (isBufferedImageGraphics): New Helper function. 
9472         Returns true if this graphics2d can be used to draw 
9473         into buffered image and false otherwise.
9474         (updateImagePixels): New Helper function. 
9475         Updates pixels in the BufferedImage.
9476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9477         (getImagePixels): New function. Returns pixels
9478         of the buffered image associated with 
9479         this Graphics2D.
9480
9481 2004-02-26  David Jee  <djee@redhat.com>
9482
9483         * java/awt/BorderLayout.java
9484         (layoutContainer): Fix width and height calculations to ensure
9485         that they're non-negative.
9486         * java/awt/Component.java
9487         (setBackground): If c is null, inherit from closest ancestor whose
9488         background color is set.
9489
9490 2004-02-26  Kim Ho  <kho@redhat.com>
9491
9492         * Makefile.am: Add new files.
9493         * Makefile.in: Re-generate.
9494         * javax/swing/JProgressBar.java: 
9495         (JProgressBar(int, int int)): Throw
9496         IllegalArgumentException if orientation is
9497         invalid.
9498         (JProgressBar(BoundedRangeModel)): Create
9499         ChangeListener and register it. UpdateUI.
9500         (getChangeListeners): Implement.
9501         (setModel): Reset ChangeListener.
9502         * javax/swing/JScrollBar.java: Implement.
9503         * javax/swing/JSeparator.java: Implement.
9504         * javax/swing/JSlider.java:
9505         (JSlider(int, int, int, int)): Throw 
9506         IllegalArgumentException if orientation
9507         is invalid.
9508         (getChangeListeners): Fix method name.
9509         * javax/swing/SwingUtilities.java:
9510         (layoutCompoundLabel): If there is no text,
9511         set the text rectangle dimensions to 0.
9512         * javax/swing/plaf/basic/BasicButtonUI.java:
9513         (paint): If there is no text, don't paint it.
9514         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9515         Implement.
9516         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9517         Implement.
9518         * javax/swing/plaf/basic/BasicSliderUI.java: 
9519         (propertyChange): If the model changes, change
9520         the listeners accordingly.
9521
9522 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9523
9524         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9525         * javax/swing/JList.java: Reimplement.
9526         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9527         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9528         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9529         * javax/swing/ListModel.java: Javadoc.
9530         * javax/swing/ListSelectionModel.java: Add missing methods.
9531         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9532         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9533         * javax/swing/ListModel.java: Javadoc and corrections.
9534         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9535
9536 2004-02-25  David Jee  <djee@redhat.com>
9537
9538         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9539         (GtkFontPeer): Change default size to 12.
9540         * gnu/java/awt/peer/gtk/GtkToolkit.java
9541         (getFontPeer): Change default size to 12.
9542         (getClasspathFontPeer): Likewise. Set default name to "Default".
9543         * java/awt/Font.java
9544         (Font(Map)): Call Font(String,Map).
9545         (Font(String,Map)): If attrs is null, initialize it as an empty
9546         HashMap, which will ensure that the Font will get default attributes.
9547
9548 2004-02-25  David Jee  <djee@redhat.com>
9549
9550         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9551         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9552         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9553         * gnu/java/awt/peer/gtk/GtkToolkit.java
9554         (getFontPeer(String,int)): Call the new overload method with size 1.
9555         (getFontPeer(String,int,int)): New method. Overloaded with size
9556         attribute.
9557         (getClasspathFontPeer): Set the size of the font.
9558
9559 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9560
9561         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9562         (bimage): New field.
9563         (GdkGraphics2D): New Constructor. Constructs Graphics
9564         object that can be used to draw into the Buffered Image.
9565         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9566         (GdkGraphicsEnvironment): Fixed to include public 
9567         keyword.
9568         (createGraphics): Implemented.
9569         * gnu/java/awt/peer/gtk/GtkToolkit.java
9570         (getLocalGraphicsEnvironment): Implemented.
9571         * java/awt/GraphicsEnvironment.java:
9572         (getLocalGraphicsEnvironment): Implemented.
9573         * java/awt/image/BufferedImage.java:
9574         (createGraphics): Implemented.
9575                 
9576 2004-02-24  David Jee  <djee@redhat.com>
9577
9578         * java/awt/Component.java
9579         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9580         * java/awt/Container.java
9581         (addNotifyContainerChildren): Fix event enabling.
9582
9583 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9584
9585         * Makefile.am: Added 
9586         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9587         * Makefile.in: Re-generated.
9588         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9589         New Class. 
9590         
9591 2004-02-19  Kim Ho  <kho@redhat.com>
9592
9593         * Makefile.am: Add BasicProgressBarUI
9594         * Makefile.in: Regenerate.
9595         * javax/swing/JProgressBar.java: 
9596         Re-implement.
9597         * javax/swing/plaf/basic/BasicLookAndFeel.java
9598         Add constants for JProgressBar.
9599         * javax/swing/plaf/basic/BasicProgressBarUI.java
9600         Implement.
9601         * javax/swing/plaf/basic/BasicSliderUI.java
9602         Change comments.
9603         (calculateGeometry): New method
9604         (paint): Remove unnecessary size calculations.
9605
9606 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9607
9608         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9609         (drawRaster): Fixed small error that caused
9610         imageToUser transformation to be set incorrectly.
9611         (toString): Implemented.
9612
9613 2004-02-18  David Jee  <djee@redhat.com>
9614
9615         * java/awt/CardLayout.java
9616         (addLayoutComponent): Show the first component added as the default.
9617         (removeLayoutComponent): After removing, show the next component.
9618         (gotoComponent): If there is only one component, show it and return.
9619
9620 2004-02-18  Kim Ho  <kho@redhat.com>
9621
9622         * javax/swing/JSlider.java: Re-order
9623         modifiers.
9624         * javax/swing/JLabel.java: Re-order
9625         modifiers.
9626         * javax/swing/JComponent.java: 
9627         (addPropertyChangeListener):
9628         Implement.
9629         (removePropertyChangeListener):
9630         ditto.
9631         (firePropertyChangeEvent):
9632         ditto.
9633
9634 2004-02-17  David Jee  <djee@redhat.com>
9635
9636         * java/awt/Component.java
9637         (show): Dispatch ComponentEvent via system event queue.
9638         (hide): Likewise.
9639         (move): Likewise.
9640         (resize): Likewise.
9641         (reshape): Likewise.
9642         * java/awt/Window.java
9643         (setBoundsCallback): Likewise.
9644
9645 2004-02-17  David Jee  <djee@redhat.com>
9646
9647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9648         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9649         Use gtk_widget_set_size_request() instead of the deprecated
9650         gtk_widget_set_usize().
9651
9652 2004-02-17  Kim Ho  <kho@redhat.com>
9653
9654         * javax/swing/JSlider.java: Fix comments and
9655         make property strings constants.
9656         (createStandardLabels): Use the labels
9657         preferred size as bounds.
9658         * javax/swing/plaf/basic/BasicSliderUI.java
9659         Fix comments.
9660         (ScrollHandler::actionPerformed): Don't
9661         calculate the timer stop value. Let the
9662         MouseListeners find the stop location.
9663         (getPreferredHorizontalSize): Re-implement.
9664         (getPreferredVerticalSize): ditto.
9665         (getMinimumHorizontalSize): ditto.
9666         (getMinimumVerticalSize): ditto.
9667         (getPreferredSize): ditto.
9668         (getMinimumSize): ditto.
9669         (getMaximumSize): ditto.
9670         (paintTicks): Use doubles to find the
9671         tick location.
9672         (paintHorizontalLabel):  Use preferredSize
9673         as initial width and height.
9674         (paintVerticalLabel): ditto.
9675
9676 2004-02-17  Kim Ho  <kho@redhat.com>
9677
9678         * javax/swing/JLabel.java: Changed 
9679         property strings to constants.
9680         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9681         New property.
9682         (setText): Change mnemonic index if
9683         text is too short.
9684         (setDisplayedMnemonicIndex): Fire property
9685         change event.
9686         (getDisplayedMnemonicIndex): Remove check
9687         against short text.
9688
9689 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9690
9691         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9692         (drawImage(img,xform,obs)): Invert xform before
9693         passing the xform to cairo.
9694         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9695         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9696         implemented.
9697         (drawImage (img,x,y,w,h,obs)): Implemented.
9698         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9699         bgcolor,obs)): Partly implemented.
9700         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9701         Implemented.
9702         * java/awt/image/BufferedImage.java:
9703         (copyData): if dest is null, create raster with same
9704         dimensions as the current image.
9705
9706 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9707
9708         * javax/swing/plaf/basic/BasicLabelUI.java 
9709         (getPreferredSize): Use layoutCL.
9710         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9711         (getPreferredButtonSize): Start with empty view rect, layout using
9712         component's preferred alignment.
9713         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9714         List defaults.
9715
9716 2004-02-16  David Jee  <djee@redhat.com>
9717
9718         * java/awt/Component.java
9719         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9720         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9721         (move): Erase old bounds and repaint new bounds. Dispatch
9722         COMPONENT_MOVED ComponentEvent.
9723         (resize): Erase old bounds and repaint new bounds. Dispatch
9724         COMPONENT_RESIZED ComponentEvent.
9725         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9726         ComponentEvents.
9727         * java/awt/Window.java
9728         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9729         ComponentEvents.
9730
9731 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9732
9733         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9734         (setRenderingHint): Added implementation of 
9735         Interpolation rendering hints.
9736         (setRenderingHints): Ditto.
9737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9738         (drawPixels): fixed to allow user to choose type 
9739         of filtering that should be used when displaying images.
9740         (cairoSurfaceSetFilter): New method. Sets filter type for 
9741         interpolation of pixel values.
9742
9743 2004-02-16  David Jee  <djee@redhat.com>
9744
9745         * java/awt/GridBagLayout.java
9746         (calcCellSizes): Rows or columns with zero sizes should still be
9747         considered for extra space distribution.
9748
9749 2004-02-16  Kim Ho  <kho@redhat.com>
9750
9751         * javax/swing/JLabel.java: Re-implement.
9752         * javax/swing/plaf/basic/BasicLabelUI.java
9753         Re-implement.
9754         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9755         Added constant.
9756
9757 2004-02-16  Kim Ho  <kho@redhat.com>
9758
9759         * javax/swing/JSlider.java: Fix indentation and comments.
9760         (setModel): Remove null check to conform with Sun's.
9761         (setOrientation): Throw exception if not
9762         HORIZONTAL or VERTICAL.
9763         (getInverted): Use private variable instead of 
9764         ComponentOrientation.
9765         (setInverted): ditto.
9766         * javax/swing/plaf/basic/BasicSliderUI.java:
9767         Fix indentation and comments.
9768         (propertyChange): Remove check for inverted slider, handle
9769         in main paint.
9770         (getMinimumSize): Return preferred size.
9771         (getMaximumSize): ditto.
9772         (calculateFocusRect): Don't relocate rectangle.
9773         (drawInverted): Return XOR of the slider's inversion and 
9774         the component's orientation.
9775         (paint): Update leftToRightCache
9776
9777 2004-02-13  David Jee  <djee@redhat.com>
9778
9779         * java/awt/GridBagLayout.java
9780         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9781         code to helper methods.
9782         (sortBySpan): New helper method.
9783         (distributeSizeAndWeight): Likewise.
9784         (calcCellWeights): Likewise.
9785         (calcCellSizes): Add comments.
9786
9787 2004-02-13  David Jee  <djee@redhat.com>
9788
9789         * java/awt/Component.java
9790         (show): Only do something if component is invisible at the moment.
9791         (hide): Only do something if component is visible at the moment.
9792         (reshape): If lightweight, erase old bounds and repaint new bounds.
9793
9794 2004-02-13  Kim Ho  <kho@redhat.com>
9795
9796         * Makefile.am: Updated for new file.
9797         * Makefile.in: Regenerated.
9798         * javax/swing/JSlider.java: Reimplement.
9799         * javax/swing/SwingUtilities.java
9800         (layoutCompoundLabel): Use icon height
9801         instead of width.
9802         (paintComponent): Implement.
9803         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9804         Add JSlider defaults.
9805         * javax/swing/plaf/basic/BasicSliderUI.java:
9806         Implement. New file.
9807
9808 2004-03-17  Michael Koch  <konqueror@gmx.de>
9809
9810         * gnu/java/net/PlainDatagramSocketImpl.java
9811         (RECEIVE_LOCK): New member field.
9812         (SEND_LOCK): New member field.
9813         (send0): New method.
9814         (send): Synchronize on SEND_LOCK.
9815         (receive0): New method.
9816         (receive): Synchronize on RECEIVE_LOCK.
9817         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9818         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9819         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9820         (send0): Renamed from send.
9821         (receive0): Renamed from receive.
9822 2004-03-17  Michael Koch  <konqueror@gmx.de>
9823
9824         * gnu/java/net/natPlainSocketImplPosix.cc
9825         (write): Just call write(jbyteArray, offset, len).
9826         (read): Just call read(jbyteArray, offset, len).
9827
9828 2004-03-16  Michael Koch  <konqueror@gmx.de>
9829
9830         * javax/swing/JTabbedPane.java
9831         (serialVersionUID): New field.
9832
9833 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9834
9835         * java/net/InetAddress.java
9836         (getByName): Handle hostname == "" case.
9837
9838 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9839
9840         Reported by: Adam Heath <doogie@debian.org>
9841         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9842         class loader.
9843
9844 2004-03-15  Michael Koch  <konqueror@gmx.de>
9845
9846         * java/util/Locale.java: Reverting my last patch
9847         and add a comment why the original version was okay.
9848
9849 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9850
9851         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9852         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9853         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9854         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9855
9856 2004-03-12  Michael Koch  <konqueror@gmx.de>
9857
9858         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9859
9860 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9861
9862         * java/net/URI.java (toURL): Implemented.
9863
9864 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9865
9866         * java/net/URI.java
9867         (URI_REGEXP) updated to contain scheme specific part.
9868         (SCHEME_SPEC_PART_GROUP) new constant.
9869         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9870         updated to make room for SCHEME_SPEC_PART_GROUP.
9871         (parseURI) parse scheme specific part.
9872         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9873         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9874         getQuery, getFragment) implemented.
9875
9876 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9877
9878         * libraries/javalib/java/net/URI.java
9879         partially implemented using java.util.regex.
9880         (URI_REGEXP) new constant. Used to parse URIs.
9881         (SCHEME_GROUP) new constant representing index of scheme group
9882         in parsed URI.
9883         (AUTHORITY_GROUP) new constant representing index of authority
9884         group in parsed URI.
9885         (PATH_GROUP) new constant representing index of path group in
9886         parsed URI.
9887         (QUERY_GROUP) new constant representing index of query group in
9888         parsed URI.
9889         (FRAGMENT_GROUP) new constant representing index of fragment
9890         group in parsed URI.
9891         (getURIGroup) new static utility method.
9892         (parseURI) implemented.
9893         (quote) stub for new static utility method.
9894         (quoteAuthority) stub for new static utility method.
9895         (quoteHost) stub for new static utility method.
9896         (quotePath) stub for new static utility method.
9897         (quoteUserInfo) stub for new static utility method.
9898         (URI) implemented.
9899         (create) don't throw URISyntaxException. Implemented.
9900         (toString) implemented.
9901
9902 2004-03-12  Michael Koch  <konqueror@gmx.de>
9903
9904         * java/net/HttpURLConnection.java
9905         (getResponseCode): Fix another typo in javadoc.
9906
9907 2004-03-11  Michael Koch  <konqueror@gmx.de>
9908
9909         * java/util/logging/Level.java
9910         (parse): Use String.equals() instead of ==.
9911
9912 2004-03-11  Michael Koch  <konqueror@gmx.de>
9913
9914         * gnu/java/net/protocol/jar/Connection.java
9915         (getContentLength): New method.
9916
9917 2004-03-11  Michael Koch  <konqueror@gmx.de>
9918
9919         * gnu/java/net/PlainSocketImpl.java:
9920         Reformated to merge better with classpath's version.
9921
9922 2004-03-11  Michael Koch  <konqueror@gmx.de>
9923
9924         * java/util/Locale.java
9925         (getISO3Language): Use String.equals() instead of ==.
9926         (getISO3Country): Likewise.
9927
9928 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9929
9930         * java/text/AttributedString.java
9931         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9932         Use HashMap instead of Hashtable since value can be null, and
9933         you can not store a null value in a Hashtable.
9934
9935 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9936
9937         * java/text/AttributedStringIterator.java
9938         (getAllAttributesKey): Return only keys concerned
9939         by the current iterator.
9940         (getAttributes): Use strict inequality for
9941         end_index. 
9942
9943 2004-03-11  Michael Koch  <konqueror@gmx.de>
9944
9945         * java/net/HttpURLConnection.java:
9946         Fixed typo in javadoc.
9947
9948 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9949
9950         * java/io/BufferedInputStream.java (marktarget): New field for max
9951         mark limit.
9952         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9953         (mark): Use new fields.
9954         (read): Likewise.
9955         (read(byte[],int,int)): Likewise.
9956         (skip): Likewise.
9957         (refill): Likewise.
9958
9959 2004-03-11  Mark Wielaard  <mark@klomp.org>
9960
9961         * java/beans/BeanDescriptor.java (BeanDescriptor):
9962         Set the FeatureDescriptor programmatic name.
9963
9964 2004-03-11  Michael Koch  <konqueror@gmx.de>
9965
9966         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9967         This file was was just copied form java/io/natFileDescriptorEcos.cc
9968         and never changed to compile correctly.
9969
9970 2004-03-11  Michael Koch  <konqueror@gmx.de>
9971
9972         * gnu/java/nio/PipeImpl.java
9973         (SourceChannelImpl): Made final.
9974         (read): Implemented.
9975         (SinkChannelImpl): Made final.
9976         (write): Implemented.
9977
9978 2004-03-11  Michael Koch  <konqueror@gmx.de>
9979
9980         * gnu/java/net/PlainDatagramSocketImpl.java:
9981         Reformated to match classpath's version more.
9982
9983 2004-03-11  Michael Koch  <konqueror@gmx.de>
9984
9985         * gnu/java/awt/peer/ClasspathFontPeer.java:
9986         Fixed javadoc to be correct xhtml.
9987         * gnu/java/awt/peer/gtk/GtkArgList.java
9988         (add): Use Boolean.valueOf() instead of new Boolean().
9989
9990 2004-03-09  Michael Koch  <konqueror@gmx.de>
9991
9992         * java/lang/Thread.java
9993         (runnable): Moved around.
9994         (daemon): Renamed from daemon_flag.
9995         (contextClassLoader): Renamed from context_class_loader.
9996         (Thread): Reordered constructors.
9997         (activeCount): Use group directly.
9998         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9999         (holdsLock): Reworked javadoc.
10000         (setDaemon): Reworked.
10001         * java/lang/natThread.cc
10002         (destroy): Removed.
10003
10004 2004-03-08  Anthony Green  <green@redhat.com>
10005
10006         * Makefile.am: Build property resource files into libgcj.
10007         * Makefile.in: Rebuilt.
10008         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10009         java/util/regex/PatternSyntaxException.java,
10010         gnu/regexp/CharIndexed.java,
10011         gnu/regexp/CharIndexedCharArray.java,
10012         gnu/regexp/CharIndexedInputStream.java,
10013         gnu/regexp/CharIndexedReader.java,
10014         gnu/regexp/CharIndexedString.java,
10015         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10016         gnu/regexp/REException.java,
10017         gnu/regexp/REFilterInputStream.java,
10018         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10019         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10020         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10021         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10022         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10023         gnu/regexp/RETokenLookAhead.java,
10024         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10025         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10026         gnu/regexp/RETokenStart.java,
10027         gnu/regexp/RETokenWordBoundary.java,
10028         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10029
10030 2004-03-03  Per Bothner  <per@bothner.com>
10031
10032         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10033         Optimize when argument is a FileChannelImpl.
10034         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10035         New native methods.
10036         * java/nio/channels/natChannels.cc:  New file for new native methods.
10037         * Makefile.am:  Update accordingly.
10038
10039 2004-03-02  Jan Hubicka  <jh@suse.cz>
10040
10041         * configure.host: Pass -fno-omit-frame-pointer for i386.
10042         * configure.in: Likewise.
10043         * configure: Regenerate.
10044
10045 2004-03-01  Per Bothner  <per@bothner.com>
10046
10047         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10048
10049 2004-02-29  Per Bothner  <per@bothner.com>
10050
10051         * java/nio/channels/FileChannelImpl.java:  Moved to package
10052         gnu/java/nio/channels, since we need to refer to it from java.io.
10053         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10054         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10055         from java/nio/channels.  Don't depend on FileDescriptor.
10056         (in, out, err):  New static fields.
10057         (mode):  New field.
10058         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10059         from FileDescriptor.
10060         (by):  Removed MappedByteBuffer field.
10061         (map):  New working implementation.
10062         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10063         some code "ported" from natFileDescriptoPosix.cc.
10064         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10065         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10066         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10067         Remove native methods.
10068         * Makefile.am, configure.in:  Updated accordingly.
10069
10070         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10071         (ch):  New FileChannelImpl field.  Update constructor to match.
10072         (releaseImpl):  Remove native method.  Instead ...
10073         (release):  Call unlock on channel.
10074         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10075
10076         * java/io/natFileDescriptorEcos.cc:  Remove file.
10077         * java/io/natFileDescriptorPosix.cc:  Remove file.
10078         * java/io/natFileDescriptorWin32.cc:  Remove file.
10079         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10080         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10081         (<init>(FileChannelImpl)):  New package-private constructor.
10082         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10083         (available, close, read, skip):  Implement using FileChannelImpl.
10084         (getFD):  Allocate FileDescriptor if needed.
10085         (getChannel):  Is now trivial.
10086         * java/io/FileOutputStream.java:  Corresponding changes.
10087         * java/io/RandomAccessFile.java:  Corresponding changes.
10088
10089         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10090         unmapImpl):  New dummy methods, to be overridden by subclass.
10091         (finalize, isLoaded, load, force):  New methods.
10092         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10093         Now works, at least for read mapping.
10094
10095         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10096         streams using FileChannelImpl, not FileDescriptor.
10097         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10098
10099 2004-02-28  Michael Koch  <konqueror@gmx.de>
10100
10101         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10102         wrong code.
10103
10104 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10105
10106         * java/io/ObjectInputStream.java
10107         (readClassDescriptor): Keep elements of the mapping non null.
10108         (checkTypeConsistency): New method.
10109         (readFields): Fixed main loop and base logic. Small reindentation.
10110         * java/io/ObjectStreamField.java
10111         (lookupField): New method to update the field reference.
10112         (checkFieldType): New method.
10113         * java/io/ObjectStreamClass.java
10114         (setClass, setFields): Call lookupField when building the field
10115         database. Check the real field type.
10116
10117 2004-02-28  Michael Koch  <konqueror@gmx.de>
10118
10119         * java/nio/ByteOrder.java
10120         (nativeOrder): Use equals() to compare strings.
10121
10122 2004-02-26  Michael Koch  <konqueror@gmx.de>
10123
10124         * gnu/java/nio/FileLockImpl.java
10125         (finalize): Made protected.
10126         * java/nio/channels/FileChannel.java
10127         (MapMode.READ_ONLY): Made final.
10128         (MapMode.READ_WRITE): Made final.
10129         (MapMode.PRIVATE): Made final.
10130         * java/nio/channels/SocketChannel.java
10131         (open): Simplified code.
10132         * java/nio/channels/spi/AbstractSelectableChannel.java
10133         (registered): Unused, removed.
10134         (keyFor): Check channel is open, only locate key
10135         and not add a new one.
10136         (register): Don't delete attachments.
10137
10138 2004-02-26  Michael Koch  <konqueror@gmx.de>
10139
10140         * gnu/java/awt/ComponentDataBlitOp.java
10141         (INSTANCE): Made final.
10142         * gnu/java/awt/image/ImageDecoder.java:
10143         Reworked imports.
10144         (cm): Unused, removed.
10145
10146 2004-02-26  Michael Koch  <konqueror@gmx.de>
10147
10148         * gnu/java/nio/DatagramChannelImpl.java
10149         (send): Check if target address is resolved.
10150
10151 2004-02-26  Michael Koch  <konqueror@gmx.de>
10152
10153         * Makefile.am: Generate and install headers for inner classes in
10154         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10155         * Makefile.in: Regenerated.
10156
10157 2004-02-24  Anthony Green  <green@redhat.com>
10158
10159         * java/lang/StringBuffer.java: No need to NULL out remainder of
10160         buffer since ensureCapacity_unsynchronized will have done this for
10161         us.
10162
10163 2004-02-20  Michael Koch  <konqueror@gmx.de>
10164
10165         * gnu/java/net/protocol/jar/Handler.java
10166         (): Removed unneeded check for file != null. java.net.URL.getFile()
10167         returns an empty string but never null.
10168
10169 2004-02-20  Michael Koch  <konqueror@gmx.de>
10170
10171         * gnu/gcj/convert/Convert.java
10172         (main): Use equals() to compare strings.
10173
10174 2004-02-20  Michael Koch  <konqueror@gmx.de>
10175
10176         * javax/swing/AbstractButton.java: Made several constants final.
10177         (getRolloverSelectedIcon): Made public.
10178         (getSelectedIcon): Made public.
10179
10180 2004-02-16  Per Bothner  <per@bothner.com>
10181
10182         * java/nio/CharBufferImpl.java:  Inline super constructor.
10183         * java/nio/DoubleBufferImpl.java:  Likewise.
10184         * java/nio/FloatBufferImpl.java:  Likewise.
10185         * java/nio/IntBufferImpl.java:  Likewise.
10186         * java/nio/LongBufferImpl.java:  Likewise.
10187         * java/nio/ShortBufferImpl.java:  Likewise.
10188         * java/nio/CharBuffer.java:  Remove unused constructor.
10189         * java/nio/DoubleBuffer.java:  Likewise.
10190         * java/nio/FloatBuffer.java:  Likewise.
10191         * java/nio/IntBuffer.java:  Likewise.
10192         * java/nio/LongBuffer.java:  Likewise.
10193         * java/nio/ShortBuffer.java:  Likewise.
10194         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10195         Fix buggy call to super constructor.
10196         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10197         * java/nio/FloatViewBufferImpl.java:  Likewise.
10198         * java/nio/IntViewBufferImpl.java:  Likewise.
10199         * java/nio/LongViewBufferImpl.java:  Likewise.
10200         * java/nio/ShortViewBufferImpl.java:  Likewise.
10201         
10202         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10203         java.nio classes can inherit it.
10204         (<init>):  Don't bother clearing array_offset.
10205         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10206         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10207         Remove redundant test.
10208
10209         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10210         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10211         Use new XxxViewBufferImpl constructors.
10212         * java/nio/MappedByteBufferImpl.java:  Likewise.
10213         * java/nio/DirectByteBufferImpl.java:  Likewise.
10214
10215         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10216         Inline super in remaining constructor.
10217         * java/nio/ByteBuffer.java:  Remove unused constructor.
10218
10219         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10220
10221         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10222         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10223         (offset):  Remove unused field.
10224         (<init>):  Modify one and add another constructor.  Change callers.
10225         (allocateDirect):  Removed - not used.
10226         (getImpl, putImpl):  Make static and pass address explicitly,
10227         to make them useful for MappedByteBufferImpl.
10228         (get, put):  Check for underflow.  Modify for new getImpl.
10229         (getImpl):  New native method where target is array.
10230         (get(byte[],int,int)):  Use the above.
10231         (adjustAddress):  New static native method.
10232         (slice, duplicate, asReadOnly):  New implementations.
10233         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10234         adjustAddress):  New or updated native methods.
10235
10236 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10237
10238         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10239         overflow of fieldmapping.
10240
10241 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10242
10243         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10244
10245 2004-02-14  Per Bothner  <per@bothner.com>
10246
10247         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10248         Set closed before calling implCloseChannel, as in the spec.
10249
10250 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10251
10252         * javax/swing/ToggleButtonModel.java: Remove dead class.
10253         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10254         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10255         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10256         * Makefile.am: Update for new and removed files.
10257         * Makefile.in: Regenerate.
10258
10259         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10260         * javax/swing/AbstractButton.java 
10261         (AbstractButton): Initialize fields correctly in ctor.
10262         * javax/swing/JCheckbox.java 
10263         (JCheckBox): Override painting flags.
10264         * javax/swing/DefaultButtonModel.java: Conform to sun.
10265         * javax/swing/JComponent.java (paint): Fill with background color
10266         if available.
10267         (processComponentKeyEvent)
10268         (processFocusEvent)
10269         (processKeyEvent)
10270         (processMouseMotionEvent): Remove event-consuming empty methods.
10271         (getUIClassID): Return "ComponentUI" not "JComponent"
10272         * javax/swing/JFrame.java: Remove some debugging chatter.
10273         (JFrame): Subscribe to window events.
10274         * javax/swing/JRadioButton.java 
10275         (JRadioButton): Override painting flags.
10276         * javax/swing/JRootPane.java 
10277         (JRootPane): Set background from UIDefaults.
10278         * javax/swing/JToggleButton.java 
10279         (ToggleButtonModel): New inner class.
10280         (JToggleButton): Override layout alighment.
10281         * javax/swing/SwingUtilities.java:
10282         (getLocalBounds): Return width and height, not x and y.
10283         (calculateInnerArea): Use local bounds, not bounds.
10284         (layoutCompoundLabel): Provide overridden form.
10285         (layoutCompoundLabel): Correct bugs.
10286         * javax/swing/UIDefaults.java: Correct comment.
10287         * javax/swing/plaf/basic/BasicButtonUI.java: 
10288         Move most logic into defaults, external listener.
10289         (paintIcon): Implement icon painting.
10290         (paint): Fix state painting to conform to changes in model.
10291         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10292         Remove most dead/wrong methods.
10293         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10294         * javax/swing/plaf/basic/BasicIconFactory.java:
10295         (DummyIcon): New class.
10296         (getMenuItemCheckIcon)
10297         (getMenuItemArrowIcon) 
10298         (getMenuArrowIcon)
10299         (getCheckBoxMenuItemIcon)
10300         (getRadioButtonMenuItemIcon)
10301         (createEmptyFrameIcon): Return DummyIcons, not null.
10302         (getCheckBoxIcon): Implement an icon that looks like sun's.
10303         (getRadioButtonIcon): Implement an icon that looks like sun's.
10304         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10305         (initComponentDefaults): Fix impossible values, add some missing.
10306         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10307         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10308         Remove most dead/wrong methods.
10309         (icon): New field.
10310         (getDefaultIcon): New method.
10311         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10312         Remove most dead/wrong methods.
10313         * javax/swing/plaf/metal/MetalLookAndFeel.java
10314         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10316         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10317         Implement "clearing" as drawing, when on pixmap drawables.
10318
10319         * javax/swing/JButton.java (getUIClassID): 
10320         * javax/swing/JCheckBox.java (getUIClassID):
10321         * javax/swing/JEditorPane.java (getUIClassID):
10322         * javax/swing/JLabel.java (getUIClassID): 
10323         * javax/swing/JList.java (getUIClassID): 
10324         * javax/swing/JOptionPane.java (getUIClassID): 
10325         * javax/swing/JPanel.java (getUIClassID): 
10326         * javax/swing/JPasswordField.java (uiClassID): 
10327         * javax/swing/JRadioButton.java (getUIClassID): 
10328         * javax/swing/JRootPane.java (getUIClassID): 
10329         * javax/swing/JScrollPane.java (getUIClassID): 
10330         * javax/swing/JTabbedPane.java (getUIClassID): 
10331         * javax/swing/JToggleButton.java (getUIClassID): 
10332         * javax/swing/JTree.java (getUIClassID): 
10333         * javax/swing/JViewport.java (getUIClassID): 
10334         * javax/swing/text/JTextComponent.java (getUIClassID):
10335         Return "fooUI" not "Jfoo"
10336
10337 2004-02-11  Michael Koch  <konqueror@gmx.de>
10338
10339         * java/net/DatagramSocket.java
10340         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10341         Boolean object.
10342         (setBroadcast): Likewise.
10343         * java/net/MulticastSocket.java
10344         (setLoopbackMode): Likewise.
10345         * java/net/ServerSocket.java
10346         (setReuseAddress): Likewise.
10347         * java/net/Socket.java
10348         (setTcpNoDelay): Likewise.
10349         (setSoLinger): Likewise.
10350         (setOOBInline): Likewise.
10351         (setKeepAlive): Likewise.
10352         (setReuseAddress): Likewise.
10353         * java/net/URLConnection.java
10354         (setContentHandler): Replace == with equals().
10355         * java/net/URLStreamHandler.java
10356         (hostSEquals): Fix checking host addresses.
10357         (toExternalForm): Dont check protocol for null. We know already its
10358         not null.
10359
10360 2004-02-10  David Jee  <djee@redhat.com>
10361
10362         * java/awt/BorderLayout.java
10363         (calcCompSize): Invisible components get zero dimensions.
10364         * java/awt/Button.java
10365         (setLabel): Set actionCommand.
10366         * java/awt/Component.java
10367         (show): Invalidate component and parent container.
10368         (hide): Likewise.
10369
10370 2004-02-10  David Jee  <djee@redhat.com>
10371
10372         * java/awt/GridBagLayout.java
10373         (GridBagLayout): New private field, internalcomptable.
10374         (lookupInternalConstraints): New method.
10375         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10376         (GetLayoutInfo): Reimplement.
10377         (calcCellSizes): Ignore rows/columns with size 0.
10378
10379 2004-02-10  Michael Koch  <konqueror@gmx.de>
10380
10381         * gnu/java/awt/EmbeddedWindow.java
10382         (setHandle): Use java.awt.Component.getPeer() instead of
10383         java.awt.Component.peer directly.
10384
10385 2004-02-10  David Jee  <djee@redhat.com>
10386
10387         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10388         (gtkSetLabel): New native method definition.
10389         (setLabel): Use gtkSetLabel.
10390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10391         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10392
10393 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10394
10395         * include/powerpc-signal.h: Revert 2004-01-21 change.
10396         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10397         from syscall for ppc32 versions.
10398
10399 2004-02-08  Per Bothner  <per@bothner.com>
10400
10401         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10402         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10403         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10404         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10405         Pass ByteOrder parameter to most methods, since the underlying
10406         ByteBuffer's order isn't always what we should use.
10407         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10408         * java/nio/DirectByteBufferImpl.java:  Likewise.
10409         Use ByteBufferHelper methods.
10410         * java/nio/MappedByteBufferImpl.java:  Likewise.
10411         (compact):  Use shiftDown.
10412         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10413         (get, put):  Use ByteBufferHelper.
10414         (compact):  Use new shiftDown method.
10415         (duplicate(boolean)):  New helper method.
10416         (duplicate, asReadOnlyBuffer):  Use it.
10417         (order):  Return endian field.
10418         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10419         * java/nio/FloatViewBufferImpl.java:  Likewise.
10420         * java/nio/IntViewBufferImpl.java:  Likewise.
10421         * java/nio/LongViewBufferImpl.java:  Likewise.
10422         * java/nio/ShortViewBufferImpl.java:  Likewise.
10423         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10424         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10425         (compact):  Re-implement using shiftDown.
10426
10427 2004-02-08  Andreas Jaeger  <aj@suse.de>
10428
10429         * include/x86_64-signal.h: Fix typo.
10430
10431 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10432
10433         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10434         qualifier to _regs.
10435         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10436
10437 2004-02-06  Michael Koch  <konqueror@gmx.de>
10438
10439         * java/io/ObjectInputStream.java
10440         (currentClassLoader): Reverted to old version of this method.
10441
10442 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10443
10444         * java/io/ObjectInputStream.java: Made all calls
10445         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10446         use cached info from ObjectStreamClass. (readClassDescriptor):
10447         Cache more information in ObjectStreamClass. (processResolution,
10448         readFields): Use cached info from ObjectStreamClass.
10449         (newObject): Throw exception instead of returning null for failure.
10450         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10451         setCharField, setDoubleField, setFloatField, setIntField,
10452         setLongField, setShortField, setObjectField, readObjectParams):
10453         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10454         check.
10455         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10456         (setClass): Added call to cacheMethods() (findMethod): New method.
10457         (cacheMethods): New method. (ObjectStreamClass): Added call to
10458         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10459         AccessController.doPrivileged to invoke setAccessible.
10460         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10461         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10462         New fields.
10463         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10464         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10465         isPrimitive): Made safe for cases where type == null.
10466         (setBooleanField, setByteField, setCharField, setShortField,
10467         setIntField, setLongField, setFloatField, setDoubleField,
10468         setObjectField): New methods.
10469
10470 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10471
10472         * java/awt/Component.java (getFont): Return a default font
10473         instead of null.
10474
10475         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10476         (Scrollbar (int, int, int, int, int)): Make default page
10477         increment 10.
10478         (setValues): Only call peer.setValues if one of the values has
10479         changed.
10480         (generateName): New method.
10481         (getUniqueLong): New method.
10482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10483         (range_scrollbar): Remove structure.
10484         (post_adjustment_event): Remove function.
10485         (post_change_event): Accept jobject argument.
10486         (create): Cast jints to gdoubles.  Round scrollbar values to the
10487         nearest integer.  Clamp min, max and value settings.
10488         (connectJObject): Connect hook to widget->window.
10489         (connectSignals): Remove range_scrollbar structure variables.
10490         Remove "move-slider" connection.  Pass global peer reference to
10491         "value-changed" callback.
10492         (setLineIncrement): Cast jint value to gdouble.
10493         (setPageIncrement): Likewise.
10494         (setValues): Likewise.  Clamp min, max and value settings.
10495
10496 2004-02-05  Michael Koch  <konqueror@gmx.de>
10497
10498         * javax/swing/AbstractCellEditor.java
10499         (getCellEditorValue): Removed.
10500         * javax/swing/Box.java: Reformated.
10501         (serialVersionUID): New field.
10502         * javax/swing/ButtonGroup.java:
10503         Removed some weird whitespace.
10504         * javax/swing/CellEditor.java: Reformated.
10505         * javax/swing/CellRendererPane.java
10506         (serialVersionUID): New field.
10507         (AccessibleCellRendererPaneserialVersionUID): New field.
10508         * javax/swing/DefaultListModel.java
10509         (serialVersionUID): New field.
10510         * javax/swing/JEditorPane.java
10511         (serialVersionUID): New field.
10512         (setPage): Throws IOException.
10513         (addHyperlinkListener): Implemented.
10514         (removeHyperlinkListener): Implemented.
10515         (getHyperlinkListener): New method.
10516         * javax/swing/JFileChooser.java
10517         (serialVersionUID): New field.
10518         (AccessibleJFileChooser.serialVersionUID): New field.
10519         (addActionListener): Implemented.
10520         (removeActionListener): Implemented.
10521         (getActionListeners): New method.
10522         * javax/swing/JFormattedTextField.java
10523         (serialVersionUID): New field.
10524         (AbstractFormatter.serialVersionUID): New field.
10525         (clone): Throws CloneNotSupportedException
10526         (setEditValid): Add missing argument.
10527         (stringToValue): Throws ParseExcpetion.
10528         (valueToString): Throws ParseException.
10529         (commitEdit): Throws ParseException.
10530         * javax/swing/JLabel.java
10531         (serialVersionUID): New field.
10532         * javax/swing/JList.java
10533         (serialVersionUID): New field.
10534         (addListSelectionListener): Reformated.
10535         (removeListSelectionListener): Reformated.
10536         (getListSelectionListeners): New method.
10537         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10538         Reformated.
10539         (serialVersionUID): New field.
10540         * javax/swing/table/AbstractTableModel.java
10541         (getValueAt): Removed.
10542         (getColumnCount): Removed.
10543         (getRowCount): Removed.
10544
10545 2004-02-05  Michael Koch  <konqueror@gmx.de>
10546
10547         * java/awt/datatransfer/DataFlavor.java
10548         (imageFlavor): Javadoc added.
10549         (javaJVMLocalObjectType): Fixed.
10550
10551 2004-02-05  Michael Koch  <konqueror@gmx.de>
10552
10553         * java/lang/Thread.java
10554         (Thread): Reordered.
10555         (setContextClassLoader): Fixed javadoc comment.
10556         (setPriority): Reordered.
10557         (yield): Reordered.
10558         (initialize_native): Reordered.
10559         (gen_name): Reordered.
10560
10561 2004-02-05  Michael Koch  <konqueror@gmx.de>
10562
10563         * java/lang/Thread.java: Reordered fields, reformated much code,
10564         no functional changes, some variables renamed, javadoc comments
10565         merged.
10566
10567 2004-02-05  Michael Koch  <konqueror@gmx.de>
10568
10569         * java/util/zip/Deflater.java,
10570         java/util/zip/DeflaterOutputStream.java,
10571         java/util/zip/GZIPInputStream.java:
10572         Reformated and javadoc comments merged from classpath.
10573
10574 2004-02-05  Michael Koch  <konqueror@gmx.de>
10575
10576         * gnu/java/nio/NIOServerSocket.java
10577         (impl): Unused, removed.
10578         * gnu/java/nio/SocketChannelImpl.java
10579         (finnishConnect): Don't throw NoConnectionPendingException if not
10580         connected or no connection pending.
10581
10582 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10583
10584         * javax/swing/SwingUtilities.java: Many new functions.
10585         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10586         * javax/swing/basic/BasicGraphicsUtils.java 
10587         (getPreferredButtonSize): Start layout from top-left corner.
10588
10589 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10590
10591         * java/awt/geom/AffineTransform.java: 
10592         Corrected comments on the field definitions for
10593         m11 and m10.
10594         (shear): Fixed few errors that caused shear
10595         transformation to be performed incorrectly.
10596         (createInverse): Fixed to return correct
10597         inverse of the given matrix.
10598
10599 2004-02-03  Tom Tromey  <tromey@redhat.com>
10600
10601         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10602         PATH or LD_LIBRARY_PATH is not set in parent environment.
10603
10604 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10605
10606         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10607         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10608         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10609         java/awt/Component.java, java/awt/Container.java,
10610         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10611         java/awt/LayoutManager2.java, java/awt/List.java,
10612         java/awt/Menu.java, java/awt/MenuBar.java,
10613         java/awt/MenuItem.java, java/awt/Polygon.java,
10614         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10615         java/awt/Scrollbar.java, java/awt/TextArea.java,
10616         java/awt/TextField.java,
10617         java/awt/image/renderable/RenderContext.java,
10618         javax/swing/JApplet.java: Fix handling of alias methods, where a
10619         method has been deprecated in favour of a new one with the same
10620         funtion but a different name.  Put the method implementation in
10621         the deprecated method and have the new method call the
10622         deprecated one.  Make all other code call the new method.
10623
10624 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10625
10626         * gnu/java/nio/DatagramChannelImpl.java
10627         (inChannelOperation): New field.
10628         (isInChannelOperation): New accessor.
10629         (setInChannelOperation): New modifier.
10630         (receive): Use capacity() - position() of destination
10631         buffer instead of remaining(). Set and reset our "in
10632         channel operation indicator" before and after delegating
10633         the receive to our datagram socket. Removed testing code.
10634         Update destination buffer's current position if it is
10635         backed by a byte array (hasArray() is true).
10636         (send): Set and reset our "in channel operation indicator"
10637         before and after delegating the send to our datagram socket.
10638         Removed testing code. Update source buffer's current position
10639         if it is backed by a byte array (hasArray() is true).
10640         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10641         Use capacity() - position() of destination buffer instead
10642         of remaining().
10643         * java/net/DatagramSocket.java (receive): Don't throw an
10644         IllegalBlockingModeException if we have a non-blocking
10645         channel which initiated this operation.
10646         (send): Likewise.
10647
10648 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10649
10650         * configure.in: Add pkgconfig check for glib and gthread.
10651         * configure: Regenerate.
10652
10653 2004-02-01  Michael Koch  <konqueror@gmx.de>
10654
10655         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10656         arguments.
10657         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10658         * verify.cc (debug_print): Mark 'fmt' unused.
10659
10660 2004-01-30  Michael Koch  <konqueror@gmx.de>
10661
10662         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10663         * configure: Regenerated.
10664         * glib-2.0.m4: Removed.
10665         * gtk-2.0.m4: Removed.
10666         * libart.m4: Removed.
10667         * pkg.m4: New file.
10668
10669 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10670
10671         * gnu/java/net/PlainSocketImpl.java 
10672         (inChannelOperation): New field.
10673         (isInChannelOperation): New accessor.
10674         (setInChannelOperation): New modifier.
10675         * gnu/java/nio/ServerSocketChannelImpl.java
10676         (accept): Set and reset our server socket's PlainSocketImpl's
10677         "in channel operation" indicator before and after delegating
10678         the accept to our server socket.
10679         * gnu/java/nio/SocketChannelImpl.java
10680         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10681         operation" indicator before and after delegating the operation to
10682         our socket.
10683         (read): Likewise.
10684         (write): Likewise.
10685         * java/net/ServerSocket.java (implAccept): Don't throw an
10686         IllegalBlockingModeException if we have a non-blocking
10687         channel which initiated this accept operation.
10688         * java/net/Socket.java (connect): Don't throw an
10689         IllegalBlockingModeException if we have a non-blocking
10690         channel which initiated this connect operation.
10691         * java/nio/channels/spi/AbstractSelectableChannel.java
10692         (configureBlocking): Only call implConfigureBlocking() if
10693         the desired blocking mode is different from our current one.
10694
10695 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10696
10697         * java/io/BufferedReader.java (sbuf): New field.
10698         (readLine): Use String.valueOf instead of new String() as per
10699         Per Bothner's suggestion. Use instance sbuf field instead of a
10700         local StringBuffer instance.
10701         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10702         caller's buffer to refill().
10703         (read(void)): Pass our internal work buffer to refill if our
10704         input queue is empty.
10705         (refill): Changed return type to int. Use the specified buffer
10706         instead of our work buffer as per Bryce McKinlay's suggestion.
10707         Return the number of characters read or -1 for EOF.
10708
10709 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10710
10711         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10712
10713 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10714
10715         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10716         * Makefile.in: Re-generated.
10717         * gnu/awt/xlib/XFontPeer.java: New file.
10718         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10719         (setClip): Commented out debug printout.
10720         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10721         (getFontPeer): Return XFontPeer.
10722         (getLocalGraphicsEnvironment): New method.
10723         (getClasspathFontPeer): New method.
10724         (createFont): New method.
10725
10726 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10727
10728         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10729         return null. 
10730
10731 2004-01-29  Kim Ho  <kho@redhat.com>
10732
10733         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10734         (gtkLayoutSetVisible): New method
10735         (setMenuBar): Hide layout before setting MenuBar
10736         and reshow it after.
10737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10738         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10739
10740 2004-01-28  Michael Koch  <konqueror@gmx.de>
10741
10742         * gnu/java/lang/ClassHelper.java
10743         (getPackagePortion): Removed.
10744
10745 2004-01-28  Michael Koch  <konqueror@gmx.de>
10746
10747         * javax/swing/JComponent.java
10748         (listenerList): Initalize globally.
10749         (ancestor_list): Removed.
10750         (veto_list): Removed.
10751         (change_list): Removed.
10752         (get_veto_list): Removed.
10753         (get_change_list): Removed.
10754         (get_ancestor_list): Removed.
10755         (removeAncestorListener): Reimplemented.
10756         (removePropertyChangeListener): Likewise.
10757         (removeVetoableChangeListener): Likewise.
10758         (addAncestorListener): Likewise.
10759         (addPropertyChangeListener): Likewise.
10760         (addVetoableChangeListener): Likewise.
10761         (getListeners): New method.
10762         (getAncestorListeners): Likewise.
10763         (getVetoableChangeListeners): Likewise.
10764         (fireVetoableChange): Throws PropertyVetoException.
10765         * javax/swing/JEditorPane.java
10766         (JEditorPane): Throws IOException.
10767
10768 2004-01-28  David Jee  <djee@redhat.com>
10769
10770         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10771         (create): Set the default foreground color to
10772         java.awt.SystemColor.windowText.
10773
10774 2004-01-27  Michael Koch  <konqueror@gmx.de>
10775
10776         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10777         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10778         Reindented to merge with classpath.
10779
10780 2004-01-27  David Jee  <djee@redhat.com>
10781
10782         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10783         (addExposeFilter): Handle GtkFramePeer separately.
10784         (removeExposeFilter): Likewise.
10785
10786 2004-01-27  Michael Koch  <konqueror@gmx.de>
10787
10788         * gnu/java/net/protocol/http/Connection.java
10789         (getOutputStream): Fixed typo.
10790
10791 2004-01-27  Michael Koch  <konqueror@gmx.de>
10792
10793         * java/lang/Class.java
10794         (getConstructor): Removed SecurityException from throws clause.
10795         (_getConstructors): Likewise.
10796         (getConstructors): Likewise.
10797         (getDeclaredConstructor): Likewise.
10798         (getDeclaredClasses): Likewise.
10799         (getDeclaredConstructors): Likewise.
10800         (getDeclaredField): Likewise.
10801         (getDeclaredMethod): Likewise.
10802         (getDeclaredMethods): Likewise.
10803         (getField): Likewise.
10804         (getMethod): Likewise.
10805         (getMethods): Likewise.
10806
10807 2004-01-27  Kim Ho  <kho@redhat.com>
10808
10809         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10810         (removeMenuBarPeer): Remove MenuBarPeer argument.
10811         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10812         (dispose): Call native method.
10813         * java/awt/Frame.java (setMenuBar): Create and remove
10814         MenuBar peers only if the Frame has a peer.
10815         (addNotify): Create the MenuBar peer if one exists.
10816         (removeNotify): Remove MenuBar peer if one exists.
10817         * java/awt/Menu.java: Fix imports.
10818         (addNotify): Don't use full class name.
10819         (removeNotify): Call removeNotify on all children.
10820         * java/awt/MenuBar.java (removeNotify): Call
10821         removeNotify on all children.
10822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10823         (removeMenuBarPeer): Remove MenuBarPeer argument.
10824         Iterate through children to find the Frame's MenuBar.
10825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10826         New file.
10827         (dispose): Remove references to the MenuComponent.
10828
10829 2004-01-27  Michael Koch  <konqueror@gmx.de>
10830
10831         * javax/swing/AbstractCellEditor.java: Reformated.
10832         * javax/swing/DefaultListSelectionModel.java
10833         (listenerList): Made protected.
10834         (addListSelectionListener): Javadoc added.
10835         (removeListSelectionListener): Likewise.
10836         (getListeners): Likewise.
10837         (getListSelectionListeners): Likewise.
10838         * javax/swing/JComboBox.java: Merged copyright year.
10839         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10840
10841 2004-01-26  Andrew Haley  <aph@redhat.com>
10842
10843         * javax/swing/table/JTableHeader.java: Extend JComponent
10844
10845 2004-01-26  Kim Ho  <kho@redhat.com>
10846
10847         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10848         Fix spacing.
10849
10850 2004-01-26  Kim Ho  <kho@redhat.com>
10851
10852         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10853         method.
10854         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10855         height and let the Layout Managers readjust anything that
10856         needs to move.
10857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10858         (moveLayout): New method. Shift everything in the Gtk
10859         layout in the Y direction by an offset.
10860
10861 2004-01-26  David Jee  <djee@redhat.com>
10862
10863         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10864         (handleEvent): Implemented. Handles PaintEvents.
10865         (paint): Implemented. Use GTK native methods to queue updates
10866         for this heavyweight peer.
10867         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10868         (handleEvent): Removed.
10869         * java/awt/Component.java
10870         (paint): Implemented. Explictly paint the heavyweight peer.
10871         (update): Clear the background for heavyweight components.
10872         (paintAll): No need to call peer.paint() anymore.
10873         (processEvent): Don't process PaintEvents here. It's now done in
10874         the peer's handleEvent().
10875         (processPaintEvent): Removed.
10876         * java/awt/Container.java
10877         (paint): No need to call super.paint(). Visit heavyweight
10878         children as well.
10879         (update): Don't clear the background here.  It's done in
10880         Component.update().
10881         (visitChildren): Added check to not recurse into Containers.
10882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10883         (filter_expose_event_handler): New method.  Filter unwanted
10884         expose events while painting heavyweight peers.
10885         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10886         New method. Connect filter and block pre_event_handler.
10887         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10888         New method. Disconnect filter and unblock pre_event_handler.
10889         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10890         New method. Invalidate and update given area.
10891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10892         (pre_event_handler): Add checks for unwanted expose events.
10893
10894 2004-01-26  David Jee  <djee@redhat.com>
10895
10896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10897         (find_bg_color_widget): For GtkButton, return its child.
10898
10899 2004-01-26  Kim Ho  <kho@redhat.com>
10900
10901         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10902         private.
10903         (setMenuBar): Grab MenuBar height and change insets.
10904         (setBounds): Account for MenuBar height.
10905         (postInsetsChangedEvent): Ditto.
10906         (postSizeAllocateEvent): Remove.
10907         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10908         (menubar_resize_cb): Remove
10909         (setMenuBarPeer): Remove callback.
10910         (getMenuBarHeight): Use size requisition instead of
10911         allocation.
10912
10913 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10914
10915         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10916         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10917         when peer is null.
10918         (setColumns): Remove FIXME -- peer will retrieve number of
10919         columns by calling getColumns.
10920         (setRows): Likewise for number of rows.
10921         (next_text_number): New field.
10922         (paramString): Fix param string.
10923         (generateName): New method.
10924         (getUniqueLong): New method.
10925
10926 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10927
10928         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10929         image observer of image loading status.
10930         (getImage (String)): Start image production.
10931         (getImage (URL)): Likewise.
10932
10933 2004-01-25  Michael Koch  <konqueror@gmx.de>
10934
10935         * java/lang/Class.java: Imports reworked, reformated.
10936         (Class): Javadoc added.
10937         (forName): Likewise.
10938         (getClasses): Likewise.
10939         (getClassLoader): Likewise.
10940         (getComponentType): Likewise.
10941         (getConstructor): Likewise.
10942         (getConstructors): Likewise.
10943         (getDeclaredConstructor): Likewise.
10944         (getDeclaredClasses): Likewise.
10945         (getDeclaredConstructors): Likewise.
10946         (getDeclaredField): Likewise.
10947         (getDeclaredMethod): Likewise.
10948         (getDeclaredMethods): Likewise.
10949         (getDeclaringClass): Likewise.
10950         (getField): Likewise.
10951         (getInterfaces): Likewise.
10952         (getMethod): Likewise.
10953         (getMethods): Likewise.
10954         (getModifiers): Likewise.
10955         (getName): Likewise.
10956         (getResource): Likewise.
10957         (getResourceAsStream): Likewise.
10958         (getSigners): Likewise.
10959         (setSigners): Likewise.
10960         (getSuperclass): Likewise.
10961         (isArray): Likewise.
10962         (isAssignableFrom): Likewise.
10963         (isInstance): Likewise.
10964         (isInterface): Likewise.
10965         (isPrimitive): Likewise.
10966         (newInstance): Likewise.
10967         (getProtectionDomain): Likewise.
10968         (toString): Likewise.
10969         (Class): Moved.
10970         (initializeClass): Likewise.
10971         (finalize): Likewise.
10972
10973 2004-01-24  Michael Koch  <konqueror@gmx.de>
10974
10975         * gnu/java/net/protocol/jar/Connection.java
10976         (hdrHash): Removed.
10977         (hdrVec): Removed.
10978         (gotHeaders): Removed.
10979         (getHeaderField): Removed.
10980         (getHeaderFields): Removed.
10981         (getHeaderFieldKey): Removed.
10982         (getKey): Removed.
10983         (getField): Removed.
10984         (getHeaders): Removed.
10985
10986 2004-01-24  Michael Koch  <konqueror@gmx.de>
10987
10988         * Makefile.am: Added library version to gtk peer lib.
10989         * Makefile.in: Regenerated.
10990
10991 2004-01-24  Michael Koch  <konqueror@gmx.de>
10992
10993         * java/util/zip/InflaterInputStream.java: Merged class documentation
10994         with classpath.
10995
10996 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
10997
10998         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10999         header.  For __powerpc64__ provide the default-signal.h definitions
11000         for now.
11001         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11002         instead of the dummy definitions.
11003         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11004         (powerpc64*-*): Remove with_libffi_default.
11005         Only add -mminimal-toc for 64-bit compilations.
11006         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11007         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11008         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11009         * configure: Rebuilt.
11010
11011 2004-01-23  Michael Koch  <konqueror@gmx.de>
11012
11013         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11014
11015 2004-01-23  Michael Koch  <konqueror@gmx.de>
11016
11017         * java/lang/VMClassLoader.java: Reworked imports.
11018         
11019 2004-01-23  Michael Koch  <konqueror@gmx.de>
11020
11021         * javax/swing/AbstractAction.java: Reformated.
11022
11023 2004-01-23  Michael Koch  <konqueror@gmx.de>
11024
11025         * java/text/CollationElementIterator.java:
11026         (setText): New method.
11027
11028 2004-01-23  Michael Koch  <konqueror@gmx.de>
11029
11030         * gnu/java/nio/FileLockImpl.java:
11031         Fixed filename in copyright.
11032         (released): Removed.
11033         (finalize): New method.
11034         * gnu/java/nio/natFileLockImpl.cc
11035         (releaseImpl): Implemented.
11036         * java/nio/channels/FileChannelImpl.java:
11037         Reworked imports.
11038         (lock): Implemented.
11039         (lockImpl): New method.
11040         (tryLock): Implemented.
11041         (tryLockImpl): New method.
11042         * java/nio/channels/natFileChannelImpl.cc
11043         (lockImpl): New method.
11044         (tryLockImpl): New method.
11045
11046 2004-01-23  Michael Koch  <konqueror@gmx.de>
11047
11048         * java/io/FileDescriptor.java
11049         (lock): New method.
11050         (tryLock): New method.
11051         (unlock): New method.
11052         * java/io/natFileDescriptorEcos.cc
11053         (lock): New method.
11054         (tryLock): New method.
11055         (unlock): New method.
11056         * java/io/natFileDescriptorPosix.cc
11057         (lock): New method.
11058         (tryLock): New method.
11059         (unlock): New method.
11060         * java/io/natFileDescriptorWin32.cc
11061         (lock): New method.
11062         (tryLock): New method.
11063         (unlock): New method.
11064
11065 2004-01-23  Michael Koch  <konqueror@gmx.de>
11066
11067         * java/io/FileDescriptor.java
11068         (sync): Moved around, added javadoc.
11069         (valid): Likewise.
11070         (open): Likewise.
11071         (write): Likewise.
11072         (close): Likewise.
11073         (setLength): Likewise.
11074         (seek): Likewise.
11075         (getLength): Likewise.
11076         (getFilePointer): Likewise.
11077         (read): Likewise.
11078         (available): Likewise.
11079         (finalize): Likewise.
11080
11081 2004-01-23  Michael Koch  <konqueror@gmx.de>
11082
11083         * javax/swing/AbstractAction.java: Reformated.
11084         (getPropertyChangeListeners): New method.
11085         * javax/swing/AbstractCellEditor.java: Reformated.
11086         (getCellEditorListeners): New method.
11087         * javax/swing/DefaultListSelectionModel.java
11088         (listenerList): New field.
11089         (listeners): Removed.
11090         (get_listeners): Removed.
11091         (addListSelectionListener): Rewritten.
11092         (removeListSelectionListener): Rewritten.
11093         (getListSelectionListeners): New method.
11094         (getListeners): New method.
11095         * javax/swing/JComboBox.java: Imports reworked.
11096         (addActionListener): Implemented.
11097         (removeActionListener): Implemented.
11098         (addItemListener): Implemented.
11099         (removeItemListener): Implemented.
11100         (addPopupMenuListener): Implemented.
11101         (removePopupMenuListener): Implemented.
11102         (getActionListeners): New method.
11103         (getItemListeners): New method.
11104         (getPopupMenuListeners): New method.
11105
11106 2004-01-23  Michael Koch  <konqueror@gmx.de>
11107
11108         * gnu/java/net/protocol/http/Connection.java
11109         (connect): Don't initialize bufferedOutputStream if not needed.
11110         (sendRequest): Set property for content length if content is present.
11111         Write content only if present.
11112         (getOutputStream): Check if already connected, dont connect,
11113         initalize bufferedOutputStream if needed.
11114
11115 2004-01-23  Michael Koch  <konqueror@gmx.de>
11116
11117         * java/io/FileDescriptor.java
11118         (in, out, err): Added javadoc.
11119         (static): Merged loading code.
11120         (fd, position): Moved around.
11121
11122 2004-01-23  Michael Koch  <konqueror@gmx.de>
11123
11124         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11125         New file.
11126
11127 2004-01-23  Michael Koch  <konqueror@gmx.de>
11128
11129         * java/lang/Class.java,
11130         java/lang/Object.java,
11131         java/lang/Thread.java: Merged copyright with classpath.
11132
11133 2004-01-23  Michael Koch  <konqueror@gmx.de>
11134
11135         * java/io/FileDescriptor.java: Merged copyright with classpath to
11136         start merging this class.
11137
11138 2004-01-22  Tom Tromey  <tromey@redhat.com>
11139
11140         PR libgcj/13107:
11141         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11142         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11143         * testsuite/libjava.lang/pr13107_3.java: New file.
11144         * testsuite/libjava.lang/pr13107_3.out: New file.
11145         * testsuite/libjava.lang/pr13107_2.java: New file.
11146         * testsuite/libjava.lang/pr13107_2.out: New file.
11147         * testsuite/libjava.lang/pr13107.java: New file.
11148         * testsuite/libjava.lang/pr13107.out: New file.
11149         * verify.cc (jsr_ptrs): Removed.
11150         (entry_points): Likewise.
11151         (struct subr_info): Likewise.
11152         (struct subr_entry_info): Likewise.
11153         (type_val::unused_by_subroutine_type): Likewise.
11154         (type::merge): Don't handle unused_by_subroutine_type.
11155         (type::print): Likewise.
11156         (state::flags): Removed.
11157         (state::subroutine): Likewise.
11158         (state::seen_subrs): Likewise.
11159         (state::NO_STACK): Likewise.
11160         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11161         (state): Updated all methods.
11162         (state::clean_subrs): Removed.
11163         (state::state): Removed `ret_semantics' flag.
11164         (state::copy): Likewise.
11165         (state::add_subr): Removed.
11166         (state::enter_subroutine): Likewise.
11167         (type::set_return_address): New method.
11168         (handle_jsr_insn): Set return address on the type.  Always
11169         invalidate PC after call.
11170         (check_nonrecursive_call): Removed.
11171         (~_Jv_BytecodeVerifier): Updated.
11172         (branch_prepass): Removed special handling of jsr.
11173         (note_branch_target): Likewise.
11174         (get_subroutine): Removed.
11175         (state::merge): Don't merge subroutines and don't handle
11176         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11177         (state::note_variable): Removed.
11178         (state::is_unmerged_ret_state): Likewise.
11179         (state::print): Updated.
11180         (set_variable): Likewise.
11181         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11182         and jsr_semantics arguments.  Updated for new reverification
11183         list.
11184         (pop_jump): Rewrote.
11185         (construct_primitive_array_type): Updated.
11186         (state::next): Removed.
11187         (INVALID_STATE): New define.
11188         (state::INVALID): Removed.
11189         (state::NO_NEXT): New value.
11190         (state::pc, state::next): New fields.
11191         (state::get_pc): New method.
11192         (next_verify_pc): Removed.
11193         (next_verify_state): New field.
11194         (verify_instructions_0): Always check for falling off end.
11195         (linked): New type.
11196         (linked_utf8): Removed.
11197         (states): Changed type.
11198         (type::state_mergeable_p): New method.
11199         (state::state_mergeable_p): Likewise.
11200         (handle_ret_insn): Removed most code.
11201         (state::reverify): New method.
11202         (add_new_state): Likewise.
11203         (state::set_pc): Likewise.
11204
11205 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11206
11207         PR java/13733
11208         * testsuite/libjava.compile/PR13733.java: New file.
11209         * testsuite/libjava.compile/PR13733.xfail: New file.
11210
11211 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11212             Michael Koch  <konqueror@gmx.de>
11213
11214         * javax/swing/table/DefaultTableCellRenderer.java
11215         (DefaultTableCellRenderer): Added javadoc for the class and for
11216         the constructor, Border instance, create an EmptyBorder.
11217         (UIResource): Removed the comment at the end of the class
11218         (setForeground): New method.
11219         (setBackground): New method.
11220         (updateUI): New method.
11221         (getTableCellRendererComponent): Rewritten with the help of
11222         dvholten and Stephane Meslin-Weber.
11223         (validate): New method.
11224         (repaint): New method.
11225         (firePropertyChange): New method.
11226         (setValue): New method.
11227
11228 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11229
11230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11231         (connectJObject): Replace printf calls with g_assert statements.
11232         Move property-notify-event signal connection to ...
11233         (connectSignals): Connect property-notify-event signal.  Iterate
11234         through the vbox's children to find layout.
11235
11236 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11237         
11238         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11239         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11240         Predicate static initialization on GtkToolkit.useGraphics2D().
11241         * java/awt/Component.java (processPaintEvent): Consume event.
11242         * javax/swing/AbstractButton.java: Reimplement, document.
11243         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11244         * javax/swing/JComponent.java (paint): Use double buffer.
11245         (listenerList): Enable member.
11246         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11247         * javax/swing/JToggleButton.java 
11248         (JToggleButton): Modify model constructor.
11249         * javax/swing/SwingUtilities.java 
11250         (layoutCompoundLabel): Adjust arithmetic.
11251         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11252         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11253         (getPreferredButtonSize): Include margins in calculation.
11254         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11255         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11256         Receive up events from subordinate layout component.
11257
11258 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11259
11260         * java/awt/Component.java (show): Set visible to true before
11261         showing the peer.
11262
11263 2004-01-21  Kim Ho  <kho@redhat.com>
11264
11265         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11266         Fix comments.
11267         (removeMenuBarPeer): Make package private.
11268         (setMenuBarPeer): Make package private.
11269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11270         (menubar_resize_cb): Mark attributes unused.
11271         (getMenuBarHeight): ditto.
11272
11273 2004-01-21  David Jee  <djee@redhat.com>
11274
11275         * java/awt/Container.java
11276         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11277         dispatching MOUSE_ENTERED event twice. Translate the point for
11278         the mouse event target before dispatching the event.
11279
11280 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11281
11282         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11283         lib_org_w3c_dom_la_LDFLAGS): New.
11284         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11285         * Makefile.in: Rebuilt.
11286
11287 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11288
11289         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11290         Calculate proper offsets for heavyweight components packed in
11291         lightweight containers.
11292
11293         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11294         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11295         (native create): Add width parameter.
11296         (create): Calculate text entry width based on current font's
11297         metrics and number of columns.  Set TextField's font if not
11298         already set.  Call native create.
11299         (gtkEntryGetBorderWidth): New native method.
11300         (gtkEntryGetSize): Remove method.
11301         (getMinimumSize): Call minimumSize.
11302         (getPreferredSize): Call preferredSize.
11303         (minimumSize): Calculate minimum size based on backing
11304         GtkEntry's borders, font metrics and number of columns.
11305         (preferredSize): Likewise for preferred size.
11306         (get_border_width): New static function.
11307
11308         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11309         Override GtkWindowPeer's setResizable method to account for menu
11310         bar height when setting the frame's size.
11311
11312 2004-01-19  Matthias Klose  <doko@debian.org>
11313
11314         * libtool-version: Increased `current' to 6.
11315
11316 2004-01-19  Kim Ho  <kho@redhat.com>
11317
11318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11319         (connectJObject): Iterate through the vbox's children to find layout.
11320
11321 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11322
11323         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11324         isDispatchThread method to replace wrong test condition.
11325
11326 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11327
11328         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11329         events to the queue out of order by acquiring locks in the proper
11330         order and not by releasing one before acquiring the other.
11331
11332 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11333
11334         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11335         visible so that dialog can be reused.
11336
11337 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11338
11339         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11340         events may be handled by any queue in the stack.
11341
11342 2004-01-19  Kim Ho  <kho@redhat.com>
11343
11344         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11345         MenuBarPeer parameter.
11346         (removeMenuBarPeer): New native method.
11347         (setMenuBar): Call remove if menu bar is null. Adjust insets
11348         appropriately.
11349         (postSizeAllocateEvent): New method. Called when menu bar size is
11350         allocated. Adjust insets and redo layout.
11351         (GtkFramePeer): Set menu bar during frame creation.
11352         (postConfigureEvent): Adjust position and size to accomodate
11353         menu bar.
11354         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11355         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11356         (addNotify): Create the peer if it doesn't exist and call addNotify
11357         for the menu's items.
11358         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11359         * java/awt/MenuItem.java (addNotify): Create the peer if it
11360         doesn't exist.
11361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11362         (removeMenuBarPeer): New method. Remove menu bar on the current
11363         frame.
11364         (setMenuBarPeer): Add the menu bar to the current frame and the
11365         callback for size-allocate events on the menu bar.
11366         (getMenuBarHeight): Add menu bar parameter.
11367         (menubar_resize_cb): New callback method for postSizeAllocate events.
11368
11369         Also: Fix indentation on last ChangeLog entry.
11370
11371 2004-01-16  Kim Ho  <kho@redhat.com>
11372
11373         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11374         (gtkWidgetGetDimensions): Remove.
11375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11376         (gtkWidgetGetDimensions): Remove.
11377
11378 2004-01-16  Tom Tromey  <tromey@redhat.com>
11379
11380         * java/awt/Container.java: Typo and indentation fixes.
11381
11382         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11383         * java/lang/natVMClassLoader.cc: ...here.  New file.
11384         * Makefile.in: Rebuilt.
11385         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11386
11387 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11388
11389         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11390         Discard GDK_ENTER_NOTIFY related to ungrabs.
11391
11392 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11393
11394         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11395         is called for an intermediate queue.
11396
11397 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11398
11399         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11400         (window_property_changed_cb): Set id_set.
11401
11402 2004-01-16  Kim Ho  <kho@redhat.com>
11403
11404         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11405         it is a FileDialog and has dimensions of 0 by 0, then the initial
11406         size is set to size request plus insets.
11407         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11408         (gtkWidgetGetDimensions): Override method.
11409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11410         (gtkWidgetGetDimensions): Override method. Returns size request plus
11411         insets.
11412
11413 2004-01-16  Andrew Haley  <aph@redhat.com>
11414
11415         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11416         * sysdep/i386/locks.h: Likewise.
11417
11418 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11419
11420         * java/awt/EventDispatchThread.java (run): Stop running when
11421         interrupted.
11422         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11423         Reset the queue after transferring its contents.
11424         (push): Start a new dispatch thread if none is running.
11425
11426 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11427
11428         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11429         (doPolygon): set fill rule of polygon to 
11430         WIND_EVEN_ODD by default.
11431
11432 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11433
11434         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11435         Implemented rendering hints related methods.
11436         (getDefaultHints): New helper method. Returns
11437         default rendering hints.
11438         (walkPath): changed to normalize path if
11439         the KEY_STROKE_CONTROL key is in "normalize" mode.
11440         (draw3DRect): changed coordinates of rectangle by +0.5
11441         if in "normalize" mode.
11442
11443 2004-01-15  Tom Tromey  <tromey@redhat.com>
11444
11445         * Makefile.in: Rebuilt.
11446         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11447         (%.lo: %.java) Filter out StackTrace.lo.
11448
11449 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11450
11451         * configure.in: Add in AC_PREREQ(2.13)
11452         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11453         FIXME comment.
11454
11455 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11456             Tom Tromey  <tromey@redhat.com>
11457
11458         PR libgcj/12001:
11459         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11460         array to superclass.
11461         (init): Changed interface; add URLs here.
11462         (initialize): New static method.
11463         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11464         (_Jv_RunMain): ... not here.
11465
11466 2004-01-14  Michael Koch  <konqueror@gmx.de>
11467
11468         * java/text/MessageFormat.java:
11469         Added descriptions to exceptions.
11470         This fixes PR libgcj/2429.
11471
11472 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11473
11474         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11475         (push): Make sure push is performed at the top of the thread stack.
11476
11477 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11478
11479         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11480         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11481         (native create): Add width and height parameters.  Set text
11482         view's size request according to new parameters.
11483         (create): Calculate text view size based on current font's
11484         metrics and number of rows and columns.  Set TextArea's font if
11485         not already set.  Call native create.
11486         (getMinimumSize): Call minimumSize.
11487         (getPreferredSize): Call preferredSize.
11488         (getHScrollbarHeight): New method.
11489         (getVScrollbarWidth): New method.
11490         (minimumSize): Calculate minimum size based on scrollbar
11491         visibility, scrollbar sizes, font metrics and number of rows and
11492         columns.
11493         (preferredSize): Likewise for preferred size.
11494         (gtkTextGetSize): Remove method.
11495
11496 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11497
11498         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11499         (initializeInsets): Remove method.
11500         (GtkComponentPeer): Initialize insets field.  Remove call to
11501         initializeInsets.
11502         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11503         Remove method.
11504         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11505         Remove method.
11506         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11508         (latestInsets): Remove field.
11509         (native create): Add insets parameter.  Call
11510         window_get_frame_extents.  Set the window's default size and
11511         size request based on its frame extents.
11512         (create): Initialize insets.
11513         (postInsetsChangedEvent): New method.
11514         (postConfigureEvent): Remove parameters top, left, bottom,
11515         right.  Remove insets-related logic.
11516         (connectJObject): Handle property-notify-event.
11517         (window_get_frame_extents, request_frame_extents,
11518         property_notify_predicate, window_property_changed_cb): New
11519         static functions.
11520         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11521         (pre_event_handler): Remove insets-related logic for configure
11522         events.
11523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11524         Update postConfigureEvent signature.
11525
11526 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11527  
11528         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11529         to handle Window "Closing" events.
11530  
11531 2004-01-13  David Jee  <djee@redhat.com>
11532
11533         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11534         (setBackground): New method. Children with no explicitly-set
11535         background will be repainted with the parent container's new
11536         background color.
11537
11538 2004-01-13  David Jee  <djee@redhat.com>
11539
11540         * Makefile.am: Add BitwiseXORComposite.java.
11541         * Makefile.in: Regenerated.
11542         * gcj/Makefile.in: Regenerated.
11543         * include/Makefile.in: Regenerated.
11544         * testsuite/Makefile.in: Regenerated.
11545
11546 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11547
11548         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11549         not show modal dialogs twice and so that it allows showing a modal
11550         dialog from another modal dialog.
11551
11552 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11553
11554         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11555         and run secondary dispatch thread to process event queue while this
11556         thread is blocked.
11557
11558 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11559
11560         * gnu/java/awt/gtk/GdkGraphics2D.java
11561         (static): Check GtkToolkit before initializing static state.
11562         (Graphics2D): Don't construct transform with 0.5 unit offset.
11563
11564 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11565
11566         * gnu/java/awt/BitwiseXORComposite.java: Add.
11567         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11568         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11569         (BitwiseXORComposite): Remove inner class.
11570
11571 2004-01-11  Michael Koch  <konqueror@gmx.de>
11572
11573         * gnu/java/lang/reflect/TypeSignature.java
11574         (getEncodingOfClass): Documentation fixed.
11575         (getClassForEncoding): Give class loader to Class.forName().
11576         Documentation fixed.
11577
11578 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11579
11580         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11581
11582 2004-01-11  Michael Koch  <konqueror@gmx.de>
11583
11584         * javax/swing/undo/StateEditable.java
11585         (RCSID): Removed redundant modifiers.
11586
11587 2004-01-10  Michael Koch  <konqueror@gmx.de>
11588
11589         * javax/print/attribute/EnumSyntax.java
11590         (getStringTable): Made protected.
11591         (getEnumValueTable): Likewise.
11592         * javax/print/attribute/standard/JobKOctetsProcessed.java
11593         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11594         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11595         (JobMediaSheetsCompleted): Made class final.
11596         * javax/print/attribute/standard/OutputDeviceAssigned.java
11597         (getName): Fixed typo.
11598         * javax/print/attribute/standard/RequestingUserName.java
11599         (serialVersionUID): Fixed value.
11600
11601 2004-01-10  Michael Koch  <konqueror@gmx.de>
11602
11603         * javax/swing/plaf/basic/BasicButtonUI.java,
11604         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11605         javax/swing/plaf/basic/BasicListUI.java,
11606         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11607         javax/swing/plaf/basic/BasicPanelUI.java,
11608         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11609         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11610         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11611         javax/swing/plaf/basic/BasicViewportUI.java:
11612         Fixed import statements.
11613
11614 2004-01-10  Michael Koch  <konqueror@gmx.de>
11615
11616         * gnu/java/awt/image/ImageDecoder.java
11617         (produce): Made public.
11618         * gnu/java/awt/peer/GLightweightPeer.java,
11619         gnu/java/awt/peer/gtk/GtkToolkit.java:
11620         Reformated.
11621
11622 2004-01-10  Michael Koch  <konqueror@gmx.de>
11623
11624         * javax/swing/JRadioButtonMenuItem.java,
11625         javax/swing/JSeparator.java,
11626         javax/swing/JSplitPane.java,
11627         javax/swing/JTextPane.java,
11628         javax/swing/JToolBar.java,
11629         javax/swing/ListCellRenderer.java,
11630         javax/swing/ListModel.java,
11631         javax/swing/MenuElement.java,
11632         javax/swing/OverlayLayout.java,
11633         javax/swing/ProgressMonitor.java,
11634         javax/swing/ProgressMonitorInputStream.java,
11635         javax/swing/Renderer.java,
11636         javax/swing/RootPaneContainer.java,
11637         javax/swing/Scrollable.java,
11638         javax/swing/SingleSelectionModel.java,
11639         javax/swing/ToolTipManager.java,
11640         javax/swing/ViewportLayout.java,
11641         javax/swing/event/DocumentEvent.java,
11642         javax/swing/event/SwingPropertyChangeSupport.java,
11643         javax/swing/event/TreeSelectionEvent.java,
11644         javax/swing/event/UndoableEditEvent.java,
11645         javax/swing/text/AbstractDocument.java,
11646         javax/swing/text/AttributeSet.java,
11647         javax/swing/text/Caret.java,
11648         javax/swing/text/ComponentView.java,
11649         javax/swing/text/DefaultCaret.java,
11650         javax/swing/text/DefaultEditorKit.java,
11651         javax/swing/text/Document.java,
11652         javax/swing/text/EditorKit.java,
11653         javax/swing/text/GapContent.java,
11654         javax/swing/text/Keymap.java,
11655         javax/swing/text/MutableAttributeSet.java,
11656         javax/swing/text/PlainEditorKit.java,
11657         javax/swing/text/Segment.java,
11658         javax/swing/text/Style.java,
11659         javax/swing/text/StyledDocument.java,
11660         javax/swing/text/StyledEditorKit.java,
11661         javax/swing/text/TextAction.java,
11662         javax/swing/text/View.java: Fixed import statements.
11663
11664 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11665
11666         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11667         djee@redhat.com's recent inverse ordering of Container elements.
11668
11669 2004-01-09  Michael Koch  <konqueror@gmx.de>
11670
11671         * gnu/java/lang/ArrayHelper.java
11672         (equalsArray): Removed.
11673
11674 2004-01-09  Andrew Haley  <aph@redhat.com>
11675
11676         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11677         a Utf8Const field before looking at its class.
11678
11679 2004-01-09  Michael Koch  <konqueror@gmx.de>
11680
11681         * javax/print/attribute/standard/DocumentName.java,
11682         javax/print/attribute/standard/JobHoldUntil.java,
11683         javax/print/attribute/standard/JobMessageFromOperator.java,
11684         javax/print/attribute/standard/JobName.java,
11685         javax/print/attribute/standard/JobOriginatingUserName.java,
11686         javax/print/attribute/standard/OutputDeviceAssigned.java,
11687         javax/print/attribute/standard/PrinterInfo.java,
11688         javax/print/attribute/standard/PrinterLocation.java,
11689         javax/print/attribute/standard/PrinterMakeAndModel.java,
11690         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11691         javax/print/attribute/standard/PrinterName.java,
11692         javax/print/attribute/standard/RequestingUserName.java: New files.
11693         * Makefile.am (javax_source_files): Added new files.
11694         * Makefile.in: Regenerated.
11695
11696 2004-01-09  Michael Koch  <konqueror@gmx.de>
11697
11698         * javax/swing/AbstractAction.java,
11699         javax/swing/AbstractSet.java,
11700         javax/swing/Action.java,
11701         javax/swing/ActionMap.java,
11702         javax/swing/BoundedRangeModel.java,
11703         javax/swing/ButtonModel.java,
11704         javax/swing/CellEditor.java,
11705         javax/swing/CellRendererPane.java,
11706         javax/swing/ComboBoxEditor.java,
11707         javax/swing/DebugGraphics.java,
11708         javax/swing/DefaultCellEditor.java,
11709         javax/swing/DefaultCellRenderer.java,
11710         javax/swing/DefaultComboBoxModel.java,
11711         javax/swing/DefaultDesktopManager.java,
11712         javax/swing/DefaultFocusManager.java,
11713         javax/swing/DefaultListCellRenderer.java,
11714         javax/swing/Icon.java,
11715         javax/swing/JButton.java,
11716         javax/swing/JCheckBoxMenuItem.java,
11717         javax/swing/JDesktopPane.java,
11718         javax/swing/JEditorPane.java,
11719         javax/swing/JMenu.java,
11720         javax/swing/JPanel.java,
11721         javax/swing/JPasswordField.java,
11722         javax/swing/JPopupMenu.java,
11723         javax/swing/JProgressBar.java: Reworked imports.
11724
11725 2004-01-09  Michael Koch  <konqueror@gmx.de>
11726
11727         * java/awt/geom/PathIterator.java
11728         (WIND_EVEN_ODD): Removed redundant modifiers.
11729         (WIND_NON_ZERO): Likewise.
11730         (SEG_MOVETO): Likewise.
11731         (SEG_LINETO): Likewise.
11732         (SEG_QUADTO): Likewise.
11733         (SEG_CUBICTO): Likewise.
11734         (SEG_CLOSE): Likewise.
11735         * java/awt/image/SinglePixelPackedSampleModel.java:
11736         Removed redundant semicolon.
11737         * java/io/ObjectInputStream.java
11738         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11739         * java/util/logging/Filter.java
11740         (isLoggable): Removed redundant modifier.
11741         * java/util/logging/LogManager.java:
11742         Removed redundant semicolon.
11743         * java/util/logging/XMLFormatter.java
11744         (format): Removed unused variable "key".
11745
11746 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11747
11748         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11749         New name for the former setFile native method.
11750         (setFile): New method.
11751         (setDirectory): Implemented.
11752         (connectSignals): New native method.
11753         (setFilenameFilter): Improve comment.
11754         (getGraphics): Comment.
11755         (gtkHideFileDialog): New method.
11756         (gtkDisposeFileDialog): New method.
11757         (gtkSetFilename): New method.
11758         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11759         for FileDialog for now.
11760         (hide): New method.
11761         (dispose): New method.
11762         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11763         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11764         deprecated creation functions.  Make dialog modal.  Add it to the
11765         window group.
11766         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11767         function.
11768         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11769         Rename to...
11770         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11771         name.
11772         (window_closed): New function.
11773         (ok_clicked): New function.
11774         (cancel_clicked): New function.
11775
11776 2004-01-08  Michael Koch  <konqueror@gmx.de>
11777
11778         * javax/swing/JLayeredPane.java: Revert changes to standard
11779         boilerplate, reworked imports.
11780
11781 2004-01-07  Tom Tromey  <tromey@redhat.com>
11782
11783         PR libgcj/13439:
11784         * verify.cc (state::merge): Copy changed locals out of subroutine
11785         in NO_STACK case.
11786         (state::FLAG_CHANGED): New const.
11787         (state::FLAG_UNUSED): Likewise.
11788         (state::local_changed): Removed.  Updated all users.
11789         (state::flags): New field.
11790         (state::merge): Added jsr_semantics argument, more logic.
11791         (push_jump_merge): Added jsr_semantics argument.
11792         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11793         merging through the jsr instruction.
11794
11795 2004-01-07  Tom Tromey  <tromey@redhat.com>
11796
11797         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11798         backslash-newline.
11799
11800 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11801
11802         * java/awt/Container.java (LightweightDispatcher): Implement.
11803         (visitChild): Reuse graphics object.
11804         (dispatchEventImpl): Optionally dispatch to lightweight.
11805         (addNotifyContainerChildren): Build LightweightDispatcher.
11806
11807 2004-01-07  David Jee  <djee@redhat.com>
11808
11809         * java/awt/Container.java
11810         (update): Clear only the clipped region, instead of clearing the
11811         entire Container.
11812         (visitChildren): Visit children in descending order.
11813
11814 2004-01-07  Michael Koch  <konqueror@gmx.de>
11815
11816         * java/lang/reflect/Array.java: Merged documentation with classpath.
11817
11818 2004-01-07  Michael Koch  <konqueror@gmx.de>
11819
11820         * java/text/CollationElementIterator.java
11821         (textIndex): Renamed from index.
11822         * java/text/CollationKey.java
11823         (collator): New member.
11824         (CollationKey): New argument for parent collator.
11825         (equals): Check for same collator, source string and key array.
11826         * java/text/RuleBasedCollator.java:
11827         Reformated.
11828         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11829         value.
11830         (getCollationElementIterator): Rewritten.
11831         (getCollationKey): Added new argument to CollationKey constructor.
11832
11833 2004-01-07  Michael Koch  <konqueror@gmx.de>
11834
11835         * gnu/java/nio/DatagramChannelImpl.java
11836         (blocking): Removed.
11837         (DatagramChannelImpl): Call configureBlocking().
11838         (implConfigureBlocking): Dont initialize blocking.
11839         * gnu/java/nio/ServerSocketChannelImpl.java
11840         (blocking): Removed.
11841         (ServerSocketChannelImpl): Call configureBlocking().
11842         (implConfigureBlocking): Dont initialize blocking.
11843         * gnu/java/nio/SocketChannelImpl.java
11844         (blocking): Removed.
11845         (SocketChannelImpl): Call configureBlocking().
11846         (implConfigureBlocking): Dont initialize blocking.
11847         (connect): Use isBlocking().
11848         * java/nio/channels/spi/AbstractSelectableChannel.java
11849         (configureBlocking): Use blockingLock() instead of LOCK.
11850         Set blocking after successfully called implConfigureBlocking().
11851         (register): Use blockingLock() instead of LOCK.
11852
11853 2004-01-07  Michael Koch  <konqueror@gmx.de>
11854
11855         * java/net/ServerSocket.java (isBound): Fixed documentation.
11856
11857 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11858
11859         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11860         (changeEvent): Create event object on demand.
11861         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11862         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11863         fireStateChanged): Re-written.
11864         * javax/swing/event/EventListenerList.java: Reformatted, document
11865         typical usage.
11866         (toString): Implemented.
11867         (getListeners): Re-written.
11868         (remove): Re-written.
11869         (add): Re-written.
11870         (NO_LISTENERS): New singleton field.
11871         (listenerList): Declare as transient; document.
11872         (serialVersionUID): Document.
11873         (getListenerCount(Class)): More efficient implementation,
11874         also accepts null argument.  Improve Javadoc.
11875         (getListenerCount()): Remove unnecessary cast; docfix.
11876         * javax/swing/undo/UndoableEditSupport.java:
11877         Re-format, document.
11878         (UndoableEditSupport): Set realSource field. Improve documentation.
11879         (_postEdit): Iterate over cloned listener vector.
11880         (toString): Don't emit realSource.
11881         (beginUpdate, endUpdate): Support nested updates.
11882         (postEdit): Use compound edit if present.
11883
11884 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11885
11886         * java/awt/Container.java (swapComponents): Add forgotten
11887         function, required for JLayeredPane change.
11888
11889 2004-01-06  Michael Koch  <konqueror@gmx.de>
11890
11891         * java/text/CollationElementIterator.java: Reformated.
11892         (CollationElementIterator): Changed order of arguments.
11893         * java/text/RuleBasedCollator.java
11894         (RuleBasedCollator): Merged class documentation.
11895         (CollationElement): Added documentation.
11896         (compare): Reformated, renamed arguments.
11897         (equals): Likewise.
11898         (getCollationElementIterator): Likewise.
11899         (getCollationKey): Likewise.
11900
11901 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11902
11903         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11904
11905 2004-01-06  Michael Koch  <konqueror@gmx.de>
11906
11907         * gnu/java/net/protocol/file/Connection.java:
11908         Reformated copyright.
11909         (hdrHash): Removed.
11910         (hdrVec): Removed.
11911         (gotHeaders): Removed.
11912         (getHeaderField): Removed.
11913         (getHeaderField): Removed.
11914         (getHeaderFieldKey): Removed.
11915         (getKey): Removed.
11916         (getField): Removed.
11917         (getHeaders): Removed.
11918
11919 2004-01-06  Michael Koch  <konqueror@gmx.de>
11920
11921         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11922         javax/print/attribute/standard/DateTimeAtCreation.java,
11923         javax/print/attribute/standard/DateTimeAtProcessing.java,
11924         javax/print/attribute/standard/JobImpressionsCompleted.java,
11925         javax/print/attribute/standard/JobKOctets.java,
11926         javax/print/attribute/standard/JobKOctetsProcessed.java,
11927         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11928         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11929         * Makefile.am (javax_source_files): Added new files.
11930         * Makefile.in: Regenerated.
11931
11932 2004-01-06  Michael Koch  <konqueror@gmx.de>
11933
11934         * java/net/URLConnection.java
11935         (contentHandler): Removed.
11936         (locale): Removed.
11937         (getHeaderFields): Return an empty map instead of null.
11938         (getContent): Connect if needed, renamed "cType" to "type" and
11939         "contentHandler" to "ch" and made it a local variable.
11940         (getPermission): Don't use package in class name.
11941         (setDefaultRequestProperty): Fixed typo in documentation.
11942         (initializeDateFormats): Made locale a local variable.
11943
11944 2004-01-06  Michael Koch  <konqueror@gmx.de>
11945
11946         * java/lang/Package.java
11947         (getPackage): Get the current class loader directly.
11948         * java/lang/SecurityManager.java
11949         (currentLoadedClass): Dont iterate over class contexts.
11950         (classLoaderDepth): Don't check class loaders if everything is allowed.
11951
11952 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11953
11954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11955         (pre_event_handler): Set all insets to 0 when a Configure event
11956         is received for a GtkPlug.
11957         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11958         Make handle long, not int.
11959         (EmbeddedWindow()): New constructor.
11960         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11961         long, not int.
11962         (setHandle): New method.
11963         (getHandle): Return long, not int.
11964         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11965         declaration.
11966         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11967         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11968         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11969         argument to GdkNativeWindow.
11970         (construct): New method.
11971         (embed): New method.
11972
11973         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11974         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11975         (create(int, int)): New method.
11976         (create): Call new create method.
11977         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11978         methods.
11979         (childResized): Remove native implementation.  Implement in
11980         Java.
11981         (getHScrollbarHeight, getVScrollbarWidth): Call
11982         gtk_widget_size_request to get scrollbar dimensions.
11983         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11984         call getVScrollbarWidth and getHScrollbarHeight when vertical
11985         and horizontal scrollbars respectively are needed.
11986         (doLayout): Enlarge child if it is smaller than the viewport.
11987
11988 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11989
11990         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11991         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11992         argument as per spec.
11993
11994 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11995
11996         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11997         (insert): Ditto.
11998         (remove): Ditto.  Also, Check for valid argument.
11999         (removeAll): Use peer interface method.
12000         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12001         native add function.
12002         (nativeRemove): New name for native remove function.
12003         (getHistory): New native function.
12004         (constructor): Generate ItemEvent.
12005         (add): Ditto, if selection is changed.
12006         (remove): Ditto, ditto.
12007         (removeAll): Add implementation.
12008         (handleEvent): Remove.  Dead code.
12009         (choicePostItemEvent): Add comment.
12010         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12011         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12012         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12013         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12014         comments and fix condition to change selection.
12015         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12016         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12017         remove all capability.
12018         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12019         (item_activate): Add cast to remove compiler warning.
12020
12021 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12022
12023         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12024         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12025         (getPreferredSize): Call preferredSize.
12026         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12027         (getMinimumSize): Call minimumSize.
12028         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12029         (gtkWidgetGetDimensions): Return the peer widget's current size
12030         request.
12031         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12032         natural size request.
12033
12034 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12035
12036         Thanks to Brian Gough <bjg@network-theory.com>
12037         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12038         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12039
12040 2004-01-04  Matthias Klose  <doko@debian.org>
12041
12042         * aclocal.m4: Rebuilt using "aclocal -I .".
12043         * configure: Rebuilt.
12044
12045 2004-01-03  Per Bothner  <per@bothner.com>
12046
12047         * java/util/Date.java (parse):  Fix a number of problems.
12048         (skipParens):  Remove no-longer-needed method.
12049