OSDN Git Service

* java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-06  Tom Tromey  <tromey@redhat.com>
2
3         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
4         package-private.
5         (setBlockDataMode): Likewise.
6
7 2004-11-06  Tom Tromey  <tromey@redhat.com>
8
9         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
10         package-private.
11         (Encoder): Likewise.
12         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
13         (Encoder): Likewise.
14         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
15         package-private.
16         (Encoder): Likewise.
17
18 2004-11-06  Mark Wielaard  <mark@klomp.org>
19
20         * Makefile.am: Add new javax.imageio files.
21         * Makefile.in: Regenerated.
22
23 2004-11-06  Michael Koch  <konqueror@gmx.de>
24
25         * javax/imageio/event/IIOReadProgressListener.java,
26         javax/imageio/event/IIOReadUpdateListener.java,
27         javax/imageio/event/IIOReadWarningListener.java,
28         javax/imageio/event/IIOWriteProgressListener.java,
29         javax/imageio/event/IIOWriteWarningListener.java,
30         javax/imageio/metadata/IIOMetadataFormat.java,
31         javax/imageio/stream/FileCacheImageInputStream.java,
32         javax/imageio/stream/FileCacheImageOutputStream.java,
33         javax/imageio/stream/ImageInputStreamImpl.java:
34         Import cleanup.
35         * javax/imageio/metadata/package.html: New file.
36
37 2004-11-06  Michael Koch  <konqueror@gmx.de>
38
39         * javax/imageio/spi/ImageReaderSpi.java
40         (isOwnReader): New method.
41         * javax/imageio/spi/ImageWriterSpi.java
42         (isOwnWriter): Likewise.
43
44 2004-11-06  Michael Koch  <konqueror@gmx.de>
45
46         * javax/imageio/ImageWriter.java
47         (convertImageMetadata): New abstract method.
48         (convertStreamMetadata): Likewise.
49         (write): Likewise.
50         * javax/imageio/stream/FileCacheImageInputStream.java
51         (close): Fixed setting of stream to null.
52         (checkStreamClosed): Throws IOException.
53
54 2004-11-06  Michael Koch  <konqueror@gmx.de>
55
56         * javax/imageio/stream/FileCacheImageInputStream.java,
57         javax/imageio/stream/FileCacheImageOutputStream.java,
58         javax/imageio/stream/FileImageInputStream.java,
59         javax/imageio/stream/FileImageOutputStream.java,
60         javax/imageio/stream/MemoryCacheImageInputStream.java,
61         javax/imageio/stream/MemoryCacheImageOutputStream.java:
62         New files.
63
64 2004-11-06  Michael Koch  <konqueror@gmx.de>
65
66         * javax/imageio/metadata/IIOInvalidTreeException.java,
67         javax/imageio/metadata/IIOMetadataFormatImpl.java,
68         javax/imageio/metadata/IIOMetadataNode.java:
69         New stub files.
70
71 2004-11-06  Michael Koch  <konqueror@gmx.de>
72
73         * javax/imageio/stream/ImageInputStreamImpl.java,
74         javax/imageio/stream/ImageOutputStreamImpl.java:
75         New files.
76
77 2004-11-06  Michael Koch  <konqueror@gmx.de>
78
79         * javax/imageio/ImageIO.java:
80         Added much new methods.
81
82 2004-11-06  Michael Koch  <konqueror@gmx.de>
83
84         * javax/imageio/ImageReader.java,
85         javax/imageio/ImageWriter.java,
86         javax/imageio/spi/ImageWriterSpi.java:
87         Add SOME new methods.
88
89 2004-11-06  Michael Koch  <konqueror@gmx.de>
90
91         * javax/imageio/IIOParam.java,
92         javax/imageio/ImageReadParam.java,
93         javax/imageio/ImageReader.java,
94         javax/imageio/ImageWriter.java:
95         Mostly implemented.
96         * javax/imageio/spi/ImageReaderSpi.java,
97         javax/imageio/spi/ImageWriterSpi.java:
98         New files.
99
100 2004-11-06  Michael Koch  <konqueror@gmx.de>
101
102         * javax/imageio/ImageWriteParam.java,
103         javax/imageio/metadata/IIOMetadataFormat.java:
104         Implemented.
105
106 2004-11-06  Michael Koch  <konqueror@gmx.de>
107
108         * javax/imageio/ImageTypeSpecifier.java:
109         Mostly implemented.
110
111 2004-11-06  Michael Koch  <konqueror@gmx.de>
112
113         * javax/imageio/metadata/IIOMetadata.java:
114         Mostly implemented.
115
116 2004-11-06  Michael Koch  <konqueror@gmx.de>
117
118         * javax/imageio/IIOImage.java,
119         javax/imageio/ImageReadParam.java,
120         javax/imageio/metadata/IIOMetadataController.java,
121         javax/imageio/metadata/IIOMetadataFormat.java:
122         New files.
123         * javax/imageio/stream/ImageOutputStream.java:
124         Implemented.
125
126 2004-11-06  Michael Koch  <konqueror@gmx.de>
127
128         * javax/imageio/IIOParam.java,
129         javax/imageio/IIOParamController.java,
130         javax/imageio/ImageTypeSpecifier.java,
131         javax/imageio/ImageWriteParam.java,
132         javax/imageio/metadata/IIOMetadata.java:
133         New files.
134         * javax/imageio/ImageTranscoder.java:
135         Implemented.
136
137 2004-11-06  Michael Koch  <konqueror@gmx.de>
138
139         * javax/imageio/spi/ImageInputStreamSpi.java,
140         javax/imageio/spi/ImageOutputStreamSpi.java:
141         Reworked import startments.
142         * javax/imageio/spi/ServiceRegistry.java:
143         Reworked import startments. Fixed XHTML in javadocs.
144         (ServiceRegistry): Added @param tag to javadoc.
145         * javax/imageio/stream/ImageInputStream.java
146         (mark): Doesn't throws IOException;
147
148 2004-11-06  Michael Koch  <konqueror@gmx.de>
149
150         * javax/imageio/ImageIO.java:
151         New file.
152
153 2004-11-06  Michael Koch  <konqueror@gmx.de>
154
155         * javax/imageio/spi/IIORegistry.java
156         (static): Don't register ImageReaderSpi.class and
157         ImageWriterSpi.class yet.
158
159 2004-11-06  Michael Koch  <konqueror@gmx.de>
160
161         * javax/imageio/spi/IIORegistry.java:
162         New file.
163
164 2004-11-06  Noa Resare  <noa@resare.com>
165
166         * java/net/Socket.java (getPort): Return 0 instead of -1 on
167         unconnected sockets.
168
169 2004-11-06  Michael Koch  <konqueror@gmx.de>
170
171         * java/lang/StringBuffer.java,
172         java/lang/Throwable.java,
173         java/security/spec/DSAParameterSpec.java,
174         java/util/zip/ZipEntry.java,
175         java/util/zip/ZipFile.java,
176         java/util/zip/ZipInputStream.java,
177         java/util/zip/ZipOutputStream.java:
178         Removed redundant and reordered modifiers.
179
180 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
181
182         * java/io/Vector.java
183         (writeObject): New function to serialized output thread safe.
184
185         * java/io/ObjectOutputStream.java
186         (writeObject): Move the assignment of the class handle to after
187         the assignment of class descriptor handle.
188
189 2004-11-06  Robert Schuster <thebohemian@gmx.net>
190
191         Fixes documentation and indentation
192         * java/beans/PropertyEditorSupport.java:
193         reworked initial API doc
194         (value): changed name from val
195
196 2004-11-06  Robert Schuster <thebohemian@gmx.net>
197
198         Updates to 1.5
199         * java/beans/PropertyEditorSupport.java
200         (PropertyEditorSupport()): Changed modifier to public
201         (PropertyEditorSupport(Object): Changed modifier to public
202         (setSource): New method
203         (getSource): New method
204
205 2004-11-06  Robert Schuster <thebohemian@gmx.net>
206
207         Fixes bug #10799
208         * java/beans/PropertyEditorSupport.java
209         (setValue): Fire property change event
210
211 2004-11-03  Tom Tromey  <tromey@redhat.com>
212
213         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
214         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
215         returns jobjectArray.
216         (_Jv_JNIEnv::NewObjectArray): Likewise.
217
218 2004-11-01  Tom Tromey  <tromey@redhat.com>
219
220         * verify.cc (state::check_no_uninitialized_objects): Removed.
221         (push_jump): Updated.
222         (push_exception_jump): Likewise.
223         (handle_ret_insn): Likewise.
224         (handle_jsr_insn): Likewise.
225
226 2004-10-30  Mark Wielaard  <mark@klomp.org>
227
228         PR libgcj/18234
229         * java/lang/Runtime.java (static): Call init().
230         (Runtime): Remove call to init().
231         (init): Make static.
232
233 2004-10-28  David Daney  <ddaney@avtrex.com>
234
235         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
236         * Makefile.am: Build it.
237         * Makefile.in: Regenerate.
238
239 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
240
241         PR libgcj/18104
242         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
243         colon.
244         * Makefile.in: Regenerate.
245         * configure: Regenerate.
246         * configure.ac (CLASSPATH_SEPARATOR): Define.
247         * gcj/Makefile.in: Regenerate.
248         * include/Makefile.in: Regenerate.
249         * testsuite/Makefile.in: Regenerate.
250         * testsuite/lib/libjava.exp (libjava_arguments): Fix
251         CLASSPATH separator handling for Windows.
252
253 2004-10-26  Michael Koch  <konqueror@gmx.de>
254
255         * gnu/java/net/protocol/http/Connection.java
256         (getOutputStream): Implicitely switch to POST method.
257
258 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
259
260         * libjava/java/lang/Class.h
261         (java::lang::Class): Correct friend class declaration.
262
263 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
264
265         * Makefile.am (DARWIN_CRT_SRC): New.
266         (libgcj_la_SOURCES): Use it.
267         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
268         * darwin.cc: New file.
269         * include/jvm.h (_Jv_RegisterClasses): Constify.
270         (_Jv_RegisterClasses_Counted): New prototype.
271         * java/lang/Class.h: Include stddef.h.  
272         (_Jv_RegisterClasses): Constify.
273         (_Jv_RegisterClasses_Counted): New prototype.
274         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
275         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
276         (_Jv_RegisterClasses_Counted): New function.
277         * configure: Regenerate.
278         * Makefile.in: Regenerate.
279         * gcj/Makefile.in: Regenerate.
280         * include/Makefile.in: Regenerate.
281         * testsuite/Makefile.in: Regenerate.
282
283 2004-10-25  Tom Tromey  <tromey@redhat.com>
284
285         * java/util/ResourceBundle.java (tryBundle): Use
286         Class.isAssignableFrom rather than catching ClassCastException.
287
288 2004-10-25  Tom Tromey  <tromey@redhat.com>
289
290         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
291         initialize `iter'.
292         * gnu/java/text/SentenceBreakIterator.java
293         (SentenceBreakIterator): Don't initialize `iter'.
294         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
295         initialize `iter'.
296         * gnu/java/text/CharacterBreakIterator.java
297         (CharacterBreakIterator): Don't initialize `iter'.
298         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
299         constructor.
300         * java/text/BreakIterator.java: Updated documentation.
301
302 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
303
304         PR other/18138
305         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
306
307 2004-10-23  Michael Koch  <konqueror@gmx.de>
308
309         * javax/print/DocFlavor.java,
310         javax/print/attribute/standard/JobStateReason.java,
311         javax/print/attribute/standard/MultipleDocumentHandling.java:
312         Added missing constants.
313
314 2004-10-22  Tom Tromey  <tromey@redhat.com>
315
316         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
317         typo.
318
319 2004-10-22  Michael Koch  <konqueror@gmx.de>
320
321         PR libjava/14009
322         * gnu/java/net/protocol/http/Connection.java
323         (sendRequest): Handle case when url.getFile() returns an empty string.
324
325 2004-10-22  Michael Koch  <konqueror@gmx.de>
326
327         * java/lang/Math.java,
328         java/lang/StackTraceElement.java,
329         java/nio/Buffer.java,
330         java/nio/ByteBuffer.java,
331         java/nio/CharBuffer.java,
332         java/nio/DoubleBuffer.java,
333         java/nio/FloatBuffer.java,
334         java/nio/IntBuffer.java,
335         java/nio/LongBuffer.java,
336         java/nio/ShortBuffer.java,
337         java/nio/charset/Charset.java,
338         java/rmi/server/RMIClassLoader.java,
339         java/rmi/server/RMISocketFactory.java,
340         java/security/Policy.java,
341         java/text/ChoiceFormat.java,
342         java/text/CollationElementIterator.java,
343         java/text/DateFormat.java,
344         java/text/DecimalFormat.java,
345         java/text/DecimalFormatSymbols.java,
346         java/text/MessageFormat.java,
347         java/text/NumberFormat.java,
348         java/text/RuleBasedCollator.java,
349         java/text/SimpleDateFormat.java,
350         java/util/BitSet.java,
351         java/util/Calendar.java,
352         java/util/Collections.java,
353         java/util/IdentityHashMap.java,
354         java/util/Locale.java,
355         java/util/TreeMap.java,
356         java/util/logging/LogRecord.java,
357         java/util/logging/XMLFormatter.java,
358         java/util/prefs/AbstractPreferences.java,
359         java/util/prefs/Preferences.java,
360         javax/crypto/interfaces/DHPrivateKey.java,
361         javax/crypto/interfaces/DHPublicKey.java,
362         javax/crypto/interfaces/PBEKey.java,
363         javax/net/ssl/HandshakeCompletedEvent.java,
364         javax/security/auth/Subject.java:
365         Removed redundant and reordered modifiers.
366
367 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
368
369         * gnu/java/net/natPlainSocketImplPosix.cc
370         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
371         with 'int *' argument instead of 'long *'.
372
373 2004-10-21  Michael Koch  <konqueror@gmx.de>
374
375         * java/net/NetworkInterface.java,
376         java/text/Format.java,
377         javax/security/auth/x500/X500Principal.java,
378         javax/security/auth/x500/X500PrivateCredential.java,
379         javax/security/cert/X509CertBridge.java,
380         javax/security/sasl/Sasl.java,
381         javax/sql/XAConnection.java:
382         Import cleanup.
383
384 2004-10-21  Michael Koch  <konqueror@gmx.de>
385
386         * javax/net/ssl/HandshakeCompletedEvent.java,
387         javax/net/ssl/KeyManagerFactory.java,
388         javax/net/ssl/SSLContext.java,
389         javax/net/ssl/SSLServerSocketFactory.java,
390         javax/net/ssl/SSLSession.java,
391         javax/net/ssl/SSLSocketFactory.java,
392         javax/net/ssl/TrustManagerFactory.java:
393         Import cleanup.
394
395 2004-10-21  Michael Koch  <konqueror@gmx.de>
396
397         * javax/naming/directory/BasicAttribute.java,
398         javax/naming/directory/BasicAttributes.java,
399         javax/naming/directory/InitialDirContext.java,
400         javax/naming/event/NamingEvent.java,
401         javax/naming/ldap/ControlFactory.java,
402         javax/naming/ldap/ExtendedRequest.java,
403         javax/naming/ldap/InitialLdapContext.java,
404         javax/naming/ldap/LdapReferralException.java,
405         javax/naming/spi/DirObjectFactory.java,
406         javax/naming/spi/DirStateFactory.java,
407         javax/naming/spi/DirectoryManager.java,
408         javax/naming/spi/InitialContextFactory.java,
409         javax/naming/spi/InitialContextFactoryBuilder.java,
410         javax/naming/spi/NamingManager.java,
411         javax/naming/spi/ObjectFactory.java,
412         javax/naming/spi/ObjectFactoryBuilder.java,
413         javax/naming/spi/StateFactory.java:
414         Import cleanup.
415
416 2004-10-21  Michael Koch  <konqueror@gmx.de>
417
418         * javax/crypto/Cipher.java,
419         javax/crypto/EncryptedPrivateKeyInfo.java,
420         javax/crypto/ExemptionMechanism.java,
421         javax/crypto/KeyAgreement.java,
422         javax/crypto/KeyGenerator.java,
423         javax/crypto/Mac.java,
424         javax/crypto/SecretKeyFactory.java,
425         javax/crypto/SecretKeyFactorySpi.java,
426         javax/crypto/spec/SecretKeySpec.java:
427         Import cleanup.
428
429 2004-10-21  Michael Koch  <konqueror@gmx.de>
430
431         * java/security/AlgorithmParameterGenerator.java,
432         java/security/AlgorithmParameters.java,
433         java/security/AlgorithmParametersSpi.java,
434         java/security/AllPermission.java,
435         java/security/BasicPermission.java,
436         java/security/Certificate.java,
437         java/security/CodeSource.java,
438         java/security/DigestInputStream.java,
439         java/security/DigestOutputStream.java,
440         java/security/GuardedObject.java,
441         java/security/KeyFactory.java,
442         java/security/KeyFactorySpi.java,
443         java/security/KeyPairGenerator.java,
444         java/security/KeyStore.java,
445         java/security/KeyStoreSpi.java,
446         java/security/Permissions.java,
447         java/security/Security.java,
448         java/security/Signature.java,
449         java/security/UnresolvedPermission.java,
450         java/security/cert/CertPathBuilder.java,
451         java/security/cert/CertPathValidator.java,
452         java/security/cert/CertStore.java,
453         java/security/cert/Certificate.java,
454         java/security/cert/CertificateFactory.java,
455         java/security/cert/PolicyQualifierInfo.java,
456         java/security/cert/TrustAnchor.java,
457         java/security/cert/X509CRL.java,
458         java/security/cert/X509CRLSelector.java,
459         java/security/cert/X509CertSelector.java:
460         Import cleanup.
461
462 2004-10-21  Michael Koch  <konqueror@gmx.de>
463
464         * java/rmi/MarshalledObject.java,
465         java/rmi/Naming.java,
466         java/rmi/activation/Activatable.java,
467         java/rmi/activation/ActivationGroup.java,
468         java/rmi/activation/ActivationGroupDesc.java,
469         java/rmi/activation/ActivationInstantiator.java,
470         java/rmi/activation/ActivationMonitor.java,
471         java/rmi/activation/ActivationSystem.java,
472         java/rmi/activation/Activator.java,
473         java/rmi/registry/LocateRegistry.java,
474         java/rmi/registry/Registry.java,
475         java/rmi/server/LogStream.java,
476         java/rmi/server/ObjID.java,
477         java/rmi/server/RMIClientSocketFactory.java,
478         java/rmi/server/RMIServerSocketFactory.java,
479         java/rmi/server/RMISocketFactory.java,
480         java/rmi/server/RemoteCall.java,
481         java/rmi/server/RemoteServer.java,
482         java/rmi/server/ServerRef.java,
483         java/rmi/server/UID.java,
484         java/rmi/server/UnicastRemoteObject.java:
485         Import cleanup.
486
487 2004-10-21  Tom Tromey  <tromey@redhat.com>
488
489         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
490         exception if we hit EOF of `in'.
491         (read): Handle case where inflating returns -1.
492
493 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
494
495         * gnu/java/nio/channels/natFileChannelPosix.cc
496         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
497         argument instead of 'long *'.
498
499 2004-10-21  Tom Tromey  <tromey@redhat.com>
500
501         * java/util/ResourceBundle.java (tryBundle): Also ignore
502         ClassCastException.
503
504 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
505
506         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
507         for all sh*-*-linux* targets.
508         * configure: Regenerate.
509         * include/sh-signal.h: New file.
510
511 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
512
513         * java/lang/ieeefp.h: Add m32r support.
514
515 2004-10-20  Andreas Schwab  <schwab@suse.de>
516
517         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
518         to uaddr, not int.
519         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
520         Likewise.
521
522 2004-10-20  Michael Koch  <konqueror@gmx.de>
523
524         * javax/print/attribute/standard/ColorSupported.java,
525         javax/print/attribute/standard/Compression.java,
526         javax/print/attribute/standard/Copies.java,
527         javax/print/attribute/standard/CopiesSupported.java,
528         javax/print/attribute/standard/DateTimeAtCompleted.java,
529         javax/print/attribute/standard/DateTimeAtCreation.java,
530         javax/print/attribute/standard/DateTimeAtProcessing.java,
531         javax/print/attribute/standard/DocumentName.java,
532         javax/print/attribute/standard/Fidelity.java,
533         javax/print/attribute/standard/Finishings.java,
534         javax/print/attribute/standard/JobHoldUntil.java,
535         javax/print/attribute/standard/JobImpressions.java,
536         javax/print/attribute/standard/JobImpressionsCompleted.java,
537         javax/print/attribute/standard/JobImpressionsSupported.java,
538         javax/print/attribute/standard/JobKOctets.java,
539         javax/print/attribute/standard/JobKOctetsProcessed.java,
540         javax/print/attribute/standard/JobKOctetsSupported.java,
541         javax/print/attribute/standard/JobMediaSheets.java,
542         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
543         javax/print/attribute/standard/JobMediaSheetsSupported.java,
544         javax/print/attribute/standard/JobMessageFromOperator.java,
545         javax/print/attribute/standard/JobName.java,
546         javax/print/attribute/standard/JobOriginatingUserName.java,
547         javax/print/attribute/standard/JobPriority.java,
548         javax/print/attribute/standard/JobPrioritySupported.java,
549         javax/print/attribute/standard/JobSheets.java,
550         javax/print/attribute/standard/JobState.java,
551         javax/print/attribute/standard/JobStateReason.java,
552         javax/print/attribute/standard/JobStateReasons.java,
553         javax/print/attribute/standard/Media.java,
554         javax/print/attribute/standard/MultipleDocumentHandling.java,
555         javax/print/attribute/standard/NumberOfDocuments.java,
556         javax/print/attribute/standard/NumberOfInterveningJobs.java,
557         javax/print/attribute/standard/NumberUp.java,
558         javax/print/attribute/standard/NumberUpSupported.java,
559         javax/print/attribute/standard/OrientationRequested.java,
560         javax/print/attribute/standard/OutputDeviceAssigned.java,
561         javax/print/attribute/standard/PDLOverrideSupported.java,
562         javax/print/attribute/standard/PageRanges.java,
563         javax/print/attribute/standard/PagesPerMinute.java,
564         javax/print/attribute/standard/PagesPerMinuteColor.java,
565         javax/print/attribute/standard/PrintQuality.java,
566         javax/print/attribute/standard/PrinterInfo.java,
567         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
568         javax/print/attribute/standard/PrinterLocation.java,
569         javax/print/attribute/standard/PrinterMakeAndModel.java,
570         javax/print/attribute/standard/PrinterMessageFromOperator.java,
571         javax/print/attribute/standard/PrinterMoreInfo.java,
572         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
573         javax/print/attribute/standard/PrinterName.java,
574         javax/print/attribute/standard/PrinterStateReason.java,
575         javax/print/attribute/standard/PrinterStateReasons.java,
576         javax/print/attribute/standard/PrinterURI.java,
577         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
578         javax/print/attribute/standard/RequestingUserName.java:
579         Reorganized imports and removed redundant final modifiers.
580
581 2004-10-20  Michael Koch  <konqueror@gmx.de>
582
583         * javax/security/sasl/SaslClient.java,
584         javax/security/sasl/SaslClientFactory.java,
585         javax/security/sasl/SaslException.java,
586         javax/security/sasl/SaslServer.java,
587         javax/security/sasl/SaslServerFactory.java:
588         Remvoed CVS tags.
589
590 2004-10-20  Michael Koch  <konqueror@gmx.de>
591
592         * javax/security/auth/login/NullConfiguration.java,
593         javax/security/auth/x500/X500Principal.java,
594         javax/security/cert/X509Certificate.java,
595         javax/security/sasl/AuthenticationException.java,
596         javax/security/sasl/AuthorizeCallback.java,
597         javax/security/sasl/RealmCallback.java,
598         javax/security/sasl/RealmChoiceCallback.java,
599         javax/security/sasl/Sasl.java,
600         javax/security/sasl/SaslClient.java,
601         javax/security/sasl/SaslClientFactory.java,
602         javax/security/sasl/SaslException.java,
603         javax/security/sasl/SaslServer.java,
604         javax/security/sasl/SaslServerFactory.java:
605         Cleaned up import statements and copyright notices.
606
607 2004-10-20  Michael Koch  <konqueror@gmx.de>
608
609         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
610
611 2004-10-20  Michael Koch  <konqueror@gmx.de>
612
613         * java/sql/Timestamp.java,
614         java/text/AttributedCharacterIterator.java,
615         java/text/AttributedString.java,
616         java/util/zip/CheckedOutputStream.java,
617         java/util/zip/DeflaterOutputStream.java,
618         java/util/zip/ZipFile.java,
619         javax/crypto/Cipher.java,
620         javax/crypto/ExemptionMechanismException.java,
621         javax/crypto/SecretKey.java,
622         javax/crypto/SecretKeyFactory.java,
623         javax/naming/directory/ModificationItem.java,
624         javax/naming/directory/SearchControls.java,
625         javax/naming/event/NamingListener.java,
626         javax/naming/ldap/Control.java,
627         javax/naming/ldap/ExtendedResponse.java,
628         javax/net/ssl/SSLSocketFactory.java:
629         Reorganized imports and fixed copyright headers.
630
631 2004-10-20  Michael Koch  <konqueror@gmx.de>
632
633         * java/util/logging/ConsoleHandler.java,
634         java/util/logging/ErrorManager.java,
635         java/util/logging/FileHandler.java,
636         java/util/logging/Filter.java,
637         java/util/logging/Formatter.java,
638         java/util/logging/Handler.java,
639         java/util/logging/Level.java,
640         java/util/logging/LogManager.java,
641         java/util/logging/LogRecord.java,
642         java/util/logging/Logger.java,
643         java/util/logging/LoggingPermission.java,
644         java/util/logging/MemoryHandler.java,
645         java/util/logging/SimpleFormatter.java,
646         java/util/logging/SocketHandler.java,
647         java/util/logging/StreamHandler.java,
648         java/util/logging/XMLFormatter.java:
649         Standardized copyrigth header.
650
651 2004-10-20  Michael Koch  <konqueror@gmx.de>
652
653         * java/security/AlgorithmParameterGenerator.java,
654         java/security/AlgorithmParameters.java,
655         java/security/DigestInputStream.java,
656         java/security/Identity.java,
657         java/security/KeyFactory.java,
658         java/security/KeyPairGenerator.java,
659         java/security/KeyStore.java,
660         java/security/MessageDigest.java,
661         java/security/MessageDigestSpi.java,
662         java/security/Policy.java,
663         java/security/SecureRandom.java,
664         java/security/Security.java,
665         java/security/Signature.java,
666         java/security/SignatureSpi.java,
667         java/security/cert/CertPathBuilder.java,
668         java/security/cert/CertPathValidator.java,
669         java/security/cert/CertStore.java,
670         java/security/cert/Certificate.java,
671         java/security/cert/CertificateFactory.java,
672         java/security/cert/PolicyQualifierInfo.java,
673         java/security/cert/TrustAnchor.java,
674         java/security/cert/X509CRL.java,
675         java/security/cert/X509CRLEntry.java,
676         java/security/cert/X509Certificate.java,
677         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
678         Import statements reorganized, some little formatting issues,
679         used java-style array declarations, added comments in empty catch
680         blocks.
681
682 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
683
684         * java/security/Security.java
685         (static): Use AccessController.doPrivileged to get system property.
686
687 2004-10-18  Sven de Marothy  <sven@physto.se>
688
689         * java/nio/ByteBufferHelper.java
690         (putDouble): Use Double.toRawLongBits instead.
691
692 2004-10-18  Mark Wielaard  <mark@klomp.org>
693         Andrew Haley  <aph@redhat.com>
694
695         * testsuite/libjava.lang/ExtraClassLoader.java: New.
696
697 2004-10-18  Andrew Haley  <aph@redhat.com>
698
699         PR java/18036:
700         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
701         and correct logic used to find interpreter.
702         
703 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
704
705         * java/util/logging/LogManager.java
706         (findAncestor): Fixed IndexOutOfBoundsException.
707
708 2004-10-18  Michael Koch  <konqueror@gmx.de>
709
710         * java/io/BufferedInputStream.java: Fixed @author tag.
711         (read): Simplified expression.
712         (read): Merged javadoc a bit more.
713         (read): Renamed 'remain' to 'totalBytesRead'.
714         * java/io/DataInputStream.java,
715         java/io/DataOutputStream.java,
716         java/io/ObjectInputStream.java,
717         java/io/ObjectOutputStream.java:
718         Reworked modifier order.
719
720 2004-10-18  Michael Koch  <konqueror@gmx.de>
721
722         * java/net/Inet4Address.java: Merged file header and javadocs.
723         * java/net/Inet6Address.java: Likewise.
724         * java/net/InetAddress.java
725         (getCanonicalHostName): Create Inet4Address object instead of
726         InetAddress and add comment regarding IPv6.
727         (toString): Simplified.
728
729 2004-10-18  Michael Koch  <konqueror@gmx.de>
730
731         * gnu/java/net/protocol/http/Connection.java,
732         java/nio/MappedByteBufferImpl.java,
733         java/text/RuleBasedCollator.java,
734         java/util/ResourceBundle.java:
735         Reworked import statements.
736
737 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
738
739         * java/security/IdentityScope.java
740         (systemScope): Removed useless initializer.
741         * java/security/Policy.java
742         (currentPolicy): Likewise.
743
744 2004-10-18  Michael Koch  <konqueror@gmx.de>
745
746         * java/lang/System.java: Revert accidential change.
747
748 2004-10-18  Michael Koch  <konqueror@gmx.de>
749
750         * java/lang/Math.java,
751         java/lang/Package.java,
752         java/lang/Runtime.java,
753         java/lang/StrictMath.java,
754         java/lang/System.java,
755         java/lang/Thread.java,
756         java/lang/ThreadLocal.java,
757         java/lang/Void.java:
758         Reworked import statements, HTML in javadocs and modifier orders.
759
760 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
761
762         * java/util/Timer.java
763         (nr): Removed useless initializer.
764         * java/util/logging/LogRecord.java
765         (lastSeqNum): Likewise.
766         * javax/naming/spi/NamingManager.java
767         (icfb, ofb): Likewise.
768
769 2004-10-18  Michael Koch  <konqueror@gmx.de>
770
771         * gnu/java/net/PlainDatagramSocketImpl.java:
772         Reworked import statements.
773         * gnu/java/security/provider/DSAParameters.java:
774         Fixed copyrigth years.
775         * java/net/JarURLConnection.java:
776         Fixed HTML in @author tags.
777         
778
779 2004-10-18  Michael Koch  <konqueror@gmx.de>
780
781         * java/rmi/activation/ActivationSystem.java
782         (SYSTEM_PORT): Initialize with correct port number.
783
784 2004-10-18  Michael Koch  <konqueror@gmx.de>
785
786         * java/lang/reflect/Proxy.java: Improved javadocs.
787
788 2004-10-18  Michael Koch  <konqueror@gmx.de>
789
790         * java/lang/reflect/AccessibleObject.java
791         (checkPermission): Removed redundant final modifier.
792         (secureSetAccessible): Likewise.
793         * java/lang/reflect/Proxy.java:
794         Reworked import statements.
795         (generate): Removed redundant final modifier.
796         * java/lang/reflect/ReflectPermission.java:
797         Reorder package declaration and import statement.
798
799 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
800
801         * java/lang/reflect/Proxy.java
802         (count): Removed useless initializer.
803
804 2004-10-17  Michael Koch  <konqueror@gmx.de>
805
806         * java/net/BindException.java,
807         java/net/ConnectException.java,
808         java/net/ContentHandler.java,
809         java/net/ContentHandlerFactory.java,
810         java/net/DatagramPacket.java,
811         java/net/DatagramSocket.java,
812         java/net/DatagramSocketImpl.java,
813         java/net/DatagramSocketImplFactory.java,
814         java/net/FileNameMap.java,
815         java/net/HttpURLConnection.java,
816         java/net/MalformedURLException.java,
817         java/net/MulticastSocket.java,
818         java/net/NetworkInterface.java,
819         java/net/NoRouteToHostException.java,
820         java/net/PasswordAuthentication.java,
821         java/net/PortUnreachableException.java,
822         java/net/ProtocolException.java,
823         java/net/ServerSocket.java,
824         java/net/Socket.java,
825         java/net/SocketException.java,
826         java/net/SocketImpl.java,
827         java/net/SocketImplFactory.java,
828         java/net/SocketOptions.java,
829         java/net/SocketPermission.java,
830         java/net/SocketTimeoutException.java,
831         java/net/URI.java,
832         java/net/URISyntaxException.java,
833         java/net/URL.java,
834         java/net/URLDecoder.java,
835         java/net/URLEncoder.java,
836         java/net/URLStreamHandler.java,
837         java/net/URLStreamHandlerFactory.java,
838         java/net/UnknownHostException.java,
839         java/net/UnknownServiceException.java:
840         Big import statement and @author tag cleanup.
841
842 2004-10-17  Michael Koch  <konqueror@gmx.de>
843
844         * gnu/java/security/OID.java,
845         gnu/java/security/provider/DSAParameters.java,
846         gnu/java/security/provider/DSASignature.java,
847         gnu/java/security/x509/X500DistinguishedName.java,
848         gnu/java/security/x509/X509CRL.java:
849         Import statements cleaned up.
850
851 2004-10-16  Michael Koch  <konqueror@gmx.de>
852
853         * gnu/java/nio/NIODatagramSocket.java,
854         gnu/java/nio/ServerSocketChannelImpl.java:
855         Reorganized import statements.
856
857 2004-10-16  Michael Koch  <konqueror@gmx.de>
858
859         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
860         gnu/java/rmi/rmic/RMIC.java,
861         gnu/java/rmi/server/RMIHashes.java,
862         gnu/java/rmi/server/RMIObjectInputStream.java,
863         gnu/java/rmi/server/RMIObjectOutputStream.java,
864         gnu/java/rmi/server/UnicastConnection.java,
865         gnu/java/rmi/server/UnicastConnectionManager.java,
866         gnu/java/rmi/server/UnicastRemoteCall.java,
867         gnu/java/rmi/server/UnicastServer.java,
868         gnu/java/rmi/server/UnicastServerRef.java,
869         java/rmi/MarshalledObject.java,
870         java/rmi/Naming.java,
871         java/rmi/RMISecurityManager.java,
872         java/rmi/Remote.java,
873         java/rmi/activation/Activatable.java,
874         java/rmi/activation/ActivationDesc.java,
875         java/rmi/activation/ActivationGroup.java,
876         java/rmi/activation/ActivationGroupDesc.java,
877         java/rmi/activation/ActivationGroupID.java,
878         java/rmi/activation/ActivationID.java,
879         java/rmi/activation/ActivationInstantiator.java,
880         java/rmi/activation/ActivationMonitor.java,
881         java/rmi/activation/ActivationSystem.java,
882         java/rmi/activation/Activator.java,
883         java/rmi/dgc/DGC.java,
884         java/rmi/dgc/Lease.java,
885         java/rmi/dgc/VMID.java,
886         java/rmi/registry/LocateRegistry.java,
887         java/rmi/registry/Registry.java,
888         java/rmi/registry/RegistryHandler.java,
889         java/rmi/server/LoaderHandler.java,
890         java/rmi/server/LogStream.java,
891         java/rmi/server/ObjID.java,
892         java/rmi/server/Operation.java,
893         java/rmi/server/RMIClassLoader.java,
894         java/rmi/server/RMIClassLoaderSpi.java,
895         java/rmi/server/RMIClientSocketFactory.java,
896         java/rmi/server/RMIFailureHandler.java,
897         java/rmi/server/RMIServerSocketFactory.java,
898         java/rmi/server/RMISocketFactory.java,
899         java/rmi/server/RemoteCall.java,
900         java/rmi/server/RemoteObject.java,
901         java/rmi/server/RemoteRef.java,
902         java/rmi/server/RemoteServer.java,
903         java/rmi/server/RemoteStub.java,
904         java/rmi/server/ServerRef.java,
905         java/rmi/server/Skeleton.java,
906         java/rmi/server/SkeletonMismatchException.java,
907         java/rmi/server/UID.java,
908         java/rmi/server/UnicastRemoteObject.java,
909         java/rmi/server/Unreferenced.java:
910         File headers and import statements cleaned up.
911
912 2004-10-16  Michael Koch  <konqueror@gmx.de>
913
914         * libjava/gnu/java/nio/charset/UTF_16.java,
915         libjava/gnu/java/nio/charset/UTF_16BE.java,
916         libjava/gnu/java/nio/charset/UTF_16LE.java,
917         libjava/java/nio/ByteOrder.java,
918         libjava/java/nio/MappedByteBuffer.java,
919         libjava/java/nio/channels/Channels.java,
920         libjava/java/nio/channels/spi/SelectorProvider.java,
921         libjava/java/nio/charset/Charset.java:
922         Cleanup.
923
924 2004-10-16  Michael Koch  <konqueror@gmx.de>
925
926         * gnu/java/nio/charset/UTF_16Encoder.java
927         (UTF_16Encoder): Fixed maxBytesPerChar handling.
928
929 2004-10-16  Michael Koch  <konqueror@gmx.de>
930
931         * java/math/BigDecimal.java, java/math/BigInteger.java:
932         Reorganized import statements, removed redundant and
933         reorganized modifiers.
934
935 2004-10-16  Michael Koch  <konqueror@gmx.de>
936
937         * gnu/java/beans/ExplicitBeanInfo.java:
938         Explicitely import java.awt.Image.
939         (getIcon): Fixed off-by-one error.
940
941 2004-10-15  Andrew Haley  <aph@redhat.com>
942
943         * Makefile.am (nat_files, xlib_nat_files): New.
944         * Makefile.in: Regenerate.
945
946 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
947
948         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
949         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
950
951 2004-10-13  Andrew Haley  <aph@redhat.com>
952
953         * interpret.cc (_Jv_InterpMethod::run): Initialize
954         _Jv_StartOfInterpreter.
955         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
956         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
957         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
958         _Unwind_FindEnclosingFunction to discover whether PC is within the
959         interpreter.
960
961 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
962
963         PR libgcj/17903:
964         * testsuite/libjava.lang/md5test.java: New file.
965         * testsuite/libjava.lang/md5test.out: Likewise.
966         * testsuite/libjava.lang/shatest.java: Likewise.
967         * testsuite/libjava.lang/shatest.out: Likewise.
968
969 2004-10-11  Richard Henderson  <rth@redhat.com>
970
971         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
972         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
973
974 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
975
976         * java/util/Calendar.java (set): Invalidate DST_OFFSET
977         field as a DST boundary may have been crossed.
978         * java/util/GregorianCalendar.java (add): Throw 
979         IllegalArgumentException on attempt to add to DST_OFFSET or 
980         ZONE_OFFSET fields. Update javadoc.
981
982 2004-10-09  Michael Koch  <konqueror@gmx.de>
983
984         * java/io/CharArrayWriter.java
985         (resize): Removed redundant 'final' modifier.
986         * java/io/DataInputStream.java
987         (readFully): Throw IndexOutOfBoundsException of len < 0.
988         * java/io/FileDescriptor.java,
989         java/io/FileInputStream.java,
990         java/io/FileOutputStream.java,
991         java/io/ObjectOutputStream.java,
992         java/io/ObjectStreamClass.java,
993         java/io/PipedInputStream.java,
994         java/io/RandomAccessFile.java:
995         Reorganized import statements.
996
997 2004-10-09  Michael Koch  <konqueror@gmx.de>
998
999         * gnu/java/rmi/rmic/RMIC.java,
1000         gnu/java/rmi/server/RMIHashes.java,
1001         gnu/java/rmi/server/RMIObjectInputStream.java,
1002         gnu/java/rmi/server/UnicastConnection.java,
1003         gnu/java/rmi/server/UnicastConnectionManager.java,
1004         gnu/java/rmi/server/UnicastRemoteCall.java,
1005         gnu/java/rmi/server/UnicastServerRef.java:
1006         Reworked import statements and fixed file headers.
1007
1008 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1009
1010         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1011         emission rule.
1012         * configure: Rebuilt.
1013
1014 2004-09-30  Tom Tromey  <tromey@redhat.com>
1015
1016         * java/text/MessageFormat.java (Field): Constructor now
1017         protected.
1018
1019 2004-09-30  Tom Tromey  <tromey@redhat.com>
1020
1021         * javax/crypto/MacSpi.java: Fixed typo.
1022
1023 2004-09-30  Michael Koch  <konqueror@gmx.de>
1024
1025         * java/net/InetAddress.java: Reformatted.
1026         (loopback): Initialize with Inet4Address object.
1027         (static): Initialize ANY_IF with Inet4Address object.
1028         (InetAddress): Removed unused package-private constructor.
1029
1030 2004-09-30  Michael Koch  <konqueror@gmx.de>
1031
1032         * java/beans/Beans.java,
1033         java/beans/EventHandler.java,
1034         java/beans/EventSetDescriptor.java,
1035         java/beans/Introspector.java,
1036         java/beans/PropertyEditorManager.java,
1037         java/beans/beancontext/BeanContext.java,
1038         java/beans/beancontext/BeanContextChild.java,
1039         java/beans/beancontext/BeanContextChildSupport.java,
1040         java/beans/beancontext/BeanContextMembershipEvent.java:
1041         Reordered import statements and removed redundant modifiers.
1042
1043 2004-09-29  Tom Tromey  <tromey@redhat.com>
1044
1045         PR libgcj/17715:
1046         * Makefile.in: Rebuilt.
1047         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1048         files.
1049         (all_property_files): New macro.
1050
1051         * Makefile.in: Rebuilt.
1052         * Makefile.am (ordinary_java_source_files): Re-sorted.
1053         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1054
1055 2004-09-28  Tom Tromey  <tromey@redhat.com>
1056
1057         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1058
1059         PR libgcj/17222:
1060         * Makefile.am (libgcj.la): Restored.
1061         * Makefile.in: Rebuilt.
1062
1063 2004-09-28  Michael Koch  <konqueror@gmx.de>
1064
1065         * java/net/URLConnection.java: Reformatted.
1066         * java/net/URLClassLoader.java: Reformatted.
1067         (getContent): Reordered return of content.
1068         (getContentHandler): Don't check for null explicitely.
1069
1070 2004-09-27  Michael Koch  <konqueror@gmx.de>
1071
1072         * java/io/BufferedInputStream.java
1073         (BufferedInputStream): Added Jeroen Frijters to authors.
1074         (count): Don't explicitely initialize with default value.
1075         (pos): Likewise.
1076         (marklimit): Likewise.
1077         (read): Changed boolean expression to match GNU classpath' version.
1078         (reset): Add proper message to exception.
1079         (skip): Check for closed stream.
1080         (refill): Likewise.
1081
1082 2004-09-26  Per Bothner  <per@bothner.com>
1083
1084         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1085         avoid warnings in the non-POSIX_VERSION case.
1086         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1087         so place it inside an #if block.
1088         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1089         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1090         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1091         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1092
1093 2004-09-26  Per Bothner  <per@bothner.com>
1094
1095         * prims.cc (process_gcj_properties):  Optimization.
1096
1097 2004-09-26  Per Bothner  <per@bothner.com>
1098
1099         * java/util/Collections.java (sort):  Copy from array in forwards
1100         order, rather than reverse order which may be much less efficient.
1101
1102 2004-09-26  Mark Wielaard  <mark@klomp.org>
1103
1104         * java/lang/System.java (properties): Make package private.
1105         * java/lang/Throwable.java (StaticData.nl): Initialize through
1106         directly accessing System.properties.getProperty().
1107
1108         * java/lang/Throwable.java (nl): Remove static field.
1109         (StaticData): New private static inner class.
1110         (stackTraceStringBuffer): Use StaticData.nl.
1111
1112 2004-09-26  Casey Marshall <csm@gnu.org>
1113
1114         * java/security/ProtectionDomain.java
1115         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1116         `true'.
1117
1118         * java/security/SecureClassLoader.java
1119         (defineClass): make protection domain dynamically bound.
1120         (getPermissions): call `getCurrentPolicy' to avoid permission
1121         check.
1122
1123 2004-09-25  Mark Wielaard  <mark@klomp.org>
1124
1125         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1126         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1127         * Makefile.in: Regenerated.
1128
1129         * gcj/javaprims.h: Regenerated.
1130
1131         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1132         (getDefaultTimeZone): Make package private. Check that GMToffset
1133         contains at least one digit.
1134         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1135         VMTimeZone.
1136         * util/VMTimeZone.java: New file with above methods.
1137
1138         * java/util/natTimeZone.cc: Removed (renamed).
1139         * java/util/natVMTimeZone.cc: Added (renamed).
1140
1141 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1142
1143         * java/util/TimeZone.java
1144         (getDefaultTimeZone): Fixed test to distinguish between hours and
1145         minutes in specified timezone.
1146
1147 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1148
1149         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1150         handling of default package. (generate): Removed confused comments
1151         and code about making Method and Field accessible.
1152
1153 2004-09-25  Tom Tromey  <tromey@redhat.com>
1154
1155         PR java/17500:
1156         * testsuite/libjava.compile/pr17500.java: New file.
1157
1158 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1159             Mark Wielaard  <mark@klomp.org>
1160
1161         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1162         * gnu/regexp/RETokenLookAhead.java: New file.
1163
1164         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1165         * Makefile.in: Regenerated.
1166
1167 2004-09-25  Michael Koch  <konqueror@gmx.de>
1168
1169         * java/io/ObjectStreamField.java:
1170         Removed unused import statement.
1171
1172 2004-09-24  Tom Tromey  <tromey@redhat.com>
1173
1174         PR java/15656:
1175         * testsuite/libjava.compile/pr15656.xfail: New file.
1176         * testsuite/libjava.compile/pr15656.java: new file.
1177
1178         PR java/16789:
1179         * testsuite/libjava.lang/pr16789.out: New file.
1180         * testsuite/libjava.lang/pr16789.java: New file.
1181
1182 2004-09-24  Andrew Haley  <aph@redhat.com>
1183
1184         PR java/16927
1185         * testsuite/libjava.compile/AssertBug.java: New file.
1186
1187 2004-09-24  Casey Marshall <csm@gnu.org>
1188
1189         * java/util/PropertyPermissionCollection.java
1190         (implies): avoid infinite loop.
1191
1192 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1193
1194         * javax/security/auth/PrivateCredentialPermission.java
1195         (PrivateCredentialPermission): added serialization UID
1196
1197
1198 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1199
1200         * gnu/java/rmi/server/UnicastServer.java
1201         (incomingMessageCall): Added code to handle Errors.
1202         * gnu/java/rmi/server/UnicastServerRef.java
1203         (incomingMessageCall): Added code to handle Errors.
1204
1205
1206 2004-09-24  Tom Tromey  <tromey@redhat.com>
1207
1208         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1209         (definedPackages): Likewise.
1210
1211 2004-09-24  Michael Koch  <konqueror@gmx.de>
1212
1213         * java/io/ObjectInputStream.java:
1214         Re-ordered imports.
1215
1216 2004-09-24  Casey Marshall <csm@gnu.org>
1217
1218         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1219         `ClassNotFoundException'.
1220
1221 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1222
1223         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1224         of Externalizable classes to ObjectStreamClass.
1225         * java/io/ObjectStreamClass.java (newInstance): New method to
1226         instantiate Externalizable (while ignoring the accessibility of
1227         the constructor). (constructor): New field to cache the constructor.
1228
1229 2004-09-24  Mark Wielaard  <mark@klomp.org>
1230
1231         * java/net/URL.java (systemClassLoader): New static field.
1232         (getURLStreamHandler): Always use system/application classloader
1233         for finding URLStreamhandler. Remove unecessary instanceof checks.
1234
1235 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1236
1237         * java/net/URL.java
1238         (set): This method now matches the behaviour of the JDK.
1239         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1240
1241 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1242
1243         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1244
1245 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1246
1247         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1248         Don't set authority if host isn't specified.
1249
1250 2004-09-24  Michael Koch  <konqueror@gmx.de>
1251
1252         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1253         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1254         * gnu/java/nio/VMPipe.java,
1255         gnu/java/nio/VMSelector.java:
1256         New files.
1257         * gnu/java/nio/natPipeImplEcos.cc,
1258         gnu/java/nio/natPipeImplPosix.cc,
1259         gnu/java/nio/natPipeImplWin32.cc:
1260         Ported to VMPipe.
1261         * gnu/java/nio/natSelectorImplEcos.cc,
1262         gnu/java/nio/natSelectorImplPosix.cc,
1263         gnu/java/nio/natSelectorImplWin32.cc:
1264         Ported to VMSelector.
1265         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1266         gnu/java/nio/VMSelector.java.
1267         * Makefile.in: Regenerated.
1268
1269 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1270
1271         * java/lang/StackTraceElement.java
1272         (className): Renamed field to declaringClass to be compatible
1273         with Sun serialization format.
1274
1275 2004-09-23  Michael Koch  <konqueror@gmx.de>
1276
1277         * java/applet/AppletContext.java,
1278         java/applet/Applet.java,
1279         java/applet/AppletStub.java,
1280         java/applet/AudioClip.java:
1281         Jalopied and checkstyle clean.
1282
1283 2004-09-23  Mark Wielaard  <mark@klomp.org>
1284
1285         * java/util/Collections.java
1286         (binarySearch(List, Object, Comparator)): Explicitly
1287         reverse direction in list iterator.
1288         (rotate): Just return when list is empty.
1289
1290 2004-09-23  Tom Tromey  <tromey@redhat.com>
1291
1292         PR java/17329:
1293         * testsuite/libjava.compile/pr17329.java: New file.
1294
1295         PR java/17380:
1296         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1297         9.2-implicit-7.
1298
1299 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1300
1301         * Makefile.am: Run aclocal with -I ../config
1302         * acinclude.m4: Delete macros picked up from ../config and tidy.
1303         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1304         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1305         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1306
1307 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1308
1309         * aclocal.m4: Regenerate with aclocal 1.9.2.
1310         * configure: Regenerate.
1311         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1312         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1313
1314 2004-09-22  David Daney  <ddaney@avtrex.com>
1315
1316         PR libgcj/17623
1317         * java/net/URL.java (URL): Copy userInfo from context.
1318         (getUserInfo): Return cached userInfo if present.
1319
1320 2004-09-22  Tom Tromey  <tromey@redhat.com>
1321
1322         PR libgcj/6182:
1323         * mauve-libgcj: Enable java.lang.Character tests.
1324
1325 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1326
1327         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1328         dependencies.
1329         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1330         * Makefile.in: Regenerated.
1331
1332 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1333
1334         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1335         * configure: Regenerate.
1336         * include/config.h.in: Likewise.
1337         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1338         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1339         macro to gtkpeer.h.
1340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1341         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1342         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1343         architectures.
1344         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1345         Likewise.
1346
1347 2004-09-22  Tom Tromey  <tromey@redhat.com>
1348
1349         PR libgcj/14446:
1350         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1351         when comparing CRCs.
1352         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1353         field.
1354         (read()): New overload.
1355
1356 2004-09-21  Tom Tromey  <tromey@redhat.com>
1357
1358         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1359         Indentation fix.
1360
1361 2004-09-21  Michael Koch  <konqueror@gmx.de>
1362
1363         * java/net/Socket.java
1364         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1365
1366 2004-09-21  Casey Marshall  <csm@gnu.org>
1367
1368         * javax/crypto/MacSpi.java (clone): Provide meaningful
1369         implementation.
1370
1371 2004-09-21  Tom Tromey  <tromey@redhat.com>
1372
1373         PR libgcj/16869:
1374         * Makefile.in: Rebuilt.
1375         * Makefile.am (MOSTLYCLEANFILES): Removed.
1376         (mostlyclean-local): Remove header files.
1377
1378 2004-09-21  Casey Marshall  <csm@gnu.org>
1379
1380         * java/security/cert/X509CRLSelector.java:
1381         (match): remove unreachable try-catch clauses.
1382         Reported by: Dalibor Topic <robilad@kaffe.org>
1383
1384 2004-09-21  Mark Wielaard  <mark@klomp.org>
1385
1386         * java/util/TreeMap.java (root): Don't initialize.
1387         (TreeMap(Comparator)): Call fabricateTree(0).
1388         (fabricateTree): Initialize root and size when count is 0.
1389
1390 2004-09-21  Sven de Marothy <sven@physto.se>
1391
1392         * java/nio/ByteBuffer.java (hashCode): Implemented.
1393         * java/nio/CharBuffer.java: Likewise.
1394         * java/nio/DoubleBuffer.java: Likewise.
1395         * java/nio/FloatBuffer.java: Likewise.
1396         * java/nio/LongBuffer.java: Likewise.
1397         * java/nio/IntBuffer.java: Likewise.
1398         * java/nio/ShortBuffer.java: Likewise.
1399
1400 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1401
1402         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1403
1404 2004-09-21  Michael Koch  <konqueror@gmx.de>
1405
1406         * javax/net/ssl/SSLServerSocket.java:
1407         Removed comment about "Do not edit this file, it's generated.".
1408
1409 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1410
1411         Import the big Crypto/Jessie/Security merge from Classpath.
1412
1413         * Makefile.am: Add imported files.
1414         * Makefile.in: Regenerate.
1415
1416         2004-08-14  Casey Marshall <csm@gnu.org>
1417
1418         The Big Crypto Merge of 2004.
1419
1420         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1421         Crypto's version.
1422
1423         Files imported from GNU Crypto.
1424         * javax/crypto/BadPaddingException.java
1425         * javax/crypto/Cipher.java
1426         * javax/crypto/CipherInputStream.java
1427         * javax/crypto/CipherOutputStream.java
1428         * javax/crypto/CipherSpi.java
1429         * javax/crypto/EncryptedPrivateKeyInfo.java
1430         * javax/crypto/ExemptionMechanism.java
1431         * javax/crypto/ExemptionMechanismException.java
1432         * javax/crypto/ExemptionMechanismSpi.java
1433         * javax/crypto/IllegalBlockSizeException.java
1434         * javax/crypto/KeyAgreement.java
1435         * javax/crypto/KeyAgreementSpi.java
1436         * javax/crypto/KeyGenerator.java
1437         * javax/crypto/KeyGeneratorSpi.java
1438         * javax/crypto/Mac.java
1439         * javax/crypto/MacSpi.java
1440         * javax/crypto/Makefile.am
1441         * javax/crypto/NoSuchPaddingException.java
1442         * javax/crypto/NullCipher.java
1443         * javax/crypto/NullCipherImpl.java
1444         * javax/crypto/SealedObject.java
1445         * javax/crypto/SecretKey.java
1446         * javax/crypto/SecretKeyFactory.java
1447         * javax/crypto/SecretKeyFactorySpi.java
1448         * javax/crypto/ShortBufferException.java
1449         * javax/crypto/interfaces/DHKey.java
1450         * javax/crypto/interfaces/DHPrivateKey.java
1451         * javax/crypto/interfaces/DHPublicKey.java
1452         * javax/crypto/interfaces/PBEKey.java
1453         * javax/crypto/spec/DESKeySpec.java
1454         * javax/crypto/spec/DESedeKeySpec.java
1455         * javax/crypto/spec/DHGenParameterSpec.java
1456         * javax/crypto/spec/DHParameterSpec.java
1457         * javax/crypto/spec/DHPrivateKeySpec.java
1458         * javax/crypto/spec/DHPublicKeySpec.java
1459         * javax/crypto/spec/IvParameterSpec.java
1460         * javax/crypto/spec/PBEKeySpec.java
1461         * javax/crypto/spec/PBEParameterSpec.java
1462         * javax/crypto/spec/RC2ParameterSpec.java
1463         * javax/crypto/spec/RC5ParameterSpec.java
1464         * javax/crypto/spec/SecretKeySpec.java
1465         * javax/security/auth/AuthPermission.java
1466         * javax/security/auth/DestroyFailedException.java
1467         * javax/security/auth/Destroyable.java
1468         * javax/security/auth/Policy.java
1469         * javax/security/auth/PrivateCredentialPermission.java
1470         * javax/security/auth/RefreshFailedException.java
1471         * javax/security/auth/Refreshable.java
1472         * javax/security/auth/Subject.java
1473         * javax/security/auth/SubjectDomainCombiner.java
1474         * javax/security/auth/callback/Callback.java
1475         * javax/security/auth/callback/CallbackHandler.java
1476         * javax/security/auth/callback/ChoiceCallback.java
1477         * javax/security/auth/callback/ConfirmationCallback.java
1478         * javax/security/auth/callback/LanguageCallback.java
1479         * javax/security/auth/callback/NameCallback.java
1480         * javax/security/auth/callback/PasswordCallback.java
1481         * javax/security/auth/callback/TextInputCallback.java
1482         * javax/security/auth/callback/TextOutputCallback.java
1483         * javax/security/auth/callback/UnsupportedCallbackException.java
1484         * javax/security/auth/login/AccountExpiredException.java
1485         * javax/security/auth/login/AppConfigurationEntry.java
1486         * javax/security/auth/login/Configuration.java
1487         * javax/security/auth/login/CredentialExpiredException.java
1488         * javax/security/auth/login/FailedLoginException.java
1489         * javax/security/auth/login/LoginContext.java
1490         * javax/security/auth/login/LoginException.java
1491         * javax/security/auth/login/NullConfiguration.java
1492         * javax/security/auth/x500/X500PrivateCredential.java
1493         * javax/security/sasl/AuthenticationException.java
1494         * javax/security/sasl/AuthorizeCallback.java
1495         * javax/security/sasl/RealmCallback.java
1496         * javax/security/sasl/RealmChoiceCallback.java
1497         * javax/security/sasl/Sasl.java
1498         * javax/security/sasl/SaslClient.java
1499         * javax/security/sasl/SaslClientFactory.java
1500         * javax/security/sasl/SaslException.java
1501         * javax/security/sasl/SaslServer.java
1502         * javax/security/sasl/SaslServerFactory.java
1503         * org/ietf/jgss/ChannelBinding.java
1504         * org/ietf/jgss/GSSContext.java
1505         * org/ietf/jgss/GSSCredential.java
1506         * org/ietf/jgss/GSSException.java
1507         * org/ietf/jgss/GSSManager.java
1508         * org/ietf/jgss/GSSName.java
1509         * org/ietf/jgss/MessageProp.java
1510         * org/ietf/jgss/Oid.java
1511         * org/ietf/jgss/MessagesBundle.properties
1512
1513         Files imported from Jessie <http://www.nongnu.org/jessie/>
1514         * javax/net/ServerSocketFactory.java
1515         * javax/net/SocketFactory.java
1516         * javax/net/VanillaServerSocketFactory.java
1517         * javax/net/VanillaSocketFactory.java
1518         * javax/net/ssl/HandshakeCompletedEvent.java
1519         * javax/net/ssl/HandshakeCompletedListener.java
1520         * javax/net/ssl/HostnameVerifier.java
1521         * javax/net/ssl/HttpsURLConnection.java
1522         * javax/net/ssl/KeyManager.java
1523         * javax/net/ssl/KeyManagerFactory.java
1524         * javax/net/ssl/KeyManagerFactorySpi.java
1525         * javax/net/ssl/ManagerFactoryParameters.java
1526         * javax/net/ssl/SSLContext.java
1527         * javax/net/ssl/SSLContextSpi.java
1528         * javax/net/ssl/SSLException.java
1529         * javax/net/ssl/SSLHandshakeException.java
1530         * javax/net/ssl/SSLKeyException.java
1531         * javax/net/ssl/SSLPeerUnverifiedException.java
1532         * javax/net/ssl/SSLPermission.java
1533         * javax/net/ssl/SSLProtocolException.java
1534         * javax/net/ssl/SSLServerSocket.java
1535         * javax/net/ssl/SSLServerSocketFactory.java
1536         * javax/net/ssl/SSLSession.java
1537         * javax/net/ssl/SSLSessionBindingEvent.java
1538         * javax/net/ssl/SSLSessionBindingListener.java
1539         * javax/net/ssl/SSLSessionContext.java
1540         * javax/net/ssl/SSLSocket.java
1541         * javax/net/ssl/SSLSocketFactory.java
1542         * javax/net/ssl/TrivialHostnameVerifier.java
1543         * javax/net/ssl/TrustManager.java
1544         * javax/net/ssl/TrustManagerFactory.java
1545         * javax/net/ssl/TrustManagerFactorySpi.java
1546         * javax/net/ssl/X509KeyManager.java
1547         * javax/net/ssl/X509TrustManager.java
1548         * javax/security/cert/Certificate.java
1549         * javax/security/cert/CertificateEncodingException.java
1550         * javax/security/cert/CertificateException.java
1551         * javax/security/cert/CertificateExpiredException.java
1552         * javax/security/cert/CertificateNotYetValidException.java
1553         * javax/security/cert/CertificateParsingException.java
1554         * javax/security/cert/X509CertBridge.java
1555         * javax/security/cert/X509Certificate.java
1556
1557         2004-08-20  Casey Marshall  <csm@gnu.org>
1558
1559         * java/security/cert/X509CRLSelector.java: New file.
1560         * java/security/cert/X509CertSelector.java: New file.
1561
1562 2004-09-15  Michael Koch  <konqueror@gmx.de>
1563
1564         * gnu/java/net/protocol/file/Handler.java
1565         (openConnection): Don't throw exception if host part for file: URI is
1566         present. setURL() keeps file: protocol if ftp: protocol is not
1567         available.
1568
1569 2004-09-14  Richard Henderson  <rth@redhat.com>
1570
1571         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1572         value of sigsuspend.
1573
1574 2004-09-12  Tom Tromey  <tromey@redhat.com>
1575
1576         * javax/naming/CompoundName.java (CompoundName): Don't check for
1577         separator in "flat" case.
1578
1579 2004-09-12  Michael Koch  <konqueror@gmx.de>
1580
1581         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1582         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1583         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1584         Regenerate.
1585
1586 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1587
1588         PR libgcj/14751
1589         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1590         handle in newly-allocated _Jv_Thread_t.
1591         (_Jv_ThreadDestroyData): Close thread handle.
1592         (_Jv_ThreadStart): Remove obsolete comment.
1593         Store handle of newly-created thread in _Jv_Thread_t.
1594         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1595         before including <windows.h>
1596         #define _Jv_HaveCondDestroy
1597
1598 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1599
1600         * java/lang/natThread.cc (finalize_native): Destroy
1601         join conditional variable and mutex if these destroy
1602         operations are supported.
1603
1604 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1605
1606         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1607         (DEFAULT_PERMISSION): New constant.
1608         (Connection): Create a FilePermission with permission to read file.
1609
1610 2004-09-10  Michael Koch  <konqueror@gmx.de>
1611
1612         * gnu/java/net/protocol/file/Connection.java
1613         (getLastModified): Moved around.
1614         (getPermission): Return stored permission.
1615
1616 2004-09-10  Michael Koch  <konqueror@gmx.de>
1617
1618         * Makefile.in: Regenerate.
1619
1620 2004-09-10  Michael Koch  <konqueror@gmx.de>
1621
1622         * Makefile.am: Reverted accidently commited stuff.
1623         * configure: Regenerated.
1624
1625 2004-09-10  Michael Koch  <konqueror@gmx.de>
1626
1627         * gnu/java/net/protocol/file/Connection.java
1628         (lineSeparator): Made non-final.
1629         (static): Removed.
1630         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1631         instead of StringBufferInputStream.
1632
1633 2004-09-10  Michael Koch  <konqueror@gmx.de>
1634
1635         * gnu/java/net/protocol/file/Connection.java
1636         (connect): Handle file is a directory case.
1637
1638 2004-09-10  Michael Koch  <konqueror@gmx.de>
1639
1640         * Makefile.am
1641         (xlib_includes): Removed.
1642         (AM_CPPFLAGS): Renamed from INCLUDES.
1643         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1644         * Makefile.in: Regenerate.
1645
1646 2004-09-09  Michael Koch  <konqueror@gmx.de>
1647
1648         * java/security/ProtectionDomain.java,
1649         * java/util/PropertyPermissionCollection.java:
1650         Fixed javadocs all over.
1651
1652 2004-09-09  Sven de Marothy  <sven@physto.se>
1653
1654         Patch from David Gilbert <david.gilbert@object-refinery.com>
1655         * java/lang/Comparable.java: Fixed documentation errors.
1656         * java/util/Arrays.java: Likewise.
1657
1658 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1659
1660         * java/net/Inet4Address.java
1661         (Inet4Address): Added comment to serialization UID.
1662         * java/text/Format.java
1663         (Format): Added comment to serialization UID.
1664
1665 2004-09-09  Michael Koch  <konqueror@gmx.de>
1666
1667         * java/lang/System.java
1668         (err): Fixed javadoci to point to setErr() and not setOut().
1669
1670 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1671
1672         (normalizePath): Added special case for windows systems.
1673
1674 2004-09-09  Michael Koch  <konqueror@gmx.de>
1675
1676         * java/io/File.java
1677         (dupSeparator): Made private.
1678         (File(URI)): New constructor.
1679         (getParentFile): Fixed javadoc.
1680         (createTempFile): Reformated.
1681         (setReadOnly): Added comment.
1682         (deleteOnExit): Merged javadoc with classpath version.
1683
1684 2004-09-09  Michael Koch  <konqueror@gmx.de>
1685
1686         * Makefile.am: Don't try to include deps.mk.
1687         * Makefile.in: Regenerated.
1688
1689 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1690
1691         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1692         .d files.
1693         * configure: Rebuilt.
1694
1695 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1696
1697         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1698         Changed pfn from static local to local.
1699
1700 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1701             H.J. Lu  <hongjiu.lu@intel.com>
1702
1703         PR libgcj/17290
1704         * Makefile.am (GCJCOMPILE): Remove definition.
1705         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1706         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1707         * Makefile.in: Rebuilt.
1708
1709 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1710
1711         * configure.ac (enable-gc-debug): Update help for new syntax.
1712         * configure: Regenerate.
1713
1714 2004-09-03  David Daney  <ddaney@avtrex.com>
1715
1716         * include/mips-signal.h: Update copyright.
1717
1718 2004-09-03  David Daney  <ddaney@avtrex.com>
1719
1720         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1721         * include/mips-signal.h: Added HANDLE_FPE support.
1722         
1723 2004-08-31  Michael Koch  <konqueror@gmx.de>
1724
1725         * javax/swing/plaf/basic/BasicTextAreaUI.java
1726         (create): New method.
1727         * javax/swing/text/DefaultHighlighter.java
1728         (DefaultHighlightPainter.debugRect): Removed.
1729         * javax/swing/text/StyleContext.java
1730         (DEFAULT_STYLE): New field.
1731
1732 2004-08-31  Michael Koch  <konqueror@gmx.de>
1733
1734         * javax/swing/plaf/basic/BasicLookAndFeel.java
1735         (initComponentDefaults): Add keybindings for selection.backward and
1736         selection-forward for text components.
1737         * javax/swing/plaf/basic/BasicTextUI.java
1738         (paintSafely): Paint highlight only when something is actually
1739         selected.
1740         * javax/swing/text/DefaultCaret.java
1741         (handleHighlight): New method.
1742         (setSelectionVisible): Don't do anything when nothing changes.
1743         Handle highlight.
1744         (moveDot): Reimplemented. Handle highlight.
1745         (setDot): Set mark too. Handle highlight.
1746         (getSelectionPainter): New method.
1747         * javax/swing/text/DefaultEditorKit.java
1748         (defaultActions): Added new actions for text selection.
1749         * javax/swing/text/DefaultHighlighter.java
1750         (DefaultHighlightPainter): New inner class.
1751         (DefaultPainter): New field.
1752         (paint): Implemented.
1753         * javax/swing/text/PlainView.java
1754         (paint): Don't draw background here again.
1755         * javax/swing/text/Utilities.java
1756         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1757         (drawTabbedText): Likewise.
1758
1759 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1760
1761         * javax/swing/JComponent.java
1762         (resetKeyboardActions): Add null checks.
1763
1764 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1765
1766         * javax/swing/DefaultButtonModel.java:
1767         Skip group notification when no group is set.
1768
1769 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1770
1771         * javax/swing/JColorChooser.java: 
1772         Make a couple inner classes static, for jikes.
1773
1774 2004-08-31  Michael Koch  <konqueror@gmx.de>
1775
1776         * javax/swing/plaf/basic/BasicTextUI.java
1777         (RottView.modelToView): New method.
1778         (UpdateHandler): Renamed from EventHandler.
1779         (updateHandler): Renamed from eventHandler.
1780         (modelToView): Implemented.
1781         * javax/swing/text/AbstractDocument.java
1782         (BranchElement.getElement): Return null for non-existing indeces.
1783         (BranchElement.getElementIndex): Return 0 in some corner cases.
1784         * javax/swing/text/FieldView.java
1785         (modelToView): New method.
1786         * javax/swing/text/PlainView.java
1787         (modelToView): Made public.
1788
1789 2004-08-31  Kim Ho  <kho@redhat.com>
1790
1791         * Makefile.am: New files.
1792         * Makefile.in: Regenerate.
1793         * gcj/Makefile.in: Regenerate.
1794         * include/Makefile.in: Regenerate.
1795         * java/awt/Color.java: Fix documentation.
1796         (RGBtoHSB): Use floats for conversions.
1797         * javax/swing/ButtonGroup.java: Run Jalopy.
1798         (setSelected): Reimplement.
1799         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1800         (changeState): Let ButtonGroup know that the button 
1801         is changing state.
1802         * javax/swing/JColorChooser.java: Implement.
1803         * javax/swing/JLabel.java: Run Jalopy.
1804         * javax/swing/JSpinner.java: Run Jalopy.
1805         (setValue): New method.
1806         * javax/swing/JTabbedPane.java: Run Jalopy.
1807         (removeTabAt): Call correct remove method.
1808         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1809         (getPreviousValue): Compare minimum value.
1810         * javax/swing/Timer.java: Run Jalopy.
1811         (run): Comment out println.
1812         * javax/swing/ToolTipManager.java:
1813         (mouseMoved): Get new tooltip text for location.
1814         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1815         Jalopy and Javadoc.
1816         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1817         Implement.
1818         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1819         Run Jalopy.
1820         (setSelectedColor): Fire ChangeEvent.
1821         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1822         New file. Implement.
1823         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1824         Ditto.
1825         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1826         Ditto.
1827         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1828         Ditto.
1829         * javax/swing/plaf/basic/BasicArrowButton.java:
1830         (getArrow): Fix size of upward pointing button.
1831         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1832         Implement.
1833         * javax/swing/plaf/basic/BasicSliderUI.java:
1834         (getWidthOfWidestLabel): Use preferred dimensions.
1835         (getHeightOfTallestLabel): Ditto.
1836         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1837         Run Jalopy.
1838         (mousePressed): Disable changes to spinner if it is not enabled.
1839         * testsuite/Makefile.in: Regenerate.
1840
1841
1842 2004-08-31  Michael Koch  <konqueror@gmx.de>
1843
1844         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1845         javax/swing/plaf/basic/BasicTableUI.java:
1846         Added copyright notice.
1847
1848 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1849
1850         * Makefile.am: Added new files.
1851         * Makefile.in: Regenerate.
1852         * javax/swing/ComboBoxEditor.java: Added javadocs.
1853         * javax/swing/ComboBoxModel.java: Likewise.
1854         * javax/swing/DefaultComboBoxModel.java: Implemented.
1855         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1856         and ran through jalopy to fix formatting style.
1857         (getListCellRendererComponent): Use appropriate border
1858         if renderer has focus and use noFocusBorder when it doesn't.
1859         * javax/swing/JComboBox.java: Implemented.
1860         * javax/swing/JList.java:
1861         (locationToIndex): New Method. Implemented.
1862         (indexToLocation): New Method.
1863         * javax/swing/JPopupMenu.java: 
1864         (visible): New field.
1865         (isVisible): Changed to use new field above.
1866         (setVisible): Likewise.
1867         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1868         * javax/swing/plaf/basic/BasicArrowButton.java: 
1869         (shadow): Changed default color to Color.gray.
1870         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1871         UI delegate for JComboBox.
1872         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1873         Popup menu containing list of JComboBox's items.
1874         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1875         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1876         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1877         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1878         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1879         (popupMenuWillBecomeVisible): Set selected path to the first
1880         element only if it is of type MenuElement. Also fix formatting
1881         style.
1882         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1883         methods signatures.
1884         
1885 2004-08-31  Michael Koch  <konqueror@gmx.de>
1886
1887         * javax/swing/text/AbstractDocument.java
1888         (createBranchElement): Use new constructor of BranchElement.
1889         (createLeafElement): Renamed arguments.
1890         (getRootElements): Implemented.
1891         (BranchElement.start): Removed.
1892         (BranchElement.end): Likewise.
1893         (BranchElement.BranchElement): Fixed arguments.
1894         (BranchElement.getEndOffset): Reimplemented.
1895         (BranchElement.getStartOffset): Likewis.
1896         * javax/swing/text/DefaultCaret.java
1897         (paint): Draw simple vertical line as caret instead of a rectangle.
1898         * javax/swing/text/JTextComponent.java
1899         (setText): Use doc directly.
1900         * javax/swing/text/PlainView.java
1901         (nextTabStop): Implemented.
1902         * javax/swing/text/Utilities.java
1903         (drawTabbedText): nextTabStop() returns an absolute x position.
1904         (getTabbedTextWidth): Likewise.
1905
1906 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1907
1908         * java/awt/Component.java 
1909         (isFocusTraversable): Predicate on isLightweight()
1910         (setFocusable): Set isFocusTraversableOverridden.
1911         (requestFocus): Predicate peer dispatch on !isLightweight()
1912         (requestFocusInWindow): Likewise.
1913         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1914         * java/awt/Container.java
1915         (dispatchEventImpl): Predicate on event mask.
1916         (LightweightDispatcher): Remove focus machinery.
1917         * java/awt/DefaultFocusTraversalPolicy.java
1918         (accept): Expand predicate to include isFocusable(). 
1919         * java/awt/DefaultKeyboardFocusManager.java:
1920         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1921         * java/awt/KeyboardFocusManager.java
1922         (redispatchEvent): Synchronize on event to prevent feedback.
1923         * javax/swing/AbstractButton.java
1924         (ButtonFocusListener): Remove class.
1925         (init): Set focusPainted, focusable.
1926         * javax/swing/ActionMap.java (get): Check parent for null. 
1927         * javax/swing/InputMap.java (get): Likewise. 
1928         * javax/swing/JComponent.java
1929         (inputMap_whenFocused): New InputMap.
1930         (inputMap_whenAncestorOfFocused): Likewise.
1931         (inputMap_whenInFocusedWindow): Likewise.
1932         (getActionForKeyStroke): Rewrite.
1933         (getConditionForKeystroke): Likewise.
1934         (ActionListenerProxy): New private class.
1935         (setInputMap): Implement.
1936         (getInputMap): Likewise.
1937         (setActionMap): Likewise.
1938         (getActionMap): Likewise.
1939         (processComponentKeyEvent): New empty method.
1940         (processKeyEvent): Implement.
1941         (processKeyBinding): Likewise.
1942         (resetKeyboardActions): Rewrite.
1943         * javax/swing/KeyStroke.java: Rewrite.
1944         * javax/swing/SwingUtilities.java
1945         (notifyAction): Implement.
1946         (replaceUIActionMap): Likewise.
1947         (replaceUIInputMap): Likewise.
1948         * javax/swing/plaf/basic/BasicButtonListener.java
1949         (focusGained): Implement.
1950         (focusLost): Repaint if focusPainted().
1951         (installKeyboardActions): Install pressed / released actions.
1952         (uninstallKeyboardActions): Implement.
1953         * javax/swing/plaf/basic/BasicButtonUI.java
1954         (focusColor): New field.
1955         (installDefaults): Load focus color, install input map.
1956         (installKeyboardActions): Implement.
1957         (uninstallKeyboardActions): Likewise.
1958         (paintFocus): Rewrite.
1959         * javax/swing/plaf/basic/BasicLookAndFeel.java
1960         (Button.focus): New default, midPurple. 
1961         * javax/swing/plaf/basic/BasicTextUI.java
1962         (kit): Make static.
1963         (installUI): Get doc from kit, load defaults.
1964         (getKeymapName): Implement.
1965         (createKeymap): Likewise.
1966         (installKeyboardActions): Likewise.
1967         (getInputMap): Likewise.
1968         (getActionMap): Likewise.
1969         (createActionMap): Likewise.
1970         * javax/swing/text/AbstractDocument.java
1971         (getStartPosition): Implement.
1972         (getEndPosition): Likewise.
1973         * javax/swing/text/DefaultEditorKit.java
1974         (CopyAction): New class.
1975         (CutAction): Likewise.
1976         (DefaultKeyTypedAction): Likewise.
1977         (InsertBreakAction): Likewise.
1978         (InsertContentAction): Likewise.
1979         (InsertTabAction): Likewise.
1980         (PasteAction): Likewise.
1981         (defaultActions): New static table.
1982         (createCaret): Implement.
1983         (getActions): Likewise.
1984         * javax/swing/text/JTextComponent.java
1985         (KeymapWrapper): New private class.
1986         (KeymapActionMap): Likewise.
1987         (DefaultKeymap): New class.
1988         (keymaps): New static table.
1989         (keymap): New field.
1990         (getKeymap): Implement.
1991         (removeKeymap): Likewise.
1992         (addKeymap): Likewise.
1993         (setKeymap): Likewise.
1994         (loadKeymap): Likewise.
1995         (getActions): Likewise.
1996         (margin): New field.
1997         (JTextComponent): Build and install default keymap.
1998         * javax/swing/text/TextAction.java
1999         (textAction): Call super properly.
2000         (getTextComponent): Implement.
2001         * javax/swing/text/Utilities.java
2002         (drawTabbedText): Adjust position by ascent.
2003
2004 2004-08-31  David Jee  <djee@redhat.com>
2005
2006         PR AWT/17156
2007
2008         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2009         (setEnabled): Make it a native method.
2010         * java/awt/DefaultKeyboardFocusManager.java
2011         (postProcessKeyEvent): Only post event if the menu item
2012         is active.
2013         * java/awt/MenuItem.java:
2014         Private field 'enabled' should be true by default.
2015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2016         (setEnabled): New function.
2017
2018 2004-08-31  David Jee  <djee@redhat.com>
2019
2020         PR AWT/17059
2021
2022         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2023         (nativeSetHelpMenu): New native method declaration.
2024         (addHelpMenu): Call nativeSetHelpMenu().
2025         (addMenu): Remove.
2026         * java/awt/MenuBar.java
2027         (setHelpMenu): Call addNotify() on the new help menu.
2028         (add): Call addNotify() on the new menu.
2029         (addNotify): Set the help menu if one exists.
2030         * java/awt/peer/MenuBarPeer.java
2031         (addMenu): Remove.
2032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2033         (nativeSetHelpMenu): New method.
2034
2035 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2036
2037         * Makefile.am: Add new files.
2038         * Makefile.in: Regenerate.
2039         * javax/swing/Box.java: Fix setting of layout in ctor.
2040         * javax/swing/JScrollPane.java: Scroll headers as well.
2041         * javax/swing/JTable.java: Reimplement.
2042         * javax/swing/JViewPort.java: Only add non-null children.
2043         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2044         * javax/swing/Timer.java: Fix stopping null waker.
2045         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2046         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2047         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2048         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2049         * javax/swing/table/DefaultTableModel.java: Clean up.
2050         * javax/swing/table/JTableHeader.java: Implement.
2051
2052 2004-08-31  Mark Wielaard  <mark@klomp.org>
2053
2054         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2055         semi-colon.
2056
2057 2004-08-31  Mark Wielaard  <mark@klomp.org>
2058
2059         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2060         Declare variables at top of functions/block.
2061         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2062
2063 2004-08-31  Mark Wielaard  <mark@klomp.org>
2064
2065         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2066         first.
2067
2068 2004-08-31  Michael Koch  <konqueror@gmx.de>
2069
2070         * javax/swing/text/PlainView.java
2071         (selectedColor): New field.
2072         (unselectedColor): Likewise.
2073         (font): Likewise.
2074         (updateMetrics): New method.
2075         (lineToRect): Likewise.
2076         (modelToView): Likewise.
2077         (drawSelectedText): Use color from JTextComponent ad draw with
2078         Utilities class.
2079         (drawUnselectedText): Likewise.
2080         (paint): Initialize helper fields.
2081         * javax/swing/text/View.java
2082         (getChildAllocation): New method.
2083         (getViewIndex): Likewise.
2084         (getToolTipText): Likewise.
2085
2086 2004-08-31  Michael Koch  <konqueror@gmx.de>
2087
2088         * javax/swing/text/Utilities.java
2089         (drawTabbedText): Reimplemented.
2090         (getTabbedTextWidth): Likewise.
2091
2092 2004-08-31  Michael Koch  <konqueror@gmx.de>
2093
2094         * javax/swing/plaf/basic/BasicTextUI.java
2095         (installDefaults): Install caret and highlighter.
2096         (modelToView): Use Bias.Forward when calling sibling.
2097         * javax/swing/text/AbstractDocument.java
2098         (ElementEdit): Implements DocumentEvent.ElementChange.
2099         (ElementEdit.ElementEdit): New method.
2100         (ElementEdit.getChildrenAdded): Likewise.
2101         (ElementEdit.getChildrenRemoved): Likewise.
2102         (ElementEdit.getElement): Likewise.
2103         (ElementEdit.getIndex): Likewise.
2104         * javax/swing/text/DefaultCaret.java
2105         (color): Removed.
2106         (textComponent): Renamed from parent, made private.
2107         (selectionVisible): Renamed from vis_sel, made private.
2108         (blinkRate): Renamed from blink, made private.
2109         (magicCaretPosition): Renamed from magic, made private.
2110         (visible): Renamed from vis, made private.
2111         (dot): Made private.
2112         (mark): Likewise.
2113         (deinstall): Remove as MouseMotionListener.
2114         (install): Initialize textComponent first. Add as MouseMotionListener.
2115         (paint): Reimplemented.
2116         * javax/swing/text/JTextComponent.java
2117         (setCaret): Deinstall old caret, install new one and fire property
2118         change after setting property.
2119         (setHighlighter): Deinstall old highlighter, install new one and fire
2120         property change after setting property.
2121         (setCaretColor): Fire property change after setting property.
2122         (setDisabledTextColor): Likewise.
2123         (setSelectedTextColor): Likewise.
2124         (setSelectionColor): Likewise.
2125         (modelToView): New method.
2126
2127 2004-08-31  Michael Koch  <konqueror@gmx.de>
2128
2129         * javax/swing/text/AbstractDocument.java
2130         (getText): Simplified.
2131         * javax/swing/text/Segment.java
2132         (current): New field.
2133         (current): Reimplemented.
2134         (first): Likewise.
2135         (getIndex): Likewise.
2136         (last): Likewise.
2137         (next): Likewise.
2138         (previous): Likewise.
2139         (setIndex): Likewise.
2140
2141 2004-08-31  Michael Koch  <konqueror@gmx.de>
2142
2143         * javax/swing/plaf/basic/BasicButtonUI.java
2144         (defaultTextIconGap): Made protected.
2145         (defaultTextShiftOffset): Likewise.
2146         (textShiftOffset): New field.
2147         (clearTextShiftOffset): New method.
2148         (getTextShiftOffset): Likewise.
2149         (setTextShiftOffset): Likewise.
2150
2151 2004-08-31  Michael Koch  <konqueror@gmx.de>
2152
2153         * javax/swing/plaf/basic/BasicTextUI.java
2154         (installUI): Add eventHandler as property listener.
2155         (uninstallUI): remove eventHandler as propert listener.
2156         (installDefaults): Added comment.
2157         (installListeners): Likewise.
2158         (installKeyboardActions): Likewise.
2159         (uninstallDefaults): Likewise.
2160         (uninstallListeners): Likewise.
2161         (uninstallKeyboardActions): Likewise.
2162
2163 2004-08-31  Michael Koch  <konqueror@gmx.de>
2164
2165         * javax/swing/text/AbstractDocument.java:
2166         Fixed some typos in comments.
2167         (insertString): Reimplemented.
2168         (remove): Likewise.
2169         (replace): New method.
2170         (children): Dont use fully qualified class name.
2171         (DefaultDocumentEvent.offset): Renamed from off.
2172         (DefaultDocumentEvent.length): Renamed from len.
2173         (DefaultDocumentEvent.type): New field.
2174         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2175         (DefaultDocumentEvent.getType): Implemented.
2176
2177 2004-08-31  Michael Koch  <konqueror@gmx.de>
2178
2179         * javax/swing/plaf/basic/BasicTextUI.java
2180         (RootView.textComponent): Removed.
2181         (RootView.RootView): Don't initialize textComponent.
2182         (RootView.getViewFactory): New method.
2183         (EventHandler): New inner class.
2184         (rootView): Initialize at instance creation.
2185         (eventHandler): New field.
2186         (installUI): Don't create view hierarchy directly,
2187         call modelChanged() instead.
2188         (modelChanged): New method.
2189         * javax/swing/text/JTextComponent.java
2190         (setDocument): Fire property change event.
2191
2192 2004-08-31  Michael Koch  <konqueror@gmx.de>
2193
2194         * javax/swing/plaf/basic/BasicTextUI.java
2195         (RootView.paint): Removed debug output.
2196         (paintSafely): Draw highlighter before text.
2197         (paintBackground): Use background color of text component.
2198         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2199         Reformatted.
2200
2201 2004-08-31  Michael Koch  <konqueror@gmx.de>
2202
2203         * javax/swing/plaf/basic/BasicToolBarUI.java
2204         (BasicToolBarUI): Fixed arguments for constructor.
2205         (createUI): Fixed creation of object.
2206
2207 2004-08-31  Michael Koch  <konqueror@gmx.de>
2208
2209         * javax/swing/DefaultListSelectionModel.java
2210         (fireValueChanged): Renamed from fireSelectionValueChanged,
2211         made protected.
2212
2213 2004-08-31  Michael Koch  <konqueror@gmx.de>
2214
2215         * javax/swing/text/TabSet.java
2216         (TabSet): Implements java.io.Serializable.
2217         * javax/swing/text/TabStop.java
2218         (TabStop): Implements java.io.Serializable.
2219         (TabStop): Made public.
2220
2221 2004-08-31  Michael Koch  <konqueror@gmx.de>
2222
2223         * javax/swing/JComponent.java
2224         (setUI): Fire PropertyChange.
2225         * javax/swing/JLabel.java
2226         (text): Renamed from labelText.
2227         (horizontalAlignment): New default vlaue.
2228         (icon): Renamed from activeIcon.
2229         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2230         (displayedMnemonicIndex): Renamed from underlineChar.
2231         (setDisplayedMnemonic): Reimplemented.
2232         * javax/swing/JRadioButton.java
2233         (JRadioButton): New constructors.
2234         * javax/swing/JTextField.java
2235         (JTextField): Throw exception if colums < 0, initialitialz
2236         this.columns directly and initialize document with text conditionally.
2237
2238 2004-08-31  Michael Koch  <konqueror@gmx.de>
2239
2240         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2241         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2242         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2243         * javax/swing/text/FieldView.java
2244         (paint): Just call super method for now.
2245         * Makefile.am: Added new files.
2246         * Makefile.in: Regenerated.
2247
2248 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2249
2250         * javax/swing/AbstractSpinnerModel.java,
2251         javax/swing/JSpinner.java,
2252         javax/swing/SpinnerNumberModel.java,
2253         javax/swing/plaf/basic/BasicSpinnerUI.java:
2254         New files.
2255         * javax/swing/plaf/basic/BasicLookAndFeel.java
2256         (initClassDefaults): Added defaults for BasicSpinnerUI.
2257
2258 2004-08-31  Michael Koch  <konqueror@gmx.de>
2259
2260         * Makefile.am: Added new files.
2261         * Makefile.in: Regenerated.
2262
2263 2004-08-31  Michael Koch  <konqueror@gmx.de>
2264
2265         * javax/swing/TransferHandler.java,
2266         javax/swing/plaf/basic/ComboPopup.java: New files
2267         * Makefile.am: Added javax/swing/TransferHandler.java and
2268         javax/swing/plaf/basic/ComboPopup.java
2269         * Makefile.in: Regenerated.
2270
2271 2004-08-31  Roman Kennke  <roman@ontographics.com>
2272
2273         * javax/swing/text/Utilities.java: New file.
2274
2275 2004-08-31  Michael Koch  <konqueror@gmx.de>
2276
2277         * Makefile.am: Added javax/swing/text/Utilities.java.
2278         * Makefile.in: Regenerated.
2279
2280 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2281
2282         * javax/swing/text/SimpleAttributeSet.java: New file.
2283         * javax/swing/text/StyleConstants.java: New file.
2284         * javax/swing/text/StyleContext.java: New file.
2285         * javax/swing/text/TabSet.java: New file.
2286         * javax/swing/text/TabStop.java: New file.
2287         * javax/swing/text/AbstactDocument.java:
2288         (AbstractElement): Implement attribute support.
2289         * javax/swing/text/AttributeSet.java
2290         (NameAttribute): New static field.
2291         (ResolveAttribute): New static field.
2292         * Makefile.am: Update for new files.
2293         * Makefile.in: Regenerate.
2294
2295 2004-08-31  Craig Black  <craig.black@aonix.com>
2296
2297         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2298         (drawImage): Add support for scaling pixmaps.
2299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2300         (copyAndScalePixmap): New native method.
2301  
2302 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2303
2304         PR AWT/16121
2305         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2306         type-punning compiler warnings using unions.
2307         (throw): Replace bzero with memset.
2308
2309 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2310             Thomas Fitzsimmons  <fitzsim@redhat.com>
2311
2312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2313         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2314         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2316         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2317
2318 2004-08-31  Mark Wielaard  <mark@klomp.org>
2319
2320         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2321         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2322         and stdlib.h, not gtkpeer.h.
2323         (*vm): New static variable.
2324         (areaPreparedID): Make static.
2325         (areaUpdatedID): Likewise.
2326         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2327         (area_prepared): Likewise.
2328         (area_updated): Likewise.
2329         (closed): Likewise.
2330         (initStaticState): Initialize *vm javaVM.
2331         (pumpBytes): Use given env, not global gdk_env.
2332
2333 2004-08-31  Mark Wielaard  <mark@klomp.org>
2334
2335         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2336         comments.
2337
2338 2004-08-31  Sven de Marothy  <sven@physto.se>
2339
2340         * java/awt/geom/CubicCurve2D.java: Reindent.
2341         (contains): Implemented.
2342         (intersects): Implemented.
2343         * java/awt/geom/QuadCurve2D.java: Likewise.
2344         * java/awt/geom/GeneralPath.java: Reindent and document.
2345         Fully (re)implemented using separate xpoints and ypoints
2346         float[] coords.
2347         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2348
2349 2004-08-31  Michael Koch  <konqueror@gmx.de>
2350
2351         * javax/swing/JMenuItem.java
2352         (getMenuDragMouseListeners): New method.
2353         (getMenuKeyListeners): Likewise.
2354
2355 2004-08-31  Michael Koch  <konqueror@gmx.de>
2356
2357         * javax/swing/AbstractButton.java
2358         (model): Made protected.
2359         (actionListener): Likewise.
2360         (changeListener): Likewise.
2361         (itemListener): Likewise.
2362         (multiClickThreshhold): New field.
2363         (getActionListeners): New method.
2364         (getChangeListeners): Likewise.
2365         (getItemListeners): Likewise.
2366         (fireItemStateChanged): Simplified implementation.
2367         (fireActionPerformed): Likewise.
2368         (fireStateChanged): Likewise.
2369         (getMultiClickThreshhold): New method.
2370         (setMultiClickThreshhold): Likewise.
2371
2372 2004-08-31  Tom Tromey  <tromey@redhat.com>
2373
2374         * java/awt/image/Kernel.java (clone): Use super.clone().
2375
2376 2004-08-31  David Jee  <djee@redhat.com>
2377
2378         PR AWT/16682
2379         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2380         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2381         (nativeSetIconImageFromData): New native method declaration.
2382         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2383         * gnu/java/awt/peer/gtk/GtkImage.java
2384         (getPixelCache): New method.
2385         (getColorModel): New method.
2386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2387         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2388         (free_pixbuf_data): New helper function.
2389         (nativeSetIconImageFromData): New function.
2390
2391 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2392
2393         PR SWING/16576
2394         * javax/swing/JLayeredPane.java 
2395         (setLayer): Permit changing layer after addition.
2396         (setPosition): Permit over-length positions.
2397         (layerToRange): Compare intValue()s.
2398         * javax/swing/Box.java (createHorizontalBox): Implement.
2399         (createRigidArea): Likewise.
2400         (createVerticalBox): Likewise.
2401
2402 2004-08-31  Kim Ho  <kho@redhat.com>
2403
2404         * java/awt/Component.java:
2405         (processMouseEvent): Consume event after
2406         listeners process it.
2407         (processMouseMotionEvent): ditto.
2408         (processMouseWheelEvent): ditto.
2409         * java/awt/Container.java:
2410         (acquireComponentForMouseEvent):
2411         Do not dispatch to events that have been
2412         removed from the Container.
2413         (handleEvent): Consume the MouseEvents.
2414         * javax/swing/RepaintManager.java:
2415         (paintDirtyRegions): Do not add to list of 
2416         damaged areas if the component has no root.
2417
2418 2004-08-31  Michael Koch  <konqueror@gmx.de>
2419
2420         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2421
2422 2004-08-31  Mark Wielaard  <mark@klomp.org>
2423
2424         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2425         null when a MissingResourceException is thrown. Should never happen.
2426
2427 2004-08-31  Mark Wielaard  <mark@klomp.org>
2428
2429         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2430         when argument is null.
2431
2432 2004-08-31  Mark Wielaard  <mark@klomp.org>
2433
2434         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2435         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2436         Define hid at start of function.
2437         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2438         Likewise.
2439
2440 2004-08-31  Mark Wielaard  <mark@klomp.org>
2441
2442         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2443         * javax/swing/JButton.java: Reindent.
2444         * javax/swing/JCheckBox.java: Reindent.
2445
2446 2004-08-31  Mark Wielaard  <mark@klomp.org>
2447
2448         * Makefile.am (gtk_c_source_files): Added
2449         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2450         (gtk_awt_peer_sources): Added
2451         gnu/java/awt/peer/gtk/GThreadMutex.java and
2452         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2453         * Makefile.in: Regenerated.
2454
2455 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2456
2457         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2458
2459 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2460
2461         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2462         Added jfieldID, jmethodID.
2463
2464 2004-08-31  Mark Wielaard  <mark@klomp.org>
2465
2466         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2467         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2468         gdk_env before calling any gdk or gtk function.
2469
2470         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2471         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2472         (run): Set gtkInitCalled.
2473
2474 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2475
2476         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2477         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2478
2479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2480         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2481         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2482         init_glib_threads. 
2483         (init_glib_threads): New function.
2484
2485 2004-08-31  Mark Wielaard  <mark@klomp.org>
2486
2487         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2488         PRIORITY when not already defined in header file.
2489
2490 2004-08-31  Mark Wielaard  <mark@klomp.org>
2491
2492         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2493         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2494
2495 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2496
2497         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2498         Implemented missing functions for GTK2.
2499         Added error handling.
2500         Renamed static functions out of the g_ namespace.
2501         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2502         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2503         Rewrote global-reference code.
2504         Eliminated cascading errors.
2505         (mutex_trylock_jni_impl) Fully implemented.
2506         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2507         resolution.
2508         (setup_cache) New function.
2509         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2510         bug where they were not unlocking the GMutex associated with the
2511         condition variable during the wait on that condition variable.
2512
2513         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2514         native/jni/gtk-peer/gthread-jni.c,
2515         native/jni/gtk-peer/gthread-jni.h
2516         (g_thread_jni_functions): Renamed to ...
2517         (portable_native_sync_jni_functions): this name.
2518         (gdk_vm): Renamed to...
2519         (the_vm): this name.
2520
2521         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2522         (gdk_vm): Removed duplicate definition.
2523         (gtkInit): Removed stray message to stdout.
2524         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2525         (gtkInit): Fix a const assignment bug.
2526         (gtkInit): Simplified code.
2527
2528         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2529         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2530         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2531         gnu/java/awt/peer/gtk/GThreadMutex.java:
2532         New files.
2533
2534 2004-08-31  Mark Wielaard  <mark@klomp.org>
2535
2536         * javax/swing/Box.java: Put FIXME comment above class declaration.
2537         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2538         * javax/swing/JCheckBox.java: Likewise.
2539         * javax/swing/JDialog.java: Likewise.
2540         * javax/swing/JRadioButton.java: Likewise.
2541         * javax/swing/JToggleButton.java: Likewise.
2542         * javax/swing/UIManager.java: Likewise.
2543         * javax/swing/border/TitledBorder.java: Likewise.
2544         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2545         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2546         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2547         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2548         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2549         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2550         * javax/swing/text/JTextComponent.java: Likewise.
2551
2552 2004-08-31  David Jee  <djee@redhat.com>
2553
2554         PR AWT/16682
2555         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2556         (setIconImage): Add a FIXME for unhandled cases.
2557
2558 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2559
2560         PR AWT/16040
2561         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2562         getModifiers.  Replace old button masks with new ones.
2563         * gnu/awt/xlib/XEventLoop.java: Likewise.
2564         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2565         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2566         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2567         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2568         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2569         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2570         * java/awt/Component.java: Replace old modifier masks with new
2571         ones.
2572         * java/awt/Container.java: Call getModifiersEx, not
2573         getModifiers.
2574         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2575         old modifier masks.
2576         * javax/swing/JMenuItem.java: Replace old button masks with new
2577         ones.
2578         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2579         getModifiers.
2580         * javax/swing/SwingUtilities.java: Likewise.
2581         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2582         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2583         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2584         mask macros with new ones.
2585         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2586         macros with new ones representing new masks.
2587
2588 2004-08-31  Craig Black  <craig.black@aonix.com>
2589
2590         * gnu/java/awt/peer/gtk/GdkGraphics.java
2591         (drawRoundRect): Implemented.
2592         (fillRoundRect): Implemented.
2593         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2594         (drawRoundRect): Reimplemented to match GdkGraphics.
2595         (fillRoundRect): Reimplemented to match GdkGraphics.
2596
2597 2004-08-31  Mark Wielaard  <mark@klomp.org>
2598
2599         * Makefile.in: Regenerated.
2600
2601 2004-08-31  Michael Koch  <konqueror@gmx.de>
2602
2603         * gnu/java/awt/EmbeddedWindow.java
2604         (addNotify): Use AccessController to allow execution of privileged
2605         code.
2606
2607 2004-08-31  Michael Koch  <konqueror@gmx.de>
2608
2609         * gnu/java/awt/EmbeddedWindow.java
2610         (static): Removed.
2611         (addNotify): Set peer via reflection.
2612         (setWindowPeer): Removed.
2613         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2614         * Makefile.am (nat_source_files):
2615         Removed gnu/java/awt/natEmbeddedWindow.cc.
2616
2617 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2618
2619         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2620         and gnu/java/security/action/SetAccessibleAction.java.
2621
2622 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2623
2624         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2625         Renamed from 'setName'. New 2-argument form with default value.
2626         (run): Pass default 'value' parameter to System.getProperty().
2627         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2628         typos.
2629
2630 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2631
2632         * gnu/java/security/action/GetPropertyAction.java: New class.
2633         * gnu/java/security/action/SetAccessibleAction.java: New class.
2634
2635 2004-08-31  David Jee  <djee@redhat.com>
2636
2637         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2638         (setIconImage): Check if image is null.
2639
2640 2004-08-31  David Jee  <djee@redhat.com>
2641
2642         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2643         (create): Set the icon image.
2644         (nativeSetIconImage): New native method declaration.
2645         (setIconImage): Implement.
2646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2647         (nativeSetIconImage): New function.
2648
2649 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2650
2651         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2652         (filenameFilterCallback): Declare local variable accepted before use.
2653
2654 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2655
2656         * gnu/java/awt/ComponentDataBlitOp.java:
2657         Cleaned up imports.
2658
2659 2004-08-31  Tom Tromey  <tromey@redhat.com>
2660
2661         * gnu/java/awt/peer/GLightweightPeer.java,
2662         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2663         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2664         javax/swing/JScrollPane.java: Removed
2665         redundant imports.
2666
2667 2004-08-31  David Jee  <djee@redhat.com>
2668
2669         * java/awt/DefaultKeyboardFocusManager.java
2670         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2671         event.  Fix shift modifier checking.
2672         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2673         (accel_attach): Remove.
2674         (setupAccelGroup): Remove calls to accel_attach.
2675
2676 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2677
2678         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2679         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2680
2681         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2682         GtkArgList.java.
2683         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2684         * Makefile.in: Regenerate.
2685         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2686         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2687         (create(String)): New method.
2688         (create): Call new create method.
2689         (getArgs): Remove method.
2690         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2691         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2692         (nativeCreate): Rename to create.
2693         (gtkSetLabel): Rename to gtkButtonSetLabel.
2694         (gtkToggleButtonSetActive): New method.
2695         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2696         (setState): Replace set call with gtkToggleButtonSetActive.
2697         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2698         (getArgs): Remove method.
2699         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2700         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2701         (gtkWidgetSetSensitive): New method.
2702         (gtkWidgetSetParent): Likewise.
2703         (GtkComponentPeer): Call setParent, setComponentBounds and
2704         setVisibleAndEnabled.
2705         (setParent): New method.
2706         (setComponentBounds): New method.
2707         (setVisibleAndEnabled): New method.
2708         (setEnabled): Call gtkWidgetSetSensitive.
2709         (getArgs): Remove method.
2710         Remove all set methods.
2711         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2712         gtkWindowSetModal, setTitle and setResizable.
2713         (getArgs): Remove method.
2714         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2715         (setComponentBounds): New method.
2716         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2717         Replace set call with gtkWindowSetResizable.
2718         (getArgs): Remove method.
2719         (create): Call setTitle and setResizable.
2720         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2721         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2722         (gtkWindowSetTitle): New method.
2723         (gtkWindowSetResizable): New method.
2724         (gtkWindowSetModal): New method.
2725         (setParent): New method.
2726         (setVisibleAndEnabled): New method.
2727         (getArgs): Remove method.
2728         (setTitle): Call gtkWindowSetTitle.
2729         (setResizable): Call gtkWindowSetResizable.
2730         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2731         and off locking instrumentation.
2732
2733 2004-08-31  Kim Ho  <kho@redhat.com>
2734
2735         * Makefile.am: Add new file.
2736         * Makefile.in: Regenerate.
2737         * gcj/Makefile.in: Regenerate
2738         * include/Makefile.in:
2739         * java/awt/Container.java:
2740         (acquireComponentForMouseEvent): Respect 
2741         the event mask when looking for candidate.
2742         * javax/swing/JComponent.java:
2743         Remove toolTip field.
2744         (createToolTip): Create a tooltip on demand.
2745         (setToolTipText): Register with the ToolTipManager.
2746         (getToolTipText(MouseEvent)): Return getToolTipText().
2747         * javax/swing/JToolTip.java: Implement.
2748         * javax/swing/Timer.java: Jalopy.
2749         (restart): Call stop, then start.
2750         (stop): Interrupt the timer rather than wait for
2751         the timer to come to a stop naturally.
2752         * javax/swing/ToolTipManager.java: Implement.
2753         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2754         Change ToolTip.background color.
2755         * javax/swing/plaf/basic/BasicToolTipUI.java:
2756         Implement.
2757         * testsuite/Makefile.in: Regenerate
2758
2759 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2760
2761         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2762         constructor param comments.
2763
2764 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2765
2766         * java/awt/Component.java: Document AWT 1.0 event handler
2767         methods.
2768
2769 2004-08-31  Roman Kennke  <roman@ontographics.com>
2770
2771         * javax/swing/Box.java:
2772         (createGlue): Implemented
2773         (createHorizontalGlue): Implemented
2774         (createHorizontalStrut): Implemented
2775         (createVerticalGlue): Implemented
2776         (createVerticalStrut): Implemented
2777
2778 2004-08-31  David Jee  <djee@redhat.com>
2779
2780         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2781         (GtkChoicePeer): Do not automatically select first item.
2782         (getHistory): Remove.
2783         (nativeGetSelected): New method.
2784         (nativeRemoveAll): New method.
2785         (add): Use nativeGetSelected() instead of getHistory().
2786         (remove): Likewise.
2787         (removeAll): Call nativeRemoveAll().
2788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2789         (create): Migrate to GtkComboBox.
2790         (append): Likewise.
2791         (nativeAdd): Likewise.
2792         (nativeRemove): Likewise.
2793         (select): Likewise.
2794         (nativeRemoveAll): New method.
2795         (nativeGetSelected): New method.
2796         (selection_changed): New method.
2797         (getHistory): Remove.
2798         (item_activate): Remove.
2799         (item_removed): Remove.
2800         (connect_choice_item_selectable_hook): Remove.
2801
2802 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2803
2804         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2805         variable in setEditable call.
2806
2807         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2808         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2809         (gtkWidgetSetBackground): New method.
2810         (gtkWidgetSetForeground): Likewise.
2811         (create): Set peer's editable state based on awtComponent's.
2812
2813         * java/awt/Button.java (Button()): Use empty string rather than
2814         null in no-label constructor.
2815
2816 2004-08-31  Roman Kennke  <roman@ontographics.com>
2817
2818         * javax/swing/BoxLayout.java: Reimplement.
2819
2820 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2821
2822         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2823         gnu_java_awt_peer_gtk_GdkGraphics.c
2824         (initState(GtkComponentPeer)): Don't return array of colour
2825         values.
2826         (GdkGraphics(int,int)): Set default font to size 12.
2827         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2828         component's foreground colour.
2829         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2830         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2831         (initState(GtkComponentPeer)): Don't return array of colour
2832         values.
2833         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2834         colours to component's colours.
2835         (current_colors_of_widget): Remove function.
2836         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2837         Return a new graphics object.
2838         * java/awt/Font.java (toString): Fix format.
2839         * java/awt/Graphics.java (toString): Likewise.
2840
2841 2004-08-31  Craig Black  <craig.black@aonix.com>
2842
2843         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2844         (addTearOff): New function.
2845         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2846         New native method.
2847         (init): Call addTearOff() when menu.isTearOff().
2848
2849 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2850
2851         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2852         Default implementation.
2853         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2854         Implement using GdkPixbufDecoder.
2855
2856 2004-08-31  David Jee  <djee@redhat.com>
2857
2858         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2859         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2860         setting the size of GtkFileDialogPeers.
2861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2862         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2863         use their default sizes rather than their natural requisitions.
2864
2865 2004-08-31  Michael Koch  <konqueror@gmx.de>
2866
2867         * javax/swing/JFormattedTextField.java
2868         (JFormattedTextField): Implemented.
2869         * javax/swing/text/DefaultEditorKit.java
2870         (BeepAction): New inner class.
2871         * javax/swing/text/Segment.java
2872         (partialReturn): New field.
2873         (setPartialReturn): New method.
2874         (isPartialReturn): Likewise.
2875         * javax/swing/text/View.java
2876         (createFragment): Fixed typo.
2877         (getStartOffset): New method.
2878         (getEndOffset): Likewise.
2879
2880 2004-08-31  Michael Koch  <konqueror@gmx.de>
2881
2882         * javax/swing/table/DefaultTableColumnModel.java
2883         (serialVersionUID): Made private.
2884         (listenerList): Initialize.
2885         (changeEvent): Initialize.
2886         * javax/swing/table/JTableHeader.java
2887         (JTableHeader): New constructors.
2888         (createDefaultColumnModel): New method.
2889         * javax/swing/table/TableColumn.java
2890         (setHeaderRenderer): Simplified code.
2891         (setCellRenderer): Likewise.
2892         (setWidth): Likewise.
2893
2894 2004-08-31  Tom Tromey  <tromey@redhat.com>
2895
2896         * java/text/AttributedString.java (AttributedString): Use
2897         ArrayList to build array of attribute ranges.  Don't use
2898         `attribs' before it is set.
2899
2900 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2901
2902         * HACKING: Remove reference to special automake. No longer needed.
2903
2904 2004-08-30  Tom Tromey  <tromey@redhat.com>
2905
2906         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2907         return result from `add'.
2908
2909 2004-08-30  Tom Tromey  <tromey@redhat.com>
2910
2911         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2912
2913 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2914
2915         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2916
2917 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2918
2919         * java/io/File.java File(String,String): Fixed handling of empty
2920         path.
2921
2922 2004-08-30  Casey Marshall  <csm@gnu.org>
2923
2924         Author e-mail updated for all files.
2925         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2926         instance of OID.
2927         (compareTo): Use `equals'.
2928         * gnu/java/security/der/BitString.java (equals): Test if the
2929         argument is an instance of BitString.
2930         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2931         class final. Made fields private.
2932         (<init>): New constructor.
2933         (skip): New method.
2934         (makeString): Made static; don't use NIO.
2935         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2936         * gnu/java/security/der/DERWriter.java: Fixed imports.
2937         (writeString): Don't use NIO.
2938         (toIso88591, toUtf16Be, toUtf8): New methods.
2939         * gnu/java/security/der/DERValue.java: Formatting changes only.
2940         * gnu/java/security/der/DER.java: Likewise.
2941
2942 2004-08-30  Tom Tromey  <tromey@redhat.com>
2943
2944         * java/nio/CharBuffer.java (put): Fix typo.
2945         * java/nio/DoubleBuffer.java (put): Fix typo.
2946         * java/nio/FloatBuffer.java (put): Fix typo.
2947         * java/nio/IntBuffer.java (put): Fix typo.
2948         * java/nio/LongBuffer.java (put): Fix typo.
2949         * java/nio/ShortBuffer.java (put): Fix typo.
2950
2951 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2952
2953         * java/nio/ByteBuffer.java (put): Fix typo.
2954
2955 2004-08-30  Casey Marshall  <csm@gnu.org>
2956
2957         * java/security/DummyKeyPairGenerator.java (clone): Removed
2958         useless instanceof check.
2959         * java/security/DummyMessageDigest.java (clone): Likewise.
2960         * java/security/DummySignature.java (clone): Likewise.
2961         * java/security/MessageDigest.java (clone): Remove useless
2962         instanceof check.
2963         * java/security/MessageDigestSpi.java (clone): Likewise.
2964         * java/security/Signature.java (clone): Provide meaningful
2965         implementation.
2966         * java/security/SignatureSpi.java (clone): Likewise.
2967
2968 2004-08-29  Mark Wielaard  <mark@klomp.org>
2969
2970         * java/util/Arrays.java
2971         (sort(byte[], int, int)): Check fromIndex < 0.
2972         (sort(char[], int, int)): Likewise.
2973         (sort(short[], int, int)): Likewise.
2974         (sort(int[], int, int)): Likewise.
2975         (sort(long[], int, int)): Likewise.
2976         (sort(float[], int, int)): Likewise.
2977         (sort(double[], int, int)): Likewise.
2978         (sort(Object[], int, int, Comparator)): Likewise.
2979         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2980         (qsort(char[], int, int)): Likewise.
2981         (qsort(short[], int, int)): Likewise.
2982         (qsort(int[], int, int)): Likewise.
2983         (qsort(long[], int, int)): Likewise.
2984         (qsort(float[], int, int)): Likewise.
2985         (qsort(double[], int, int)): Likewise.
2986
2987 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2988
2989         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2990         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2991         java/util/ArrayList.java, java/util/Arrays.java,
2992         java/util/BitSet.java, java/util/Calendar.java,
2993         java/util/Collection.java, java/util/ListIterator.java,
2994         java/util/Map.java, java/util/SortedSet.java:
2995         Added additional exceptions to documentation, along
2996         with some additions and corrections.
2997
2998 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2999
3000         * configure.ac: Handle --enable-gc-debug.
3001         * configure: Regenerate.
3002         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3003         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3004         Rearrange include file order.
3005         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3006         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3007         (disable_gc_mutex): Delete along with all references.
3008         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3009         adjust for debug header size.
3010         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3011         debug case.
3012         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3013         (gcj_describe_type_fn): New.
3014         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3015         Register gcj_describe_type_fn.
3016         * include/boehm-gc.h:
3017         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3018         Don't define, but declare, for debug case.
3019         * java/lang/natObject.cc:
3020         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3021
3022 2004-08-26  Mark Wielaard  <mark@klomp.org>
3023
3024         Fixes PR libgcj/17002:
3025         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3026         a TimeZoneId string and then try to convert that to a TimeZone with
3027         getDefaultSystemTimeZone(String).
3028         (timezones0): Changed type from Hashtable to HashMap.
3029         (timezones): Create HashMap, not Hashtable.
3030         (getDefaultTimeZone): New method, rewritten from CNI version.
3031         (readTimeZoneFile): New method.
3032         (readtzFile): Likewise.
3033         (skipFully): Likewise.
3034         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3035         getDefaultTimeZoneId and rewritten.
3036         (getDefaultTimeZoneId): Rewritten in java.
3037         
3038 2004-08-25  David Daney  <daney@avtrex.com>
3039
3040         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3041         * Makefile.in: Regenerated.
3042
3043 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3044
3045         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3046         only if jvmpi is enabled.
3047         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3048         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3049         (_Jv_AllocString): Likewise.
3050         (_Jv_AllocPtrFreeObject): Likewise.     
3051
3052 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3053
3054         * defineclass.cc: Include <stdio.h>.
3055         * java/lang/natClassLoader.cc: Include <stdio.h>.
3056
3057 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3058             Michael Koch  <konqueror@gmx.de>
3059
3060         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3061         * Makefile.in: Regenerated.
3062
3063 2004-08-20  Michael Koch  <konqueror@gmx.de>
3064
3065         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3066         AC_COMPILE_IFELSE macros.
3067
3068 2004-08-20  Michael Koch  <konqueror@gmx.de>
3069
3070         * configure.in: Renamed to configure.ac.
3071         * configure.ac: New file.
3072         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3073         include/config.h.in, testsuite/Makefile.in: Regenerated.
3074
3075 2004-08-20  Michael Koch  <konqueror@gmx.de>
3076
3077         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3078         * aclocal.m4, configure: Regenerated.
3079
3080 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3081             Michael Koch  <konqueror@gmx.de>
3082
3083         * configure.in, Makefile.am: Ported to automake 1.9.
3084         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3085         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3086         Regenerated.
3087
3088 2004-08-19  Tom Tromey  <tromey@redhat.com>
3089
3090         * java/net/DatagramSocket.java: Fixed typo.
3091
3092 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3093
3094         PR libgcj/17081
3095         * java/net/URI.java (string): New field. Make all other fields
3096         transient.
3097         (readObject): Implemented.
3098         (writeObject): Implemented.
3099         (URI): Set 'string'.
3100
3101 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3102
3103         PR libgcj/17079
3104         * java/util/logging/Handler.java (isLoggable): Accept record if its
3105         log level equals the threshold level. From Robin Green.
3106
3107 2004-08-18  David Daney  <ddaney@avtrex.com>
3108
3109         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3110         instead of sigwait.
3111
3112 2004-08-17  Michael Koch  <konqueror@gmx.de>
3113
3114         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3115         * Makefile.in: Regenerated.
3116
3117 2004-08-16  Tom Tromey  <tromey@redhat.com>
3118
3119         PR java/8473:
3120         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3121
3122 2004-08-16  Michael Koch  <konqueror@gmx.de>
3123
3124         * Makefile.am
3125         (math_c_files): Renamed from c_files.
3126         (math_c_source_files): Renamed from c_source_files.
3127         * Makefile.in,
3128         gcj/Makefile.in,
3129         include/Makefile.in,
3130         testsuite/Makefile.in: Regenerated.
3131
3132 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3133
3134         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3135         to avoid autoconf warning.
3136         * configure: Rebuilt.
3137
3138 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3139
3140         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3141         localhostAddress to loopbackAddress.
3142         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3143
3144 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3145
3146         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3147         boehm-gc's include dirs.
3148         * configure: Rebuilt.
3149         * include/boehm-gc.h: Include gc_config.h.
3150
3151 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3152
3153         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3154         localhostAddress.
3155         (getByName): Return loopback address for null hostname, without
3156         security check. Use lookup(), not getAllByName.
3157         (getAllByName): Return loopback address for null hostname, without
3158         security check.
3159         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3160         check here.
3161
3162 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3163
3164         PR libgcj/17020
3165         Reported by Robin Green.
3166         * defineclass.cc (handleField): Don't throw exception on unrecognised
3167         modifier. Add FIXME comments for spec compliance.
3168         (handleMethod): Likewise.
3169
3170 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3171
3172         PR libgcj/16662
3173         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3174         (Almost everywhere): add LOG calls, fix, add comments.
3175         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3176         Add explicit check for LOCKED bit in slow case (PR 16662).
3177         (_Jv_MonitorExit): Add casts in debug-only code.
3178         Always release LOCKED bit before throwing exception.
3179         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3180         isn't.  Handle easy cases without lock acquisition.
3181         (Object::wait): Use NotifyAll for lock inflation.
3182
3183 2004-08-12  David Daney  <ddaney@avtrex.com>
3184
3185         * testsuite/libjava.lang/Process_1.java: New test.
3186         * testsuite/libjava.lang/Process_2.java: New test.
3187         * testsuite/libjava.lang/Process_3.java: New test.
3188         * testsuite/libjava.lang/Process_4.java: New test.
3189         * testsuite/libjava.lang/Process_5.java: New test.
3190         * testsuite/libjava.lang/Process_6.java: New test.
3191         * testsuite/libjava.lang/Process_1.out: Expected result.
3192         * testsuite/libjava.lang/Process_2.out: Expected result.
3193         * testsuite/libjava.lang/Process_3.out: Expected result.
3194         * testsuite/libjava.lang/Process_4.out: Expected result.
3195         * testsuite/libjava.lang/Process_5.out: Expected result.
3196         * testsuite/libjava.lang/Process_6.out: Expected result.
3197
3198 2004-08-12  David Daney  <ddaney@avtrex.com>
3199
3200         PR libgcj/11801
3201         * java/lang/PosixProcess.java: Rewrote.
3202         * java/lang/natPosixProcess.cc: Rewrote.
3203         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3204         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3205         * posix-threads.cc (block_sigchld) New function.
3206         (_Jv_ThreadRegister) Use it.
3207         (_Jv_ThreadStart) Use it.
3208         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3209         * Makefile.am: ... to specify extra native headers.
3210         * configure: Regenerated.
3211         * include/config.h: Regenerated.
3212         * Makefile.in: Regenerated.
3213         * gcj/Makefile.in: Regenerated.
3214         * include/Makefile.in: Regenerated.
3215         * testsuite/Makefile.in: Regenerated.
3216
3217 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3218
3219         PR tree-optimization/16867
3220         * testsuite/libjava.lang/PR16867.java: New test.
3221
3222 2004-08-09  Per Bothner  <per@bothner.com>
3223
3224         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3225         with private fields and access methods.
3226         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3227         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3228         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3229         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3230         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3231         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3232         * jni.cc: Likewise.
3233         * resolve.cc: Likewise.
3234         * gcj/field.h: Likewise.
3235         * include/jvm.h: Likewise.
3236         * java/lang/Class.h: Likewise.
3237         * java/lang/natClass.cc: Likwise.
3238         * java/lang/natClassLoader.cc: Likewise
3239         * java/lang/reflect/natMethod.cc: Likewise
3240         * verify.cc: Likewise.
3241         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3242         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3243
3244 2004-08-10  Andrew Haley  <aph@redhat.com>
3245
3246         * testsuite/libjava.lang/err14.java: New file.
3247         * testsuite/libjava.lang/err14.out: New file.
3248
3249 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3250
3251         * Makefile.am: Fix missing rename from x_nat_headers to 
3252         xlib_nat_headers.
3253         * Makefile.in: Regenerated.
3254
3255 2004-08-04  Andrew Haley  <aph@redhat.com>
3256
3257         * java/security/BasicPermission.java: Don't check wildcards.
3258
3259 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3260             Michael Koch  <konqueror@gmx.de>
3261
3262         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3263         * configure.in: Replaced all usages of AC_LINK_FILES by
3264         AC_CONFIG_LINKS.
3265         * aclocal.m4,
3266         configure: Regenerated.
3267
3268 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3269             Michael Koch  <konqueror@gmx.de>
3270
3271         * acconfig.h: Removed.
3272         * Makefile.am: Rename variables for xlib peer to include xlib and
3273         gtk_c_headers to gtk_jni_headers.
3274         * Makefile.in: Regenerated.
3275
3276 2004-08-04  Andrew Haley  <aph@redhat.com>
3277
3278         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3279         debugging.
3280
3281 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3282
3283         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3284         Replace most top level 'dnl' comments with '#' comments, conforming
3285         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3286         help strings.
3287         * configure: Rebuilt.
3288
3289 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3290
3291         * acinclude.m4: Include no-executables.m4.
3292         * aclocal.m4: Rebuild.
3293         * configure.in: Convert to the autoconf 2.59 version of
3294         of the no-executables hack, and also of the nonstandard CXX
3295         hack and the multilibbed CC and CXX hack.  Change prerequisite
3296         to autoconf 2.59.
3297         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3298         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3299         testsuite/Makefile.in: Regenerate.
3300
3301 2004-08-03  Tom Tromey  <tromey@redhat.com>
3302
3303         * jni.cc: Reindented.
3304
3305 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3306
3307         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3308
3309 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3310
3311         * testsuite/libjava.compile/PR16701.java: New test.
3312
3313 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3314
3315         * java/util/Collection.java, java/util/List.java,
3316         java/util/Map.java, java/util/Set.java,
3317         java/util/SortedMap.java, java/util/SortedSet.java:
3318         Added additional exceptions to documentation.
3319
3320 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3321
3322         PR libgcj/16814
3323         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3324         * configure. Regenerate.
3325         * include/win32.h: Explicitly include winsock2.h
3326         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3327         Winsock api.
3328
3329 2004-07-30  Michael Koch  <konqueror@gmx.de>
3330
3331         * java/util/zip/GZIPInputStream.java
3332         (GZIPInputStream): Increase buffer size to 4k.
3333         * java/util/zip/GZIPOutputStream.java
3334         (GZIPOutputStream): Likewise.
3335         * java/util/zip/Inflater.java
3336         (setInput): Merged formating with GNU classpath.
3337         * java/util/zip/InflaterInputStream.java
3338         (InflaterInputStream): Increase buffer size to 4k.
3339         (fill): Throw exception if stream ends early.
3340         (read): Merged endless-loop with GNU classpath.
3341         (skip): Increase buffer size to 2k.
3342
3343 2004-07-30  Michael Koch  <konqueror@gmx.de>
3344
3345         * gnu/java/awt/EmbeddedWindow.java
3346         (addNotify): Use AccessController to allow execution of privileged
3347         code.
3348
3349 2004-07-29  Michael Koch  <konqueror@gmx.de>
3350
3351         * gnu/java/lang/MainThread.java:
3352         Explicitely import used classes.
3353         (args): Make it type String[].
3354
3355 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3356
3357         * gnu/java/awt/ComponentDataBlitOp.java,
3358         gnu/java/beans/ExplicitBeanInfo.java,
3359         gnu/java/beans/IntrospectionIncubator.java,
3360         gnu/java/beans/editors/ColorEditor.java,
3361         gnu/java/beans/editors/FontEditor.java,
3362         gnu/java/beans/editors/NativeBooleanEditor.java,
3363         gnu/java/beans/editors/NativeByteEditor.java,
3364         gnu/java/beans/editors/NativeDoubleEditor.java,
3365         gnu/java/beans/editors/NativeFloatEditor.java,
3366         gnu/java/beans/editors/NativeIntEditor.java,
3367         gnu/java/beans/editors/NativeLongEditor.java,
3368         gnu/java/beans/editors/NativeShortEditor.java,
3369         gnu/java/beans/editors/StringEditor.java,
3370         gnu/java/io/ClassLoaderObjectInputStream.java,
3371         gnu/java/io/decode/Decoder.java,
3372         gnu/java/io/encode/Encoder.java,
3373         gnu/java/lang/ClassHelper.java,
3374         gnu/java/locale/Calendar.java,
3375         gnu/java/locale/Calendar_de.java,
3376         gnu/java/locale/Calendar_en.java,
3377         gnu/java/locale/Calendar_nl.java,
3378         gnu/java/locale/LocaleInformation_de.java,
3379         gnu/java/locale/LocaleInformation_en.java,
3380         gnu/java/locale/LocaleInformation_nl.java:
3381         Cleaned up imports.
3382
3383 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3384
3385         * README: Remove obsolete info. Update bug URL.
3386         * THANKS: Updated.
3387         * NEWS: Updated with news up to GCC 3.4 release.
3388
3389 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3390
3391         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3392         Renamed from 'setName'. New 2-argument form with default value.
3393         (run): Pass default 'value' parameter to System.getProperty().
3394         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3395         typos.
3396         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3397         not 'setName'.
3398
3399 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3400
3401         * configure.in: Check for minimum GTK version 2.4 requirement.
3402         * configure: Rebuilt.
3403
3404 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3405
3406         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3407         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3408         Reduce sleep time.
3409         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3410         compiler bug.
3411         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3412         address. Reduce sleep times. Synchronize with target threads before
3413         attempting to interrupt them. Don't try to calibrate yeild count,
3414         instead, always loop for a fixed time.
3415         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3416         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3417         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3418         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3419         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3420         * testsuite/libjava.lang/pr179.java: Likewise.
3421         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3422         time. Remove upper bounds check on sleep time. 
3423
3424 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3425
3426         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3427         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3428
3429 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3430
3431         * java/io/File.java (toURI): Throw RuntimeException, not 
3432         InternalError.
3433         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3434         class name, not instance.
3435
3436 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3437
3438         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3439         and gnu/java/security/action/SetAccessibleAction.java.
3440         * Makefile.in: Rebuilt.
3441
3442 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3443
3444         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3445         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3446         _Jv_InitPrimClass.
3447         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3448         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3449         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3450
3451 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3452
3453         * Makefile.am: Replace jar, rmic and rmiregistry references with
3454         gjar, grmic and grmiregistry.
3455         * configure.in: Likewise.
3456         * Makefile.in: Regenerate.
3457         * configure: Likewise.
3458         * gcj/Makefile.in: Likewise.
3459         * include/Makefile.in: Likewise.
3460         * testsuite/Makefile.in: Likewise.
3461
3462 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3463
3464         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3465         for privileged getProperty calls.
3466         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3467         SetAccessibleAction instead of anonymous class for doPrivileged call.
3468         (getMethod): Likewise.
3469         (setAccessible): New field. PrivilegedAction object to use when
3470         calling setAccessible.
3471         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3472         SetAccessibleAction instead of anonymous class for diPrivileged call.
3473         (setFields): Likewise.
3474         (getClassUID): Likewise.
3475         (findMethod): Likewise.
3476         * gnu/java/security/action/GetPropertyAction.java: New class.
3477         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3478
3479 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3480
3481         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3482         for final fields.
3483         * testsuite/libjava.lang/Serialization.java: New test.
3484         * testsuite/libjava.lang/Serialization.out: New.
3485
3486 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3487
3488         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3489         missed in last commit.
3490
3491 2004-07-23  Mark Wielaard  <mark@klomp.org>
3492
3493         * java/lang/System.java (static): Set http.agent system property when
3494         not yet set.
3495         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3496         from system property inside AccessController.doPrivileged() call.
3497         (proxyPort): Made package private.
3498         (proxyInUse): Likewise.
3499         (proxyHost): Likewise.
3500         (userAgent): Likewise.
3501
3502 2004-07-23  Mark Wielaard  <mark@klomp.org>
3503
3504         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3505         implementation.
3506
3507 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3508
3509         * Makefile.am (ordinary_java_source_files): Add
3510         DefaultContentHandlerFactory.java.
3511         * Makefile.in: Rebuilt.
3512         * java/net/URLConnection.java (defaultFactory): New field.
3513         (getContent): 
3514         (getContentHandler): Renamed from 'setContentHandler'. Try 
3515         defaultFactory after user-set factory, if any. Search for content 
3516         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3517         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3518         Implemented.
3519         (getLastModified): Implemented.
3520         (getPermission): Create file permission here, instead of in
3521         constructor.
3522         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3523         Implemented.
3524         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3525         Implemented.
3526         (getLastModified): Implemented.
3527         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3528         Default implementation.
3529         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3530         Implement using GdkPixbufDecoder.
3531         
3532 2004-07-21  Michael Koch  <konqueror@gmx.de>
3533
3534         * javax/swing/JTextArea.java
3535         (setLineWrap): Fire property change event after new value is set.
3536         (setTabSize): Likewise.
3537
3538 2004-07-21  Michael Koch  <konqueror@gmx.de>
3539
3540         * javax/swing/JTable.java
3541         (autoCreateColumnsFromModel): New field.
3542         (autoResizeMode): Likewise.
3543         (cellEditor): Likewise.
3544         (cellSelectionEnabled): Likewise.
3545         (columnModel): Likewise.
3546         (dataModel): Likewise.
3547         (defaultEditorsByColumnClass): Likewise.
3548         (defaultRenderersByColumnClass): Likewise.
3549         (editingColumn): Likewise.
3550         (editingRow): Likewise.
3551         (gridColor): Likewise.
3552         (preferredViewportSize): Likewise.
3553         (rowHeight): Likewise.
3554         (rowMargin): Likewise.
3555         (rowSelectionAllowed): Likewise.
3556         (selectionBackground): Likewise.
3557         (selectionForeground): Likewise.
3558         (selectionModel): Likewise.
3559         (showHorizontalLines): Likewise.
3560         (showVerticalLines): Likewise.
3561         (tableHeader): Likewise.
3562         (JTable): Implemented.
3563         (getColumnModel): Likewise.
3564         (getSelectedRow): Likewise.
3565         (getSelectionModel): Likewise.
3566         (setModel): Likewise.
3567         (setSelectionModel): Likewise.
3568         (createScrollPaneForTable): New method.
3569         (createDefaultDataModel): Likewise.
3570         (createDefaultListSelectionModel): Likewise.
3571         (getModel): Likewise.
3572         (getTableHeader): Likewise.
3573         (setTableHeader): Likewise.
3574         (getColumnSelectionAllowed): Likewise.
3575         (setColumnSelectionAllowed): Likewise.
3576         (getRowSelectionAllowed): Likewise.
3577         (setRowSelectionAllowed): Likewise.
3578         (getAutoResizeMode): Likewise.
3579         (setAutoResizeMode): Likewise.
3580         (getColumnCount): Likewise.
3581         (getRowCount): Likewise.
3582         (getCellRenderer): Likewise.
3583         * javax/swing/JTree.java
3584         (cellRenderer): New field.
3585         (editable): Likewise.
3586         (rootVisible): Likewise.
3587         (showsRootHandles): Likewise.
3588         (getModel): New method.
3589         (setModel): Likewise.
3590         (isEditable): Likewise.
3591         (setEditable): Likewise.
3592         (isRootVisbile): Likewise.
3593         (setRootVisible): Likewise.
3594         (getShowsRootHandles): Likewise.
3595         (setShowRootHandles): Likewise.
3596         (getCellRenderer): Likewise.
3597         (setCellRenderer): Likewise.
3598
3599 2004-07-21  Michael Koch  <konqueror@gmx.de>
3600
3601         * javax/swing/JFormattedTextField.java
3602         (setDocument): Implemented.
3603         * javax/swing/JRootPane.java:
3604         Fixed javadocs.
3605         * javax/swing/JTable.java
3606         (getDefaultRenderer): New method.
3607         * javax/swing/JTextField.java
3608         (setFont): Likewise.
3609         (getPreferredSize): Likewise.
3610         * javax/swing/JToggleButton.java
3611         (getAccessibleContext): Fix javadoc.
3612         * javax/swing/JTree.java:
3613         Add some javadocs.
3614         * javax/swing/JViewport.java:
3615         Likewise.
3616
3617 2004-07-21  David Jee  <djee@redhat.com>
3618
3619         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3620         Collect all native method declaration at the top.
3621         (create): Set the filename filter if necessary.
3622         (setDirectory): Call nativeSetDirectory().
3623         (setFilenameFilter): Implement.
3624         (filenameFilterCallback): New method.
3625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3626         (create): Configure dialog to show hidden files.
3627         (filenameFilterCallback): New function. 
3628         (nativeSetFilenameFilter): New function.
3629         (nativeSetDirectory): New function.
3630
3631 2004-07-21  Kim Ho  <kho@redhat.com>
3632
3633         * javax/swing/plaf/basic/BasicSliderUI.java:
3634         Ran Jalopy.
3635         (paintTrack): Fill the track before painting
3636         the borders.
3637
3638 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3639
3640         patch from Roman Kennke <roman@ontographics.com>
3641         * javax/swing/Spring.java: New file.
3642         * javax/swing/SpringLayout.java: New file.
3643         * Makefile.am: Add new files.
3644         * Makefile.in: Regenerate.
3645
3646 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3647
3648         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3649         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3650         * javax/swing/ScrollPaneLayout.java: Likewise.
3651
3652 2004-07-21  Kim Ho  <kho@redhat.com>
3653
3654         * javax/swing/DefaultDesktopManager.java:
3655         (findMinimum): Removed.
3656         (resizeFrame): Trust the UI to pass valid 
3657         bounds.
3658         * javax/swing/JOptionPane.java:
3659         Implemented showInternalXXXDialog methods.
3660         (startModal): New method.
3661         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3662         (BorderListener::mouseDragged): Verify that the new 
3663         bounds are valid before passing them to the DesktopManager.
3664         (preferredLayoutSize): Delegate
3665         to getSize.
3666         (minimumLayoutSize): Ditto.
3667         (getSize): New method.
3668         (GlassPaneDispatcher): Reimplemented by copying 
3669         a stripped down LightweightDispatcher from Container.
3670         (getMinimumSize): Call minimumLayoutSize.
3671         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3672         Ran Jalopy.
3673         (mousePressed): Add ability to properly close 
3674         JInternalFrames.
3675         * javax/swing/plaf/basic/BasicToolBarUI.java:
3676         (DragWindow): Set owner for DragWindow.
3677
3678 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3679
3680         * java/awt/image/ShortLookupTable.java: New file.
3681         * java/awt/image/ByteLookupTable.java: New file.
3682         * Makefile.am: Added new files.
3683         * Makefile.in: Regenerated.
3684
3685 2004-07-21  David Jee  <djee@redhat.com>
3686
3687         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3688         (create(GtkContainerPeer)): New native method.
3689         (create()): Call native create(), passing in the parent frame
3690         as the paramter. Natively set the current file and directory.
3691         (setFile): Construct an absolute filename before passing it to
3692         the native peer.
3693         (nativeGetDirectory): New method.
3694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3695         (window_closed): Removed.
3696         (ok_clicked): Likewise.
3697         (cancel_clicked): Likewise.
3698         (handle_response): New method.
3699         (create): Use GtkFileChooserDialog.
3700         (connectSignals): Connect to handle_response.
3701         (nativeGetDirectory): New method.
3702         (nativeSetFile): Use GtkFileChooserDialog.
3703
3704 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3705
3706         * java/awt/image/LookupTable.java: New file.
3707         * Makefile.am: Added new file.
3708         * Makefile.in: Regenerated.
3709
3710 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3711
3712         * java/awt/image/Kernel.java: New file.
3713         * Makefile.am: Added new file.
3714         * Makefile.in: Regenerated.
3715
3716 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3717
3718         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3719         * javax/swing/JMenu.java: Likewise.
3720         * javax/swing/JMenuBar.java: Likewise.
3721         (MARGIN_CHANGED_PROPERTY): New property.
3722         (setMargin): Implemented.
3723         * javax/swing/JMenuItem.java: Fixed javadocs.
3724         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3725         (LABEL_CHANGED_PROPERTY): New property.
3726         (add): changed to use createActionComponent.
3727         (createActionComponent): Implemented.   
3728         (setLabel): Fire PropertyChangeEvent if label property
3729         changes.
3730         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3731         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3732         (ContainerHandler): Repaint if margin property has changed.
3733         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3734         (installUI): Call installComponents().
3735         (uninstallUI): Call uinstallComponents().
3736         * javax/swing/plaf/basic/BasicMenuUI.java:
3737         Fixed javadocs.
3738         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3739         Likewise.
3740
3741 2004-07-21  Kim Ho  <kho@redhat.com>
3742
3743         * javax/swing/plaf/basic/BasicToolBarUI.java:
3744         (DragWindow): Use the right constructor.
3745
3746 2004-07-21  Kim Ho  <kho@redhat.com>
3747
3748         * javax/swing/JToolBar.java:
3749         (layoutContainer): Use getComponents.
3750         * javax/swing/plaf/basic/BasicToolBarUI.java:
3751         (DragWindow): Don't use SwingUtilities' 
3752         getOwnerFrame
3753         (ToolBarDialog): ditto.
3754
3755 2004-07-21  Kim Ho  <kho@redhat.com>
3756
3757         * javax/swing/JRootPane.java:
3758         Ran jalopy.
3759         (layoutContainer): Set the glasspane's size to 
3760         be the same as the content pane.
3761         (createGlassPane): Set opaque property to false.
3762
3763 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3764
3765         * java/awt/Component.java (requestFocus()): Don't handle Panels
3766         specially.
3767         (requestFocus(boolean)): Likewise.
3768         (requestFocusInWindow(boolean)): Likewise.
3769         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3770         Set GTK_CAN_FOCUS flag.
3771
3772 2004-07-21  Kim Ho  <kho@redhat.com>
3773
3774         * Makefile.am: Added new file.
3775         * Makefile.in: Regenerated.
3776         * gcj/Makefile.in: Regenerated.
3777         * include/Makefile.in: Regenerated.
3778         * javax/swing/AbstractButton.java:
3779         Add rollOverEnabled property.
3780         (setRolloverEnabled): Use new property.
3781         (isRolloverEnabled): Use new property.
3782         * javax/swing/JTabbedPane.java:
3783         (setComponent): Remove useless JTabbedPane.this.
3784         * javax/swing/JToolBar.java: Finish implementation.
3785         * javax/swing/plaf/basic/BasicArrowButton.java:
3786         (paint): Moved border painting to a border.
3787         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3788         Change JToolBar look and feel defaults.
3789         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3790         (actionPerformed): Return Integer index instead of name.
3791         (addButtonComponents): Check to see if component is
3792         JButton last.
3793         (createMessageArea): Don't use components that are not
3794         completed yet.
3795         (getIconForType): Use temporary icons.
3796         * javax/swing/plaf/basic/BasicSliderUI.java:
3797         (mousePressed): Do not return if it's on thumb.
3798         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3799         (paintMinorTickForVertSlider): ditto.
3800         (paintMajorTickForHorizSlider): ditto.
3801         (paintMajorTickForVertSlider): ditto.
3802         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3803         Add a border around the SplitPaneDivider.
3804         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3805         Remove comments.
3806         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3807         New file. Implemented.
3808         * javax/swing/plaf/basic/BasicToolBarUI.java:
3809         Implemented.
3810         * testsuite/Makefile.in: Regenerated.
3811
3812 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3813
3814         * javax/swing/Timer.java (run): Queue events each time cycle.
3815
3816 2004-07-21  David Jee  <djee@redhat.com>
3817
3818         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3819         (imageComplete): Call image.imageComplete().
3820         * java/awt/image/MemoryImageSource.java:
3821         Reimplement consumers as a Vector instead of a Hashtable.  This is
3822         because enumeration on a Hashtable is not thread-safe.
3823         (addConsumer): Adapt to Vector consumers.
3824         (isConsumer): Adapt to Vector consumers.
3825         (removeConsumer): Adapt to Vector consumers.
3826         (startProduction): Adapt to Vector consumers. Call imageComplete()
3827         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3828         (newPixels): Adapt to Vector consumers.
3829         (sendPicture): Set the color model of the image consumer.
3830         (newPixels(IIII)): Adapt to Vector consumers.
3831         (newPixels(IIIIB)): Adapt to Vector consumers.
3832
3833 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3834
3835         * java/awt/Component.java (deliverEvent): Implement.
3836         (postEvent): Implement.
3837         (handleEvent): Implement.
3838         (translateEvent): New method.
3839         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3840         * java/awt/Container.java (deliverEvent): Implement.
3841         * java/awt/Event.java (paramString): Fix formatting.
3842         * java/awt/Font.java (toString): Likewise.
3843         * java/awt/Window.java (postEvent): Implement.
3844
3845 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3846
3847         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3848         Set window's focus owner upon receiving a FOCUS_LOST event.
3849         * java/awt/Window.java (Window()): Refocus the previously
3850         focused component within the window when the window regains the
3851         top-level focus.
3852         (setFocusOwner): New method.
3853         * java/awt/Component.java (requestFocus): Add FIXME.
3854
3855         * libgcj.pc.in: Remove library flags.
3856
3857 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3858
3859         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3860         MOUSE_PRESSED event.
3861         * java/awt/Component.java (requestFocus()): Handle Panel
3862         specially.  Post FOCUS_LOST event on opposite component.
3863         (requestFocus(boolean)): Likewise.
3864         (requestFocusInWindow(boolean)): Likewise.
3865         (paramString): Reorder dimension fields.
3866         * java/awt/Container.java (paramString): Fix string format.
3867         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3868         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3869         process key events if the focus owner is non-null.
3870         (dispatchKeyEvent): Likewise.
3871         * java/awt/Frame.java (paramString): Fix formatting.
3872         (generateName): New method.
3873         (getUniqueLong): Likewise.
3874         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3875         the temporary focus owner is null.  If so, return the permanent
3876         focus owner.
3877         * java/awt/Panel.java (generateName): New method.
3878         (getUniqueLong): Likewise.
3879         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3880         signal handling to make callbacks more specific.
3881
3882 2004-07-21  Michael Koch  <konqueror@gmx.de>
3883
3884         * javax/swing/text/Position.java
3885         (Bias): Implemented.
3886
3887 2004-07-21  Michael Koch  <konqueror@gmx.de>
3888
3889         * javax/swing/LookAndFeel.java
3890         (provideErrorFeedback): New method.
3891
3892 2004-07-21  Michael Koch  <konqueror@gmx.de>
3893
3894         * javax/swing/JTextArea.java
3895         (tabSize): New field.
3896         (getTabSize): New method.
3897         (setTabSize): Likewise.
3898
3899 2004-07-21  Michael Koch  <konqueror@gmx.de>
3900
3901         * javax/swing/ActionMap.java:
3902         Fixed javadocs all over.
3903         (serialVersionUID): Made private.
3904         (parent): Don't explicitely initialize with default value.
3905         (get): SImplified.
3906         (keys): Reimplemented.
3907         (allKeys): Likewise.
3908         (convertSet): Removed.
3909         * javax/swing/ComponentInputMap.java:
3910         Fixed javadocs all over.
3911         (ComponentInputMap): Implemented.
3912         (put): Likewise.
3913         (clear): Likewise.
3914         (remove): Likewise.
3915         (SetParent): Likewise.
3916         (getComponent): Likewise.
3917         * javax/swing/InputMap.java:
3918         Fixed javadocs all over.
3919         (serialVersionUID): Made private.
3920         (parent): Don't explicitely initialize with default value.
3921         (get): SImplified.
3922         (keys): Reimplemented.
3923         (allKeys): Likewise.
3924         (convertSet): Removed.
3925
3926 2004-07-21  Michael Koch  <konqueror@gmx.de>
3927
3928         * javax/swing/ActionMap.java,
3929         javax/swing/ComponentInputMap.java,
3930         javax/swing/InputMap.java,
3931         javax/swing/table/DefaultTableColumnModel.java,
3932         javax/swing/table/TableColumn.java,
3933         javax/swing/table/TableColumnModel.java,
3934         javax/swing/table/TableModel.java,
3935         javax/swing/text/AbstractDocument.java,
3936         javax/swing/text/TextAction.java:
3937         Reformated.
3938
3939 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3940
3941         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3942         Make method non-static.
3943         * javax/swing/AbstractButton.java:
3944         Rename fields to match property names where possible.
3945         (iconTextGap): New property.
3946         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3947         (init) New method, call from after various constructors.
3948         * javax/swing/JComponent.java (revalidate): 
3949         Invalidate before queueing repair.
3950         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3951         Reimplement in terms of visibleRowCount property.
3952         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3953         * javax/swing/JScrollPane.java (createScrollListener): 
3954         Remove tracing chatter.
3955         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3956         * javax/swing/RepaintManager.java (addInvalidComponent): 
3957         Don't invalidate.
3958         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3959         calculations.
3960         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3961         Mimic sun behavior on top left/right positioning.
3962         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3963         Remove mistaken use of preferredScrollableViewportSize here.
3964         (layoutContainer): Use view's preferred size as basis.
3965         * javax/swing/plaf/basic/BasicButtonUI.java:
3966         Set, get, and use textIconGap property.
3967         (paint) Paint text returned from layout (with ellipsis).
3968         * javax/swing/plaf/basic/BasicListUI.java:
3969         Remove tracing chatter, correct various minor calculations.
3970         (getCellBounds): Update layout state before calculating.
3971         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3972         Use margin default similar to sun's.    
3973         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3974         (createIncreaseIcon): Center icon, minimize margins.
3975         (createDecreaseIcon): Likewise.
3976         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3977         Implement.
3978         (installUI): Call it.
3979         (uninstallDefaults): Implement.
3980         (uninstallUI): Call it.
3981         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3982         Call existing Window constructor.
3983         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3984         Set clip before painting.
3985
3986 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3987         
3988         * javax/swing/JMenuItem.java:
3989         (processMouseEvent): Reimplemented to deal with
3990         mouse drag events.
3991         (createMenuDragMouseEvent): New private helper method.
3992         Creates MenuDragMouseEvent.
3993         * javax/swing/MenuSelectionManager.java
3994         (componentForPoint): Implemented.
3995         (isComponentPartOfCurrentMenu): Made public.
3996         (processMouseEvent): Reimplemented to deal with 
3997         mouse drag events.
3998         (setSelectedPath): Corrected small mistake that caused
3999         path to be set incorrectly.
4000         (getPath): If given component is JMenu then also add this
4001         menu's popup menu to the selected path.
4002         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4003         (getPath): Ditto.
4004         (getPreferredSize): Call getPreferredMenuItemSize().
4005         (getPreferredItemSize): Moved code from getPreferredSize to here.
4006         (installListeners): Install MouseMotionListeners.
4007         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4008         if mouse wasn't released in the bounds of this menu item.
4009         (MenuDragMouseHandler): Implemented.
4010         * javax/swing/plaf/basic/BasicMenuUI.java:
4011         (installListeners): Install MouseMotionListener and 
4012         MenuDrageMouseListener.
4013         (MenuDragMouseHandler): Implemented.
4014         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4015         (uninstallListeners): Implemented.
4016         
4017 2004-07-21  Michael Koch  <konqueror@gmx.de>
4018
4019         * javax/swing/JCheckBox.java: Reformated.
4020         (JCheckBox): Fixed all constructors.
4021         (isBorderPaintedFlat): New method.
4022         (setBorderPaintedFlat): New method.
4023         * javax/swing/JEditorPane.java
4024         (createEditorKitForContentType): Made public.
4025         (scrollToReference): Likewise.
4026         * javax/swing/JTextArea.java
4027         (setLineWrap): Fire property change.
4028         * javax/swing/JToggleButton.java
4029         (JToggleButton): New constructor.
4030         (JToggleButton): Simplified.
4031         * javax/swing/text/AttributeSet.java
4032         (FontAttribute): Renamed from FontCharacterAttribute.
4033         * javax/swing/text/JTextComponent.java
4034         (KeyBinBinding): Added javadoc.
4035         (JTextComponent): Likewise.
4036         (getAccessibleContext): Fixed javadoc.
4037         * javax/swing/text/View.java
4038         (View): Added javadoc.
4039         * javax/swing/text/TabableView.java: New file.
4040         * Makefile.am: Added javax/swing/text/TabableView.java.
4041         * Makefile.in: Regenerated.
4042
4043 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4044
4045         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4046         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4047         (GtkErrorImage): New helper class.
4048         (bufferedImageOrError): New helper method.
4049         (createImage): Use it.
4050
4051 2004-07-21  David Jee  <djee@redhat.com>
4052
4053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4054         (setCaretPosition): Scroll the text view so the new caret position
4055         is visible on screen.
4056
4057 2004-07-21  David Jee  <djee@redhat.com>
4058
4059         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4060         (setBounds): Do not validate awtComponent here.
4061         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4062         (getPreferredSize): New method.
4063         * java/awt/ScrollPane.java
4064         (ScrollPane): Set default size to 100x100.
4065         (addNotify): If child is not a Panel, wrap it with a new Panel.
4066         (paramString): Implement.
4067
4068 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4069
4070         * javax/swing/JMenu.java:
4071         (setSelected): Display popup menu only if this menu 
4072         is showing on the screen.
4073         * javax/swing/JPopupMenu.java:
4074         (processMouseEvent): Added comment.
4075         (processKeyEvent): Likewise.
4076         * javax/swing/MenuSelectionManager.java:
4077         (clearSelectedPath): Only fireStateChanged() after
4078         selected path was changed, not before.
4079         (setSelectedPath): Likewise.
4080         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4081         (paintMenuItem): Corrected position of menu item's
4082         icon.
4083         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4084         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4085         (popupMenuCanceled): Reimplemented.
4086         (popupMenuWillBecomeVisible): Select first menu item by default 
4087         when displaying free floating popup menus.
4088         (TopWindowListener): Reimplemented.
4089
4090 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4091
4092         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4093         Panel from being painted twice when it is first shown.
4094
4095 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4096
4097         * java/awt/Window.java: Reverted changes from my 
4098         previous patch for creating window without an owner.
4099         * javax/swing/SwingUtilities.java: 
4100         (SwingUtilities.OwnerFrame): made static.
4101         (OwnerFrame.setVisible): New method. Overridden with
4102         empty implementation.
4103         (OwnerFrame.isShowing): New method. Ovverridden
4104         to return always true.
4105
4106 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4107
4108         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4109         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4110         (GtkComponentPeer): Remove temporary try/catch block.
4111         (setVisible): Call show and hide.
4112         (show): Make native.
4113         (hide): Likewise.
4114         (getArgs): Don't add "visible" argument.
4115         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4116         (property_notify_predicate): Return Bool instead of int.
4117         (find_layout): New function.
4118         (connectJObject): Call find_layout.
4119         (connectSignals): Likewise.
4120         (moveLayout): Likewise.
4121         (gtkLayoutSetVisible): Likewise.
4122
4123 2004-07-21  Mark Wielaard  <mark@klomp.org>
4124
4125         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4126         on notifier object before calling notifyAll().
4127
4128 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4129
4130         * java/awt/Window.java: Changed constructors to use new
4131         method that is described below. Constructors call this
4132         methods only if newly created window should have an owner.
4133         (setWindowOwner): New method. Implementation for
4134         this method is moved from this(owner,configuration).
4135         * javax/swing/JWindow.java:
4136         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4137         instead of owner.
4138         * javax/swing/SwingUtilities.java:
4139         (ownerFrame): Change type of this field to OwnerFrame.
4140         (getOwnerFrame): Changed to return object of type OwnerFrame.
4141         (SwingUtilities.OwnerFrame): New class. Represents owner
4142         of a Window that is not provided with one.
4143
4144 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4145
4146         *  javax/swing/AbstractButton.java: 
4147         (configurePropertiesFromAction): Set action command
4148         to button's text by default if action command is not 
4149         explicitely specified.
4150         * javax/swing/JMenu.java: Remove unnecessary listener
4151         and methods relevant to it.
4152         (setSelected): Reimplemented.
4153         (menuSelectionChanged): Moved most part of implementation to
4154         setSelected() and call it instead.
4155         * javax/swing/JMenuItem.java: 
4156         (init): Comment out statement that sets paint_border to false.
4157         (configurePropertiesFromAction): Do not set accelerator
4158         for JMenu.
4159         (menuSelectionChanged): Change selected index in the selection
4160         model of menu item's parent.
4161         * javax/swing/JPopupMenu.java:
4162         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4163         instead of GridBagConstraints.HORIZONTAL.
4164         (insert): Likewise.
4165         (createActionChangeListener): Implemented.
4166         (setVisible): Correct location of HeavyWeightMenu and 
4167         don't firePopupMenuCanceled().
4168         (menuSelectionChanged): Implemented.
4169         (ActionChangeListener): New Listener. Implemented.
4170         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4171         (BasicMenuBarUI.ContainerHandler): Implemented.
4172         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4173         (paintMenuItem): Uncommented out code that paints 
4174         icon, now that icons are working properly.
4175         (PropertyChangeListener): Implemented.
4176         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4177         Added javadocs.
4178         (topWindowListener): New field.
4179         (Constructor): initialize topWindowListener.
4180         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4181         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4182         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4183         Implemented.
4184
4185 2004-07-21  Michael Koch  <konqueror@gmx.de>
4186
4187         * javax/swing/plaf/basic/BasicButtonUI.java
4188         (paintFocus): Fixed method signature.
4189         (paintButtonPressed): Likewise.
4190         (paintButtonNormal): Likewise.
4191         (paintText): New method.
4192         * javax/swing/plaf/basic/BasicLabelUI.java
4193         (paint): Re-indented.
4194         * javax/swing/plaf/basic/BasicTextUI.java
4195         (installUI): Set parent textComponent to opaque.
4196         * javax/swing/text/DefaultHighlighter.java
4197         (checkPositions): New helper method.
4198         (addHighlight): Throws BadLocationException, check positions.
4199         (changeHighlight): Likewise.
4200         * javax/swing/text/EditorKit.java
4201         (EditorKit): Implements Serializable.
4202         * javax/swing/text/JTextComponent.java
4203         (getUI): Added javadoc.
4204         (setUI): Likewise.
4205         (upadteUI): Added javadoc, don't revalidate and repaint.
4206
4207 2004-07-21  David Jee  <djee@redhat.com>
4208
4209         * java/awt/GridBagLayout.java
4210         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4211         * javax/swing/AbstractButton.java
4212         (setText): Reindent.
4213         * javax/swing/RepaintManager.java
4214         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4215
4216 2004-07-21  Michael Koch  <konqueror@gmx.de>
4217
4218         * javax/swing/JFormattedTextField.java
4219         (value): New field.
4220         (JFormattedTextField): Implemented.
4221         (getValue): Likewise.
4222         (setValue): Likewise.
4223         * javax/swing/LookAndFeel.java
4224         (getSupportsWindowDecorations): New method.
4225         * javax/swing/UIDefaults.java:
4226         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4227         (addPropertyChangeListener): Made public.
4228         (addResourceBundle): Likewise.
4229         (removeResourceBundle): Likewise.
4230         (setDefaultLocale): Likewise.
4231         * javax/swing/plaf/basic/BasicRootPaneUI.java
4232         (BasicRootPaneUI): Implements PropertyChangeListener.
4233         (propertyChange): New method.
4234         * javax/swing/plaf/basic/BasicTextUI.java
4235         (BasicHighlighter): New inner class.
4236         (createHighlighter): New method.
4237         * javax/swing/plaf/basic/BasicToolBarUI.java
4238         (DragWindow): Extends java.awt.Window.
4239         * javax/swing/text/JTextComponent.java
4240         (getDocument): Removed debug output.
4241         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4242         javax/swing/text/DefaultHighlighter.java,
4243         javax/swing/text/FieldView.java,
4244         javax/swing/text/PlainView.java: New files.
4245         * Makefile.am: Added new files.
4246         * Makefile.in: Regenerated.
4247
4248 2004-07-21  Michael Koch  <konqueror@gmx.de>
4249
4250         * javax/swing/JEditorPane.java
4251         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4252         (createEditorKitForContentType): Likewise.
4253         * javax/swing/text/DefaultEditorKit.java
4254         (serialVersionUID): Added constant field.
4255         (EndOfLineStringPropery): Fixed typo.
4256         (DefaultEditorKit): New constructor.
4257         * javax/swing/text/Segment.java:
4258         Import java.text.CharacterIterator.
4259         * javax/swing/text/CharacterIterator.java,
4260         javax/swing/text/PlainEditorKit.java: Removed.
4261         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4262         javax/swing/text/PlainEditorKit.java.
4263         * Makefile.in: Regenerated.
4264
4265 2004-07-21  Michael Koch  <konqueror@gmx.de>
4266
4267         * javax/swing/JButton.java,
4268         javax/swing/text/DefaultEditorKit.java,
4269         javax/swing/text/EditorKit.java,
4270         javax/swing/text/Segment.java,
4271         javax/swing/text/StyledEditorKit.java:
4272         Reformatted.
4273
4274 2004-07-21  Michael Koch  <konqueror@gmx.de>
4275
4276         * javax/swing/ImageIcon.java
4277         (file): Removed.
4278         (description): Renamed from descr.
4279         (ImageIcon): Added missing constructors.
4280         (setParent): Removed.
4281         (setImageObserver): New method.
4282         (getImageObserver): New method.
4283         (paintIcon): Handle observer = null.
4284         * javax/swing/JButton.java
4285         (removeNotify): Fixed javadoc.
4286         (updateUI): Simplified.
4287         * javax/swing/JRootPane.java
4288         (serialVersionUID): New constant field.
4289         * javax/swing/UIManager.java:
4290         Fixed javadocs all over.
4291         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4292         * javax/swing/text/AbstractDocument.java
4293         (createPosition): Throws BadLocationException.
4294         (getText): Likewise.
4295         (remove): Likewise.
4296         * javax/swing/text/ComponentView.java
4297         (modelToView): Likewise.
4298         * javax/swing/text/DefaultEditorKit.java:
4299         Made all public methods public.
4300         (read): Throws BadLocationException and IOException.
4301         (write): Likewise.
4302         * javax/swing/text/EditorKit.java:
4303         Made all public methods public.
4304         (serialVersionUID): New constant field.
4305         (clone): New method.
4306         (read): Throws BadLocationException and IOException.
4307         (write): Likewise.
4308         * javax/swing/text/Segment.java
4309         (array): Made public.
4310         (count): Likewise.
4311         (offset): Likewise.
4312         (Segment): New constructors.
4313         (clone): Reimplemented.
4314         * javax/swing/text/StyledEditorKit.java
4315         (serialVersionUID): New constant field.
4316
4317 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4318
4319         * java/awt/image/BufferedImage.java 
4320         (getSource): Implement.
4321         * javax/swing/ImageIcon.java 
4322         (ImageIcon): Implement ctor.
4323         * javax/swing/ScrollPaneLayout.java 
4324         (preferredLayoutSize): Be more careful about nulls.
4325
4326 2004-07-21  Michael Koch  <konqueror@gmx.de>
4327
4328         * javax/swing/text/AttributeSet.java
4329         (CharacterAttribute): New interface
4330         (ColorAttribute): Likewise.
4331         (FontCharacterAttribute): Likewise.
4332         (ParagraphAttribute): Likewise.
4333         * javax/swing/text/DefaultCaret.java
4334         (moveCaret): New method.
4335         (positionCaret): Likewise.
4336         (repaint): Made protected.
4337         * javax/swing/text/JTextComponent.java
4338         (KeyBinding): Made it static.
4339         * javax/swing/text/View.java
4340         (getContainer): Honor parent == null.
4341
4342 2004-07-21  Michael Koch  <konqueror@gmx.de>
4343
4344         * javax/swing/text/AbstractDocument.java:
4345         Reformatted.
4346
4347 2004-07-21  Michael Koch  <konqueror@gmx.de>
4348
4349         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4350         Import javax.swing.UIManager explicitely.
4351         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4352         (ScrollingButton): Made it static.
4353
4354 2004-07-21  Michael Koch  <konqueror@gmx.de>
4355
4356         * javax/swing/UIDefaults.java
4357         (ActiveValue): Made public.
4358         (LazyValue): Likewise.
4359         * javax/swing/plaf/basic/BasicTextUI.java
4360         (RootView): Reintroduced.
4361         (view): Removed.
4362         (rootView): New field.
4363         (installUI): Create document if needed, initialize rootView.
4364         (uninstallUI): Hanle rootView.
4365         (paint): Likewise.
4366         (getRootView): Likewise.
4367         (setView): Likewise.
4368         * javax/swing/text/DefaultCaret.java:
4369         Renamed all "evt" variables to "event".
4370
4371 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4372
4373         * libgcj.spec.in: Add -l-java-util-logging.
4374
4375 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4376
4377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4378         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4379         gtk-xft-dpi can no calculate the right value.
4380         (dpi_changed_cb): Mark *pspec as unsused.
4381
4382 2004-07-21  David Jee  <djee@redhat.com>
4383
4384         * java/awt/Component.java
4385         (move): Delegate to setBounds().
4386         (resize): Likewise.
4387         (reshape): Fix so it repaints parent and self only when necessary.
4388
4389 2004-07-21  David Jee  <djee@redhat.com>
4390
4391         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4392         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4393         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4394         (setVisible): Likewise.
4395         (show): Likewise.
4396         (hide): Likewise.
4397         (getArgs): Likewise.
4398         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4399         (property_notify_predicate): Likewise.
4400         (find_layout): Likewise.
4401         (connectJObject): Likewise.
4402         (connectSignals): Likewise.
4403         (moveLayout): Likewise.
4404         (gtkLayoutSetVisible): Likewise.
4405
4406 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4407
4408         * Makefile.am
4409         (jv_convert_LDADD):
4410         (gij_LDADD):
4411         (rmic_LDADD):
4412         (rmiregistry_LDADD): Add lib-java-util-logging.la
4413         * Makefile.in: Regenerate.
4414
4415 2004-07-21  Michael Koch  <konqueror@gmx.de>
4416
4417         * javax/swing/text/AbstractDocument.java
4418         (replace): Dont use protected method of java.util.Vector directly.
4419
4420 2004-07-21  Michael Koch  <konqueror@gmx.de>
4421
4422         * javax/swing/plaf/basic/BasicTextUI.java
4423         (installUI): Call specialized install methods.
4424         (installDefaults): New method.
4425         (installListeners): Likewise.
4426         (installKeyboardActions): Likewise.
4427         (uninstallUI): Likewise.
4428         (uninstallDefaults): New method.
4429         (uninstallListeners): Likewise.
4430         (uninstallKeyboardActions): Likewise.
4431         (getPropertyPrefix): New abstract method.
4432         (paint): Made final, just call paintSafely().
4433         (paintSavely): New method.
4434         (paintBackground): Likewise.
4435         (getVisibleEditorRect): Likewise.
4436         * javax/swing/text/LayeredHighlighter.java,
4437         javax/swing/text/TabExpander.java: New files.
4438         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4439         and javax/swing/text/TabExpander.java.
4440         * Makefile.in: Regenerated.
4441
4442 2004-07-21  Michael Koch  <konqueror@gmx.de>
4443
4444         * javax/swing/plaf/basic/BasicTextUI.java
4445         (BasicTextUI): Made abstract.
4446         (BasicCaret): New inner class.
4447         (view): Don't explicitely initialize with "null".
4448         (textComponent): New field.
4449         (textColor): Removed.
4450         (disabledTextColor): Removed.
4451         (normalBackgroundColor): Removed.
4452         (RootView): Removed commented out inner class.
4453         (createUI): Removed.
4454         (createCaret): New method.
4455         (getComponent): Likewise.
4456         (installUI): Initialize textComponent only.
4457         (getPreferredSize): Use installed JTextComponent.
4458         (setView): New method.
4459         (create): Likewise.
4460         * javax/swing/text/JTextComponent.java
4461         (highlighter): New field.
4462         (caretColor): Likewise.
4463         (disabledTextColor): Likewise.
4464         (seletedTextColor): Likewise.
4465         (selectionColor): Likewise.
4466         (setUI): New method.
4467         (getCaretColor): Likewise.
4468         (setCaretColor): Likewise.
4469         (getDisabledColor): Likewise.
4470         (setDisabledColor): Likewise.
4471         (getSelectedTextColor): Likewise.
4472         (setSelectedTextColor): Likewise.
4473         (getSelectionColor): Likewise.
4474         (setSelectionColor): Likewise.
4475         (getHighlighter): Likewise.
4476         (setHighlighter): Likewise.
4477         (replaceSelection): Likewise.
4478
4479 2004-07-21  Michael Koch  <konqueror@gmx.de>
4480
4481         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4482         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4483         * javax/swing/plaf/basic/BasicToolBarUI.java
4484         (BasicToolBarUI): Implements SwingConstants.
4485
4486 2004-07-21  Michael Koch  <konqueror@gmx.de>
4487
4488         * javax/swing/JPopupMenu.java: Removed CVS tags.
4489         * javax/swing/UIDefaults.java: Reformatted.
4490         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4491         Explicitely import used classes.
4492
4493 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4494
4495         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4496         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4497         (GtkComponentPeer): Remove temporary try/catch block.
4498         (setVisible): Call show and hide.
4499         (show): Make native.
4500         (hide): Likewise.
4501         (getArgs): Don't add "visible" argument.
4502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4503         (property_notify_predicate): Return Bool instead of int.
4504         (find_layout): New function.
4505         (connectJObject): Call find_layout.
4506         (connectSignals): Likewise.
4507         (moveLayout): Likewise.
4508         (gtkLayoutSetVisible): Likewise.
4509
4510 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4511
4512         * javax/swing/AbstractButton.java:
4513         (setDisplayedMnemonicIndex): Check if button
4514         text is not null before checking its length.
4515         * javax/swing/JMenuItem.java:
4516         (processMouseEvent): Disarm menu item if mouse has
4517         exited it.
4518         * javax/swing/plaf/basic/BasicMenuUI.java:
4519         (MouseInputHandler.mouseEntered): Do not raise
4520         popup menu if this menu is already selected.
4521         (MouseInputHandler.mousePressed): Do not fire 
4522         MenuEvents.
4523         (MenuHandler): Implemented.     
4524
4525 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4526
4527         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4528         (getSelectedObjects): Implemented.
4529         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4530         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4531         Added javadoc for few methods.
4532         (processMouseEvent): Made public.
4533         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4534         (processMouseEvent): Likewise.
4535
4536 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4537
4538         * javax/swing/AbstractButton.java:
4539         (init): Set display mnemonic index to -1.
4540         (setMnemonic(char)): Use setMnemonic(int).
4541         (setMnemonic(int)): Set display mnemonic index.
4542         (getDisplayedMnemonicIndex): Change method signature
4543         by removing 'index' parameter.
4544         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4545         Added default for Menu.selectionBackground.     
4546         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4547         (paintMenuItem): Change background color of the selected
4548         menu item.
4549         (paintText): Paint differently when menu item is disabled.
4550         Also paint mnemonic if it appears in the menu item's label.
4551         (paintAccelerator): Paint accelerator differently
4552         if menu item is disabled.
4553         * javax/swing/plaf/basic/BasicMenuUI.java:
4554         (installDefaults): Install defaults for 
4555         selectionForeground and selectionBackground.
4556         (uninstallDefaults): Uninstall defauls for 
4557         selectionForeground and selectionBackground.
4558
4559 2004-07-21  Michael Koch  <konqueror@gmx.de>
4560
4561         * javax/swing/text/AbstractDocument.java
4562         (BranchElement): Implemented.
4563         (LeafElement): Implemented.
4564         * javax/swing/text/DefaultCaret.java:
4565         Import used classes.
4566         (serialVersionUID): New constant.
4567         * javax/swing/text/JTextComponent.java
4568         (AccessibleJTextComponent): Removed dead declaration.
4569         (caretPos): Removed.
4570         (setCaret): New method.
4571         * javax/swing/text/PlainDocument.java
4572         (rootElement): New field.
4573         (PlainDocument): Initialize rootElement.
4574         (createDefaultRoot): New method.
4575         (getDefaultRootElement): Implemented.
4576         * javax/swing/text/View.java: Reformatted.
4577         * javax/swing/text/ViewFactory.java
4578         (create): Added javadoc.
4579
4580 2004-07-21  Michael Koch  <konqueror@gmx.de>
4581
4582         * javax/swing/ToolTipManager.java: Reformatted.
4583
4584 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4585
4586         * javax/swing/AbstractButton.java
4587         (changeEvent): New field.
4588         (fireItemStateChanged): Change source of the event
4589         to 'this' before firing it to button listeners.
4590         (fireActionPerformed): Likewise.
4591         (fireStateChanged): Likewise.
4592         (createActionListener): Do not set source 
4593         of the event to AbstractButton.                                  
4594         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4595         (ContainerHandler.componentAdded): Removed 
4596         print out statement.
4597         (ContainerHandler.componentRemoved): Likewise.
4598
4599 2004-07-21  Michael Koch  <konqueror@gmx.de>
4600
4601         * javax/swing/text/Highlighter.java: New file.
4602         * Makefile.am: Added javax/swing/text/Highlighter.java.
4603         * Makefile.in: Regenerated.
4604
4605 2004-07-21  Michael Koch  <konqueror@gmx.de>
4606
4607         * javax/swing/ToolTipManager.java
4608         (stillInsideTimerAction): Fixed constructor arguments.
4609         (outsideTimerAction): Likewise.
4610         (insideTimerAction): Likewise.
4611
4612 2004-07-21  Michael Koch  <konqueror@gmx.de>
4613
4614         * javax/swing/JButton.java: Reformatted.
4615         * javax/swing/JFormattedTextField.java
4616         (getUIClassID): Implemented.
4617         * javax/swing/JRootPane.java
4618         (serialVersionUID): New constant.
4619         * javax/swing/JTextField.java
4620         (align): New field.
4621         (JTextField): Simplified.
4622         (getUIClassID): New method.
4623         (getActionListeners): Added @since tag.
4624         (setColumns): Invalidate layout and repaint.
4625         (getHorizontalAlignment): New method.
4626         (setHorizontalAlignment): New method.
4627         (selectAll): Removed.
4628         * javax/swing/SwingUtilities.java
4629         (getAncestorOfClass): Removed redundant @see tag.
4630         (isLeftMouseButton): Fixed implementation.
4631         (isMiddleMouseButton): Likewise.
4632         (isRightMouseButton): Likewise.
4633         * javax/swing/text/AbstractDocument.java
4634         (AttributeContext.addAttribute): New method.
4635         (AttributeContext.addAttributes): New method.
4636         (AttributeContext.getEmptySet): New method.
4637         (AttributeContext.reclaim): New method.
4638         (AttributeContext.removeAttribute): New method.
4639         (AttributeContext.removeAttributes): New method.
4640         * javax/swing/text/Document.java
4641         (createPosition): Throws BadLocationException.
4642         (getText): Likewise.
4643         (remove): Likewise.
4644         * javax/swing/text/JTextComponent.java
4645         (getText): Return null if no document is set. Catch
4646         BadLocationException.
4647         (getUI): Return ui.
4648         (updateUI): Simplified.
4649
4650 2004-07-21  Michael Koch  <konqueror@gmx.de>
4651
4652         * javax/swing/JButton.java
4653         (removeNotify): Fixed javadoc.
4654         (updateUI): Simplified.
4655
4656 2004-07-21  David Jee  <djee@redhat.com>
4657
4658         * gnu/java/awt/image/ImageDecoder.java
4659         (startProduction): Only add consumer if it's not added yet.
4660         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4661         (GdkPixbufDecoder): Don't call initState() here.
4662         (produce): Call initState() here, to ensure area_prepared and
4663         area_updated signals are properly connected.
4664         * gnu/java/awt/peer/gtk/GtkImage.java
4665         (setColorModel): Use equals() to compare ColorModel objects.
4666         (setPixels): Likewise.
4667         * java/awt/image/ColorModel.java
4668         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4669         * java/awt/image/RGBImageFilter.java
4670         (setColorModel): Set consumer's color model.
4671         (setPixels): Use equals() to compare ColorModel objects.
4672
4673 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4674
4675         * java/net/URLConnection.java (position): New field.
4676         (dateFormat1, dateFormat2, dateFormat3): Removed.
4677         (dateFormats): New field.
4678         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4679         each time instead of re-allocating.
4680         (initializeDateFormats): Initialize 'dateFormats'.
4681
4682 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4683
4684         PR libgcj/16591
4685         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4686         is defined.
4687
4688 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4689
4690         * java/net/Socket.java (getImpl): Now private. Remove comment.
4691
4692 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4693
4694         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4695         of chained Writer when calling super-constructor.
4696         * java/io/FilterWriter.java (FilterWriter): Likewise.
4697         * java/io/PrintWriter.java (PrintWriter): Likewise.
4698
4699 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4700
4701         * prims.cc (process_gcj_properties): Don't increment i within LHS
4702         of assignment.
4703
4704 2004-07-19  Per Bothner  <per@bothner.com>
4705
4706         Print -verbose:message on "loading", not initialization.
4707         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4708         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4709         gcj::verbose_class_flag.
4710         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4711         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4712         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4713         (_Jv_PrepareCompiledClass):  Likewise.
4714
4715 2004-07-18  Matthias Klose  <doko@debian.org>
4716
4717         * configure.in: Substitute target_noncanonical.
4718         * configure: Regenerate
4719
4720 2004-07-17  Michael Koch  <konqueror@gmx.de>
4721
4722         * java/lang/String.java: Fixed javadocs all over.
4723
4724 2004-07-17  Mark Wielaard  <mark@klomp.org>
4725
4726         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4727         when size is smaller.
4728         * java/io/RandomAccessFile.java (setLength): Use truncate for
4729         shrinking the file and seek plus write for expanding the file.
4730
4731 2004-07-17  Michael Koch  <konqueror@gmx.de>
4732
4733         * gnu/java/nio/channels/natFileChannelPosix.cc
4734         (implTruncate): Always save current position. Only reposition file
4735         pointer to where we started if not beyond new lenght. Reposition file
4736         pointer to file length if it points beyond the end of file.
4737
4738 2004-07-17  Mark Wielaard  <mark@klomp.org>
4739
4740         * javax/swing/Box.java: Put FIXME comment above class declaration.
4741         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4742         * javax/swing/JCheckBox.java: Likewise.
4743         * javax/swing/JDialog.java: Likewise.
4744         * javax/swing/JRadioButton.java: Likewise.
4745         * javax/swing/JToggleButton.java: Likewise.
4746         * javax/swing/UIManager.java: Likewise.
4747         * javax/swing/border/TitledBorder.java: Likewise.
4748         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4749         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4750         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4751         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4752         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4753         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4754         * javax/swing/text/JTextComponent.java: Likewise.
4755
4756 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4757
4758         * java/net/DatagramPacket.java (setAddress): Removed check for
4759         null address.
4760
4761 2004-07-17  Michael Koch  <konqueror@gmx.de>
4762
4763         * java/net/DatagramSocket.java
4764         (getLocalAddress): Check if socket is bound or not.
4765         * java/net/Socket.java
4766         (getLocalAddrss): Check if socket is bound or not.
4767         (getPort): Return -1 when not connected. Dont check getImpl() for
4768         null.
4769         (setReuseAddress): Check if socket is closed.
4770         (isConnected): Check if getImpl() returns null.
4771
4772 2004-07-17  Mark Wielaard  <mark@klomp.org>
4773
4774         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4775         on notifier object before calling notifyAll().
4776
4777 2004-07-17  Michael Koch  <konqueror@gmx.de>
4778
4779         * gnu/java/nio/channels/FileChannelImpl.java
4780         (finalize): Added javadoc.
4781
4782 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4783
4784         * java/text/CollationElementIterator.java
4785         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4786         (setText): Use ArrayList instead of Vector.
4787
4788 2004-07-17  Michael Koch  <konqueror@gmx.de>
4789
4790         * java/nio/ByteOrder.java
4791         (static): Removed. Not needed.
4792         Thanks to Patrick Reali for noticing.
4793         * java/nio/charset/CharsetDecoder.java
4794         (decode): Fix for classpath bug #9177: Reset state before flipping.
4795
4796 2004-07-17  Michael Koch  <konqueror@gmx.de>
4797
4798         * java/security/Security.java: Fixed javadocs all over.
4799
4800 2004-07-17  Michael Koch  <konqueror@gmx.de>
4801
4802         * gnu/java/awt/EmbeddedWindow.java
4803         (static): Removed.
4804         (addNotify): Set peer via reflection.
4805         (setWindowPeer): Removed.
4806         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4807         * Makefile.am (nat_source_files):
4808         Removed gnu/java/awt/natEmbeddedWindow.cc.
4809         * Makefile.in: Regenerated.
4810
4811 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4812
4813         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4814         assignment.
4815         * configure: Regenerated.
4816
4817 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4818
4819         * configure.in: Use build_noncanonical rather than build_alias.
4820         * configure: Rebuild.
4821
4822         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4823         by logic refactoring.  Move default definition of NATIVE closer
4824         to first alternate definition.
4825         * configure: Regenerate.
4826
4827         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4828         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4829         gcj/Makefile.in: Regenerate.
4830         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4831         in AM_CONDITIONAL(NATIVE,...)
4832         * configure: Regenerate.
4833
4834 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4835
4836         * configure.in: Use target_noncanonical rather than
4837         target_alias for forward-compatibility with autoconf 2.59.
4838         * configure: Regenerate.
4839         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4840         testsuite/Makefile.am: Substitute target_noncanonical.
4841         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4842         testsuite/Makefile.in: Regenerate.
4843
4844         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4845         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4846         * acinclude.m4: Include acx.m4.
4847         * aclocal.m4: Regenerate.
4848         * configure: Regenerate.
4849
4850 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4851
4852         PR libgcj/16574
4853         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4854         (decimalFormat): New static variable.
4855         (sbuf): Likewise.
4856         (getTime): New. Override Date.getTime().
4857         (toString): Synchronize. Use decimalFormat to format nanos value
4858         correctly. Truncate extra zeros.
4859         (before): Compare getNanos() only if getTime() is equal.
4860         (after): Likewise.
4861         
4862 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4863
4864         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4865         * configure.in: ...here.
4866         * aclocal.m4: Regenerate.
4867         * configure: Regenerate.
4868
4869         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4870         * configure: Rebuilt with autoconf 2.13.
4871         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4872         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4873
4874 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4875
4876         PR libgcj/16204
4877         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4878         large file support.
4879         * Makefile.in: Rebuilt.
4880         * testsuite/libjava.lang/LargeFile.java: New test case.
4881         * testsuite/libjava.lang/LargeFile.out: New file.
4882
4883 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4884
4885         * java/beans/EventHandler.java: Remove debugging statements.
4886
4887 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4888
4889         * java/beans/EventHandler.java: New file.
4890         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4891         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4892         testsuite/Makefile.in: Regenerate.
4893
4894 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4895
4896         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4897         flag to the gcj_setup.
4898         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4899         the tclsh.
4900         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4901         deprecation flag change. 58 XFAILS removed.
4902
4903 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4904
4905         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4906         -fno-use-divide-subroutine.
4907         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4908         (HANDLE_FPE): Define.
4909         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4910         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4911         (HANDLE_DIVIDE_OVERFLOW): Define.
4912
4913 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4914             Matthias Klose  <doko@debian.org> 
4915
4916         * java/awt/im/InputContext.java: Initialize in, line.
4917
4918 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4919
4920         * interpret.cc (run): Correctly access libffi return values of
4921         integral smaller-than-int type; these are implicitly promoted.
4922
4923 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4924
4925         PR libgcj/7587
4926         * interpret.cc (compile_mutex): New.
4927         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4928         (run): Lock compile_mutex before calling compile() if compilation is
4929         required.
4930         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4931         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4932
4933 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4934
4935         PR libgcj/15713
4936         * include/jvm.h (_Jv_value): New union type.
4937         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4938         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4939         union members.
4940
4941 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4942
4943         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4944         * gnu/awt/xlib/XOffScreenImage.java
4945           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4946           constructor argument. Add constructor using ImageProducer.
4947           (getSource): Implement.
4948           (imageComplete): New method.
4949           (setColorModel): New method.
4950           (setDimensions): New method.
4951           (setHints): New method.
4952           (setPixels): New method.
4953           (setProperties): New method.
4954         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4955         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4956
4957 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4958
4959         PR libgcj/16478 
4960         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4961         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4962         (finalizerReady): Now native.
4963         (run): Likewise.
4964         (runFinalizers): Removed.
4965         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4966         a primitive lock, and don't hold it while running the finalizers.
4967         (runFinalizers): Implement. Don't aquire any Java lock.
4968         (finalizerReady): Use lock primitives to signal finalizer thread.
4969
4970 2004-07-11  Mark Wielaard  <mark@klomp.org>
4971
4972         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4973         * java/net/URLStreamHandler.java (parseURL): When url file part
4974         doesn't contain a '/' just ignore context.
4975
4976 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4977
4978         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4979         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4980         (MAKE_THROW_FRAME): Do not modify PSW address.
4981         (INIT_SEGV): Install SIGINFO-style signal handler.
4982         (INIT_FPE): Likewise.
4983
4984 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4985
4986         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4987         status. 21 xfail's removed, 1 added.
4988
4989 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4990
4991         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4992
4993 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4994
4995         * java/text/MessageFormat.java
4996         (formatInternal): Append "{n}" if argument n is unavailable.
4997         (format(Object, StringBuffer, FieldPosition)): This
4998         should be equivalent to format(Object[],
4999         StringBuffer, FieldPosition).
5000
5001 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5002
5003         * java.util.Calendar.java (cache): New private static field. Cached
5004         mappings of locales->calendar classes.
5005         (ctorArgTypes): New private static field. Singleton argument for
5006         calendar class constructor lookup.
5007         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5008         Optimize by bypassing reflection instantiation for the 
5009         GregorianCalendar case.
5010
5011 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5012
5013         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5014         ResourceBundle.getBundle() calls.
5015         * java/util/GregorianCalendar.java: Likewise.
5016         * java/util/Currency.java: Likewise.
5017         * java/text/BreakIterator.java: Likewise.
5018         * java/text/Collator.java: Likewise.
5019         * java/text/DateFormat.java: Likewise.
5020         * java/text/DateFormatSymbols.java: Likewise.
5021         * java/text/DecimalFormatSymbols.java: Likewise.
5022         * java/text/NumberFormat.java: Likewise.
5023         * java/awt/Window.java: Likewise.       
5024
5025 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5026
5027         * java/util/ResourceBundle.java (bundleCache): Renamed from
5028         resourceBundleCache. Update comments.
5029         (getObject): Don't catch MissingResourceException.
5030         (getBundle(String)): Remove 'final'. Use system classloader if
5031         getCallingClassLoader returned null.
5032         (getBundle(String, Locale)): Likewise.
5033         (BundleKey): New private class. HashMap key for bundle cache lookup.
5034         (lookupKey): New. Singleton instance of BundleKey.
5035         (nullEntry): New. Cache entry to represent failed lookups.
5036         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5037         caching strategy, no-allocation lookup, and new tryBundle methods.
5038         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5039         name using given classloader.
5040         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5041         baseName for given Locale and attempt to load bundle.
5042
5043 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5044
5045         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5046         illegal protected method calls.
5047
5048 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5049
5050         Fix or remove some bogus test cases.
5051         * testsuite/libjava.compile/pr10459_2.java: Removed.
5052         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5053         not Object.clone().
5054         * testsuite/libjava.compile/inner_data.java: Test against its own
5055         protected field.
5056
5057 2004-07-09  Michael Koch  <konqueror@gmx.de>
5058
5059         * scripts/unicode-muncher.pl: Updated to version 2.1
5060         from GNU classpath. Added some clarifications on where to find the
5061         needed files from www.unicode.org.
5062         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5063         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5064         Removed, these can directly be downloaded from www.unicode.org if
5065         needed. 
5066         * gnu/java/lang/CharData.java: Regenerated.
5067         * include/java-chartables.h: Regenerated.
5068         * Makefile.am (ordinary_java_source_files):
5069         Removed gnu/java/lang/CharData.java.
5070         * Makefile.in: Regenerated.
5071
5072 2004-07-09  Michael Koch  <konqueror@gmx.de>
5073
5074         * java/security/AccessControlContext.java,
5075         java/security/SecureClassLoader.java:
5076         Fixed javadocs.
5077
5078 2004-07-09  Michael Koch  <konqueror@gmx.de>
5079
5080         * java/io/ObjectInputStream.java (readFields): Use long datatype
5081         when shifting byte values more then 24 bits left.
5082
5083 2004-07-09  Michael Koch  <konqueror@gmx.de>
5084
5085         * java/util/zip/DeflaterOutputStream.java,
5086         java/util/zip/GZIPInputStream.java,
5087         java/util/zip/GZIPOutputStream.java,
5088         java/util/zip/InflaterInputStream.java:
5089         Reformatted. Added javadocs. Reordered all stuff.
5090         Renamed variables to be more clear.
5091
5092 2004-07-09  Michael Koch  <konqueror@gmx.de>
5093
5094         * javax/imageio/IIOException.java,
5095         javax/imageio/event/IIOReadProgressListener.java,
5096         javax/imageio/event/IIOReadUpdateListener.java,
5097         javax/imageio/event/IIOReadWarningListener.java,
5098         javax/imageio/event/IIOWriteProgressListener.java,
5099         javax/imageio/event/IIOWriteWarningListener.java:
5100         New files.
5101         * Makefile.am: Added new files.
5102         * Makefile.in: Regenerated.
5103
5104 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5105
5106         * java/text/RuleBasedCollator.java
5107         (mergeRules): Use ArrayList instead of Vector.
5108         (subParseString): likewise.
5109         (parseString): likewise.
5110         (buildCollationVector): likewise.
5111         (getCollationKey): likewise.
5112
5113 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5114
5115         * java/text/DateFormat.java (parse):
5116         Improved javadoc. Improved exception message.
5117
5118 2004-07-09  Mark Wielaard  <mark@klomp.org>
5119
5120         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5121         interrupted() method to clear interupt flag of our Thread.
5122
5123 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5124
5125         * java/nio/Buffer.java,
5126         java/nio/ByteBuffer.java,
5127         java/nio/ByteBufferHelper.java,
5128         java/nio/ByteBufferImpl.java,
5129         java/nio/CharBuffer.java,
5130         java/nio/CharBufferImpl.java,
5131         java/nio/CharViewBufferImpl.java,
5132         java/nio/DirectByteBufferImpl.java,
5133         java/nio/DoubleBuffer.java,
5134         java/nio/DoubleBufferImpl.java,
5135         java/nio/DoubleViewBufferImpl.java,
5136         java/nio/FloatBuffer.java,
5137         java/nio/FloatBufferImpl.java,
5138         java/nio/FloatViewBufferImpl.java,
5139         java/nio/IntBuffer.java,
5140         java/nio/IntBufferImpl.java,
5141         java/nio/IntViewBufferImpl.java,
5142         java/nio/LongBuffer.java,
5143         java/nio/LongBufferImpl.java,
5144         java/nio/LongViewBufferImpl.java,
5145         java/nio/MappedByteBufferImpl.java,
5146         java/nio/ShortBuffer.java,
5147         java/nio/ShortBufferImpl.java,
5148         java/nio/ShortViewBufferImpl.java:
5149         Fixed javadocs all over. Improved input error
5150         checking.
5151
5152         * java/nio/Buffer.java
5153         (checkForUnderflow, checkForOverflow, checkIndex,
5154         checkIfReadOnly, checkArraySize): New helper methods
5155         for error checking.
5156
5157         * java/nio/ByteBufferHelper.java
5158         (checkRemainingForRead, checkRemainingForWrite,
5159         checkAvailableForRead, checkAvailableForWrite): Removed
5160         no longer needed methods.
5161
5162 2004-07-09  Michael Koch  <konqueror@gmx.de>
5163
5164         * gnu/regexp/CharIndexedInputStream.java:
5165         Reordered imports to match classpath.
5166
5167 2004-07-09  Michael Koch  <konqueror@gmx.de>
5168
5169         * gnu/java/awt/EmbeddedWindow.java:
5170         Load native library for setWindowPeer method.
5171
5172 2004-07-08  Randolph Chung  <tausq@debian.org>
5173
5174         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5175         * configure: Regenerate.
5176         * configure.host: Set can_unwind_signal for hppa*-linux.
5177         * include/pa-signal.h: New file.
5178
5179 2004-07-07  Per Bothner  <per@bothner.com>
5180
5181         * Makefile.am:  Add rules to build libgij from just gij.cc.
5182
5183         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5184         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5185         (initializeClass):  If verbose_class_flag, print message.
5186         * gij.cc (main):  Handle -verbose:class flag.
5187
5188 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5189
5190         * configure.host: Enable hash synchronization on Darwin.
5191         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5192         ';', since this is a comment on Darwin.
5193         (compare_and_swap_release): Likewise.
5194
5195 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5196
5197         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5198         file portion of URL in addition to spec for file: protocol.
5199
5200 2004-07-05  Anthony Green  <green@redhat.com>
5201
5202         * java/io/File.java (toURI): Merge from Classpath.
5203
5204 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5205
5206         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5207         before passing to URL constructor. Rethrow any MalformedURLException
5208         as a RuntimeException. Catch MalformedURLException specifically, not
5209         all exceptions.
5210
5211 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5212
5213         * java/util/Locale.java (readObject): Intern strings read from object
5214         stream.
5215
5216 2004-07-04  Michael Koch  <konqueror@gmx.de>
5217
5218         * gnu/gcj/runtime/FirstThread.java,
5219         gnu/gcj/runtime/natFirstThread.cc: Removed.
5220         * gnu/java/lang/MainThread.java,
5221         gnu/java/lang/natMainThread.cc: New files.
5222         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5223         * Makefile.am: Added new files and removed deleted ones.
5224         * Makefile.in: Regenerated.
5225
5226 2004-07-03  Mark Wielaard  <mark@klomp.org>
5227             Anthony Green  <green@redhat.com>
5228
5229         * java/net/URL.java (getFile): Clarify return value doc.
5230         (getPath): Return null if file is empty - not empty String.
5231         (set): Convert protocol to lower case before doing anything.
5232         Only change the protocol handler if it's different.
5233
5234 2004-07-03  Anthony Green  <green@redhat.com>
5235
5236         * java/net/URL.java (URL): Convert protocol to lower case before
5237         doing anything, so we getURLStreamHandler() with the proper value.
5238
5239 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5240
5241         * java/util/Locale.java (hashcode): Made transient.
5242         (hashCode): No longer synchronized.
5243         (equals): Remove comment.
5244         (writeObject): No longer synchronized. Implement using writeObject 
5245         calls instead of tweaking hashCode field. Update doc.
5246         (readObject): Implement using readObject calls.
5247
5248 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5249             Andreas Tobler  <a.tobler@schweiz.ch>
5250
5251         * configure.host (powerpc-*-darwin*): New case, define
5252         can_unwind_signal.
5253         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5254         * configure: Regenerate.
5255         * include/darwin-signal.h: New.
5256
5257 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5258
5259         * java/beans/Statement.java (doExecute): Fix formatting.
5260
5261 2004-06-29  Per Bothner  <per@bothner.com>
5262
5263         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5264         etc etc):  Remove needless parenthesis, which causes __stdcall__
5265         attribute on MinGW to get ignored.
5266
5267 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5268
5269         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5270
5271 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5272
5273         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5274
5275 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5276
5277         * java/beans/Expression.java: New file.
5278         * java/beans/Statement.java: New file.
5279         * Makefile.am: Added new files.
5280         * Makefile.in: Re-generate.
5281
5282 2004-06-27 Mark Wielaard  <mark@klomp.org>
5283
5284         * java/io/FilePermission.java (usingPerms): Removed.
5285         (actionsString): Made final.
5286         (cachePerms): Renamed to checkPerms.
5287         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5288         on action String.
5289         (FilePermission): Check arguments, call checkPerms().
5290         (equals): Remove cachePerms() call.
5291         (implies): Likewise.
5292
5293 2004-06-27  Mark Wielaard  <mark@klomp.org>
5294
5295         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5296         final field.
5297         (sendRequest): Use new field in user-agent http agent.
5298
5299 2004-06-27  Mark Wielaard  <mark@klomp.org>
5300
5301         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5302         when argument is null.
5303
5304 2004-06-26  Mark Wielaard  <mark@klomp.org>
5305
5306         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5307         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5308         GetMethodID call.
5309         (cancel_clicked): Likewise.
5310
5311 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5312
5313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5314         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5315         can not calculate the right value.
5316         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5317
5318 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5319
5320         * testsuite/libjava.jacks/jacks.xfail: Remove
5321         15.9.1-qualified-concrete-20.
5322
5323 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5324
5325         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5326         encoding name to iconv.
5327         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5328
5329 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5330
5331         PR libgcj/16134:
5332         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5333         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5334         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5335
5336 2004-06-21  Andrew Haley  <aph@redhat.com>
5337
5338         * java/io/ObjectOutputStream.java: Add DEBUG statements
5339         everywhere.
5340         (dumpElementln): New method.
5341         (depth): New field.
5342         * java/io/ObjectInputStream.java
5343         (currentClassLoader): Make native.
5344         (callersClassLoader): New field.
5345         (depth): New field.
5346         (readObject): ENDBLOCKDATA is generated if the class has a write
5347         method, not if it has a read method.
5348         (readObject): Save and restore this.currentObject and
5349         this.currentObjectStreamClass around calls to callReadMethod().
5350         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5351         method.
5352
5353 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5354
5355         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5356         darwin.
5357
5358 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5359
5360         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5361         if desired, before the default class loader is initialised.
5362         Call INIT_SEGV only if HANDLE_SEGV is defined.
5363
5364 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5365
5366         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5367         directory only if it actually exists.
5368
5369 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5370
5371         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5372         Fix up non-ansi comments.
5373
5374 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5375
5376         * javax/swing/text/AbstractDocument.java: Adding missing import
5377         for javax.swing.event.EventListenerList.
5378         * javax/swing/text/DefaultCaret.java: Likewise.
5379
5380 2004-06-17  Michael Koch  <konqueror@gmx.de>
5381
5382         * javax/swing/JToolBar.java
5383         (name): Removed.
5384         (JToolBar): Use Component.setName(String) instead of doing it all
5385         alone.
5386         * javax/swing/Timer.java
5387         (queueEvent): Added missing modifier.
5388
5389 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5390
5391         * Makefile.am: Added new file.
5392         * Makefile.in: Re-generate.
5393         * javax/swing/JMenu.java:
5394         (insertSeparator): Implemented.
5395         * javax/swing/JPopupMenu.java:
5396         (JPopupMenu.Separator): Implemented.
5397         * javax/swing/MenuSelectionManager.java:
5398         (processMouseEvent): Use java.awt.Component 
5399         for event source instead of javax.swing.JComponent. 
5400         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5401         New File. Implemented.
5402         
5403 2004-06-16  David Jee  <djee@redhat.com>
5404
5405         * java/awt/GridBagLayout.java
5406         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5407         Make sure pos_x and pos_y are never negative.
5408
5409 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5410
5411         * Makefile.am: Add new file.
5412         * Makefile.in: Re-generate.     
5413         * javax/swing/JToolBar.java
5414         Partially implemented.
5415         * javax/swing/plaf/basic/BasicToolBarUI.java
5416         New file. Partially implemented.
5417
5418 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5419
5420         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5421         (setComposite): Accept AlphaComposite arguments.
5422         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5423         (createBufferedImage): Add new overloads.
5424         * gnu/java/awt/peer/gtk/GtkToolkit.java
5425         (createImage): Use GdkPixbufDecoder.createBufferedImage
5426         when useGraphics2D() is true.
5427         (getImage): Delegate to createImage.
5428         * javax/swing/JList.java
5429         (isSelectionEmpty):
5430         (getFirstVisibleIndex):
5431         (getLastVisibleIndex):
5432         (setSelectedValue):
5433         (ensureIndexIsVisible): New methods.
5434         * javax/swing/Timer.java: Reimplement.
5435
5436 2004-06-16  Michael Koch  <konqueror@gmx.de>
5437
5438         * javax/swing/text/AbstractDocument.java
5439         (AbstracElement): Made public, implements java.io.Serializable.
5440         (AttributeContext): Made public.
5441         (BranchElement): Likewise.
5442         (Content): Likewise.
5443         (DefaultDocumentEvent): Made public, extends
5444         javax.swing.undo.CompoundEdit.
5445         (ElementEdit): Made public, extends
5446         javax.swing.undo.AbstractUndoableEdit.
5447         (LeafElement): Made public.
5448         (LeafElement.LeafElement): Made public.
5449
5450 2004-06-16  Michael Koch  <konqueror@gmx.de>
5451
5452         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5453         methods (that were obviously never be intended to get included hi this
5454         class. Added some methods too.
5455
5456 2004-06-16  Michael Koch  <konqueror@gmx.de>
5457
5458         * javax/swing/text/PlainDocument.java
5459         (serialVersionUID): New constant.
5460         (lineLimitAttribute): Likewise.
5461         (tabSizeAttribute): Likewise.
5462         (tabSize): New field.
5463         (PlainDocument): Made public.
5464         (PlainDocument): New constructor.
5465
5466 2004-06-16  Michael Koch  <konqueror@gmx.de>
5467
5468         * javax/swing/text/AbstractDocument.java
5469         (insertString): Throws BadLocationException.
5470         * javax/swing/text/Document.java
5471         (insertString): Likewise.
5472         * javax/swing/text/JTextComponent.java:
5473         Javadocs and comments cleaned up.
5474
5475 2004-06-16  Michael Koch  <konqueror@gmx.de>
5476
5477         * javax/swing/event/UndoableEditListener.java: Reformatted.
5478         * javax/swing/text/AbstractDocument.java
5479         (AbstractDocument): Implements java.io.Serializable.
5480         (doc_list): Removed.
5481         (undo_list): Removed.
5482         (AbstractElement.serialVerionUID): New field.
5483         (BranchElement.serialVerionUID): Likewise.
5484         (DefaultDocumentEvent.serialVerionUID): Likewise.
5485         (ElementEdit.serialVerionUID): Likewise.
5486         (LeafElement.serialVerionUID): Likewise.
5487         (serialVerionUID): Likewise.
5488         (BAD_LOCATION): New constant.
5489         (BidiElementName): Likewise.
5490         (ContentElementName): Likewise.
5491         (ParagraphElementName): Likewise.
5492         (SectionElementName): Likewise.
5493         (ElementNameAttribute): Likewise.
5494         (AbstractDocument): Made protected.
5495         (AbstractDocument): New construtor.
5496         (listenerList): New field.
5497         (fireChangedUpdate): Implemented.
5498         (fireInsertUpdate): Likewise.
5499         (fireRemoveUpdate): Likewise.
5500         (fireUndoableEditUpdate): Likewise.
5501         (getListeners): Likewise.
5502         (addDocumentListener): Likewise.
5503         (removeDocumentListener): Likewise.
5504         (addUndoableEditListener): Likewise.
5505         (removeUndoableEditListener): Likewise.
5506         (getDocumentListeners): New method.
5507         (getUndoableEditListeners): Likewise.
5508         (getAsynchronousLoadPriority): Made public.
5509         (getBidiRootElement): Likewise.
5510         (setAsynchronousLoadPriority): Likewise.
5511         (setDocumentProperties): Likewise.
5512         * javax/swing/text/BadLocationException.java
5513         (serialVerionUID): New field.
5514         * javax/swing/text/DefaultCaret.java
5515         (changeEvent): New field.
5516         (listenerList): Likewise.
5517         (changes): Removed.
5518         (addChangeListener): Reimplemented.
5519         (removeChangeListener): Likewise.
5520         (getListeners): New method.
5521         (getChangeListeners): Likwise.
5522         (getComponent): Likewise.
5523         * javax/swing/text/GapContent.java
5524         (GapContent): Implements java.io.Serializable.
5525         (serialVerionUID): New field.
5526
5527 2004-06-16  Michael Koch  <konqueror@gmx.de>
5528
5529         * javax/swing/JTree.java
5530         (treeModel): New field.
5531         (JTree): New constructors, one existing one made public.
5532         (createTreeModel): New method.
5533         (addTreeExpansionListener): Likewise.
5534         (removeTreeExpansionListener): Likewise.
5535         (getTreeExpansionListeners): Likewise.
5536         (fireTreeCollapsed): Likewise.
5537         (fireTreeExpanded): Likewise.
5538         (addTreeSelectionListener): Likewise.
5539         (removeTreeSelectionListener): Likewise.
5540         (getTreeSelectionListeners): Likewise.
5541         (fireValueChanged): Likewise.
5542         (addTreeWillExpandListener): Likewise.
5543         (removeTreeWillExpandListener): Likewise.
5544         (getTreeWillExpandListeners): Likewise.
5545         (fireTreeWillCollapse): Likewise.
5546         (fireTreeWillExpand): Likewise.
5547
5548 2004-06-16  Michael Koch  <konqueror@gmx.de>
5549
5550         * javax/swing/JTree.java: Reformatted.
5551
5552 2004-06-16  Michael Koch  <konqueror@gmx.de>
5553
5554         * javax/swing/JTextArea.java: New file.
5555         * javax/swing/JTextField.java
5556         (actions): Removed.
5557         (notifyAction): New constant.
5558         (columns): New field.
5559         (JTextField): New constructors.
5560         (createDefaultModel): New method.
5561         (addActionListener): Reimplmemented.
5562         (removeActionListener): Reimplemented.
5563         (getActionListeners): New method.
5564         (fireActionPerformed): New method.
5565         (getColumns): New method.
5566         (setColumne): New method.
5567         * javax/swing/text/JTextComponent.java
5568         (AccessibleJTextComponent.serialVersionUID): New field.
5569         (serialVersionUID): Likewise.
5570         (DEFAULT_KEYMAP): Likewise.
5571         (FOCUS_ACCELERATOR_KEY): Likewise.
5572         (doc): Made private.
5573         (icon_gap): Likewise.
5574         (icon): Likewise.
5575         (align): Likewise.
5576         (JTextComponent): Some constructors removed.
5577         (getScrollableTracksViewportHeight): New method.
5578         (getScrollableTracksViewportWidth): Likewise.
5579         * Makefile.am: Added javax/swing/JTextArea.java.
5580         * Makefile.in: Regenerated.
5581
5582 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5583
5584         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5585         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5586         * javax/swing/JViewport.java 
5587         (getExtentSize): Return size rather than preferred size.
5588         (toViewCoordinates): New methods.
5589         (getViewSize): Return size rather than preferred size.
5590         (setViewSize): Note view size as set.
5591         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5592         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5593         (getPreferredSize): Don't redo layout.
5594         * javax/swing/plaf/basic/BasicViewportUI.java 
5595         (paint): Translate image properly and eat exceptions.
5596
5597 2004-06-15  Kim Ho  <kho@redhat.com>
5598
5599         * javax/swing/JTabbedPane.java
5600         (setComponent): Remove old component and
5601         add new component.
5602         (setSelectedIndex): Don't operate on the 
5603         components if they're null. Don't set index
5604         on the model if the index is the same.
5605         (insertTab): Don't add or hide the component
5606         if it's null. Repaint the container.
5607         * javax/swing/plaf/basic/BasicLookAndFeel.java
5608         Change colors for TabbedPane.
5609         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5610         (mousePressed): Re-layout and paint the component.
5611         (layoutContainer): Don't set location on the view.
5612         (ScrollingViewport::paint): Remove.
5613
5614 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5615
5616         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5617         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5618
5619         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5620         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5621         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5622         critical region.
5623         (drawLine): Call gdk_flush before leaving GDK critical region.
5624         (fillRect): Likewise.
5625         (drawRect): Likewise.
5626         (copyArea): Likewise.
5627         (copyPixmap): Likewise.
5628         (clearRect): Likewise.
5629         (drawArc): Likewise.
5630         (drawPolyline): Likewise.
5631         (drawPolygon): Likewise.
5632         (fillPolygon): Likewise.
5633         (fillArc): Likewise.
5634         (drawOval): Likewise.
5635         (fillOval): Likewise.
5636
5637         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5638         style parameter.
5639         (GdkFontMetrics): Add style argument to initState call.
5640         (stringWidth(String,int,int,String)): Add style parameter.
5641         (stringWidth(String)): Add style argument to stringWidth call.
5642         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5643         (initState): Set pango font style and weight based on AWT style
5644         parameter.  Pass default GTK language to
5645         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5646         simply dividing by PANGO_SCALE.
5647         (stringWidth): Set pango font style and weight based on AWT style
5648         parameter.
5649
5650         * java/awt/Button.java (next_button_number): New field.
5651         (paramString): Change output.
5652         (generateName): New method.
5653         (getUniqueLong): New method.
5654
5655 2004-06-14  Kim Ho  <kho@redhat.com>
5656
5657         * javax/swing/JTabbedPane.java:
5658         (setComponentAt): Set the component, not
5659         the enabled status.
5660         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5661         (actionPerformed): Let deiconize catch exception.
5662
5663 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5664
5665         * javax/swing/JPopupMenu.java:
5666         (setVisible): Corrected location of a 
5667         heavyweight popup menu.
5668
5669 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5670
5671         * javax/swing/MenuSelectionManager.java: 
5672         Ran through jalopy to fix formatting style.
5673
5674 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5675         
5676         * javax/swing/JLayeredPane.java: 
5677         (remove): Revalidate and repaint layered pane after
5678         the component was removed.
5679         javax/swing/JMenu.java:
5680         (setVisible): Display popup menu at the user location,
5681         if one was set by the user.
5682         (setMenuLocation): Reimplemented. Fixed javadoc.
5683         * javax/swing/JMenuBar.java: Added javadoc.
5684         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5685         (MODEL_CHANGED_PROPERTY): New Property.
5686         (isSelected): Implemented.
5687         (setBorderPainted): Fire PropertyChangeEvent
5688         if paintBorder property changes.
5689         (setSelected): Implemented.
5690         (setSelectionModel): Implemented.
5691         * javax/swing/JPopupMenu.java: Added Javadoc
5692         (pack): Implemented.
5693         (setVisible): Reimplemented.
5694         (show): Fixed location.
5695         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5696         Container instead of JPanel.
5697         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5698         (clearSelectedPath): Reimplemented to clear selectedPath
5699         in reverse order.
5700         (processMouseEvent): Reimplemented.
5701         (setSelectedPath): Fire stateChange event indicating that
5702         selected menu path has changed.
5703         (getPath): Change to use ArrayList instead of Vector.
5704         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5705         (installUI): call installKeyboardActions().
5706         (uninstallUI): call uninstallKeyboardActions().
5707
5708 2004-06-13  Michael Koch  <konqueror@gmx.de>
5709
5710         * javax/swing/text/DefaultCaret.java,
5711         javax/swing/text/BadLocationException.java:
5712         Reformatted.
5713
5714 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5715
5716         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5717         DEFAULT_COLS): New variables.
5718         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5719         values to DEFAULT_ROWS or DEFAULT_COLS.
5720         (getMinimumSize): Likewise.
5721         (getPreferredSize): Likewise.
5722         (minimumSize): Likewise.
5723         (preferredSize): Likewise.
5724         (create): Set peer's editable state.
5725         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5726         zero.  Update javadocs.
5727         (TextArea(String)): Likewise.
5728         (TextArea(int,int)): Fix javadocs.
5729         (TextArea(String,int,int,int)): Only throw exception if one of
5730         rows or columns is zero.  Fix javadocs.
5731
5732 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5733
5734         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5735         addition to Components.
5736
5737         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5738         wasn't consumed by normal processing, send it to the parent
5739         menu.
5740
5741         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5742         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5743         translation.
5744
5745 2004-06-11  David Jee  <djee@redhat.com>
5746
5747         * java/awt/MediaTracker.java
5748         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5749         (addImage(Image,int,int,int)): Likewise.
5750
5751 2004-06-11  Michael Koch  <konqueror@gmx.de>
5752
5753         * javax/swing/text/AbstractDocument.java,
5754         javax/swing/text/Document.java,
5755         javax/swing/text/GapContent.java,
5756         javax/swing/text/JTextComponent.java,
5757         javax/swing/text/PlainDocument.java:
5758         Reformatted.
5759
5760 2004-06-11  Michael Koch  <konqueror@gmx.de>
5761
5762         * javax/swing/JRootPane.java
5763         (AccessibleJRootPane.serialVersionUID): New field.
5764         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5765         (AccessibleJRootPane.getAccessibleRole): New method.
5766         (RootLayout): Implements Serializable.
5767         (RootLayout.serialVersionUID): New field.
5768         (RootLayout.RootLayout): New constructor.
5769         (setJMenuBar): Made public.
5770         (getJMenuBar): Likewise.
5771         (JRootPane): Likewise.
5772         (createContentPane): Likewise.
5773         (createGlassPane): Likewise.
5774         (createLayeredPane): Likewise.
5775
5776 2004-06-11  Michael Koch  <konqueror@gmx.de>
5777
5778         * javax/swing/SwingUtilities.java
5779         (isLeftMouseButton): Fixed javadoc.
5780         (isMiddleMouseButton): Likewise.
5781         (isRightMouseButton): Likewise.
5782
5783 2004-06-11  Michael Koch  <konqueror@gmx.de>
5784
5785         * javax/swing/JScrollPane.java
5786         (serialVersionUID): New field.
5787         (columnHeader): Made protected.
5788         (rowHeader): Likewise.
5789         (lowerLeft): Likewise.
5790         (lowerRight): Likewise.
5791         (upperLeft): Likewise.
5792         (upperRight): Likewise.
5793         (horizontalScrollBar): Likewise.
5794         (horizontalScrollBarPolicy): Likewise.
5795         (verticalScrollBar): Likewise.
5796         (verticalScrollBarPolicy): Likewise.
5797         (viewport): Likewise.
5798
5799 2004-06-11  Michael Koch  <konqueror@gmx.de>
5800
5801         * javax/swing/LookAndFeel.java: Fixed javadocs.
5802
5803 2004-06-11  Michael Koch  <konqueror@gmx.de>
5804
5805         * javax/swing/JEditorPane.java: Fixed javadocs.
5806         (JEditorPane): Removed redundant call to to this().
5807         (fireHyperlinkUpdate): Implemented.
5808
5809 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5810
5811         * javax/swing/JMenu.java: Fixed file name 
5812         in the file comment.
5813
5814 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5815
5816         * javax/swing/JMenu.java: Added javadoc.
5817         (JMenu): Added MenuChangeListener to listen to 
5818         ChangeEvents occuring in menu's model. 
5819         (insert): Throw IllegalArgumentException if 
5820         index is less than 0
5821         (setSelected): Reimplement.
5822         (setPopupMenuVisible): Call menu's model isEnabled()
5823         (setDelay): Throw IllegalArgumentException if 
5824         given amount of delay is less than 0.
5825         (createActionComponent): Implemented.
5826         (createActionChangeListener): Implemented.
5827         (addSeparator): Implemented.
5828         (getItem): Throw IllegalArgumentException if index is 
5829         less than 0.
5830         (getItemCount): Implemented.
5831         (fireMenuSelected): Changed to use menuEvent.
5832         (fireMenuDeselected): Likewise.
5833         (fireMenuCanceled): Likewise.
5834         (setAccelerator): Changed to throw an error if this 
5835         method is used. 
5836         (doClick): Implemented.
5837         (JMenu.ActionChangedListener): New inner class to handle
5838         PropertyChangeEvents occuring in the actions associated with menu.
5839         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5840         (BasicMenuUI): Added PropertyChangeListener to the menu.
5841         (createChangeListener): Implemented.
5842         (createMenuDragMouseListener): Likewise.
5843         (createMenuKeyListener): Likewise.
5844         (createPropertyChangeListener): Likewise.
5845         (uninstallListeners): Likewise.
5846         (BasicMenuUI.MouseInputHandler): Reimplemented.
5847         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5848         (BasicMenuUI.ChangeHandler): Likewise.
5849         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5850         (BasicMenuUI.MenuKeyHandler): Likewise.
5851
5852 2004-06-10  David Jee  <djee@redhat.com>
5853
5854         * java/awt/MediaTracker.java
5855         (imageUpdate): Only do notifyAll() if the image is complete.
5856
5857 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5858
5859         * javax/swing/JApplet.java:
5860         (getJMenuBar): Made public.
5861         (setJMenuBar): Likewise.
5862         * javax/swing/JFrame.java:
5863         (getJMenuBar): Made public.
5864         (setJMenuBar): Likewise.
5865         * javax/swing/JWindow.java:
5866         (getJMenuBar): Removed.
5867         (setJMenuBar): Removed.
5868
5869 2004-06-10  Michael Koch  <konqueror@gmx.de>
5870
5871         * javax/swing/JEditorPane.java
5872         (createEditorKitForContentType): Fixed visibility.
5873         (fireHyperlinkUpdate): Likewise.
5874         (getContentType): Likewise.
5875         (getEditorKit): Likewise.
5876         (getEditorKitForContentType): Likewise.
5877         (getPage): Likewise.
5878         (read): Likewise.
5879         (registerEditorKitForContentTyoe): Likewise.
5880         (replaceSelection): Likewise.
5881         (setContentType): Likewise.
5882         (setEditorKit): Likewise.
5883         (setPage): Likewise.
5884
5885 2004-06-10  Michael Koch  <konqueror@gmx.de>
5886
5887         * javax/swing/Timer.java
5888         (Timer): New constructor.
5889         * javax/swing/plaf/basic/BasicProgressBarUI.java
5890         (animationTimer): Don't initialize at construction.
5891         (startAnimationTimer): Added since tag.
5892         (stopAnimationTimer): Likewise.
5893         (installUI): Use new Timer constructor.
5894         * javax/swing/plaf/basic/BasicScrollBarUI.java
5895         (installUI): Likewise.
5896         * javax/swing/plaf/basic/BasicSliderUI.java
5897         (installUI): Likewise.
5898
5899 2004-06-10  Michael Koch  <konqueror@gmx.de>
5900
5901         * javax/swing/ButtonGroup.java
5902         (serialVersionUID): Made private.
5903         (buttons): Renamed from v, added javadoc.
5904         (sel): Added javadoc.
5905         (ButtonGroup): Likewise.
5906         (add): Likewise.
5907         (remove): Likewise.
5908         (getElements): Likewise.
5909         (getSelection): Likewise.
5910         (setSelected): Likewise.
5911         (isSelected): Likewise.
5912         (getButtonCount): Likewise.
5913
5914 2004-06-10  Michael Koch  <konqueror@gmx.de>
5915
5916         * javax/swing/ButtonGroup.java,
5917         javax/swing/ImageIcon.java,
5918         javax/swing/JEditorPane.java,
5919         javax/swing/JRootPane.java,
5920         javax/swing/JTextField.java,
5921         javax/swing/LookAndFeel.java,
5922         javax/swing/plaf/basic/BasicTextUI.java:
5923         Reindented.
5924
5925 2004-06-10  Michael Koch  <konqueror@gmx.de>
5926
5927         * javax/swing/text/Style.java: Added javadocs.
5928
5929 2004-06-10  Michael Koch  <konqueror@gmx.de>
5930
5931         * javax/swing/JComponent.java
5932         (fireVetoableChange): Removed redundant cast.
5933         * javax/swing/JLabel.java
5934         (getDisabledIcon): Save icon for next call.
5935
5936 2004-06-10  Michael Koch  <konqueror@gmx.de>
5937
5938         * javax/swing/KeyStroke.java
5939         (getKeyStroke(char,boolean)): Marked deprecated.
5940
5941 2004-06-10  Michael Koch  <konqueror@gmx.de>
5942
5943         * javax/swing/DefaultCellEditor.java,
5944         javax/swing/GrayFilter.java,
5945         javax/swing/event/DocumentEvent.java,
5946         javax/swing/text/JTextComponent.java,
5947         javax/swing/text/MutableAttributeSet.java:
5948         Reindented.
5949
5950 2004-06-10  Michael Koch  <konqueror@gmx.de>
5951
5952         * javax/swing/plaf/BorderUIResource.java:
5953         Added serialVersionUID all over.
5954
5955 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5956
5957         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5958
5959 2004-06-10  Michael Koch  <konqueror@gmx.de>
5960
5961         * javax/swing/table/DefaultTableCellRenderer.java
5962         (noFocusBorder): Initialize directly.
5963
5964 2004-06-10  Michael Koch  <konqueror@gmx.de>
5965
5966         * javax/swing/plaf/basic/BasicArrowButton.java
5967         (setDirection): Use method argument.
5968
5969 2004-06-10  Michael Koch  <konqueror@gmx.de>
5970
5971         * javax/swing/plaf/BorderUIResource.java,
5972         javax/swing/plaf/ComponentUI.java,
5973         javax/swing/undo/CompoundEdit.java,
5974         javax/swing/undo/StateEdit.java:
5975         Fixed javadocs all over.
5976
5977 2004-06-10  Michael Koch  <konqueror@gmx.de>
5978
5979         * javax/swing/DefaultButtonModel.java
5980         (ARMED): Made public final, fixed value.
5981         (ENABLED): Likewise.
5982         (PRESSED): Likewise.
5983         (ROLLOVER): Likewise.
5984         (SELECTED): Likewise.
5985         (stateMask): Initialize directly.
5986         (listenerList): Likewise.
5987         (mnemonic): Likewise.
5988         (fireStateChanged): Removed argument, use changeEvent as event.
5989         All places where this method is called are fixed too.
5990         (getActionCommant): Fixed javadoc.
5991         (setGroup): Fixed javadoc.
5992         (getGroup): New method.
5993
5994 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5995
5996         * javax/swing/AbstractButton.java
5997         (AbstractButton): Use init() to initialize the button.
5998         (init): New Method. Initializes AbstractButton.
5999         * javax/swing/JMenuItem.java: Documented.
6000         (JMenuItem): Reimplemented.
6001         (init): Implemented.
6002         (setEnabled): Changed to call super.setEnabled()
6003         (processMouseEvent): Reimplemented.
6004         (fireMenuKeyPressed): Implemented.
6005         (fireMenuKeyReleased): Implemented.
6006         (fireMenuKeyTyped): Implemented.
6007         (menuSelectionChanged): disarm the model if the menu item was
6008         deselected.
6009         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6010         (getPath): Change to use ArrayList instead of Vector.
6011         (getPreferredSize): Renamed variable.
6012         (paintMenuItem): Paint margin area of menu item.
6013         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6014         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6015         menu item's bounds before clearing the selection.       
6016
6017 2004-06-09  David Jee  <djee@redhat.com>
6018
6019         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6020         (GtkTextComponentPeer): Set caret position to 0.
6021         * java/awt/TextComponent.java
6022         (setText): Set caret position to 0.
6023         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6024         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6025         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6026         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6027         Likewise.
6028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6029         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6030         visible.
6031
6032 2004-06-09  Kim Ho  <kho@redhat.com>
6033
6034         * Makefile.am: New files
6035         * Makefile.in: Regenerated
6036         * java/awt/Container.java
6037         (getComponentAt): Removed.
6038         * javax/swing/AbstractAction.java
6039         (ENABLED_PROPERTY): New property.
6040         (putValue): Fire PropertyChangeEvents.
6041         (setEnabled): ditto.
6042         (firePropertyChange): Javadoc and implement
6043         convenience method.
6044         * javax/swing/AbstractButton.java
6045         (setAction): Don't create PropertyChangeListener
6046         if new Action is null.
6047         (setIcon): Don't set icon till after comparing
6048         it.
6049         (configurePropertiesFromAction): Check mnemonic
6050         key before calling intValue().
6051         (createActionPropertyChangeListener): Check
6052         properties rather than bulk change.
6053         * javax/swing/DefaultDesktopManager.java:
6054         Implement.
6055         * javax/swing/DesktopManager.java:
6056         Jalopy and javadoc.
6057         * javax/swing/JComponent.java
6058         (fireVetoableChange): Implement.
6059         (paintImmediately): Use root component.
6060         * javax/swing/JDesktopPane.java: Implement
6061         * javax/swing/JInternalFrame.java: Implement
6062         * javax/swing/JLabel.java
6063         (getDisabledIcon): Return grayscaled icon if
6064         no disabled icon specified.
6065         * javax/swing/JMenuBar.java
6066         (getComponentAtIndex): Use getComponent
6067         * javax/swing/JOptionPane.java
6068         (getDesktopPaneForComponent): Use SwingUtilities'
6069         getAncestorOfClass
6070         (getFrameForComponent): ditto.
6071         * javax/swing/JSplitPane.java
6072         (remove): Use getComponent.
6073         * javax/swing/SwingUtilities.java
6074         (convertPoint): Implement.
6075         * javax/swing/plaf/basic/BasicButtonUI.java
6076         (paintButtonNormal): Check opaqueness before
6077         filling background.
6078         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6079         Implement
6080         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6081         Implement.
6082         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6083         Implement.
6084         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6085         Implement.
6086         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6087         Change InternalFrame and Desktop colors.
6088
6089 2004-06-09  David Jee  <djee@redhat.com>
6090
6091         * java/awt/Container.java
6092         (remove): Do not set component to invisible.
6093
6094 2004-06-09  Michael Koch  <konqueror@gmx.de>
6095
6096         * javax/swing/tree/DefaultMutableTreeNode.java
6097         (getLeafCount): Renamed enum to e.
6098
6099 2004-06-09  Michael Koch  <konqueror@gmx.de>
6100
6101         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6102         (positionForMouseEvent): Removed redundant semicolon.
6103         (continueDrag): Use method arguments.
6104
6105 2004-06-09  Michael Koch  <konqueror@gmx.de>
6106
6107         * javax/swing/border/TitledBorder.java,
6108         javax/swing/filechooser/FileSystemView.java,
6109         javax/swing/plaf/basic/BasicButtonListener.java,
6110         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6111         javax/swing/plaf/basic/BasicLabelUI.java,
6112         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6113         javax/swing/plaf/basic/BasicScrollBarUI.java,
6114         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6115         javax/swing/plaf/basic/BasicSliderUI.java,
6116         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6117         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6118         javax/swing/table/JTableHeader.java,
6119         javax/swing/text/AbstractDocument.java,
6120         javax/swing/text/DefaultCaret.java,
6121         javax/swing/text/StyledEditorKit.java,
6122         javax/swing/tree/DefaultTreeCellEditor.java:
6123         Reworked import statements.
6124
6125 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6126
6127         * javax/swing/Box.java: Temporarily comment out code
6128         broken due to visibility bug.
6129
6130 2004-06-09  Michael Koch  <konqueror@gmx.de>
6131
6132         * javax/swing/ImageIcon.java
6133         (ImageIcon): Added missing constructor.
6134
6135 2004-06-08  Michael Koch  <konqueror@gmx.de>
6136
6137         * javax/swing/JToggleButton.java
6138         (JToggleButton): New constructor.
6139         (getAccessibleContext): Moved documentation into javadoc.
6140         (getUIClassID): Likewise.
6141
6142 2004-06-08  Michael Koch  <konqueror@gmx.de>
6143
6144         * javax/swing/AbstractButton.java
6145         (getDisabledIcon): Create disabled icon if none exists yet.
6146
6147 2004-06-08  Michael Koch  <konqueror@gmx.de>
6148
6149         * javax/swing/plaf/basic/BasicLookAndFeel.java
6150         (initClassDefaults): Added FormattedTextFieldUI.
6151         (loadResourceBundle): Renamed enum to e.
6152
6153 2004-06-08  Michael Koch  <konqueror@gmx.de>
6154
6155         * javax/swing/plaf/basic/BasicButtonUI.java
6156         (paintIcon): Simplified.
6157         (paintText): Paint disabled button correctly.
6158
6159 2004-06-08  Michael Koch  <konqueror@gmx.de>
6160
6161         * javax/swing/JComponent.java
6162         (createToolTip): Use official JToolTip API.
6163
6164 2004-06-08  Michael Koch  <konqueror@gmx.de>
6165
6166         * javax/swing/JToolTip.java
6167         (JToolTip): No arguments in API.
6168         (setTipText): New method.
6169
6170 2004-06-08  Michael Koch  <konqueror@gmx.de>
6171
6172         * javax/swing/SwingUtilities.java
6173         (isLeftMouseButton): New method.
6174         (isMiddleMouseButton): New method.
6175         (isRightMouseButton): New method.
6176
6177 2004-06-08  Michael Koch  <konqueror@gmx.de>
6178
6179         * javax/swing/AbstractButton.java,
6180         javax/swing/CellRendererPane.java,
6181         javax/swing/JCheckBoxMenuItem.java,
6182         javax/swing/JColorChooser.java,
6183         javax/swing/JComboBox.java,
6184         javax/swing/JComponent.java,
6185         javax/swing/JDesktopPane.java,
6186         javax/swing/JFileChooser.java,
6187         javax/swing/JMenu.java,
6188         javax/swing/JMenuItem.java,
6189         javax/swing/JOptionPane.java,
6190         javax/swing/JPasswordField.java,
6191         javax/swing/JPopupMenu.java,
6192         javax/swing/JProgressBar.java,
6193         javax/swing/JRadioButtonMenuItem.java,
6194         javax/swing/JScrollBar.java,
6195         javax/swing/JSeparator.java,
6196         javax/swing/JSlider.java,
6197         javax/swing/JSplitPane.java,
6198         javax/swing/JTabbedPane.java,
6199         javax/swing/JTextField.java,
6200         javax/swing/JToolBar.java,
6201         javax/swing/text/JTextComponent.java:
6202         Fixed all constructors of accessibility classes.
6203
6204 2004-06-08  Michael Koch  <konqueror@gmx.de>
6205
6206         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6207         over.
6208
6209 2004-06-08  Michael Koch  <konqueror@gmx.de>
6210
6211         * javax/swing/Box.java
6212         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6213         (AccessibleBoxFiller.serialVersionUID): New member variable.
6214         * javax/swing/DefaultButtonModel.java
6215         (stateMask): Made protected.
6216         (listenerList): Likewise.
6217         (changeEvent): Likewise.
6218         (group): Likewise.
6219         (mnemonic): Likewise.
6220         (actionCommand): Likewise.
6221         (getListeners): New method.
6222         (getActionListeners): New method.
6223         (getItemListeners): New method.
6224         (getChangeListeners): New method.
6225         (fireItemStateChanged): Simplified.
6226         (fireActionPerformed): Simplified.
6227         (fireStateChanged): Simplified.
6228         * javax/swing/JFrame.java
6229         (JFrame): Implements WindowContants.
6230         (HIDE_ON_CLOSE): Removed.
6231         (EXIT_ON_CLOSE): Removed.
6232         (DISPOSE_ON_CLOSE): Removed.
6233         (DO_NOTHING_ON_CLOSE): Removed.
6234         (processWindowEvent): Exit with code 0.
6235         (setDefaultCloseOperation): Do security check before setting value.
6236         * javax/swing/JOptionPane.java
6237         (message): Initialize only in constructor.
6238         * javax/swing/JToolTip.java: Removed unused imports.
6239         * javax/swing/JViewport.java
6240         (serialVersionUID): New member variable.
6241         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6242         (BLIT_SCROLL_MODE): Likewise.
6243         (BACKINGSTORE_SCROLL_MODE): Likewise.
6244         (scrollUnderway): Made protected.
6245         (isViewSizeSet): Likewise.
6246         * javax/swing/ListModel.java: Fixed javadoc.
6247         * javax/swing/Popup.java: Likewise.
6248         * javax/swing/RepaintManager.java
6249         (paintDirtyRegions): Don't use internal classes of
6250         java.util.AbstractMap.
6251         * javax/swing/ScrollPaneConstants.java: Reindented.
6252         * javax/swing/ScrollPaneLayout.java
6253         (viewport): Made protected.
6254         (verticalScrollBar): Made protected, renamed to vsb.
6255         (horizontalScrollBar): Made protected, renamed to hsb.
6256         (rowHeader): Made protected, renamed to rowHead.
6257         (columnHeader): Made protected, renamed to colHead.
6258         (lowerLeft): Made protected.
6259         (lowerRight): Made protected.
6260         (upperLeft): Made protected.
6261         (upperRight): Made protected.
6262         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6263         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6264
6265 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6266
6267         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6268         LOADING if flags has SOMEBITS set.
6269
6270 2004-06-07  Michael Koch  <konqueror@gmx.de>
6271
6272         * javax/swing/AbstractButton.java: Reorganized imports.
6273         * javax/swing/ActionMap.java: Likewise.
6274         * javax/swing/DefaultButtonModel.java: Likewise.
6275         * javax/swing/DefaultListModel.java: Likewise.
6276         * javax/swing/ImageIcon.java: Likewise.
6277         (serialVersionUID): New member variable.
6278         * javax/swing/JComboBox.java: Reorganized imports.
6279         * javax/swing/JComponent.java: Likewise.
6280         (ui): Made protected.
6281         (listenerList): Made protected.
6282         (TOOL_TIP_TEXT_KEY): New constant.
6283         (scrollRectToVisible): Removed redundant null check.
6284         * javax/swing/JFrame.java: Reorganized imports.
6285         * javax/swing/JInternalFrame.java: Reorganized imports.
6286         * javax/swing/JProgressBar.java: Likewise.
6287         * javax/swing/JRootPane.java: Likewise.
6288         * javax/swing/JScrollBar.java: Likewise.
6289         * javax/swing/JSeparator.java: Likewise.
6290         * javax/swing/JSlider.java: Likewise.
6291         * javax/swing/JTabbedPane.java: Likewise.
6292         * javax/swing/JTextField.java: Likewise.
6293         * javax/swing/JToolBar.java: Likewise.
6294         * javax/swing/JTree.java: Likewise.
6295         * javax/swing/JViewport.java: Likewise.
6296         * javax/swing/JWindow.java: Likewise.
6297         * javax/swing/KeyStroke.java: Likewise.
6298         * javax/swing/LookAndFeel.java: Likewise.
6299         * javax/swing/MenuSelectionManager.java: Likewise.
6300         * javax/swing/SwingUtilities.java: Likewise.
6301         * javax/swing/Timer.java: Likewise.
6302         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6303         * javax/swing/JList.java
6304         (HORIZONTAL_WRAP): Made final, fixed value.
6305         (VERTICAL): Likewise.
6306         (VERTICAL_WRAP): Likewise.
6307
6308 2004-06-07  Michael Koch  <konqueror@gmx.de>
6309
6310         * javax/swing/AbstractButton.java
6311         (serialVersionUID): New member variable.
6312         (AccessibleAbstractButton.serialVersionUID): Likewise.
6313         (AbstractButton): Made public.
6314         * javax/swing/Box.java
6315         (AccessibleBox.serialVersionUID): New member variable.
6316         (Filler.serialVersionUID): Likewise.
6317         * javax/swing/DefaultListSelectionModel.java
6318         (serialVersionUID): Likewise.
6319         * javax/swing/JApplet.java
6320         (serialVersionUID): Likewise.
6321         * javax/swing/JCheckBox.java
6322         (serialVersionUID): Likewise.
6323         * javax/swing/JCheckBoxMenuItem.java
6324         (serialVersionUID): Likewise.
6325         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6326         * javax/swing/JColorChooser.java
6327         (serialVersionUID): Likewise.
6328         (AccessibleJColorChooser.serialVersionUID): Likewise.
6329         * javax/swing/JComponent.java
6330         (serialVersionUID): Made private.
6331         (AccessibleJComponent.serialVersionUID): New member variable.
6332         * javax/swing/JDesktopPane.java
6333         (serialVersionUID): Likewise.
6334         * javax/swing/JDialog.java
6335         (serialVersionUID): Likewise.
6336         * javax/swing/JFormattedTextField.java
6337         (serialVersionUID): Fixed value.
6338         * javax/swing/JFrame.java
6339         (serialVersionUID): New member variable.
6340         (getDefaultCloseOpertation): Made public.
6341         * javax/swing/JLayeredPane.java
6342         (serialVersionUID): Likewise.
6343         (LAYER_PROPERTY): Made final, fixed value.
6344         (JLayeredPane): Made public.
6345         * javax/swing/JMenu.java
6346         (AccessibleJMenu.serialVersionUID): New member variable.
6347         (WinListener.serialVersionUID): Likewise.
6348         * javax/swing/JMenuBar.java
6349         (serialVersionUID): Likewise.
6350         (getComponentAtIndex): Added @deprecated tag.
6351         * javax/swing/JMenuItem.java
6352         (serialVersionUID): New member variable.
6353         (AccessibleJMenuItem.serialVersionUID): Likewise.
6354         * javax/swing/JOptionPane.java
6355         (serialVersionUID): Likewise.
6356         (AccessibleJOptionPane.serialVersionUID): Likewise.
6357         * javax/swing/JPopupMenu.java
6358         (serialVersionUID): Likewise.
6359         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6360         (getPopupMenuListeners): New method.
6361         (getComponentAtIndex): Added @deprecated tag.
6362         * javax/swing/JProgressBar.java
6363         (serialVersionUID): New member variable.
6364         (AccessibleJProgressBar.serialVersionUID): Likewise.
6365         * javax/swing/JRadioButton.java
6366         (serialVersionUID): Likewise.
6367         * javax/swing/JRadioButtonMenuItem.java
6368         (serialVersionUID): Likewise.
6369         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6370         * javax/swing/JScrollBar.java
6371         (serialVersionUID): Likewise.
6372         (AccessibleJScrollBar.serialVersionUID): Likewise.
6373         * javax/swing/JSeparator.java
6374         (serialVersionUID): Likewise.
6375         (AccessibleJSeparator.serialVersionUID): Likewise.
6376         * javax/swing/JSlider.java: Fixed javadocs.
6377         (AccessibleJSlider.serialVersionUID): New member variable.
6378         * javax/swing/JSplitPane.java: Added copyright statement.
6379         (serialVersionUID): New member variable.
6380         (AccessibleJSplitPane.serialVersionUID): Likewise.
6381         * javax/swing/JTabbedPane.java
6382         (serialVersionUID): Likewise.
6383         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6384         (ModelListener.serialVersionUID): Likewise.
6385         (ModelListener.ModelListener): New constructor.
6386         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6387         (WRAP_TAB_LAYOUT): Likewise.
6388         * javax/swing/JTable.java
6389         (serialVersionUID): New member variable.
6390         * javax/swing/JToggleButton.java
6391         (serialVersionUID): Likewise.
6392         (ToggleButtonModel): Made static.
6393         (ToggleButtonModel.serialVersionUID): New member variable.
6394         * javax/swing/JToolTip.java
6395         (serialVersionUID): Likewise.
6396         * javax/swing/JTree.java
6397         (serialVersionUID): Likewise.
6398         * javax/swing/JWindow.java
6399         (serialVersionUID): Likewise.
6400         * javax/swing/Timer.java
6401         (serialVersionUID): Likewise.
6402
6403 2004-06-06  Michael Koch  <konqueror@gmx.de>
6404
6405         * javax/swing/SwingConstants.java
6406         (NEXT): New constant.
6407         (PREVIOUS): Likewise.
6408         * javax/swing/UIManager.java
6409         (LookAndFeel): Made public.
6410         (LookAndFeel.getClassName): Likewise.
6411         (LookAndFeel.getName): Likewise.
6412
6413 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6414
6415         * javax/swing/JCheckBoxMenuItem.java:
6416         Removed CVS tags.
6417         * javax/swing/JMenu.java: Likewise.
6418         * javax/swing/JMenuBar.java: Likewise.
6419         * javax/swing/JMenuItem.java: Likewise.
6420         * javax/swing/JPopupMenu.java: Likewise.
6421         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6422         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6423         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6424         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6425         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6426         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6427         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6428
6429 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6430         
6431         * javax/swing/plaf/basic/BasicMenuUI.java:
6432         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6433         Call getPath() from super class instead.
6434
6435 2004-05-31  David Jee  <djee@redhat.com>
6436
6437         * java/awt/Container.java
6438         (remove): Set component visibility to false after removing it.
6439
6440 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6441
6442         * java/awt/Component.java (getForeground): Return SystemColor if
6443         parent is null.
6444         (getBackground): Likewise.
6445
6446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6447         (item_highlighted): New function.
6448         (connectSignals): Set item_highlighted as list's select
6449         function.
6450
6451         * java/applet/Applet.java: Revert changes from 2004-04-29,
6452         2004-03-15 and 2004-03-14.
6453
6454         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6455         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6456         factor.
6457
6458         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6459         "Dialog" as the default font.
6460         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6461         Likewise.
6462         * java/awt/Component.java (getFont): Return "Dialog" font by
6463         default.
6464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6465         Multiply size argument to pango_font_description_set_size by the
6466         DPI conversion factor rather than by PANGO_SCALE.
6467         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6468         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6470         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6471         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6472         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6473         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6474         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6475         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6477         Divide baseline y coordinate by DPI conversion factor rather
6478         than by PANGO_SCALE.
6479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6480         (area_prepared): Fix typo.
6481         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6482         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6484         (dpi_conversion_factor): New global variable.
6485         (init_dpi_conversion_factor): New function to calculate and
6486         track DPI conversion factor.
6487         (dpi_changed_cb): New callback.
6488         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6489
6490 2004-05-27  David Jee  <djee@redhat.com>
6491
6492         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6493         (getGraphics): Return a new GdkGraphics instance.
6494         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6495         (getGraphics): Call super.getGraphics().
6496
6497 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6498
6499         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6500         (setNativeBounds): Clamp width and height values to >= 0.
6501
6502         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6503         (find_fg_color_widget): Handle GtkOptionMenu specially.
6504
6505         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6506         (pre_event_handler): Only post configure events to visible
6507         top-level windows.
6508
6509 2004-05-26  David Jee  <djee@redhat.com>
6510
6511         * java/awt/BorderLayout.java
6512         (layoutContainer): Fix size calculations.
6513
6514 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6515
6516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6517         (window_wm_protocols_filter): Remove function.
6518         (create): Remove filter that removes WM_TAKE_FOCUS client
6519         messages.
6520
6521 2004-06-17  Anthony Green  <green@redhat.com>
6522
6523         * java/util/zip/ZipFile.java (getInputStream): Return null if
6524         entry not found.
6525
6526         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6527         directory contents to the class path.
6528
6529 2004-06-15  Andrew Haley  <aph@redhat.com>
6530
6531         * java/lang/natSystem.cc (getenv0): Don't assume environment
6532         variable is Latin 1 coded.
6533
6534 2004-06-14  Andreas Jaeger  <aj@suse.de>
6535
6536         * configure.in: Support --enable-version-specific-runtime-libs.
6537         * configure: Regenerated.
6538
6539 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6540
6541         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6542         to pass ClassLoader argument.
6543         * java/util/GregorianCalendar.java: Likewise.
6544         * java/util/Currency.java: Likewise.
6545         * java/text/BreakIterator.java: Likewise.
6546         * java/text/Collator.java: Likewise.
6547         * java/text/DateFormat.java: Likewise.
6548         * java/text/DateFormatSymbols.java: Likewise.
6549         * java/text/DecimalFormatSymbols.java: Likewise.
6550         * java/text/NumberFormat.java: Likewise.
6551         * java/awt/Window.java: Likewise.
6552
6553 2004-06-14  Andrew Haley  <aph@redhat.com>
6554
6555         * java/lang/System.java: (getenv0): New method.
6556         (getenv): Add security check.  Do the right thing.
6557         * java/lang/natSystem.cc (getenv0): New method.
6558
6559 2004-06-12  Mark Wielaard  <mark@klomp.org>
6560
6561         * javax/swing/RepaintManager.java
6562         (paintDirtyRegions): Use entrySet(), not values().
6563
6564 2004-06-10  Mark Wielaard  <mark@klomp.org>
6565
6566         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6567         NoSuchMethodError.
6568
6569 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6570
6571         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6572         when we already know the answer.
6573         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6574         (setStartRule,setEndRule): Don't take abs of day number.
6575         (getOffset): Clarify docs.  Add argument checks.
6576         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6577         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6578         endTimeMode.
6579
6580 2004-06-10  Tom Tromey  <tromey@redhat.com>
6581
6582         * interpret.cc (run): Handle wide fload.
6583
6584 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6585
6586         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6587
6588 2004-06-05  Michael Koch  <konqueror@gmx.de>
6589
6590         * javax/swing/SwingConstants.java
6591         (NEXT): New constant.
6592         (PREVIOUS): Likewise.
6593
6594 2004-06-05  Michael Koch  <konqueror@gmx.de>
6595
6596         * javax/swing/UIManager.java
6597         (LookAndFeel): Made public.
6598         (LookAndFeel.getName): Likewise.
6599         (LookAndFeel.getClassName): Likewise.
6600
6601 2004-06-03  Michael Koch  <konqueror@gmx.de>
6602
6603         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6604         (requestFocus): Revert last changes.
6605         (gtkRequestFocus): Removed.
6606         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6607         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6608         Renamed to ...
6609         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6610         Reverted last patch.
6611         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6612         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6613         Reverted comment change.
6614
6615 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6616
6617         * javax/swing/JCheckBoxMenuItem.java:
6618         Removed CVS tags.
6619         * javax/swing/JMenu.java: Likewise.
6620         * javax/swing/JMenuBar.java: Likewise.
6621         * javax/swing/JMenuItem.java: Likewise.
6622         * javax/swing/JPopupMenu.java: Likewise.
6623         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6624         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6625         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6626         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6627         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6628         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6629         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6630
6631 2004-06-01  Tom Tromey  <tromey@redhat.com>
6632
6633         * java/io/ObjectStreamField.java: Cleaned up imports.
6634
6635 2004-06-01  Michael Koch  <konqueror@gmx.de>
6636
6637         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6638       
6639 2004-06-01  Mark Wielaard  <mark@klomp.org>
6640
6641         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6642
6643 2004-06-01  Michael Koch  <konqueror@gmx.de>
6644
6645         * java/security/Security.java
6646         (insertProviderAt): Use equals() instead of ==.
6647         (removeProvicer): Likewise.
6648         (getProvider): Likewise.
6649         * java/security/Signature.java
6650         (sign): Don't set state to UNINITIALIZED.
6651         (verify): Likewise.
6652
6653 2004-06-01  Mark Wielaard  <mark@klomp.org>
6654
6655         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6656         Implement by calling gtkRequestFocus.
6657         (gtkRequestFocus): New native method.
6658         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6659         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6660         Renamed to ...
6661         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6662         New function name.
6663         (filter_expose_event_handler):
6664         Mark static.
6665         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6666         (menu_pos): Mark static.
6667
6668 2004-06-01  Michael Koch  <konqueror@gmx.de>
6669
6670         * java/text/CollationElementIterator.java,
6671         java/text/CollationKey.java,
6672         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6673         * testsuite/libjava.mauve/xfails: Removed all
6674         java.text.CollationElementIterator tests.
6675
6676 2004-06-01  Michael Koch  <konqueror@gmx.de>
6677
6678         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6679         version.
6680         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6681         Java 1.5 keyword usage.
6682
6683 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6684
6685         * javax/swing/plaf/basic/BasicMenuUI.java:
6686         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6687         Call getPath() from super class instead.
6688
6689 2004-05-31  Michael Koch  <konqueror@gmx.de>
6690
6691         * java/io/SequenceInputStream.java:
6692         Rename enum to e because enum is a keyword in Java 1.5.
6693
6694 2004-05-31  Michael Koch  <konqueror@gmx.de>
6695
6696         * gnu/java/rmi/rmic/CompilerProcess.java:
6697         Fixed javadoc to by XHTML compliant.
6698
6699 2004-05-30  Mark Wielaard  <mark@klomp.org>
6700
6701         * java/awt/Toolkit.java (loadSystemColors): Implement.
6702
6703 2004-05-30  Michael Koch  <konqueror@gmx.de>
6704
6705         * java/lang/System.java: Reordered imports.
6706
6707 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6708
6709         * java/text/DecimalFormat.java
6710         (parse): Fixed parsing of decimal strings. Number of maximum
6711         digits to be read should now work.
6712         * java/text/SimpleDateFormat.java
6713         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6714         formatter. This fixes DateFormatTest.
6715
6716 2004-05-30  Michael Koch  <konqueror@gmx.de>
6717
6718         * java/nio/Buffer.java
6719         (limit): Fixed off by one error.
6720         * java/nio/CharBuffer.java
6721         (wrap): Fixed arguments, added javadocs.
6722
6723 2004-05-30  Michael Koch  <konqueror@gmx.de>
6724
6725         * gnu/java/beans/BeanInfoEmbryo.java,
6726         java/awt/im/InputContext.java,
6727         javax/swing/tree/DefaultMutableTreeNode.java:
6728         Rename enum to e because enum is a keyword in Java 1.5.
6729
6730 2004-05-30  Michael Koch  <konqueror@gmx.de>
6731
6732         * gnu/java/math/MPN.java,
6733         java/awt/geom/Arc2D.java:
6734         Fixed javadocs all over.
6735
6736 2004-05-30  Michael Koch  <konqueror@gmx.de>
6737
6738         * java/awt/DefaultKeyboardFocusManager.java
6739         (dispatchEvent): Call method to get key event dispatchers.
6740         (dispatchKeyEvent): Call method to get key event post processors.
6741         * javax/swing/JComponent.java
6742         (listenerList): Made protected.
6743         * javax/swing/JOptionPane.java
6744         (message): Don't initialize.
6745         (JOptionPane): Set message text.
6746         * javax/swing/JPopupMenu.java
6747         (show): Fixed typo in argument name.
6748         * javax/swing/RepaintManager.java
6749         (paintDirtyRegions): Use public API of java.util.Map.
6750         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6751         (positionForMouseEvent): Removed redundant ';'.
6752         (continueDrag): Use method arguments.
6753
6754 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6755
6756         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6757         results.
6758
6759 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6760
6761         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6762         _Jv_AllocBytes.
6763         * gnu/gcj/RawDataManaged.java: New file.
6764         * java/lang/Thread.java (data): Declare as RawDataManaged.
6765         * java/lang/natThread.cc (init_native): Cast natThread data to
6766         RawDataManaged, not jobject.
6767         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6768         * Makefile.in: Rebuilt.
6769
6770 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6771
6772         * java/util/SimpleTimeZone.java: Reverting my last change until I
6773         can fix it properly.
6774
6775 2004-05-27  Michael Koch  <konqueror@gmx.de>
6776
6777         * javax/swing/JPopupMenu.java
6778         (isVisible): Do not use visible directly.
6779         (setVisible): Likewise.
6780         * javax/swing/JWindow.java
6781         (JWindow): call accessible constructor.
6782         * javax/swing/RepaintManager.java
6783         (paintDirtyRegions): Use public methods to obtain iterator.
6784
6785 2004-05-25  David Jee  <djee@redhat.com>
6786
6787         * java/awt/Container.java
6788         (remove): Set component's parent to null only after we removed the
6789         component from its parent's layout manager.
6790
6791 2004-05-25  David Jee  <djee@redhat.com>
6792
6793         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6794         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6795         is valid.
6796         * gnu/java/awt/peer/gtk/GtkListPeer.java
6797         (getSize): Change native method declaration.
6798         (minimumSize): Pass visible row count into getSize().
6799         (preferredSize): Likewise.
6800         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6801         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6802         natural size. Use visible row count to determine the final height
6803         value to return.
6804
6805 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6806
6807         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6808         (setClip): Minor correction to order of operations.
6809
6810         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6811         * javax/swing/ScrollPaneLayout.java: Likewise.
6812         * javax/swing/JViewPort.java: Likewise.
6813         * javax/swing/ViewportLayout.java: Likewise.
6814
6815         * javax/swing/JComponent.java: Rewrite.
6816         * javax/swing/RepaintManager.java: Likewise.
6817
6818         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6819         * javax/swing/JList.java 
6820         (setSelectedIndices):
6821         (getSelectedIndices):
6822         (getSelectedValues): New functions.
6823         (getPreferredScrollableViewportSize): Return preferred size.
6824         (getScrollableUnitIncrement):
6825         (getScrollableBlockIncrement): Initial implementations.
6826         * javax/swing/JRootPane.java: Clean up slightly.
6827         (getUI):
6828         (setUI):
6829         (updateUI):
6830         (getUIClassID):
6831         (isValidateRoot): Add overrides from JComponent.
6832         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6833         * javax/swing/UIManager.java (getDimension): Return the dimension.
6834
6835         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6836         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6837         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6838         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6839         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6840         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6841         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6842         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6843         Likewise, and set background.
6844         * javax/swing/plaf/basic/BasicListUI.java: 
6845         Likewise, and improve a bit.
6846         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6847         Likewise, and adjust calculations.
6848         * javax/swing/plaf/basic/BasicViewportUI.java:
6849         Likewise, and improve a bit.
6850         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6851         (Button.margin): Shrink.
6852
6853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6854         Hack to set horizontal always, workaround pango.
6855
6856         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6858         Synchronize more often, check cairo status after ops,
6859         handle changes to cairo pattern API, check for disposal.
6860
6861 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6862
6863         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6864         (BasicMenuItemUI): Create propertyChangeListener.
6865         (getPath):Implemented.
6866         (installListeners): Add propertyChangeListener to menuItem.
6867         (uninstallListeners): Remove propertyChangeListener from menuItem.
6868         (update): Implemented.
6869         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6870         (mouseEntered): Take insets of popup menu into account when
6871         calculating position of popup menu.     
6872         
6873 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6874
6875         * Makefile.am: Added new file. 
6876         * Makefile.in: Regenerate.
6877         * javax/swing/JMenuBar.java:
6878         Started implementation.
6879         * javax/swing/JPopupMenu.java:
6880         (setVisible): Fixed location of lightweight/mediumweight
6881         popup menu.
6882         (show): Fixed location of PopupMenu.
6883         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6884         New file. UI Delegate for JMenuBar.
6885         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6886         (mouseEntered): Corrected position of the submenu.
6887
6888 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6889
6890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6891         to _gtk_accel_group_attach.
6892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6893         Likewise.
6894
6895         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6896         package access.  Don't override setFont.
6897         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6898         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6899         gtkWidgetRequestFocus package access.
6900         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6901         setFont.
6902         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6903         Give gtkWidgetRequestFocus package access.
6904         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6905         gtkWidgetRequestFocus package access.  Don't override setFont.
6906         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6907         setFont.
6908         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6909         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6910         region.
6911         (gtkSetFont): Likewise.
6912         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6913         Implement.
6914         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6915         (gtkSetFont): Whitespace fix.
6916
6917         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6918         (gtkWidgetSetUsize): Remove method.
6919
6920 2004-05-18  David Jee  <djee@redhat.com>
6921
6922         * java/awt/image/MemoryImageSource.java
6923         (newPixels(int,int,int,int,boolean)): Set only the specified
6924         rectangle of pixels.
6925         (newPixels(byte[],ColorModel,int,int)): Implement.
6926         (newPixels(int[],ColorModel,int,int)): Implement.
6927
6928 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6929
6930         * Makefile.am: Added new file.
6931         * Makefile.in: Regenerate.
6932         * javax/swing/JMenu.java: Started 
6933         implementation.
6934         * javax/swing/JPopupMenu.java:
6935         (insert): If specified index is -1, then
6936         add component at the end.
6937         (isPopupTrigger): Reimplemented.
6938         (JPopupMenu.LightWeightPopup): setBounds
6939         of the lightWeightPopup before adding it 
6940         to the layeredPane.
6941         (javax/swing/plaf/basic/BasicIconFactory.java):
6942         (getMenuArrowIcon): Implemented.
6943         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6944         (getPreferredSize): Add size of the arrow icon 
6945         if this menu item is instance of JMenu.
6946         (paintMenuItem): Paint arrow icon if this 
6947         menu item is a submenu.
6948         * javax/swing/plaf/basic/BasicMenuUI.java:
6949         New File. UI Delegate for JMenu.
6950
6951 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6952
6953         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6954         Post KEY_TYPED events.
6955         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6956         (generates_key_typed_event): Remove function.
6957
6958 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6959
6960         * javax/swing/JRootPane.java
6961         (JRootPane.RootLayout): Reimplemented to 
6962         set bounds of contentPane and menuBar.
6963         (setJMenuBar): Add menu bar to the layered pane.
6964         (createLayeredPane): Set layout of layeredPane
6965         to null.
6966         * javax/swing/JLayeredPane.java:
6967         (addImpl): Calculate index of the component in the
6968         layeredPane according to the specified position within 
6969         the layer.      
6970
6971 2004-05-17  David Jee  <djee@redhat.com>
6972
6973         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6974         (setPixels): Change color model to the default model after
6975         converting pixels.
6976         * java/awt/image/MemoryImageSource.java
6977         (newPixels): Set only the specified rectangle of pixels.
6978
6979 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6980
6981         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6982         -l-java-beans -l-javax-accessibility -l-javax-swing.
6983
6984         * java/awt/AWTEvent.java (toString): Print source's name rather
6985         than the source itself.
6986
6987 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6988
6989         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6990         native.
6991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6992         (gdk_color_to_java_color): New function.
6993         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6994
6995 2004-05-12  David Jee  <djee@redhat.com>
6996
6997         * java/awt/image/RGBImageFilter.java:
6998         Initialize origmodel as null.
6999         (makeColor): Fix pixel component order.
7000         (filterRGBPixels): Fix pixel iteration.
7001         (setPixels): Add extra checks for index color model. Convert pixels
7002         to default color model if necessary.
7003         (convertColorModelToDefault): New override method for byte pixels.
7004         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7005         (makeColorbyDefaultCM): New override method for byte pixels.
7006         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7007         (makeColor): Fix pixel component order.
7008
7009 2004-05-11  Kim Ho  <kho@redhat.com>
7010
7011         * javax/swing/Box.java:
7012         Comment out more parts of Box.Filler.
7013
7014 2004-05-11  Kim Ho  <kho@redhat.com>
7015
7016         * javax/swing/Box.java:
7017         Remove reference to AccessibleAWTComponent so
7018         it compiles again.
7019
7020 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7021
7022         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7023         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7024         implementation of list peer to use GtkTreeView instead of
7025         deprecated GtkCList.
7026
7027 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7028
7029         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7030         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7031         (handleEvent): Remove keyChar argument to
7032         gtkWidgetDispatchKeyEvent calls.
7033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7034         compiler warnings.
7035         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7036         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7037         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7038         Likewise.
7039
7040 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7041
7042         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7043         (gtkWidgetRequestFocus): Mark protected.
7044         (GtkComponentPeer): Only set the peer's bounds if its component
7045         is valid.
7046         * java/awt/Component.java (static): Set the default keyboard
7047         focus manager.
7048         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7049         requestFocusInWindow(temporary)): Don't request focus if the
7050         component is not showing.  Get tree lock before traversing
7051         component hierarchy.
7052         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7053         Only set the global focus owner if it is not a Window.
7054         (processKeyEvent): Consume keystrokes associated with the focus
7055         traversal keystroke.
7056         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7057         downFocusCycle): Call requestFocusInWindow instead of
7058         requestFocus.
7059         * java/awt/EventDispatchThread.java (run): Move setting of
7060         default keyboard focus manager to Component.java.
7061         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7062         (awt_keycode_to_keysym): New function.
7063         (gtkWidgetDispatchKeyEvent): Finish implementation.
7064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7065         (pre_event_handler): Add FIXME comment.
7066
7067         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7068         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7069         (gtkWidgetRequestFocus): New method.
7070         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7071         disable Tab and Shift-Tab keystrokes.
7072         (addNotify, appendText, insertText, replaceText): Simplify peer
7073         retrieval code.
7074         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7075         (connectSignals): Remove connections to "commit" signals.
7076         Remove C++-style comments.
7077
7078         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7079         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7080         (handleEvent): Activate GTK button when the space bar key is
7081         pressed.
7082         (gtkActivate): New method.
7083
7084 2004-05-06  David Jee  <djee@redhat.com>
7085
7086         * java/awt/image/CropImageFilter.java
7087         (setPixels): Implement for byte array pixels.
7088         * java/awt/image/ReplicateScaleFilter.java
7089         (setPixels): Implement for byte array pixels.
7090         (replicatePixels): Overload for byte array pixels.
7091
7092 2004-05-06  Kim Ho  <kho@redhat.com>
7093
7094         * javax/swing/Box.java:
7095         (getAccessibleContext): Return an instance of the 
7096         correct class.
7097
7098 2004-05-05  David Jee  <djee@redhat.com>
7099
7100         * gnu/java/awt/peer/gtk/GdkGraphics.java
7101         (drawImage): When component is null, use SystemColor.window as
7102         the default bgcolor.
7103         * gnu/java/awt/peer/gtk/GtkImage.java
7104         (setPixels): We can avoid iterating through the pixel rows only
7105         when height is 1.
7106         * java/awt/Image.java
7107         (getScaledInstance): Partially implement.
7108         * java/awt/image/CropImageFilter.java
7109         (setProperties): Fix "filter" property.
7110         (setPixels): Implement.
7111         * java/awt/image/ReplicateScaleFilter.java
7112         (setDimensions): Use scaled dimensions.
7113         (setPixels): Implement.
7114         (replicatePixels): New method.
7115
7116 2004-05-05  David Jee  <djee@redhat.com>
7117
7118         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7119         (convertPixels): If either pixels or model is null, return null.
7120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7121         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7122         is null, do nothing and return.
7123
7124 2004-05-03  Kim Ho  <kho@redhat.com>
7125
7126         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7127         (getGraphics): Like GtkFramePeer, the Graphics
7128         object needs to be translate to account for
7129         window decorations.
7130         (postMouseEvent): New method. Account for
7131         translation.
7132         (postExposeEvent): ditto.
7133         * javax/swing/Box.java: Stubbed.
7134         * javax/swing/JDialog.java: Ran through jalopy
7135         to fix indentation.
7136         (JDialog): Call SwingUtilities' getOwnerFrame
7137         for null owners.
7138         (setLayout): Check isRootPaneCheckingEnabled
7139         * javax/swing/JOptionPane.java: Re-implemented.
7140         * javax/swing/SwingUtilities.java:
7141         (getOwnerFrame): Static method to grab a default
7142         owner frame for Dialogs that don't specify owners.
7143         * javax/swing/event/SwingPropertyChangeSupport.java:
7144         (firePropertyChange): Fix early exit condition.
7145         * javax/swing/plaf/basic/BasicLabelUI.java:
7146         (paint): Avoid painting text if it is null 
7147         or empty.
7148         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7149         Implement.
7150
7151 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7152
7153         * Makefile.am: Added new file.
7154         * Makefile.in: Regenerate.
7155         * javax/swing/JPopupMenu.java:
7156         Started implementation.
7157         * javax/swing/JWindow.java
7158         (JWindow): call super() if parent for window
7159         is not specified.
7160         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7161         New File. UI Delegate for JPopupMenu.
7162
7163 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7164
7165         * javax/swing/JApplet.java: Indicated that JApplet
7166         implements RootPaneContainer and made method of this
7167         interface public. 
7168         * javax/swing/JFrame.java: Ditto.
7169         * javax/swing/JWindow.java: Ditto.
7170         
7171 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7172
7173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7174         (nativeSetBounds): Call gdk_window_move in addition to
7175         gtk_window_move.
7176
7177         * java/applet/Applet.java (preferredSize): Call parent's
7178         preferredSize if the applet stub is null.
7179         (minimumSize): Likewise for parent's minimumSize.
7180
7181 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7182
7183         * javax/swing/JMenuItem.java
7184         (createActionPropertyChangeListener): Implemented.
7185         (processMouseEvent): Ditto.
7186         (fireMenuDragMouseEntered): Ditto.
7187         (fireMenuDragMouseExited): Ditto.
7188         (fireMenuDragMouseDragged): Ditto.
7189         (fireMenuDragMouseReleased): Ditto.
7190         (menuSelectionChanged): Ditto.
7191         (getSubElements): Ditto.
7192         (getComponent): Ditto.
7193         (addMenuDragMouseListener): Ditto.
7194         (removeMenuDragMouseListener):Ditto.
7195         (addMenuKeyListener): Ditto.
7196         (removeMenuKeyListener): Ditto.
7197         * javax/swing/plaf/basic/BasicMenuItemUI.java
7198         (doClick): Imlemented.
7199         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7200         Don't handle mouse events here. Pass them to 
7201         MenuSelectionManager.
7202         
7203 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7204         Used correct version of jalopy configuration
7205         file to fix style in the files below.
7206
7207 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7208
7209         * javax/swing/JCheckBoxMenuItem.java: 
7210         Fixed style and removed unnecessary comments.
7211         * javax/swing/JMenuItem.java: Ditto.
7212         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7213         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7214         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7215         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7216
7217 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7218
7219         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7220         C-style.
7221
7222         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7223
7224         * java/awt/ContainerOrderFocusTraversalPolicy.java
7225         (getComponentAfter): Start from current component and work up
7226         the component hierarchy until an acceptable component is found.
7227         Synchronize on tree lock.
7228         (getComponentBefore): Likewise.
7229
7230 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7231
7232         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7233         focus-related debugging messages.
7234         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7235         * java/awt/EventDispatchThread.java: Likewise.
7236         * java/awt/KeyboardFocusManager.java: Likewise.
7237         * java/awt/Window.java: Likewise.
7238         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7240
7241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7242         new C++-style comments to C-style comments.
7243         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7244
7245         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7246         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7247         (handleEvent): Dispatch key press and key release events to
7248         backing widget.
7249         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7250         (gtkWidgetRequestFocus): New method.
7251         (gtkWidgetDispatchKeyEvent): Likewise.
7252         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7253         requestFocusInWindow, requestFocusInWindow(boolean),
7254         getFocusCycleRootAncestor, nextFocus, transferFocus,
7255         transferFocusBackward, transferFocusUpCycle, hasFocus,
7256         isFocusOwner): Implement and document focus-handling methods.
7257         (setFocusTraversalKeys): Inherit focus traversal keys when
7258         keystrokes argument is null.  Fix focus-handling documentation
7259         throughout class.
7260         * java/awt/Container.java (setFocusTraversalKeys,
7261         getFocusTraversalKeys, areFocusTraversalKeysSet,
7262         isFocusCycleRoot, setFocusTraversalPolicy,
7263         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7264         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7265         Implement and document focus-handling methods.
7266         (transferFocusBackward): Remove method.
7267         (readObject, writeObject): Implement and document serialization
7268         methods.
7269         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7270         and document.
7271         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7272         document.
7273         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7274         partially document.
7275         * java/awt/EventDispatchThread.java (run): Set default keyboard
7276         focus manager.  Attempt to dispatch each event to the keyboard
7277         focus manager before normal dispatch.
7278         * java/awt/KeyboardFocusManager.java: Implement and partially
7279         document.
7280         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7281         (show): Focus initial component when window is shown for the
7282         first time.
7283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7284         (pre_event_handler): Replace complex key press and key release
7285         logic with simple callbacks into GtkComponentPeer.
7286         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7287
7288 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7289
7290         * javax/swing/MenuSelectionManager.java
7291         (componentForPoint): Added new method. 
7292         (defaultManager): New Method. Implemented.
7293         (getSelectedPath): Ditto.
7294         (isComponentPartOfCurrentMenu): Ditto.
7295         (processKeyEvent): Added new method.
7296         (processMouseEvent): New Method. Implemented.
7297         (setSelectedPath): Ditto.
7298         (getPath): Ditto.
7299
7300 2004-04-19  Kim Ho  <kho@redhat.com>
7301
7302         * java/awt/Container.java: 
7303         (remove): Set the component's parent to null.
7304         (getComponentAt): Implement.
7305         * javax/swing/JComponent.java:
7306         (JComponent): Initialize defaultLocale
7307         (getDefaultLocale): Implement.
7308         (setDefaultLocale): ditto.
7309         * javax/swing/JSlider.java:
7310         (JSlider): Fix calculation of value.
7311         * javax/swing/JSplitPane.java: Implement.
7312         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7313         Change SplitPane's default divider size.
7314         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7315         (paint): Remove unused code.
7316         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7317         Added comments and ran through jalopy.
7318         (setBasicSplitPaneUI): Get reference to hidden divider
7319         and set up one touch buttons if necessary.
7320         (setBorder): Fire propertyChangeEvent only if 
7321         borders are different.
7322         (getPreferredSize): Defer to layout manager.
7323         (propertyChange): Implement.
7324         (oneTouchExpandableChanged): ditto.
7325         (createLeftOneTouchButton): Use BasicArrowButton.
7326         (createRightOneTouchButton): ditto.
7327         (moveDividerTo): New method. Moves the divider
7328         to a set location based on the last divider location.
7329         (BasicSplitPaneDivider::MouseHandler): Implement.
7330         (BasicSplitPaneDivider::OneTouchButton): Removed.
7331         (BasicSplitPaneDivider::DragController): Implement.
7332         (BasicSplitPaneDivider::VerticalDragController):
7333         ditto.
7334         (BasicSplitPaneDivider::DividerLayout): ditto.
7335         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7336         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7337         (calculateLayoutInfo): Don't show component if it's
7338         null.
7339         (paintTab): Fix title paint logic.
7340
7341 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7342
7343         PR libgcj/8321
7344         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7345         (setStartRule,setEndRule): Don't take abs of day number.
7346         (getOffset): Clarify docs.  Add argument checks.
7347         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7348         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7349         endTimeMode.
7350         * testsuite/libjava.mauve/xfails
7351         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7352
7353 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7354
7355         Layout interfaces during preparation, not initialization. 
7356         * java/lang/natClass.cc (initializeClass): Move 
7357         _Jv_LayoutInterfaceMethods call...
7358         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7359
7360 2004-05-19  Anthony Green  <green@localhost.localdomain>
7361
7362         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7363         gnu.javax.rmi code.
7364         * Makefile.in: Rebuilt.
7365         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7366         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7367         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7368         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7369         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7370         gnu/javax/rmi/CORBA/DelegateFactory.java,
7371         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7372         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7373         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7374         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7375         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7376         gnu/javax/rmi/PortableServer.java: Remove files.
7377
7378 2004-05-19  Anthony Green  <green@redhat.com>
7379
7380         * Makefile.am: Define JAVA_EXT_DIRS.
7381         * Makefile.in: Rebuilt.
7382         * java/lang/natRuntime.cc (insertSystemProperties): Set
7383         java.ext.dirs property.
7384
7385 2004-05-16  Mark Wielaard  <mark@klomp.org>
7386
7387         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7388
7389 2004-05-15  Mark Wielaard  <mark@klomp.org>
7390
7391         * doc/cni.sgml: Removed, merged into gcj.texi.
7392
7393 2004-05-15  Mark Wielaard  <mark@klomp.org>
7394
7395         * Makefile.am (ordinary_java_source_files): Add new javax.print
7396         classes.
7397         * Makefile.in: Regenerated.
7398
7399 2004-05-15  Michael Koch  <konqueror@gmx.de>
7400
7401         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7402         javax/print/attribute/standard/DateTimeAtCreation.java,
7403         javax/print/attribute/standard/DateTimeAtProcessing.java,
7404         javax/print/attribute/standard/DocumentName.java,
7405         javax/print/attribute/standard/JobHoldUntil.java,
7406         javax/print/attribute/standard/JobImpressionsCompleted.java,
7407         javax/print/attribute/standard/JobMessageFromOperator.java,
7408         javax/print/attribute/standard/JobName.java,
7409         javax/print/attribute/standard/JobOriginatingUserName.java,
7410         javax/print/attribute/standard/JobPriority.java,
7411         javax/print/attribute/standard/JobPrioritySupported.java,
7412         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7413         javax/print/attribute/standard/OutputDeviceAssigned.java,
7414         javax/print/attribute/standard/PrinterInfo.java,
7415         javax/print/attribute/standard/PrinterLocation.java,
7416         javax/print/attribute/standard/PrinterMakeAndModel.java,
7417         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7418         javax/print/attribute/standard/PrinterName.java,
7419         javax/print/attribute/standard/QueuedJobCount.java,
7420         javax/print/attribute/standard/RequestingUserName.java:
7421         Fixed javadocs all over.
7422
7423 2004-05-15  Michael Koch  <konqueror@gmx.de>
7424
7425         * javax/print/DocFlavor.java,
7426         javax/print/attribute/standard/ColorSupported.java,
7427         javax/print/attribute/standard/Compression.java,
7428         javax/print/attribute/standard/CopiesSupported.java,
7429         javax/print/attribute/standard/Fidelity.java,
7430         javax/print/attribute/standard/Finishings.java,
7431         javax/print/attribute/standard/JobImpressionsSupported.java,
7432         javax/print/attribute/standard/JobKOctetsSupported.java,
7433         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7434         javax/print/attribute/standard/JobSheets.java,
7435         javax/print/attribute/standard/JobState.java,
7436         javax/print/attribute/standard/JobStateReason.java,
7437         javax/print/attribute/standard/JobStateReasons.java,
7438         javax/print/attribute/standard/Media.java,
7439         javax/print/attribute/standard/MediaSizeName.java,
7440         javax/print/attribute/standard/MultipleDocumentHandling.java,
7441         javax/print/attribute/standard/NumberUpSupported.java,
7442         javax/print/attribute/standard/OrientationRequested.java,
7443         javax/print/attribute/standard/PDLOverrideSupported.java,
7444         javax/print/attribute/standard/PageRanges.java,
7445         javax/print/attribute/standard/PresentationDirection.java,
7446         javax/print/attribute/standard/PrintQuality.java,
7447         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7448         javax/print/attribute/standard/PrinterMoreInfo.java,
7449         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7450         javax/print/attribute/standard/PrinterResolution.java,
7451         javax/print/attribute/standard/PrinterState.java,
7452         javax/print/attribute/standard/PrinterStateReason.java,
7453         javax/print/attribute/standard/PrinterStateReasons.java,
7454         javax/print/attribute/standard/PrinterURI.java,
7455         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7456         javax/print/attribute/standard/Severity.java,
7457         javax/print/attribute/standard/SheetCollate.java,
7458         javax/print/attribute/standard/Sides.java:
7459         Added serialVersionUID and removed final keyword where it doenst
7460         belong.
7461
7462 2004-05-15  Michael Koch  <konqueror@gmx.de>
7463
7464         * javax/print/PrintServiceLookup.java: New file.
7465
7466 2004-05-15  Michael Koch  <konqueror@gmx.de>
7467
7468         * javax/print/DocFlavor.java:
7469         Implemented all flavor classes.
7470
7471 2004-05-15  Michael Koch  <konqueror@gmx.de>
7472
7473         * javax/print/attribute/standard/ColorSupported.java,
7474         javax/print/attribute/standard/Compression.java,
7475         javax/print/attribute/standard/CopiesSupported.java,
7476         javax/print/attribute/standard/Fidelity.java,
7477         javax/print/attribute/standard/Finishings.java,
7478         javax/print/attribute/standard/JobImpressionsSupported.java,
7479         javax/print/attribute/standard/JobKOctetsSupported.java,
7480         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7481         javax/print/attribute/standard/JobSheets.java,
7482         javax/print/attribute/standard/JobState.java,
7483         javax/print/attribute/standard/JobStateReason.java,
7484         javax/print/attribute/standard/JobStateReasons.java,
7485         javax/print/attribute/standard/Media.java,
7486         javax/print/attribute/standard/MediaSizeName.java,
7487         javax/print/attribute/standard/MultipleDocumentHandling.java,
7488         javax/print/attribute/standard/NumberUpSupported.java,
7489         javax/print/attribute/standard/OrientationRequested.java,
7490         javax/print/attribute/standard/PDLOverrideSupported.java,
7491         javax/print/attribute/standard/PageRanges.java,
7492         javax/print/attribute/standard/PresentationDirection.java,
7493         javax/print/attribute/standard/PrintQuality.java,
7494         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7495         javax/print/attribute/standard/PrinterMoreInfo.java,
7496         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7497         javax/print/attribute/standard/PrinterResolution.java,
7498         javax/print/attribute/standard/PrinterState.java,
7499         javax/print/attribute/standard/PrinterStateReason.java,
7500         javax/print/attribute/standard/PrinterStateReasons.java,
7501         javax/print/attribute/standard/PrinterURI.java,
7502         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7503         javax/print/attribute/standard/Severity.java,
7504         javax/print/attribute/standard/SheetCollate.java,
7505         javax/print/attribute/standard/Sides.java: New files.
7506
7507 2004-05-15  Michael Koch  <konqueror@gmx.de>
7508
7509         * javax/print/Doc.java
7510         (getPrintData): Throws IOException.
7511         (getReaderForText): Likewise.
7512         (getStreamForBytes): Likewise.
7513         * javax/print/DocFlavor.java:
7514         Fixed filename in copyright.
7515         (serialVersionUID): New field.
7516         * javax/print/ServiceUIFactory.java:
7517         Made all constants final.
7518         * javax/print/AttributeException.java
7519         javax/print/MultiDoc.java
7520         javax/print/MultiDocPrintJob.java
7521         javax/print/MultiDocPrintService.java
7522         javax/print/StreamPrintService.java
7523         javax/print/URIException.java: New files.
7524         * javax/print/Makefile.am
7525         (EXTRA_DIST): Added all new files.
7526
7527 2004-05-15  Michael Koch  <konqueror@gmx.de>
7528
7529         * javax/print/attribute/standard/Copies.java,
7530         javax/print/attribute/standard/DateTimeAtCompleted.java,
7531         javax/print/attribute/standard/DateTimeAtCreation.java,
7532         javax/print/attribute/standard/DateTimeAtProcessing.java,
7533         javax/print/attribute/standard/DocumentName.java,
7534         javax/print/attribute/standard/JobHoldUntil.java,
7535         javax/print/attribute/standard/JobImpressions.java,
7536         javax/print/attribute/standard/JobImpressionsCompleted.java,
7537         javax/print/attribute/standard/JobKOctets.java,
7538         javax/print/attribute/standard/JobKOctetsProcessed.java,
7539         javax/print/attribute/standard/JobMediaSheets.java,
7540         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7541         javax/print/attribute/standard/JobMessageFromOperator.java,
7542         javax/print/attribute/standard/JobName.java,
7543         javax/print/attribute/standard/JobOriginatingUserName.java,
7544         javax/print/attribute/standard/JobPriority.java,
7545         javax/print/attribute/standard/JobPrioritySupported.java,
7546         javax/print/attribute/standard/NumberOfDocuments.java,
7547         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7548         javax/print/attribute/standard/NumberUp.java,
7549         javax/print/attribute/standard/OutputDeviceAssigned.java,
7550         javax/print/attribute/standard/PagesPerMinute.java,
7551         javax/print/attribute/standard/PagesPerMinuteColor.java:
7552         Fixed @return tag all over.
7553
7554 2004-05-15  Michael Koch  <konqueror@gmx.de>
7555
7556         * javax/print/attribute/AttributeSetUtilities.java
7557         (verifyCategoryForValue): Fixed typo in javadoc.
7558         * javax/print/attribute/HashAttributeSet.java
7559         (containsKey): Fixed @return tag.
7560         (comtainsValue): Likewise.
7561         (equals): Likewise.
7562         * javax/print/attribute/IntegerSyntax.java
7563         (equals): Likewise.
7564         * javax/print/attribute/ResolutionSyntax.java
7565         (equals): Likewise.
7566         (getCrossFeedResolution): Removed unused code.
7567         (getFeedResolution): Likewise.
7568         * javax/print/attribute/SetOfIntegerSyntax.java
7569         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7570         (equals): Fixed @return tag.
7571         * javax/print/attribute/TextSyntax.java
7572         (TextSyntax): Take locale into account.
7573         (hashCode): Better implementation.
7574
7575 2004-05-15  Michael Koch  <konqueror@gmx.de>
7576
7577         * javax/print/CancelablePrintJob.java,
7578         javax/print/Doc.java,
7579         javax/print/DocFlavor.java,
7580         javax/print/DocPrintJob.java,
7581         javax/print/FlavorException.java,
7582         javax/print/PrintException.java,
7583         javax/print/PrintService.java,
7584         javax/print/ServiceUIFactory.java: New files.
7585
7586 2004-05-15  Mark Wielaard  <mark@klomp.org>
7587
7588         * gnu/regexp/CharIndexedReader.java: Removed.
7589         * gnu/regexp/REFilterReader.java: Likewise.
7590         * gnu/regexp/RETokenLookAhead.java: Likewise.
7591         * Makefile.am (ordinary_java_source_files): Remove above classes.
7592         * Makefile.in: Regenerated.
7593
7594 2004-05-14  Tom Tromey  <tromey@redhat.com>
7595
7596         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7597         not `XGraphicsConfiguration.XOffScreenImage'.
7598
7599 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7600
7601         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7602
7603 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7604
7605         * include/jni.h (_Jv_func): Removed.
7606         (struct JNINativeInterface): Use `void *' for reserved slots.
7607         (struct JNIInvokeInterface): Likewise.
7608
7609 2004-05-11  Michael Koch  <konqueror@gmx.de>
7610
7611         * gnu/java/net/natPlainSocketImplPosix.cc
7612         (read): Fixed typo in expression.
7613
7614 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7615
7616         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7617         ld_library_additions. Adjust all calls to libjava_invoke to match
7618         the new argument.
7619
7620         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7621         path to cxxflagslist.
7622         Pass path of libstdc++ to libjava_invoke.
7623
7624         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7625         libjava_invoke arguments.
7626
7627 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7628
7629         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7630         reality.
7631
7632 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7633
7634         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7635         main binary against the JNI shared library.
7636
7637 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7638
7639         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7640         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7641         (SimpleTimeZone): Tweak docs.  Add new variation.
7642         (setStartRule,setEndRule): Add new variations.  Use
7643         startTimeMode and endTimeMode.
7644
7645 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7646
7647         * java/util/Calendar.java (getActualMinimum,
7648         getActualMaximum):  Remove abstract.  Implement.
7649
7650 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7651
7652         Run the jni tests using the interpreter.
7653         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7654         options_cxx to shared lib compile command.
7655         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7656         they are used to link the shared lib, not the main binary.
7657         Use libjava_invoke to run gij.
7658
7659 2004-05-06  Michael Koch  <konqueror@gmx.de>
7660
7661         * java/util/logging/Level.java
7662         (parse): Use == instead of String.equals().
7663
7664 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7665
7666         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7667         verify_field_signature and verify_method_signature, not 
7668         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7669         (_Jv_ClassReader::handleField): Likewise.
7670         (_Jv_ClassReader::handleMethod): Likewise.
7671
7672 2004-05-06  Michael Koch  <konqueror@gmx.de>
7673
7674         * javax/swing/table/TableColumn.java:
7675         Reformated.
7676
7677 2004-05-06  Michael Koch  <konqueror@gmx.de>
7678
7679         * javax/imageio/spi/ImageReaderWriterSpi.java
7680         (ImageReaderWriterSpi): Made it public.
7681         * javax/imageio/stream/ImageInputStream.java:
7682         Clean up imports.
7683
7684 2004-05-06  Michael Koch  <konqueror@gmx.de>
7685
7686         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7687         Removed empty line.
7688
7689 2004-05-06  Michael Koch  <konqueror@gmx.de>
7690
7691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7692         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7693         New files.
7694         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7695         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7697         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7698         their own source file.
7699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7700         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7701         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7702         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7703         (create): Define variable on top of function.
7704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7705         (menu_pos): Prototyped.
7706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7707         (setTitle): Removed.
7708         * jni/gtk-peer/gthread-jni.c
7709         (gdk_threads_wake): Removed.
7710         * Makefile.am (gtk_c_source_files): Added new files
7711         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7712         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7713         * Makefile.in: Regenerated.
7714
7715 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7716
7717         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7718         call.
7719
7720 2004-05-05  Mark Wielaard  <mark@klomp.org>
7721
7722         * javax/swing/AbstractButton.java: Replace special HTML entities with
7723         ASCII equivalent.
7724         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7725         * javax/swing/DefaultButtonModel.java: Likewise.
7726         * javax/swing/DefaultListModel.java: Likewise.
7727         * javax/swing/JList.java: Likewise.
7728         * javax/swing/JSlider.java: Likewise.
7729         * javax/swing/ListModel.java: Likewise.
7730         * javax/swing/Popup.java: Likewise.
7731         * javax/swing/SwingUtilities.java: Likewise.
7732
7733 2004-05-05  Michael Koch  <konqueror@gmx.de>
7734
7735         * javax/swing/AbstractButton.java,
7736         javax/swing/ActionMap.java,
7737         javax/swing/DefaultButtonModel.java,
7738         javax/swing/DefaultListModel.java,
7739         javax/swing/ImageIcon.java,
7740         javax/swing/JComboBox.java,
7741         javax/swing/JComponent.java,
7742         javax/swing/JFrame.java,
7743         javax/swing/JInternalFrame.java,
7744         javax/swing/JMenuBar.java,
7745         javax/swing/JMenuItem.java,
7746         javax/swing/JOptionPane.java,
7747         javax/swing/JProgressBar.java,
7748         javax/swing/JRootPane.java,
7749         javax/swing/JScrollBar.java,
7750         javax/swing/JScrollPane.java,
7751         javax/swing/JSeparator.java,
7752         javax/swing/JSlider.java,
7753         javax/swing/JTabbedPane.java,
7754         javax/swing/JTable.java,
7755         javax/swing/JTextField.java,
7756         javax/swing/JToolBar.java,
7757         javax/swing/JToolTip.java,
7758         javax/swing/JTree.java,
7759         javax/swing/JViewport.java,
7760         javax/swing/JWindow.java,
7761         javax/swing/KeyStroke.java,
7762         javax/swing/LookAndFeel.java,
7763         javax/swing/SwingUtilities.java,
7764         javax/swing/Timer.java,
7765         javax/swing/ToolTipManager.java,
7766         javax/swing/UIDefaults.java,
7767         javax/swing/border/TitledBorder.java,
7768         javax/swing/filechooser/FileSystemView.java,
7769         javax/swing/plaf/basic/BasicButtonListener.java,
7770         javax/swing/plaf/basic/BasicButtonUI.java,
7771         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7772         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7773         javax/swing/plaf/basic/BasicLabelUI.java,
7774         javax/swing/plaf/basic/BasicMenuItemUI.java,
7775         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7776         javax/swing/plaf/basic/BasicRootPaneUI.java,
7777         javax/swing/plaf/basic/BasicScrollBarUI.java,
7778         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7779         javax/swing/plaf/basic/BasicSliderUI.java,
7780         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7781         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7782         javax/swing/table/JTableHeader.java,
7783         javax/swing/text/AbstractDocument.java,
7784         javax/swing/text/DefaultCaret.java,
7785         javax/swing/text/StyledEditorKit.java,
7786         javax/swing/tree/DefaultTreeCellEditor.java:
7787         Cleaned up imports.
7788
7789 2004-05-05  Michael Koch  <konqueror@gmx.de>
7790
7791         * java/util/prefs/AbstractPreferences.java
7792         (AbstractPreferences): Added parenthesis for clarity.
7793         Closes classpath bug #7940.
7794
7795 2004-05-05  Tom Tromey  <tromey@redhat.com>
7796
7797         * javax/naming/CompoundName.java (endsWith): Look at correct
7798         element of source name.
7799
7800 2004-05-05  Mark Wielaard  <mark@klomp.org>
7801
7802         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7803         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7804
7805 2004-05-05  Tom Tromey  <tromey@redhat.com>
7806
7807         * java/io/BufferedReader.java (skip): Removed unused
7808         variable.
7809
7810 2004-05-05  Michael Koch  <konqueror@gmx.de>
7811
7812         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7813
7814 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7815
7816         * java/text/AttributedString.java,
7817         java/text/AttributedStringIterator.java,
7818         java/text/Collator.java,
7819         java/text/DecimalFormatSymbols.java,
7820         java/text/NumberFormat.java,
7821         java/text/RuleBasedCollator.java:
7822         Cleaned up imports.
7823
7824 2004-05-05  Tom Tromey  <tromey@redhat.com>
7825
7826         * java/text/Format.java: Cleaned up imports.
7827         * java/text/DecimalFormat.java: Cleaned up imports.
7828         * java/security/SecureRandom.java: Cleaned up imports.
7829         (SecureRandom): Removed unused variable.
7830         * java/security/UnresolvedPermission.java: Cleaned up imports.
7831         * java/util/Date.java (parse): Removed unused variable.
7832         * java/util/ResourceBundle.java: Cleaned up imports.
7833         (getBundle): Removed unused variable.
7834         (tryBundle): Likewise.
7835         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7836
7837 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7838
7839         * java/text/SimpleDateFormat.java:
7840         (formatWithAttribute): New method. It implements
7841         the formatting process with attributes.
7842         (format): Use formatWithAttribute.
7843         (formatToCharacterIterator): New method. Use
7844         formatWithAttribute.
7845
7846 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7847
7848         * java/text/MessageFormat.java:
7849         (class Field): New class.
7850         (formatToCharacterIterator): New method.
7851         (format): Use formatInternal now.
7852         (formatInternal): New method. String formatter should
7853         be done here (with attributes). Attributes merging supported.
7854         (parse): More documentation.
7855         (getFormatsByArgumentIndex): New method.
7856         (setFormatByArgumentIndex): New method.
7857         (setFormatsByArgumentIndex): New method.
7858
7859 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7860
7861         * java/text/DecimalFormat.java
7862         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7863         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7864         (parse): Fixed handling of exponentiation notation and grouping.
7865
7866 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7867
7868         * java/text/DecimalFormat.java
7869         (scanFix): Build attribute array. Fixed error reporting.
7870         (applyPatternWithSymbols): Store attributes for the prefix and
7871         suffix.
7872         (formatInternal): New method. Changed the way the string is
7873         computed. Implemented attributes. Cleant up rounding in
7874         exponential notation.
7875         (format): Use formatInternal.
7876         (formatToCharacterIterator): New method.
7877         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7878         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7879         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7880         New fields.
7881
7882 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7883
7884         * java/security/interfaces/DSAKeyPairGenerator.java,
7885         java/security/interfaces/DSAPrivateKey.java,
7886         java/security/interfaces/DSAPublicKey.java,
7887         java/security/interfaces/RSAPrivateKey.java,
7888         java/security/interfaces/RSAPublicKey.java:
7889         Cleaned up imports.
7890
7891 2004-05-04  Michael Koch  <konqueror@gmx.de>
7892
7893         * java/nio/ByteBuffer.java,
7894         java/nio/CharBuffer.java,
7895         java/nio/DoubleBuffer.java,
7896         java/nio/FloatBuffer.java,
7897         java/nio/IntBuffer.java,
7898         java/nio/LongBuffer.java,
7899         java/nio/ShortBuffer.java:
7900         (compareTo): Fixed bogus implementation in all buffer classes.
7901
7902 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7903
7904         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7905         32 bit pixels not 8 bit pixels.
7906         (isCompatibleRaster): Added javadoc comment.
7907
7908 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7909
7910         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7911         scanline stride.
7912
7913 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7914
7915         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7916         (getColorModel): Return the actual color model.
7917         (getRaster): Implemented.
7918         (ColorRaster): New inner class.
7919         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7920         a PaintContext.
7921         * java/awt/Color.java (<init>): Make exception more verbose.
7922         (createContext): Use ColorModel when creating a PaintContext.
7923
7924 2004-05-04  Michael Koch  <konqueror@gmx.de>
7925
7926         * gnu/java/text/CharacterBreakIterator.java
7927         (previous): Removed unused variable.
7928
7929 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7930
7931         * gnu/java/text/FormatBuffer.java,
7932         gnu/java/text/AttributedFormatBuffer.java,
7933         gnu/java/text/StringFormatBuffer.java: New classes to implement
7934         attributed iterators in java.text.
7935         * gnu/java/text/FormatCharacterIterator.java: Moved 
7936         from java/text as it is an internal class.
7937         * java/text/FormatCharacterIterator.java: Removed.
7938         * java/text/Format.java:
7939         Import gnu.java.text.FormatCharacterIterator.
7940         * Makefile.am (java_source_files): Added new files.
7941         * Makefile.in: Regenerated.
7942         
7943
7944 2004-05-04  Mark Wielaard  <mark@klomp.org>
7945
7946         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7947
7948 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7949
7950         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7951         * Makefile.in: Rebuilt.
7952
7953 2004-05-03  Mark Wielaard  <mark@klomp.org>
7954
7955         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7956         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7957         * java/net/URL.java
7958         (set(String, String, int, String, String, String, String, String)):
7959         Assign this.file to path or path + "?" + query.
7960         * java/util/Arrays.java: Call static methods staticly.
7961         * java/util/zip/ZipEntry.java: Likewise.
7962         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7963         dir to this.direction.
7964         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7965         Assign static field only once.
7966         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7967
7968 2004-05-03  Mark Wielaard  <mark@klomp.org>
7969
7970         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7971         unused variables hScrollbarHeight and vScrollbarWidth.
7972         (preferredSize): Likewise.
7973         * gnu/java/security/provider/DSAParameters.java (engineToString):
7974         Removed unused call to System.getProperty("line.seperator");
7975         * java/security/Security.java (loadProviders): Return result.
7976
7977 2004-05-03  Tom Tromey  <tromey@redhat.com>
7978
7979         * java/net/URLStreamHandler.java (toExternalForm): Removed
7980         unused variables.
7981         unused constructor.
7982         * java/math/BigDecimal.java (divide): Removed unused variable.
7983         * java/lang/Throwable.java: Cleaned up imports.
7984         * java/lang/ClassLoader.java: Cleaned up imports.
7985         * java/io/FilePermission.java (implies): Removed unused
7986         variable.
7987         * java/awt/TextComponent.java: Removed unused import.
7988         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7989         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7990         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7991         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7992         import.
7993         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7994         * gnu/java/text/CharacterBreakIterator.java: Removed
7995         unused import.
7996         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7997         Cleaned up imports.
7998         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7999         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8000         unused method.
8001         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8002         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8003         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8004         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8005         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8006         (lookupProviders): Removed unused variable.
8007         (loadNextServiceProvider): Likewise.
8008         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8009
8010 2004-05-03  Michael Koch  <konqueror@gmx.de>
8011
8012         Fixes PR libgcj/14695:
8013         * java/net/NetworkInterface.java
8014         (getByName): Return null when no interface was found.
8015
8016 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8017             Tom Tromey  <tromey@redhat.com>
8018
8019         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8020         additional option "-Wmissing-prototypes" for compiling C sources.
8021         Print actual filename for pass/fail rather than $name.c.
8022         * testsuite/libjava.jni/PR15133.java: New testcase file.
8023         * testsuite/libjava.jni/PR15133.c: Likewise.
8024         * testsuite/libjava.jni/PR15133.out: Likewise.
8025
8026 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8027
8028         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8029         ceil and floor.
8030
8031 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8032         
8033         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8034         limit the maximum heap size to avoid unnecessary thrashing.
8035
8036 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8037
8038         * java/text/CollationElementIterator.java (reset): Reset
8039         lookahead variables.
8040
8041 2004-04-23  Mark Wielaard  <mark@klomp.org>
8042
8043         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8044
8045 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8046
8047         * java/sql/DriverManager.java:
8048         Cleaned up imports.
8049
8050 2004-04-23  Michael Koch  <konqueror@gmx.de>
8051
8052         * java/net/URL.java
8053         (hashcode): Don't initialize with default value explicitely.
8054         (getContent): Removed redundant "final" keyword.
8055         (openStream): Likewise.
8056         (getURLStreamHandler): Fixed coding style.
8057         * java/net/URLConnection.java
8058         (defaultAllowUserInteraction): Don't initialize with default value
8059         explicitely.
8060         (connected): Likewise.
8061         (doOutput): Likewise.
8062         (ifModifiedSince): Likewise.
8063         (dateformats_initialized): Likewise.
8064         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8065
8066 2004-04-23  Michael Koch  <konqueror@gmx.de>
8067
8068         * gnu/java/nio/channels/FileChannelImpl.java
8069         (SET, CUR): Unused, removed.
8070         (read): Implement here directly.
8071         (implRead): Removed.
8072         (write): Implement here directly.
8073         (implWrite): Removed.
8074
8075 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8076
8077         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8078         javax/rmi/CORBA/Stub.java,
8079         javax/rmi/CORBA/Util.java,
8080         javax/rmi/CORBA/ValueHandler.java,
8081         javax/rmi/CORBA/ValueHandler.java,
8082         javax/rmi/PortableRemoteObject.java:
8083         Cleaned up imports.
8084
8085 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8086
8087         * java/util/jar/JarFile.java,
8088         java/util/jar/JarInputStream.java,
8089         java/util/jar/JarOutputStream.java,
8090         java/util/jar/Manifest.java:
8091         Cleaned up imports.
8092
8093 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8094
8095         * java/util/ArrayList.java,
8096         java/util/Calendar.java,
8097         java/util/Currency.java,
8098         java/util/HashMap.java,
8099         java/util/HashSet.java,
8100         java/util/Hashtable.java,
8101         java/util/LinkedList.java,
8102         java/util/Properties.java,
8103         java/util/PropertyPermission.java,
8104         java/util/TimeZone.java,
8105         java/util/TreeMap.java,
8106         java/util/TreeSet.java,
8107         java/util/Vector.java,
8108         java/util/WeakHashMap.java:
8109         Cleaned up imports.
8110
8111 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8112
8113         * java/util/logging/FileHandler.java,
8114         java/util/logging/Formatter.java,
8115         java/util/logging/Handler.java,
8116         java/util/logging/Logger.java,
8117         java/util/logging/SimpleFormatter.java,
8118         java/util/logging/XMLFormatter.java:
8119         Cleaned up imports.
8120
8121 2004-04-22  Mark Wielaard  <mark@klomp.org>
8122
8123         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8124         -Wno-long-long flags variable.
8125         (gtk_c_files): Use PEDANTIC_CFLAGS.
8126         * Makefile.in: Regenerated.
8127
8128 2004-04-22  Mark Wielaard  <mark@klomp.org>
8129
8130         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8131         Changed C++ comments into C comments.
8132         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8133         Likewise.
8134
8135 2004-04-22  Michael Koch  <konqueror@gmx.de>
8136
8137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8138         Merged copyright year with GNU classpath.
8139
8140 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8141
8142         * javax/security/auth/x500/X500Principal.java:
8143         Cleaned up imports.
8144
8145 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8146
8147         * javax/swing/JSlider.java:
8148         Fixed HTML tags in comments.
8149
8150 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8151
8152         * javax/accessibility/AccessibleText.java:
8153         Cleaned up imports.
8154
8155 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8156
8157         * java/net/URLStreamHandler.java
8158         (parseURL): Convert the file path to using '/' instead of native
8159         file separator.
8160
8161 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8162
8163         * java/net/URL.java
8164         (userInfo): New field.
8165         (URL): Set authority to the right value.
8166         (setURL): Fixed authority and file initialization.
8167         * java/net/URLStreamHandler.java
8168         (parseURL): Take care of the query tag. Build authority.
8169         (toExternalForm): Fixed URL building using authority.
8170
8171 2004-04-22  Michael Koch  <konqueror@gmx.de>
8172
8173         * java/net/Socket.java
8174         (impl): Made package-private.
8175         * java/net/ServerSocket.java
8176         (implAccept): Access Socket.impl field directly.
8177
8178 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8179
8180         * java/util/prefs/Preferences.java,
8181         java/util/prefs/InvalidPreferencesFormatException.java,
8182         java/util/prefs/BackingStoreException.java,
8183         java/util/prefs/AbstractPreferences.java:
8184         Cleaned up imports.
8185
8186 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8187
8188         * java/util/regex/Matcher.java,
8189         java/util/regex/Pattern.java:
8190         Cleaned up imports.
8191
8192 2004-04-22  Michael Koch  <konqueror@gmx.de>
8193
8194         * java/nio/charset/IllegalCharsetNameException.java
8195         (charsetName): Made private.
8196         (IllegalCharsetNameException): Added @param tag to javadoc.
8197         (getCharsetName): Added @return tag to javadoc.
8198         * java/nio/charset/MalformedInputException.java
8199         (MalformedInputException): Added @param tag to javadoc.
8200         (getInputLength): Revised method description, added @return tag.
8201         (getMessage): Added @return tag.
8202
8203 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8204
8205         * java/awt/Font.java (deriveFont): Implement missing variants.
8206         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8207         missing variants.
8208
8209 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8210
8211         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8212         Set method->index values for interface methods to their itable index.
8213         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8214
8215 2004-04-21  Michael Koch  <konqueror@gmx.de>
8216
8217         * java/nio/DirectByteBufferImpl.java
8218         (shiftDown): Made static, give address as argument and
8219         provide a convenience method that overwrites shiftDown in
8220         ByteBufferImpl and calls the native shiftDown.
8221         * java/nio/MappedByteBufferImpl.java
8222         (): Use optimized method in DirectByteBufferImpl.
8223         * java/nio/natDirectByteBufferImpl.cc
8224         (shiftDown): Changed method signature. Removed usage of array_offset.
8225
8226 2004-04-21  Michael Koch  <konqueror@gmx.de>
8227
8228         * gnu/java/net/natPlainSocketImplPosix.cc
8229         (SocketInputStream::read): Make sure returned data is a byte value.
8230
8231 2004-04-21  Michael Koch  <konqueror@gmx.de>
8232
8233         * gnu/classpath/ServiceFactory.java,
8234         gnu/classpath/ServiceProviderLoadingAction.java,
8235         javax/imageio/ImageReader.java,
8236         javax/imageio/ImageTranscoder.java,
8237         javax/imageio/ImageWriter.java,
8238         javax/imageio/package.html,
8239         javax/imageio/spi/IIOServiceProvider.java,
8240         javax/imageio/spi/ImageInputStreamSpi.java,
8241         javax/imageio/spi/ImageOutputStreamSpi.java,
8242         javax/imageio/spi/ImageReaderWriterSpi.java,
8243         javax/imageio/spi/ImageTranscoderSpi.java,
8244         javax/imageio/spi/RegisterableService.java,
8245         javax/imageio/spi/ServiceRegistry.java,
8246         javax/imageio/spi/package.html,
8247         javax/imageio/stream/IIOByteBuffer.java,
8248         javax/imageio/stream/ImageInputStream.java,
8249         javax/imageio/stream/ImageOutputStream.java,
8250         javax/imageio/stream/package.html:
8251         New files.
8252         * Makefile.am
8253         (ordinary_java_source_files): Added
8254         gnu/classpath/ServiceFactory.java and
8255         gnu/classpath/ServiceProviderLoadingAction.java.
8256         (javax_source_files): Added
8257         javax/imageio/ImageReader.java,
8258         javax/imageio/ImageTranscoder.java,
8259         javax/imageio/ImageWriter.java,
8260         javax/imageio/spi/IIOServiceProvider.java,
8261         javax/imageio/spi/ImageInputStreamSpi.java,
8262         javax/imageio/spi/ImageOutputStreamSpi.java,
8263         javax/imageio/spi/ImageReaderWriterSpi.java,
8264         javax/imageio/spi/ImageTranscoderSpi.java,
8265         javax/imageio/spi/RegisterableService.java,
8266         javax/imageio/spi/ServiceRegistry.java,
8267         javax/imageio/stream/IIOByteBuffer.java,
8268         javax/imageio/stream/ImageInputStream.java and
8269         javax/imageio/stream/ImageOutputStream.java.
8270         * Makefile.in: Regenerated.
8271
8272 2004-04-21  Michael Koch  <konqueror@gmx.de>
8273
8274         * java/util/Properties.java
8275         (load): Fix wrongly merged fix.
8276
8277 2004-04-21  Mark Wielaard  <mark@klomp.org>
8278
8279         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8280         malloc and free buf.
8281
8282 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8283
8284         * javax/naming/AuthenticationException.java,
8285         javax/naming/AuthenticationNotSupportedException.java,
8286         javax/naming/CannotProceedException.java,
8287         javax/naming/CommunicationException.java,
8288         javax/naming/CompoundName.java,
8289         javax/naming/ConfigurationException.java,
8290         javax/naming/ContextNotEmptyException.java,
8291         javax/naming/InitialContext.java,
8292         javax/naming/InsufficientResourcesException.java,
8293         javax/naming/InterruptedNamingException.java,
8294         javax/naming/LimitExceededException.java,
8295         javax/naming/LinkException.java,
8296         javax/naming/LinkLoopException.java,
8297         javax/naming/LinkRef.java,
8298         javax/naming/MalformedLinkException.java,
8299         javax/naming/Name.java,
8300         javax/naming/NameAlreadyBoundException.java,
8301         javax/naming/NameNotFoundException.java,
8302         javax/naming/NamingSecurityException.java,
8303         javax/naming/NoInitialContextException.java,
8304         javax/naming/NoPermissionException.java,
8305         javax/naming/NotContextException.java,
8306         javax/naming/PartialResultException.java,
8307         javax/naming/ReferralException.java,
8308         javax/naming/ServiceUnavailableException.java,
8309         javax/naming/SizeLimitExceededException.java,
8310         javax/naming/TimeLimitExceededException.java,
8311         javax/naming/directory/Attribute.java,
8312         javax/naming/directory/Attributes.java,
8313         javax/naming/directory/SearchResult.java,
8314         javax/naming/event/NamingExceptionEvent.java,
8315         javax/naming/spi/ResolveResult.java:
8316         Cleaned up imports.
8317
8318 2004-04-21  Mark Wielaard  <mark@klomp.org>
8319
8320         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8321         Changed C++ comments into C comments. Removed commented out code.
8322         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8323         Likewise.
8324         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8325         Likewise.
8326         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8327         Likewise.
8328         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8329         Likewise.
8330         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8331         Likewise.
8332         * native/jni/gtk-peer/gthread-jni.c:
8333         Likewise.
8334
8335 2004-04-21  Mark Wielaard  <mark@klomp.org>
8336
8337         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8338         static fields defined in interface.
8339         * javax/awt/JDialog.java: Likewise.
8340         (JDialog): Make constructors public.
8341         (getDefaultCloseOperation): Make public.
8342         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8343         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8344         * javax/swing/JViewport.java (JViewport): Make constructor public.
8345
8346 2004-04-21  Michael Koch  <konqueror@gmx.de>
8347
8348         * java/util/Map.java
8349         (Entry): Removed redundant "static" modifier.
8350         * java/text/AttributedCharacterIterator.java:
8351         Updated copyright year.
8352
8353 2004-04-20  Michael Koch  <konqueror@gmx.de>
8354
8355         * javax/naming/directory/SearchControls.java:
8356         Don't explicitely extend java.lang.Object.
8357         * javax/naming/spi/DirStateFactory.java:
8358         Merged copyright year with GNU classpath.
8359
8360 2004-04-20  Michael Koch  <konqueror@gmx.de>
8361
8362         * java/nio/channels/Channels.java:
8363         Merged coding style with GNU classpath.
8364
8365 2004-04-20  Michael Koch  <konqueror@gmx.de>
8366
8367         * java/net/ServerSocket.java
8368         Merged coding style from GNU classpath.
8369
8370 2004-04-20  Michael Koch  <konqueror@gmx.de>
8371
8372         * java/io/BufferedWriter.java:
8373         Reordered variables to be at top of the class.
8374         (localFlush): Removed redundant final keyword.
8375
8376 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8377
8378         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8379
8380 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8381
8382         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8383         for percent and permill check.
8384
8385 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8386
8387         * java/text/FieldPosition.java
8388         (FieldPosition) Constructor now behaves as it should according
8389         to the java documentation.
8390
8391 2004-04-20  Mark Wielaard  <mark@klomp.org>
8392
8393         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8394         documentation.
8395
8396 2004-04-20  Michael Koch  <konqueror@gmx.de>
8397
8398         * java/nio/Buffer.java,
8399         java/nio/channels/AlreadyConnectedException.java,
8400         java/nio/channels/AsynchronousCloseException.java,
8401         java/nio/channels/ByteChannel.java,
8402         java/nio/channels/CancelledKeyException.java,
8403         java/nio/channels/Channel.java,
8404         java/nio/channels/Channels.java,
8405         java/nio/channels/ClosedByInterruptException.java,
8406         java/nio/channels/ClosedChannelException.java,
8407         java/nio/channels/ClosedSelectorException.java,
8408         java/nio/channels/ConnectionPendingException.java,
8409         java/nio/channels/DatagramChannel.java,
8410         java/nio/channels/FileChannel.java,
8411         java/nio/channels/FileLock.java,
8412         java/nio/channels/FileLockInterruptionException.java,
8413         java/nio/channels/GatheringByteChannel.java,
8414         java/nio/channels/IllegalBlockingModeException.java,
8415         java/nio/channels/IllegalSelectorException.java,
8416         java/nio/channels/InterruptibleChannel.java,
8417         java/nio/channels/NoConnectionPendingException.java,
8418         java/nio/channels/NonReadableChannelException.java,
8419         java/nio/channels/NonWritableChannelException.java,
8420         java/nio/channels/NotYetBoundException.java,
8421         java/nio/channels/NotYetConnectedException.java,
8422         java/nio/channels/OverlappingFileLockException.java,
8423         java/nio/channels/Pipe.java,
8424         java/nio/channels/ReadableByteChannel.java,
8425         java/nio/channels/ScatteringByteChannel.java,
8426         java/nio/channels/SelectableChannel.java,
8427         java/nio/channels/SelectionKey.java,
8428         java/nio/channels/Selector.java,
8429         java/nio/channels/ServerSocketChannel.java,
8430         java/nio/channels/SocketChannel.java,
8431         java/nio/channels/UnresolvedAddressException.java,
8432         java/nio/channels/UnsupportedAddressTypeException.java,
8433         java/nio/channels/WritableByteChannel.java,
8434         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8435         java/nio/channels/spi/AbstractSelectableChannel.java,
8436         java/nio/channels/spi/AbstractSelectionKey.java,
8437         java/nio/channels/spi/AbstractSelector.java,
8438         java/nio/channels/spi/SelectorProvider.java,
8439         java/nio/charset/spi/CharsetProvider.java:
8440         Fixed javadocs and jalopied all over java.nio.
8441
8442 2004-04-20  Michael Koch  <konqueror@gmx.de>
8443
8444         * java/nio/ByteBufferImpl.java,
8445         java/nio/CharBufferImpl.java,
8446         java/nio/DirectByteBufferImpl.java,
8447         java/nio/DoubleBufferImpl.java,
8448         java/nio/DoubleViewBufferImpl.java,
8449         java/nio/FloatBufferImpl.java,
8450         java/nio/FloatViewBufferImpl.java,
8451         java/nio/IntBufferImpl.java,
8452         java/nio/IntViewBufferImpl.java,
8453         java/nio/LongBufferImpl.java,
8454         java/nio/LongViewBufferImpl.java,
8455         java/nio/MappedByteBufferImpl.java,
8456         java/nio/ShortBufferImpl.java,
8457         java/nio/ShortViewBufferImpl.java:
8458         Made sure all classes are final and removed final keyword from all
8459         methods.
8460
8461 2004-04-20  Michael Koch  <konqueror@gmx.de>
8462
8463         * java/rmi/MarshalledObject.java,
8464         java/rmi/Naming.java,
8465         java/rmi/RemoteException.java,
8466         java/rmi/activation/ActivationException.java,
8467         java/rmi/server/ServerCloneException.java,
8468         java/security/AccessController.java,
8469         java/security/AlgorithmParameterGenerator.java,
8470         java/security/AlgorithmParameters.java,
8471         java/security/CodeSource.java,
8472         java/security/Identity.java,
8473         java/security/IdentityScope.java,
8474         java/security/KeyPairGenerator.java,
8475         java/security/KeyStore.java,
8476         java/security/Security.java,
8477         java/security/Signature.java,
8478         java/security/SignatureSpi.java,
8479         java/security/SignedObject.java,
8480         java/security/spec/DSAParameterSpec.java,
8481         java/security/spec/DSAPrivateKeySpec.java,
8482         java/security/spec/DSAPublicKeySpec.java,
8483         java/sql/Array.java,
8484         java/sql/DatabaseMetaData.java,
8485         java/sql/ResultSet.java,
8486         java/text/ChoiceFormat.java,
8487         java/text/CollationElementIterator.java,
8488         java/text/CollationKey.java,
8489         java/text/Collator.java,
8490         java/text/DateFormat.java,
8491         java/text/DateFormatSymbols.java,
8492         java/text/DecimalFormatSymbols.java,
8493         java/text/Format.java,
8494         java/text/ParsePosition.java,
8495         java/text/RuleBasedCollator.java,
8496         java/text/SimpleDateFormat.java,
8497         java/text/StringCharacterIterator.java,
8498         java/util/Collections.java,
8499         java/util/PropertyResourceBundle.java,
8500         java/util/ResourceBundle.java,
8501         java/util/StringTokenizer.java,
8502         java/util/jar/Attributes.java,
8503         java/util/logging/ConsoleHandler.java,
8504         java/util/logging/LogManager.java,
8505         java/util/logging/MemoryHandler.java,
8506         java/util/logging/SocketHandler.java,
8507         javax/naming/NamingException.java:
8508         Fixed javadoc, coding style and argument names all over.
8509
8510 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8511
8512         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8513         constructor. (valid) Added null check.
8514
8515 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8516
8517         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8518         * java/io/FileOutputStream.java
8519         (FileOutputStream) Reorganized constructors. Constructors now
8520         check whether the given path is directory.
8521
8522 2004-04-20  Michael Koch  <konqueror@gmx.de>
8523
8524         * java/net/Authenticator.java,
8525         java/net/BindException.java,
8526         java/net/ConnectException.java,
8527         java/net/ContentHandler.java,
8528         java/net/ContentHandlerFactory.java,
8529         java/net/DatagramPacket.java,
8530         java/net/DatagramSocket.java,
8531         java/net/DatagramSocketImpl.java,
8532         java/net/DatagramSocketImplFactory.java,
8533         java/net/FileNameMap.java,
8534         java/net/HttpURLConnection.java,
8535         java/net/Inet4Address.java,
8536         java/net/Inet6Address.java,
8537         java/net/InetAddress.java,
8538         java/net/InetSocketAddress.java,
8539         java/net/JarURLConnection.java,
8540         java/net/MalformedURLException.java,
8541         java/net/MulticastSocket.java,
8542         java/net/NetPermission.java,
8543         java/net/NetworkInterface.java,
8544         java/net/NoRouteToHostException.java,
8545         java/net/PasswordAuthentication.java,
8546         java/net/PortUnreachableException.java,
8547         java/net/ProtocolException.java,
8548         java/net/ServerSocket.java,
8549         java/net/Socket.java,
8550         java/net/SocketAddress.java,
8551         java/net/SocketException.java,
8552         java/net/SocketImpl.java,
8553         java/net/SocketImplFactory.java,
8554         java/net/SocketOptions.java,
8555         java/net/SocketPermission.java,
8556         java/net/SocketTimeoutException.java,
8557         java/net/URI.java,
8558         java/net/URISyntaxException.java,
8559         java/net/URL.java,
8560         java/net/URLClassLoader.java,
8561         java/net/URLConnection.java,
8562         java/net/URLDecoder.java,
8563         java/net/URLEncoder.java,
8564         java/net/URLStreamHandler.java,
8565         java/net/URLStreamHandlerFactory.java,
8566         java/net/UnknownHostException.java,
8567         java/net/UnknownServiceException.java:
8568         Fixed javadocs, coding style and argument names all over.
8569
8570 2004-04-20  Michael Koch  <konqueror@gmx.de>
8571
8572         * java/lang/Byte.java,
8573         java/lang/CharSequence.java,
8574         java/lang/ClassLoader.java,
8575         java/lang/Compiler.java,
8576         java/lang/Double.java,
8577         java/lang/Float.java,
8578         java/lang/Integer.java,
8579         java/lang/Long.java,
8580         java/lang/Math.java,
8581         java/lang/Number.java,
8582         java/lang/Package.java,
8583         java/lang/Runtime.java,
8584         java/lang/RuntimePermission.java,
8585         java/lang/SecurityManager.java,
8586         java/lang/Short.java,
8587         java/lang/StringBuffer.java,
8588         java/lang/System.java,
8589         java/lang/ThreadGroup.java,
8590         java/lang/Throwable.java,
8591         java/lang/reflect/InvocationHandler.java,
8592         java/lang/reflect/Proxy.java:
8593         Fixed javadocs, coding style and argument names all over.
8594
8595 2004-04-20  Michael Koch  <konqueror@gmx.de>
8596
8597         * java/io/BufferedWriter.java,
8598         java/io/ByteArrayInputStream.java,
8599         java/io/CharArrayWriter.java,
8600         java/io/DataInput.java,
8601         java/io/DataInputStream.java,
8602         java/io/File.java,
8603         java/io/FilterInputStream.java,
8604         java/io/InputStream.java,
8605         java/io/InputStreamReader.java,
8606         java/io/ObjectInputStream.java,
8607         java/io/ObjectStreamClass.java,
8608         java/io/PipedInputStream.java,
8609         java/io/PipedReader.java,
8610         java/io/PushbackInputStream.java,
8611         java/io/PushbackReader.java,
8612         java/io/RandomAccessFile.java,
8613         java/io/SerializablePermission.java,
8614         java/io/StreamTokenizer.java,
8615         java/io/StringWriter.java,
8616         java/io/WriteAbortedException.java,
8617         java/io/Writer.java:
8618         Fixed javadocs all over, rename arguments to match javadocs,
8619         fixed coding style.
8620
8621 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8622
8623         * java/awt/FontMetrics.java:
8624         (charsWidth): fixed accumulation of total_width
8625         (getWidth): simple default implementation
8626         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8627         in Rectangle constructor.
8628         * java/awt/image/Raster.java (toString): Added method. 
8629         * java/awt/image/SampleModel.java (<init>): Added error cause
8630         information to thrown exception.
8631         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8632         New method.
8633         (setDataElements): New method.
8634         (setPixels): New method.
8635         (toString): New method.
8636
8637 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8638
8639         * java/awt/image/ComponentColorModel.java
8640         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8641         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8642         Mauve tests on this method. Improved documentation.
8643
8644 2004-04-20  Michael Koch  <konqueror@gmx.de>
8645
8646         * javax/swing/JLayeredPane.java,
8647         javax/swing/plaf/BorderUIResource.java,
8648         javax/swing/plaf/ComponentUI.java,
8649         javax/swing/undo/CompoundEdit.java,
8650         javax/swing/undo/StateEdit.java:
8651         Fixed HTML tags in javadocs all over.
8652
8653 2004-04-20  Michael Koch  <konqueror@gmx.de>
8654
8655         * javax/print/attribute/EnumSyntax.java
8656         (getOffset): Made protected.
8657         * javax/print/attribute/HashAttributeSet.java
8658         (HashAttributeSet): Likewise.
8659         * javax/print/attribute/ResolutionSyntax.java
8660         (getFeedResolution): Fixed typo in exception name.
8661         (getCrossFeedResolution): Likewise.
8662         * javax/print/attribute/SetOfIntegerSyntax.java
8663         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8664         * javax/print/attribute/TextSyntax.java
8665         (TextSyntax): Handle locale correctly.
8666         (hashCode): Calc better hashcode value.
8667         (equals): Fixed @return tag.
8668         (toString): New method.
8669
8670 2004-04-20  Michael Koch  <konqueror@gmx.de>
8671
8672         * gnu/java/nio/FileLockImpl.java
8673         (static): Removed, not needed anymore.
8674         * gnu/java/nio/channels/FileChannelImpl.java
8675         (FileChannelImpl): Made final.
8676         (mode): Made private.
8677         (READ, WRITE, APPEND): Made public.
8678         (EXCL, SYNC, DSYNC): Likewise.
8679         (static): Load native JNI library, when needed.
8680         (length): Unused, removed.
8681         (available): Made public.
8682         (implPosition): Throws IOException.
8683         (seek): Likewise.
8684         (implTruncate): Likewise.
8685         (unlock): Likewise.
8686         (lock): Likewise.
8687
8688 2004-04-20  Michael Koch  <konqueror@gmx.de>
8689
8690         * java/awt/AWTPermission.java,
8691         java/awt/Component.java,
8692         java/awt/ComponentOrientation.java,,
8693         java/awt/Dialog.java,
8694         java/awt/FontMetrics.java,
8695         java/awt/Graphics.java,
8696         java/awt/datatransfer/DataFlavor.java,
8697         java/beans/Introspector.java,
8698         java/beans/PropertyEditor.java,
8699         java/beans/PropertyEditorManager.java,
8700         java/beans/beancontext/BeanContextServiceProvider.java:
8701         Fixed HTML tags in javadocs all over.
8702
8703 2004-04-20  Mark Wielaard  <mark@klomp.org>
8704
8705         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8706         MissingResourceException is thrown.
8707         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8708         null when a MissingResourceException is thrown. Should never happen.
8709
8710 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8711
8712         * java/awt/image/DataBufferShort.java,
8713         java/awt/image/DataBufferFloat.java,
8714         java/awt/image/DataBufferDouble.java,
8715         java/awt/image/PixelInterleavedSampleModel.java: New files.
8716         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8717         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8718
8719 2004-04-20  Michael Koch  <konqueror@gmx.de>
8720
8721         * Makefile.am (java_source_files): Added
8722         java/awt/image/DataBufferDouble.java,
8723         java/awt/image/DataBufferFloat.java,
8724         java/awt/image/DataBufferShort.java and
8725         java/awt/image/PixelInterleavedSampleModel.java.
8726         * Makefile.in: Regenerated.
8727
8728 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8729  
8730         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8731         undocumented CNI calls.
8732         * include/java-interp.h (_Jv_InterpClass): No longer
8733         extends java.lang.Class.
8734         * java/lang/Class.h (Class): Add new field `aux_info'.
8735         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8736         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8737         Use Class->aux_info instead.
8738         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8739         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8740         Use Class->aux_info instead.
8741         * java/io/natObjectInputStream.cc (allocateObject): Use
8742         _Jv_AllocObject.
8743         * java/lang/natClass.cc (newInstance): Likewise.
8744         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8745         * java/lang/natObject.cc (clone): Likewise.
8746         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8747         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8748         JvAllocObject. Allocate klass->aux_info here for interpreted
8749         class.
8750         
8751 2004-04-17  Mark Wielaard  <mark@klomp.org>
8752
8753         * javax/swing/JToggleButton.java (ToggleButtonModel):
8754         Make public static inner class.
8755         * javax/swing/JTabbedPane.java (setComponentAt):
8756         Call Page.setComponent().
8757         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8758         (WRAP_TAB_LAYOUT): Make public, value is 0.
8759         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8760         Make private static inner class.
8761
8762 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8763
8764         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8765         arguments to match new signature. Remove FIXME comments.
8766
8767 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8768
8769         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8770         Remove method.
8771         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8772         unused code.
8773
8774 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8775
8776         * Makefile.am: Added new file.
8777         * Makefile.in: Regenerate.
8778         * javax/swing/ImageIcon.java: 
8779         (ImageIcon(file)): set description of the icon 
8780         to the file name
8781         * javax/swing/JCheckBoxMenuItem.java:
8782         Mostly Implemented. Work in progress.
8783         * javax/swing/JRadioButtonMenuItem.java:
8784         Reimplement constructors to use JToggleButtonModel.
8785         * javax/swing/plaf/basic/BasicIconFactory.java:
8786         (getCheckBoxMenuItemIcon): return check box
8787         icon.
8788         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8789         paint menu item selected only when it is armed and 
8790         pressed. 
8791  
8792 2004-04-02  David Jee  <djee@redhat.com>
8793
8794         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8795         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8796         * java/awt/Component.java
8797         (add): Set the parent of the popup as this component.
8798         * java/awt/PopupMenu.java
8799         (addNotify): Create popup menu when peer is null.
8800         (show): Call addNotify() if peer is null.
8801         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8802         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8803         argument for gtk_menu_popup() as zero. This causes the popup menu to
8804         respond to any mouse button.
8805
8806 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8807
8808         * Makefile.am: Added new file.
8809         * Makefile.in: Regenerate.
8810         * javax/swing/JRadioButtonMenuItem.java:
8811         Implemented.
8812         * javax/swing/plaf/basic/BasicIconFactory.java:
8813         (getRadioButtonMenuItemIcon): Return
8814         radio button icon.
8815         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8816         (getPreferredSize): Add size of checkIcon if it
8817         exists.
8818         (installDefaults): Don't initialize checkIcon.
8819         It's value will be set in subclasses. 
8820         (uninstallDefaults): remove uninstallation of 
8821         checkIcon.
8822         (paint): Moved code to paintMenuItem().
8823         (paintMenuItem): Implemented.
8824         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8825         UI delegate for JRadioButtonMenuItem.
8826         
8827 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8828
8829         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8830         Corrected position of the accelerator.
8831
8832 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8833
8834         * Makefile.am: Added new file. 
8835         * Makefile.in: Regenerate.
8836         * javax/swing/JMenuItem.java: Partly 
8837         implemented. Work in progress
8838         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8839         Changed default value of acceleratorDelimiter.
8840         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8841         New class. Partly implemented.
8842                 
8843 2004-03-26  Mark Wielaard  <mark@klomp.org>
8844
8845         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8846         (item_activate): Declare label before use.
8847         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8848         (gtkSetFont): Removed unused variable label.
8849         (addExposeFilter): Declare variables before use.
8850         (removeExposeFilter): Likewise.
8851         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8852         (ok_clicked): Declare str_fileName before use.
8853
8854 2004-03-26  David Jee  <djee@redhat.com>
8855
8856         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8857         (addSeparator): Remove.
8858         * java/awt/Menu.java
8859         (separator): Remove static final MenuItem field.
8860         (separatorLabel): New static final String field.
8861         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8862         Use separatorLabel to denote that it is a separator.
8863         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8864         of reusing the static separator instance, because a MenuItem instance
8865         can't be added more than once without being cloned.
8866         * java/awt/peer/MenuPeer.java
8867         (addSeparator): Remove from interface.
8868
8869 2004-03-26  David Jee  <djee@redhat.com>
8870
8871         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8872         (connectSignals): New native method declaration.
8873         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8874         * java/awt/MenuItem.java
8875         (getActionCommand): Return the label if the action command is not set.
8876         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8877         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8878         gtk_menu_shell_append().
8879         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8880         (item_activate): Fix argument type.
8881         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8882         signal here.
8883         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8884         method.
8885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8886         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8887         given. Add the menu widget's top-level GtkWindow to the global window
8888         group, so it can grab the pointer.
8889         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8890         gtk_menu_shell_append().
8891
8892 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8893
8894         * java/text/AttributedString.java 
8895         (addAttribute): Fix off-by-one.
8896         (getIterator): Likewise.        
8897         * java/text/AttributedStringIterator.java 
8898         (getRunLimit): Correct logic.
8899         (getRunStart): Likewise.
8900         (getAttribute): Fix inequality.
8901         (getAttributes): Likewise.
8902         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8903
8904 2004-03-23  Kim Ho  <kho@redhat.com>
8905
8906         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8907         (calculateSizes): Return real width and height.
8908
8909 2004-03-23  Kim Ho  <kho@redhat.com>
8910
8911         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8912         (calculateTabRects): Set the selectedRun before
8913         trying to rotate tabs.
8914
8915 2004-03-23  Kim Ho  <kho@redhat.com>
8916
8917         * Makefile.am: New file
8918         * Makefile.in: Regenerate
8919         * java/awt/Graphics.java: (drawRect):
8920         Draw to the correct point.
8921         * javax/swing/DefaultSingleSelectionModel.java
8922         (isSelected): Return true if the selected index
8923         is not -1.
8924         * javax/swing/JLabel.java: Do not change mnemonic
8925         index if text is null.
8926         * javax/swing/JProgressBar.java: Use JComponent's
8927         EventListenerList.
8928         * javax/swing/JScrollBar.java: Ditto.
8929         * javax/swing/JSlider.java: Ditto.
8930         * javax/swing/JTabbedPane.java: Reimplement.
8931         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8932         Add defaults for TabbedPane.
8933         * javax/swing/plaf/basic/BasicArrowButton.java:
8934         Implement
8935         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8936         (paintDeterminate): Don't paint String if it's
8937         empty.
8938         (paintIndeterminate): ditto.
8939         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8940         Reimplement.
8941
8942 2004-03-19  Michael Koch  <konqueror@gmx.de>
8943
8944         * java/awt/image/AffineTransformOp.java
8945         (AffineTransformOp): Made public.
8946         * javax/swing/JComponent.java
8947         (listenerList): Made protected.
8948         (accessibleContext): Likewise.
8949         * javax/swing/JList.java
8950         (valueChanged): Dont use internal fields of ListSelectionEvent.
8951         * javax/swing/JViewport.java
8952         (getView): Dont use internal fields of Component.
8953         (addImpl): Likewise.
8954         * javax/swing/Timer.java
8955         (isRunning): Made public.
8956         (start): Likewise.
8957         (stop): Likewise.
8958         * javax/swing/UIDefaults.java
8959         (getInt): Made public.
8960         * javax/swing/plaf/basic/BasicListUI.java
8961         (mousePressed): Dont use internal fields of MouseEvent.
8962         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8963         * javax/swing/plaf/basic/BasicScrollBarUI.java
8964         (arrowIcon): Made static.
8965         * javax/swing/plaf/basic/BasicViewportUI.java
8966         (stateChanged): Dont use internal field on ChangeEvent.
8967         * javax/swing/text/JTextComponent.java
8968         (getUI): Call UIManager.getUI().
8969         (updateUI): Use getUI().
8970
8971 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8972
8973         * javax/swing/JComponent.java: Turn off double buffer by default.
8974         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8976         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8977         Use cairo to copy areas.
8978         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8979         Initialize and set clip region.
8980
8981 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8982
8983         * java/applet/Applet.java (preferredSize): Override deprecated
8984         variant of getPreferredSize.
8985         (minimumSize): Override deprecated variant of getMinimumSize.
8986
8987 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8988
8989         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8990         (drawImage(img,xform,bgcolor,obs)): New Method.
8991         Helper function that every drawImage method will
8992         use.
8993         (drawRaster): Added new parameter, bgcolor. All
8994         transparent pixels are changed to bgcolor before 
8995         image is drawn.
8996         (drawRenderedImage): Fixed to use changed drawRaster().
8997         (drawImage(image,xform,obs): Fixed to use new helper function 
8998         (drawImage(image,op,x,y)): Ditto.
8999         (drawImage (img,x,y,observer)): Ditto.
9000         ((PainterThread) bgcolor): New Field.
9001         ((PainterThread) (setPixels)): Changed all transparent pixels 
9002         to bgcolor.     
9003         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9004         Fixed FIXME - all the transparent pixels are 
9005         changed to the specified bgcolor. 
9006         (drawImage(img, x, y, width, height, observer): Changed to 
9007         use function above.
9008         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9009         Fixed FIXME- changed all transparent pixels to bgcolor.
9010         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9011         Changed to use function above. 
9012
9013 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9014
9015         * java/applet/Applet.java (dimensions): New field.
9016         (getDimensions): New method.
9017         (getPreferredSize): Call getDimensions.
9018         (getMinimumSize): Likewise.
9019
9020 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9021
9022         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9023         * jni/classpath/jnilink.c: Likewise.
9024
9025         * java/applet/Applet.java (getPreferredSize): New method.
9026         (getMinimumSize): New method.
9027
9028 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9029
9030         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9031         (_Jv_AllocObjectNoFinalizer): Likewise.
9032         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9033         (_Jv_AllocPtrFreeObject): Likewise.
9034         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9035         directly even in the JVMPI case.        
9036         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9037         _Jv_AllocObject calls.
9038         * gcj/javaprims.h: Update prototypes.
9039         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9040         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9041         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9042
9043 2004-04-14  Andrew Haley  <aph@redhat.com>
9044             Bryce McKinlay  <mckinlay@redhat.com>
9045
9046         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9047         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9048         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9049
9050         * testsuite/libjava.lang/InvokeInterface.java: New file.
9051         * testsuite/libjava.lang/InvokeInterface.out: New file.
9052
9053 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9054         
9055         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9056         modified lookup().
9057         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9058         StackTraceElement directly.
9059         (newElement): New native helper method to create StackTraceElement
9060         bypassing Java access control.
9061         (createStackTraceElement): Use newElement() instead of directly
9062         calling StackTraceElement's constructor.
9063         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9064
9065 2004-04-01  Michael Koch  <konqueror@gmx.de>
9066
9067         * java/lang/SecurityManager.java
9068         (checkAwtEventQueueAccess): Implemented.
9069
9070 2004-04-01  Gary Benson  <gbenson@redhat.com>
9071
9072         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9073         (_Jv_SearchMethodInClass): Likewise.
9074
9075 2004-03-26  Peter Moon  <peterm@miraculum.com>
9076
9077         * java/text/NumberFormat.java: Fix spelling of setCurrency
9078         method.
9079
9080 2004-03-21  Anthony Green  <green@redhat.com>
9081
9082         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9083         recursion when searching for the system ClassLoader.
9084
9085 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9086
9087         * java/net/ServerSocket.java
9088         (accept): Close the socket when error occured.
9089
9090 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9091
9092         * java/net/URI.java (parseURI): Added unquoting.
9093         (unquote): New method.
9094         (quoteAuthority): Implemented.
9095         (quote(String,String)): New method.
9096         (quotePath): Implemented.
9097         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9098         (getSchemeSpecificPart): Removed FIXME comment.
9099         (getRawAuthority): Return new rawAuthority field.
9100         (getAuthority): Removed FIXME comment.
9101         (getRawUserInfo): Return new rawUserInfo field.
9102         (getUserInfo): Removed FIXME comment.
9103         (getRawPath): Return new rawPath field.
9104         (getPath): Removed FIXME comment.
9105         (getRawQuery): Return new rawQuery field.
9106         (getQuery): Removed FIXME comment.
9107         (getRawFragment): Return new rawFragment field.
9108         (getFragment): Removed FIXME comment.
9109
9110 2004-03-20  Michael Koch  <konqueror@gmx.de>
9111
9112         * java/net/URLConnection.java: Merged copyright year with classpath.
9113
9114 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9115
9116         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9117         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9118         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9119         rmi-message.
9120         (getObjectInputStream): Return object reference, throw IOException if null.
9121         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9122         (getObjectOutputStream): Return object reference, throw IOException if null.
9123         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9124         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9125         (UnicastConnectionManager): Throw RemoteException if port is not available.
9126         (getInstance): Throw RemoteException.
9127         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9128         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9129         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9130         Collect Exceptions which are returned by a rmi-call and fix void returns.
9131         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9132         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9133         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9134         (dispatch): Answer ping messages which are sent by other java implementions.
9135         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9136         for every rmi-message and fix void return problems.
9137         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9138         (UnicastServerRef): Throw RemoteException.
9139         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9140         In some situations it is necessary to export a subclass of the class which has the _Stub.
9141         For instance when the class with has the _Stub is abstract.
9142         (findStubSkelClass): New method which looks for the class which has the _Stub.
9143         (getClientHost): Implementated.
9144         * gcc/libjava/java/rmi/server/RemoteServer.java
9145         (getClientHost): Implementated.
9146         * gcc/libjava/Makefile.am (rmi_java_source_files):
9147         Added gnu/java/rmi/server/RMIIncomingThread.java.
9148         * Makefile.in: Regenerated.
9149
9150 2004-03-20  Michael Koch  <konqueror@gmx.de>
9151
9152         * java/net/InetAddress.java
9153         (getLocalHostname): Added javadoc.
9154
9155 2004-03-19  Per Bothner  <per@bothner.com>
9156
9157         * configure.in: FILE variable  overrides FLATFORM when linking
9158         natFileChannelXXX.cc.
9159
9160         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9161         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9162
9163 2004-03-19  Per Bothner  <per@bothner.com>
9164
9165         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9166         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9167         * Makefile.am:  Update accordingly.
9168         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9169         as aliases for UnicodeLittle and UnicodeBig.
9170
9171 2004-03-20  Mark Wielaard  <mark@klomp.org>
9172
9173         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9174         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9175         Don't access ws when it is null.
9176         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9177         Likewise.
9178
9179 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9180
9181         * java/lang/ThreadGroup.java (list): Changed print to println.
9182
9183 2004-03-19  Mark Wielaard  <mark@klomp.org>
9184
9185         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9186         happy.
9187
9188 2004-02-10  Randolph Chung  <tausq@debian.org>
9189  
9190         * configure.in: Build java for hppa target.
9191         * configure: Regenerate.
9192         * libjava/configure.host (hppa-*): Add target.
9193         * libjava/sysdeps/pa/lock.h: New file.
9194
9195 2004-03-19  Mark Wielaard  <mark@klomp.org>
9196
9197         Reported by Stephen Crawley
9198         * java/io/FilePermission.java (implies): Use String.length() -1 to
9199         access last char of String.
9200
9201 2004-03-19  Michael Koch  <konqueror@gmx.de>
9202
9203         * java/awt/image/AffineTransformOp.java
9204         (AffineTransformOp): Made public.
9205         * javax/swing/JComponent.java
9206         (listenerList): Made protected.
9207         (accessibleContext): Likewise.
9208         * javax/swing/JList.java
9209         (valueChanged): Dont use internal fields of ListSelectionEvent.
9210         * javax/swing/JViewport.java
9211         (getView): Dont use internal fields of Component.
9212         (addImpl): Likewise.
9213         * javax/swing/Timer.java
9214         (isRunning): Made public.
9215         (start): Likewise.
9216         (stop): Likewise.
9217         * javax/swing/UIDefaults.java
9218         (getInt): Made public.
9219         * javax/swing/plaf/basic/BasicListUI.java
9220         (mousePressed): Dont use internal fields of MouseEvent.
9221         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9222         * javax/swing/plaf/basic/BasicScrollBarUI.java
9223         (arrowIcon): Made static.
9224         * javax/swing/plaf/basic/BasicViewportUI.java
9225         (stateChanged): Dont use internal field on ChangeEvent.
9226         * javax/swing/text/JTextComponent.java
9227         (getUI): Call UIManager.getUI().
9228         (updateUI): Use getUI().
9229
9230 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9231
9232         * verify.cc: Undef PC.
9233
9234 2004-03-18  Michael Koch  <konqueror@gmx.de>
9235
9236         * java/nio/channels/spi/AbstractSelectableChannel.java
9237         (keys): Initialize at declaration.
9238         (locate): keys cant be null.
9239         (add): Removed.
9240         (addSelectionKey): New method.
9241         (removeSelectionKey): New method.
9242         * java/nio/channels/spi/AbstractSelectionKey.java
9243         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9244         * java/nio/channels/spi/AbstractSelector.java
9245         (provider): Javadoc added.
9246         (cancelledKeys): Javadoc added.
9247         (cancelKey): Javadoc added, add key to cancelledKeys.
9248         (deregister): Implemented.
9249
9250 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9251
9252         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9253         MAP_FAILED to void *.
9254
9255 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9256
9257         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9258         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9259         * javax/swing/JList.java (ListListener): Revalidate on changes.
9260         * javax/swing/JScrollPane.java: Reimplement.
9261         * javax/swing/JViewport.java: Reimplement.
9262         * javax/swing/ScrollPaneLayout.java: Reimplement.
9263         * javax/swing/ViewportLayout.java: Tidy up.
9264         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9265         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9266         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9267         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9268         backing store only.
9269
9270 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9271
9272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9273         (window_wm_protocols_filter): New function.
9274         (window_focus_in_cb): Remove function.
9275         (window_focus_out_cb): Likewise.
9276         (window_focus_or_active_state_change_cb): New function.
9277         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9278         (connectSignals): Don't attach handlers to focus-in-event or
9279         focus-out-event signals.  Handle notify signal.
9280
9281 2004-03-11  David Jee  <djee@redhat.com>
9282
9283         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9284         (gtkSetLabel): New native method declaration.
9285         (setLabel): Use gtkSetLabel.
9286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9287         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9288
9289 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9290
9291         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9292         black when color argument is null.
9293
9294 2004-03-10  Kim Ho  <kho@redhat.com>
9295
9296         * java/awt/Container.java: Remove check
9297         for drag events.
9298
9299 2004-03-10  Kim Ho  <kho@redhat.com>
9300
9301         * java/awt/Container.java: (visitChild):
9302         Remove candidate clip. Use the component
9303         clip to intersect.
9304         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9305         (handleEvent): Use the PaintEvent's clip.
9306
9307 2004-03-10  Kim Ho  <kho@redhat.com>
9308
9309         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9310         (handleEvent): Don't set the clip for the
9311         Graphics object.
9312
9313 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9314
9315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9316         Fix double <-> fixed macros, reset font transform.
9317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9318         Likewise.
9319
9320 2004-03-09  Kim Ho  <kho@redhat.com>
9321
9322         * java/awt/Container.java: (visitChild): Move
9323         the x and y coordinate of the component rectangle
9324         to correct position.
9325         (handleEvent): Forward drag events to the pressed
9326         component.
9327         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9328         Fix comments.
9329         (ArrowButtonListener::mousePressed): Stop the
9330         existing timer.
9331         (mouseDragged): Implement.
9332         (TrackListener::mousePressed): Only react if
9333         the press doesn't occur on the thumb, otherwise
9334         just set the offset.
9335         (TrackListener::mouseReleased): Unset the isAdjusting
9336         value.
9337         (createIncreaseIcon): Switch icon.
9338         (createDecreaseIcon): Switch icon.
9339         (calculatePreferredSize): Use width.
9340         (getThumbBounds): Use the top as the lower value.
9341         (layoutVScrollBar): Switch the button locations.
9342         (paintIncreaseHighlight): Paint correct side of thumb.
9343         (paintDecreaseHighlight): ditto.
9344         (valueForYPosition): Use top as the lower value.
9345         * javax/swing/plaf/basic/BasicSliderUI.java:
9346         Fix comments.
9347         (mouseDragged): Implement.
9348         (mousePressed): Only react when the thumb isn't
9349         pressed, otherwise just set offset.
9350         (mouseReleased): Handle a release of the thumb.
9351         (scrollDueToClickInTrack): Stop the timer first.
9352         * javax/swing/JProgressBar.java:
9353         (setString): Fix change condition.
9354         * javax/swing/JSeparator.java:
9355         Remove println's.
9356
9357 2004-03-08  David Jee  <djee@redhat.com>
9358
9359         * java/awt/image/AffineTransformOp.java:
9360         (filter): Use Graphics2D interface instead of directly using the
9361         GdkGraphics2D peer.
9362
9363 2004-03-05  David Jee  <djee@redhat.com>
9364
9365         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9366         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9367         * java/awt/Container.java
9368         (acquireComponentForMouseEvent): Fixed.
9369         (handleEvent): Fixed.
9370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9371         (state_to_awt_mods_with_button_states): New method.
9372         (pre_event_handler): Fixed mouse event generation.
9373
9374 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9375
9376         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9377         (GdkGraphics2D (BufferedImage)): Initialize
9378         pixmap associated with specified BufferedImage.
9379         (setPaint): Changed implementation of Texture
9380         Paint to use AffineTransformOp.
9381         * java/awt/image/AffineTransformOp.java
9382         (createCompatibleDestRaster): Throw RasterFormatException 
9383         if resulting width or height of raster is 0.
9384
9385 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9386
9387         * java/awt/image/AffineTransformOp.java:
9388         Removed unnecessary field interpolationType.
9389         Formatted some of the lines to be consistent with 
9390         the GNU style.
9391         (AffineTransformOp): Create new RenderingHints 
9392         containing specified interpolation type.
9393         (createCompatibleDestImage): Implemented.
9394         (createCompatibleDestRaster): Implemented.
9395         (filter): Implemented.
9396         (getBounds2D(BufferedImage)): Implemented.
9397         (getBounds2D(Raster)): Implemented.
9398         (getInterpolationType): Get interpolation value from 
9399         rendering hints.
9400
9401 2004-03-04  David Jee  <djee@redhat.com>
9402
9403         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9404         (setFont): Check if child peers are null.
9405
9406 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9407
9408         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9409         .libs in -L option.
9410         (libjava_arguments): Add new libraries to argument list.
9411
9412 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9413
9414         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9415         * Makefile.in: Re-generated.
9416         * java/awt/image/AffineTransformOp.java: New Class.
9417
9418 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9419
9420         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9421         (setPaint): Interpret correctly TexturePaint's
9422         anchor rectangle.
9423         (drawImage): Fixed scale factors of the affine
9424         transform.
9425
9426 2004-02-27  David Jee  <djee@redhat.com>
9427
9428         * gnu/java/awt/peer/gtk/GdkGraphics.java
9429         (GdkGraphics(Component)): Inherit font from component.
9430         (drawString): Use font style.
9431         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9432         (gtkSetFont): New native method declaration.
9433         (setFont): New method.
9434         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9435         (gtkSetFont): New native method declaration.
9436         (setFont): Call new native method gtkSetFont.
9437         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9438         (setFont): For all child components who do not their fonts set,
9439         set their peers' fonts with this container's font.
9440         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9441         Move all native method declarations to the top for readability.
9442         (gtkSetFont): New native method declaration.
9443         (setFont): New method.
9444         * java/awt/Component.java
9445         (setFont): Invalidate after setting the font.
9446         * java/awt/Container.java
9447         (invalidateTree): New method.
9448         (setFont): Invalidate the container tree after setting the font.
9449         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9450         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9451         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9452         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9453         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9454         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9456         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9457
9458 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9459
9460         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9461         (updateBufferedImage): New helper function.
9462         Updates BufferedImage in memory if it was changed.
9463         (draw): changed to update BufferedImage in memory after
9464         this drawing operation
9465         (fill): Ditto.
9466         (draw3DRect): Ditto.
9467         (fill3DRect): Ditto.
9468         (clearRect): Ditto.
9469         (drawRaster): Ditto.
9470         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9471         no affine transformation.
9472         (drawGlyphVector): Ditto.
9473
9474 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9475
9476         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9477         (isBufferedImageGraphics): New Helper function. 
9478         Returns true if this graphics2d can be used to draw 
9479         into buffered image and false otherwise.
9480         (updateImagePixels): New Helper function. 
9481         Updates pixels in the BufferedImage.
9482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9483         (getImagePixels): New function. Returns pixels
9484         of the buffered image associated with 
9485         this Graphics2D.
9486
9487 2004-02-26  David Jee  <djee@redhat.com>
9488
9489         * java/awt/BorderLayout.java
9490         (layoutContainer): Fix width and height calculations to ensure
9491         that they're non-negative.
9492         * java/awt/Component.java
9493         (setBackground): If c is null, inherit from closest ancestor whose
9494         background color is set.
9495
9496 2004-02-26  Kim Ho  <kho@redhat.com>
9497
9498         * Makefile.am: Add new files.
9499         * Makefile.in: Re-generate.
9500         * javax/swing/JProgressBar.java: 
9501         (JProgressBar(int, int int)): Throw
9502         IllegalArgumentException if orientation is
9503         invalid.
9504         (JProgressBar(BoundedRangeModel)): Create
9505         ChangeListener and register it. UpdateUI.
9506         (getChangeListeners): Implement.
9507         (setModel): Reset ChangeListener.
9508         * javax/swing/JScrollBar.java: Implement.
9509         * javax/swing/JSeparator.java: Implement.
9510         * javax/swing/JSlider.java:
9511         (JSlider(int, int, int, int)): Throw 
9512         IllegalArgumentException if orientation
9513         is invalid.
9514         (getChangeListeners): Fix method name.
9515         * javax/swing/SwingUtilities.java:
9516         (layoutCompoundLabel): If there is no text,
9517         set the text rectangle dimensions to 0.
9518         * javax/swing/plaf/basic/BasicButtonUI.java:
9519         (paint): If there is no text, don't paint it.
9520         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9521         Implement.
9522         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9523         Implement.
9524         * javax/swing/plaf/basic/BasicSliderUI.java: 
9525         (propertyChange): If the model changes, change
9526         the listeners accordingly.
9527
9528 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9529
9530         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9531         * javax/swing/JList.java: Reimplement.
9532         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9533         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9534         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9535         * javax/swing/ListModel.java: Javadoc.
9536         * javax/swing/ListSelectionModel.java: Add missing methods.
9537         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9538         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9539         * javax/swing/ListModel.java: Javadoc and corrections.
9540         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9541
9542 2004-02-25  David Jee  <djee@redhat.com>
9543
9544         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9545         (GtkFontPeer): Change default size to 12.
9546         * gnu/java/awt/peer/gtk/GtkToolkit.java
9547         (getFontPeer): Change default size to 12.
9548         (getClasspathFontPeer): Likewise. Set default name to "Default".
9549         * java/awt/Font.java
9550         (Font(Map)): Call Font(String,Map).
9551         (Font(String,Map)): If attrs is null, initialize it as an empty
9552         HashMap, which will ensure that the Font will get default attributes.
9553
9554 2004-02-25  David Jee  <djee@redhat.com>
9555
9556         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9557         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9558         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9559         * gnu/java/awt/peer/gtk/GtkToolkit.java
9560         (getFontPeer(String,int)): Call the new overload method with size 1.
9561         (getFontPeer(String,int,int)): New method. Overloaded with size
9562         attribute.
9563         (getClasspathFontPeer): Set the size of the font.
9564
9565 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9566
9567         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9568         (bimage): New field.
9569         (GdkGraphics2D): New Constructor. Constructs Graphics
9570         object that can be used to draw into the Buffered Image.
9571         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9572         (GdkGraphicsEnvironment): Fixed to include public 
9573         keyword.
9574         (createGraphics): Implemented.
9575         * gnu/java/awt/peer/gtk/GtkToolkit.java
9576         (getLocalGraphicsEnvironment): Implemented.
9577         * java/awt/GraphicsEnvironment.java:
9578         (getLocalGraphicsEnvironment): Implemented.
9579         * java/awt/image/BufferedImage.java:
9580         (createGraphics): Implemented.
9581                 
9582 2004-02-24  David Jee  <djee@redhat.com>
9583
9584         * java/awt/Component.java
9585         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9586         * java/awt/Container.java
9587         (addNotifyContainerChildren): Fix event enabling.
9588
9589 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9590
9591         * Makefile.am: Added 
9592         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9593         * Makefile.in: Re-generated.
9594         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9595         New Class. 
9596         
9597 2004-02-19  Kim Ho  <kho@redhat.com>
9598
9599         * Makefile.am: Add BasicProgressBarUI
9600         * Makefile.in: Regenerate.
9601         * javax/swing/JProgressBar.java: 
9602         Re-implement.
9603         * javax/swing/plaf/basic/BasicLookAndFeel.java
9604         Add constants for JProgressBar.
9605         * javax/swing/plaf/basic/BasicProgressBarUI.java
9606         Implement.
9607         * javax/swing/plaf/basic/BasicSliderUI.java
9608         Change comments.
9609         (calculateGeometry): New method
9610         (paint): Remove unnecessary size calculations.
9611
9612 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9613
9614         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9615         (drawRaster): Fixed small error that caused
9616         imageToUser transformation to be set incorrectly.
9617         (toString): Implemented.
9618
9619 2004-02-18  David Jee  <djee@redhat.com>
9620
9621         * java/awt/CardLayout.java
9622         (addLayoutComponent): Show the first component added as the default.
9623         (removeLayoutComponent): After removing, show the next component.
9624         (gotoComponent): If there is only one component, show it and return.
9625
9626 2004-02-18  Kim Ho  <kho@redhat.com>
9627
9628         * javax/swing/JSlider.java: Re-order
9629         modifiers.
9630         * javax/swing/JLabel.java: Re-order
9631         modifiers.
9632         * javax/swing/JComponent.java: 
9633         (addPropertyChangeListener):
9634         Implement.
9635         (removePropertyChangeListener):
9636         ditto.
9637         (firePropertyChangeEvent):
9638         ditto.
9639
9640 2004-02-17  David Jee  <djee@redhat.com>
9641
9642         * java/awt/Component.java
9643         (show): Dispatch ComponentEvent via system event queue.
9644         (hide): Likewise.
9645         (move): Likewise.
9646         (resize): Likewise.
9647         (reshape): Likewise.
9648         * java/awt/Window.java
9649         (setBoundsCallback): Likewise.
9650
9651 2004-02-17  David Jee  <djee@redhat.com>
9652
9653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9654         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9655         Use gtk_widget_set_size_request() instead of the deprecated
9656         gtk_widget_set_usize().
9657
9658 2004-02-17  Kim Ho  <kho@redhat.com>
9659
9660         * javax/swing/JSlider.java: Fix comments and
9661         make property strings constants.
9662         (createStandardLabels): Use the labels
9663         preferred size as bounds.
9664         * javax/swing/plaf/basic/BasicSliderUI.java
9665         Fix comments.
9666         (ScrollHandler::actionPerformed): Don't
9667         calculate the timer stop value. Let the
9668         MouseListeners find the stop location.
9669         (getPreferredHorizontalSize): Re-implement.
9670         (getPreferredVerticalSize): ditto.
9671         (getMinimumHorizontalSize): ditto.
9672         (getMinimumVerticalSize): ditto.
9673         (getPreferredSize): ditto.
9674         (getMinimumSize): ditto.
9675         (getMaximumSize): ditto.
9676         (paintTicks): Use doubles to find the
9677         tick location.
9678         (paintHorizontalLabel):  Use preferredSize
9679         as initial width and height.
9680         (paintVerticalLabel): ditto.
9681
9682 2004-02-17  Kim Ho  <kho@redhat.com>
9683
9684         * javax/swing/JLabel.java: Changed 
9685         property strings to constants.
9686         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9687         New property.
9688         (setText): Change mnemonic index if
9689         text is too short.
9690         (setDisplayedMnemonicIndex): Fire property
9691         change event.
9692         (getDisplayedMnemonicIndex): Remove check
9693         against short text.
9694
9695 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9696
9697         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9698         (drawImage(img,xform,obs)): Invert xform before
9699         passing the xform to cairo.
9700         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9701         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9702         implemented.
9703         (drawImage (img,x,y,w,h,obs)): Implemented.
9704         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9705         bgcolor,obs)): Partly implemented.
9706         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9707         Implemented.
9708         * java/awt/image/BufferedImage.java:
9709         (copyData): if dest is null, create raster with same
9710         dimensions as the current image.
9711
9712 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9713
9714         * javax/swing/plaf/basic/BasicLabelUI.java 
9715         (getPreferredSize): Use layoutCL.
9716         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9717         (getPreferredButtonSize): Start with empty view rect, layout using
9718         component's preferred alignment.
9719         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9720         List defaults.
9721
9722 2004-02-16  David Jee  <djee@redhat.com>
9723
9724         * java/awt/Component.java
9725         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9726         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9727         (move): Erase old bounds and repaint new bounds. Dispatch
9728         COMPONENT_MOVED ComponentEvent.
9729         (resize): Erase old bounds and repaint new bounds. Dispatch
9730         COMPONENT_RESIZED ComponentEvent.
9731         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9732         ComponentEvents.
9733         * java/awt/Window.java
9734         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9735         ComponentEvents.
9736
9737 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9738
9739         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9740         (setRenderingHint): Added implementation of 
9741         Interpolation rendering hints.
9742         (setRenderingHints): Ditto.
9743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9744         (drawPixels): fixed to allow user to choose type 
9745         of filtering that should be used when displaying images.
9746         (cairoSurfaceSetFilter): New method. Sets filter type for 
9747         interpolation of pixel values.
9748
9749 2004-02-16  David Jee  <djee@redhat.com>
9750
9751         * java/awt/GridBagLayout.java
9752         (calcCellSizes): Rows or columns with zero sizes should still be
9753         considered for extra space distribution.
9754
9755 2004-02-16  Kim Ho  <kho@redhat.com>
9756
9757         * javax/swing/JLabel.java: Re-implement.
9758         * javax/swing/plaf/basic/BasicLabelUI.java
9759         Re-implement.
9760         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9761         Added constant.
9762
9763 2004-02-16  Kim Ho  <kho@redhat.com>
9764
9765         * javax/swing/JSlider.java: Fix indentation and comments.
9766         (setModel): Remove null check to conform with Sun's.
9767         (setOrientation): Throw exception if not
9768         HORIZONTAL or VERTICAL.
9769         (getInverted): Use private variable instead of 
9770         ComponentOrientation.
9771         (setInverted): ditto.
9772         * javax/swing/plaf/basic/BasicSliderUI.java:
9773         Fix indentation and comments.
9774         (propertyChange): Remove check for inverted slider, handle
9775         in main paint.
9776         (getMinimumSize): Return preferred size.
9777         (getMaximumSize): ditto.
9778         (calculateFocusRect): Don't relocate rectangle.
9779         (drawInverted): Return XOR of the slider's inversion and 
9780         the component's orientation.
9781         (paint): Update leftToRightCache
9782
9783 2004-02-13  David Jee  <djee@redhat.com>
9784
9785         * java/awt/GridBagLayout.java
9786         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9787         code to helper methods.
9788         (sortBySpan): New helper method.
9789         (distributeSizeAndWeight): Likewise.
9790         (calcCellWeights): Likewise.
9791         (calcCellSizes): Add comments.
9792
9793 2004-02-13  David Jee  <djee@redhat.com>
9794
9795         * java/awt/Component.java
9796         (show): Only do something if component is invisible at the moment.
9797         (hide): Only do something if component is visible at the moment.
9798         (reshape): If lightweight, erase old bounds and repaint new bounds.
9799
9800 2004-02-13  Kim Ho  <kho@redhat.com>
9801
9802         * Makefile.am: Updated for new file.
9803         * Makefile.in: Regenerated.
9804         * javax/swing/JSlider.java: Reimplement.
9805         * javax/swing/SwingUtilities.java
9806         (layoutCompoundLabel): Use icon height
9807         instead of width.
9808         (paintComponent): Implement.
9809         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9810         Add JSlider defaults.
9811         * javax/swing/plaf/basic/BasicSliderUI.java:
9812         Implement. New file.
9813
9814 2004-03-17  Michael Koch  <konqueror@gmx.de>
9815
9816         * gnu/java/net/PlainDatagramSocketImpl.java
9817         (RECEIVE_LOCK): New member field.
9818         (SEND_LOCK): New member field.
9819         (send0): New method.
9820         (send): Synchronize on SEND_LOCK.
9821         (receive0): New method.
9822         (receive): Synchronize on RECEIVE_LOCK.
9823         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9824         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9825         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9826         (send0): Renamed from send.
9827         (receive0): Renamed from receive.
9828 2004-03-17  Michael Koch  <konqueror@gmx.de>
9829
9830         * gnu/java/net/natPlainSocketImplPosix.cc
9831         (write): Just call write(jbyteArray, offset, len).
9832         (read): Just call read(jbyteArray, offset, len).
9833
9834 2004-03-16  Michael Koch  <konqueror@gmx.de>
9835
9836         * javax/swing/JTabbedPane.java
9837         (serialVersionUID): New field.
9838
9839 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9840
9841         * java/net/InetAddress.java
9842         (getByName): Handle hostname == "" case.
9843
9844 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9845
9846         Reported by: Adam Heath <doogie@debian.org>
9847         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9848         class loader.
9849
9850 2004-03-15  Michael Koch  <konqueror@gmx.de>
9851
9852         * java/util/Locale.java: Reverting my last patch
9853         and add a comment why the original version was okay.
9854
9855 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9856
9857         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9858         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9859         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9860         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9861
9862 2004-03-12  Michael Koch  <konqueror@gmx.de>
9863
9864         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9865
9866 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9867
9868         * java/net/URI.java (toURL): Implemented.
9869
9870 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9871
9872         * java/net/URI.java
9873         (URI_REGEXP) updated to contain scheme specific part.
9874         (SCHEME_SPEC_PART_GROUP) new constant.
9875         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9876         updated to make room for SCHEME_SPEC_PART_GROUP.
9877         (parseURI) parse scheme specific part.
9878         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9879         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9880         getQuery, getFragment) implemented.
9881
9882 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9883
9884         * libraries/javalib/java/net/URI.java
9885         partially implemented using java.util.regex.
9886         (URI_REGEXP) new constant. Used to parse URIs.
9887         (SCHEME_GROUP) new constant representing index of scheme group
9888         in parsed URI.
9889         (AUTHORITY_GROUP) new constant representing index of authority
9890         group in parsed URI.
9891         (PATH_GROUP) new constant representing index of path group in
9892         parsed URI.
9893         (QUERY_GROUP) new constant representing index of query group in
9894         parsed URI.
9895         (FRAGMENT_GROUP) new constant representing index of fragment
9896         group in parsed URI.
9897         (getURIGroup) new static utility method.
9898         (parseURI) implemented.
9899         (quote) stub for new static utility method.
9900         (quoteAuthority) stub for new static utility method.
9901         (quoteHost) stub for new static utility method.
9902         (quotePath) stub for new static utility method.
9903         (quoteUserInfo) stub for new static utility method.
9904         (URI) implemented.
9905         (create) don't throw URISyntaxException. Implemented.
9906         (toString) implemented.
9907
9908 2004-03-12  Michael Koch  <konqueror@gmx.de>
9909
9910         * java/net/HttpURLConnection.java
9911         (getResponseCode): Fix another typo in javadoc.
9912
9913 2004-03-11  Michael Koch  <konqueror@gmx.de>
9914
9915         * java/util/logging/Level.java
9916         (parse): Use String.equals() instead of ==.
9917
9918 2004-03-11  Michael Koch  <konqueror@gmx.de>
9919
9920         * gnu/java/net/protocol/jar/Connection.java
9921         (getContentLength): New method.
9922
9923 2004-03-11  Michael Koch  <konqueror@gmx.de>
9924
9925         * gnu/java/net/PlainSocketImpl.java:
9926         Reformated to merge better with classpath's version.
9927
9928 2004-03-11  Michael Koch  <konqueror@gmx.de>
9929
9930         * java/util/Locale.java
9931         (getISO3Language): Use String.equals() instead of ==.
9932         (getISO3Country): Likewise.
9933
9934 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9935
9936         * java/text/AttributedString.java
9937         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9938         Use HashMap instead of Hashtable since value can be null, and
9939         you can not store a null value in a Hashtable.
9940
9941 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9942
9943         * java/text/AttributedStringIterator.java
9944         (getAllAttributesKey): Return only keys concerned
9945         by the current iterator.
9946         (getAttributes): Use strict inequality for
9947         end_index. 
9948
9949 2004-03-11  Michael Koch  <konqueror@gmx.de>
9950
9951         * java/net/HttpURLConnection.java:
9952         Fixed typo in javadoc.
9953
9954 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9955
9956         * java/io/BufferedInputStream.java (marktarget): New field for max
9957         mark limit.
9958         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9959         (mark): Use new fields.
9960         (read): Likewise.
9961         (read(byte[],int,int)): Likewise.
9962         (skip): Likewise.
9963         (refill): Likewise.
9964
9965 2004-03-11  Mark Wielaard  <mark@klomp.org>
9966
9967         * java/beans/BeanDescriptor.java (BeanDescriptor):
9968         Set the FeatureDescriptor programmatic name.
9969
9970 2004-03-11  Michael Koch  <konqueror@gmx.de>
9971
9972         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9973         This file was was just copied form java/io/natFileDescriptorEcos.cc
9974         and never changed to compile correctly.
9975
9976 2004-03-11  Michael Koch  <konqueror@gmx.de>
9977
9978         * gnu/java/nio/PipeImpl.java
9979         (SourceChannelImpl): Made final.
9980         (read): Implemented.
9981         (SinkChannelImpl): Made final.
9982         (write): Implemented.
9983
9984 2004-03-11  Michael Koch  <konqueror@gmx.de>
9985
9986         * gnu/java/net/PlainDatagramSocketImpl.java:
9987         Reformated to match classpath's version more.
9988
9989 2004-03-11  Michael Koch  <konqueror@gmx.de>
9990
9991         * gnu/java/awt/peer/ClasspathFontPeer.java:
9992         Fixed javadoc to be correct xhtml.
9993         * gnu/java/awt/peer/gtk/GtkArgList.java
9994         (add): Use Boolean.valueOf() instead of new Boolean().
9995
9996 2004-03-09  Michael Koch  <konqueror@gmx.de>
9997
9998         * java/lang/Thread.java
9999         (runnable): Moved around.
10000         (daemon): Renamed from daemon_flag.
10001         (contextClassLoader): Renamed from context_class_loader.
10002         (Thread): Reordered constructors.
10003         (activeCount): Use group directly.
10004         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10005         (holdsLock): Reworked javadoc.
10006         (setDaemon): Reworked.
10007         * java/lang/natThread.cc
10008         (destroy): Removed.
10009
10010 2004-03-08  Anthony Green  <green@redhat.com>
10011
10012         * Makefile.am: Build property resource files into libgcj.
10013         * Makefile.in: Rebuilt.
10014         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10015         java/util/regex/PatternSyntaxException.java,
10016         gnu/regexp/CharIndexed.java,
10017         gnu/regexp/CharIndexedCharArray.java,
10018         gnu/regexp/CharIndexedInputStream.java,
10019         gnu/regexp/CharIndexedReader.java,
10020         gnu/regexp/CharIndexedString.java,
10021         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10022         gnu/regexp/REException.java,
10023         gnu/regexp/REFilterInputStream.java,
10024         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10025         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10026         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10027         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10028         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10029         gnu/regexp/RETokenLookAhead.java,
10030         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10031         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10032         gnu/regexp/RETokenStart.java,
10033         gnu/regexp/RETokenWordBoundary.java,
10034         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10035
10036 2004-03-03  Per Bothner  <per@bothner.com>
10037
10038         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10039         Optimize when argument is a FileChannelImpl.
10040         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10041         New native methods.
10042         * java/nio/channels/natChannels.cc:  New file for new native methods.
10043         * Makefile.am:  Update accordingly.
10044
10045 2004-03-02  Jan Hubicka  <jh@suse.cz>
10046
10047         * configure.host: Pass -fno-omit-frame-pointer for i386.
10048         * configure.in: Likewise.
10049         * configure: Regenerate.
10050
10051 2004-03-01  Per Bothner  <per@bothner.com>
10052
10053         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10054
10055 2004-02-29  Per Bothner  <per@bothner.com>
10056
10057         * java/nio/channels/FileChannelImpl.java:  Moved to package
10058         gnu/java/nio/channels, since we need to refer to it from java.io.
10059         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10060         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10061         from java/nio/channels.  Don't depend on FileDescriptor.
10062         (in, out, err):  New static fields.
10063         (mode):  New field.
10064         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10065         from FileDescriptor.
10066         (by):  Removed MappedByteBuffer field.
10067         (map):  New working implementation.
10068         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10069         some code "ported" from natFileDescriptoPosix.cc.
10070         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10071         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10072         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10073         Remove native methods.
10074         * Makefile.am, configure.in:  Updated accordingly.
10075
10076         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10077         (ch):  New FileChannelImpl field.  Update constructor to match.
10078         (releaseImpl):  Remove native method.  Instead ...
10079         (release):  Call unlock on channel.
10080         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10081
10082         * java/io/natFileDescriptorEcos.cc:  Remove file.
10083         * java/io/natFileDescriptorPosix.cc:  Remove file.
10084         * java/io/natFileDescriptorWin32.cc:  Remove file.
10085         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10086         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10087         (<init>(FileChannelImpl)):  New package-private constructor.
10088         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10089         (available, close, read, skip):  Implement using FileChannelImpl.
10090         (getFD):  Allocate FileDescriptor if needed.
10091         (getChannel):  Is now trivial.
10092         * java/io/FileOutputStream.java:  Corresponding changes.
10093         * java/io/RandomAccessFile.java:  Corresponding changes.
10094
10095         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10096         unmapImpl):  New dummy methods, to be overridden by subclass.
10097         (finalize, isLoaded, load, force):  New methods.
10098         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10099         Now works, at least for read mapping.
10100
10101         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10102         streams using FileChannelImpl, not FileDescriptor.
10103         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10104
10105 2004-02-28  Michael Koch  <konqueror@gmx.de>
10106
10107         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10108         wrong code.
10109
10110 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10111
10112         * java/io/ObjectInputStream.java
10113         (readClassDescriptor): Keep elements of the mapping non null.
10114         (checkTypeConsistency): New method.
10115         (readFields): Fixed main loop and base logic. Small reindentation.
10116         * java/io/ObjectStreamField.java
10117         (lookupField): New method to update the field reference.
10118         (checkFieldType): New method.
10119         * java/io/ObjectStreamClass.java
10120         (setClass, setFields): Call lookupField when building the field
10121         database. Check the real field type.
10122
10123 2004-02-28  Michael Koch  <konqueror@gmx.de>
10124
10125         * java/nio/ByteOrder.java
10126         (nativeOrder): Use equals() to compare strings.
10127
10128 2004-02-26  Michael Koch  <konqueror@gmx.de>
10129
10130         * gnu/java/nio/FileLockImpl.java
10131         (finalize): Made protected.
10132         * java/nio/channels/FileChannel.java
10133         (MapMode.READ_ONLY): Made final.
10134         (MapMode.READ_WRITE): Made final.
10135         (MapMode.PRIVATE): Made final.
10136         * java/nio/channels/SocketChannel.java
10137         (open): Simplified code.
10138         * java/nio/channels/spi/AbstractSelectableChannel.java
10139         (registered): Unused, removed.
10140         (keyFor): Check channel is open, only locate key
10141         and not add a new one.
10142         (register): Don't delete attachments.
10143
10144 2004-02-26  Michael Koch  <konqueror@gmx.de>
10145
10146         * gnu/java/awt/ComponentDataBlitOp.java
10147         (INSTANCE): Made final.
10148         * gnu/java/awt/image/ImageDecoder.java:
10149         Reworked imports.
10150         (cm): Unused, removed.
10151
10152 2004-02-26  Michael Koch  <konqueror@gmx.de>
10153
10154         * gnu/java/nio/DatagramChannelImpl.java
10155         (send): Check if target address is resolved.
10156
10157 2004-02-26  Michael Koch  <konqueror@gmx.de>
10158
10159         * Makefile.am: Generate and install headers for inner classes in
10160         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10161         * Makefile.in: Regenerated.
10162
10163 2004-02-24  Anthony Green  <green@redhat.com>
10164
10165         * java/lang/StringBuffer.java: No need to NULL out remainder of
10166         buffer since ensureCapacity_unsynchronized will have done this for
10167         us.
10168
10169 2004-02-20  Michael Koch  <konqueror@gmx.de>
10170
10171         * gnu/java/net/protocol/jar/Handler.java
10172         (): Removed unneeded check for file != null. java.net.URL.getFile()
10173         returns an empty string but never null.
10174
10175 2004-02-20  Michael Koch  <konqueror@gmx.de>
10176
10177         * gnu/gcj/convert/Convert.java
10178         (main): Use equals() to compare strings.
10179
10180 2004-02-20  Michael Koch  <konqueror@gmx.de>
10181
10182         * javax/swing/AbstractButton.java: Made several constants final.
10183         (getRolloverSelectedIcon): Made public.
10184         (getSelectedIcon): Made public.
10185
10186 2004-02-16  Per Bothner  <per@bothner.com>
10187
10188         * java/nio/CharBufferImpl.java:  Inline super constructor.
10189         * java/nio/DoubleBufferImpl.java:  Likewise.
10190         * java/nio/FloatBufferImpl.java:  Likewise.
10191         * java/nio/IntBufferImpl.java:  Likewise.
10192         * java/nio/LongBufferImpl.java:  Likewise.
10193         * java/nio/ShortBufferImpl.java:  Likewise.
10194         * java/nio/CharBuffer.java:  Remove unused constructor.
10195         * java/nio/DoubleBuffer.java:  Likewise.
10196         * java/nio/FloatBuffer.java:  Likewise.
10197         * java/nio/IntBuffer.java:  Likewise.
10198         * java/nio/LongBuffer.java:  Likewise.
10199         * java/nio/ShortBuffer.java:  Likewise.
10200         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10201         Fix buggy call to super constructor.
10202         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10203         * java/nio/FloatViewBufferImpl.java:  Likewise.
10204         * java/nio/IntViewBufferImpl.java:  Likewise.
10205         * java/nio/LongViewBufferImpl.java:  Likewise.
10206         * java/nio/ShortViewBufferImpl.java:  Likewise.
10207         
10208         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10209         java.nio classes can inherit it.
10210         (<init>):  Don't bother clearing array_offset.
10211         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10212         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10213         Remove redundant test.
10214
10215         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10216         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10217         Use new XxxViewBufferImpl constructors.
10218         * java/nio/MappedByteBufferImpl.java:  Likewise.
10219         * java/nio/DirectByteBufferImpl.java:  Likewise.
10220
10221         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10222         Inline super in remaining constructor.
10223         * java/nio/ByteBuffer.java:  Remove unused constructor.
10224
10225         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10226
10227         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10228         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10229         (offset):  Remove unused field.
10230         (<init>):  Modify one and add another constructor.  Change callers.
10231         (allocateDirect):  Removed - not used.
10232         (getImpl, putImpl):  Make static and pass address explicitly,
10233         to make them useful for MappedByteBufferImpl.
10234         (get, put):  Check for underflow.  Modify for new getImpl.
10235         (getImpl):  New native method where target is array.
10236         (get(byte[],int,int)):  Use the above.
10237         (adjustAddress):  New static native method.
10238         (slice, duplicate, asReadOnly):  New implementations.
10239         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10240         adjustAddress):  New or updated native methods.
10241
10242 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10243
10244         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10245         overflow of fieldmapping.
10246
10247 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10248
10249         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10250
10251 2004-02-14  Per Bothner  <per@bothner.com>
10252
10253         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10254         Set closed before calling implCloseChannel, as in the spec.
10255
10256 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10257
10258         * javax/swing/ToggleButtonModel.java: Remove dead class.
10259         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10260         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10261         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10262         * Makefile.am: Update for new and removed files.
10263         * Makefile.in: Regenerate.
10264
10265         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10266         * javax/swing/AbstractButton.java 
10267         (AbstractButton): Initialize fields correctly in ctor.
10268         * javax/swing/JCheckbox.java 
10269         (JCheckBox): Override painting flags.
10270         * javax/swing/DefaultButtonModel.java: Conform to sun.
10271         * javax/swing/JComponent.java (paint): Fill with background color
10272         if available.
10273         (processComponentKeyEvent)
10274         (processFocusEvent)
10275         (processKeyEvent)
10276         (processMouseMotionEvent): Remove event-consuming empty methods.
10277         (getUIClassID): Return "ComponentUI" not "JComponent"
10278         * javax/swing/JFrame.java: Remove some debugging chatter.
10279         (JFrame): Subscribe to window events.
10280         * javax/swing/JRadioButton.java 
10281         (JRadioButton): Override painting flags.
10282         * javax/swing/JRootPane.java 
10283         (JRootPane): Set background from UIDefaults.
10284         * javax/swing/JToggleButton.java 
10285         (ToggleButtonModel): New inner class.
10286         (JToggleButton): Override layout alighment.
10287         * javax/swing/SwingUtilities.java:
10288         (getLocalBounds): Return width and height, not x and y.
10289         (calculateInnerArea): Use local bounds, not bounds.
10290         (layoutCompoundLabel): Provide overridden form.
10291         (layoutCompoundLabel): Correct bugs.
10292         * javax/swing/UIDefaults.java: Correct comment.
10293         * javax/swing/plaf/basic/BasicButtonUI.java: 
10294         Move most logic into defaults, external listener.
10295         (paintIcon): Implement icon painting.
10296         (paint): Fix state painting to conform to changes in model.
10297         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10298         Remove most dead/wrong methods.
10299         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10300         * javax/swing/plaf/basic/BasicIconFactory.java:
10301         (DummyIcon): New class.
10302         (getMenuItemCheckIcon)
10303         (getMenuItemArrowIcon) 
10304         (getMenuArrowIcon)
10305         (getCheckBoxMenuItemIcon)
10306         (getRadioButtonMenuItemIcon)
10307         (createEmptyFrameIcon): Return DummyIcons, not null.
10308         (getCheckBoxIcon): Implement an icon that looks like sun's.
10309         (getRadioButtonIcon): Implement an icon that looks like sun's.
10310         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10311         (initComponentDefaults): Fix impossible values, add some missing.
10312         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10313         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10314         Remove most dead/wrong methods.
10315         (icon): New field.
10316         (getDefaultIcon): New method.
10317         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10318         Remove most dead/wrong methods.
10319         * javax/swing/plaf/metal/MetalLookAndFeel.java
10320         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10321         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10322         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10323         Implement "clearing" as drawing, when on pixmap drawables.
10324
10325         * javax/swing/JButton.java (getUIClassID): 
10326         * javax/swing/JCheckBox.java (getUIClassID):
10327         * javax/swing/JEditorPane.java (getUIClassID):
10328         * javax/swing/JLabel.java (getUIClassID): 
10329         * javax/swing/JList.java (getUIClassID): 
10330         * javax/swing/JOptionPane.java (getUIClassID): 
10331         * javax/swing/JPanel.java (getUIClassID): 
10332         * javax/swing/JPasswordField.java (uiClassID): 
10333         * javax/swing/JRadioButton.java (getUIClassID): 
10334         * javax/swing/JRootPane.java (getUIClassID): 
10335         * javax/swing/JScrollPane.java (getUIClassID): 
10336         * javax/swing/JTabbedPane.java (getUIClassID): 
10337         * javax/swing/JToggleButton.java (getUIClassID): 
10338         * javax/swing/JTree.java (getUIClassID): 
10339         * javax/swing/JViewport.java (getUIClassID): 
10340         * javax/swing/text/JTextComponent.java (getUIClassID):
10341         Return "fooUI" not "Jfoo"
10342
10343 2004-02-11  Michael Koch  <konqueror@gmx.de>
10344
10345         * java/net/DatagramSocket.java
10346         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10347         Boolean object.
10348         (setBroadcast): Likewise.
10349         * java/net/MulticastSocket.java
10350         (setLoopbackMode): Likewise.
10351         * java/net/ServerSocket.java
10352         (setReuseAddress): Likewise.
10353         * java/net/Socket.java
10354         (setTcpNoDelay): Likewise.
10355         (setSoLinger): Likewise.
10356         (setOOBInline): Likewise.
10357         (setKeepAlive): Likewise.
10358         (setReuseAddress): Likewise.
10359         * java/net/URLConnection.java
10360         (setContentHandler): Replace == with equals().
10361         * java/net/URLStreamHandler.java
10362         (hostSEquals): Fix checking host addresses.
10363         (toExternalForm): Dont check protocol for null. We know already its
10364         not null.
10365
10366 2004-02-10  David Jee  <djee@redhat.com>
10367
10368         * java/awt/BorderLayout.java
10369         (calcCompSize): Invisible components get zero dimensions.
10370         * java/awt/Button.java
10371         (setLabel): Set actionCommand.
10372         * java/awt/Component.java
10373         (show): Invalidate component and parent container.
10374         (hide): Likewise.
10375
10376 2004-02-10  David Jee  <djee@redhat.com>
10377
10378         * java/awt/GridBagLayout.java
10379         (GridBagLayout): New private field, internalcomptable.
10380         (lookupInternalConstraints): New method.
10381         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10382         (GetLayoutInfo): Reimplement.
10383         (calcCellSizes): Ignore rows/columns with size 0.
10384
10385 2004-02-10  Michael Koch  <konqueror@gmx.de>
10386
10387         * gnu/java/awt/EmbeddedWindow.java
10388         (setHandle): Use java.awt.Component.getPeer() instead of
10389         java.awt.Component.peer directly.
10390
10391 2004-02-10  David Jee  <djee@redhat.com>
10392
10393         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10394         (gtkSetLabel): New native method definition.
10395         (setLabel): Use gtkSetLabel.
10396         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10397         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10398
10399 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10400
10401         * include/powerpc-signal.h: Revert 2004-01-21 change.
10402         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10403         from syscall for ppc32 versions.
10404
10405 2004-02-08  Per Bothner  <per@bothner.com>
10406
10407         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10408         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10409         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10410         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10411         Pass ByteOrder parameter to most methods, since the underlying
10412         ByteBuffer's order isn't always what we should use.
10413         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10414         * java/nio/DirectByteBufferImpl.java:  Likewise.
10415         Use ByteBufferHelper methods.
10416         * java/nio/MappedByteBufferImpl.java:  Likewise.
10417         (compact):  Use shiftDown.
10418         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10419         (get, put):  Use ByteBufferHelper.
10420         (compact):  Use new shiftDown method.
10421         (duplicate(boolean)):  New helper method.
10422         (duplicate, asReadOnlyBuffer):  Use it.
10423         (order):  Return endian field.
10424         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10425         * java/nio/FloatViewBufferImpl.java:  Likewise.
10426         * java/nio/IntViewBufferImpl.java:  Likewise.
10427         * java/nio/LongViewBufferImpl.java:  Likewise.
10428         * java/nio/ShortViewBufferImpl.java:  Likewise.
10429         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10430         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10431         (compact):  Re-implement using shiftDown.
10432
10433 2004-02-08  Andreas Jaeger  <aj@suse.de>
10434
10435         * include/x86_64-signal.h: Fix typo.
10436
10437 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10438
10439         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10440         qualifier to _regs.
10441         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10442
10443 2004-02-06  Michael Koch  <konqueror@gmx.de>
10444
10445         * java/io/ObjectInputStream.java
10446         (currentClassLoader): Reverted to old version of this method.
10447
10448 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10449
10450         * java/io/ObjectInputStream.java: Made all calls
10451         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10452         use cached info from ObjectStreamClass. (readClassDescriptor):
10453         Cache more information in ObjectStreamClass. (processResolution,
10454         readFields): Use cached info from ObjectStreamClass.
10455         (newObject): Throw exception instead of returning null for failure.
10456         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10457         setCharField, setDoubleField, setFloatField, setIntField,
10458         setLongField, setShortField, setObjectField, readObjectParams):
10459         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10460         check.
10461         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10462         (setClass): Added call to cacheMethods() (findMethod): New method.
10463         (cacheMethods): New method. (ObjectStreamClass): Added call to
10464         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10465         AccessController.doPrivileged to invoke setAccessible.
10466         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10467         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10468         New fields.
10469         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10470         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10471         isPrimitive): Made safe for cases where type == null.
10472         (setBooleanField, setByteField, setCharField, setShortField,
10473         setIntField, setLongField, setFloatField, setDoubleField,
10474         setObjectField): New methods.
10475
10476 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10477
10478         * java/awt/Component.java (getFont): Return a default font
10479         instead of null.
10480
10481         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10482         (Scrollbar (int, int, int, int, int)): Make default page
10483         increment 10.
10484         (setValues): Only call peer.setValues if one of the values has
10485         changed.
10486         (generateName): New method.
10487         (getUniqueLong): New method.
10488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10489         (range_scrollbar): Remove structure.
10490         (post_adjustment_event): Remove function.
10491         (post_change_event): Accept jobject argument.
10492         (create): Cast jints to gdoubles.  Round scrollbar values to the
10493         nearest integer.  Clamp min, max and value settings.
10494         (connectJObject): Connect hook to widget->window.
10495         (connectSignals): Remove range_scrollbar structure variables.
10496         Remove "move-slider" connection.  Pass global peer reference to
10497         "value-changed" callback.
10498         (setLineIncrement): Cast jint value to gdouble.
10499         (setPageIncrement): Likewise.
10500         (setValues): Likewise.  Clamp min, max and value settings.
10501
10502 2004-02-05  Michael Koch  <konqueror@gmx.de>
10503
10504         * javax/swing/AbstractCellEditor.java
10505         (getCellEditorValue): Removed.
10506         * javax/swing/Box.java: Reformated.
10507         (serialVersionUID): New field.
10508         * javax/swing/ButtonGroup.java:
10509         Removed some weird whitespace.
10510         * javax/swing/CellEditor.java: Reformated.
10511         * javax/swing/CellRendererPane.java
10512         (serialVersionUID): New field.
10513         (AccessibleCellRendererPaneserialVersionUID): New field.
10514         * javax/swing/DefaultListModel.java
10515         (serialVersionUID): New field.
10516         * javax/swing/JEditorPane.java
10517         (serialVersionUID): New field.
10518         (setPage): Throws IOException.
10519         (addHyperlinkListener): Implemented.
10520         (removeHyperlinkListener): Implemented.
10521         (getHyperlinkListener): New method.
10522         * javax/swing/JFileChooser.java
10523         (serialVersionUID): New field.
10524         (AccessibleJFileChooser.serialVersionUID): New field.
10525         (addActionListener): Implemented.
10526         (removeActionListener): Implemented.
10527         (getActionListeners): New method.
10528         * javax/swing/JFormattedTextField.java
10529         (serialVersionUID): New field.
10530         (AbstractFormatter.serialVersionUID): New field.
10531         (clone): Throws CloneNotSupportedException
10532         (setEditValid): Add missing argument.
10533         (stringToValue): Throws ParseExcpetion.
10534         (valueToString): Throws ParseException.
10535         (commitEdit): Throws ParseException.
10536         * javax/swing/JLabel.java
10537         (serialVersionUID): New field.
10538         * javax/swing/JList.java
10539         (serialVersionUID): New field.
10540         (addListSelectionListener): Reformated.
10541         (removeListSelectionListener): Reformated.
10542         (getListSelectionListeners): New method.
10543         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10544         Reformated.
10545         (serialVersionUID): New field.
10546         * javax/swing/table/AbstractTableModel.java
10547         (getValueAt): Removed.
10548         (getColumnCount): Removed.
10549         (getRowCount): Removed.
10550
10551 2004-02-05  Michael Koch  <konqueror@gmx.de>
10552
10553         * java/awt/datatransfer/DataFlavor.java
10554         (imageFlavor): Javadoc added.
10555         (javaJVMLocalObjectType): Fixed.
10556
10557 2004-02-05  Michael Koch  <konqueror@gmx.de>
10558
10559         * java/lang/Thread.java
10560         (Thread): Reordered.
10561         (setContextClassLoader): Fixed javadoc comment.
10562         (setPriority): Reordered.
10563         (yield): Reordered.
10564         (initialize_native): Reordered.
10565         (gen_name): Reordered.
10566
10567 2004-02-05  Michael Koch  <konqueror@gmx.de>
10568
10569         * java/lang/Thread.java: Reordered fields, reformated much code,
10570         no functional changes, some variables renamed, javadoc comments
10571         merged.
10572
10573 2004-02-05  Michael Koch  <konqueror@gmx.de>
10574
10575         * java/util/zip/Deflater.java,
10576         java/util/zip/DeflaterOutputStream.java,
10577         java/util/zip/GZIPInputStream.java:
10578         Reformated and javadoc comments merged from classpath.
10579
10580 2004-02-05  Michael Koch  <konqueror@gmx.de>
10581
10582         * gnu/java/nio/NIOServerSocket.java
10583         (impl): Unused, removed.
10584         * gnu/java/nio/SocketChannelImpl.java
10585         (finnishConnect): Don't throw NoConnectionPendingException if not
10586         connected or no connection pending.
10587
10588 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10589
10590         * javax/swing/SwingUtilities.java: Many new functions.
10591         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10592         * javax/swing/basic/BasicGraphicsUtils.java 
10593         (getPreferredButtonSize): Start layout from top-left corner.
10594
10595 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10596
10597         * java/awt/geom/AffineTransform.java: 
10598         Corrected comments on the field definitions for
10599         m11 and m10.
10600         (shear): Fixed few errors that caused shear
10601         transformation to be performed incorrectly.
10602         (createInverse): Fixed to return correct
10603         inverse of the given matrix.
10604
10605 2004-02-03  Tom Tromey  <tromey@redhat.com>
10606
10607         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10608         PATH or LD_LIBRARY_PATH is not set in parent environment.
10609
10610 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10611
10612         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10613         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10614         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10615         java/awt/Component.java, java/awt/Container.java,
10616         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10617         java/awt/LayoutManager2.java, java/awt/List.java,
10618         java/awt/Menu.java, java/awt/MenuBar.java,
10619         java/awt/MenuItem.java, java/awt/Polygon.java,
10620         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10621         java/awt/Scrollbar.java, java/awt/TextArea.java,
10622         java/awt/TextField.java,
10623         java/awt/image/renderable/RenderContext.java,
10624         javax/swing/JApplet.java: Fix handling of alias methods, where a
10625         method has been deprecated in favour of a new one with the same
10626         funtion but a different name.  Put the method implementation in
10627         the deprecated method and have the new method call the
10628         deprecated one.  Make all other code call the new method.
10629
10630 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10631
10632         * gnu/java/nio/DatagramChannelImpl.java
10633         (inChannelOperation): New field.
10634         (isInChannelOperation): New accessor.
10635         (setInChannelOperation): New modifier.
10636         (receive): Use capacity() - position() of destination
10637         buffer instead of remaining(). Set and reset our "in
10638         channel operation indicator" before and after delegating
10639         the receive to our datagram socket. Removed testing code.
10640         Update destination buffer's current position if it is
10641         backed by a byte array (hasArray() is true).
10642         (send): Set and reset our "in channel operation indicator"
10643         before and after delegating the send to our datagram socket.
10644         Removed testing code. Update source buffer's current position
10645         if it is backed by a byte array (hasArray() is true).
10646         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10647         Use capacity() - position() of destination buffer instead
10648         of remaining().
10649         * java/net/DatagramSocket.java (receive): Don't throw an
10650         IllegalBlockingModeException if we have a non-blocking
10651         channel which initiated this operation.
10652         (send): Likewise.
10653
10654 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10655
10656         * configure.in: Add pkgconfig check for glib and gthread.
10657         * configure: Regenerate.
10658
10659 2004-02-01  Michael Koch  <konqueror@gmx.de>
10660
10661         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10662         arguments.
10663         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10664         * verify.cc (debug_print): Mark 'fmt' unused.
10665
10666 2004-01-30  Michael Koch  <konqueror@gmx.de>
10667
10668         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10669         * configure: Regenerated.
10670         * glib-2.0.m4: Removed.
10671         * gtk-2.0.m4: Removed.
10672         * libart.m4: Removed.
10673         * pkg.m4: New file.
10674
10675 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10676
10677         * gnu/java/net/PlainSocketImpl.java 
10678         (inChannelOperation): New field.
10679         (isInChannelOperation): New accessor.
10680         (setInChannelOperation): New modifier.
10681         * gnu/java/nio/ServerSocketChannelImpl.java
10682         (accept): Set and reset our server socket's PlainSocketImpl's
10683         "in channel operation" indicator before and after delegating
10684         the accept to our server socket.
10685         * gnu/java/nio/SocketChannelImpl.java
10686         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10687         operation" indicator before and after delegating the operation to
10688         our socket.
10689         (read): Likewise.
10690         (write): Likewise.
10691         * java/net/ServerSocket.java (implAccept): Don't throw an
10692         IllegalBlockingModeException if we have a non-blocking
10693         channel which initiated this accept operation.
10694         * java/net/Socket.java (connect): Don't throw an
10695         IllegalBlockingModeException if we have a non-blocking
10696         channel which initiated this connect operation.
10697         * java/nio/channels/spi/AbstractSelectableChannel.java
10698         (configureBlocking): Only call implConfigureBlocking() if
10699         the desired blocking mode is different from our current one.
10700
10701 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10702
10703         * java/io/BufferedReader.java (sbuf): New field.
10704         (readLine): Use String.valueOf instead of new String() as per
10705         Per Bothner's suggestion. Use instance sbuf field instead of a
10706         local StringBuffer instance.
10707         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10708         caller's buffer to refill().
10709         (read(void)): Pass our internal work buffer to refill if our
10710         input queue is empty.
10711         (refill): Changed return type to int. Use the specified buffer
10712         instead of our work buffer as per Bryce McKinlay's suggestion.
10713         Return the number of characters read or -1 for EOF.
10714
10715 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10716
10717         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10718
10719 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10720
10721         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10722         * Makefile.in: Re-generated.
10723         * gnu/awt/xlib/XFontPeer.java: New file.
10724         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10725         (setClip): Commented out debug printout.
10726         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10727         (getFontPeer): Return XFontPeer.
10728         (getLocalGraphicsEnvironment): New method.
10729         (getClasspathFontPeer): New method.
10730         (createFont): New method.
10731
10732 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10733
10734         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10735         return null. 
10736
10737 2004-01-29  Kim Ho  <kho@redhat.com>
10738
10739         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10740         (gtkLayoutSetVisible): New method
10741         (setMenuBar): Hide layout before setting MenuBar
10742         and reshow it after.
10743         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10744         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10745
10746 2004-01-28  Michael Koch  <konqueror@gmx.de>
10747
10748         * gnu/java/lang/ClassHelper.java
10749         (getPackagePortion): Removed.
10750
10751 2004-01-28  Michael Koch  <konqueror@gmx.de>
10752
10753         * javax/swing/JComponent.java
10754         (listenerList): Initalize globally.
10755         (ancestor_list): Removed.
10756         (veto_list): Removed.
10757         (change_list): Removed.
10758         (get_veto_list): Removed.
10759         (get_change_list): Removed.
10760         (get_ancestor_list): Removed.
10761         (removeAncestorListener): Reimplemented.
10762         (removePropertyChangeListener): Likewise.
10763         (removeVetoableChangeListener): Likewise.
10764         (addAncestorListener): Likewise.
10765         (addPropertyChangeListener): Likewise.
10766         (addVetoableChangeListener): Likewise.
10767         (getListeners): New method.
10768         (getAncestorListeners): Likewise.
10769         (getVetoableChangeListeners): Likewise.
10770         (fireVetoableChange): Throws PropertyVetoException.
10771         * javax/swing/JEditorPane.java
10772         (JEditorPane): Throws IOException.
10773
10774 2004-01-28  David Jee  <djee@redhat.com>
10775
10776         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10777         (create): Set the default foreground color to
10778         java.awt.SystemColor.windowText.
10779
10780 2004-01-27  Michael Koch  <konqueror@gmx.de>
10781
10782         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10783         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10784         Reindented to merge with classpath.
10785
10786 2004-01-27  David Jee  <djee@redhat.com>
10787
10788         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10789         (addExposeFilter): Handle GtkFramePeer separately.
10790         (removeExposeFilter): Likewise.
10791
10792 2004-01-27  Michael Koch  <konqueror@gmx.de>
10793
10794         * gnu/java/net/protocol/http/Connection.java
10795         (getOutputStream): Fixed typo.
10796
10797 2004-01-27  Michael Koch  <konqueror@gmx.de>
10798
10799         * java/lang/Class.java
10800         (getConstructor): Removed SecurityException from throws clause.
10801         (_getConstructors): Likewise.
10802         (getConstructors): Likewise.
10803         (getDeclaredConstructor): Likewise.
10804         (getDeclaredClasses): Likewise.
10805         (getDeclaredConstructors): Likewise.
10806         (getDeclaredField): Likewise.
10807         (getDeclaredMethod): Likewise.
10808         (getDeclaredMethods): Likewise.
10809         (getField): Likewise.
10810         (getMethod): Likewise.
10811         (getMethods): Likewise.
10812
10813 2004-01-27  Kim Ho  <kho@redhat.com>
10814
10815         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10816         (removeMenuBarPeer): Remove MenuBarPeer argument.
10817         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10818         (dispose): Call native method.
10819         * java/awt/Frame.java (setMenuBar): Create and remove
10820         MenuBar peers only if the Frame has a peer.
10821         (addNotify): Create the MenuBar peer if one exists.
10822         (removeNotify): Remove MenuBar peer if one exists.
10823         * java/awt/Menu.java: Fix imports.
10824         (addNotify): Don't use full class name.
10825         (removeNotify): Call removeNotify on all children.
10826         * java/awt/MenuBar.java (removeNotify): Call
10827         removeNotify on all children.
10828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10829         (removeMenuBarPeer): Remove MenuBarPeer argument.
10830         Iterate through children to find the Frame's MenuBar.
10831         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10832         New file.
10833         (dispose): Remove references to the MenuComponent.
10834
10835 2004-01-27  Michael Koch  <konqueror@gmx.de>
10836
10837         * javax/swing/AbstractCellEditor.java: Reformated.
10838         * javax/swing/DefaultListSelectionModel.java
10839         (listenerList): Made protected.
10840         (addListSelectionListener): Javadoc added.
10841         (removeListSelectionListener): Likewise.
10842         (getListeners): Likewise.
10843         (getListSelectionListeners): Likewise.
10844         * javax/swing/JComboBox.java: Merged copyright year.
10845         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10846
10847 2004-01-26  Andrew Haley  <aph@redhat.com>
10848
10849         * javax/swing/table/JTableHeader.java: Extend JComponent
10850
10851 2004-01-26  Kim Ho  <kho@redhat.com>
10852
10853         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10854         Fix spacing.
10855
10856 2004-01-26  Kim Ho  <kho@redhat.com>
10857
10858         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10859         method.
10860         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10861         height and let the Layout Managers readjust anything that
10862         needs to move.
10863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10864         (moveLayout): New method. Shift everything in the Gtk
10865         layout in the Y direction by an offset.
10866
10867 2004-01-26  David Jee  <djee@redhat.com>
10868
10869         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10870         (handleEvent): Implemented. Handles PaintEvents.
10871         (paint): Implemented. Use GTK native methods to queue updates
10872         for this heavyweight peer.
10873         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10874         (handleEvent): Removed.
10875         * java/awt/Component.java
10876         (paint): Implemented. Explictly paint the heavyweight peer.
10877         (update): Clear the background for heavyweight components.
10878         (paintAll): No need to call peer.paint() anymore.
10879         (processEvent): Don't process PaintEvents here. It's now done in
10880         the peer's handleEvent().
10881         (processPaintEvent): Removed.
10882         * java/awt/Container.java
10883         (paint): No need to call super.paint(). Visit heavyweight
10884         children as well.
10885         (update): Don't clear the background here.  It's done in
10886         Component.update().
10887         (visitChildren): Added check to not recurse into Containers.
10888         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10889         (filter_expose_event_handler): New method.  Filter unwanted
10890         expose events while painting heavyweight peers.
10891         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10892         New method. Connect filter and block pre_event_handler.
10893         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10894         New method. Disconnect filter and unblock pre_event_handler.
10895         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10896         New method. Invalidate and update given area.
10897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10898         (pre_event_handler): Add checks for unwanted expose events.
10899
10900 2004-01-26  David Jee  <djee@redhat.com>
10901
10902         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10903         (find_bg_color_widget): For GtkButton, return its child.
10904
10905 2004-01-26  Kim Ho  <kho@redhat.com>
10906
10907         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10908         private.
10909         (setMenuBar): Grab MenuBar height and change insets.
10910         (setBounds): Account for MenuBar height.
10911         (postInsetsChangedEvent): Ditto.
10912         (postSizeAllocateEvent): Remove.
10913         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10914         (menubar_resize_cb): Remove
10915         (setMenuBarPeer): Remove callback.
10916         (getMenuBarHeight): Use size requisition instead of
10917         allocation.
10918
10919 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10920
10921         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10922         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10923         when peer is null.
10924         (setColumns): Remove FIXME -- peer will retrieve number of
10925         columns by calling getColumns.
10926         (setRows): Likewise for number of rows.
10927         (next_text_number): New field.
10928         (paramString): Fix param string.
10929         (generateName): New method.
10930         (getUniqueLong): New method.
10931
10932 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10933
10934         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10935         image observer of image loading status.
10936         (getImage (String)): Start image production.
10937         (getImage (URL)): Likewise.
10938
10939 2004-01-25  Michael Koch  <konqueror@gmx.de>
10940
10941         * java/lang/Class.java: Imports reworked, reformated.
10942         (Class): Javadoc added.
10943         (forName): Likewise.
10944         (getClasses): Likewise.
10945         (getClassLoader): Likewise.
10946         (getComponentType): Likewise.
10947         (getConstructor): Likewise.
10948         (getConstructors): Likewise.
10949         (getDeclaredConstructor): Likewise.
10950         (getDeclaredClasses): Likewise.
10951         (getDeclaredConstructors): Likewise.
10952         (getDeclaredField): Likewise.
10953         (getDeclaredMethod): Likewise.
10954         (getDeclaredMethods): Likewise.
10955         (getDeclaringClass): Likewise.
10956         (getField): Likewise.
10957         (getInterfaces): Likewise.
10958         (getMethod): Likewise.
10959         (getMethods): Likewise.
10960         (getModifiers): Likewise.
10961         (getName): Likewise.
10962         (getResource): Likewise.
10963         (getResourceAsStream): Likewise.
10964         (getSigners): Likewise.
10965         (setSigners): Likewise.
10966         (getSuperclass): Likewise.
10967         (isArray): Likewise.
10968         (isAssignableFrom): Likewise.
10969         (isInstance): Likewise.
10970         (isInterface): Likewise.
10971         (isPrimitive): Likewise.
10972         (newInstance): Likewise.
10973         (getProtectionDomain): Likewise.
10974         (toString): Likewise.
10975         (Class): Moved.
10976         (initializeClass): Likewise.
10977         (finalize): Likewise.
10978
10979 2004-01-24  Michael Koch  <konqueror@gmx.de>
10980
10981         * gnu/java/net/protocol/jar/Connection.java
10982         (hdrHash): Removed.
10983         (hdrVec): Removed.
10984         (gotHeaders): Removed.
10985         (getHeaderField): Removed.
10986         (getHeaderFields): Removed.
10987         (getHeaderFieldKey): Removed.
10988         (getKey): Removed.
10989         (getField): Removed.
10990         (getHeaders): Removed.
10991
10992 2004-01-24  Michael Koch  <konqueror@gmx.de>
10993
10994         * Makefile.am: Added library version to gtk peer lib.
10995         * Makefile.in: Regenerated.
10996
10997 2004-01-24  Michael Koch  <konqueror@gmx.de>
10998
10999         * java/util/zip/InflaterInputStream.java: Merged class documentation
11000         with classpath.
11001
11002 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11003
11004         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11005         header.  For __powerpc64__ provide the default-signal.h definitions
11006         for now.
11007         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11008         instead of the dummy definitions.
11009         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11010         (powerpc64*-*): Remove with_libffi_default.
11011         Only add -mminimal-toc for 64-bit compilations.
11012         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11013         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11014         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11015         * configure: Rebuilt.
11016
11017 2004-01-23  Michael Koch  <konqueror@gmx.de>
11018
11019         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11020
11021 2004-01-23  Michael Koch  <konqueror@gmx.de>
11022
11023         * java/lang/VMClassLoader.java: Reworked imports.
11024         
11025 2004-01-23  Michael Koch  <konqueror@gmx.de>
11026
11027         * javax/swing/AbstractAction.java: Reformated.
11028
11029 2004-01-23  Michael Koch  <konqueror@gmx.de>
11030
11031         * java/text/CollationElementIterator.java:
11032         (setText): New method.
11033
11034 2004-01-23  Michael Koch  <konqueror@gmx.de>
11035
11036         * gnu/java/nio/FileLockImpl.java:
11037         Fixed filename in copyright.
11038         (released): Removed.
11039         (finalize): New method.
11040         * gnu/java/nio/natFileLockImpl.cc
11041         (releaseImpl): Implemented.
11042         * java/nio/channels/FileChannelImpl.java:
11043         Reworked imports.
11044         (lock): Implemented.
11045         (lockImpl): New method.
11046         (tryLock): Implemented.
11047         (tryLockImpl): New method.
11048         * java/nio/channels/natFileChannelImpl.cc
11049         (lockImpl): New method.
11050         (tryLockImpl): New method.
11051
11052 2004-01-23  Michael Koch  <konqueror@gmx.de>
11053
11054         * java/io/FileDescriptor.java
11055         (lock): New method.
11056         (tryLock): New method.
11057         (unlock): New method.
11058         * java/io/natFileDescriptorEcos.cc
11059         (lock): New method.
11060         (tryLock): New method.
11061         (unlock): New method.
11062         * java/io/natFileDescriptorPosix.cc
11063         (lock): New method.
11064         (tryLock): New method.
11065         (unlock): New method.
11066         * java/io/natFileDescriptorWin32.cc
11067         (lock): New method.
11068         (tryLock): New method.
11069         (unlock): New method.
11070
11071 2004-01-23  Michael Koch  <konqueror@gmx.de>
11072
11073         * java/io/FileDescriptor.java
11074         (sync): Moved around, added javadoc.
11075         (valid): Likewise.
11076         (open): Likewise.
11077         (write): Likewise.
11078         (close): Likewise.
11079         (setLength): Likewise.
11080         (seek): Likewise.
11081         (getLength): Likewise.
11082         (getFilePointer): Likewise.
11083         (read): Likewise.
11084         (available): Likewise.
11085         (finalize): Likewise.
11086
11087 2004-01-23  Michael Koch  <konqueror@gmx.de>
11088
11089         * javax/swing/AbstractAction.java: Reformated.
11090         (getPropertyChangeListeners): New method.
11091         * javax/swing/AbstractCellEditor.java: Reformated.
11092         (getCellEditorListeners): New method.
11093         * javax/swing/DefaultListSelectionModel.java
11094         (listenerList): New field.
11095         (listeners): Removed.
11096         (get_listeners): Removed.
11097         (addListSelectionListener): Rewritten.
11098         (removeListSelectionListener): Rewritten.
11099         (getListSelectionListeners): New method.
11100         (getListeners): New method.
11101         * javax/swing/JComboBox.java: Imports reworked.
11102         (addActionListener): Implemented.
11103         (removeActionListener): Implemented.
11104         (addItemListener): Implemented.
11105         (removeItemListener): Implemented.
11106         (addPopupMenuListener): Implemented.
11107         (removePopupMenuListener): Implemented.
11108         (getActionListeners): New method.
11109         (getItemListeners): New method.
11110         (getPopupMenuListeners): New method.
11111
11112 2004-01-23  Michael Koch  <konqueror@gmx.de>
11113
11114         * gnu/java/net/protocol/http/Connection.java
11115         (connect): Don't initialize bufferedOutputStream if not needed.
11116         (sendRequest): Set property for content length if content is present.
11117         Write content only if present.
11118         (getOutputStream): Check if already connected, dont connect,
11119         initalize bufferedOutputStream if needed.
11120
11121 2004-01-23  Michael Koch  <konqueror@gmx.de>
11122
11123         * java/io/FileDescriptor.java
11124         (in, out, err): Added javadoc.
11125         (static): Merged loading code.
11126         (fd, position): Moved around.
11127
11128 2004-01-23  Michael Koch  <konqueror@gmx.de>
11129
11130         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11131         New file.
11132
11133 2004-01-23  Michael Koch  <konqueror@gmx.de>
11134
11135         * java/lang/Class.java,
11136         java/lang/Object.java,
11137         java/lang/Thread.java: Merged copyright with classpath.
11138
11139 2004-01-23  Michael Koch  <konqueror@gmx.de>
11140
11141         * java/io/FileDescriptor.java: Merged copyright with classpath to
11142         start merging this class.
11143
11144 2004-01-22  Tom Tromey  <tromey@redhat.com>
11145
11146         PR libgcj/13107:
11147         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11148         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11149         * testsuite/libjava.lang/pr13107_3.java: New file.
11150         * testsuite/libjava.lang/pr13107_3.out: New file.
11151         * testsuite/libjava.lang/pr13107_2.java: New file.
11152         * testsuite/libjava.lang/pr13107_2.out: New file.
11153         * testsuite/libjava.lang/pr13107.java: New file.
11154         * testsuite/libjava.lang/pr13107.out: New file.
11155         * verify.cc (jsr_ptrs): Removed.
11156         (entry_points): Likewise.
11157         (struct subr_info): Likewise.
11158         (struct subr_entry_info): Likewise.
11159         (type_val::unused_by_subroutine_type): Likewise.
11160         (type::merge): Don't handle unused_by_subroutine_type.
11161         (type::print): Likewise.
11162         (state::flags): Removed.
11163         (state::subroutine): Likewise.
11164         (state::seen_subrs): Likewise.
11165         (state::NO_STACK): Likewise.
11166         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11167         (state): Updated all methods.
11168         (state::clean_subrs): Removed.
11169         (state::state): Removed `ret_semantics' flag.
11170         (state::copy): Likewise.
11171         (state::add_subr): Removed.
11172         (state::enter_subroutine): Likewise.
11173         (type::set_return_address): New method.
11174         (handle_jsr_insn): Set return address on the type.  Always
11175         invalidate PC after call.
11176         (check_nonrecursive_call): Removed.
11177         (~_Jv_BytecodeVerifier): Updated.
11178         (branch_prepass): Removed special handling of jsr.
11179         (note_branch_target): Likewise.
11180         (get_subroutine): Removed.
11181         (state::merge): Don't merge subroutines and don't handle
11182         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11183         (state::note_variable): Removed.
11184         (state::is_unmerged_ret_state): Likewise.
11185         (state::print): Updated.
11186         (set_variable): Likewise.
11187         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11188         and jsr_semantics arguments.  Updated for new reverification
11189         list.
11190         (pop_jump): Rewrote.
11191         (construct_primitive_array_type): Updated.
11192         (state::next): Removed.
11193         (INVALID_STATE): New define.
11194         (state::INVALID): Removed.
11195         (state::NO_NEXT): New value.
11196         (state::pc, state::next): New fields.
11197         (state::get_pc): New method.
11198         (next_verify_pc): Removed.
11199         (next_verify_state): New field.
11200         (verify_instructions_0): Always check for falling off end.
11201         (linked): New type.
11202         (linked_utf8): Removed.
11203         (states): Changed type.
11204         (type::state_mergeable_p): New method.
11205         (state::state_mergeable_p): Likewise.
11206         (handle_ret_insn): Removed most code.
11207         (state::reverify): New method.
11208         (add_new_state): Likewise.
11209         (state::set_pc): Likewise.
11210
11211 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11212
11213         PR java/13733
11214         * testsuite/libjava.compile/PR13733.java: New file.
11215         * testsuite/libjava.compile/PR13733.xfail: New file.
11216
11217 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11218             Michael Koch  <konqueror@gmx.de>
11219
11220         * javax/swing/table/DefaultTableCellRenderer.java
11221         (DefaultTableCellRenderer): Added javadoc for the class and for
11222         the constructor, Border instance, create an EmptyBorder.
11223         (UIResource): Removed the comment at the end of the class
11224         (setForeground): New method.
11225         (setBackground): New method.
11226         (updateUI): New method.
11227         (getTableCellRendererComponent): Rewritten with the help of
11228         dvholten and Stephane Meslin-Weber.
11229         (validate): New method.
11230         (repaint): New method.
11231         (firePropertyChange): New method.
11232         (setValue): New method.
11233
11234 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11235
11236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11237         (connectJObject): Replace printf calls with g_assert statements.
11238         Move property-notify-event signal connection to ...
11239         (connectSignals): Connect property-notify-event signal.  Iterate
11240         through the vbox's children to find layout.
11241
11242 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11243         
11244         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11245         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11246         Predicate static initialization on GtkToolkit.useGraphics2D().
11247         * java/awt/Component.java (processPaintEvent): Consume event.
11248         * javax/swing/AbstractButton.java: Reimplement, document.
11249         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11250         * javax/swing/JComponent.java (paint): Use double buffer.
11251         (listenerList): Enable member.
11252         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11253         * javax/swing/JToggleButton.java 
11254         (JToggleButton): Modify model constructor.
11255         * javax/swing/SwingUtilities.java 
11256         (layoutCompoundLabel): Adjust arithmetic.
11257         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11258         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11259         (getPreferredButtonSize): Include margins in calculation.
11260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11261         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11262         Receive up events from subordinate layout component.
11263
11264 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11265
11266         * java/awt/Component.java (show): Set visible to true before
11267         showing the peer.
11268
11269 2004-01-21  Kim Ho  <kho@redhat.com>
11270
11271         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11272         Fix comments.
11273         (removeMenuBarPeer): Make package private.
11274         (setMenuBarPeer): Make package private.
11275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11276         (menubar_resize_cb): Mark attributes unused.
11277         (getMenuBarHeight): ditto.
11278
11279 2004-01-21  David Jee  <djee@redhat.com>
11280
11281         * java/awt/Container.java
11282         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11283         dispatching MOUSE_ENTERED event twice. Translate the point for
11284         the mouse event target before dispatching the event.
11285
11286 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11287
11288         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11289         lib_org_w3c_dom_la_LDFLAGS): New.
11290         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11291         * Makefile.in: Rebuilt.
11292
11293 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11294
11295         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11296         Calculate proper offsets for heavyweight components packed in
11297         lightweight containers.
11298
11299         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11300         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11301         (native create): Add width parameter.
11302         (create): Calculate text entry width based on current font's
11303         metrics and number of columns.  Set TextField's font if not
11304         already set.  Call native create.
11305         (gtkEntryGetBorderWidth): New native method.
11306         (gtkEntryGetSize): Remove method.
11307         (getMinimumSize): Call minimumSize.
11308         (getPreferredSize): Call preferredSize.
11309         (minimumSize): Calculate minimum size based on backing
11310         GtkEntry's borders, font metrics and number of columns.
11311         (preferredSize): Likewise for preferred size.
11312         (get_border_width): New static function.
11313
11314         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11315         Override GtkWindowPeer's setResizable method to account for menu
11316         bar height when setting the frame's size.
11317
11318 2004-01-19  Matthias Klose  <doko@debian.org>
11319
11320         * libtool-version: Increased `current' to 6.
11321
11322 2004-01-19  Kim Ho  <kho@redhat.com>
11323
11324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11325         (connectJObject): Iterate through the vbox's children to find layout.
11326
11327 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11328
11329         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11330         isDispatchThread method to replace wrong test condition.
11331
11332 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11333
11334         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11335         events to the queue out of order by acquiring locks in the proper
11336         order and not by releasing one before acquiring the other.
11337
11338 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11339
11340         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11341         visible so that dialog can be reused.
11342
11343 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11344
11345         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11346         events may be handled by any queue in the stack.
11347
11348 2004-01-19  Kim Ho  <kho@redhat.com>
11349
11350         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11351         MenuBarPeer parameter.
11352         (removeMenuBarPeer): New native method.
11353         (setMenuBar): Call remove if menu bar is null. Adjust insets
11354         appropriately.
11355         (postSizeAllocateEvent): New method. Called when menu bar size is
11356         allocated. Adjust insets and redo layout.
11357         (GtkFramePeer): Set menu bar during frame creation.
11358         (postConfigureEvent): Adjust position and size to accomodate
11359         menu bar.
11360         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11361         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11362         (addNotify): Create the peer if it doesn't exist and call addNotify
11363         for the menu's items.
11364         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11365         * java/awt/MenuItem.java (addNotify): Create the peer if it
11366         doesn't exist.
11367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11368         (removeMenuBarPeer): New method. Remove menu bar on the current
11369         frame.
11370         (setMenuBarPeer): Add the menu bar to the current frame and the
11371         callback for size-allocate events on the menu bar.
11372         (getMenuBarHeight): Add menu bar parameter.
11373         (menubar_resize_cb): New callback method for postSizeAllocate events.
11374
11375         Also: Fix indentation on last ChangeLog entry.
11376
11377 2004-01-16  Kim Ho  <kho@redhat.com>
11378
11379         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11380         (gtkWidgetGetDimensions): Remove.
11381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11382         (gtkWidgetGetDimensions): Remove.
11383
11384 2004-01-16  Tom Tromey  <tromey@redhat.com>
11385
11386         * java/awt/Container.java: Typo and indentation fixes.
11387
11388         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11389         * java/lang/natVMClassLoader.cc: ...here.  New file.
11390         * Makefile.in: Rebuilt.
11391         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11392
11393 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11394
11395         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11396         Discard GDK_ENTER_NOTIFY related to ungrabs.
11397
11398 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11399
11400         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11401         is called for an intermediate queue.
11402
11403 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11404
11405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11406         (window_property_changed_cb): Set id_set.
11407
11408 2004-01-16  Kim Ho  <kho@redhat.com>
11409
11410         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11411         it is a FileDialog and has dimensions of 0 by 0, then the initial
11412         size is set to size request plus insets.
11413         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11414         (gtkWidgetGetDimensions): Override method.
11415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11416         (gtkWidgetGetDimensions): Override method. Returns size request plus
11417         insets.
11418
11419 2004-01-16  Andrew Haley  <aph@redhat.com>
11420
11421         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11422         * sysdep/i386/locks.h: Likewise.
11423
11424 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11425
11426         * java/awt/EventDispatchThread.java (run): Stop running when
11427         interrupted.
11428         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11429         Reset the queue after transferring its contents.
11430         (push): Start a new dispatch thread if none is running.
11431
11432 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11433
11434         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11435         (doPolygon): set fill rule of polygon to 
11436         WIND_EVEN_ODD by default.
11437
11438 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11439
11440         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11441         Implemented rendering hints related methods.
11442         (getDefaultHints): New helper method. Returns
11443         default rendering hints.
11444         (walkPath): changed to normalize path if
11445         the KEY_STROKE_CONTROL key is in "normalize" mode.
11446         (draw3DRect): changed coordinates of rectangle by +0.5
11447         if in "normalize" mode.
11448
11449 2004-01-15  Tom Tromey  <tromey@redhat.com>
11450
11451         * Makefile.in: Rebuilt.
11452         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11453         (%.lo: %.java) Filter out StackTrace.lo.
11454
11455 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11456
11457         * configure.in: Add in AC_PREREQ(2.13)
11458         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11459         FIXME comment.
11460
11461 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11462             Tom Tromey  <tromey@redhat.com>
11463
11464         PR libgcj/12001:
11465         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11466         array to superclass.
11467         (init): Changed interface; add URLs here.
11468         (initialize): New static method.
11469         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11470         (_Jv_RunMain): ... not here.
11471
11472 2004-01-14  Michael Koch  <konqueror@gmx.de>
11473
11474         * java/text/MessageFormat.java:
11475         Added descriptions to exceptions.
11476         This fixes PR libgcj/2429.
11477
11478 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11479
11480         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11481         (push): Make sure push is performed at the top of the thread stack.
11482
11483 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11484
11485         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11486         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11487         (native create): Add width and height parameters.  Set text
11488         view's size request according to new parameters.
11489         (create): Calculate text view size based on current font's
11490         metrics and number of rows and columns.  Set TextArea's font if
11491         not already set.  Call native create.
11492         (getMinimumSize): Call minimumSize.
11493         (getPreferredSize): Call preferredSize.
11494         (getHScrollbarHeight): New method.
11495         (getVScrollbarWidth): New method.
11496         (minimumSize): Calculate minimum size based on scrollbar
11497         visibility, scrollbar sizes, font metrics and number of rows and
11498         columns.
11499         (preferredSize): Likewise for preferred size.
11500         (gtkTextGetSize): Remove method.
11501
11502 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11503
11504         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11505         (initializeInsets): Remove method.
11506         (GtkComponentPeer): Initialize insets field.  Remove call to
11507         initializeInsets.
11508         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11509         Remove method.
11510         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11511         Remove method.
11512         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11513         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11514         (latestInsets): Remove field.
11515         (native create): Add insets parameter.  Call
11516         window_get_frame_extents.  Set the window's default size and
11517         size request based on its frame extents.
11518         (create): Initialize insets.
11519         (postInsetsChangedEvent): New method.
11520         (postConfigureEvent): Remove parameters top, left, bottom,
11521         right.  Remove insets-related logic.
11522         (connectJObject): Handle property-notify-event.
11523         (window_get_frame_extents, request_frame_extents,
11524         property_notify_predicate, window_property_changed_cb): New
11525         static functions.
11526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11527         (pre_event_handler): Remove insets-related logic for configure
11528         events.
11529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11530         Update postConfigureEvent signature.
11531
11532 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11533  
11534         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11535         to handle Window "Closing" events.
11536  
11537 2004-01-13  David Jee  <djee@redhat.com>
11538
11539         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11540         (setBackground): New method. Children with no explicitly-set
11541         background will be repainted with the parent container's new
11542         background color.
11543
11544 2004-01-13  David Jee  <djee@redhat.com>
11545
11546         * Makefile.am: Add BitwiseXORComposite.java.
11547         * Makefile.in: Regenerated.
11548         * gcj/Makefile.in: Regenerated.
11549         * include/Makefile.in: Regenerated.
11550         * testsuite/Makefile.in: Regenerated.
11551
11552 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11553
11554         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11555         not show modal dialogs twice and so that it allows showing a modal
11556         dialog from another modal dialog.
11557
11558 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11559
11560         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11561         and run secondary dispatch thread to process event queue while this
11562         thread is blocked.
11563
11564 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11565
11566         * gnu/java/awt/gtk/GdkGraphics2D.java
11567         (static): Check GtkToolkit before initializing static state.
11568         (Graphics2D): Don't construct transform with 0.5 unit offset.
11569
11570 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11571
11572         * gnu/java/awt/BitwiseXORComposite.java: Add.
11573         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11574         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11575         (BitwiseXORComposite): Remove inner class.
11576
11577 2004-01-11  Michael Koch  <konqueror@gmx.de>
11578
11579         * gnu/java/lang/reflect/TypeSignature.java
11580         (getEncodingOfClass): Documentation fixed.
11581         (getClassForEncoding): Give class loader to Class.forName().
11582         Documentation fixed.
11583
11584 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11585
11586         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11587
11588 2004-01-11  Michael Koch  <konqueror@gmx.de>
11589
11590         * javax/swing/undo/StateEditable.java
11591         (RCSID): Removed redundant modifiers.
11592
11593 2004-01-10  Michael Koch  <konqueror@gmx.de>
11594
11595         * javax/print/attribute/EnumSyntax.java
11596         (getStringTable): Made protected.
11597         (getEnumValueTable): Likewise.
11598         * javax/print/attribute/standard/JobKOctetsProcessed.java
11599         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11600         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11601         (JobMediaSheetsCompleted): Made class final.
11602         * javax/print/attribute/standard/OutputDeviceAssigned.java
11603         (getName): Fixed typo.
11604         * javax/print/attribute/standard/RequestingUserName.java
11605         (serialVersionUID): Fixed value.
11606
11607 2004-01-10  Michael Koch  <konqueror@gmx.de>
11608
11609         * javax/swing/plaf/basic/BasicButtonUI.java,
11610         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11611         javax/swing/plaf/basic/BasicListUI.java,
11612         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11613         javax/swing/plaf/basic/BasicPanelUI.java,
11614         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11615         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11616         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11617         javax/swing/plaf/basic/BasicViewportUI.java:
11618         Fixed import statements.
11619
11620 2004-01-10  Michael Koch  <konqueror@gmx.de>
11621
11622         * gnu/java/awt/image/ImageDecoder.java
11623         (produce): Made public.
11624         * gnu/java/awt/peer/GLightweightPeer.java,
11625         gnu/java/awt/peer/gtk/GtkToolkit.java:
11626         Reformated.
11627
11628 2004-01-10  Michael Koch  <konqueror@gmx.de>
11629
11630         * javax/swing/JRadioButtonMenuItem.java,
11631         javax/swing/JSeparator.java,
11632         javax/swing/JSplitPane.java,
11633         javax/swing/JTextPane.java,
11634         javax/swing/JToolBar.java,
11635         javax/swing/ListCellRenderer.java,
11636         javax/swing/ListModel.java,
11637         javax/swing/MenuElement.java,
11638         javax/swing/OverlayLayout.java,
11639         javax/swing/ProgressMonitor.java,
11640         javax/swing/ProgressMonitorInputStream.java,
11641         javax/swing/Renderer.java,
11642         javax/swing/RootPaneContainer.java,
11643         javax/swing/Scrollable.java,
11644         javax/swing/SingleSelectionModel.java,
11645         javax/swing/ToolTipManager.java,
11646         javax/swing/ViewportLayout.java,
11647         javax/swing/event/DocumentEvent.java,
11648         javax/swing/event/SwingPropertyChangeSupport.java,
11649         javax/swing/event/TreeSelectionEvent.java,
11650         javax/swing/event/UndoableEditEvent.java,
11651         javax/swing/text/AbstractDocument.java,
11652         javax/swing/text/AttributeSet.java,
11653         javax/swing/text/Caret.java,
11654         javax/swing/text/ComponentView.java,
11655         javax/swing/text/DefaultCaret.java,
11656         javax/swing/text/DefaultEditorKit.java,
11657         javax/swing/text/Document.java,
11658         javax/swing/text/EditorKit.java,
11659         javax/swing/text/GapContent.java,
11660         javax/swing/text/Keymap.java,
11661         javax/swing/text/MutableAttributeSet.java,
11662         javax/swing/text/PlainEditorKit.java,
11663         javax/swing/text/Segment.java,
11664         javax/swing/text/Style.java,
11665         javax/swing/text/StyledDocument.java,
11666         javax/swing/text/StyledEditorKit.java,
11667         javax/swing/text/TextAction.java,
11668         javax/swing/text/View.java: Fixed import statements.
11669
11670 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11671
11672         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11673         djee@redhat.com's recent inverse ordering of Container elements.
11674
11675 2004-01-09  Michael Koch  <konqueror@gmx.de>
11676
11677         * gnu/java/lang/ArrayHelper.java
11678         (equalsArray): Removed.
11679
11680 2004-01-09  Andrew Haley  <aph@redhat.com>
11681
11682         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11683         a Utf8Const field before looking at its class.
11684
11685 2004-01-09  Michael Koch  <konqueror@gmx.de>
11686
11687         * javax/print/attribute/standard/DocumentName.java,
11688         javax/print/attribute/standard/JobHoldUntil.java,
11689         javax/print/attribute/standard/JobMessageFromOperator.java,
11690         javax/print/attribute/standard/JobName.java,
11691         javax/print/attribute/standard/JobOriginatingUserName.java,
11692         javax/print/attribute/standard/OutputDeviceAssigned.java,
11693         javax/print/attribute/standard/PrinterInfo.java,
11694         javax/print/attribute/standard/PrinterLocation.java,
11695         javax/print/attribute/standard/PrinterMakeAndModel.java,
11696         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11697         javax/print/attribute/standard/PrinterName.java,
11698         javax/print/attribute/standard/RequestingUserName.java: New files.
11699         * Makefile.am (javax_source_files): Added new files.
11700         * Makefile.in: Regenerated.
11701
11702 2004-01-09  Michael Koch  <konqueror@gmx.de>
11703
11704         * javax/swing/AbstractAction.java,
11705         javax/swing/AbstractSet.java,
11706         javax/swing/Action.java,
11707         javax/swing/ActionMap.java,
11708         javax/swing/BoundedRangeModel.java,
11709         javax/swing/ButtonModel.java,
11710         javax/swing/CellEditor.java,
11711         javax/swing/CellRendererPane.java,
11712         javax/swing/ComboBoxEditor.java,
11713         javax/swing/DebugGraphics.java,
11714         javax/swing/DefaultCellEditor.java,
11715         javax/swing/DefaultCellRenderer.java,
11716         javax/swing/DefaultComboBoxModel.java,
11717         javax/swing/DefaultDesktopManager.java,
11718         javax/swing/DefaultFocusManager.java,
11719         javax/swing/DefaultListCellRenderer.java,
11720         javax/swing/Icon.java,
11721         javax/swing/JButton.java,
11722         javax/swing/JCheckBoxMenuItem.java,
11723         javax/swing/JDesktopPane.java,
11724         javax/swing/JEditorPane.java,
11725         javax/swing/JMenu.java,
11726         javax/swing/JPanel.java,
11727         javax/swing/JPasswordField.java,
11728         javax/swing/JPopupMenu.java,
11729         javax/swing/JProgressBar.java: Reworked imports.
11730
11731 2004-01-09  Michael Koch  <konqueror@gmx.de>
11732
11733         * java/awt/geom/PathIterator.java
11734         (WIND_EVEN_ODD): Removed redundant modifiers.
11735         (WIND_NON_ZERO): Likewise.
11736         (SEG_MOVETO): Likewise.
11737         (SEG_LINETO): Likewise.
11738         (SEG_QUADTO): Likewise.
11739         (SEG_CUBICTO): Likewise.
11740         (SEG_CLOSE): Likewise.
11741         * java/awt/image/SinglePixelPackedSampleModel.java:
11742         Removed redundant semicolon.
11743         * java/io/ObjectInputStream.java
11744         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11745         * java/util/logging/Filter.java
11746         (isLoggable): Removed redundant modifier.
11747         * java/util/logging/LogManager.java:
11748         Removed redundant semicolon.
11749         * java/util/logging/XMLFormatter.java
11750         (format): Removed unused variable "key".
11751
11752 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11753
11754         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11755         New name for the former setFile native method.
11756         (setFile): New method.
11757         (setDirectory): Implemented.
11758         (connectSignals): New native method.
11759         (setFilenameFilter): Improve comment.
11760         (getGraphics): Comment.
11761         (gtkHideFileDialog): New method.
11762         (gtkDisposeFileDialog): New method.
11763         (gtkSetFilename): New method.
11764         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11765         for FileDialog for now.
11766         (hide): New method.
11767         (dispose): New method.
11768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11769         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11770         deprecated creation functions.  Make dialog modal.  Add it to the
11771         window group.
11772         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11773         function.
11774         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11775         Rename to...
11776         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11777         name.
11778         (window_closed): New function.
11779         (ok_clicked): New function.
11780         (cancel_clicked): New function.
11781
11782 2004-01-08  Michael Koch  <konqueror@gmx.de>
11783
11784         * javax/swing/JLayeredPane.java: Revert changes to standard
11785         boilerplate, reworked imports.
11786
11787 2004-01-07  Tom Tromey  <tromey@redhat.com>
11788
11789         PR libgcj/13439:
11790         * verify.cc (state::merge): Copy changed locals out of subroutine
11791         in NO_STACK case.
11792         (state::FLAG_CHANGED): New const.
11793         (state::FLAG_UNUSED): Likewise.
11794         (state::local_changed): Removed.  Updated all users.
11795         (state::flags): New field.
11796         (state::merge): Added jsr_semantics argument, more logic.
11797         (push_jump_merge): Added jsr_semantics argument.
11798         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11799         merging through the jsr instruction.
11800
11801 2004-01-07  Tom Tromey  <tromey@redhat.com>
11802
11803         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11804         backslash-newline.
11805
11806 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11807
11808         * java/awt/Container.java (LightweightDispatcher): Implement.
11809         (visitChild): Reuse graphics object.
11810         (dispatchEventImpl): Optionally dispatch to lightweight.
11811         (addNotifyContainerChildren): Build LightweightDispatcher.
11812
11813 2004-01-07  David Jee  <djee@redhat.com>
11814
11815         * java/awt/Container.java
11816         (update): Clear only the clipped region, instead of clearing the
11817         entire Container.
11818         (visitChildren): Visit children in descending order.
11819
11820 2004-01-07  Michael Koch  <konqueror@gmx.de>
11821
11822         * java/lang/reflect/Array.java: Merged documentation with classpath.
11823
11824 2004-01-07  Michael Koch  <konqueror@gmx.de>
11825
11826         * java/text/CollationElementIterator.java
11827         (textIndex): Renamed from index.
11828         * java/text/CollationKey.java
11829         (collator): New member.
11830         (CollationKey): New argument for parent collator.
11831         (equals): Check for same collator, source string and key array.
11832         * java/text/RuleBasedCollator.java:
11833         Reformated.
11834         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11835         value.
11836         (getCollationElementIterator): Rewritten.
11837         (getCollationKey): Added new argument to CollationKey constructor.
11838
11839 2004-01-07  Michael Koch  <konqueror@gmx.de>
11840
11841         * gnu/java/nio/DatagramChannelImpl.java
11842         (blocking): Removed.
11843         (DatagramChannelImpl): Call configureBlocking().
11844         (implConfigureBlocking): Dont initialize blocking.
11845         * gnu/java/nio/ServerSocketChannelImpl.java
11846         (blocking): Removed.
11847         (ServerSocketChannelImpl): Call configureBlocking().
11848         (implConfigureBlocking): Dont initialize blocking.
11849         * gnu/java/nio/SocketChannelImpl.java
11850         (blocking): Removed.
11851         (SocketChannelImpl): Call configureBlocking().
11852         (implConfigureBlocking): Dont initialize blocking.
11853         (connect): Use isBlocking().
11854         * java/nio/channels/spi/AbstractSelectableChannel.java
11855         (configureBlocking): Use blockingLock() instead of LOCK.
11856         Set blocking after successfully called implConfigureBlocking().
11857         (register): Use blockingLock() instead of LOCK.
11858
11859 2004-01-07  Michael Koch  <konqueror@gmx.de>
11860
11861         * java/net/ServerSocket.java (isBound): Fixed documentation.
11862
11863 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11864
11865         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11866         (changeEvent): Create event object on demand.
11867         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11868         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11869         fireStateChanged): Re-written.
11870         * javax/swing/event/EventListenerList.java: Reformatted, document
11871         typical usage.
11872         (toString): Implemented.
11873         (getListeners): Re-written.
11874         (remove): Re-written.
11875         (add): Re-written.
11876         (NO_LISTENERS): New singleton field.
11877         (listenerList): Declare as transient; document.
11878         (serialVersionUID): Document.
11879         (getListenerCount(Class)): More efficient implementation,
11880         also accepts null argument.  Improve Javadoc.
11881         (getListenerCount()): Remove unnecessary cast; docfix.
11882         * javax/swing/undo/UndoableEditSupport.java:
11883         Re-format, document.
11884         (UndoableEditSupport): Set realSource field. Improve documentation.
11885         (_postEdit): Iterate over cloned listener vector.
11886         (toString): Don't emit realSource.
11887         (beginUpdate, endUpdate): Support nested updates.
11888         (postEdit): Use compound edit if present.
11889
11890 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11891
11892         * java/awt/Container.java (swapComponents): Add forgotten
11893         function, required for JLayeredPane change.
11894
11895 2004-01-06  Michael Koch  <konqueror@gmx.de>
11896
11897         * java/text/CollationElementIterator.java: Reformated.
11898         (CollationElementIterator): Changed order of arguments.
11899         * java/text/RuleBasedCollator.java
11900         (RuleBasedCollator): Merged class documentation.
11901         (CollationElement): Added documentation.
11902         (compare): Reformated, renamed arguments.
11903         (equals): Likewise.
11904         (getCollationElementIterator): Likewise.
11905         (getCollationKey): Likewise.
11906
11907 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11908
11909         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11910
11911 2004-01-06  Michael Koch  <konqueror@gmx.de>
11912
11913         * gnu/java/net/protocol/file/Connection.java:
11914         Reformated copyright.
11915         (hdrHash): Removed.
11916         (hdrVec): Removed.
11917         (gotHeaders): Removed.
11918         (getHeaderField): Removed.
11919         (getHeaderField): Removed.
11920         (getHeaderFieldKey): Removed.
11921         (getKey): Removed.
11922         (getField): Removed.
11923         (getHeaders): Removed.
11924
11925 2004-01-06  Michael Koch  <konqueror@gmx.de>
11926
11927         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11928         javax/print/attribute/standard/DateTimeAtCreation.java,
11929         javax/print/attribute/standard/DateTimeAtProcessing.java,
11930         javax/print/attribute/standard/JobImpressionsCompleted.java,
11931         javax/print/attribute/standard/JobKOctets.java,
11932         javax/print/attribute/standard/JobKOctetsProcessed.java,
11933         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11934         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11935         * Makefile.am (javax_source_files): Added new files.
11936         * Makefile.in: Regenerated.
11937
11938 2004-01-06  Michael Koch  <konqueror@gmx.de>
11939
11940         * java/net/URLConnection.java
11941         (contentHandler): Removed.
11942         (locale): Removed.
11943         (getHeaderFields): Return an empty map instead of null.
11944         (getContent): Connect if needed, renamed "cType" to "type" and
11945         "contentHandler" to "ch" and made it a local variable.
11946         (getPermission): Don't use package in class name.
11947         (setDefaultRequestProperty): Fixed typo in documentation.
11948         (initializeDateFormats): Made locale a local variable.
11949
11950 2004-01-06  Michael Koch  <konqueror@gmx.de>
11951
11952         * java/lang/Package.java
11953         (getPackage): Get the current class loader directly.
11954         * java/lang/SecurityManager.java
11955         (currentLoadedClass): Dont iterate over class contexts.
11956         (classLoaderDepth): Don't check class loaders if everything is allowed.
11957
11958 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11959
11960         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11961         (pre_event_handler): Set all insets to 0 when a Configure event
11962         is received for a GtkPlug.
11963         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11964         Make handle long, not int.
11965         (EmbeddedWindow()): New constructor.
11966         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11967         long, not int.
11968         (setHandle): New method.
11969         (getHandle): Return long, not int.
11970         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11971         declaration.
11972         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11973         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11974         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11975         argument to GdkNativeWindow.
11976         (construct): New method.
11977         (embed): New method.
11978
11979         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11980         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11981         (create(int, int)): New method.
11982         (create): Call new create method.
11983         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11984         methods.
11985         (childResized): Remove native implementation.  Implement in
11986         Java.
11987         (getHScrollbarHeight, getVScrollbarWidth): Call
11988         gtk_widget_size_request to get scrollbar dimensions.
11989         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11990         call getVScrollbarWidth and getHScrollbarHeight when vertical
11991         and horizontal scrollbars respectively are needed.
11992         (doLayout): Enlarge child if it is smaller than the viewport.
11993
11994 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11995
11996         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11997         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11998         argument as per spec.
11999
12000 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12001
12002         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12003         (insert): Ditto.
12004         (remove): Ditto.  Also, Check for valid argument.
12005         (removeAll): Use peer interface method.
12006         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12007         native add function.
12008         (nativeRemove): New name for native remove function.
12009         (getHistory): New native function.
12010         (constructor): Generate ItemEvent.
12011         (add): Ditto, if selection is changed.
12012         (remove): Ditto, ditto.
12013         (removeAll): Add implementation.
12014         (handleEvent): Remove.  Dead code.
12015         (choicePostItemEvent): Add comment.
12016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12017         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12018         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12019         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12020         comments and fix condition to change selection.
12021         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12022         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12023         remove all capability.
12024         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12025         (item_activate): Add cast to remove compiler warning.
12026
12027 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12028
12029         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12030         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12031         (getPreferredSize): Call preferredSize.
12032         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12033         (getMinimumSize): Call minimumSize.
12034         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12035         (gtkWidgetGetDimensions): Return the peer widget's current size
12036         request.
12037         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12038         natural size request.
12039
12040 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12041
12042         Thanks to Brian Gough <bjg@network-theory.com>
12043         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12044         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12045
12046 2004-01-04  Matthias Klose  <doko@debian.org>
12047
12048         * aclocal.m4: Rebuilt using "aclocal -I .".
12049         * configure: Rebuilt.
12050
12051 2004-01-03  Per Bothner  <per@bothner.com>
12052
12053         * java/util/Date.java (parse):  Fix a number of problems.
12054         (skipParens):  Remove no-longer-needed method.
12055