OSDN Git Service

2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
2
3         * java/util/Collections.java
4         Added documentation.
5         * java/util/SortedMap.java
6         Clarified some method examples.
7         * java/util/SortedSet.java
8         Clarified some method examples.
9
10 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
11
12         * java/util/Currency.java
13         Documented variables and methods more fully.
14         Caches the currency instances, so that a request
15         for a locale, l, only ever returns the same
16         instance (i.e. successive calls to getInstance(l)
17         are reference equivalent (==)).
18
19 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
20
21         * java/util/Date.java
22         Added missing documentation.
23
24 2004-11-06  Michael Koch  <konqueror@gmx.de>
25
26         * java/util/zip/CheckedInputStream.java,
27         java/util/zip/InflaterInputStream.java,
28         java/util/zip/ZipFile.java,
29         java/util/zip/ZipInputStream.java:
30         Import cleanups.
31
32 2004-11-06  Tom Tromey  <tromey@redhat.com>
33
34         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
35         package-private.
36         (connections): Likewise.
37         (scavenger): Likewise.
38         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
39         package-private.
40         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
41         package-private.
42         (ptr): Likewise.
43         * gnu/classpath/ServiceFactory.java (log): Now package-private.
44
45 2004-11-06  Tom Tromey  <tromey@redhat.com>
46
47         * javax/naming/directory/BasicAttributes.java (attributes): Now
48         package-private.
49         * javax/imageio/spi/ServiceRegistry.java (categories): Now
50         package-private.
51
52 2004-11-06  Tom Tromey  <tromey@redhat.com>
53
54         * java/net/URLClassLoader.java (URLClassLoader): Now
55         package-private.
56         * java/nio/charset/CoderResult.java (CoderResult): Now
57         package-private.
58         (get): Likewise.
59         (Cache): Likewise.  Don't synchronize on `this'.
60         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
61         package-private.
62         * java/util/TimeZone.java (timezones): Now package-private.
63
64 2004-11-06  Tom Tromey  <tromey@redhat.com>
65
66         * java/security/Permissions.java (perms): Now package-private.
67         * java/security/UnresolvedPermission.java (permissions): Now
68         package-private.
69
70 2004-11-06  Tom Tromey  <tromey@redhat.com>
71
72         * java/io/FilePermission.java: Reindented.
73
74 2004-11-06  Tom Tromey  <tromey@redhat.com>
75
76         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
77         package-private.
78         (setBlockDataMode): Likewise.
79
80 2004-11-06  Tom Tromey  <tromey@redhat.com>
81
82         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
83         package-private.
84         (Encoder): Likewise.
85         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
86         (Encoder): Likewise.
87         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
88         package-private.
89         (Encoder): Likewise.
90
91 2004-11-06  Mark Wielaard  <mark@klomp.org>
92
93         * Makefile.am: Add new javax.imageio files.
94         * Makefile.in: Regenerated.
95
96 2004-11-06  Michael Koch  <konqueror@gmx.de>
97
98         * javax/imageio/event/IIOReadProgressListener.java,
99         javax/imageio/event/IIOReadUpdateListener.java,
100         javax/imageio/event/IIOReadWarningListener.java,
101         javax/imageio/event/IIOWriteProgressListener.java,
102         javax/imageio/event/IIOWriteWarningListener.java,
103         javax/imageio/metadata/IIOMetadataFormat.java,
104         javax/imageio/stream/FileCacheImageInputStream.java,
105         javax/imageio/stream/FileCacheImageOutputStream.java,
106         javax/imageio/stream/ImageInputStreamImpl.java:
107         Import cleanup.
108         * javax/imageio/metadata/package.html: New file.
109
110 2004-11-06  Michael Koch  <konqueror@gmx.de>
111
112         * javax/imageio/spi/ImageReaderSpi.java
113         (isOwnReader): New method.
114         * javax/imageio/spi/ImageWriterSpi.java
115         (isOwnWriter): Likewise.
116
117 2004-11-06  Michael Koch  <konqueror@gmx.de>
118
119         * javax/imageio/ImageWriter.java
120         (convertImageMetadata): New abstract method.
121         (convertStreamMetadata): Likewise.
122         (write): Likewise.
123         * javax/imageio/stream/FileCacheImageInputStream.java
124         (close): Fixed setting of stream to null.
125         (checkStreamClosed): Throws IOException.
126
127 2004-11-06  Michael Koch  <konqueror@gmx.de>
128
129         * javax/imageio/stream/FileCacheImageInputStream.java,
130         javax/imageio/stream/FileCacheImageOutputStream.java,
131         javax/imageio/stream/FileImageInputStream.java,
132         javax/imageio/stream/FileImageOutputStream.java,
133         javax/imageio/stream/MemoryCacheImageInputStream.java,
134         javax/imageio/stream/MemoryCacheImageOutputStream.java:
135         New files.
136
137 2004-11-06  Michael Koch  <konqueror@gmx.de>
138
139         * javax/imageio/metadata/IIOInvalidTreeException.java,
140         javax/imageio/metadata/IIOMetadataFormatImpl.java,
141         javax/imageio/metadata/IIOMetadataNode.java:
142         New stub files.
143
144 2004-11-06  Michael Koch  <konqueror@gmx.de>
145
146         * javax/imageio/stream/ImageInputStreamImpl.java,
147         javax/imageio/stream/ImageOutputStreamImpl.java:
148         New files.
149
150 2004-11-06  Michael Koch  <konqueror@gmx.de>
151
152         * javax/imageio/ImageIO.java:
153         Added much new methods.
154
155 2004-11-06  Michael Koch  <konqueror@gmx.de>
156
157         * javax/imageio/ImageReader.java,
158         javax/imageio/ImageWriter.java,
159         javax/imageio/spi/ImageWriterSpi.java:
160         Add SOME new methods.
161
162 2004-11-06  Michael Koch  <konqueror@gmx.de>
163
164         * javax/imageio/IIOParam.java,
165         javax/imageio/ImageReadParam.java,
166         javax/imageio/ImageReader.java,
167         javax/imageio/ImageWriter.java:
168         Mostly implemented.
169         * javax/imageio/spi/ImageReaderSpi.java,
170         javax/imageio/spi/ImageWriterSpi.java:
171         New files.
172
173 2004-11-06  Michael Koch  <konqueror@gmx.de>
174
175         * javax/imageio/ImageWriteParam.java,
176         javax/imageio/metadata/IIOMetadataFormat.java:
177         Implemented.
178
179 2004-11-06  Michael Koch  <konqueror@gmx.de>
180
181         * javax/imageio/ImageTypeSpecifier.java:
182         Mostly implemented.
183
184 2004-11-06  Michael Koch  <konqueror@gmx.de>
185
186         * javax/imageio/metadata/IIOMetadata.java:
187         Mostly implemented.
188
189 2004-11-06  Michael Koch  <konqueror@gmx.de>
190
191         * javax/imageio/IIOImage.java,
192         javax/imageio/ImageReadParam.java,
193         javax/imageio/metadata/IIOMetadataController.java,
194         javax/imageio/metadata/IIOMetadataFormat.java:
195         New files.
196         * javax/imageio/stream/ImageOutputStream.java:
197         Implemented.
198
199 2004-11-06  Michael Koch  <konqueror@gmx.de>
200
201         * javax/imageio/IIOParam.java,
202         javax/imageio/IIOParamController.java,
203         javax/imageio/ImageTypeSpecifier.java,
204         javax/imageio/ImageWriteParam.java,
205         javax/imageio/metadata/IIOMetadata.java:
206         New files.
207         * javax/imageio/ImageTranscoder.java:
208         Implemented.
209
210 2004-11-06  Michael Koch  <konqueror@gmx.de>
211
212         * javax/imageio/spi/ImageInputStreamSpi.java,
213         javax/imageio/spi/ImageOutputStreamSpi.java:
214         Reworked import startments.
215         * javax/imageio/spi/ServiceRegistry.java:
216         Reworked import startments. Fixed XHTML in javadocs.
217         (ServiceRegistry): Added @param tag to javadoc.
218         * javax/imageio/stream/ImageInputStream.java
219         (mark): Doesn't throws IOException;
220
221 2004-11-06  Michael Koch  <konqueror@gmx.de>
222
223         * javax/imageio/ImageIO.java:
224         New file.
225
226 2004-11-06  Michael Koch  <konqueror@gmx.de>
227
228         * javax/imageio/spi/IIORegistry.java
229         (static): Don't register ImageReaderSpi.class and
230         ImageWriterSpi.class yet.
231
232 2004-11-06  Michael Koch  <konqueror@gmx.de>
233
234         * javax/imageio/spi/IIORegistry.java:
235         New file.
236
237 2004-11-06  Noa Resare  <noa@resare.com>
238
239         * java/net/Socket.java (getPort): Return 0 instead of -1 on
240         unconnected sockets.
241
242 2004-11-06  Michael Koch  <konqueror@gmx.de>
243
244         * java/lang/StringBuffer.java,
245         java/lang/Throwable.java,
246         java/security/spec/DSAParameterSpec.java,
247         java/util/zip/ZipEntry.java,
248         java/util/zip/ZipFile.java,
249         java/util/zip/ZipInputStream.java,
250         java/util/zip/ZipOutputStream.java:
251         Removed redundant and reordered modifiers.
252
253 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
254
255         * java/io/Vector.java
256         (writeObject): New function to serialized output thread safe.
257
258         * java/io/ObjectOutputStream.java
259         (writeObject): Move the assignment of the class handle to after
260         the assignment of class descriptor handle.
261
262 2004-11-06  Robert Schuster <thebohemian@gmx.net>
263
264         Fixes documentation and indentation
265         * java/beans/PropertyEditorSupport.java:
266         reworked initial API doc
267         (value): changed name from val
268
269 2004-11-06  Robert Schuster <thebohemian@gmx.net>
270
271         Updates to 1.5
272         * java/beans/PropertyEditorSupport.java
273         (PropertyEditorSupport()): Changed modifier to public
274         (PropertyEditorSupport(Object): Changed modifier to public
275         (setSource): New method
276         (getSource): New method
277
278 2004-11-06  Robert Schuster <thebohemian@gmx.net>
279
280         Fixes bug #10799
281         * java/beans/PropertyEditorSupport.java
282         (setValue): Fire property change event
283
284 2004-11-03  Tom Tromey  <tromey@redhat.com>
285
286         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
287         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
288         returns jobjectArray.
289         (_Jv_JNIEnv::NewObjectArray): Likewise.
290
291 2004-11-01  Tom Tromey  <tromey@redhat.com>
292
293         * verify.cc (state::check_no_uninitialized_objects): Removed.
294         (push_jump): Updated.
295         (push_exception_jump): Likewise.
296         (handle_ret_insn): Likewise.
297         (handle_jsr_insn): Likewise.
298
299 2004-10-30  Mark Wielaard  <mark@klomp.org>
300
301         PR libgcj/18234
302         * java/lang/Runtime.java (static): Call init().
303         (Runtime): Remove call to init().
304         (init): Make static.
305
306 2004-10-28  David Daney  <ddaney@avtrex.com>
307
308         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
309         * Makefile.am: Build it.
310         * Makefile.in: Regenerate.
311
312 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
313
314         PR libgcj/18104
315         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
316         colon.
317         * Makefile.in: Regenerate.
318         * configure: Regenerate.
319         * configure.ac (CLASSPATH_SEPARATOR): Define.
320         * gcj/Makefile.in: Regenerate.
321         * include/Makefile.in: Regenerate.
322         * testsuite/Makefile.in: Regenerate.
323         * testsuite/lib/libjava.exp (libjava_arguments): Fix
324         CLASSPATH separator handling for Windows.
325
326 2004-10-26  Michael Koch  <konqueror@gmx.de>
327
328         * gnu/java/net/protocol/http/Connection.java
329         (getOutputStream): Implicitely switch to POST method.
330
331 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
332
333         * libjava/java/lang/Class.h
334         (java::lang::Class): Correct friend class declaration.
335
336 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
337
338         * Makefile.am (DARWIN_CRT_SRC): New.
339         (libgcj_la_SOURCES): Use it.
340         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
341         * darwin.cc: New file.
342         * include/jvm.h (_Jv_RegisterClasses): Constify.
343         (_Jv_RegisterClasses_Counted): New prototype.
344         * java/lang/Class.h: Include stddef.h.  
345         (_Jv_RegisterClasses): Constify.
346         (_Jv_RegisterClasses_Counted): New prototype.
347         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
348         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
349         (_Jv_RegisterClasses_Counted): New function.
350         * configure: Regenerate.
351         * Makefile.in: Regenerate.
352         * gcj/Makefile.in: Regenerate.
353         * include/Makefile.in: Regenerate.
354         * testsuite/Makefile.in: Regenerate.
355
356 2004-10-25  Tom Tromey  <tromey@redhat.com>
357
358         * java/util/ResourceBundle.java (tryBundle): Use
359         Class.isAssignableFrom rather than catching ClassCastException.
360
361 2004-10-25  Tom Tromey  <tromey@redhat.com>
362
363         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
364         initialize `iter'.
365         * gnu/java/text/SentenceBreakIterator.java
366         (SentenceBreakIterator): Don't initialize `iter'.
367         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
368         initialize `iter'.
369         * gnu/java/text/CharacterBreakIterator.java
370         (CharacterBreakIterator): Don't initialize `iter'.
371         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
372         constructor.
373         * java/text/BreakIterator.java: Updated documentation.
374
375 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
376
377         PR other/18138
378         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
379
380 2004-10-23  Michael Koch  <konqueror@gmx.de>
381
382         * javax/print/DocFlavor.java,
383         javax/print/attribute/standard/JobStateReason.java,
384         javax/print/attribute/standard/MultipleDocumentHandling.java:
385         Added missing constants.
386
387 2004-10-22  Tom Tromey  <tromey@redhat.com>
388
389         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
390         typo.
391
392 2004-10-22  Michael Koch  <konqueror@gmx.de>
393
394         PR libjava/14009
395         * gnu/java/net/protocol/http/Connection.java
396         (sendRequest): Handle case when url.getFile() returns an empty string.
397
398 2004-10-22  Michael Koch  <konqueror@gmx.de>
399
400         * java/lang/Math.java,
401         java/lang/StackTraceElement.java,
402         java/nio/Buffer.java,
403         java/nio/ByteBuffer.java,
404         java/nio/CharBuffer.java,
405         java/nio/DoubleBuffer.java,
406         java/nio/FloatBuffer.java,
407         java/nio/IntBuffer.java,
408         java/nio/LongBuffer.java,
409         java/nio/ShortBuffer.java,
410         java/nio/charset/Charset.java,
411         java/rmi/server/RMIClassLoader.java,
412         java/rmi/server/RMISocketFactory.java,
413         java/security/Policy.java,
414         java/text/ChoiceFormat.java,
415         java/text/CollationElementIterator.java,
416         java/text/DateFormat.java,
417         java/text/DecimalFormat.java,
418         java/text/DecimalFormatSymbols.java,
419         java/text/MessageFormat.java,
420         java/text/NumberFormat.java,
421         java/text/RuleBasedCollator.java,
422         java/text/SimpleDateFormat.java,
423         java/util/BitSet.java,
424         java/util/Calendar.java,
425         java/util/Collections.java,
426         java/util/IdentityHashMap.java,
427         java/util/Locale.java,
428         java/util/TreeMap.java,
429         java/util/logging/LogRecord.java,
430         java/util/logging/XMLFormatter.java,
431         java/util/prefs/AbstractPreferences.java,
432         java/util/prefs/Preferences.java,
433         javax/crypto/interfaces/DHPrivateKey.java,
434         javax/crypto/interfaces/DHPublicKey.java,
435         javax/crypto/interfaces/PBEKey.java,
436         javax/net/ssl/HandshakeCompletedEvent.java,
437         javax/security/auth/Subject.java:
438         Removed redundant and reordered modifiers.
439
440 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
441
442         * gnu/java/net/natPlainSocketImplPosix.cc
443         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
444         with 'int *' argument instead of 'long *'.
445
446 2004-10-21  Michael Koch  <konqueror@gmx.de>
447
448         * java/net/NetworkInterface.java,
449         java/text/Format.java,
450         javax/security/auth/x500/X500Principal.java,
451         javax/security/auth/x500/X500PrivateCredential.java,
452         javax/security/cert/X509CertBridge.java,
453         javax/security/sasl/Sasl.java,
454         javax/sql/XAConnection.java:
455         Import cleanup.
456
457 2004-10-21  Michael Koch  <konqueror@gmx.de>
458
459         * javax/net/ssl/HandshakeCompletedEvent.java,
460         javax/net/ssl/KeyManagerFactory.java,
461         javax/net/ssl/SSLContext.java,
462         javax/net/ssl/SSLServerSocketFactory.java,
463         javax/net/ssl/SSLSession.java,
464         javax/net/ssl/SSLSocketFactory.java,
465         javax/net/ssl/TrustManagerFactory.java:
466         Import cleanup.
467
468 2004-10-21  Michael Koch  <konqueror@gmx.de>
469
470         * javax/naming/directory/BasicAttribute.java,
471         javax/naming/directory/BasicAttributes.java,
472         javax/naming/directory/InitialDirContext.java,
473         javax/naming/event/NamingEvent.java,
474         javax/naming/ldap/ControlFactory.java,
475         javax/naming/ldap/ExtendedRequest.java,
476         javax/naming/ldap/InitialLdapContext.java,
477         javax/naming/ldap/LdapReferralException.java,
478         javax/naming/spi/DirObjectFactory.java,
479         javax/naming/spi/DirStateFactory.java,
480         javax/naming/spi/DirectoryManager.java,
481         javax/naming/spi/InitialContextFactory.java,
482         javax/naming/spi/InitialContextFactoryBuilder.java,
483         javax/naming/spi/NamingManager.java,
484         javax/naming/spi/ObjectFactory.java,
485         javax/naming/spi/ObjectFactoryBuilder.java,
486         javax/naming/spi/StateFactory.java:
487         Import cleanup.
488
489 2004-10-21  Michael Koch  <konqueror@gmx.de>
490
491         * javax/crypto/Cipher.java,
492         javax/crypto/EncryptedPrivateKeyInfo.java,
493         javax/crypto/ExemptionMechanism.java,
494         javax/crypto/KeyAgreement.java,
495         javax/crypto/KeyGenerator.java,
496         javax/crypto/Mac.java,
497         javax/crypto/SecretKeyFactory.java,
498         javax/crypto/SecretKeyFactorySpi.java,
499         javax/crypto/spec/SecretKeySpec.java:
500         Import cleanup.
501
502 2004-10-21  Michael Koch  <konqueror@gmx.de>
503
504         * java/security/AlgorithmParameterGenerator.java,
505         java/security/AlgorithmParameters.java,
506         java/security/AlgorithmParametersSpi.java,
507         java/security/AllPermission.java,
508         java/security/BasicPermission.java,
509         java/security/Certificate.java,
510         java/security/CodeSource.java,
511         java/security/DigestInputStream.java,
512         java/security/DigestOutputStream.java,
513         java/security/GuardedObject.java,
514         java/security/KeyFactory.java,
515         java/security/KeyFactorySpi.java,
516         java/security/KeyPairGenerator.java,
517         java/security/KeyStore.java,
518         java/security/KeyStoreSpi.java,
519         java/security/Permissions.java,
520         java/security/Security.java,
521         java/security/Signature.java,
522         java/security/UnresolvedPermission.java,
523         java/security/cert/CertPathBuilder.java,
524         java/security/cert/CertPathValidator.java,
525         java/security/cert/CertStore.java,
526         java/security/cert/Certificate.java,
527         java/security/cert/CertificateFactory.java,
528         java/security/cert/PolicyQualifierInfo.java,
529         java/security/cert/TrustAnchor.java,
530         java/security/cert/X509CRL.java,
531         java/security/cert/X509CRLSelector.java,
532         java/security/cert/X509CertSelector.java:
533         Import cleanup.
534
535 2004-10-21  Michael Koch  <konqueror@gmx.de>
536
537         * java/rmi/MarshalledObject.java,
538         java/rmi/Naming.java,
539         java/rmi/activation/Activatable.java,
540         java/rmi/activation/ActivationGroup.java,
541         java/rmi/activation/ActivationGroupDesc.java,
542         java/rmi/activation/ActivationInstantiator.java,
543         java/rmi/activation/ActivationMonitor.java,
544         java/rmi/activation/ActivationSystem.java,
545         java/rmi/activation/Activator.java,
546         java/rmi/registry/LocateRegistry.java,
547         java/rmi/registry/Registry.java,
548         java/rmi/server/LogStream.java,
549         java/rmi/server/ObjID.java,
550         java/rmi/server/RMIClientSocketFactory.java,
551         java/rmi/server/RMIServerSocketFactory.java,
552         java/rmi/server/RMISocketFactory.java,
553         java/rmi/server/RemoteCall.java,
554         java/rmi/server/RemoteServer.java,
555         java/rmi/server/ServerRef.java,
556         java/rmi/server/UID.java,
557         java/rmi/server/UnicastRemoteObject.java:
558         Import cleanup.
559
560 2004-10-21  Tom Tromey  <tromey@redhat.com>
561
562         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
563         exception if we hit EOF of `in'.
564         (read): Handle case where inflating returns -1.
565
566 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
567
568         * gnu/java/nio/channels/natFileChannelPosix.cc
569         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
570         argument instead of 'long *'.
571
572 2004-10-21  Tom Tromey  <tromey@redhat.com>
573
574         * java/util/ResourceBundle.java (tryBundle): Also ignore
575         ClassCastException.
576
577 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
578
579         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
580         for all sh*-*-linux* targets.
581         * configure: Regenerate.
582         * include/sh-signal.h: New file.
583
584 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
585
586         * java/lang/ieeefp.h: Add m32r support.
587
588 2004-10-20  Andreas Schwab  <schwab@suse.de>
589
590         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
591         to uaddr, not int.
592         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
593         Likewise.
594
595 2004-10-20  Michael Koch  <konqueror@gmx.de>
596
597         * javax/print/attribute/standard/ColorSupported.java,
598         javax/print/attribute/standard/Compression.java,
599         javax/print/attribute/standard/Copies.java,
600         javax/print/attribute/standard/CopiesSupported.java,
601         javax/print/attribute/standard/DateTimeAtCompleted.java,
602         javax/print/attribute/standard/DateTimeAtCreation.java,
603         javax/print/attribute/standard/DateTimeAtProcessing.java,
604         javax/print/attribute/standard/DocumentName.java,
605         javax/print/attribute/standard/Fidelity.java,
606         javax/print/attribute/standard/Finishings.java,
607         javax/print/attribute/standard/JobHoldUntil.java,
608         javax/print/attribute/standard/JobImpressions.java,
609         javax/print/attribute/standard/JobImpressionsCompleted.java,
610         javax/print/attribute/standard/JobImpressionsSupported.java,
611         javax/print/attribute/standard/JobKOctets.java,
612         javax/print/attribute/standard/JobKOctetsProcessed.java,
613         javax/print/attribute/standard/JobKOctetsSupported.java,
614         javax/print/attribute/standard/JobMediaSheets.java,
615         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
616         javax/print/attribute/standard/JobMediaSheetsSupported.java,
617         javax/print/attribute/standard/JobMessageFromOperator.java,
618         javax/print/attribute/standard/JobName.java,
619         javax/print/attribute/standard/JobOriginatingUserName.java,
620         javax/print/attribute/standard/JobPriority.java,
621         javax/print/attribute/standard/JobPrioritySupported.java,
622         javax/print/attribute/standard/JobSheets.java,
623         javax/print/attribute/standard/JobState.java,
624         javax/print/attribute/standard/JobStateReason.java,
625         javax/print/attribute/standard/JobStateReasons.java,
626         javax/print/attribute/standard/Media.java,
627         javax/print/attribute/standard/MultipleDocumentHandling.java,
628         javax/print/attribute/standard/NumberOfDocuments.java,
629         javax/print/attribute/standard/NumberOfInterveningJobs.java,
630         javax/print/attribute/standard/NumberUp.java,
631         javax/print/attribute/standard/NumberUpSupported.java,
632         javax/print/attribute/standard/OrientationRequested.java,
633         javax/print/attribute/standard/OutputDeviceAssigned.java,
634         javax/print/attribute/standard/PDLOverrideSupported.java,
635         javax/print/attribute/standard/PageRanges.java,
636         javax/print/attribute/standard/PagesPerMinute.java,
637         javax/print/attribute/standard/PagesPerMinuteColor.java,
638         javax/print/attribute/standard/PrintQuality.java,
639         javax/print/attribute/standard/PrinterInfo.java,
640         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
641         javax/print/attribute/standard/PrinterLocation.java,
642         javax/print/attribute/standard/PrinterMakeAndModel.java,
643         javax/print/attribute/standard/PrinterMessageFromOperator.java,
644         javax/print/attribute/standard/PrinterMoreInfo.java,
645         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
646         javax/print/attribute/standard/PrinterName.java,
647         javax/print/attribute/standard/PrinterStateReason.java,
648         javax/print/attribute/standard/PrinterStateReasons.java,
649         javax/print/attribute/standard/PrinterURI.java,
650         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
651         javax/print/attribute/standard/RequestingUserName.java:
652         Reorganized imports and removed redundant final modifiers.
653
654 2004-10-20  Michael Koch  <konqueror@gmx.de>
655
656         * javax/security/sasl/SaslClient.java,
657         javax/security/sasl/SaslClientFactory.java,
658         javax/security/sasl/SaslException.java,
659         javax/security/sasl/SaslServer.java,
660         javax/security/sasl/SaslServerFactory.java:
661         Remvoed CVS tags.
662
663 2004-10-20  Michael Koch  <konqueror@gmx.de>
664
665         * javax/security/auth/login/NullConfiguration.java,
666         javax/security/auth/x500/X500Principal.java,
667         javax/security/cert/X509Certificate.java,
668         javax/security/sasl/AuthenticationException.java,
669         javax/security/sasl/AuthorizeCallback.java,
670         javax/security/sasl/RealmCallback.java,
671         javax/security/sasl/RealmChoiceCallback.java,
672         javax/security/sasl/Sasl.java,
673         javax/security/sasl/SaslClient.java,
674         javax/security/sasl/SaslClientFactory.java,
675         javax/security/sasl/SaslException.java,
676         javax/security/sasl/SaslServer.java,
677         javax/security/sasl/SaslServerFactory.java:
678         Cleaned up import statements and copyright notices.
679
680 2004-10-20  Michael Koch  <konqueror@gmx.de>
681
682         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
683
684 2004-10-20  Michael Koch  <konqueror@gmx.de>
685
686         * java/sql/Timestamp.java,
687         java/text/AttributedCharacterIterator.java,
688         java/text/AttributedString.java,
689         java/util/zip/CheckedOutputStream.java,
690         java/util/zip/DeflaterOutputStream.java,
691         java/util/zip/ZipFile.java,
692         javax/crypto/Cipher.java,
693         javax/crypto/ExemptionMechanismException.java,
694         javax/crypto/SecretKey.java,
695         javax/crypto/SecretKeyFactory.java,
696         javax/naming/directory/ModificationItem.java,
697         javax/naming/directory/SearchControls.java,
698         javax/naming/event/NamingListener.java,
699         javax/naming/ldap/Control.java,
700         javax/naming/ldap/ExtendedResponse.java,
701         javax/net/ssl/SSLSocketFactory.java:
702         Reorganized imports and fixed copyright headers.
703
704 2004-10-20  Michael Koch  <konqueror@gmx.de>
705
706         * java/util/logging/ConsoleHandler.java,
707         java/util/logging/ErrorManager.java,
708         java/util/logging/FileHandler.java,
709         java/util/logging/Filter.java,
710         java/util/logging/Formatter.java,
711         java/util/logging/Handler.java,
712         java/util/logging/Level.java,
713         java/util/logging/LogManager.java,
714         java/util/logging/LogRecord.java,
715         java/util/logging/Logger.java,
716         java/util/logging/LoggingPermission.java,
717         java/util/logging/MemoryHandler.java,
718         java/util/logging/SimpleFormatter.java,
719         java/util/logging/SocketHandler.java,
720         java/util/logging/StreamHandler.java,
721         java/util/logging/XMLFormatter.java:
722         Standardized copyrigth header.
723
724 2004-10-20  Michael Koch  <konqueror@gmx.de>
725
726         * java/security/AlgorithmParameterGenerator.java,
727         java/security/AlgorithmParameters.java,
728         java/security/DigestInputStream.java,
729         java/security/Identity.java,
730         java/security/KeyFactory.java,
731         java/security/KeyPairGenerator.java,
732         java/security/KeyStore.java,
733         java/security/MessageDigest.java,
734         java/security/MessageDigestSpi.java,
735         java/security/Policy.java,
736         java/security/SecureRandom.java,
737         java/security/Security.java,
738         java/security/Signature.java,
739         java/security/SignatureSpi.java,
740         java/security/cert/CertPathBuilder.java,
741         java/security/cert/CertPathValidator.java,
742         java/security/cert/CertStore.java,
743         java/security/cert/Certificate.java,
744         java/security/cert/CertificateFactory.java,
745         java/security/cert/PolicyQualifierInfo.java,
746         java/security/cert/TrustAnchor.java,
747         java/security/cert/X509CRL.java,
748         java/security/cert/X509CRLEntry.java,
749         java/security/cert/X509Certificate.java,
750         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
751         Import statements reorganized, some little formatting issues,
752         used java-style array declarations, added comments in empty catch
753         blocks.
754
755 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
756
757         * java/security/Security.java
758         (static): Use AccessController.doPrivileged to get system property.
759
760 2004-10-18  Sven de Marothy  <sven@physto.se>
761
762         * java/nio/ByteBufferHelper.java
763         (putDouble): Use Double.toRawLongBits instead.
764
765 2004-10-18  Mark Wielaard  <mark@klomp.org>
766         Andrew Haley  <aph@redhat.com>
767
768         * testsuite/libjava.lang/ExtraClassLoader.java: New.
769
770 2004-10-18  Andrew Haley  <aph@redhat.com>
771
772         PR java/18036:
773         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
774         and correct logic used to find interpreter.
775         
776 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
777
778         * java/util/logging/LogManager.java
779         (findAncestor): Fixed IndexOutOfBoundsException.
780
781 2004-10-18  Michael Koch  <konqueror@gmx.de>
782
783         * java/io/BufferedInputStream.java: Fixed @author tag.
784         (read): Simplified expression.
785         (read): Merged javadoc a bit more.
786         (read): Renamed 'remain' to 'totalBytesRead'.
787         * java/io/DataInputStream.java,
788         java/io/DataOutputStream.java,
789         java/io/ObjectInputStream.java,
790         java/io/ObjectOutputStream.java:
791         Reworked modifier order.
792
793 2004-10-18  Michael Koch  <konqueror@gmx.de>
794
795         * java/net/Inet4Address.java: Merged file header and javadocs.
796         * java/net/Inet6Address.java: Likewise.
797         * java/net/InetAddress.java
798         (getCanonicalHostName): Create Inet4Address object instead of
799         InetAddress and add comment regarding IPv6.
800         (toString): Simplified.
801
802 2004-10-18  Michael Koch  <konqueror@gmx.de>
803
804         * gnu/java/net/protocol/http/Connection.java,
805         java/nio/MappedByteBufferImpl.java,
806         java/text/RuleBasedCollator.java,
807         java/util/ResourceBundle.java:
808         Reworked import statements.
809
810 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
811
812         * java/security/IdentityScope.java
813         (systemScope): Removed useless initializer.
814         * java/security/Policy.java
815         (currentPolicy): Likewise.
816
817 2004-10-18  Michael Koch  <konqueror@gmx.de>
818
819         * java/lang/System.java: Revert accidential change.
820
821 2004-10-18  Michael Koch  <konqueror@gmx.de>
822
823         * java/lang/Math.java,
824         java/lang/Package.java,
825         java/lang/Runtime.java,
826         java/lang/StrictMath.java,
827         java/lang/System.java,
828         java/lang/Thread.java,
829         java/lang/ThreadLocal.java,
830         java/lang/Void.java:
831         Reworked import statements, HTML in javadocs and modifier orders.
832
833 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
834
835         * java/util/Timer.java
836         (nr): Removed useless initializer.
837         * java/util/logging/LogRecord.java
838         (lastSeqNum): Likewise.
839         * javax/naming/spi/NamingManager.java
840         (icfb, ofb): Likewise.
841
842 2004-10-18  Michael Koch  <konqueror@gmx.de>
843
844         * gnu/java/net/PlainDatagramSocketImpl.java:
845         Reworked import statements.
846         * gnu/java/security/provider/DSAParameters.java:
847         Fixed copyrigth years.
848         * java/net/JarURLConnection.java:
849         Fixed HTML in @author tags.
850         
851
852 2004-10-18  Michael Koch  <konqueror@gmx.de>
853
854         * java/rmi/activation/ActivationSystem.java
855         (SYSTEM_PORT): Initialize with correct port number.
856
857 2004-10-18  Michael Koch  <konqueror@gmx.de>
858
859         * java/lang/reflect/Proxy.java: Improved javadocs.
860
861 2004-10-18  Michael Koch  <konqueror@gmx.de>
862
863         * java/lang/reflect/AccessibleObject.java
864         (checkPermission): Removed redundant final modifier.
865         (secureSetAccessible): Likewise.
866         * java/lang/reflect/Proxy.java:
867         Reworked import statements.
868         (generate): Removed redundant final modifier.
869         * java/lang/reflect/ReflectPermission.java:
870         Reorder package declaration and import statement.
871
872 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
873
874         * java/lang/reflect/Proxy.java
875         (count): Removed useless initializer.
876
877 2004-10-17  Michael Koch  <konqueror@gmx.de>
878
879         * java/net/BindException.java,
880         java/net/ConnectException.java,
881         java/net/ContentHandler.java,
882         java/net/ContentHandlerFactory.java,
883         java/net/DatagramPacket.java,
884         java/net/DatagramSocket.java,
885         java/net/DatagramSocketImpl.java,
886         java/net/DatagramSocketImplFactory.java,
887         java/net/FileNameMap.java,
888         java/net/HttpURLConnection.java,
889         java/net/MalformedURLException.java,
890         java/net/MulticastSocket.java,
891         java/net/NetworkInterface.java,
892         java/net/NoRouteToHostException.java,
893         java/net/PasswordAuthentication.java,
894         java/net/PortUnreachableException.java,
895         java/net/ProtocolException.java,
896         java/net/ServerSocket.java,
897         java/net/Socket.java,
898         java/net/SocketException.java,
899         java/net/SocketImpl.java,
900         java/net/SocketImplFactory.java,
901         java/net/SocketOptions.java,
902         java/net/SocketPermission.java,
903         java/net/SocketTimeoutException.java,
904         java/net/URI.java,
905         java/net/URISyntaxException.java,
906         java/net/URL.java,
907         java/net/URLDecoder.java,
908         java/net/URLEncoder.java,
909         java/net/URLStreamHandler.java,
910         java/net/URLStreamHandlerFactory.java,
911         java/net/UnknownHostException.java,
912         java/net/UnknownServiceException.java:
913         Big import statement and @author tag cleanup.
914
915 2004-10-17  Michael Koch  <konqueror@gmx.de>
916
917         * gnu/java/security/OID.java,
918         gnu/java/security/provider/DSAParameters.java,
919         gnu/java/security/provider/DSASignature.java,
920         gnu/java/security/x509/X500DistinguishedName.java,
921         gnu/java/security/x509/X509CRL.java:
922         Import statements cleaned up.
923
924 2004-10-16  Michael Koch  <konqueror@gmx.de>
925
926         * gnu/java/nio/NIODatagramSocket.java,
927         gnu/java/nio/ServerSocketChannelImpl.java:
928         Reorganized import statements.
929
930 2004-10-16  Michael Koch  <konqueror@gmx.de>
931
932         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
933         gnu/java/rmi/rmic/RMIC.java,
934         gnu/java/rmi/server/RMIHashes.java,
935         gnu/java/rmi/server/RMIObjectInputStream.java,
936         gnu/java/rmi/server/RMIObjectOutputStream.java,
937         gnu/java/rmi/server/UnicastConnection.java,
938         gnu/java/rmi/server/UnicastConnectionManager.java,
939         gnu/java/rmi/server/UnicastRemoteCall.java,
940         gnu/java/rmi/server/UnicastServer.java,
941         gnu/java/rmi/server/UnicastServerRef.java,
942         java/rmi/MarshalledObject.java,
943         java/rmi/Naming.java,
944         java/rmi/RMISecurityManager.java,
945         java/rmi/Remote.java,
946         java/rmi/activation/Activatable.java,
947         java/rmi/activation/ActivationDesc.java,
948         java/rmi/activation/ActivationGroup.java,
949         java/rmi/activation/ActivationGroupDesc.java,
950         java/rmi/activation/ActivationGroupID.java,
951         java/rmi/activation/ActivationID.java,
952         java/rmi/activation/ActivationInstantiator.java,
953         java/rmi/activation/ActivationMonitor.java,
954         java/rmi/activation/ActivationSystem.java,
955         java/rmi/activation/Activator.java,
956         java/rmi/dgc/DGC.java,
957         java/rmi/dgc/Lease.java,
958         java/rmi/dgc/VMID.java,
959         java/rmi/registry/LocateRegistry.java,
960         java/rmi/registry/Registry.java,
961         java/rmi/registry/RegistryHandler.java,
962         java/rmi/server/LoaderHandler.java,
963         java/rmi/server/LogStream.java,
964         java/rmi/server/ObjID.java,
965         java/rmi/server/Operation.java,
966         java/rmi/server/RMIClassLoader.java,
967         java/rmi/server/RMIClassLoaderSpi.java,
968         java/rmi/server/RMIClientSocketFactory.java,
969         java/rmi/server/RMIFailureHandler.java,
970         java/rmi/server/RMIServerSocketFactory.java,
971         java/rmi/server/RMISocketFactory.java,
972         java/rmi/server/RemoteCall.java,
973         java/rmi/server/RemoteObject.java,
974         java/rmi/server/RemoteRef.java,
975         java/rmi/server/RemoteServer.java,
976         java/rmi/server/RemoteStub.java,
977         java/rmi/server/ServerRef.java,
978         java/rmi/server/Skeleton.java,
979         java/rmi/server/SkeletonMismatchException.java,
980         java/rmi/server/UID.java,
981         java/rmi/server/UnicastRemoteObject.java,
982         java/rmi/server/Unreferenced.java:
983         File headers and import statements cleaned up.
984
985 2004-10-16  Michael Koch  <konqueror@gmx.de>
986
987         * libjava/gnu/java/nio/charset/UTF_16.java,
988         libjava/gnu/java/nio/charset/UTF_16BE.java,
989         libjava/gnu/java/nio/charset/UTF_16LE.java,
990         libjava/java/nio/ByteOrder.java,
991         libjava/java/nio/MappedByteBuffer.java,
992         libjava/java/nio/channels/Channels.java,
993         libjava/java/nio/channels/spi/SelectorProvider.java,
994         libjava/java/nio/charset/Charset.java:
995         Cleanup.
996
997 2004-10-16  Michael Koch  <konqueror@gmx.de>
998
999         * gnu/java/nio/charset/UTF_16Encoder.java
1000         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1001
1002 2004-10-16  Michael Koch  <konqueror@gmx.de>
1003
1004         * java/math/BigDecimal.java, java/math/BigInteger.java:
1005         Reorganized import statements, removed redundant and
1006         reorganized modifiers.
1007
1008 2004-10-16  Michael Koch  <konqueror@gmx.de>
1009
1010         * gnu/java/beans/ExplicitBeanInfo.java:
1011         Explicitely import java.awt.Image.
1012         (getIcon): Fixed off-by-one error.
1013
1014 2004-10-15  Andrew Haley  <aph@redhat.com>
1015
1016         * Makefile.am (nat_files, xlib_nat_files): New.
1017         * Makefile.in: Regenerate.
1018
1019 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1020
1021         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1022         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1023
1024 2004-10-13  Andrew Haley  <aph@redhat.com>
1025
1026         * interpret.cc (_Jv_InterpMethod::run): Initialize
1027         _Jv_StartOfInterpreter.
1028         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1029         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1030         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1031         _Unwind_FindEnclosingFunction to discover whether PC is within the
1032         interpreter.
1033
1034 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1035
1036         PR libgcj/17903:
1037         * testsuite/libjava.lang/md5test.java: New file.
1038         * testsuite/libjava.lang/md5test.out: Likewise.
1039         * testsuite/libjava.lang/shatest.java: Likewise.
1040         * testsuite/libjava.lang/shatest.out: Likewise.
1041
1042 2004-10-11  Richard Henderson  <rth@redhat.com>
1043
1044         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1045         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1046
1047 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1048
1049         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1050         field as a DST boundary may have been crossed.
1051         * java/util/GregorianCalendar.java (add): Throw 
1052         IllegalArgumentException on attempt to add to DST_OFFSET or 
1053         ZONE_OFFSET fields. Update javadoc.
1054
1055 2004-10-09  Michael Koch  <konqueror@gmx.de>
1056
1057         * java/io/CharArrayWriter.java
1058         (resize): Removed redundant 'final' modifier.
1059         * java/io/DataInputStream.java
1060         (readFully): Throw IndexOutOfBoundsException of len < 0.
1061         * java/io/FileDescriptor.java,
1062         java/io/FileInputStream.java,
1063         java/io/FileOutputStream.java,
1064         java/io/ObjectOutputStream.java,
1065         java/io/ObjectStreamClass.java,
1066         java/io/PipedInputStream.java,
1067         java/io/RandomAccessFile.java:
1068         Reorganized import statements.
1069
1070 2004-10-09  Michael Koch  <konqueror@gmx.de>
1071
1072         * gnu/java/rmi/rmic/RMIC.java,
1073         gnu/java/rmi/server/RMIHashes.java,
1074         gnu/java/rmi/server/RMIObjectInputStream.java,
1075         gnu/java/rmi/server/UnicastConnection.java,
1076         gnu/java/rmi/server/UnicastConnectionManager.java,
1077         gnu/java/rmi/server/UnicastRemoteCall.java,
1078         gnu/java/rmi/server/UnicastServerRef.java:
1079         Reworked import statements and fixed file headers.
1080
1081 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1082
1083         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1084         emission rule.
1085         * configure: Rebuilt.
1086
1087 2004-09-30  Tom Tromey  <tromey@redhat.com>
1088
1089         * java/text/MessageFormat.java (Field): Constructor now
1090         protected.
1091
1092 2004-09-30  Tom Tromey  <tromey@redhat.com>
1093
1094         * javax/crypto/MacSpi.java: Fixed typo.
1095
1096 2004-09-30  Michael Koch  <konqueror@gmx.de>
1097
1098         * java/net/InetAddress.java: Reformatted.
1099         (loopback): Initialize with Inet4Address object.
1100         (static): Initialize ANY_IF with Inet4Address object.
1101         (InetAddress): Removed unused package-private constructor.
1102
1103 2004-09-30  Michael Koch  <konqueror@gmx.de>
1104
1105         * java/beans/Beans.java,
1106         java/beans/EventHandler.java,
1107         java/beans/EventSetDescriptor.java,
1108         java/beans/Introspector.java,
1109         java/beans/PropertyEditorManager.java,
1110         java/beans/beancontext/BeanContext.java,
1111         java/beans/beancontext/BeanContextChild.java,
1112         java/beans/beancontext/BeanContextChildSupport.java,
1113         java/beans/beancontext/BeanContextMembershipEvent.java:
1114         Reordered import statements and removed redundant modifiers.
1115
1116 2004-09-29  Tom Tromey  <tromey@redhat.com>
1117
1118         PR libgcj/17715:
1119         * Makefile.in: Rebuilt.
1120         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1121         files.
1122         (all_property_files): New macro.
1123
1124         * Makefile.in: Rebuilt.
1125         * Makefile.am (ordinary_java_source_files): Re-sorted.
1126         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1127
1128 2004-09-28  Tom Tromey  <tromey@redhat.com>
1129
1130         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1131
1132         PR libgcj/17222:
1133         * Makefile.am (libgcj.la): Restored.
1134         * Makefile.in: Rebuilt.
1135
1136 2004-09-28  Michael Koch  <konqueror@gmx.de>
1137
1138         * java/net/URLConnection.java: Reformatted.
1139         * java/net/URLClassLoader.java: Reformatted.
1140         (getContent): Reordered return of content.
1141         (getContentHandler): Don't check for null explicitely.
1142
1143 2004-09-27  Michael Koch  <konqueror@gmx.de>
1144
1145         * java/io/BufferedInputStream.java
1146         (BufferedInputStream): Added Jeroen Frijters to authors.
1147         (count): Don't explicitely initialize with default value.
1148         (pos): Likewise.
1149         (marklimit): Likewise.
1150         (read): Changed boolean expression to match GNU classpath' version.
1151         (reset): Add proper message to exception.
1152         (skip): Check for closed stream.
1153         (refill): Likewise.
1154
1155 2004-09-26  Per Bothner  <per@bothner.com>
1156
1157         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1158         avoid warnings in the non-POSIX_VERSION case.
1159         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1160         so place it inside an #if block.
1161         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1162         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1163         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1164         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1165
1166 2004-09-26  Per Bothner  <per@bothner.com>
1167
1168         * prims.cc (process_gcj_properties):  Optimization.
1169
1170 2004-09-26  Per Bothner  <per@bothner.com>
1171
1172         * java/util/Collections.java (sort):  Copy from array in forwards
1173         order, rather than reverse order which may be much less efficient.
1174
1175 2004-09-26  Mark Wielaard  <mark@klomp.org>
1176
1177         * java/lang/System.java (properties): Make package private.
1178         * java/lang/Throwable.java (StaticData.nl): Initialize through
1179         directly accessing System.properties.getProperty().
1180
1181         * java/lang/Throwable.java (nl): Remove static field.
1182         (StaticData): New private static inner class.
1183         (stackTraceStringBuffer): Use StaticData.nl.
1184
1185 2004-09-26  Casey Marshall <csm@gnu.org>
1186
1187         * java/security/ProtectionDomain.java
1188         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1189         `true'.
1190
1191         * java/security/SecureClassLoader.java
1192         (defineClass): make protection domain dynamically bound.
1193         (getPermissions): call `getCurrentPolicy' to avoid permission
1194         check.
1195
1196 2004-09-25  Mark Wielaard  <mark@klomp.org>
1197
1198         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1199         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1200         * Makefile.in: Regenerated.
1201
1202         * gcj/javaprims.h: Regenerated.
1203
1204         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1205         (getDefaultTimeZone): Make package private. Check that GMToffset
1206         contains at least one digit.
1207         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1208         VMTimeZone.
1209         * util/VMTimeZone.java: New file with above methods.
1210
1211         * java/util/natTimeZone.cc: Removed (renamed).
1212         * java/util/natVMTimeZone.cc: Added (renamed).
1213
1214 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1215
1216         * java/util/TimeZone.java
1217         (getDefaultTimeZone): Fixed test to distinguish between hours and
1218         minutes in specified timezone.
1219
1220 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1221
1222         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1223         handling of default package. (generate): Removed confused comments
1224         and code about making Method and Field accessible.
1225
1226 2004-09-25  Tom Tromey  <tromey@redhat.com>
1227
1228         PR java/17500:
1229         * testsuite/libjava.compile/pr17500.java: New file.
1230
1231 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1232             Mark Wielaard  <mark@klomp.org>
1233
1234         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1235         * gnu/regexp/RETokenLookAhead.java: New file.
1236
1237         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1238         * Makefile.in: Regenerated.
1239
1240 2004-09-25  Michael Koch  <konqueror@gmx.de>
1241
1242         * java/io/ObjectStreamField.java:
1243         Removed unused import statement.
1244
1245 2004-09-24  Tom Tromey  <tromey@redhat.com>
1246
1247         PR java/15656:
1248         * testsuite/libjava.compile/pr15656.xfail: New file.
1249         * testsuite/libjava.compile/pr15656.java: new file.
1250
1251         PR java/16789:
1252         * testsuite/libjava.lang/pr16789.out: New file.
1253         * testsuite/libjava.lang/pr16789.java: New file.
1254
1255 2004-09-24  Andrew Haley  <aph@redhat.com>
1256
1257         PR java/16927
1258         * testsuite/libjava.compile/AssertBug.java: New file.
1259
1260 2004-09-24  Casey Marshall <csm@gnu.org>
1261
1262         * java/util/PropertyPermissionCollection.java
1263         (implies): avoid infinite loop.
1264
1265 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1266
1267         * javax/security/auth/PrivateCredentialPermission.java
1268         (PrivateCredentialPermission): added serialization UID
1269
1270
1271 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1272
1273         * gnu/java/rmi/server/UnicastServer.java
1274         (incomingMessageCall): Added code to handle Errors.
1275         * gnu/java/rmi/server/UnicastServerRef.java
1276         (incomingMessageCall): Added code to handle Errors.
1277
1278
1279 2004-09-24  Tom Tromey  <tromey@redhat.com>
1280
1281         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1282         (definedPackages): Likewise.
1283
1284 2004-09-24  Michael Koch  <konqueror@gmx.de>
1285
1286         * java/io/ObjectInputStream.java:
1287         Re-ordered imports.
1288
1289 2004-09-24  Casey Marshall <csm@gnu.org>
1290
1291         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1292         `ClassNotFoundException'.
1293
1294 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1295
1296         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1297         of Externalizable classes to ObjectStreamClass.
1298         * java/io/ObjectStreamClass.java (newInstance): New method to
1299         instantiate Externalizable (while ignoring the accessibility of
1300         the constructor). (constructor): New field to cache the constructor.
1301
1302 2004-09-24  Mark Wielaard  <mark@klomp.org>
1303
1304         * java/net/URL.java (systemClassLoader): New static field.
1305         (getURLStreamHandler): Always use system/application classloader
1306         for finding URLStreamhandler. Remove unecessary instanceof checks.
1307
1308 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1309
1310         * java/net/URL.java
1311         (set): This method now matches the behaviour of the JDK.
1312         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1313
1314 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1315
1316         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1317
1318 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1319
1320         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1321         Don't set authority if host isn't specified.
1322
1323 2004-09-24  Michael Koch  <konqueror@gmx.de>
1324
1325         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1326         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1327         * gnu/java/nio/VMPipe.java,
1328         gnu/java/nio/VMSelector.java:
1329         New files.
1330         * gnu/java/nio/natPipeImplEcos.cc,
1331         gnu/java/nio/natPipeImplPosix.cc,
1332         gnu/java/nio/natPipeImplWin32.cc:
1333         Ported to VMPipe.
1334         * gnu/java/nio/natSelectorImplEcos.cc,
1335         gnu/java/nio/natSelectorImplPosix.cc,
1336         gnu/java/nio/natSelectorImplWin32.cc:
1337         Ported to VMSelector.
1338         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1339         gnu/java/nio/VMSelector.java.
1340         * Makefile.in: Regenerated.
1341
1342 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1343
1344         * java/lang/StackTraceElement.java
1345         (className): Renamed field to declaringClass to be compatible
1346         with Sun serialization format.
1347
1348 2004-09-23  Michael Koch  <konqueror@gmx.de>
1349
1350         * java/applet/AppletContext.java,
1351         java/applet/Applet.java,
1352         java/applet/AppletStub.java,
1353         java/applet/AudioClip.java:
1354         Jalopied and checkstyle clean.
1355
1356 2004-09-23  Mark Wielaard  <mark@klomp.org>
1357
1358         * java/util/Collections.java
1359         (binarySearch(List, Object, Comparator)): Explicitly
1360         reverse direction in list iterator.
1361         (rotate): Just return when list is empty.
1362
1363 2004-09-23  Tom Tromey  <tromey@redhat.com>
1364
1365         PR java/17329:
1366         * testsuite/libjava.compile/pr17329.java: New file.
1367
1368         PR java/17380:
1369         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1370         9.2-implicit-7.
1371
1372 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1373
1374         * Makefile.am: Run aclocal with -I ../config
1375         * acinclude.m4: Delete macros picked up from ../config and tidy.
1376         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1377         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1378         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1379
1380 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1381
1382         * aclocal.m4: Regenerate with aclocal 1.9.2.
1383         * configure: Regenerate.
1384         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1385         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1386
1387 2004-09-22  David Daney  <ddaney@avtrex.com>
1388
1389         PR libgcj/17623
1390         * java/net/URL.java (URL): Copy userInfo from context.
1391         (getUserInfo): Return cached userInfo if present.
1392
1393 2004-09-22  Tom Tromey  <tromey@redhat.com>
1394
1395         PR libgcj/6182:
1396         * mauve-libgcj: Enable java.lang.Character tests.
1397
1398 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1399
1400         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1401         dependencies.
1402         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1403         * Makefile.in: Regenerated.
1404
1405 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1406
1407         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1408         * configure: Regenerate.
1409         * include/config.h.in: Likewise.
1410         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1412         macro to gtkpeer.h.
1413         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1414         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1415         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1416         architectures.
1417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1418         Likewise.
1419
1420 2004-09-22  Tom Tromey  <tromey@redhat.com>
1421
1422         PR libgcj/14446:
1423         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1424         when comparing CRCs.
1425         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1426         field.
1427         (read()): New overload.
1428
1429 2004-09-21  Tom Tromey  <tromey@redhat.com>
1430
1431         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1432         Indentation fix.
1433
1434 2004-09-21  Michael Koch  <konqueror@gmx.de>
1435
1436         * java/net/Socket.java
1437         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1438
1439 2004-09-21  Casey Marshall  <csm@gnu.org>
1440
1441         * javax/crypto/MacSpi.java (clone): Provide meaningful
1442         implementation.
1443
1444 2004-09-21  Tom Tromey  <tromey@redhat.com>
1445
1446         PR libgcj/16869:
1447         * Makefile.in: Rebuilt.
1448         * Makefile.am (MOSTLYCLEANFILES): Removed.
1449         (mostlyclean-local): Remove header files.
1450
1451 2004-09-21  Casey Marshall  <csm@gnu.org>
1452
1453         * java/security/cert/X509CRLSelector.java:
1454         (match): remove unreachable try-catch clauses.
1455         Reported by: Dalibor Topic <robilad@kaffe.org>
1456
1457 2004-09-21  Mark Wielaard  <mark@klomp.org>
1458
1459         * java/util/TreeMap.java (root): Don't initialize.
1460         (TreeMap(Comparator)): Call fabricateTree(0).
1461         (fabricateTree): Initialize root and size when count is 0.
1462
1463 2004-09-21  Sven de Marothy <sven@physto.se>
1464
1465         * java/nio/ByteBuffer.java (hashCode): Implemented.
1466         * java/nio/CharBuffer.java: Likewise.
1467         * java/nio/DoubleBuffer.java: Likewise.
1468         * java/nio/FloatBuffer.java: Likewise.
1469         * java/nio/LongBuffer.java: Likewise.
1470         * java/nio/IntBuffer.java: Likewise.
1471         * java/nio/ShortBuffer.java: Likewise.
1472
1473 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1474
1475         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1476
1477 2004-09-21  Michael Koch  <konqueror@gmx.de>
1478
1479         * javax/net/ssl/SSLServerSocket.java:
1480         Removed comment about "Do not edit this file, it's generated.".
1481
1482 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1483
1484         Import the big Crypto/Jessie/Security merge from Classpath.
1485
1486         * Makefile.am: Add imported files.
1487         * Makefile.in: Regenerate.
1488
1489         2004-08-14  Casey Marshall <csm@gnu.org>
1490
1491         The Big Crypto Merge of 2004.
1492
1493         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1494         Crypto's version.
1495
1496         Files imported from GNU Crypto.
1497         * javax/crypto/BadPaddingException.java
1498         * javax/crypto/Cipher.java
1499         * javax/crypto/CipherInputStream.java
1500         * javax/crypto/CipherOutputStream.java
1501         * javax/crypto/CipherSpi.java
1502         * javax/crypto/EncryptedPrivateKeyInfo.java
1503         * javax/crypto/ExemptionMechanism.java
1504         * javax/crypto/ExemptionMechanismException.java
1505         * javax/crypto/ExemptionMechanismSpi.java
1506         * javax/crypto/IllegalBlockSizeException.java
1507         * javax/crypto/KeyAgreement.java
1508         * javax/crypto/KeyAgreementSpi.java
1509         * javax/crypto/KeyGenerator.java
1510         * javax/crypto/KeyGeneratorSpi.java
1511         * javax/crypto/Mac.java
1512         * javax/crypto/MacSpi.java
1513         * javax/crypto/Makefile.am
1514         * javax/crypto/NoSuchPaddingException.java
1515         * javax/crypto/NullCipher.java
1516         * javax/crypto/NullCipherImpl.java
1517         * javax/crypto/SealedObject.java
1518         * javax/crypto/SecretKey.java
1519         * javax/crypto/SecretKeyFactory.java
1520         * javax/crypto/SecretKeyFactorySpi.java
1521         * javax/crypto/ShortBufferException.java
1522         * javax/crypto/interfaces/DHKey.java
1523         * javax/crypto/interfaces/DHPrivateKey.java
1524         * javax/crypto/interfaces/DHPublicKey.java
1525         * javax/crypto/interfaces/PBEKey.java
1526         * javax/crypto/spec/DESKeySpec.java
1527         * javax/crypto/spec/DESedeKeySpec.java
1528         * javax/crypto/spec/DHGenParameterSpec.java
1529         * javax/crypto/spec/DHParameterSpec.java
1530         * javax/crypto/spec/DHPrivateKeySpec.java
1531         * javax/crypto/spec/DHPublicKeySpec.java
1532         * javax/crypto/spec/IvParameterSpec.java
1533         * javax/crypto/spec/PBEKeySpec.java
1534         * javax/crypto/spec/PBEParameterSpec.java
1535         * javax/crypto/spec/RC2ParameterSpec.java
1536         * javax/crypto/spec/RC5ParameterSpec.java
1537         * javax/crypto/spec/SecretKeySpec.java
1538         * javax/security/auth/AuthPermission.java
1539         * javax/security/auth/DestroyFailedException.java
1540         * javax/security/auth/Destroyable.java
1541         * javax/security/auth/Policy.java
1542         * javax/security/auth/PrivateCredentialPermission.java
1543         * javax/security/auth/RefreshFailedException.java
1544         * javax/security/auth/Refreshable.java
1545         * javax/security/auth/Subject.java
1546         * javax/security/auth/SubjectDomainCombiner.java
1547         * javax/security/auth/callback/Callback.java
1548         * javax/security/auth/callback/CallbackHandler.java
1549         * javax/security/auth/callback/ChoiceCallback.java
1550         * javax/security/auth/callback/ConfirmationCallback.java
1551         * javax/security/auth/callback/LanguageCallback.java
1552         * javax/security/auth/callback/NameCallback.java
1553         * javax/security/auth/callback/PasswordCallback.java
1554         * javax/security/auth/callback/TextInputCallback.java
1555         * javax/security/auth/callback/TextOutputCallback.java
1556         * javax/security/auth/callback/UnsupportedCallbackException.java
1557         * javax/security/auth/login/AccountExpiredException.java
1558         * javax/security/auth/login/AppConfigurationEntry.java
1559         * javax/security/auth/login/Configuration.java
1560         * javax/security/auth/login/CredentialExpiredException.java
1561         * javax/security/auth/login/FailedLoginException.java
1562         * javax/security/auth/login/LoginContext.java
1563         * javax/security/auth/login/LoginException.java
1564         * javax/security/auth/login/NullConfiguration.java
1565         * javax/security/auth/x500/X500PrivateCredential.java
1566         * javax/security/sasl/AuthenticationException.java
1567         * javax/security/sasl/AuthorizeCallback.java
1568         * javax/security/sasl/RealmCallback.java
1569         * javax/security/sasl/RealmChoiceCallback.java
1570         * javax/security/sasl/Sasl.java
1571         * javax/security/sasl/SaslClient.java
1572         * javax/security/sasl/SaslClientFactory.java
1573         * javax/security/sasl/SaslException.java
1574         * javax/security/sasl/SaslServer.java
1575         * javax/security/sasl/SaslServerFactory.java
1576         * org/ietf/jgss/ChannelBinding.java
1577         * org/ietf/jgss/GSSContext.java
1578         * org/ietf/jgss/GSSCredential.java
1579         * org/ietf/jgss/GSSException.java
1580         * org/ietf/jgss/GSSManager.java
1581         * org/ietf/jgss/GSSName.java
1582         * org/ietf/jgss/MessageProp.java
1583         * org/ietf/jgss/Oid.java
1584         * org/ietf/jgss/MessagesBundle.properties
1585
1586         Files imported from Jessie <http://www.nongnu.org/jessie/>
1587         * javax/net/ServerSocketFactory.java
1588         * javax/net/SocketFactory.java
1589         * javax/net/VanillaServerSocketFactory.java
1590         * javax/net/VanillaSocketFactory.java
1591         * javax/net/ssl/HandshakeCompletedEvent.java
1592         * javax/net/ssl/HandshakeCompletedListener.java
1593         * javax/net/ssl/HostnameVerifier.java
1594         * javax/net/ssl/HttpsURLConnection.java
1595         * javax/net/ssl/KeyManager.java
1596         * javax/net/ssl/KeyManagerFactory.java
1597         * javax/net/ssl/KeyManagerFactorySpi.java
1598         * javax/net/ssl/ManagerFactoryParameters.java
1599         * javax/net/ssl/SSLContext.java
1600         * javax/net/ssl/SSLContextSpi.java
1601         * javax/net/ssl/SSLException.java
1602         * javax/net/ssl/SSLHandshakeException.java
1603         * javax/net/ssl/SSLKeyException.java
1604         * javax/net/ssl/SSLPeerUnverifiedException.java
1605         * javax/net/ssl/SSLPermission.java
1606         * javax/net/ssl/SSLProtocolException.java
1607         * javax/net/ssl/SSLServerSocket.java
1608         * javax/net/ssl/SSLServerSocketFactory.java
1609         * javax/net/ssl/SSLSession.java
1610         * javax/net/ssl/SSLSessionBindingEvent.java
1611         * javax/net/ssl/SSLSessionBindingListener.java
1612         * javax/net/ssl/SSLSessionContext.java
1613         * javax/net/ssl/SSLSocket.java
1614         * javax/net/ssl/SSLSocketFactory.java
1615         * javax/net/ssl/TrivialHostnameVerifier.java
1616         * javax/net/ssl/TrustManager.java
1617         * javax/net/ssl/TrustManagerFactory.java
1618         * javax/net/ssl/TrustManagerFactorySpi.java
1619         * javax/net/ssl/X509KeyManager.java
1620         * javax/net/ssl/X509TrustManager.java
1621         * javax/security/cert/Certificate.java
1622         * javax/security/cert/CertificateEncodingException.java
1623         * javax/security/cert/CertificateException.java
1624         * javax/security/cert/CertificateExpiredException.java
1625         * javax/security/cert/CertificateNotYetValidException.java
1626         * javax/security/cert/CertificateParsingException.java
1627         * javax/security/cert/X509CertBridge.java
1628         * javax/security/cert/X509Certificate.java
1629
1630         2004-08-20  Casey Marshall  <csm@gnu.org>
1631
1632         * java/security/cert/X509CRLSelector.java: New file.
1633         * java/security/cert/X509CertSelector.java: New file.
1634
1635 2004-09-15  Michael Koch  <konqueror@gmx.de>
1636
1637         * gnu/java/net/protocol/file/Handler.java
1638         (openConnection): Don't throw exception if host part for file: URI is
1639         present. setURL() keeps file: protocol if ftp: protocol is not
1640         available.
1641
1642 2004-09-14  Richard Henderson  <rth@redhat.com>
1643
1644         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1645         value of sigsuspend.
1646
1647 2004-09-12  Tom Tromey  <tromey@redhat.com>
1648
1649         * javax/naming/CompoundName.java (CompoundName): Don't check for
1650         separator in "flat" case.
1651
1652 2004-09-12  Michael Koch  <konqueror@gmx.de>
1653
1654         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1655         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1656         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1657         Regenerate.
1658
1659 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1660
1661         PR libgcj/14751
1662         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1663         handle in newly-allocated _Jv_Thread_t.
1664         (_Jv_ThreadDestroyData): Close thread handle.
1665         (_Jv_ThreadStart): Remove obsolete comment.
1666         Store handle of newly-created thread in _Jv_Thread_t.
1667         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1668         before including <windows.h>
1669         #define _Jv_HaveCondDestroy
1670
1671 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1672
1673         * java/lang/natThread.cc (finalize_native): Destroy
1674         join conditional variable and mutex if these destroy
1675         operations are supported.
1676
1677 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1678
1679         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1680         (DEFAULT_PERMISSION): New constant.
1681         (Connection): Create a FilePermission with permission to read file.
1682
1683 2004-09-10  Michael Koch  <konqueror@gmx.de>
1684
1685         * gnu/java/net/protocol/file/Connection.java
1686         (getLastModified): Moved around.
1687         (getPermission): Return stored permission.
1688
1689 2004-09-10  Michael Koch  <konqueror@gmx.de>
1690
1691         * Makefile.in: Regenerate.
1692
1693 2004-09-10  Michael Koch  <konqueror@gmx.de>
1694
1695         * Makefile.am: Reverted accidently commited stuff.
1696         * configure: Regenerated.
1697
1698 2004-09-10  Michael Koch  <konqueror@gmx.de>
1699
1700         * gnu/java/net/protocol/file/Connection.java
1701         (lineSeparator): Made non-final.
1702         (static): Removed.
1703         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1704         instead of StringBufferInputStream.
1705
1706 2004-09-10  Michael Koch  <konqueror@gmx.de>
1707
1708         * gnu/java/net/protocol/file/Connection.java
1709         (connect): Handle file is a directory case.
1710
1711 2004-09-10  Michael Koch  <konqueror@gmx.de>
1712
1713         * Makefile.am
1714         (xlib_includes): Removed.
1715         (AM_CPPFLAGS): Renamed from INCLUDES.
1716         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1717         * Makefile.in: Regenerate.
1718
1719 2004-09-09  Michael Koch  <konqueror@gmx.de>
1720
1721         * java/security/ProtectionDomain.java,
1722         * java/util/PropertyPermissionCollection.java:
1723         Fixed javadocs all over.
1724
1725 2004-09-09  Sven de Marothy  <sven@physto.se>
1726
1727         Patch from David Gilbert <david.gilbert@object-refinery.com>
1728         * java/lang/Comparable.java: Fixed documentation errors.
1729         * java/util/Arrays.java: Likewise.
1730
1731 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1732
1733         * java/net/Inet4Address.java
1734         (Inet4Address): Added comment to serialization UID.
1735         * java/text/Format.java
1736         (Format): Added comment to serialization UID.
1737
1738 2004-09-09  Michael Koch  <konqueror@gmx.de>
1739
1740         * java/lang/System.java
1741         (err): Fixed javadoci to point to setErr() and not setOut().
1742
1743 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1744
1745         (normalizePath): Added special case for windows systems.
1746
1747 2004-09-09  Michael Koch  <konqueror@gmx.de>
1748
1749         * java/io/File.java
1750         (dupSeparator): Made private.
1751         (File(URI)): New constructor.
1752         (getParentFile): Fixed javadoc.
1753         (createTempFile): Reformated.
1754         (setReadOnly): Added comment.
1755         (deleteOnExit): Merged javadoc with classpath version.
1756
1757 2004-09-09  Michael Koch  <konqueror@gmx.de>
1758
1759         * Makefile.am: Don't try to include deps.mk.
1760         * Makefile.in: Regenerated.
1761
1762 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1763
1764         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1765         .d files.
1766         * configure: Rebuilt.
1767
1768 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1769
1770         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1771         Changed pfn from static local to local.
1772
1773 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1774             H.J. Lu  <hongjiu.lu@intel.com>
1775
1776         PR libgcj/17290
1777         * Makefile.am (GCJCOMPILE): Remove definition.
1778         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1779         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1780         * Makefile.in: Rebuilt.
1781
1782 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1783
1784         * configure.ac (enable-gc-debug): Update help for new syntax.
1785         * configure: Regenerate.
1786
1787 2004-09-03  David Daney  <ddaney@avtrex.com>
1788
1789         * include/mips-signal.h: Update copyright.
1790
1791 2004-09-03  David Daney  <ddaney@avtrex.com>
1792
1793         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1794         * include/mips-signal.h: Added HANDLE_FPE support.
1795         
1796 2004-08-31  Michael Koch  <konqueror@gmx.de>
1797
1798         * javax/swing/plaf/basic/BasicTextAreaUI.java
1799         (create): New method.
1800         * javax/swing/text/DefaultHighlighter.java
1801         (DefaultHighlightPainter.debugRect): Removed.
1802         * javax/swing/text/StyleContext.java
1803         (DEFAULT_STYLE): New field.
1804
1805 2004-08-31  Michael Koch  <konqueror@gmx.de>
1806
1807         * javax/swing/plaf/basic/BasicLookAndFeel.java
1808         (initComponentDefaults): Add keybindings for selection.backward and
1809         selection-forward for text components.
1810         * javax/swing/plaf/basic/BasicTextUI.java
1811         (paintSafely): Paint highlight only when something is actually
1812         selected.
1813         * javax/swing/text/DefaultCaret.java
1814         (handleHighlight): New method.
1815         (setSelectionVisible): Don't do anything when nothing changes.
1816         Handle highlight.
1817         (moveDot): Reimplemented. Handle highlight.
1818         (setDot): Set mark too. Handle highlight.
1819         (getSelectionPainter): New method.
1820         * javax/swing/text/DefaultEditorKit.java
1821         (defaultActions): Added new actions for text selection.
1822         * javax/swing/text/DefaultHighlighter.java
1823         (DefaultHighlightPainter): New inner class.
1824         (DefaultPainter): New field.
1825         (paint): Implemented.
1826         * javax/swing/text/PlainView.java
1827         (paint): Don't draw background here again.
1828         * javax/swing/text/Utilities.java
1829         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1830         (drawTabbedText): Likewise.
1831
1832 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1833
1834         * javax/swing/JComponent.java
1835         (resetKeyboardActions): Add null checks.
1836
1837 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1838
1839         * javax/swing/DefaultButtonModel.java:
1840         Skip group notification when no group is set.
1841
1842 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1843
1844         * javax/swing/JColorChooser.java: 
1845         Make a couple inner classes static, for jikes.
1846
1847 2004-08-31  Michael Koch  <konqueror@gmx.de>
1848
1849         * javax/swing/plaf/basic/BasicTextUI.java
1850         (RottView.modelToView): New method.
1851         (UpdateHandler): Renamed from EventHandler.
1852         (updateHandler): Renamed from eventHandler.
1853         (modelToView): Implemented.
1854         * javax/swing/text/AbstractDocument.java
1855         (BranchElement.getElement): Return null for non-existing indeces.
1856         (BranchElement.getElementIndex): Return 0 in some corner cases.
1857         * javax/swing/text/FieldView.java
1858         (modelToView): New method.
1859         * javax/swing/text/PlainView.java
1860         (modelToView): Made public.
1861
1862 2004-08-31  Kim Ho  <kho@redhat.com>
1863
1864         * Makefile.am: New files.
1865         * Makefile.in: Regenerate.
1866         * gcj/Makefile.in: Regenerate.
1867         * include/Makefile.in: Regenerate.
1868         * java/awt/Color.java: Fix documentation.
1869         (RGBtoHSB): Use floats for conversions.
1870         * javax/swing/ButtonGroup.java: Run Jalopy.
1871         (setSelected): Reimplement.
1872         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1873         (changeState): Let ButtonGroup know that the button 
1874         is changing state.
1875         * javax/swing/JColorChooser.java: Implement.
1876         * javax/swing/JLabel.java: Run Jalopy.
1877         * javax/swing/JSpinner.java: Run Jalopy.
1878         (setValue): New method.
1879         * javax/swing/JTabbedPane.java: Run Jalopy.
1880         (removeTabAt): Call correct remove method.
1881         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1882         (getPreviousValue): Compare minimum value.
1883         * javax/swing/Timer.java: Run Jalopy.
1884         (run): Comment out println.
1885         * javax/swing/ToolTipManager.java:
1886         (mouseMoved): Get new tooltip text for location.
1887         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1888         Jalopy and Javadoc.
1889         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1890         Implement.
1891         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1892         Run Jalopy.
1893         (setSelectedColor): Fire ChangeEvent.
1894         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1895         New file. Implement.
1896         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1897         Ditto.
1898         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1899         Ditto.
1900         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1901         Ditto.
1902         * javax/swing/plaf/basic/BasicArrowButton.java:
1903         (getArrow): Fix size of upward pointing button.
1904         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1905         Implement.
1906         * javax/swing/plaf/basic/BasicSliderUI.java:
1907         (getWidthOfWidestLabel): Use preferred dimensions.
1908         (getHeightOfTallestLabel): Ditto.
1909         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1910         Run Jalopy.
1911         (mousePressed): Disable changes to spinner if it is not enabled.
1912         * testsuite/Makefile.in: Regenerate.
1913
1914
1915 2004-08-31  Michael Koch  <konqueror@gmx.de>
1916
1917         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1918         javax/swing/plaf/basic/BasicTableUI.java:
1919         Added copyright notice.
1920
1921 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1922
1923         * Makefile.am: Added new files.
1924         * Makefile.in: Regenerate.
1925         * javax/swing/ComboBoxEditor.java: Added javadocs.
1926         * javax/swing/ComboBoxModel.java: Likewise.
1927         * javax/swing/DefaultComboBoxModel.java: Implemented.
1928         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1929         and ran through jalopy to fix formatting style.
1930         (getListCellRendererComponent): Use appropriate border
1931         if renderer has focus and use noFocusBorder when it doesn't.
1932         * javax/swing/JComboBox.java: Implemented.
1933         * javax/swing/JList.java:
1934         (locationToIndex): New Method. Implemented.
1935         (indexToLocation): New Method.
1936         * javax/swing/JPopupMenu.java: 
1937         (visible): New field.
1938         (isVisible): Changed to use new field above.
1939         (setVisible): Likewise.
1940         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1941         * javax/swing/plaf/basic/BasicArrowButton.java: 
1942         (shadow): Changed default color to Color.gray.
1943         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1944         UI delegate for JComboBox.
1945         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1946         Popup menu containing list of JComboBox's items.
1947         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1948         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1949         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1950         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1951         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1952         (popupMenuWillBecomeVisible): Set selected path to the first
1953         element only if it is of type MenuElement. Also fix formatting
1954         style.
1955         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1956         methods signatures.
1957         
1958 2004-08-31  Michael Koch  <konqueror@gmx.de>
1959
1960         * javax/swing/text/AbstractDocument.java
1961         (createBranchElement): Use new constructor of BranchElement.
1962         (createLeafElement): Renamed arguments.
1963         (getRootElements): Implemented.
1964         (BranchElement.start): Removed.
1965         (BranchElement.end): Likewise.
1966         (BranchElement.BranchElement): Fixed arguments.
1967         (BranchElement.getEndOffset): Reimplemented.
1968         (BranchElement.getStartOffset): Likewis.
1969         * javax/swing/text/DefaultCaret.java
1970         (paint): Draw simple vertical line as caret instead of a rectangle.
1971         * javax/swing/text/JTextComponent.java
1972         (setText): Use doc directly.
1973         * javax/swing/text/PlainView.java
1974         (nextTabStop): Implemented.
1975         * javax/swing/text/Utilities.java
1976         (drawTabbedText): nextTabStop() returns an absolute x position.
1977         (getTabbedTextWidth): Likewise.
1978
1979 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1980
1981         * java/awt/Component.java 
1982         (isFocusTraversable): Predicate on isLightweight()
1983         (setFocusable): Set isFocusTraversableOverridden.
1984         (requestFocus): Predicate peer dispatch on !isLightweight()
1985         (requestFocusInWindow): Likewise.
1986         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1987         * java/awt/Container.java
1988         (dispatchEventImpl): Predicate on event mask.
1989         (LightweightDispatcher): Remove focus machinery.
1990         * java/awt/DefaultFocusTraversalPolicy.java
1991         (accept): Expand predicate to include isFocusable(). 
1992         * java/awt/DefaultKeyboardFocusManager.java:
1993         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1994         * java/awt/KeyboardFocusManager.java
1995         (redispatchEvent): Synchronize on event to prevent feedback.
1996         * javax/swing/AbstractButton.java
1997         (ButtonFocusListener): Remove class.
1998         (init): Set focusPainted, focusable.
1999         * javax/swing/ActionMap.java (get): Check parent for null. 
2000         * javax/swing/InputMap.java (get): Likewise. 
2001         * javax/swing/JComponent.java
2002         (inputMap_whenFocused): New InputMap.
2003         (inputMap_whenAncestorOfFocused): Likewise.
2004         (inputMap_whenInFocusedWindow): Likewise.
2005         (getActionForKeyStroke): Rewrite.
2006         (getConditionForKeystroke): Likewise.
2007         (ActionListenerProxy): New private class.
2008         (setInputMap): Implement.
2009         (getInputMap): Likewise.
2010         (setActionMap): Likewise.
2011         (getActionMap): Likewise.
2012         (processComponentKeyEvent): New empty method.
2013         (processKeyEvent): Implement.
2014         (processKeyBinding): Likewise.
2015         (resetKeyboardActions): Rewrite.
2016         * javax/swing/KeyStroke.java: Rewrite.
2017         * javax/swing/SwingUtilities.java
2018         (notifyAction): Implement.
2019         (replaceUIActionMap): Likewise.
2020         (replaceUIInputMap): Likewise.
2021         * javax/swing/plaf/basic/BasicButtonListener.java
2022         (focusGained): Implement.
2023         (focusLost): Repaint if focusPainted().
2024         (installKeyboardActions): Install pressed / released actions.
2025         (uninstallKeyboardActions): Implement.
2026         * javax/swing/plaf/basic/BasicButtonUI.java
2027         (focusColor): New field.
2028         (installDefaults): Load focus color, install input map.
2029         (installKeyboardActions): Implement.
2030         (uninstallKeyboardActions): Likewise.
2031         (paintFocus): Rewrite.
2032         * javax/swing/plaf/basic/BasicLookAndFeel.java
2033         (Button.focus): New default, midPurple. 
2034         * javax/swing/plaf/basic/BasicTextUI.java
2035         (kit): Make static.
2036         (installUI): Get doc from kit, load defaults.
2037         (getKeymapName): Implement.
2038         (createKeymap): Likewise.
2039         (installKeyboardActions): Likewise.
2040         (getInputMap): Likewise.
2041         (getActionMap): Likewise.
2042         (createActionMap): Likewise.
2043         * javax/swing/text/AbstractDocument.java
2044         (getStartPosition): Implement.
2045         (getEndPosition): Likewise.
2046         * javax/swing/text/DefaultEditorKit.java
2047         (CopyAction): New class.
2048         (CutAction): Likewise.
2049         (DefaultKeyTypedAction): Likewise.
2050         (InsertBreakAction): Likewise.
2051         (InsertContentAction): Likewise.
2052         (InsertTabAction): Likewise.
2053         (PasteAction): Likewise.
2054         (defaultActions): New static table.
2055         (createCaret): Implement.
2056         (getActions): Likewise.
2057         * javax/swing/text/JTextComponent.java
2058         (KeymapWrapper): New private class.
2059         (KeymapActionMap): Likewise.
2060         (DefaultKeymap): New class.
2061         (keymaps): New static table.
2062         (keymap): New field.
2063         (getKeymap): Implement.
2064         (removeKeymap): Likewise.
2065         (addKeymap): Likewise.
2066         (setKeymap): Likewise.
2067         (loadKeymap): Likewise.
2068         (getActions): Likewise.
2069         (margin): New field.
2070         (JTextComponent): Build and install default keymap.
2071         * javax/swing/text/TextAction.java
2072         (textAction): Call super properly.
2073         (getTextComponent): Implement.
2074         * javax/swing/text/Utilities.java
2075         (drawTabbedText): Adjust position by ascent.
2076
2077 2004-08-31  David Jee  <djee@redhat.com>
2078
2079         PR AWT/17156
2080
2081         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2082         (setEnabled): Make it a native method.
2083         * java/awt/DefaultKeyboardFocusManager.java
2084         (postProcessKeyEvent): Only post event if the menu item
2085         is active.
2086         * java/awt/MenuItem.java:
2087         Private field 'enabled' should be true by default.
2088         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2089         (setEnabled): New function.
2090
2091 2004-08-31  David Jee  <djee@redhat.com>
2092
2093         PR AWT/17059
2094
2095         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2096         (nativeSetHelpMenu): New native method declaration.
2097         (addHelpMenu): Call nativeSetHelpMenu().
2098         (addMenu): Remove.
2099         * java/awt/MenuBar.java
2100         (setHelpMenu): Call addNotify() on the new help menu.
2101         (add): Call addNotify() on the new menu.
2102         (addNotify): Set the help menu if one exists.
2103         * java/awt/peer/MenuBarPeer.java
2104         (addMenu): Remove.
2105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2106         (nativeSetHelpMenu): New method.
2107
2108 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2109
2110         * Makefile.am: Add new files.
2111         * Makefile.in: Regenerate.
2112         * javax/swing/Box.java: Fix setting of layout in ctor.
2113         * javax/swing/JScrollPane.java: Scroll headers as well.
2114         * javax/swing/JTable.java: Reimplement.
2115         * javax/swing/JViewPort.java: Only add non-null children.
2116         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2117         * javax/swing/Timer.java: Fix stopping null waker.
2118         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2119         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2120         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2121         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2122         * javax/swing/table/DefaultTableModel.java: Clean up.
2123         * javax/swing/table/JTableHeader.java: Implement.
2124
2125 2004-08-31  Mark Wielaard  <mark@klomp.org>
2126
2127         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2128         semi-colon.
2129
2130 2004-08-31  Mark Wielaard  <mark@klomp.org>
2131
2132         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2133         Declare variables at top of functions/block.
2134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2135
2136 2004-08-31  Mark Wielaard  <mark@klomp.org>
2137
2138         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2139         first.
2140
2141 2004-08-31  Michael Koch  <konqueror@gmx.de>
2142
2143         * javax/swing/text/PlainView.java
2144         (selectedColor): New field.
2145         (unselectedColor): Likewise.
2146         (font): Likewise.
2147         (updateMetrics): New method.
2148         (lineToRect): Likewise.
2149         (modelToView): Likewise.
2150         (drawSelectedText): Use color from JTextComponent ad draw with
2151         Utilities class.
2152         (drawUnselectedText): Likewise.
2153         (paint): Initialize helper fields.
2154         * javax/swing/text/View.java
2155         (getChildAllocation): New method.
2156         (getViewIndex): Likewise.
2157         (getToolTipText): Likewise.
2158
2159 2004-08-31  Michael Koch  <konqueror@gmx.de>
2160
2161         * javax/swing/text/Utilities.java
2162         (drawTabbedText): Reimplemented.
2163         (getTabbedTextWidth): Likewise.
2164
2165 2004-08-31  Michael Koch  <konqueror@gmx.de>
2166
2167         * javax/swing/plaf/basic/BasicTextUI.java
2168         (installDefaults): Install caret and highlighter.
2169         (modelToView): Use Bias.Forward when calling sibling.
2170         * javax/swing/text/AbstractDocument.java
2171         (ElementEdit): Implements DocumentEvent.ElementChange.
2172         (ElementEdit.ElementEdit): New method.
2173         (ElementEdit.getChildrenAdded): Likewise.
2174         (ElementEdit.getChildrenRemoved): Likewise.
2175         (ElementEdit.getElement): Likewise.
2176         (ElementEdit.getIndex): Likewise.
2177         * javax/swing/text/DefaultCaret.java
2178         (color): Removed.
2179         (textComponent): Renamed from parent, made private.
2180         (selectionVisible): Renamed from vis_sel, made private.
2181         (blinkRate): Renamed from blink, made private.
2182         (magicCaretPosition): Renamed from magic, made private.
2183         (visible): Renamed from vis, made private.
2184         (dot): Made private.
2185         (mark): Likewise.
2186         (deinstall): Remove as MouseMotionListener.
2187         (install): Initialize textComponent first. Add as MouseMotionListener.
2188         (paint): Reimplemented.
2189         * javax/swing/text/JTextComponent.java
2190         (setCaret): Deinstall old caret, install new one and fire property
2191         change after setting property.
2192         (setHighlighter): Deinstall old highlighter, install new one and fire
2193         property change after setting property.
2194         (setCaretColor): Fire property change after setting property.
2195         (setDisabledTextColor): Likewise.
2196         (setSelectedTextColor): Likewise.
2197         (setSelectionColor): Likewise.
2198         (modelToView): New method.
2199
2200 2004-08-31  Michael Koch  <konqueror@gmx.de>
2201
2202         * javax/swing/text/AbstractDocument.java
2203         (getText): Simplified.
2204         * javax/swing/text/Segment.java
2205         (current): New field.
2206         (current): Reimplemented.
2207         (first): Likewise.
2208         (getIndex): Likewise.
2209         (last): Likewise.
2210         (next): Likewise.
2211         (previous): Likewise.
2212         (setIndex): Likewise.
2213
2214 2004-08-31  Michael Koch  <konqueror@gmx.de>
2215
2216         * javax/swing/plaf/basic/BasicButtonUI.java
2217         (defaultTextIconGap): Made protected.
2218         (defaultTextShiftOffset): Likewise.
2219         (textShiftOffset): New field.
2220         (clearTextShiftOffset): New method.
2221         (getTextShiftOffset): Likewise.
2222         (setTextShiftOffset): Likewise.
2223
2224 2004-08-31  Michael Koch  <konqueror@gmx.de>
2225
2226         * javax/swing/plaf/basic/BasicTextUI.java
2227         (installUI): Add eventHandler as property listener.
2228         (uninstallUI): remove eventHandler as propert listener.
2229         (installDefaults): Added comment.
2230         (installListeners): Likewise.
2231         (installKeyboardActions): Likewise.
2232         (uninstallDefaults): Likewise.
2233         (uninstallListeners): Likewise.
2234         (uninstallKeyboardActions): Likewise.
2235
2236 2004-08-31  Michael Koch  <konqueror@gmx.de>
2237
2238         * javax/swing/text/AbstractDocument.java:
2239         Fixed some typos in comments.
2240         (insertString): Reimplemented.
2241         (remove): Likewise.
2242         (replace): New method.
2243         (children): Dont use fully qualified class name.
2244         (DefaultDocumentEvent.offset): Renamed from off.
2245         (DefaultDocumentEvent.length): Renamed from len.
2246         (DefaultDocumentEvent.type): New field.
2247         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2248         (DefaultDocumentEvent.getType): Implemented.
2249
2250 2004-08-31  Michael Koch  <konqueror@gmx.de>
2251
2252         * javax/swing/plaf/basic/BasicTextUI.java
2253         (RootView.textComponent): Removed.
2254         (RootView.RootView): Don't initialize textComponent.
2255         (RootView.getViewFactory): New method.
2256         (EventHandler): New inner class.
2257         (rootView): Initialize at instance creation.
2258         (eventHandler): New field.
2259         (installUI): Don't create view hierarchy directly,
2260         call modelChanged() instead.
2261         (modelChanged): New method.
2262         * javax/swing/text/JTextComponent.java
2263         (setDocument): Fire property change event.
2264
2265 2004-08-31  Michael Koch  <konqueror@gmx.de>
2266
2267         * javax/swing/plaf/basic/BasicTextUI.java
2268         (RootView.paint): Removed debug output.
2269         (paintSafely): Draw highlighter before text.
2270         (paintBackground): Use background color of text component.
2271         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2272         Reformatted.
2273
2274 2004-08-31  Michael Koch  <konqueror@gmx.de>
2275
2276         * javax/swing/plaf/basic/BasicToolBarUI.java
2277         (BasicToolBarUI): Fixed arguments for constructor.
2278         (createUI): Fixed creation of object.
2279
2280 2004-08-31  Michael Koch  <konqueror@gmx.de>
2281
2282         * javax/swing/DefaultListSelectionModel.java
2283         (fireValueChanged): Renamed from fireSelectionValueChanged,
2284         made protected.
2285
2286 2004-08-31  Michael Koch  <konqueror@gmx.de>
2287
2288         * javax/swing/text/TabSet.java
2289         (TabSet): Implements java.io.Serializable.
2290         * javax/swing/text/TabStop.java
2291         (TabStop): Implements java.io.Serializable.
2292         (TabStop): Made public.
2293
2294 2004-08-31  Michael Koch  <konqueror@gmx.de>
2295
2296         * javax/swing/JComponent.java
2297         (setUI): Fire PropertyChange.
2298         * javax/swing/JLabel.java
2299         (text): Renamed from labelText.
2300         (horizontalAlignment): New default vlaue.
2301         (icon): Renamed from activeIcon.
2302         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2303         (displayedMnemonicIndex): Renamed from underlineChar.
2304         (setDisplayedMnemonic): Reimplemented.
2305         * javax/swing/JRadioButton.java
2306         (JRadioButton): New constructors.
2307         * javax/swing/JTextField.java
2308         (JTextField): Throw exception if colums < 0, initialitialz
2309         this.columns directly and initialize document with text conditionally.
2310
2311 2004-08-31  Michael Koch  <konqueror@gmx.de>
2312
2313         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2314         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2315         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2316         * javax/swing/text/FieldView.java
2317         (paint): Just call super method for now.
2318         * Makefile.am: Added new files.
2319         * Makefile.in: Regenerated.
2320
2321 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2322
2323         * javax/swing/AbstractSpinnerModel.java,
2324         javax/swing/JSpinner.java,
2325         javax/swing/SpinnerNumberModel.java,
2326         javax/swing/plaf/basic/BasicSpinnerUI.java:
2327         New files.
2328         * javax/swing/plaf/basic/BasicLookAndFeel.java
2329         (initClassDefaults): Added defaults for BasicSpinnerUI.
2330
2331 2004-08-31  Michael Koch  <konqueror@gmx.de>
2332
2333         * Makefile.am: Added new files.
2334         * Makefile.in: Regenerated.
2335
2336 2004-08-31  Michael Koch  <konqueror@gmx.de>
2337
2338         * javax/swing/TransferHandler.java,
2339         javax/swing/plaf/basic/ComboPopup.java: New files
2340         * Makefile.am: Added javax/swing/TransferHandler.java and
2341         javax/swing/plaf/basic/ComboPopup.java
2342         * Makefile.in: Regenerated.
2343
2344 2004-08-31  Roman Kennke  <roman@ontographics.com>
2345
2346         * javax/swing/text/Utilities.java: New file.
2347
2348 2004-08-31  Michael Koch  <konqueror@gmx.de>
2349
2350         * Makefile.am: Added javax/swing/text/Utilities.java.
2351         * Makefile.in: Regenerated.
2352
2353 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2354
2355         * javax/swing/text/SimpleAttributeSet.java: New file.
2356         * javax/swing/text/StyleConstants.java: New file.
2357         * javax/swing/text/StyleContext.java: New file.
2358         * javax/swing/text/TabSet.java: New file.
2359         * javax/swing/text/TabStop.java: New file.
2360         * javax/swing/text/AbstactDocument.java:
2361         (AbstractElement): Implement attribute support.
2362         * javax/swing/text/AttributeSet.java
2363         (NameAttribute): New static field.
2364         (ResolveAttribute): New static field.
2365         * Makefile.am: Update for new files.
2366         * Makefile.in: Regenerate.
2367
2368 2004-08-31  Craig Black  <craig.black@aonix.com>
2369
2370         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2371         (drawImage): Add support for scaling pixmaps.
2372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2373         (copyAndScalePixmap): New native method.
2374  
2375 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2376
2377         PR AWT/16121
2378         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2379         type-punning compiler warnings using unions.
2380         (throw): Replace bzero with memset.
2381
2382 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2383             Thomas Fitzsimmons  <fitzsim@redhat.com>
2384
2385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2386         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2387         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2389         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2390
2391 2004-08-31  Mark Wielaard  <mark@klomp.org>
2392
2393         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2394         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2395         and stdlib.h, not gtkpeer.h.
2396         (*vm): New static variable.
2397         (areaPreparedID): Make static.
2398         (areaUpdatedID): Likewise.
2399         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2400         (area_prepared): Likewise.
2401         (area_updated): Likewise.
2402         (closed): Likewise.
2403         (initStaticState): Initialize *vm javaVM.
2404         (pumpBytes): Use given env, not global gdk_env.
2405
2406 2004-08-31  Mark Wielaard  <mark@klomp.org>
2407
2408         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2409         comments.
2410
2411 2004-08-31  Sven de Marothy  <sven@physto.se>
2412
2413         * java/awt/geom/CubicCurve2D.java: Reindent.
2414         (contains): Implemented.
2415         (intersects): Implemented.
2416         * java/awt/geom/QuadCurve2D.java: Likewise.
2417         * java/awt/geom/GeneralPath.java: Reindent and document.
2418         Fully (re)implemented using separate xpoints and ypoints
2419         float[] coords.
2420         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2421
2422 2004-08-31  Michael Koch  <konqueror@gmx.de>
2423
2424         * javax/swing/JMenuItem.java
2425         (getMenuDragMouseListeners): New method.
2426         (getMenuKeyListeners): Likewise.
2427
2428 2004-08-31  Michael Koch  <konqueror@gmx.de>
2429
2430         * javax/swing/AbstractButton.java
2431         (model): Made protected.
2432         (actionListener): Likewise.
2433         (changeListener): Likewise.
2434         (itemListener): Likewise.
2435         (multiClickThreshhold): New field.
2436         (getActionListeners): New method.
2437         (getChangeListeners): Likewise.
2438         (getItemListeners): Likewise.
2439         (fireItemStateChanged): Simplified implementation.
2440         (fireActionPerformed): Likewise.
2441         (fireStateChanged): Likewise.
2442         (getMultiClickThreshhold): New method.
2443         (setMultiClickThreshhold): Likewise.
2444
2445 2004-08-31  Tom Tromey  <tromey@redhat.com>
2446
2447         * java/awt/image/Kernel.java (clone): Use super.clone().
2448
2449 2004-08-31  David Jee  <djee@redhat.com>
2450
2451         PR AWT/16682
2452         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2453         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2454         (nativeSetIconImageFromData): New native method declaration.
2455         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2456         * gnu/java/awt/peer/gtk/GtkImage.java
2457         (getPixelCache): New method.
2458         (getColorModel): New method.
2459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2460         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2461         (free_pixbuf_data): New helper function.
2462         (nativeSetIconImageFromData): New function.
2463
2464 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2465
2466         PR SWING/16576
2467         * javax/swing/JLayeredPane.java 
2468         (setLayer): Permit changing layer after addition.
2469         (setPosition): Permit over-length positions.
2470         (layerToRange): Compare intValue()s.
2471         * javax/swing/Box.java (createHorizontalBox): Implement.
2472         (createRigidArea): Likewise.
2473         (createVerticalBox): Likewise.
2474
2475 2004-08-31  Kim Ho  <kho@redhat.com>
2476
2477         * java/awt/Component.java:
2478         (processMouseEvent): Consume event after
2479         listeners process it.
2480         (processMouseMotionEvent): ditto.
2481         (processMouseWheelEvent): ditto.
2482         * java/awt/Container.java:
2483         (acquireComponentForMouseEvent):
2484         Do not dispatch to events that have been
2485         removed from the Container.
2486         (handleEvent): Consume the MouseEvents.
2487         * javax/swing/RepaintManager.java:
2488         (paintDirtyRegions): Do not add to list of 
2489         damaged areas if the component has no root.
2490
2491 2004-08-31  Michael Koch  <konqueror@gmx.de>
2492
2493         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2494
2495 2004-08-31  Mark Wielaard  <mark@klomp.org>
2496
2497         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2498         null when a MissingResourceException is thrown. Should never happen.
2499
2500 2004-08-31  Mark Wielaard  <mark@klomp.org>
2501
2502         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2503         when argument is null.
2504
2505 2004-08-31  Mark Wielaard  <mark@klomp.org>
2506
2507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2508         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2509         Define hid at start of function.
2510         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2511         Likewise.
2512
2513 2004-08-31  Mark Wielaard  <mark@klomp.org>
2514
2515         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2516         * javax/swing/JButton.java: Reindent.
2517         * javax/swing/JCheckBox.java: Reindent.
2518
2519 2004-08-31  Mark Wielaard  <mark@klomp.org>
2520
2521         * Makefile.am (gtk_c_source_files): Added
2522         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2523         (gtk_awt_peer_sources): Added
2524         gnu/java/awt/peer/gtk/GThreadMutex.java and
2525         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2526         * Makefile.in: Regenerated.
2527
2528 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2529
2530         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2531
2532 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2533
2534         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2535         Added jfieldID, jmethodID.
2536
2537 2004-08-31  Mark Wielaard  <mark@klomp.org>
2538
2539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2540         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2541         gdk_env before calling any gdk or gtk function.
2542
2543         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2544         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2545         (run): Set gtkInitCalled.
2546
2547 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2548
2549         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2550         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2551
2552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2553         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2554         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2555         init_glib_threads. 
2556         (init_glib_threads): New function.
2557
2558 2004-08-31  Mark Wielaard  <mark@klomp.org>
2559
2560         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2561         PRIORITY when not already defined in header file.
2562
2563 2004-08-31  Mark Wielaard  <mark@klomp.org>
2564
2565         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2566         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2567
2568 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2569
2570         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2571         Implemented missing functions for GTK2.
2572         Added error handling.
2573         Renamed static functions out of the g_ namespace.
2574         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2575         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2576         Rewrote global-reference code.
2577         Eliminated cascading errors.
2578         (mutex_trylock_jni_impl) Fully implemented.
2579         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2580         resolution.
2581         (setup_cache) New function.
2582         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2583         bug where they were not unlocking the GMutex associated with the
2584         condition variable during the wait on that condition variable.
2585
2586         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2587         native/jni/gtk-peer/gthread-jni.c,
2588         native/jni/gtk-peer/gthread-jni.h
2589         (g_thread_jni_functions): Renamed to ...
2590         (portable_native_sync_jni_functions): this name.
2591         (gdk_vm): Renamed to...
2592         (the_vm): this name.
2593
2594         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2595         (gdk_vm): Removed duplicate definition.
2596         (gtkInit): Removed stray message to stdout.
2597         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2598         (gtkInit): Fix a const assignment bug.
2599         (gtkInit): Simplified code.
2600
2601         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2602         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2603         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2604         gnu/java/awt/peer/gtk/GThreadMutex.java:
2605         New files.
2606
2607 2004-08-31  Mark Wielaard  <mark@klomp.org>
2608
2609         * javax/swing/Box.java: Put FIXME comment above class declaration.
2610         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2611         * javax/swing/JCheckBox.java: Likewise.
2612         * javax/swing/JDialog.java: Likewise.
2613         * javax/swing/JRadioButton.java: Likewise.
2614         * javax/swing/JToggleButton.java: Likewise.
2615         * javax/swing/UIManager.java: Likewise.
2616         * javax/swing/border/TitledBorder.java: Likewise.
2617         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2618         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2619         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2620         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2621         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2622         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2623         * javax/swing/text/JTextComponent.java: Likewise.
2624
2625 2004-08-31  David Jee  <djee@redhat.com>
2626
2627         PR AWT/16682
2628         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2629         (setIconImage): Add a FIXME for unhandled cases.
2630
2631 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2632
2633         PR AWT/16040
2634         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2635         getModifiers.  Replace old button masks with new ones.
2636         * gnu/awt/xlib/XEventLoop.java: Likewise.
2637         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2638         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2639         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2640         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2641         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2642         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2643         * java/awt/Component.java: Replace old modifier masks with new
2644         ones.
2645         * java/awt/Container.java: Call getModifiersEx, not
2646         getModifiers.
2647         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2648         old modifier masks.
2649         * javax/swing/JMenuItem.java: Replace old button masks with new
2650         ones.
2651         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2652         getModifiers.
2653         * javax/swing/SwingUtilities.java: Likewise.
2654         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2655         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2657         mask macros with new ones.
2658         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2659         macros with new ones representing new masks.
2660
2661 2004-08-31  Craig Black  <craig.black@aonix.com>
2662
2663         * gnu/java/awt/peer/gtk/GdkGraphics.java
2664         (drawRoundRect): Implemented.
2665         (fillRoundRect): Implemented.
2666         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2667         (drawRoundRect): Reimplemented to match GdkGraphics.
2668         (fillRoundRect): Reimplemented to match GdkGraphics.
2669
2670 2004-08-31  Mark Wielaard  <mark@klomp.org>
2671
2672         * Makefile.in: Regenerated.
2673
2674 2004-08-31  Michael Koch  <konqueror@gmx.de>
2675
2676         * gnu/java/awt/EmbeddedWindow.java
2677         (addNotify): Use AccessController to allow execution of privileged
2678         code.
2679
2680 2004-08-31  Michael Koch  <konqueror@gmx.de>
2681
2682         * gnu/java/awt/EmbeddedWindow.java
2683         (static): Removed.
2684         (addNotify): Set peer via reflection.
2685         (setWindowPeer): Removed.
2686         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2687         * Makefile.am (nat_source_files):
2688         Removed gnu/java/awt/natEmbeddedWindow.cc.
2689
2690 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2691
2692         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2693         and gnu/java/security/action/SetAccessibleAction.java.
2694
2695 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2696
2697         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2698         Renamed from 'setName'. New 2-argument form with default value.
2699         (run): Pass default 'value' parameter to System.getProperty().
2700         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2701         typos.
2702
2703 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2704
2705         * gnu/java/security/action/GetPropertyAction.java: New class.
2706         * gnu/java/security/action/SetAccessibleAction.java: New class.
2707
2708 2004-08-31  David Jee  <djee@redhat.com>
2709
2710         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2711         (setIconImage): Check if image is null.
2712
2713 2004-08-31  David Jee  <djee@redhat.com>
2714
2715         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2716         (create): Set the icon image.
2717         (nativeSetIconImage): New native method declaration.
2718         (setIconImage): Implement.
2719         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2720         (nativeSetIconImage): New function.
2721
2722 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2723
2724         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2725         (filenameFilterCallback): Declare local variable accepted before use.
2726
2727 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2728
2729         * gnu/java/awt/ComponentDataBlitOp.java:
2730         Cleaned up imports.
2731
2732 2004-08-31  Tom Tromey  <tromey@redhat.com>
2733
2734         * gnu/java/awt/peer/GLightweightPeer.java,
2735         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2736         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2737         javax/swing/JScrollPane.java: Removed
2738         redundant imports.
2739
2740 2004-08-31  David Jee  <djee@redhat.com>
2741
2742         * java/awt/DefaultKeyboardFocusManager.java
2743         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2744         event.  Fix shift modifier checking.
2745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2746         (accel_attach): Remove.
2747         (setupAccelGroup): Remove calls to accel_attach.
2748
2749 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2750
2751         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2752         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2753
2754         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2755         GtkArgList.java.
2756         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2757         * Makefile.in: Regenerate.
2758         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2759         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2760         (create(String)): New method.
2761         (create): Call new create method.
2762         (getArgs): Remove method.
2763         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2764         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2765         (nativeCreate): Rename to create.
2766         (gtkSetLabel): Rename to gtkButtonSetLabel.
2767         (gtkToggleButtonSetActive): New method.
2768         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2769         (setState): Replace set call with gtkToggleButtonSetActive.
2770         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2771         (getArgs): Remove method.
2772         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2773         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2774         (gtkWidgetSetSensitive): New method.
2775         (gtkWidgetSetParent): Likewise.
2776         (GtkComponentPeer): Call setParent, setComponentBounds and
2777         setVisibleAndEnabled.
2778         (setParent): New method.
2779         (setComponentBounds): New method.
2780         (setVisibleAndEnabled): New method.
2781         (setEnabled): Call gtkWidgetSetSensitive.
2782         (getArgs): Remove method.
2783         Remove all set methods.
2784         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2785         gtkWindowSetModal, setTitle and setResizable.
2786         (getArgs): Remove method.
2787         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2788         (setComponentBounds): New method.
2789         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2790         Replace set call with gtkWindowSetResizable.
2791         (getArgs): Remove method.
2792         (create): Call setTitle and setResizable.
2793         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2794         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2795         (gtkWindowSetTitle): New method.
2796         (gtkWindowSetResizable): New method.
2797         (gtkWindowSetModal): New method.
2798         (setParent): New method.
2799         (setVisibleAndEnabled): New method.
2800         (getArgs): Remove method.
2801         (setTitle): Call gtkWindowSetTitle.
2802         (setResizable): Call gtkWindowSetResizable.
2803         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2804         and off locking instrumentation.
2805
2806 2004-08-31  Kim Ho  <kho@redhat.com>
2807
2808         * Makefile.am: Add new file.
2809         * Makefile.in: Regenerate.
2810         * gcj/Makefile.in: Regenerate
2811         * include/Makefile.in:
2812         * java/awt/Container.java:
2813         (acquireComponentForMouseEvent): Respect 
2814         the event mask when looking for candidate.
2815         * javax/swing/JComponent.java:
2816         Remove toolTip field.
2817         (createToolTip): Create a tooltip on demand.
2818         (setToolTipText): Register with the ToolTipManager.
2819         (getToolTipText(MouseEvent)): Return getToolTipText().
2820         * javax/swing/JToolTip.java: Implement.
2821         * javax/swing/Timer.java: Jalopy.
2822         (restart): Call stop, then start.
2823         (stop): Interrupt the timer rather than wait for
2824         the timer to come to a stop naturally.
2825         * javax/swing/ToolTipManager.java: Implement.
2826         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2827         Change ToolTip.background color.
2828         * javax/swing/plaf/basic/BasicToolTipUI.java:
2829         Implement.
2830         * testsuite/Makefile.in: Regenerate
2831
2832 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2833
2834         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2835         constructor param comments.
2836
2837 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2838
2839         * java/awt/Component.java: Document AWT 1.0 event handler
2840         methods.
2841
2842 2004-08-31  Roman Kennke  <roman@ontographics.com>
2843
2844         * javax/swing/Box.java:
2845         (createGlue): Implemented
2846         (createHorizontalGlue): Implemented
2847         (createHorizontalStrut): Implemented
2848         (createVerticalGlue): Implemented
2849         (createVerticalStrut): Implemented
2850
2851 2004-08-31  David Jee  <djee@redhat.com>
2852
2853         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2854         (GtkChoicePeer): Do not automatically select first item.
2855         (getHistory): Remove.
2856         (nativeGetSelected): New method.
2857         (nativeRemoveAll): New method.
2858         (add): Use nativeGetSelected() instead of getHistory().
2859         (remove): Likewise.
2860         (removeAll): Call nativeRemoveAll().
2861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2862         (create): Migrate to GtkComboBox.
2863         (append): Likewise.
2864         (nativeAdd): Likewise.
2865         (nativeRemove): Likewise.
2866         (select): Likewise.
2867         (nativeRemoveAll): New method.
2868         (nativeGetSelected): New method.
2869         (selection_changed): New method.
2870         (getHistory): Remove.
2871         (item_activate): Remove.
2872         (item_removed): Remove.
2873         (connect_choice_item_selectable_hook): Remove.
2874
2875 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2876
2877         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2878         variable in setEditable call.
2879
2880         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2881         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2882         (gtkWidgetSetBackground): New method.
2883         (gtkWidgetSetForeground): Likewise.
2884         (create): Set peer's editable state based on awtComponent's.
2885
2886         * java/awt/Button.java (Button()): Use empty string rather than
2887         null in no-label constructor.
2888
2889 2004-08-31  Roman Kennke  <roman@ontographics.com>
2890
2891         * javax/swing/BoxLayout.java: Reimplement.
2892
2893 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2894
2895         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2896         gnu_java_awt_peer_gtk_GdkGraphics.c
2897         (initState(GtkComponentPeer)): Don't return array of colour
2898         values.
2899         (GdkGraphics(int,int)): Set default font to size 12.
2900         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2901         component's foreground colour.
2902         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2903         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2904         (initState(GtkComponentPeer)): Don't return array of colour
2905         values.
2906         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2907         colours to component's colours.
2908         (current_colors_of_widget): Remove function.
2909         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2910         Return a new graphics object.
2911         * java/awt/Font.java (toString): Fix format.
2912         * java/awt/Graphics.java (toString): Likewise.
2913
2914 2004-08-31  Craig Black  <craig.black@aonix.com>
2915
2916         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2917         (addTearOff): New function.
2918         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2919         New native method.
2920         (init): Call addTearOff() when menu.isTearOff().
2921
2922 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2923
2924         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2925         Default implementation.
2926         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2927         Implement using GdkPixbufDecoder.
2928
2929 2004-08-31  David Jee  <djee@redhat.com>
2930
2931         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2932         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2933         setting the size of GtkFileDialogPeers.
2934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2935         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2936         use their default sizes rather than their natural requisitions.
2937
2938 2004-08-31  Michael Koch  <konqueror@gmx.de>
2939
2940         * javax/swing/JFormattedTextField.java
2941         (JFormattedTextField): Implemented.
2942         * javax/swing/text/DefaultEditorKit.java
2943         (BeepAction): New inner class.
2944         * javax/swing/text/Segment.java
2945         (partialReturn): New field.
2946         (setPartialReturn): New method.
2947         (isPartialReturn): Likewise.
2948         * javax/swing/text/View.java
2949         (createFragment): Fixed typo.
2950         (getStartOffset): New method.
2951         (getEndOffset): Likewise.
2952
2953 2004-08-31  Michael Koch  <konqueror@gmx.de>
2954
2955         * javax/swing/table/DefaultTableColumnModel.java
2956         (serialVersionUID): Made private.
2957         (listenerList): Initialize.
2958         (changeEvent): Initialize.
2959         * javax/swing/table/JTableHeader.java
2960         (JTableHeader): New constructors.
2961         (createDefaultColumnModel): New method.
2962         * javax/swing/table/TableColumn.java
2963         (setHeaderRenderer): Simplified code.
2964         (setCellRenderer): Likewise.
2965         (setWidth): Likewise.
2966
2967 2004-08-31  Tom Tromey  <tromey@redhat.com>
2968
2969         * java/text/AttributedString.java (AttributedString): Use
2970         ArrayList to build array of attribute ranges.  Don't use
2971         `attribs' before it is set.
2972
2973 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2974
2975         * HACKING: Remove reference to special automake. No longer needed.
2976
2977 2004-08-30  Tom Tromey  <tromey@redhat.com>
2978
2979         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2980         return result from `add'.
2981
2982 2004-08-30  Tom Tromey  <tromey@redhat.com>
2983
2984         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2985
2986 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2987
2988         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2989
2990 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2991
2992         * java/io/File.java File(String,String): Fixed handling of empty
2993         path.
2994
2995 2004-08-30  Casey Marshall  <csm@gnu.org>
2996
2997         Author e-mail updated for all files.
2998         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2999         instance of OID.
3000         (compareTo): Use `equals'.
3001         * gnu/java/security/der/BitString.java (equals): Test if the
3002         argument is an instance of BitString.
3003         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3004         class final. Made fields private.
3005         (<init>): New constructor.
3006         (skip): New method.
3007         (makeString): Made static; don't use NIO.
3008         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3009         * gnu/java/security/der/DERWriter.java: Fixed imports.
3010         (writeString): Don't use NIO.
3011         (toIso88591, toUtf16Be, toUtf8): New methods.
3012         * gnu/java/security/der/DERValue.java: Formatting changes only.
3013         * gnu/java/security/der/DER.java: Likewise.
3014
3015 2004-08-30  Tom Tromey  <tromey@redhat.com>
3016
3017         * java/nio/CharBuffer.java (put): Fix typo.
3018         * java/nio/DoubleBuffer.java (put): Fix typo.
3019         * java/nio/FloatBuffer.java (put): Fix typo.
3020         * java/nio/IntBuffer.java (put): Fix typo.
3021         * java/nio/LongBuffer.java (put): Fix typo.
3022         * java/nio/ShortBuffer.java (put): Fix typo.
3023
3024 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3025
3026         * java/nio/ByteBuffer.java (put): Fix typo.
3027
3028 2004-08-30  Casey Marshall  <csm@gnu.org>
3029
3030         * java/security/DummyKeyPairGenerator.java (clone): Removed
3031         useless instanceof check.
3032         * java/security/DummyMessageDigest.java (clone): Likewise.
3033         * java/security/DummySignature.java (clone): Likewise.
3034         * java/security/MessageDigest.java (clone): Remove useless
3035         instanceof check.
3036         * java/security/MessageDigestSpi.java (clone): Likewise.
3037         * java/security/Signature.java (clone): Provide meaningful
3038         implementation.
3039         * java/security/SignatureSpi.java (clone): Likewise.
3040
3041 2004-08-29  Mark Wielaard  <mark@klomp.org>
3042
3043         * java/util/Arrays.java
3044         (sort(byte[], int, int)): Check fromIndex < 0.
3045         (sort(char[], int, int)): Likewise.
3046         (sort(short[], int, int)): Likewise.
3047         (sort(int[], int, int)): Likewise.
3048         (sort(long[], int, int)): Likewise.
3049         (sort(float[], int, int)): Likewise.
3050         (sort(double[], int, int)): Likewise.
3051         (sort(Object[], int, int, Comparator)): Likewise.
3052         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3053         (qsort(char[], int, int)): Likewise.
3054         (qsort(short[], int, int)): Likewise.
3055         (qsort(int[], int, int)): Likewise.
3056         (qsort(long[], int, int)): Likewise.
3057         (qsort(float[], int, int)): Likewise.
3058         (qsort(double[], int, int)): Likewise.
3059
3060 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3061
3062         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3063         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3064         java/util/ArrayList.java, java/util/Arrays.java,
3065         java/util/BitSet.java, java/util/Calendar.java,
3066         java/util/Collection.java, java/util/ListIterator.java,
3067         java/util/Map.java, java/util/SortedSet.java:
3068         Added additional exceptions to documentation, along
3069         with some additions and corrections.
3070
3071 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3072
3073         * configure.ac: Handle --enable-gc-debug.
3074         * configure: Regenerate.
3075         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3076         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3077         Rearrange include file order.
3078         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3079         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3080         (disable_gc_mutex): Delete along with all references.
3081         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3082         adjust for debug header size.
3083         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3084         debug case.
3085         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3086         (gcj_describe_type_fn): New.
3087         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3088         Register gcj_describe_type_fn.
3089         * include/boehm-gc.h:
3090         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3091         Don't define, but declare, for debug case.
3092         * java/lang/natObject.cc:
3093         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3094
3095 2004-08-26  Mark Wielaard  <mark@klomp.org>
3096
3097         Fixes PR libgcj/17002:
3098         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3099         a TimeZoneId string and then try to convert that to a TimeZone with
3100         getDefaultSystemTimeZone(String).
3101         (timezones0): Changed type from Hashtable to HashMap.
3102         (timezones): Create HashMap, not Hashtable.
3103         (getDefaultTimeZone): New method, rewritten from CNI version.
3104         (readTimeZoneFile): New method.
3105         (readtzFile): Likewise.
3106         (skipFully): Likewise.
3107         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3108         getDefaultTimeZoneId and rewritten.
3109         (getDefaultTimeZoneId): Rewritten in java.
3110         
3111 2004-08-25  David Daney  <daney@avtrex.com>
3112
3113         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3114         * Makefile.in: Regenerated.
3115
3116 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3117
3118         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3119         only if jvmpi is enabled.
3120         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3121         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3122         (_Jv_AllocString): Likewise.
3123         (_Jv_AllocPtrFreeObject): Likewise.     
3124
3125 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3126
3127         * defineclass.cc: Include <stdio.h>.
3128         * java/lang/natClassLoader.cc: Include <stdio.h>.
3129
3130 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3131             Michael Koch  <konqueror@gmx.de>
3132
3133         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3134         * Makefile.in: Regenerated.
3135
3136 2004-08-20  Michael Koch  <konqueror@gmx.de>
3137
3138         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3139         AC_COMPILE_IFELSE macros.
3140
3141 2004-08-20  Michael Koch  <konqueror@gmx.de>
3142
3143         * configure.in: Renamed to configure.ac.
3144         * configure.ac: New file.
3145         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3146         include/config.h.in, testsuite/Makefile.in: Regenerated.
3147
3148 2004-08-20  Michael Koch  <konqueror@gmx.de>
3149
3150         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3151         * aclocal.m4, configure: Regenerated.
3152
3153 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3154             Michael Koch  <konqueror@gmx.de>
3155
3156         * configure.in, Makefile.am: Ported to automake 1.9.
3157         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3158         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3159         Regenerated.
3160
3161 2004-08-19  Tom Tromey  <tromey@redhat.com>
3162
3163         * java/net/DatagramSocket.java: Fixed typo.
3164
3165 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3166
3167         PR libgcj/17081
3168         * java/net/URI.java (string): New field. Make all other fields
3169         transient.
3170         (readObject): Implemented.
3171         (writeObject): Implemented.
3172         (URI): Set 'string'.
3173
3174 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3175
3176         PR libgcj/17079
3177         * java/util/logging/Handler.java (isLoggable): Accept record if its
3178         log level equals the threshold level. From Robin Green.
3179
3180 2004-08-18  David Daney  <ddaney@avtrex.com>
3181
3182         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3183         instead of sigwait.
3184
3185 2004-08-17  Michael Koch  <konqueror@gmx.de>
3186
3187         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3188         * Makefile.in: Regenerated.
3189
3190 2004-08-16  Tom Tromey  <tromey@redhat.com>
3191
3192         PR java/8473:
3193         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3194
3195 2004-08-16  Michael Koch  <konqueror@gmx.de>
3196
3197         * Makefile.am
3198         (math_c_files): Renamed from c_files.
3199         (math_c_source_files): Renamed from c_source_files.
3200         * Makefile.in,
3201         gcj/Makefile.in,
3202         include/Makefile.in,
3203         testsuite/Makefile.in: Regenerated.
3204
3205 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3206
3207         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3208         to avoid autoconf warning.
3209         * configure: Rebuilt.
3210
3211 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3212
3213         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3214         localhostAddress to loopbackAddress.
3215         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3216
3217 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3218
3219         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3220         boehm-gc's include dirs.
3221         * configure: Rebuilt.
3222         * include/boehm-gc.h: Include gc_config.h.
3223
3224 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3225
3226         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3227         localhostAddress.
3228         (getByName): Return loopback address for null hostname, without
3229         security check. Use lookup(), not getAllByName.
3230         (getAllByName): Return loopback address for null hostname, without
3231         security check.
3232         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3233         check here.
3234
3235 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3236
3237         PR libgcj/17020
3238         Reported by Robin Green.
3239         * defineclass.cc (handleField): Don't throw exception on unrecognised
3240         modifier. Add FIXME comments for spec compliance.
3241         (handleMethod): Likewise.
3242
3243 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3244
3245         PR libgcj/16662
3246         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3247         (Almost everywhere): add LOG calls, fix, add comments.
3248         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3249         Add explicit check for LOCKED bit in slow case (PR 16662).
3250         (_Jv_MonitorExit): Add casts in debug-only code.
3251         Always release LOCKED bit before throwing exception.
3252         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3253         isn't.  Handle easy cases without lock acquisition.
3254         (Object::wait): Use NotifyAll for lock inflation.
3255
3256 2004-08-12  David Daney  <ddaney@avtrex.com>
3257
3258         * testsuite/libjava.lang/Process_1.java: New test.
3259         * testsuite/libjava.lang/Process_2.java: New test.
3260         * testsuite/libjava.lang/Process_3.java: New test.
3261         * testsuite/libjava.lang/Process_4.java: New test.
3262         * testsuite/libjava.lang/Process_5.java: New test.
3263         * testsuite/libjava.lang/Process_6.java: New test.
3264         * testsuite/libjava.lang/Process_1.out: Expected result.
3265         * testsuite/libjava.lang/Process_2.out: Expected result.
3266         * testsuite/libjava.lang/Process_3.out: Expected result.
3267         * testsuite/libjava.lang/Process_4.out: Expected result.
3268         * testsuite/libjava.lang/Process_5.out: Expected result.
3269         * testsuite/libjava.lang/Process_6.out: Expected result.
3270
3271 2004-08-12  David Daney  <ddaney@avtrex.com>
3272
3273         PR libgcj/11801
3274         * java/lang/PosixProcess.java: Rewrote.
3275         * java/lang/natPosixProcess.cc: Rewrote.
3276         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3277         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3278         * posix-threads.cc (block_sigchld) New function.
3279         (_Jv_ThreadRegister) Use it.
3280         (_Jv_ThreadStart) Use it.
3281         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3282         * Makefile.am: ... to specify extra native headers.
3283         * configure: Regenerated.
3284         * include/config.h: Regenerated.
3285         * Makefile.in: Regenerated.
3286         * gcj/Makefile.in: Regenerated.
3287         * include/Makefile.in: Regenerated.
3288         * testsuite/Makefile.in: Regenerated.
3289
3290 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3291
3292         PR tree-optimization/16867
3293         * testsuite/libjava.lang/PR16867.java: New test.
3294
3295 2004-08-09  Per Bothner  <per@bothner.com>
3296
3297         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3298         with private fields and access methods.
3299         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3300         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3301         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3302         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3303         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3304         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3305         * jni.cc: Likewise.
3306         * resolve.cc: Likewise.
3307         * gcj/field.h: Likewise.
3308         * include/jvm.h: Likewise.
3309         * java/lang/Class.h: Likewise.
3310         * java/lang/natClass.cc: Likwise.
3311         * java/lang/natClassLoader.cc: Likewise
3312         * java/lang/reflect/natMethod.cc: Likewise
3313         * verify.cc: Likewise.
3314         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3315         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3316
3317 2004-08-10  Andrew Haley  <aph@redhat.com>
3318
3319         * testsuite/libjava.lang/err14.java: New file.
3320         * testsuite/libjava.lang/err14.out: New file.
3321
3322 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3323
3324         * Makefile.am: Fix missing rename from x_nat_headers to 
3325         xlib_nat_headers.
3326         * Makefile.in: Regenerated.
3327
3328 2004-08-04  Andrew Haley  <aph@redhat.com>
3329
3330         * java/security/BasicPermission.java: Don't check wildcards.
3331
3332 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3333             Michael Koch  <konqueror@gmx.de>
3334
3335         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3336         * configure.in: Replaced all usages of AC_LINK_FILES by
3337         AC_CONFIG_LINKS.
3338         * aclocal.m4,
3339         configure: Regenerated.
3340
3341 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3342             Michael Koch  <konqueror@gmx.de>
3343
3344         * acconfig.h: Removed.
3345         * Makefile.am: Rename variables for xlib peer to include xlib and
3346         gtk_c_headers to gtk_jni_headers.
3347         * Makefile.in: Regenerated.
3348
3349 2004-08-04  Andrew Haley  <aph@redhat.com>
3350
3351         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3352         debugging.
3353
3354 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3355
3356         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3357         Replace most top level 'dnl' comments with '#' comments, conforming
3358         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3359         help strings.
3360         * configure: Rebuilt.
3361
3362 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3363
3364         * acinclude.m4: Include no-executables.m4.
3365         * aclocal.m4: Rebuild.
3366         * configure.in: Convert to the autoconf 2.59 version of
3367         of the no-executables hack, and also of the nonstandard CXX
3368         hack and the multilibbed CC and CXX hack.  Change prerequisite
3369         to autoconf 2.59.
3370         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3371         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3372         testsuite/Makefile.in: Regenerate.
3373
3374 2004-08-03  Tom Tromey  <tromey@redhat.com>
3375
3376         * jni.cc: Reindented.
3377
3378 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3379
3380         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3381
3382 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3383
3384         * testsuite/libjava.compile/PR16701.java: New test.
3385
3386 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3387
3388         * java/util/Collection.java, java/util/List.java,
3389         java/util/Map.java, java/util/Set.java,
3390         java/util/SortedMap.java, java/util/SortedSet.java:
3391         Added additional exceptions to documentation.
3392
3393 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3394
3395         PR libgcj/16814
3396         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3397         * configure. Regenerate.
3398         * include/win32.h: Explicitly include winsock2.h
3399         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3400         Winsock api.
3401
3402 2004-07-30  Michael Koch  <konqueror@gmx.de>
3403
3404         * java/util/zip/GZIPInputStream.java
3405         (GZIPInputStream): Increase buffer size to 4k.
3406         * java/util/zip/GZIPOutputStream.java
3407         (GZIPOutputStream): Likewise.
3408         * java/util/zip/Inflater.java
3409         (setInput): Merged formating with GNU classpath.
3410         * java/util/zip/InflaterInputStream.java
3411         (InflaterInputStream): Increase buffer size to 4k.
3412         (fill): Throw exception if stream ends early.
3413         (read): Merged endless-loop with GNU classpath.
3414         (skip): Increase buffer size to 2k.
3415
3416 2004-07-30  Michael Koch  <konqueror@gmx.de>
3417
3418         * gnu/java/awt/EmbeddedWindow.java
3419         (addNotify): Use AccessController to allow execution of privileged
3420         code.
3421
3422 2004-07-29  Michael Koch  <konqueror@gmx.de>
3423
3424         * gnu/java/lang/MainThread.java:
3425         Explicitely import used classes.
3426         (args): Make it type String[].
3427
3428 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3429
3430         * gnu/java/awt/ComponentDataBlitOp.java,
3431         gnu/java/beans/ExplicitBeanInfo.java,
3432         gnu/java/beans/IntrospectionIncubator.java,
3433         gnu/java/beans/editors/ColorEditor.java,
3434         gnu/java/beans/editors/FontEditor.java,
3435         gnu/java/beans/editors/NativeBooleanEditor.java,
3436         gnu/java/beans/editors/NativeByteEditor.java,
3437         gnu/java/beans/editors/NativeDoubleEditor.java,
3438         gnu/java/beans/editors/NativeFloatEditor.java,
3439         gnu/java/beans/editors/NativeIntEditor.java,
3440         gnu/java/beans/editors/NativeLongEditor.java,
3441         gnu/java/beans/editors/NativeShortEditor.java,
3442         gnu/java/beans/editors/StringEditor.java,
3443         gnu/java/io/ClassLoaderObjectInputStream.java,
3444         gnu/java/io/decode/Decoder.java,
3445         gnu/java/io/encode/Encoder.java,
3446         gnu/java/lang/ClassHelper.java,
3447         gnu/java/locale/Calendar.java,
3448         gnu/java/locale/Calendar_de.java,
3449         gnu/java/locale/Calendar_en.java,
3450         gnu/java/locale/Calendar_nl.java,
3451         gnu/java/locale/LocaleInformation_de.java,
3452         gnu/java/locale/LocaleInformation_en.java,
3453         gnu/java/locale/LocaleInformation_nl.java:
3454         Cleaned up imports.
3455
3456 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3457
3458         * README: Remove obsolete info. Update bug URL.
3459         * THANKS: Updated.
3460         * NEWS: Updated with news up to GCC 3.4 release.
3461
3462 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3463
3464         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3465         Renamed from 'setName'. New 2-argument form with default value.
3466         (run): Pass default 'value' parameter to System.getProperty().
3467         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3468         typos.
3469         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3470         not 'setName'.
3471
3472 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3473
3474         * configure.in: Check for minimum GTK version 2.4 requirement.
3475         * configure: Rebuilt.
3476
3477 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3478
3479         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3480         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3481         Reduce sleep time.
3482         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3483         compiler bug.
3484         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3485         address. Reduce sleep times. Synchronize with target threads before
3486         attempting to interrupt them. Don't try to calibrate yeild count,
3487         instead, always loop for a fixed time.
3488         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3489         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3490         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3491         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3492         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3493         * testsuite/libjava.lang/pr179.java: Likewise.
3494         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3495         time. Remove upper bounds check on sleep time. 
3496
3497 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3498
3499         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3500         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3501
3502 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3503
3504         * java/io/File.java (toURI): Throw RuntimeException, not 
3505         InternalError.
3506         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3507         class name, not instance.
3508
3509 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3510
3511         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3512         and gnu/java/security/action/SetAccessibleAction.java.
3513         * Makefile.in: Rebuilt.
3514
3515 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3516
3517         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3518         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3519         _Jv_InitPrimClass.
3520         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3521         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3522         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3523
3524 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3525
3526         * Makefile.am: Replace jar, rmic and rmiregistry references with
3527         gjar, grmic and grmiregistry.
3528         * configure.in: Likewise.
3529         * Makefile.in: Regenerate.
3530         * configure: Likewise.
3531         * gcj/Makefile.in: Likewise.
3532         * include/Makefile.in: Likewise.
3533         * testsuite/Makefile.in: Likewise.
3534
3535 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3536
3537         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3538         for privileged getProperty calls.
3539         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3540         SetAccessibleAction instead of anonymous class for doPrivileged call.
3541         (getMethod): Likewise.
3542         (setAccessible): New field. PrivilegedAction object to use when
3543         calling setAccessible.
3544         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3545         SetAccessibleAction instead of anonymous class for diPrivileged call.
3546         (setFields): Likewise.
3547         (getClassUID): Likewise.
3548         (findMethod): Likewise.
3549         * gnu/java/security/action/GetPropertyAction.java: New class.
3550         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3551
3552 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3553
3554         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3555         for final fields.
3556         * testsuite/libjava.lang/Serialization.java: New test.
3557         * testsuite/libjava.lang/Serialization.out: New.
3558
3559 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3560
3561         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3562         missed in last commit.
3563
3564 2004-07-23  Mark Wielaard  <mark@klomp.org>
3565
3566         * java/lang/System.java (static): Set http.agent system property when
3567         not yet set.
3568         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3569         from system property inside AccessController.doPrivileged() call.
3570         (proxyPort): Made package private.
3571         (proxyInUse): Likewise.
3572         (proxyHost): Likewise.
3573         (userAgent): Likewise.
3574
3575 2004-07-23  Mark Wielaard  <mark@klomp.org>
3576
3577         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3578         implementation.
3579
3580 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3581
3582         * Makefile.am (ordinary_java_source_files): Add
3583         DefaultContentHandlerFactory.java.
3584         * Makefile.in: Rebuilt.
3585         * java/net/URLConnection.java (defaultFactory): New field.
3586         (getContent): 
3587         (getContentHandler): Renamed from 'setContentHandler'. Try 
3588         defaultFactory after user-set factory, if any. Search for content 
3589         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3590         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3591         Implemented.
3592         (getLastModified): Implemented.
3593         (getPermission): Create file permission here, instead of in
3594         constructor.
3595         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3596         Implemented.
3597         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3598         Implemented.
3599         (getLastModified): Implemented.
3600         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3601         Default implementation.
3602         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3603         Implement using GdkPixbufDecoder.
3604         
3605 2004-07-21  Michael Koch  <konqueror@gmx.de>
3606
3607         * javax/swing/JTextArea.java
3608         (setLineWrap): Fire property change event after new value is set.
3609         (setTabSize): Likewise.
3610
3611 2004-07-21  Michael Koch  <konqueror@gmx.de>
3612
3613         * javax/swing/JTable.java
3614         (autoCreateColumnsFromModel): New field.
3615         (autoResizeMode): Likewise.
3616         (cellEditor): Likewise.
3617         (cellSelectionEnabled): Likewise.
3618         (columnModel): Likewise.
3619         (dataModel): Likewise.
3620         (defaultEditorsByColumnClass): Likewise.
3621         (defaultRenderersByColumnClass): Likewise.
3622         (editingColumn): Likewise.
3623         (editingRow): Likewise.
3624         (gridColor): Likewise.
3625         (preferredViewportSize): Likewise.
3626         (rowHeight): Likewise.
3627         (rowMargin): Likewise.
3628         (rowSelectionAllowed): Likewise.
3629         (selectionBackground): Likewise.
3630         (selectionForeground): Likewise.
3631         (selectionModel): Likewise.
3632         (showHorizontalLines): Likewise.
3633         (showVerticalLines): Likewise.
3634         (tableHeader): Likewise.
3635         (JTable): Implemented.
3636         (getColumnModel): Likewise.
3637         (getSelectedRow): Likewise.
3638         (getSelectionModel): Likewise.
3639         (setModel): Likewise.
3640         (setSelectionModel): Likewise.
3641         (createScrollPaneForTable): New method.
3642         (createDefaultDataModel): Likewise.
3643         (createDefaultListSelectionModel): Likewise.
3644         (getModel): Likewise.
3645         (getTableHeader): Likewise.
3646         (setTableHeader): Likewise.
3647         (getColumnSelectionAllowed): Likewise.
3648         (setColumnSelectionAllowed): Likewise.
3649         (getRowSelectionAllowed): Likewise.
3650         (setRowSelectionAllowed): Likewise.
3651         (getAutoResizeMode): Likewise.
3652         (setAutoResizeMode): Likewise.
3653         (getColumnCount): Likewise.
3654         (getRowCount): Likewise.
3655         (getCellRenderer): Likewise.
3656         * javax/swing/JTree.java
3657         (cellRenderer): New field.
3658         (editable): Likewise.
3659         (rootVisible): Likewise.
3660         (showsRootHandles): Likewise.
3661         (getModel): New method.
3662         (setModel): Likewise.
3663         (isEditable): Likewise.
3664         (setEditable): Likewise.
3665         (isRootVisbile): Likewise.
3666         (setRootVisible): Likewise.
3667         (getShowsRootHandles): Likewise.
3668         (setShowRootHandles): Likewise.
3669         (getCellRenderer): Likewise.
3670         (setCellRenderer): Likewise.
3671
3672 2004-07-21  Michael Koch  <konqueror@gmx.de>
3673
3674         * javax/swing/JFormattedTextField.java
3675         (setDocument): Implemented.
3676         * javax/swing/JRootPane.java:
3677         Fixed javadocs.
3678         * javax/swing/JTable.java
3679         (getDefaultRenderer): New method.
3680         * javax/swing/JTextField.java
3681         (setFont): Likewise.
3682         (getPreferredSize): Likewise.
3683         * javax/swing/JToggleButton.java
3684         (getAccessibleContext): Fix javadoc.
3685         * javax/swing/JTree.java:
3686         Add some javadocs.
3687         * javax/swing/JViewport.java:
3688         Likewise.
3689
3690 2004-07-21  David Jee  <djee@redhat.com>
3691
3692         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3693         Collect all native method declaration at the top.
3694         (create): Set the filename filter if necessary.
3695         (setDirectory): Call nativeSetDirectory().
3696         (setFilenameFilter): Implement.
3697         (filenameFilterCallback): New method.
3698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3699         (create): Configure dialog to show hidden files.
3700         (filenameFilterCallback): New function. 
3701         (nativeSetFilenameFilter): New function.
3702         (nativeSetDirectory): New function.
3703
3704 2004-07-21  Kim Ho  <kho@redhat.com>
3705
3706         * javax/swing/plaf/basic/BasicSliderUI.java:
3707         Ran Jalopy.
3708         (paintTrack): Fill the track before painting
3709         the borders.
3710
3711 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3712
3713         patch from Roman Kennke <roman@ontographics.com>
3714         * javax/swing/Spring.java: New file.
3715         * javax/swing/SpringLayout.java: New file.
3716         * Makefile.am: Add new files.
3717         * Makefile.in: Regenerate.
3718
3719 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3720
3721         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3722         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3723         * javax/swing/ScrollPaneLayout.java: Likewise.
3724
3725 2004-07-21  Kim Ho  <kho@redhat.com>
3726
3727         * javax/swing/DefaultDesktopManager.java:
3728         (findMinimum): Removed.
3729         (resizeFrame): Trust the UI to pass valid 
3730         bounds.
3731         * javax/swing/JOptionPane.java:
3732         Implemented showInternalXXXDialog methods.
3733         (startModal): New method.
3734         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3735         (BorderListener::mouseDragged): Verify that the new 
3736         bounds are valid before passing them to the DesktopManager.
3737         (preferredLayoutSize): Delegate
3738         to getSize.
3739         (minimumLayoutSize): Ditto.
3740         (getSize): New method.
3741         (GlassPaneDispatcher): Reimplemented by copying 
3742         a stripped down LightweightDispatcher from Container.
3743         (getMinimumSize): Call minimumLayoutSize.
3744         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3745         Ran Jalopy.
3746         (mousePressed): Add ability to properly close 
3747         JInternalFrames.
3748         * javax/swing/plaf/basic/BasicToolBarUI.java:
3749         (DragWindow): Set owner for DragWindow.
3750
3751 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3752
3753         * java/awt/image/ShortLookupTable.java: New file.
3754         * java/awt/image/ByteLookupTable.java: New file.
3755         * Makefile.am: Added new files.
3756         * Makefile.in: Regenerated.
3757
3758 2004-07-21  David Jee  <djee@redhat.com>
3759
3760         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3761         (create(GtkContainerPeer)): New native method.
3762         (create()): Call native create(), passing in the parent frame
3763         as the paramter. Natively set the current file and directory.
3764         (setFile): Construct an absolute filename before passing it to
3765         the native peer.
3766         (nativeGetDirectory): New method.
3767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3768         (window_closed): Removed.
3769         (ok_clicked): Likewise.
3770         (cancel_clicked): Likewise.
3771         (handle_response): New method.
3772         (create): Use GtkFileChooserDialog.
3773         (connectSignals): Connect to handle_response.
3774         (nativeGetDirectory): New method.
3775         (nativeSetFile): Use GtkFileChooserDialog.
3776
3777 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3778
3779         * java/awt/image/LookupTable.java: New file.
3780         * Makefile.am: Added new file.
3781         * Makefile.in: Regenerated.
3782
3783 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3784
3785         * java/awt/image/Kernel.java: New file.
3786         * Makefile.am: Added new file.
3787         * Makefile.in: Regenerated.
3788
3789 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3790
3791         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3792         * javax/swing/JMenu.java: Likewise.
3793         * javax/swing/JMenuBar.java: Likewise.
3794         (MARGIN_CHANGED_PROPERTY): New property.
3795         (setMargin): Implemented.
3796         * javax/swing/JMenuItem.java: Fixed javadocs.
3797         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3798         (LABEL_CHANGED_PROPERTY): New property.
3799         (add): changed to use createActionComponent.
3800         (createActionComponent): Implemented.   
3801         (setLabel): Fire PropertyChangeEvent if label property
3802         changes.
3803         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3804         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3805         (ContainerHandler): Repaint if margin property has changed.
3806         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3807         (installUI): Call installComponents().
3808         (uninstallUI): Call uinstallComponents().
3809         * javax/swing/plaf/basic/BasicMenuUI.java:
3810         Fixed javadocs.
3811         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3812         Likewise.
3813
3814 2004-07-21  Kim Ho  <kho@redhat.com>
3815
3816         * javax/swing/plaf/basic/BasicToolBarUI.java:
3817         (DragWindow): Use the right constructor.
3818
3819 2004-07-21  Kim Ho  <kho@redhat.com>
3820
3821         * javax/swing/JToolBar.java:
3822         (layoutContainer): Use getComponents.
3823         * javax/swing/plaf/basic/BasicToolBarUI.java:
3824         (DragWindow): Don't use SwingUtilities' 
3825         getOwnerFrame
3826         (ToolBarDialog): ditto.
3827
3828 2004-07-21  Kim Ho  <kho@redhat.com>
3829
3830         * javax/swing/JRootPane.java:
3831         Ran jalopy.
3832         (layoutContainer): Set the glasspane's size to 
3833         be the same as the content pane.
3834         (createGlassPane): Set opaque property to false.
3835
3836 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3837
3838         * java/awt/Component.java (requestFocus()): Don't handle Panels
3839         specially.
3840         (requestFocus(boolean)): Likewise.
3841         (requestFocusInWindow(boolean)): Likewise.
3842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3843         Set GTK_CAN_FOCUS flag.
3844
3845 2004-07-21  Kim Ho  <kho@redhat.com>
3846
3847         * Makefile.am: Added new file.
3848         * Makefile.in: Regenerated.
3849         * gcj/Makefile.in: Regenerated.
3850         * include/Makefile.in: Regenerated.
3851         * javax/swing/AbstractButton.java:
3852         Add rollOverEnabled property.
3853         (setRolloverEnabled): Use new property.
3854         (isRolloverEnabled): Use new property.
3855         * javax/swing/JTabbedPane.java:
3856         (setComponent): Remove useless JTabbedPane.this.
3857         * javax/swing/JToolBar.java: Finish implementation.
3858         * javax/swing/plaf/basic/BasicArrowButton.java:
3859         (paint): Moved border painting to a border.
3860         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3861         Change JToolBar look and feel defaults.
3862         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3863         (actionPerformed): Return Integer index instead of name.
3864         (addButtonComponents): Check to see if component is
3865         JButton last.
3866         (createMessageArea): Don't use components that are not
3867         completed yet.
3868         (getIconForType): Use temporary icons.
3869         * javax/swing/plaf/basic/BasicSliderUI.java:
3870         (mousePressed): Do not return if it's on thumb.
3871         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3872         (paintMinorTickForVertSlider): ditto.
3873         (paintMajorTickForHorizSlider): ditto.
3874         (paintMajorTickForVertSlider): ditto.
3875         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3876         Add a border around the SplitPaneDivider.
3877         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3878         Remove comments.
3879         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3880         New file. Implemented.
3881         * javax/swing/plaf/basic/BasicToolBarUI.java:
3882         Implemented.
3883         * testsuite/Makefile.in: Regenerated.
3884
3885 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3886
3887         * javax/swing/Timer.java (run): Queue events each time cycle.
3888
3889 2004-07-21  David Jee  <djee@redhat.com>
3890
3891         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3892         (imageComplete): Call image.imageComplete().
3893         * java/awt/image/MemoryImageSource.java:
3894         Reimplement consumers as a Vector instead of a Hashtable.  This is
3895         because enumeration on a Hashtable is not thread-safe.
3896         (addConsumer): Adapt to Vector consumers.
3897         (isConsumer): Adapt to Vector consumers.
3898         (removeConsumer): Adapt to Vector consumers.
3899         (startProduction): Adapt to Vector consumers. Call imageComplete()
3900         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3901         (newPixels): Adapt to Vector consumers.
3902         (sendPicture): Set the color model of the image consumer.
3903         (newPixels(IIII)): Adapt to Vector consumers.
3904         (newPixels(IIIIB)): Adapt to Vector consumers.
3905
3906 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3907
3908         * java/awt/Component.java (deliverEvent): Implement.
3909         (postEvent): Implement.
3910         (handleEvent): Implement.
3911         (translateEvent): New method.
3912         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3913         * java/awt/Container.java (deliverEvent): Implement.
3914         * java/awt/Event.java (paramString): Fix formatting.
3915         * java/awt/Font.java (toString): Likewise.
3916         * java/awt/Window.java (postEvent): Implement.
3917
3918 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3919
3920         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3921         Set window's focus owner upon receiving a FOCUS_LOST event.
3922         * java/awt/Window.java (Window()): Refocus the previously
3923         focused component within the window when the window regains the
3924         top-level focus.
3925         (setFocusOwner): New method.
3926         * java/awt/Component.java (requestFocus): Add FIXME.
3927
3928         * libgcj.pc.in: Remove library flags.
3929
3930 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3931
3932         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3933         MOUSE_PRESSED event.
3934         * java/awt/Component.java (requestFocus()): Handle Panel
3935         specially.  Post FOCUS_LOST event on opposite component.
3936         (requestFocus(boolean)): Likewise.
3937         (requestFocusInWindow(boolean)): Likewise.
3938         (paramString): Reorder dimension fields.
3939         * java/awt/Container.java (paramString): Fix string format.
3940         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3941         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3942         process key events if the focus owner is non-null.
3943         (dispatchKeyEvent): Likewise.
3944         * java/awt/Frame.java (paramString): Fix formatting.
3945         (generateName): New method.
3946         (getUniqueLong): Likewise.
3947         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3948         the temporary focus owner is null.  If so, return the permanent
3949         focus owner.
3950         * java/awt/Panel.java (generateName): New method.
3951         (getUniqueLong): Likewise.
3952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3953         signal handling to make callbacks more specific.
3954
3955 2004-07-21  Michael Koch  <konqueror@gmx.de>
3956
3957         * javax/swing/text/Position.java
3958         (Bias): Implemented.
3959
3960 2004-07-21  Michael Koch  <konqueror@gmx.de>
3961
3962         * javax/swing/LookAndFeel.java
3963         (provideErrorFeedback): New method.
3964
3965 2004-07-21  Michael Koch  <konqueror@gmx.de>
3966
3967         * javax/swing/JTextArea.java
3968         (tabSize): New field.
3969         (getTabSize): New method.
3970         (setTabSize): Likewise.
3971
3972 2004-07-21  Michael Koch  <konqueror@gmx.de>
3973
3974         * javax/swing/ActionMap.java:
3975         Fixed javadocs all over.
3976         (serialVersionUID): Made private.
3977         (parent): Don't explicitely initialize with default value.
3978         (get): SImplified.
3979         (keys): Reimplemented.
3980         (allKeys): Likewise.
3981         (convertSet): Removed.
3982         * javax/swing/ComponentInputMap.java:
3983         Fixed javadocs all over.
3984         (ComponentInputMap): Implemented.
3985         (put): Likewise.
3986         (clear): Likewise.
3987         (remove): Likewise.
3988         (SetParent): Likewise.
3989         (getComponent): Likewise.
3990         * javax/swing/InputMap.java:
3991         Fixed javadocs all over.
3992         (serialVersionUID): Made private.
3993         (parent): Don't explicitely initialize with default value.
3994         (get): SImplified.
3995         (keys): Reimplemented.
3996         (allKeys): Likewise.
3997         (convertSet): Removed.
3998
3999 2004-07-21  Michael Koch  <konqueror@gmx.de>
4000
4001         * javax/swing/ActionMap.java,
4002         javax/swing/ComponentInputMap.java,
4003         javax/swing/InputMap.java,
4004         javax/swing/table/DefaultTableColumnModel.java,
4005         javax/swing/table/TableColumn.java,
4006         javax/swing/table/TableColumnModel.java,
4007         javax/swing/table/TableModel.java,
4008         javax/swing/text/AbstractDocument.java,
4009         javax/swing/text/TextAction.java:
4010         Reformated.
4011
4012 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4013
4014         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4015         Make method non-static.
4016         * javax/swing/AbstractButton.java:
4017         Rename fields to match property names where possible.
4018         (iconTextGap): New property.
4019         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4020         (init) New method, call from after various constructors.
4021         * javax/swing/JComponent.java (revalidate): 
4022         Invalidate before queueing repair.
4023         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4024         Reimplement in terms of visibleRowCount property.
4025         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4026         * javax/swing/JScrollPane.java (createScrollListener): 
4027         Remove tracing chatter.
4028         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4029         * javax/swing/RepaintManager.java (addInvalidComponent): 
4030         Don't invalidate.
4031         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4032         calculations.
4033         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4034         Mimic sun behavior on top left/right positioning.
4035         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4036         Remove mistaken use of preferredScrollableViewportSize here.
4037         (layoutContainer): Use view's preferred size as basis.
4038         * javax/swing/plaf/basic/BasicButtonUI.java:
4039         Set, get, and use textIconGap property.
4040         (paint) Paint text returned from layout (with ellipsis).
4041         * javax/swing/plaf/basic/BasicListUI.java:
4042         Remove tracing chatter, correct various minor calculations.
4043         (getCellBounds): Update layout state before calculating.
4044         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4045         Use margin default similar to sun's.    
4046         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4047         (createIncreaseIcon): Center icon, minimize margins.
4048         (createDecreaseIcon): Likewise.
4049         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4050         Implement.
4051         (installUI): Call it.
4052         (uninstallDefaults): Implement.
4053         (uninstallUI): Call it.
4054         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4055         Call existing Window constructor.
4056         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4057         Set clip before painting.
4058
4059 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4060         
4061         * javax/swing/JMenuItem.java:
4062         (processMouseEvent): Reimplemented to deal with
4063         mouse drag events.
4064         (createMenuDragMouseEvent): New private helper method.
4065         Creates MenuDragMouseEvent.
4066         * javax/swing/MenuSelectionManager.java
4067         (componentForPoint): Implemented.
4068         (isComponentPartOfCurrentMenu): Made public.
4069         (processMouseEvent): Reimplemented to deal with 
4070         mouse drag events.
4071         (setSelectedPath): Corrected small mistake that caused
4072         path to be set incorrectly.
4073         (getPath): If given component is JMenu then also add this
4074         menu's popup menu to the selected path.
4075         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4076         (getPath): Ditto.
4077         (getPreferredSize): Call getPreferredMenuItemSize().
4078         (getPreferredItemSize): Moved code from getPreferredSize to here.
4079         (installListeners): Install MouseMotionListeners.
4080         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4081         if mouse wasn't released in the bounds of this menu item.
4082         (MenuDragMouseHandler): Implemented.
4083         * javax/swing/plaf/basic/BasicMenuUI.java:
4084         (installListeners): Install MouseMotionListener and 
4085         MenuDrageMouseListener.
4086         (MenuDragMouseHandler): Implemented.
4087         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4088         (uninstallListeners): Implemented.
4089         
4090 2004-07-21  Michael Koch  <konqueror@gmx.de>
4091
4092         * javax/swing/JCheckBox.java: Reformated.
4093         (JCheckBox): Fixed all constructors.
4094         (isBorderPaintedFlat): New method.
4095         (setBorderPaintedFlat): New method.
4096         * javax/swing/JEditorPane.java
4097         (createEditorKitForContentType): Made public.
4098         (scrollToReference): Likewise.
4099         * javax/swing/JTextArea.java
4100         (setLineWrap): Fire property change.
4101         * javax/swing/JToggleButton.java
4102         (JToggleButton): New constructor.
4103         (JToggleButton): Simplified.
4104         * javax/swing/text/AttributeSet.java
4105         (FontAttribute): Renamed from FontCharacterAttribute.
4106         * javax/swing/text/JTextComponent.java
4107         (KeyBinBinding): Added javadoc.
4108         (JTextComponent): Likewise.
4109         (getAccessibleContext): Fixed javadoc.
4110         * javax/swing/text/View.java
4111         (View): Added javadoc.
4112         * javax/swing/text/TabableView.java: New file.
4113         * Makefile.am: Added javax/swing/text/TabableView.java.
4114         * Makefile.in: Regenerated.
4115
4116 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4117
4118         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4119         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4120         (GtkErrorImage): New helper class.
4121         (bufferedImageOrError): New helper method.
4122         (createImage): Use it.
4123
4124 2004-07-21  David Jee  <djee@redhat.com>
4125
4126         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4127         (setCaretPosition): Scroll the text view so the new caret position
4128         is visible on screen.
4129
4130 2004-07-21  David Jee  <djee@redhat.com>
4131
4132         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4133         (setBounds): Do not validate awtComponent here.
4134         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4135         (getPreferredSize): New method.
4136         * java/awt/ScrollPane.java
4137         (ScrollPane): Set default size to 100x100.
4138         (addNotify): If child is not a Panel, wrap it with a new Panel.
4139         (paramString): Implement.
4140
4141 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4142
4143         * javax/swing/JMenu.java:
4144         (setSelected): Display popup menu only if this menu 
4145         is showing on the screen.
4146         * javax/swing/JPopupMenu.java:
4147         (processMouseEvent): Added comment.
4148         (processKeyEvent): Likewise.
4149         * javax/swing/MenuSelectionManager.java:
4150         (clearSelectedPath): Only fireStateChanged() after
4151         selected path was changed, not before.
4152         (setSelectedPath): Likewise.
4153         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4154         (paintMenuItem): Corrected position of menu item's
4155         icon.
4156         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4157         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4158         (popupMenuCanceled): Reimplemented.
4159         (popupMenuWillBecomeVisible): Select first menu item by default 
4160         when displaying free floating popup menus.
4161         (TopWindowListener): Reimplemented.
4162
4163 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4164
4165         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4166         Panel from being painted twice when it is first shown.
4167
4168 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4169
4170         * java/awt/Window.java: Reverted changes from my 
4171         previous patch for creating window without an owner.
4172         * javax/swing/SwingUtilities.java: 
4173         (SwingUtilities.OwnerFrame): made static.
4174         (OwnerFrame.setVisible): New method. Overridden with
4175         empty implementation.
4176         (OwnerFrame.isShowing): New method. Ovverridden
4177         to return always true.
4178
4179 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4180
4181         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4182         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4183         (GtkComponentPeer): Remove temporary try/catch block.
4184         (setVisible): Call show and hide.
4185         (show): Make native.
4186         (hide): Likewise.
4187         (getArgs): Don't add "visible" argument.
4188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4189         (property_notify_predicate): Return Bool instead of int.
4190         (find_layout): New function.
4191         (connectJObject): Call find_layout.
4192         (connectSignals): Likewise.
4193         (moveLayout): Likewise.
4194         (gtkLayoutSetVisible): Likewise.
4195
4196 2004-07-21  Mark Wielaard  <mark@klomp.org>
4197
4198         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4199         on notifier object before calling notifyAll().
4200
4201 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4202
4203         * java/awt/Window.java: Changed constructors to use new
4204         method that is described below. Constructors call this
4205         methods only if newly created window should have an owner.
4206         (setWindowOwner): New method. Implementation for
4207         this method is moved from this(owner,configuration).
4208         * javax/swing/JWindow.java:
4209         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4210         instead of owner.
4211         * javax/swing/SwingUtilities.java:
4212         (ownerFrame): Change type of this field to OwnerFrame.
4213         (getOwnerFrame): Changed to return object of type OwnerFrame.
4214         (SwingUtilities.OwnerFrame): New class. Represents owner
4215         of a Window that is not provided with one.
4216
4217 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4218
4219         *  javax/swing/AbstractButton.java: 
4220         (configurePropertiesFromAction): Set action command
4221         to button's text by default if action command is not 
4222         explicitely specified.
4223         * javax/swing/JMenu.java: Remove unnecessary listener
4224         and methods relevant to it.
4225         (setSelected): Reimplemented.
4226         (menuSelectionChanged): Moved most part of implementation to
4227         setSelected() and call it instead.
4228         * javax/swing/JMenuItem.java: 
4229         (init): Comment out statement that sets paint_border to false.
4230         (configurePropertiesFromAction): Do not set accelerator
4231         for JMenu.
4232         (menuSelectionChanged): Change selected index in the selection
4233         model of menu item's parent.
4234         * javax/swing/JPopupMenu.java:
4235         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4236         instead of GridBagConstraints.HORIZONTAL.
4237         (insert): Likewise.
4238         (createActionChangeListener): Implemented.
4239         (setVisible): Correct location of HeavyWeightMenu and 
4240         don't firePopupMenuCanceled().
4241         (menuSelectionChanged): Implemented.
4242         (ActionChangeListener): New Listener. Implemented.
4243         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4244         (BasicMenuBarUI.ContainerHandler): Implemented.
4245         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4246         (paintMenuItem): Uncommented out code that paints 
4247         icon, now that icons are working properly.
4248         (PropertyChangeListener): Implemented.
4249         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4250         Added javadocs.
4251         (topWindowListener): New field.
4252         (Constructor): initialize topWindowListener.
4253         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4254         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4255         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4256         Implemented.
4257
4258 2004-07-21  Michael Koch  <konqueror@gmx.de>
4259
4260         * javax/swing/plaf/basic/BasicButtonUI.java
4261         (paintFocus): Fixed method signature.
4262         (paintButtonPressed): Likewise.
4263         (paintButtonNormal): Likewise.
4264         (paintText): New method.
4265         * javax/swing/plaf/basic/BasicLabelUI.java
4266         (paint): Re-indented.
4267         * javax/swing/plaf/basic/BasicTextUI.java
4268         (installUI): Set parent textComponent to opaque.
4269         * javax/swing/text/DefaultHighlighter.java
4270         (checkPositions): New helper method.
4271         (addHighlight): Throws BadLocationException, check positions.
4272         (changeHighlight): Likewise.
4273         * javax/swing/text/EditorKit.java
4274         (EditorKit): Implements Serializable.
4275         * javax/swing/text/JTextComponent.java
4276         (getUI): Added javadoc.
4277         (setUI): Likewise.
4278         (upadteUI): Added javadoc, don't revalidate and repaint.
4279
4280 2004-07-21  David Jee  <djee@redhat.com>
4281
4282         * java/awt/GridBagLayout.java
4283         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4284         * javax/swing/AbstractButton.java
4285         (setText): Reindent.
4286         * javax/swing/RepaintManager.java
4287         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4288
4289 2004-07-21  Michael Koch  <konqueror@gmx.de>
4290
4291         * javax/swing/JFormattedTextField.java
4292         (value): New field.
4293         (JFormattedTextField): Implemented.
4294         (getValue): Likewise.
4295         (setValue): Likewise.
4296         * javax/swing/LookAndFeel.java
4297         (getSupportsWindowDecorations): New method.
4298         * javax/swing/UIDefaults.java:
4299         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4300         (addPropertyChangeListener): Made public.
4301         (addResourceBundle): Likewise.
4302         (removeResourceBundle): Likewise.
4303         (setDefaultLocale): Likewise.
4304         * javax/swing/plaf/basic/BasicRootPaneUI.java
4305         (BasicRootPaneUI): Implements PropertyChangeListener.
4306         (propertyChange): New method.
4307         * javax/swing/plaf/basic/BasicTextUI.java
4308         (BasicHighlighter): New inner class.
4309         (createHighlighter): New method.
4310         * javax/swing/plaf/basic/BasicToolBarUI.java
4311         (DragWindow): Extends java.awt.Window.
4312         * javax/swing/text/JTextComponent.java
4313         (getDocument): Removed debug output.
4314         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4315         javax/swing/text/DefaultHighlighter.java,
4316         javax/swing/text/FieldView.java,
4317         javax/swing/text/PlainView.java: New files.
4318         * Makefile.am: Added new files.
4319         * Makefile.in: Regenerated.
4320
4321 2004-07-21  Michael Koch  <konqueror@gmx.de>
4322
4323         * javax/swing/JEditorPane.java
4324         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4325         (createEditorKitForContentType): Likewise.
4326         * javax/swing/text/DefaultEditorKit.java
4327         (serialVersionUID): Added constant field.
4328         (EndOfLineStringPropery): Fixed typo.
4329         (DefaultEditorKit): New constructor.
4330         * javax/swing/text/Segment.java:
4331         Import java.text.CharacterIterator.
4332         * javax/swing/text/CharacterIterator.java,
4333         javax/swing/text/PlainEditorKit.java: Removed.
4334         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4335         javax/swing/text/PlainEditorKit.java.
4336         * Makefile.in: Regenerated.
4337
4338 2004-07-21  Michael Koch  <konqueror@gmx.de>
4339
4340         * javax/swing/JButton.java,
4341         javax/swing/text/DefaultEditorKit.java,
4342         javax/swing/text/EditorKit.java,
4343         javax/swing/text/Segment.java,
4344         javax/swing/text/StyledEditorKit.java:
4345         Reformatted.
4346
4347 2004-07-21  Michael Koch  <konqueror@gmx.de>
4348
4349         * javax/swing/ImageIcon.java
4350         (file): Removed.
4351         (description): Renamed from descr.
4352         (ImageIcon): Added missing constructors.
4353         (setParent): Removed.
4354         (setImageObserver): New method.
4355         (getImageObserver): New method.
4356         (paintIcon): Handle observer = null.
4357         * javax/swing/JButton.java
4358         (removeNotify): Fixed javadoc.
4359         (updateUI): Simplified.
4360         * javax/swing/JRootPane.java
4361         (serialVersionUID): New constant field.
4362         * javax/swing/UIManager.java:
4363         Fixed javadocs all over.
4364         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4365         * javax/swing/text/AbstractDocument.java
4366         (createPosition): Throws BadLocationException.
4367         (getText): Likewise.
4368         (remove): Likewise.
4369         * javax/swing/text/ComponentView.java
4370         (modelToView): Likewise.
4371         * javax/swing/text/DefaultEditorKit.java:
4372         Made all public methods public.
4373         (read): Throws BadLocationException and IOException.
4374         (write): Likewise.
4375         * javax/swing/text/EditorKit.java:
4376         Made all public methods public.
4377         (serialVersionUID): New constant field.
4378         (clone): New method.
4379         (read): Throws BadLocationException and IOException.
4380         (write): Likewise.
4381         * javax/swing/text/Segment.java
4382         (array): Made public.
4383         (count): Likewise.
4384         (offset): Likewise.
4385         (Segment): New constructors.
4386         (clone): Reimplemented.
4387         * javax/swing/text/StyledEditorKit.java
4388         (serialVersionUID): New constant field.
4389
4390 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4391
4392         * java/awt/image/BufferedImage.java 
4393         (getSource): Implement.
4394         * javax/swing/ImageIcon.java 
4395         (ImageIcon): Implement ctor.
4396         * javax/swing/ScrollPaneLayout.java 
4397         (preferredLayoutSize): Be more careful about nulls.
4398
4399 2004-07-21  Michael Koch  <konqueror@gmx.de>
4400
4401         * javax/swing/text/AttributeSet.java
4402         (CharacterAttribute): New interface
4403         (ColorAttribute): Likewise.
4404         (FontCharacterAttribute): Likewise.
4405         (ParagraphAttribute): Likewise.
4406         * javax/swing/text/DefaultCaret.java
4407         (moveCaret): New method.
4408         (positionCaret): Likewise.
4409         (repaint): Made protected.
4410         * javax/swing/text/JTextComponent.java
4411         (KeyBinding): Made it static.
4412         * javax/swing/text/View.java
4413         (getContainer): Honor parent == null.
4414
4415 2004-07-21  Michael Koch  <konqueror@gmx.de>
4416
4417         * javax/swing/text/AbstractDocument.java:
4418         Reformatted.
4419
4420 2004-07-21  Michael Koch  <konqueror@gmx.de>
4421
4422         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4423         Import javax.swing.UIManager explicitely.
4424         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4425         (ScrollingButton): Made it static.
4426
4427 2004-07-21  Michael Koch  <konqueror@gmx.de>
4428
4429         * javax/swing/UIDefaults.java
4430         (ActiveValue): Made public.
4431         (LazyValue): Likewise.
4432         * javax/swing/plaf/basic/BasicTextUI.java
4433         (RootView): Reintroduced.
4434         (view): Removed.
4435         (rootView): New field.
4436         (installUI): Create document if needed, initialize rootView.
4437         (uninstallUI): Hanle rootView.
4438         (paint): Likewise.
4439         (getRootView): Likewise.
4440         (setView): Likewise.
4441         * javax/swing/text/DefaultCaret.java:
4442         Renamed all "evt" variables to "event".
4443
4444 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4445
4446         * libgcj.spec.in: Add -l-java-util-logging.
4447
4448 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4449
4450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4451         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4452         gtk-xft-dpi can no calculate the right value.
4453         (dpi_changed_cb): Mark *pspec as unsused.
4454
4455 2004-07-21  David Jee  <djee@redhat.com>
4456
4457         * java/awt/Component.java
4458         (move): Delegate to setBounds().
4459         (resize): Likewise.
4460         (reshape): Fix so it repaints parent and self only when necessary.
4461
4462 2004-07-21  David Jee  <djee@redhat.com>
4463
4464         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4465         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4466         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4467         (setVisible): Likewise.
4468         (show): Likewise.
4469         (hide): Likewise.
4470         (getArgs): Likewise.
4471         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4472         (property_notify_predicate): Likewise.
4473         (find_layout): Likewise.
4474         (connectJObject): Likewise.
4475         (connectSignals): Likewise.
4476         (moveLayout): Likewise.
4477         (gtkLayoutSetVisible): Likewise.
4478
4479 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4480
4481         * Makefile.am
4482         (jv_convert_LDADD):
4483         (gij_LDADD):
4484         (rmic_LDADD):
4485         (rmiregistry_LDADD): Add lib-java-util-logging.la
4486         * Makefile.in: Regenerate.
4487
4488 2004-07-21  Michael Koch  <konqueror@gmx.de>
4489
4490         * javax/swing/text/AbstractDocument.java
4491         (replace): Dont use protected method of java.util.Vector directly.
4492
4493 2004-07-21  Michael Koch  <konqueror@gmx.de>
4494
4495         * javax/swing/plaf/basic/BasicTextUI.java
4496         (installUI): Call specialized install methods.
4497         (installDefaults): New method.
4498         (installListeners): Likewise.
4499         (installKeyboardActions): Likewise.
4500         (uninstallUI): Likewise.
4501         (uninstallDefaults): New method.
4502         (uninstallListeners): Likewise.
4503         (uninstallKeyboardActions): Likewise.
4504         (getPropertyPrefix): New abstract method.
4505         (paint): Made final, just call paintSafely().
4506         (paintSavely): New method.
4507         (paintBackground): Likewise.
4508         (getVisibleEditorRect): Likewise.
4509         * javax/swing/text/LayeredHighlighter.java,
4510         javax/swing/text/TabExpander.java: New files.
4511         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4512         and javax/swing/text/TabExpander.java.
4513         * Makefile.in: Regenerated.
4514
4515 2004-07-21  Michael Koch  <konqueror@gmx.de>
4516
4517         * javax/swing/plaf/basic/BasicTextUI.java
4518         (BasicTextUI): Made abstract.
4519         (BasicCaret): New inner class.
4520         (view): Don't explicitely initialize with "null".
4521         (textComponent): New field.
4522         (textColor): Removed.
4523         (disabledTextColor): Removed.
4524         (normalBackgroundColor): Removed.
4525         (RootView): Removed commented out inner class.
4526         (createUI): Removed.
4527         (createCaret): New method.
4528         (getComponent): Likewise.
4529         (installUI): Initialize textComponent only.
4530         (getPreferredSize): Use installed JTextComponent.
4531         (setView): New method.
4532         (create): Likewise.
4533         * javax/swing/text/JTextComponent.java
4534         (highlighter): New field.
4535         (caretColor): Likewise.
4536         (disabledTextColor): Likewise.
4537         (seletedTextColor): Likewise.
4538         (selectionColor): Likewise.
4539         (setUI): New method.
4540         (getCaretColor): Likewise.
4541         (setCaretColor): Likewise.
4542         (getDisabledColor): Likewise.
4543         (setDisabledColor): Likewise.
4544         (getSelectedTextColor): Likewise.
4545         (setSelectedTextColor): Likewise.
4546         (getSelectionColor): Likewise.
4547         (setSelectionColor): Likewise.
4548         (getHighlighter): Likewise.
4549         (setHighlighter): Likewise.
4550         (replaceSelection): Likewise.
4551
4552 2004-07-21  Michael Koch  <konqueror@gmx.de>
4553
4554         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4555         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4556         * javax/swing/plaf/basic/BasicToolBarUI.java
4557         (BasicToolBarUI): Implements SwingConstants.
4558
4559 2004-07-21  Michael Koch  <konqueror@gmx.de>
4560
4561         * javax/swing/JPopupMenu.java: Removed CVS tags.
4562         * javax/swing/UIDefaults.java: Reformatted.
4563         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4564         Explicitely import used classes.
4565
4566 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4567
4568         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4569         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4570         (GtkComponentPeer): Remove temporary try/catch block.
4571         (setVisible): Call show and hide.
4572         (show): Make native.
4573         (hide): Likewise.
4574         (getArgs): Don't add "visible" argument.
4575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4576         (property_notify_predicate): Return Bool instead of int.
4577         (find_layout): New function.
4578         (connectJObject): Call find_layout.
4579         (connectSignals): Likewise.
4580         (moveLayout): Likewise.
4581         (gtkLayoutSetVisible): Likewise.
4582
4583 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4584
4585         * javax/swing/AbstractButton.java:
4586         (setDisplayedMnemonicIndex): Check if button
4587         text is not null before checking its length.
4588         * javax/swing/JMenuItem.java:
4589         (processMouseEvent): Disarm menu item if mouse has
4590         exited it.
4591         * javax/swing/plaf/basic/BasicMenuUI.java:
4592         (MouseInputHandler.mouseEntered): Do not raise
4593         popup menu if this menu is already selected.
4594         (MouseInputHandler.mousePressed): Do not fire 
4595         MenuEvents.
4596         (MenuHandler): Implemented.     
4597
4598 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4599
4600         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4601         (getSelectedObjects): Implemented.
4602         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4603         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4604         Added javadoc for few methods.
4605         (processMouseEvent): Made public.
4606         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4607         (processMouseEvent): Likewise.
4608
4609 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4610
4611         * javax/swing/AbstractButton.java:
4612         (init): Set display mnemonic index to -1.
4613         (setMnemonic(char)): Use setMnemonic(int).
4614         (setMnemonic(int)): Set display mnemonic index.
4615         (getDisplayedMnemonicIndex): Change method signature
4616         by removing 'index' parameter.
4617         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4618         Added default for Menu.selectionBackground.     
4619         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4620         (paintMenuItem): Change background color of the selected
4621         menu item.
4622         (paintText): Paint differently when menu item is disabled.
4623         Also paint mnemonic if it appears in the menu item's label.
4624         (paintAccelerator): Paint accelerator differently
4625         if menu item is disabled.
4626         * javax/swing/plaf/basic/BasicMenuUI.java:
4627         (installDefaults): Install defaults for 
4628         selectionForeground and selectionBackground.
4629         (uninstallDefaults): Uninstall defauls for 
4630         selectionForeground and selectionBackground.
4631
4632 2004-07-21  Michael Koch  <konqueror@gmx.de>
4633
4634         * javax/swing/text/AbstractDocument.java
4635         (BranchElement): Implemented.
4636         (LeafElement): Implemented.
4637         * javax/swing/text/DefaultCaret.java:
4638         Import used classes.
4639         (serialVersionUID): New constant.
4640         * javax/swing/text/JTextComponent.java
4641         (AccessibleJTextComponent): Removed dead declaration.
4642         (caretPos): Removed.
4643         (setCaret): New method.
4644         * javax/swing/text/PlainDocument.java
4645         (rootElement): New field.
4646         (PlainDocument): Initialize rootElement.
4647         (createDefaultRoot): New method.
4648         (getDefaultRootElement): Implemented.
4649         * javax/swing/text/View.java: Reformatted.
4650         * javax/swing/text/ViewFactory.java
4651         (create): Added javadoc.
4652
4653 2004-07-21  Michael Koch  <konqueror@gmx.de>
4654
4655         * javax/swing/ToolTipManager.java: Reformatted.
4656
4657 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4658
4659         * javax/swing/AbstractButton.java
4660         (changeEvent): New field.
4661         (fireItemStateChanged): Change source of the event
4662         to 'this' before firing it to button listeners.
4663         (fireActionPerformed): Likewise.
4664         (fireStateChanged): Likewise.
4665         (createActionListener): Do not set source 
4666         of the event to AbstractButton.                                  
4667         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4668         (ContainerHandler.componentAdded): Removed 
4669         print out statement.
4670         (ContainerHandler.componentRemoved): Likewise.
4671
4672 2004-07-21  Michael Koch  <konqueror@gmx.de>
4673
4674         * javax/swing/text/Highlighter.java: New file.
4675         * Makefile.am: Added javax/swing/text/Highlighter.java.
4676         * Makefile.in: Regenerated.
4677
4678 2004-07-21  Michael Koch  <konqueror@gmx.de>
4679
4680         * javax/swing/ToolTipManager.java
4681         (stillInsideTimerAction): Fixed constructor arguments.
4682         (outsideTimerAction): Likewise.
4683         (insideTimerAction): Likewise.
4684
4685 2004-07-21  Michael Koch  <konqueror@gmx.de>
4686
4687         * javax/swing/JButton.java: Reformatted.
4688         * javax/swing/JFormattedTextField.java
4689         (getUIClassID): Implemented.
4690         * javax/swing/JRootPane.java
4691         (serialVersionUID): New constant.
4692         * javax/swing/JTextField.java
4693         (align): New field.
4694         (JTextField): Simplified.
4695         (getUIClassID): New method.
4696         (getActionListeners): Added @since tag.
4697         (setColumns): Invalidate layout and repaint.
4698         (getHorizontalAlignment): New method.
4699         (setHorizontalAlignment): New method.
4700         (selectAll): Removed.
4701         * javax/swing/SwingUtilities.java
4702         (getAncestorOfClass): Removed redundant @see tag.
4703         (isLeftMouseButton): Fixed implementation.
4704         (isMiddleMouseButton): Likewise.
4705         (isRightMouseButton): Likewise.
4706         * javax/swing/text/AbstractDocument.java
4707         (AttributeContext.addAttribute): New method.
4708         (AttributeContext.addAttributes): New method.
4709         (AttributeContext.getEmptySet): New method.
4710         (AttributeContext.reclaim): New method.
4711         (AttributeContext.removeAttribute): New method.
4712         (AttributeContext.removeAttributes): New method.
4713         * javax/swing/text/Document.java
4714         (createPosition): Throws BadLocationException.
4715         (getText): Likewise.
4716         (remove): Likewise.
4717         * javax/swing/text/JTextComponent.java
4718         (getText): Return null if no document is set. Catch
4719         BadLocationException.
4720         (getUI): Return ui.
4721         (updateUI): Simplified.
4722
4723 2004-07-21  Michael Koch  <konqueror@gmx.de>
4724
4725         * javax/swing/JButton.java
4726         (removeNotify): Fixed javadoc.
4727         (updateUI): Simplified.
4728
4729 2004-07-21  David Jee  <djee@redhat.com>
4730
4731         * gnu/java/awt/image/ImageDecoder.java
4732         (startProduction): Only add consumer if it's not added yet.
4733         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4734         (GdkPixbufDecoder): Don't call initState() here.
4735         (produce): Call initState() here, to ensure area_prepared and
4736         area_updated signals are properly connected.
4737         * gnu/java/awt/peer/gtk/GtkImage.java
4738         (setColorModel): Use equals() to compare ColorModel objects.
4739         (setPixels): Likewise.
4740         * java/awt/image/ColorModel.java
4741         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4742         * java/awt/image/RGBImageFilter.java
4743         (setColorModel): Set consumer's color model.
4744         (setPixels): Use equals() to compare ColorModel objects.
4745
4746 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4747
4748         * java/net/URLConnection.java (position): New field.
4749         (dateFormat1, dateFormat2, dateFormat3): Removed.
4750         (dateFormats): New field.
4751         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4752         each time instead of re-allocating.
4753         (initializeDateFormats): Initialize 'dateFormats'.
4754
4755 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4756
4757         PR libgcj/16591
4758         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4759         is defined.
4760
4761 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4762
4763         * java/net/Socket.java (getImpl): Now private. Remove comment.
4764
4765 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4766
4767         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4768         of chained Writer when calling super-constructor.
4769         * java/io/FilterWriter.java (FilterWriter): Likewise.
4770         * java/io/PrintWriter.java (PrintWriter): Likewise.
4771
4772 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4773
4774         * prims.cc (process_gcj_properties): Don't increment i within LHS
4775         of assignment.
4776
4777 2004-07-19  Per Bothner  <per@bothner.com>
4778
4779         Print -verbose:message on "loading", not initialization.
4780         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4781         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4782         gcj::verbose_class_flag.
4783         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4784         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4785         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4786         (_Jv_PrepareCompiledClass):  Likewise.
4787
4788 2004-07-18  Matthias Klose  <doko@debian.org>
4789
4790         * configure.in: Substitute target_noncanonical.
4791         * configure: Regenerate
4792
4793 2004-07-17  Michael Koch  <konqueror@gmx.de>
4794
4795         * java/lang/String.java: Fixed javadocs all over.
4796
4797 2004-07-17  Mark Wielaard  <mark@klomp.org>
4798
4799         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4800         when size is smaller.
4801         * java/io/RandomAccessFile.java (setLength): Use truncate for
4802         shrinking the file and seek plus write for expanding the file.
4803
4804 2004-07-17  Michael Koch  <konqueror@gmx.de>
4805
4806         * gnu/java/nio/channels/natFileChannelPosix.cc
4807         (implTruncate): Always save current position. Only reposition file
4808         pointer to where we started if not beyond new lenght. Reposition file
4809         pointer to file length if it points beyond the end of file.
4810
4811 2004-07-17  Mark Wielaard  <mark@klomp.org>
4812
4813         * javax/swing/Box.java: Put FIXME comment above class declaration.
4814         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4815         * javax/swing/JCheckBox.java: Likewise.
4816         * javax/swing/JDialog.java: Likewise.
4817         * javax/swing/JRadioButton.java: Likewise.
4818         * javax/swing/JToggleButton.java: Likewise.
4819         * javax/swing/UIManager.java: Likewise.
4820         * javax/swing/border/TitledBorder.java: Likewise.
4821         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4822         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4823         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4824         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4825         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4826         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4827         * javax/swing/text/JTextComponent.java: Likewise.
4828
4829 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4830
4831         * java/net/DatagramPacket.java (setAddress): Removed check for
4832         null address.
4833
4834 2004-07-17  Michael Koch  <konqueror@gmx.de>
4835
4836         * java/net/DatagramSocket.java
4837         (getLocalAddress): Check if socket is bound or not.
4838         * java/net/Socket.java
4839         (getLocalAddrss): Check if socket is bound or not.
4840         (getPort): Return -1 when not connected. Dont check getImpl() for
4841         null.
4842         (setReuseAddress): Check if socket is closed.
4843         (isConnected): Check if getImpl() returns null.
4844
4845 2004-07-17  Mark Wielaard  <mark@klomp.org>
4846
4847         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4848         on notifier object before calling notifyAll().
4849
4850 2004-07-17  Michael Koch  <konqueror@gmx.de>
4851
4852         * gnu/java/nio/channels/FileChannelImpl.java
4853         (finalize): Added javadoc.
4854
4855 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4856
4857         * java/text/CollationElementIterator.java
4858         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4859         (setText): Use ArrayList instead of Vector.
4860
4861 2004-07-17  Michael Koch  <konqueror@gmx.de>
4862
4863         * java/nio/ByteOrder.java
4864         (static): Removed. Not needed.
4865         Thanks to Patrick Reali for noticing.
4866         * java/nio/charset/CharsetDecoder.java
4867         (decode): Fix for classpath bug #9177: Reset state before flipping.
4868
4869 2004-07-17  Michael Koch  <konqueror@gmx.de>
4870
4871         * java/security/Security.java: Fixed javadocs all over.
4872
4873 2004-07-17  Michael Koch  <konqueror@gmx.de>
4874
4875         * gnu/java/awt/EmbeddedWindow.java
4876         (static): Removed.
4877         (addNotify): Set peer via reflection.
4878         (setWindowPeer): Removed.
4879         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4880         * Makefile.am (nat_source_files):
4881         Removed gnu/java/awt/natEmbeddedWindow.cc.
4882         * Makefile.in: Regenerated.
4883
4884 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4885
4886         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4887         assignment.
4888         * configure: Regenerated.
4889
4890 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4891
4892         * configure.in: Use build_noncanonical rather than build_alias.
4893         * configure: Rebuild.
4894
4895         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4896         by logic refactoring.  Move default definition of NATIVE closer
4897         to first alternate definition.
4898         * configure: Regenerate.
4899
4900         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4901         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4902         gcj/Makefile.in: Regenerate.
4903         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4904         in AM_CONDITIONAL(NATIVE,...)
4905         * configure: Regenerate.
4906
4907 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4908
4909         * configure.in: Use target_noncanonical rather than
4910         target_alias for forward-compatibility with autoconf 2.59.
4911         * configure: Regenerate.
4912         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4913         testsuite/Makefile.am: Substitute target_noncanonical.
4914         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4915         testsuite/Makefile.in: Regenerate.
4916
4917         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4918         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4919         * acinclude.m4: Include acx.m4.
4920         * aclocal.m4: Regenerate.
4921         * configure: Regenerate.
4922
4923 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4924
4925         PR libgcj/16574
4926         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4927         (decimalFormat): New static variable.
4928         (sbuf): Likewise.
4929         (getTime): New. Override Date.getTime().
4930         (toString): Synchronize. Use decimalFormat to format nanos value
4931         correctly. Truncate extra zeros.
4932         (before): Compare getNanos() only if getTime() is equal.
4933         (after): Likewise.
4934         
4935 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4936
4937         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4938         * configure.in: ...here.
4939         * aclocal.m4: Regenerate.
4940         * configure: Regenerate.
4941
4942         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4943         * configure: Rebuilt with autoconf 2.13.
4944         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4945         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4946
4947 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4948
4949         PR libgcj/16204
4950         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4951         large file support.
4952         * Makefile.in: Rebuilt.
4953         * testsuite/libjava.lang/LargeFile.java: New test case.
4954         * testsuite/libjava.lang/LargeFile.out: New file.
4955
4956 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4957
4958         * java/beans/EventHandler.java: Remove debugging statements.
4959
4960 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4961
4962         * java/beans/EventHandler.java: New file.
4963         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4964         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4965         testsuite/Makefile.in: Regenerate.
4966
4967 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4968
4969         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4970         flag to the gcj_setup.
4971         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4972         the tclsh.
4973         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4974         deprecation flag change. 58 XFAILS removed.
4975
4976 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4977
4978         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4979         -fno-use-divide-subroutine.
4980         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4981         (HANDLE_FPE): Define.
4982         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4983         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4984         (HANDLE_DIVIDE_OVERFLOW): Define.
4985
4986 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4987             Matthias Klose  <doko@debian.org> 
4988
4989         * java/awt/im/InputContext.java: Initialize in, line.
4990
4991 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4992
4993         * interpret.cc (run): Correctly access libffi return values of
4994         integral smaller-than-int type; these are implicitly promoted.
4995
4996 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4997
4998         PR libgcj/7587
4999         * interpret.cc (compile_mutex): New.
5000         (_Jv_InitInterpreter): New. Initialize compile_mutex.
5001         (run): Lock compile_mutex before calling compile() if compilation is
5002         required.
5003         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5004         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
5005
5006 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
5007
5008         PR libgcj/15713
5009         * include/jvm.h (_Jv_value): New union type.
5010         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5011         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5012         union members.
5013
5014 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5015
5016         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5017         * gnu/awt/xlib/XOffScreenImage.java
5018           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5019           constructor argument. Add constructor using ImageProducer.
5020           (getSource): Implement.
5021           (imageComplete): New method.
5022           (setColorModel): New method.
5023           (setDimensions): New method.
5024           (setHints): New method.
5025           (setPixels): New method.
5026           (setProperties): New method.
5027         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5028         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5029
5030 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5031
5032         PR libgcj/16478 
5033         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5034         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5035         (finalizerReady): Now native.
5036         (run): Likewise.
5037         (runFinalizers): Removed.
5038         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5039         a primitive lock, and don't hold it while running the finalizers.
5040         (runFinalizers): Implement. Don't aquire any Java lock.
5041         (finalizerReady): Use lock primitives to signal finalizer thread.
5042
5043 2004-07-11  Mark Wielaard  <mark@klomp.org>
5044
5045         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5046         * java/net/URLStreamHandler.java (parseURL): When url file part
5047         doesn't contain a '/' just ignore context.
5048
5049 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5050
5051         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5052         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5053         (MAKE_THROW_FRAME): Do not modify PSW address.
5054         (INIT_SEGV): Install SIGINFO-style signal handler.
5055         (INIT_FPE): Likewise.
5056
5057 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5058
5059         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5060         status. 21 xfail's removed, 1 added.
5061
5062 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5063
5064         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5065
5066 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5067
5068         * java/text/MessageFormat.java
5069         (formatInternal): Append "{n}" if argument n is unavailable.
5070         (format(Object, StringBuffer, FieldPosition)): This
5071         should be equivalent to format(Object[],
5072         StringBuffer, FieldPosition).
5073
5074 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5075
5076         * java.util.Calendar.java (cache): New private static field. Cached
5077         mappings of locales->calendar classes.
5078         (ctorArgTypes): New private static field. Singleton argument for
5079         calendar class constructor lookup.
5080         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5081         Optimize by bypassing reflection instantiation for the 
5082         GregorianCalendar case.
5083
5084 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5085
5086         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5087         ResourceBundle.getBundle() calls.
5088         * java/util/GregorianCalendar.java: Likewise.
5089         * java/util/Currency.java: Likewise.
5090         * java/text/BreakIterator.java: Likewise.
5091         * java/text/Collator.java: Likewise.
5092         * java/text/DateFormat.java: Likewise.
5093         * java/text/DateFormatSymbols.java: Likewise.
5094         * java/text/DecimalFormatSymbols.java: Likewise.
5095         * java/text/NumberFormat.java: Likewise.
5096         * java/awt/Window.java: Likewise.       
5097
5098 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5099
5100         * java/util/ResourceBundle.java (bundleCache): Renamed from
5101         resourceBundleCache. Update comments.
5102         (getObject): Don't catch MissingResourceException.
5103         (getBundle(String)): Remove 'final'. Use system classloader if
5104         getCallingClassLoader returned null.
5105         (getBundle(String, Locale)): Likewise.
5106         (BundleKey): New private class. HashMap key for bundle cache lookup.
5107         (lookupKey): New. Singleton instance of BundleKey.
5108         (nullEntry): New. Cache entry to represent failed lookups.
5109         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5110         caching strategy, no-allocation lookup, and new tryBundle methods.
5111         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5112         name using given classloader.
5113         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5114         baseName for given Locale and attempt to load bundle.
5115
5116 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5117
5118         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5119         illegal protected method calls.
5120
5121 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5122
5123         Fix or remove some bogus test cases.
5124         * testsuite/libjava.compile/pr10459_2.java: Removed.
5125         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5126         not Object.clone().
5127         * testsuite/libjava.compile/inner_data.java: Test against its own
5128         protected field.
5129
5130 2004-07-09  Michael Koch  <konqueror@gmx.de>
5131
5132         * scripts/unicode-muncher.pl: Updated to version 2.1
5133         from GNU classpath. Added some clarifications on where to find the
5134         needed files from www.unicode.org.
5135         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5136         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5137         Removed, these can directly be downloaded from www.unicode.org if
5138         needed. 
5139         * gnu/java/lang/CharData.java: Regenerated.
5140         * include/java-chartables.h: Regenerated.
5141         * Makefile.am (ordinary_java_source_files):
5142         Removed gnu/java/lang/CharData.java.
5143         * Makefile.in: Regenerated.
5144
5145 2004-07-09  Michael Koch  <konqueror@gmx.de>
5146
5147         * java/security/AccessControlContext.java,
5148         java/security/SecureClassLoader.java:
5149         Fixed javadocs.
5150
5151 2004-07-09  Michael Koch  <konqueror@gmx.de>
5152
5153         * java/io/ObjectInputStream.java (readFields): Use long datatype
5154         when shifting byte values more then 24 bits left.
5155
5156 2004-07-09  Michael Koch  <konqueror@gmx.de>
5157
5158         * java/util/zip/DeflaterOutputStream.java,
5159         java/util/zip/GZIPInputStream.java,
5160         java/util/zip/GZIPOutputStream.java,
5161         java/util/zip/InflaterInputStream.java:
5162         Reformatted. Added javadocs. Reordered all stuff.
5163         Renamed variables to be more clear.
5164
5165 2004-07-09  Michael Koch  <konqueror@gmx.de>
5166
5167         * javax/imageio/IIOException.java,
5168         javax/imageio/event/IIOReadProgressListener.java,
5169         javax/imageio/event/IIOReadUpdateListener.java,
5170         javax/imageio/event/IIOReadWarningListener.java,
5171         javax/imageio/event/IIOWriteProgressListener.java,
5172         javax/imageio/event/IIOWriteWarningListener.java:
5173         New files.
5174         * Makefile.am: Added new files.
5175         * Makefile.in: Regenerated.
5176
5177 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5178
5179         * java/text/RuleBasedCollator.java
5180         (mergeRules): Use ArrayList instead of Vector.
5181         (subParseString): likewise.
5182         (parseString): likewise.
5183         (buildCollationVector): likewise.
5184         (getCollationKey): likewise.
5185
5186 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5187
5188         * java/text/DateFormat.java (parse):
5189         Improved javadoc. Improved exception message.
5190
5191 2004-07-09  Mark Wielaard  <mark@klomp.org>
5192
5193         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5194         interrupted() method to clear interupt flag of our Thread.
5195
5196 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5197
5198         * java/nio/Buffer.java,
5199         java/nio/ByteBuffer.java,
5200         java/nio/ByteBufferHelper.java,
5201         java/nio/ByteBufferImpl.java,
5202         java/nio/CharBuffer.java,
5203         java/nio/CharBufferImpl.java,
5204         java/nio/CharViewBufferImpl.java,
5205         java/nio/DirectByteBufferImpl.java,
5206         java/nio/DoubleBuffer.java,
5207         java/nio/DoubleBufferImpl.java,
5208         java/nio/DoubleViewBufferImpl.java,
5209         java/nio/FloatBuffer.java,
5210         java/nio/FloatBufferImpl.java,
5211         java/nio/FloatViewBufferImpl.java,
5212         java/nio/IntBuffer.java,
5213         java/nio/IntBufferImpl.java,
5214         java/nio/IntViewBufferImpl.java,
5215         java/nio/LongBuffer.java,
5216         java/nio/LongBufferImpl.java,
5217         java/nio/LongViewBufferImpl.java,
5218         java/nio/MappedByteBufferImpl.java,
5219         java/nio/ShortBuffer.java,
5220         java/nio/ShortBufferImpl.java,
5221         java/nio/ShortViewBufferImpl.java:
5222         Fixed javadocs all over. Improved input error
5223         checking.
5224
5225         * java/nio/Buffer.java
5226         (checkForUnderflow, checkForOverflow, checkIndex,
5227         checkIfReadOnly, checkArraySize): New helper methods
5228         for error checking.
5229
5230         * java/nio/ByteBufferHelper.java
5231         (checkRemainingForRead, checkRemainingForWrite,
5232         checkAvailableForRead, checkAvailableForWrite): Removed
5233         no longer needed methods.
5234
5235 2004-07-09  Michael Koch  <konqueror@gmx.de>
5236
5237         * gnu/regexp/CharIndexedInputStream.java:
5238         Reordered imports to match classpath.
5239
5240 2004-07-09  Michael Koch  <konqueror@gmx.de>
5241
5242         * gnu/java/awt/EmbeddedWindow.java:
5243         Load native library for setWindowPeer method.
5244
5245 2004-07-08  Randolph Chung  <tausq@debian.org>
5246
5247         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5248         * configure: Regenerate.
5249         * configure.host: Set can_unwind_signal for hppa*-linux.
5250         * include/pa-signal.h: New file.
5251
5252 2004-07-07  Per Bothner  <per@bothner.com>
5253
5254         * Makefile.am:  Add rules to build libgij from just gij.cc.
5255
5256         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5257         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5258         (initializeClass):  If verbose_class_flag, print message.
5259         * gij.cc (main):  Handle -verbose:class flag.
5260
5261 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5262
5263         * configure.host: Enable hash synchronization on Darwin.
5264         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5265         ';', since this is a comment on Darwin.
5266         (compare_and_swap_release): Likewise.
5267
5268 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5269
5270         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5271         file portion of URL in addition to spec for file: protocol.
5272
5273 2004-07-05  Anthony Green  <green@redhat.com>
5274
5275         * java/io/File.java (toURI): Merge from Classpath.
5276
5277 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5278
5279         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5280         before passing to URL constructor. Rethrow any MalformedURLException
5281         as a RuntimeException. Catch MalformedURLException specifically, not
5282         all exceptions.
5283
5284 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5285
5286         * java/util/Locale.java (readObject): Intern strings read from object
5287         stream.
5288
5289 2004-07-04  Michael Koch  <konqueror@gmx.de>
5290
5291         * gnu/gcj/runtime/FirstThread.java,
5292         gnu/gcj/runtime/natFirstThread.cc: Removed.
5293         * gnu/java/lang/MainThread.java,
5294         gnu/java/lang/natMainThread.cc: New files.
5295         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5296         * Makefile.am: Added new files and removed deleted ones.
5297         * Makefile.in: Regenerated.
5298
5299 2004-07-03  Mark Wielaard  <mark@klomp.org>
5300             Anthony Green  <green@redhat.com>
5301
5302         * java/net/URL.java (getFile): Clarify return value doc.
5303         (getPath): Return null if file is empty - not empty String.
5304         (set): Convert protocol to lower case before doing anything.
5305         Only change the protocol handler if it's different.
5306
5307 2004-07-03  Anthony Green  <green@redhat.com>
5308
5309         * java/net/URL.java (URL): Convert protocol to lower case before
5310         doing anything, so we getURLStreamHandler() with the proper value.
5311
5312 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5313
5314         * java/util/Locale.java (hashcode): Made transient.
5315         (hashCode): No longer synchronized.
5316         (equals): Remove comment.
5317         (writeObject): No longer synchronized. Implement using writeObject 
5318         calls instead of tweaking hashCode field. Update doc.
5319         (readObject): Implement using readObject calls.
5320
5321 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5322             Andreas Tobler  <a.tobler@schweiz.ch>
5323
5324         * configure.host (powerpc-*-darwin*): New case, define
5325         can_unwind_signal.
5326         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5327         * configure: Regenerate.
5328         * include/darwin-signal.h: New.
5329
5330 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5331
5332         * java/beans/Statement.java (doExecute): Fix formatting.
5333
5334 2004-06-29  Per Bothner  <per@bothner.com>
5335
5336         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5337         etc etc):  Remove needless parenthesis, which causes __stdcall__
5338         attribute on MinGW to get ignored.
5339
5340 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5341
5342         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5343
5344 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5345
5346         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5347
5348 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5349
5350         * java/beans/Expression.java: New file.
5351         * java/beans/Statement.java: New file.
5352         * Makefile.am: Added new files.
5353         * Makefile.in: Re-generate.
5354
5355 2004-06-27 Mark Wielaard  <mark@klomp.org>
5356
5357         * java/io/FilePermission.java (usingPerms): Removed.
5358         (actionsString): Made final.
5359         (cachePerms): Renamed to checkPerms.
5360         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5361         on action String.
5362         (FilePermission): Check arguments, call checkPerms().
5363         (equals): Remove cachePerms() call.
5364         (implies): Likewise.
5365
5366 2004-06-27  Mark Wielaard  <mark@klomp.org>
5367
5368         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5369         final field.
5370         (sendRequest): Use new field in user-agent http agent.
5371
5372 2004-06-27  Mark Wielaard  <mark@klomp.org>
5373
5374         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5375         when argument is null.
5376
5377 2004-06-26  Mark Wielaard  <mark@klomp.org>
5378
5379         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5380         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5381         GetMethodID call.
5382         (cancel_clicked): Likewise.
5383
5384 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5385
5386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5387         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5388         can not calculate the right value.
5389         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5390
5391 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5392
5393         * testsuite/libjava.jacks/jacks.xfail: Remove
5394         15.9.1-qualified-concrete-20.
5395
5396 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5397
5398         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5399         encoding name to iconv.
5400         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5401
5402 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5403
5404         PR libgcj/16134:
5405         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5406         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5407         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5408
5409 2004-06-21  Andrew Haley  <aph@redhat.com>
5410
5411         * java/io/ObjectOutputStream.java: Add DEBUG statements
5412         everywhere.
5413         (dumpElementln): New method.
5414         (depth): New field.
5415         * java/io/ObjectInputStream.java
5416         (currentClassLoader): Make native.
5417         (callersClassLoader): New field.
5418         (depth): New field.
5419         (readObject): ENDBLOCKDATA is generated if the class has a write
5420         method, not if it has a read method.
5421         (readObject): Save and restore this.currentObject and
5422         this.currentObjectStreamClass around calls to callReadMethod().
5423         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5424         method.
5425
5426 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5427
5428         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5429         darwin.
5430
5431 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5432
5433         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5434         if desired, before the default class loader is initialised.
5435         Call INIT_SEGV only if HANDLE_SEGV is defined.
5436
5437 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5438
5439         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5440         directory only if it actually exists.
5441
5442 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5443
5444         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5445         Fix up non-ansi comments.
5446
5447 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5448
5449         * javax/swing/text/AbstractDocument.java: Adding missing import
5450         for javax.swing.event.EventListenerList.
5451         * javax/swing/text/DefaultCaret.java: Likewise.
5452
5453 2004-06-17  Michael Koch  <konqueror@gmx.de>
5454
5455         * javax/swing/JToolBar.java
5456         (name): Removed.
5457         (JToolBar): Use Component.setName(String) instead of doing it all
5458         alone.
5459         * javax/swing/Timer.java
5460         (queueEvent): Added missing modifier.
5461
5462 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5463
5464         * Makefile.am: Added new file.
5465         * Makefile.in: Re-generate.
5466         * javax/swing/JMenu.java:
5467         (insertSeparator): Implemented.
5468         * javax/swing/JPopupMenu.java:
5469         (JPopupMenu.Separator): Implemented.
5470         * javax/swing/MenuSelectionManager.java:
5471         (processMouseEvent): Use java.awt.Component 
5472         for event source instead of javax.swing.JComponent. 
5473         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5474         New File. Implemented.
5475         
5476 2004-06-16  David Jee  <djee@redhat.com>
5477
5478         * java/awt/GridBagLayout.java
5479         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5480         Make sure pos_x and pos_y are never negative.
5481
5482 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5483
5484         * Makefile.am: Add new file.
5485         * Makefile.in: Re-generate.     
5486         * javax/swing/JToolBar.java
5487         Partially implemented.
5488         * javax/swing/plaf/basic/BasicToolBarUI.java
5489         New file. Partially implemented.
5490
5491 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5492
5493         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5494         (setComposite): Accept AlphaComposite arguments.
5495         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5496         (createBufferedImage): Add new overloads.
5497         * gnu/java/awt/peer/gtk/GtkToolkit.java
5498         (createImage): Use GdkPixbufDecoder.createBufferedImage
5499         when useGraphics2D() is true.
5500         (getImage): Delegate to createImage.
5501         * javax/swing/JList.java
5502         (isSelectionEmpty):
5503         (getFirstVisibleIndex):
5504         (getLastVisibleIndex):
5505         (setSelectedValue):
5506         (ensureIndexIsVisible): New methods.
5507         * javax/swing/Timer.java: Reimplement.
5508
5509 2004-06-16  Michael Koch  <konqueror@gmx.de>
5510
5511         * javax/swing/text/AbstractDocument.java
5512         (AbstracElement): Made public, implements java.io.Serializable.
5513         (AttributeContext): Made public.
5514         (BranchElement): Likewise.
5515         (Content): Likewise.
5516         (DefaultDocumentEvent): Made public, extends
5517         javax.swing.undo.CompoundEdit.
5518         (ElementEdit): Made public, extends
5519         javax.swing.undo.AbstractUndoableEdit.
5520         (LeafElement): Made public.
5521         (LeafElement.LeafElement): Made public.
5522
5523 2004-06-16  Michael Koch  <konqueror@gmx.de>
5524
5525         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5526         methods (that were obviously never be intended to get included hi this
5527         class. Added some methods too.
5528
5529 2004-06-16  Michael Koch  <konqueror@gmx.de>
5530
5531         * javax/swing/text/PlainDocument.java
5532         (serialVersionUID): New constant.
5533         (lineLimitAttribute): Likewise.
5534         (tabSizeAttribute): Likewise.
5535         (tabSize): New field.
5536         (PlainDocument): Made public.
5537         (PlainDocument): New constructor.
5538
5539 2004-06-16  Michael Koch  <konqueror@gmx.de>
5540
5541         * javax/swing/text/AbstractDocument.java
5542         (insertString): Throws BadLocationException.
5543         * javax/swing/text/Document.java
5544         (insertString): Likewise.
5545         * javax/swing/text/JTextComponent.java:
5546         Javadocs and comments cleaned up.
5547
5548 2004-06-16  Michael Koch  <konqueror@gmx.de>
5549
5550         * javax/swing/event/UndoableEditListener.java: Reformatted.
5551         * javax/swing/text/AbstractDocument.java
5552         (AbstractDocument): Implements java.io.Serializable.
5553         (doc_list): Removed.
5554         (undo_list): Removed.
5555         (AbstractElement.serialVerionUID): New field.
5556         (BranchElement.serialVerionUID): Likewise.
5557         (DefaultDocumentEvent.serialVerionUID): Likewise.
5558         (ElementEdit.serialVerionUID): Likewise.
5559         (LeafElement.serialVerionUID): Likewise.
5560         (serialVerionUID): Likewise.
5561         (BAD_LOCATION): New constant.
5562         (BidiElementName): Likewise.
5563         (ContentElementName): Likewise.
5564         (ParagraphElementName): Likewise.
5565         (SectionElementName): Likewise.
5566         (ElementNameAttribute): Likewise.
5567         (AbstractDocument): Made protected.
5568         (AbstractDocument): New construtor.
5569         (listenerList): New field.
5570         (fireChangedUpdate): Implemented.
5571         (fireInsertUpdate): Likewise.
5572         (fireRemoveUpdate): Likewise.
5573         (fireUndoableEditUpdate): Likewise.
5574         (getListeners): Likewise.
5575         (addDocumentListener): Likewise.
5576         (removeDocumentListener): Likewise.
5577         (addUndoableEditListener): Likewise.
5578         (removeUndoableEditListener): Likewise.
5579         (getDocumentListeners): New method.
5580         (getUndoableEditListeners): Likewise.
5581         (getAsynchronousLoadPriority): Made public.
5582         (getBidiRootElement): Likewise.
5583         (setAsynchronousLoadPriority): Likewise.
5584         (setDocumentProperties): Likewise.
5585         * javax/swing/text/BadLocationException.java
5586         (serialVerionUID): New field.
5587         * javax/swing/text/DefaultCaret.java
5588         (changeEvent): New field.
5589         (listenerList): Likewise.
5590         (changes): Removed.
5591         (addChangeListener): Reimplemented.
5592         (removeChangeListener): Likewise.
5593         (getListeners): New method.
5594         (getChangeListeners): Likwise.
5595         (getComponent): Likewise.
5596         * javax/swing/text/GapContent.java
5597         (GapContent): Implements java.io.Serializable.
5598         (serialVerionUID): New field.
5599
5600 2004-06-16  Michael Koch  <konqueror@gmx.de>
5601
5602         * javax/swing/JTree.java
5603         (treeModel): New field.
5604         (JTree): New constructors, one existing one made public.
5605         (createTreeModel): New method.
5606         (addTreeExpansionListener): Likewise.
5607         (removeTreeExpansionListener): Likewise.
5608         (getTreeExpansionListeners): Likewise.
5609         (fireTreeCollapsed): Likewise.
5610         (fireTreeExpanded): Likewise.
5611         (addTreeSelectionListener): Likewise.
5612         (removeTreeSelectionListener): Likewise.
5613         (getTreeSelectionListeners): Likewise.
5614         (fireValueChanged): Likewise.
5615         (addTreeWillExpandListener): Likewise.
5616         (removeTreeWillExpandListener): Likewise.
5617         (getTreeWillExpandListeners): Likewise.
5618         (fireTreeWillCollapse): Likewise.
5619         (fireTreeWillExpand): Likewise.
5620
5621 2004-06-16  Michael Koch  <konqueror@gmx.de>
5622
5623         * javax/swing/JTree.java: Reformatted.
5624
5625 2004-06-16  Michael Koch  <konqueror@gmx.de>
5626
5627         * javax/swing/JTextArea.java: New file.
5628         * javax/swing/JTextField.java
5629         (actions): Removed.
5630         (notifyAction): New constant.
5631         (columns): New field.
5632         (JTextField): New constructors.
5633         (createDefaultModel): New method.
5634         (addActionListener): Reimplmemented.
5635         (removeActionListener): Reimplemented.
5636         (getActionListeners): New method.
5637         (fireActionPerformed): New method.
5638         (getColumns): New method.
5639         (setColumne): New method.
5640         * javax/swing/text/JTextComponent.java
5641         (AccessibleJTextComponent.serialVersionUID): New field.
5642         (serialVersionUID): Likewise.
5643         (DEFAULT_KEYMAP): Likewise.
5644         (FOCUS_ACCELERATOR_KEY): Likewise.
5645         (doc): Made private.
5646         (icon_gap): Likewise.
5647         (icon): Likewise.
5648         (align): Likewise.
5649         (JTextComponent): Some constructors removed.
5650         (getScrollableTracksViewportHeight): New method.
5651         (getScrollableTracksViewportWidth): Likewise.
5652         * Makefile.am: Added javax/swing/JTextArea.java.
5653         * Makefile.in: Regenerated.
5654
5655 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5656
5657         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5658         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5659         * javax/swing/JViewport.java 
5660         (getExtentSize): Return size rather than preferred size.
5661         (toViewCoordinates): New methods.
5662         (getViewSize): Return size rather than preferred size.
5663         (setViewSize): Note view size as set.
5664         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5665         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5666         (getPreferredSize): Don't redo layout.
5667         * javax/swing/plaf/basic/BasicViewportUI.java 
5668         (paint): Translate image properly and eat exceptions.
5669
5670 2004-06-15  Kim Ho  <kho@redhat.com>
5671
5672         * javax/swing/JTabbedPane.java
5673         (setComponent): Remove old component and
5674         add new component.
5675         (setSelectedIndex): Don't operate on the 
5676         components if they're null. Don't set index
5677         on the model if the index is the same.
5678         (insertTab): Don't add or hide the component
5679         if it's null. Repaint the container.
5680         * javax/swing/plaf/basic/BasicLookAndFeel.java
5681         Change colors for TabbedPane.
5682         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5683         (mousePressed): Re-layout and paint the component.
5684         (layoutContainer): Don't set location on the view.
5685         (ScrollingViewport::paint): Remove.
5686
5687 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5688
5689         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5690         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5691
5692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5693         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5694         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5695         critical region.
5696         (drawLine): Call gdk_flush before leaving GDK critical region.
5697         (fillRect): Likewise.
5698         (drawRect): Likewise.
5699         (copyArea): Likewise.
5700         (copyPixmap): Likewise.
5701         (clearRect): Likewise.
5702         (drawArc): Likewise.
5703         (drawPolyline): Likewise.
5704         (drawPolygon): Likewise.
5705         (fillPolygon): Likewise.
5706         (fillArc): Likewise.
5707         (drawOval): Likewise.
5708         (fillOval): Likewise.
5709
5710         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5711         style parameter.
5712         (GdkFontMetrics): Add style argument to initState call.
5713         (stringWidth(String,int,int,String)): Add style parameter.
5714         (stringWidth(String)): Add style argument to stringWidth call.
5715         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5716         (initState): Set pango font style and weight based on AWT style
5717         parameter.  Pass default GTK language to
5718         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5719         simply dividing by PANGO_SCALE.
5720         (stringWidth): Set pango font style and weight based on AWT style
5721         parameter.
5722
5723         * java/awt/Button.java (next_button_number): New field.
5724         (paramString): Change output.
5725         (generateName): New method.
5726         (getUniqueLong): New method.
5727
5728 2004-06-14  Kim Ho  <kho@redhat.com>
5729
5730         * javax/swing/JTabbedPane.java:
5731         (setComponentAt): Set the component, not
5732         the enabled status.
5733         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5734         (actionPerformed): Let deiconize catch exception.
5735
5736 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5737
5738         * javax/swing/JPopupMenu.java:
5739         (setVisible): Corrected location of a 
5740         heavyweight popup menu.
5741
5742 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5743
5744         * javax/swing/MenuSelectionManager.java: 
5745         Ran through jalopy to fix formatting style.
5746
5747 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5748         
5749         * javax/swing/JLayeredPane.java: 
5750         (remove): Revalidate and repaint layered pane after
5751         the component was removed.
5752         javax/swing/JMenu.java:
5753         (setVisible): Display popup menu at the user location,
5754         if one was set by the user.
5755         (setMenuLocation): Reimplemented. Fixed javadoc.
5756         * javax/swing/JMenuBar.java: Added javadoc.
5757         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5758         (MODEL_CHANGED_PROPERTY): New Property.
5759         (isSelected): Implemented.
5760         (setBorderPainted): Fire PropertyChangeEvent
5761         if paintBorder property changes.
5762         (setSelected): Implemented.
5763         (setSelectionModel): Implemented.
5764         * javax/swing/JPopupMenu.java: Added Javadoc
5765         (pack): Implemented.
5766         (setVisible): Reimplemented.
5767         (show): Fixed location.
5768         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5769         Container instead of JPanel.
5770         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5771         (clearSelectedPath): Reimplemented to clear selectedPath
5772         in reverse order.
5773         (processMouseEvent): Reimplemented.
5774         (setSelectedPath): Fire stateChange event indicating that
5775         selected menu path has changed.
5776         (getPath): Change to use ArrayList instead of Vector.
5777         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5778         (installUI): call installKeyboardActions().
5779         (uninstallUI): call uninstallKeyboardActions().
5780
5781 2004-06-13  Michael Koch  <konqueror@gmx.de>
5782
5783         * javax/swing/text/DefaultCaret.java,
5784         javax/swing/text/BadLocationException.java:
5785         Reformatted.
5786
5787 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5788
5789         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5790         DEFAULT_COLS): New variables.
5791         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5792         values to DEFAULT_ROWS or DEFAULT_COLS.
5793         (getMinimumSize): Likewise.
5794         (getPreferredSize): Likewise.
5795         (minimumSize): Likewise.
5796         (preferredSize): Likewise.
5797         (create): Set peer's editable state.
5798         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5799         zero.  Update javadocs.
5800         (TextArea(String)): Likewise.
5801         (TextArea(int,int)): Fix javadocs.
5802         (TextArea(String,int,int,int)): Only throw exception if one of
5803         rows or columns is zero.  Fix javadocs.
5804
5805 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5806
5807         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5808         addition to Components.
5809
5810         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5811         wasn't consumed by normal processing, send it to the parent
5812         menu.
5813
5814         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5815         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5816         translation.
5817
5818 2004-06-11  David Jee  <djee@redhat.com>
5819
5820         * java/awt/MediaTracker.java
5821         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5822         (addImage(Image,int,int,int)): Likewise.
5823
5824 2004-06-11  Michael Koch  <konqueror@gmx.de>
5825
5826         * javax/swing/text/AbstractDocument.java,
5827         javax/swing/text/Document.java,
5828         javax/swing/text/GapContent.java,
5829         javax/swing/text/JTextComponent.java,
5830         javax/swing/text/PlainDocument.java:
5831         Reformatted.
5832
5833 2004-06-11  Michael Koch  <konqueror@gmx.de>
5834
5835         * javax/swing/JRootPane.java
5836         (AccessibleJRootPane.serialVersionUID): New field.
5837         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5838         (AccessibleJRootPane.getAccessibleRole): New method.
5839         (RootLayout): Implements Serializable.
5840         (RootLayout.serialVersionUID): New field.
5841         (RootLayout.RootLayout): New constructor.
5842         (setJMenuBar): Made public.
5843         (getJMenuBar): Likewise.
5844         (JRootPane): Likewise.
5845         (createContentPane): Likewise.
5846         (createGlassPane): Likewise.
5847         (createLayeredPane): Likewise.
5848
5849 2004-06-11  Michael Koch  <konqueror@gmx.de>
5850
5851         * javax/swing/SwingUtilities.java
5852         (isLeftMouseButton): Fixed javadoc.
5853         (isMiddleMouseButton): Likewise.
5854         (isRightMouseButton): Likewise.
5855
5856 2004-06-11  Michael Koch  <konqueror@gmx.de>
5857
5858         * javax/swing/JScrollPane.java
5859         (serialVersionUID): New field.
5860         (columnHeader): Made protected.
5861         (rowHeader): Likewise.
5862         (lowerLeft): Likewise.
5863         (lowerRight): Likewise.
5864         (upperLeft): Likewise.
5865         (upperRight): Likewise.
5866         (horizontalScrollBar): Likewise.
5867         (horizontalScrollBarPolicy): Likewise.
5868         (verticalScrollBar): Likewise.
5869         (verticalScrollBarPolicy): Likewise.
5870         (viewport): Likewise.
5871
5872 2004-06-11  Michael Koch  <konqueror@gmx.de>
5873
5874         * javax/swing/LookAndFeel.java: Fixed javadocs.
5875
5876 2004-06-11  Michael Koch  <konqueror@gmx.de>
5877
5878         * javax/swing/JEditorPane.java: Fixed javadocs.
5879         (JEditorPane): Removed redundant call to to this().
5880         (fireHyperlinkUpdate): Implemented.
5881
5882 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5883
5884         * javax/swing/JMenu.java: Fixed file name 
5885         in the file comment.
5886
5887 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5888
5889         * javax/swing/JMenu.java: Added javadoc.
5890         (JMenu): Added MenuChangeListener to listen to 
5891         ChangeEvents occuring in menu's model. 
5892         (insert): Throw IllegalArgumentException if 
5893         index is less than 0
5894         (setSelected): Reimplement.
5895         (setPopupMenuVisible): Call menu's model isEnabled()
5896         (setDelay): Throw IllegalArgumentException if 
5897         given amount of delay is less than 0.
5898         (createActionComponent): Implemented.
5899         (createActionChangeListener): Implemented.
5900         (addSeparator): Implemented.
5901         (getItem): Throw IllegalArgumentException if index is 
5902         less than 0.
5903         (getItemCount): Implemented.
5904         (fireMenuSelected): Changed to use menuEvent.
5905         (fireMenuDeselected): Likewise.
5906         (fireMenuCanceled): Likewise.
5907         (setAccelerator): Changed to throw an error if this 
5908         method is used. 
5909         (doClick): Implemented.
5910         (JMenu.ActionChangedListener): New inner class to handle
5911         PropertyChangeEvents occuring in the actions associated with menu.
5912         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5913         (BasicMenuUI): Added PropertyChangeListener to the menu.
5914         (createChangeListener): Implemented.
5915         (createMenuDragMouseListener): Likewise.
5916         (createMenuKeyListener): Likewise.
5917         (createPropertyChangeListener): Likewise.
5918         (uninstallListeners): Likewise.
5919         (BasicMenuUI.MouseInputHandler): Reimplemented.
5920         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5921         (BasicMenuUI.ChangeHandler): Likewise.
5922         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5923         (BasicMenuUI.MenuKeyHandler): Likewise.
5924
5925 2004-06-10  David Jee  <djee@redhat.com>
5926
5927         * java/awt/MediaTracker.java
5928         (imageUpdate): Only do notifyAll() if the image is complete.
5929
5930 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5931
5932         * javax/swing/JApplet.java:
5933         (getJMenuBar): Made public.
5934         (setJMenuBar): Likewise.
5935         * javax/swing/JFrame.java:
5936         (getJMenuBar): Made public.
5937         (setJMenuBar): Likewise.
5938         * javax/swing/JWindow.java:
5939         (getJMenuBar): Removed.
5940         (setJMenuBar): Removed.
5941
5942 2004-06-10  Michael Koch  <konqueror@gmx.de>
5943
5944         * javax/swing/JEditorPane.java
5945         (createEditorKitForContentType): Fixed visibility.
5946         (fireHyperlinkUpdate): Likewise.
5947         (getContentType): Likewise.
5948         (getEditorKit): Likewise.
5949         (getEditorKitForContentType): Likewise.
5950         (getPage): Likewise.
5951         (read): Likewise.
5952         (registerEditorKitForContentTyoe): Likewise.
5953         (replaceSelection): Likewise.
5954         (setContentType): Likewise.
5955         (setEditorKit): Likewise.
5956         (setPage): Likewise.
5957
5958 2004-06-10  Michael Koch  <konqueror@gmx.de>
5959
5960         * javax/swing/Timer.java
5961         (Timer): New constructor.
5962         * javax/swing/plaf/basic/BasicProgressBarUI.java
5963         (animationTimer): Don't initialize at construction.
5964         (startAnimationTimer): Added since tag.
5965         (stopAnimationTimer): Likewise.
5966         (installUI): Use new Timer constructor.
5967         * javax/swing/plaf/basic/BasicScrollBarUI.java
5968         (installUI): Likewise.
5969         * javax/swing/plaf/basic/BasicSliderUI.java
5970         (installUI): Likewise.
5971
5972 2004-06-10  Michael Koch  <konqueror@gmx.de>
5973
5974         * javax/swing/ButtonGroup.java
5975         (serialVersionUID): Made private.
5976         (buttons): Renamed from v, added javadoc.
5977         (sel): Added javadoc.
5978         (ButtonGroup): Likewise.
5979         (add): Likewise.
5980         (remove): Likewise.
5981         (getElements): Likewise.
5982         (getSelection): Likewise.
5983         (setSelected): Likewise.
5984         (isSelected): Likewise.
5985         (getButtonCount): Likewise.
5986
5987 2004-06-10  Michael Koch  <konqueror@gmx.de>
5988
5989         * javax/swing/ButtonGroup.java,
5990         javax/swing/ImageIcon.java,
5991         javax/swing/JEditorPane.java,
5992         javax/swing/JRootPane.java,
5993         javax/swing/JTextField.java,
5994         javax/swing/LookAndFeel.java,
5995         javax/swing/plaf/basic/BasicTextUI.java:
5996         Reindented.
5997
5998 2004-06-10  Michael Koch  <konqueror@gmx.de>
5999
6000         * javax/swing/text/Style.java: Added javadocs.
6001
6002 2004-06-10  Michael Koch  <konqueror@gmx.de>
6003
6004         * javax/swing/JComponent.java
6005         (fireVetoableChange): Removed redundant cast.
6006         * javax/swing/JLabel.java
6007         (getDisabledIcon): Save icon for next call.
6008
6009 2004-06-10  Michael Koch  <konqueror@gmx.de>
6010
6011         * javax/swing/KeyStroke.java
6012         (getKeyStroke(char,boolean)): Marked deprecated.
6013
6014 2004-06-10  Michael Koch  <konqueror@gmx.de>
6015
6016         * javax/swing/DefaultCellEditor.java,
6017         javax/swing/GrayFilter.java,
6018         javax/swing/event/DocumentEvent.java,
6019         javax/swing/text/JTextComponent.java,
6020         javax/swing/text/MutableAttributeSet.java:
6021         Reindented.
6022
6023 2004-06-10  Michael Koch  <konqueror@gmx.de>
6024
6025         * javax/swing/plaf/BorderUIResource.java:
6026         Added serialVersionUID all over.
6027
6028 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6029
6030         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6031
6032 2004-06-10  Michael Koch  <konqueror@gmx.de>
6033
6034         * javax/swing/table/DefaultTableCellRenderer.java
6035         (noFocusBorder): Initialize directly.
6036
6037 2004-06-10  Michael Koch  <konqueror@gmx.de>
6038
6039         * javax/swing/plaf/basic/BasicArrowButton.java
6040         (setDirection): Use method argument.
6041
6042 2004-06-10  Michael Koch  <konqueror@gmx.de>
6043
6044         * javax/swing/plaf/BorderUIResource.java,
6045         javax/swing/plaf/ComponentUI.java,
6046         javax/swing/undo/CompoundEdit.java,
6047         javax/swing/undo/StateEdit.java:
6048         Fixed javadocs all over.
6049
6050 2004-06-10  Michael Koch  <konqueror@gmx.de>
6051
6052         * javax/swing/DefaultButtonModel.java
6053         (ARMED): Made public final, fixed value.
6054         (ENABLED): Likewise.
6055         (PRESSED): Likewise.
6056         (ROLLOVER): Likewise.
6057         (SELECTED): Likewise.
6058         (stateMask): Initialize directly.
6059         (listenerList): Likewise.
6060         (mnemonic): Likewise.
6061         (fireStateChanged): Removed argument, use changeEvent as event.
6062         All places where this method is called are fixed too.
6063         (getActionCommant): Fixed javadoc.
6064         (setGroup): Fixed javadoc.
6065         (getGroup): New method.
6066
6067 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6068
6069         * javax/swing/AbstractButton.java
6070         (AbstractButton): Use init() to initialize the button.
6071         (init): New Method. Initializes AbstractButton.
6072         * javax/swing/JMenuItem.java: Documented.
6073         (JMenuItem): Reimplemented.
6074         (init): Implemented.
6075         (setEnabled): Changed to call super.setEnabled()
6076         (processMouseEvent): Reimplemented.
6077         (fireMenuKeyPressed): Implemented.
6078         (fireMenuKeyReleased): Implemented.
6079         (fireMenuKeyTyped): Implemented.
6080         (menuSelectionChanged): disarm the model if the menu item was
6081         deselected.
6082         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6083         (getPath): Change to use ArrayList instead of Vector.
6084         (getPreferredSize): Renamed variable.
6085         (paintMenuItem): Paint margin area of menu item.
6086         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6087         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6088         menu item's bounds before clearing the selection.       
6089
6090 2004-06-09  David Jee  <djee@redhat.com>
6091
6092         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6093         (GtkTextComponentPeer): Set caret position to 0.
6094         * java/awt/TextComponent.java
6095         (setText): Set caret position to 0.
6096         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6097         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6098         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6099         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6100         Likewise.
6101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6102         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6103         visible.
6104
6105 2004-06-09  Kim Ho  <kho@redhat.com>
6106
6107         * Makefile.am: New files
6108         * Makefile.in: Regenerated
6109         * java/awt/Container.java
6110         (getComponentAt): Removed.
6111         * javax/swing/AbstractAction.java
6112         (ENABLED_PROPERTY): New property.
6113         (putValue): Fire PropertyChangeEvents.
6114         (setEnabled): ditto.
6115         (firePropertyChange): Javadoc and implement
6116         convenience method.
6117         * javax/swing/AbstractButton.java
6118         (setAction): Don't create PropertyChangeListener
6119         if new Action is null.
6120         (setIcon): Don't set icon till after comparing
6121         it.
6122         (configurePropertiesFromAction): Check mnemonic
6123         key before calling intValue().
6124         (createActionPropertyChangeListener): Check
6125         properties rather than bulk change.
6126         * javax/swing/DefaultDesktopManager.java:
6127         Implement.
6128         * javax/swing/DesktopManager.java:
6129         Jalopy and javadoc.
6130         * javax/swing/JComponent.java
6131         (fireVetoableChange): Implement.
6132         (paintImmediately): Use root component.
6133         * javax/swing/JDesktopPane.java: Implement
6134         * javax/swing/JInternalFrame.java: Implement
6135         * javax/swing/JLabel.java
6136         (getDisabledIcon): Return grayscaled icon if
6137         no disabled icon specified.
6138         * javax/swing/JMenuBar.java
6139         (getComponentAtIndex): Use getComponent
6140         * javax/swing/JOptionPane.java
6141         (getDesktopPaneForComponent): Use SwingUtilities'
6142         getAncestorOfClass
6143         (getFrameForComponent): ditto.
6144         * javax/swing/JSplitPane.java
6145         (remove): Use getComponent.
6146         * javax/swing/SwingUtilities.java
6147         (convertPoint): Implement.
6148         * javax/swing/plaf/basic/BasicButtonUI.java
6149         (paintButtonNormal): Check opaqueness before
6150         filling background.
6151         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6152         Implement
6153         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6154         Implement.
6155         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6156         Implement.
6157         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6158         Implement.
6159         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6160         Change InternalFrame and Desktop colors.
6161
6162 2004-06-09  David Jee  <djee@redhat.com>
6163
6164         * java/awt/Container.java
6165         (remove): Do not set component to invisible.
6166
6167 2004-06-09  Michael Koch  <konqueror@gmx.de>
6168
6169         * javax/swing/tree/DefaultMutableTreeNode.java
6170         (getLeafCount): Renamed enum to e.
6171
6172 2004-06-09  Michael Koch  <konqueror@gmx.de>
6173
6174         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6175         (positionForMouseEvent): Removed redundant semicolon.
6176         (continueDrag): Use method arguments.
6177
6178 2004-06-09  Michael Koch  <konqueror@gmx.de>
6179
6180         * javax/swing/border/TitledBorder.java,
6181         javax/swing/filechooser/FileSystemView.java,
6182         javax/swing/plaf/basic/BasicButtonListener.java,
6183         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6184         javax/swing/plaf/basic/BasicLabelUI.java,
6185         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6186         javax/swing/plaf/basic/BasicScrollBarUI.java,
6187         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6188         javax/swing/plaf/basic/BasicSliderUI.java,
6189         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6190         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6191         javax/swing/table/JTableHeader.java,
6192         javax/swing/text/AbstractDocument.java,
6193         javax/swing/text/DefaultCaret.java,
6194         javax/swing/text/StyledEditorKit.java,
6195         javax/swing/tree/DefaultTreeCellEditor.java:
6196         Reworked import statements.
6197
6198 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6199
6200         * javax/swing/Box.java: Temporarily comment out code
6201         broken due to visibility bug.
6202
6203 2004-06-09  Michael Koch  <konqueror@gmx.de>
6204
6205         * javax/swing/ImageIcon.java
6206         (ImageIcon): Added missing constructor.
6207
6208 2004-06-08  Michael Koch  <konqueror@gmx.de>
6209
6210         * javax/swing/JToggleButton.java
6211         (JToggleButton): New constructor.
6212         (getAccessibleContext): Moved documentation into javadoc.
6213         (getUIClassID): Likewise.
6214
6215 2004-06-08  Michael Koch  <konqueror@gmx.de>
6216
6217         * javax/swing/AbstractButton.java
6218         (getDisabledIcon): Create disabled icon if none exists yet.
6219
6220 2004-06-08  Michael Koch  <konqueror@gmx.de>
6221
6222         * javax/swing/plaf/basic/BasicLookAndFeel.java
6223         (initClassDefaults): Added FormattedTextFieldUI.
6224         (loadResourceBundle): Renamed enum to e.
6225
6226 2004-06-08  Michael Koch  <konqueror@gmx.de>
6227
6228         * javax/swing/plaf/basic/BasicButtonUI.java
6229         (paintIcon): Simplified.
6230         (paintText): Paint disabled button correctly.
6231
6232 2004-06-08  Michael Koch  <konqueror@gmx.de>
6233
6234         * javax/swing/JComponent.java
6235         (createToolTip): Use official JToolTip API.
6236
6237 2004-06-08  Michael Koch  <konqueror@gmx.de>
6238
6239         * javax/swing/JToolTip.java
6240         (JToolTip): No arguments in API.
6241         (setTipText): New method.
6242
6243 2004-06-08  Michael Koch  <konqueror@gmx.de>
6244
6245         * javax/swing/SwingUtilities.java
6246         (isLeftMouseButton): New method.
6247         (isMiddleMouseButton): New method.
6248         (isRightMouseButton): New method.
6249
6250 2004-06-08  Michael Koch  <konqueror@gmx.de>
6251
6252         * javax/swing/AbstractButton.java,
6253         javax/swing/CellRendererPane.java,
6254         javax/swing/JCheckBoxMenuItem.java,
6255         javax/swing/JColorChooser.java,
6256         javax/swing/JComboBox.java,
6257         javax/swing/JComponent.java,
6258         javax/swing/JDesktopPane.java,
6259         javax/swing/JFileChooser.java,
6260         javax/swing/JMenu.java,
6261         javax/swing/JMenuItem.java,
6262         javax/swing/JOptionPane.java,
6263         javax/swing/JPasswordField.java,
6264         javax/swing/JPopupMenu.java,
6265         javax/swing/JProgressBar.java,
6266         javax/swing/JRadioButtonMenuItem.java,
6267         javax/swing/JScrollBar.java,
6268         javax/swing/JSeparator.java,
6269         javax/swing/JSlider.java,
6270         javax/swing/JSplitPane.java,
6271         javax/swing/JTabbedPane.java,
6272         javax/swing/JTextField.java,
6273         javax/swing/JToolBar.java,
6274         javax/swing/text/JTextComponent.java:
6275         Fixed all constructors of accessibility classes.
6276
6277 2004-06-08  Michael Koch  <konqueror@gmx.de>
6278
6279         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6280         over.
6281
6282 2004-06-08  Michael Koch  <konqueror@gmx.de>
6283
6284         * javax/swing/Box.java
6285         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6286         (AccessibleBoxFiller.serialVersionUID): New member variable.
6287         * javax/swing/DefaultButtonModel.java
6288         (stateMask): Made protected.
6289         (listenerList): Likewise.
6290         (changeEvent): Likewise.
6291         (group): Likewise.
6292         (mnemonic): Likewise.
6293         (actionCommand): Likewise.
6294         (getListeners): New method.
6295         (getActionListeners): New method.
6296         (getItemListeners): New method.
6297         (getChangeListeners): New method.
6298         (fireItemStateChanged): Simplified.
6299         (fireActionPerformed): Simplified.
6300         (fireStateChanged): Simplified.
6301         * javax/swing/JFrame.java
6302         (JFrame): Implements WindowContants.
6303         (HIDE_ON_CLOSE): Removed.
6304         (EXIT_ON_CLOSE): Removed.
6305         (DISPOSE_ON_CLOSE): Removed.
6306         (DO_NOTHING_ON_CLOSE): Removed.
6307         (processWindowEvent): Exit with code 0.
6308         (setDefaultCloseOperation): Do security check before setting value.
6309         * javax/swing/JOptionPane.java
6310         (message): Initialize only in constructor.
6311         * javax/swing/JToolTip.java: Removed unused imports.
6312         * javax/swing/JViewport.java
6313         (serialVersionUID): New member variable.
6314         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6315         (BLIT_SCROLL_MODE): Likewise.
6316         (BACKINGSTORE_SCROLL_MODE): Likewise.
6317         (scrollUnderway): Made protected.
6318         (isViewSizeSet): Likewise.
6319         * javax/swing/ListModel.java: Fixed javadoc.
6320         * javax/swing/Popup.java: Likewise.
6321         * javax/swing/RepaintManager.java
6322         (paintDirtyRegions): Don't use internal classes of
6323         java.util.AbstractMap.
6324         * javax/swing/ScrollPaneConstants.java: Reindented.
6325         * javax/swing/ScrollPaneLayout.java
6326         (viewport): Made protected.
6327         (verticalScrollBar): Made protected, renamed to vsb.
6328         (horizontalScrollBar): Made protected, renamed to hsb.
6329         (rowHeader): Made protected, renamed to rowHead.
6330         (columnHeader): Made protected, renamed to colHead.
6331         (lowerLeft): Made protected.
6332         (lowerRight): Made protected.
6333         (upperLeft): Made protected.
6334         (upperRight): Made protected.
6335         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6336         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6337
6338 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6339
6340         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6341         LOADING if flags has SOMEBITS set.
6342
6343 2004-06-07  Michael Koch  <konqueror@gmx.de>
6344
6345         * javax/swing/AbstractButton.java: Reorganized imports.
6346         * javax/swing/ActionMap.java: Likewise.
6347         * javax/swing/DefaultButtonModel.java: Likewise.
6348         * javax/swing/DefaultListModel.java: Likewise.
6349         * javax/swing/ImageIcon.java: Likewise.
6350         (serialVersionUID): New member variable.
6351         * javax/swing/JComboBox.java: Reorganized imports.
6352         * javax/swing/JComponent.java: Likewise.
6353         (ui): Made protected.
6354         (listenerList): Made protected.
6355         (TOOL_TIP_TEXT_KEY): New constant.
6356         (scrollRectToVisible): Removed redundant null check.
6357         * javax/swing/JFrame.java: Reorganized imports.
6358         * javax/swing/JInternalFrame.java: Reorganized imports.
6359         * javax/swing/JProgressBar.java: Likewise.
6360         * javax/swing/JRootPane.java: Likewise.
6361         * javax/swing/JScrollBar.java: Likewise.
6362         * javax/swing/JSeparator.java: Likewise.
6363         * javax/swing/JSlider.java: Likewise.
6364         * javax/swing/JTabbedPane.java: Likewise.
6365         * javax/swing/JTextField.java: Likewise.
6366         * javax/swing/JToolBar.java: Likewise.
6367         * javax/swing/JTree.java: Likewise.
6368         * javax/swing/JViewport.java: Likewise.
6369         * javax/swing/JWindow.java: Likewise.
6370         * javax/swing/KeyStroke.java: Likewise.
6371         * javax/swing/LookAndFeel.java: Likewise.
6372         * javax/swing/MenuSelectionManager.java: Likewise.
6373         * javax/swing/SwingUtilities.java: Likewise.
6374         * javax/swing/Timer.java: Likewise.
6375         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6376         * javax/swing/JList.java
6377         (HORIZONTAL_WRAP): Made final, fixed value.
6378         (VERTICAL): Likewise.
6379         (VERTICAL_WRAP): Likewise.
6380
6381 2004-06-07  Michael Koch  <konqueror@gmx.de>
6382
6383         * javax/swing/AbstractButton.java
6384         (serialVersionUID): New member variable.
6385         (AccessibleAbstractButton.serialVersionUID): Likewise.
6386         (AbstractButton): Made public.
6387         * javax/swing/Box.java
6388         (AccessibleBox.serialVersionUID): New member variable.
6389         (Filler.serialVersionUID): Likewise.
6390         * javax/swing/DefaultListSelectionModel.java
6391         (serialVersionUID): Likewise.
6392         * javax/swing/JApplet.java
6393         (serialVersionUID): Likewise.
6394         * javax/swing/JCheckBox.java
6395         (serialVersionUID): Likewise.
6396         * javax/swing/JCheckBoxMenuItem.java
6397         (serialVersionUID): Likewise.
6398         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6399         * javax/swing/JColorChooser.java
6400         (serialVersionUID): Likewise.
6401         (AccessibleJColorChooser.serialVersionUID): Likewise.
6402         * javax/swing/JComponent.java
6403         (serialVersionUID): Made private.
6404         (AccessibleJComponent.serialVersionUID): New member variable.
6405         * javax/swing/JDesktopPane.java
6406         (serialVersionUID): Likewise.
6407         * javax/swing/JDialog.java
6408         (serialVersionUID): Likewise.
6409         * javax/swing/JFormattedTextField.java
6410         (serialVersionUID): Fixed value.
6411         * javax/swing/JFrame.java
6412         (serialVersionUID): New member variable.
6413         (getDefaultCloseOpertation): Made public.
6414         * javax/swing/JLayeredPane.java
6415         (serialVersionUID): Likewise.
6416         (LAYER_PROPERTY): Made final, fixed value.
6417         (JLayeredPane): Made public.
6418         * javax/swing/JMenu.java
6419         (AccessibleJMenu.serialVersionUID): New member variable.
6420         (WinListener.serialVersionUID): Likewise.
6421         * javax/swing/JMenuBar.java
6422         (serialVersionUID): Likewise.
6423         (getComponentAtIndex): Added @deprecated tag.
6424         * javax/swing/JMenuItem.java
6425         (serialVersionUID): New member variable.
6426         (AccessibleJMenuItem.serialVersionUID): Likewise.
6427         * javax/swing/JOptionPane.java
6428         (serialVersionUID): Likewise.
6429         (AccessibleJOptionPane.serialVersionUID): Likewise.
6430         * javax/swing/JPopupMenu.java
6431         (serialVersionUID): Likewise.
6432         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6433         (getPopupMenuListeners): New method.
6434         (getComponentAtIndex): Added @deprecated tag.
6435         * javax/swing/JProgressBar.java
6436         (serialVersionUID): New member variable.
6437         (AccessibleJProgressBar.serialVersionUID): Likewise.
6438         * javax/swing/JRadioButton.java
6439         (serialVersionUID): Likewise.
6440         * javax/swing/JRadioButtonMenuItem.java
6441         (serialVersionUID): Likewise.
6442         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6443         * javax/swing/JScrollBar.java
6444         (serialVersionUID): Likewise.
6445         (AccessibleJScrollBar.serialVersionUID): Likewise.
6446         * javax/swing/JSeparator.java
6447         (serialVersionUID): Likewise.
6448         (AccessibleJSeparator.serialVersionUID): Likewise.
6449         * javax/swing/JSlider.java: Fixed javadocs.
6450         (AccessibleJSlider.serialVersionUID): New member variable.
6451         * javax/swing/JSplitPane.java: Added copyright statement.
6452         (serialVersionUID): New member variable.
6453         (AccessibleJSplitPane.serialVersionUID): Likewise.
6454         * javax/swing/JTabbedPane.java
6455         (serialVersionUID): Likewise.
6456         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6457         (ModelListener.serialVersionUID): Likewise.
6458         (ModelListener.ModelListener): New constructor.
6459         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6460         (WRAP_TAB_LAYOUT): Likewise.
6461         * javax/swing/JTable.java
6462         (serialVersionUID): New member variable.
6463         * javax/swing/JToggleButton.java
6464         (serialVersionUID): Likewise.
6465         (ToggleButtonModel): Made static.
6466         (ToggleButtonModel.serialVersionUID): New member variable.
6467         * javax/swing/JToolTip.java
6468         (serialVersionUID): Likewise.
6469         * javax/swing/JTree.java
6470         (serialVersionUID): Likewise.
6471         * javax/swing/JWindow.java
6472         (serialVersionUID): Likewise.
6473         * javax/swing/Timer.java
6474         (serialVersionUID): Likewise.
6475
6476 2004-06-06  Michael Koch  <konqueror@gmx.de>
6477
6478         * javax/swing/SwingConstants.java
6479         (NEXT): New constant.
6480         (PREVIOUS): Likewise.
6481         * javax/swing/UIManager.java
6482         (LookAndFeel): Made public.
6483         (LookAndFeel.getClassName): Likewise.
6484         (LookAndFeel.getName): Likewise.
6485
6486 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6487
6488         * javax/swing/JCheckBoxMenuItem.java:
6489         Removed CVS tags.
6490         * javax/swing/JMenu.java: Likewise.
6491         * javax/swing/JMenuBar.java: Likewise.
6492         * javax/swing/JMenuItem.java: Likewise.
6493         * javax/swing/JPopupMenu.java: Likewise.
6494         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6495         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6496         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6497         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6498         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6499         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6500         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6501
6502 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6503         
6504         * javax/swing/plaf/basic/BasicMenuUI.java:
6505         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6506         Call getPath() from super class instead.
6507
6508 2004-05-31  David Jee  <djee@redhat.com>
6509
6510         * java/awt/Container.java
6511         (remove): Set component visibility to false after removing it.
6512
6513 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6514
6515         * java/awt/Component.java (getForeground): Return SystemColor if
6516         parent is null.
6517         (getBackground): Likewise.
6518
6519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6520         (item_highlighted): New function.
6521         (connectSignals): Set item_highlighted as list's select
6522         function.
6523
6524         * java/applet/Applet.java: Revert changes from 2004-04-29,
6525         2004-03-15 and 2004-03-14.
6526
6527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6528         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6529         factor.
6530
6531         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6532         "Dialog" as the default font.
6533         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6534         Likewise.
6535         * java/awt/Component.java (getFont): Return "Dialog" font by
6536         default.
6537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6538         Multiply size argument to pango_font_description_set_size by the
6539         DPI conversion factor rather than by PANGO_SCALE.
6540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6541         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6548         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6549         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6550         Divide baseline y coordinate by DPI conversion factor rather
6551         than by PANGO_SCALE.
6552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6553         (area_prepared): Fix typo.
6554         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6555         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6557         (dpi_conversion_factor): New global variable.
6558         (init_dpi_conversion_factor): New function to calculate and
6559         track DPI conversion factor.
6560         (dpi_changed_cb): New callback.
6561         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6562
6563 2004-05-27  David Jee  <djee@redhat.com>
6564
6565         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6566         (getGraphics): Return a new GdkGraphics instance.
6567         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6568         (getGraphics): Call super.getGraphics().
6569
6570 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6571
6572         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6573         (setNativeBounds): Clamp width and height values to >= 0.
6574
6575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6576         (find_fg_color_widget): Handle GtkOptionMenu specially.
6577
6578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6579         (pre_event_handler): Only post configure events to visible
6580         top-level windows.
6581
6582 2004-05-26  David Jee  <djee@redhat.com>
6583
6584         * java/awt/BorderLayout.java
6585         (layoutContainer): Fix size calculations.
6586
6587 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6588
6589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6590         (window_wm_protocols_filter): Remove function.
6591         (create): Remove filter that removes WM_TAKE_FOCUS client
6592         messages.
6593
6594 2004-06-17  Anthony Green  <green@redhat.com>
6595
6596         * java/util/zip/ZipFile.java (getInputStream): Return null if
6597         entry not found.
6598
6599         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6600         directory contents to the class path.
6601
6602 2004-06-15  Andrew Haley  <aph@redhat.com>
6603
6604         * java/lang/natSystem.cc (getenv0): Don't assume environment
6605         variable is Latin 1 coded.
6606
6607 2004-06-14  Andreas Jaeger  <aj@suse.de>
6608
6609         * configure.in: Support --enable-version-specific-runtime-libs.
6610         * configure: Regenerated.
6611
6612 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6613
6614         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6615         to pass ClassLoader argument.
6616         * java/util/GregorianCalendar.java: Likewise.
6617         * java/util/Currency.java: Likewise.
6618         * java/text/BreakIterator.java: Likewise.
6619         * java/text/Collator.java: Likewise.
6620         * java/text/DateFormat.java: Likewise.
6621         * java/text/DateFormatSymbols.java: Likewise.
6622         * java/text/DecimalFormatSymbols.java: Likewise.
6623         * java/text/NumberFormat.java: Likewise.
6624         * java/awt/Window.java: Likewise.
6625
6626 2004-06-14  Andrew Haley  <aph@redhat.com>
6627
6628         * java/lang/System.java: (getenv0): New method.
6629         (getenv): Add security check.  Do the right thing.
6630         * java/lang/natSystem.cc (getenv0): New method.
6631
6632 2004-06-12  Mark Wielaard  <mark@klomp.org>
6633
6634         * javax/swing/RepaintManager.java
6635         (paintDirtyRegions): Use entrySet(), not values().
6636
6637 2004-06-10  Mark Wielaard  <mark@klomp.org>
6638
6639         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6640         NoSuchMethodError.
6641
6642 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6643
6644         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6645         when we already know the answer.
6646         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6647         (setStartRule,setEndRule): Don't take abs of day number.
6648         (getOffset): Clarify docs.  Add argument checks.
6649         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6650         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6651         endTimeMode.
6652
6653 2004-06-10  Tom Tromey  <tromey@redhat.com>
6654
6655         * interpret.cc (run): Handle wide fload.
6656
6657 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6658
6659         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6660
6661 2004-06-05  Michael Koch  <konqueror@gmx.de>
6662
6663         * javax/swing/SwingConstants.java
6664         (NEXT): New constant.
6665         (PREVIOUS): Likewise.
6666
6667 2004-06-05  Michael Koch  <konqueror@gmx.de>
6668
6669         * javax/swing/UIManager.java
6670         (LookAndFeel): Made public.
6671         (LookAndFeel.getName): Likewise.
6672         (LookAndFeel.getClassName): Likewise.
6673
6674 2004-06-03  Michael Koch  <konqueror@gmx.de>
6675
6676         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6677         (requestFocus): Revert last changes.
6678         (gtkRequestFocus): Removed.
6679         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6680         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6681         Renamed to ...
6682         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6683         Reverted last patch.
6684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6685         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6686         Reverted comment change.
6687
6688 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6689
6690         * javax/swing/JCheckBoxMenuItem.java:
6691         Removed CVS tags.
6692         * javax/swing/JMenu.java: Likewise.
6693         * javax/swing/JMenuBar.java: Likewise.
6694         * javax/swing/JMenuItem.java: Likewise.
6695         * javax/swing/JPopupMenu.java: Likewise.
6696         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6697         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6698         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6699         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6700         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6701         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6702         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6703
6704 2004-06-01  Tom Tromey  <tromey@redhat.com>
6705
6706         * java/io/ObjectStreamField.java: Cleaned up imports.
6707
6708 2004-06-01  Michael Koch  <konqueror@gmx.de>
6709
6710         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6711       
6712 2004-06-01  Mark Wielaard  <mark@klomp.org>
6713
6714         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6715
6716 2004-06-01  Michael Koch  <konqueror@gmx.de>
6717
6718         * java/security/Security.java
6719         (insertProviderAt): Use equals() instead of ==.
6720         (removeProvicer): Likewise.
6721         (getProvider): Likewise.
6722         * java/security/Signature.java
6723         (sign): Don't set state to UNINITIALIZED.
6724         (verify): Likewise.
6725
6726 2004-06-01  Mark Wielaard  <mark@klomp.org>
6727
6728         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6729         Implement by calling gtkRequestFocus.
6730         (gtkRequestFocus): New native method.
6731         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6732         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6733         Renamed to ...
6734         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6735         New function name.
6736         (filter_expose_event_handler):
6737         Mark static.
6738         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6739         (menu_pos): Mark static.
6740
6741 2004-06-01  Michael Koch  <konqueror@gmx.de>
6742
6743         * java/text/CollationElementIterator.java,
6744         java/text/CollationKey.java,
6745         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6746         * testsuite/libjava.mauve/xfails: Removed all
6747         java.text.CollationElementIterator tests.
6748
6749 2004-06-01  Michael Koch  <konqueror@gmx.de>
6750
6751         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6752         version.
6753         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6754         Java 1.5 keyword usage.
6755
6756 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6757
6758         * javax/swing/plaf/basic/BasicMenuUI.java:
6759         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6760         Call getPath() from super class instead.
6761
6762 2004-05-31  Michael Koch  <konqueror@gmx.de>
6763
6764         * java/io/SequenceInputStream.java:
6765         Rename enum to e because enum is a keyword in Java 1.5.
6766
6767 2004-05-31  Michael Koch  <konqueror@gmx.de>
6768
6769         * gnu/java/rmi/rmic/CompilerProcess.java:
6770         Fixed javadoc to by XHTML compliant.
6771
6772 2004-05-30  Mark Wielaard  <mark@klomp.org>
6773
6774         * java/awt/Toolkit.java (loadSystemColors): Implement.
6775
6776 2004-05-30  Michael Koch  <konqueror@gmx.de>
6777
6778         * java/lang/System.java: Reordered imports.
6779
6780 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6781
6782         * java/text/DecimalFormat.java
6783         (parse): Fixed parsing of decimal strings. Number of maximum
6784         digits to be read should now work.
6785         * java/text/SimpleDateFormat.java
6786         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6787         formatter. This fixes DateFormatTest.
6788
6789 2004-05-30  Michael Koch  <konqueror@gmx.de>
6790
6791         * java/nio/Buffer.java
6792         (limit): Fixed off by one error.
6793         * java/nio/CharBuffer.java
6794         (wrap): Fixed arguments, added javadocs.
6795
6796 2004-05-30  Michael Koch  <konqueror@gmx.de>
6797
6798         * gnu/java/beans/BeanInfoEmbryo.java,
6799         java/awt/im/InputContext.java,
6800         javax/swing/tree/DefaultMutableTreeNode.java:
6801         Rename enum to e because enum is a keyword in Java 1.5.
6802
6803 2004-05-30  Michael Koch  <konqueror@gmx.de>
6804
6805         * gnu/java/math/MPN.java,
6806         java/awt/geom/Arc2D.java:
6807         Fixed javadocs all over.
6808
6809 2004-05-30  Michael Koch  <konqueror@gmx.de>
6810
6811         * java/awt/DefaultKeyboardFocusManager.java
6812         (dispatchEvent): Call method to get key event dispatchers.
6813         (dispatchKeyEvent): Call method to get key event post processors.
6814         * javax/swing/JComponent.java
6815         (listenerList): Made protected.
6816         * javax/swing/JOptionPane.java
6817         (message): Don't initialize.
6818         (JOptionPane): Set message text.
6819         * javax/swing/JPopupMenu.java
6820         (show): Fixed typo in argument name.
6821         * javax/swing/RepaintManager.java
6822         (paintDirtyRegions): Use public API of java.util.Map.
6823         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6824         (positionForMouseEvent): Removed redundant ';'.
6825         (continueDrag): Use method arguments.
6826
6827 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6828
6829         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6830         results.
6831
6832 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6833
6834         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6835         _Jv_AllocBytes.
6836         * gnu/gcj/RawDataManaged.java: New file.
6837         * java/lang/Thread.java (data): Declare as RawDataManaged.
6838         * java/lang/natThread.cc (init_native): Cast natThread data to
6839         RawDataManaged, not jobject.
6840         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6841         * Makefile.in: Rebuilt.
6842
6843 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6844
6845         * java/util/SimpleTimeZone.java: Reverting my last change until I
6846         can fix it properly.
6847
6848 2004-05-27  Michael Koch  <konqueror@gmx.de>
6849
6850         * javax/swing/JPopupMenu.java
6851         (isVisible): Do not use visible directly.
6852         (setVisible): Likewise.
6853         * javax/swing/JWindow.java
6854         (JWindow): call accessible constructor.
6855         * javax/swing/RepaintManager.java
6856         (paintDirtyRegions): Use public methods to obtain iterator.
6857
6858 2004-05-25  David Jee  <djee@redhat.com>
6859
6860         * java/awt/Container.java
6861         (remove): Set component's parent to null only after we removed the
6862         component from its parent's layout manager.
6863
6864 2004-05-25  David Jee  <djee@redhat.com>
6865
6866         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6867         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6868         is valid.
6869         * gnu/java/awt/peer/gtk/GtkListPeer.java
6870         (getSize): Change native method declaration.
6871         (minimumSize): Pass visible row count into getSize().
6872         (preferredSize): Likewise.
6873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6874         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6875         natural size. Use visible row count to determine the final height
6876         value to return.
6877
6878 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6879
6880         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6881         (setClip): Minor correction to order of operations.
6882
6883         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6884         * javax/swing/ScrollPaneLayout.java: Likewise.
6885         * javax/swing/JViewPort.java: Likewise.
6886         * javax/swing/ViewportLayout.java: Likewise.
6887
6888         * javax/swing/JComponent.java: Rewrite.
6889         * javax/swing/RepaintManager.java: Likewise.
6890
6891         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6892         * javax/swing/JList.java 
6893         (setSelectedIndices):
6894         (getSelectedIndices):
6895         (getSelectedValues): New functions.
6896         (getPreferredScrollableViewportSize): Return preferred size.
6897         (getScrollableUnitIncrement):
6898         (getScrollableBlockIncrement): Initial implementations.
6899         * javax/swing/JRootPane.java: Clean up slightly.
6900         (getUI):
6901         (setUI):
6902         (updateUI):
6903         (getUIClassID):
6904         (isValidateRoot): Add overrides from JComponent.
6905         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6906         * javax/swing/UIManager.java (getDimension): Return the dimension.
6907
6908         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6909         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6910         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6911         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6912         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6913         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6914         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6915         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6916         Likewise, and set background.
6917         * javax/swing/plaf/basic/BasicListUI.java: 
6918         Likewise, and improve a bit.
6919         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6920         Likewise, and adjust calculations.
6921         * javax/swing/plaf/basic/BasicViewportUI.java:
6922         Likewise, and improve a bit.
6923         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6924         (Button.margin): Shrink.
6925
6926         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6927         Hack to set horizontal always, workaround pango.
6928
6929         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6931         Synchronize more often, check cairo status after ops,
6932         handle changes to cairo pattern API, check for disposal.
6933
6934 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6935
6936         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6937         (BasicMenuItemUI): Create propertyChangeListener.
6938         (getPath):Implemented.
6939         (installListeners): Add propertyChangeListener to menuItem.
6940         (uninstallListeners): Remove propertyChangeListener from menuItem.
6941         (update): Implemented.
6942         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6943         (mouseEntered): Take insets of popup menu into account when
6944         calculating position of popup menu.     
6945         
6946 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6947
6948         * Makefile.am: Added new file. 
6949         * Makefile.in: Regenerate.
6950         * javax/swing/JMenuBar.java:
6951         Started implementation.
6952         * javax/swing/JPopupMenu.java:
6953         (setVisible): Fixed location of lightweight/mediumweight
6954         popup menu.
6955         (show): Fixed location of PopupMenu.
6956         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6957         New file. UI Delegate for JMenuBar.
6958         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6959         (mouseEntered): Corrected position of the submenu.
6960
6961 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6962
6963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6964         to _gtk_accel_group_attach.
6965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6966         Likewise.
6967
6968         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6969         package access.  Don't override setFont.
6970         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6971         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6972         gtkWidgetRequestFocus package access.
6973         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6974         setFont.
6975         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6976         Give gtkWidgetRequestFocus package access.
6977         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6978         gtkWidgetRequestFocus package access.  Don't override setFont.
6979         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6980         setFont.
6981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6982         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6983         region.
6984         (gtkSetFont): Likewise.
6985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6986         Implement.
6987         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6988         (gtkSetFont): Whitespace fix.
6989
6990         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6991         (gtkWidgetSetUsize): Remove method.
6992
6993 2004-05-18  David Jee  <djee@redhat.com>
6994
6995         * java/awt/image/MemoryImageSource.java
6996         (newPixels(int,int,int,int,boolean)): Set only the specified
6997         rectangle of pixels.
6998         (newPixels(byte[],ColorModel,int,int)): Implement.
6999         (newPixels(int[],ColorModel,int,int)): Implement.
7000
7001 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
7002
7003         * Makefile.am: Added new file.
7004         * Makefile.in: Regenerate.
7005         * javax/swing/JMenu.java: Started 
7006         implementation.
7007         * javax/swing/JPopupMenu.java:
7008         (insert): If specified index is -1, then
7009         add component at the end.
7010         (isPopupTrigger): Reimplemented.
7011         (JPopupMenu.LightWeightPopup): setBounds
7012         of the lightWeightPopup before adding it 
7013         to the layeredPane.
7014         (javax/swing/plaf/basic/BasicIconFactory.java):
7015         (getMenuArrowIcon): Implemented.
7016         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7017         (getPreferredSize): Add size of the arrow icon 
7018         if this menu item is instance of JMenu.
7019         (paintMenuItem): Paint arrow icon if this 
7020         menu item is a submenu.
7021         * javax/swing/plaf/basic/BasicMenuUI.java:
7022         New File. UI Delegate for JMenu.
7023
7024 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7025
7026         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7027         Post KEY_TYPED events.
7028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7029         (generates_key_typed_event): Remove function.
7030
7031 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7032
7033         * javax/swing/JRootPane.java
7034         (JRootPane.RootLayout): Reimplemented to 
7035         set bounds of contentPane and menuBar.
7036         (setJMenuBar): Add menu bar to the layered pane.
7037         (createLayeredPane): Set layout of layeredPane
7038         to null.
7039         * javax/swing/JLayeredPane.java:
7040         (addImpl): Calculate index of the component in the
7041         layeredPane according to the specified position within 
7042         the layer.      
7043
7044 2004-05-17  David Jee  <djee@redhat.com>
7045
7046         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7047         (setPixels): Change color model to the default model after
7048         converting pixels.
7049         * java/awt/image/MemoryImageSource.java
7050         (newPixels): Set only the specified rectangle of pixels.
7051
7052 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7053
7054         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7055         -l-java-beans -l-javax-accessibility -l-javax-swing.
7056
7057         * java/awt/AWTEvent.java (toString): Print source's name rather
7058         than the source itself.
7059
7060 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7061
7062         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7063         native.
7064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7065         (gdk_color_to_java_color): New function.
7066         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7067
7068 2004-05-12  David Jee  <djee@redhat.com>
7069
7070         * java/awt/image/RGBImageFilter.java:
7071         Initialize origmodel as null.
7072         (makeColor): Fix pixel component order.
7073         (filterRGBPixels): Fix pixel iteration.
7074         (setPixels): Add extra checks for index color model. Convert pixels
7075         to default color model if necessary.
7076         (convertColorModelToDefault): New override method for byte pixels.
7077         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7078         (makeColorbyDefaultCM): New override method for byte pixels.
7079         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7080         (makeColor): Fix pixel component order.
7081
7082 2004-05-11  Kim Ho  <kho@redhat.com>
7083
7084         * javax/swing/Box.java:
7085         Comment out more parts of Box.Filler.
7086
7087 2004-05-11  Kim Ho  <kho@redhat.com>
7088
7089         * javax/swing/Box.java:
7090         Remove reference to AccessibleAWTComponent so
7091         it compiles again.
7092
7093 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7094
7095         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7096         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7097         implementation of list peer to use GtkTreeView instead of
7098         deprecated GtkCList.
7099
7100 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7101
7102         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7103         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7104         (handleEvent): Remove keyChar argument to
7105         gtkWidgetDispatchKeyEvent calls.
7106         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7107         compiler warnings.
7108         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7111         Likewise.
7112
7113 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7114
7115         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7116         (gtkWidgetRequestFocus): Mark protected.
7117         (GtkComponentPeer): Only set the peer's bounds if its component
7118         is valid.
7119         * java/awt/Component.java (static): Set the default keyboard
7120         focus manager.
7121         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7122         requestFocusInWindow(temporary)): Don't request focus if the
7123         component is not showing.  Get tree lock before traversing
7124         component hierarchy.
7125         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7126         Only set the global focus owner if it is not a Window.
7127         (processKeyEvent): Consume keystrokes associated with the focus
7128         traversal keystroke.
7129         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7130         downFocusCycle): Call requestFocusInWindow instead of
7131         requestFocus.
7132         * java/awt/EventDispatchThread.java (run): Move setting of
7133         default keyboard focus manager to Component.java.
7134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7135         (awt_keycode_to_keysym): New function.
7136         (gtkWidgetDispatchKeyEvent): Finish implementation.
7137         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7138         (pre_event_handler): Add FIXME comment.
7139
7140         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7141         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7142         (gtkWidgetRequestFocus): New method.
7143         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7144         disable Tab and Shift-Tab keystrokes.
7145         (addNotify, appendText, insertText, replaceText): Simplify peer
7146         retrieval code.
7147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7148         (connectSignals): Remove connections to "commit" signals.
7149         Remove C++-style comments.
7150
7151         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7152         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7153         (handleEvent): Activate GTK button when the space bar key is
7154         pressed.
7155         (gtkActivate): New method.
7156
7157 2004-05-06  David Jee  <djee@redhat.com>
7158
7159         * java/awt/image/CropImageFilter.java
7160         (setPixels): Implement for byte array pixels.
7161         * java/awt/image/ReplicateScaleFilter.java
7162         (setPixels): Implement for byte array pixels.
7163         (replicatePixels): Overload for byte array pixels.
7164
7165 2004-05-06  Kim Ho  <kho@redhat.com>
7166
7167         * javax/swing/Box.java:
7168         (getAccessibleContext): Return an instance of the 
7169         correct class.
7170
7171 2004-05-05  David Jee  <djee@redhat.com>
7172
7173         * gnu/java/awt/peer/gtk/GdkGraphics.java
7174         (drawImage): When component is null, use SystemColor.window as
7175         the default bgcolor.
7176         * gnu/java/awt/peer/gtk/GtkImage.java
7177         (setPixels): We can avoid iterating through the pixel rows only
7178         when height is 1.
7179         * java/awt/Image.java
7180         (getScaledInstance): Partially implement.
7181         * java/awt/image/CropImageFilter.java
7182         (setProperties): Fix "filter" property.
7183         (setPixels): Implement.
7184         * java/awt/image/ReplicateScaleFilter.java
7185         (setDimensions): Use scaled dimensions.
7186         (setPixels): Implement.
7187         (replicatePixels): New method.
7188
7189 2004-05-05  David Jee  <djee@redhat.com>
7190
7191         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7192         (convertPixels): If either pixels or model is null, return null.
7193         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7194         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7195         is null, do nothing and return.
7196
7197 2004-05-03  Kim Ho  <kho@redhat.com>
7198
7199         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7200         (getGraphics): Like GtkFramePeer, the Graphics
7201         object needs to be translate to account for
7202         window decorations.
7203         (postMouseEvent): New method. Account for
7204         translation.
7205         (postExposeEvent): ditto.
7206         * javax/swing/Box.java: Stubbed.
7207         * javax/swing/JDialog.java: Ran through jalopy
7208         to fix indentation.
7209         (JDialog): Call SwingUtilities' getOwnerFrame
7210         for null owners.
7211         (setLayout): Check isRootPaneCheckingEnabled
7212         * javax/swing/JOptionPane.java: Re-implemented.
7213         * javax/swing/SwingUtilities.java:
7214         (getOwnerFrame): Static method to grab a default
7215         owner frame for Dialogs that don't specify owners.
7216         * javax/swing/event/SwingPropertyChangeSupport.java:
7217         (firePropertyChange): Fix early exit condition.
7218         * javax/swing/plaf/basic/BasicLabelUI.java:
7219         (paint): Avoid painting text if it is null 
7220         or empty.
7221         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7222         Implement.
7223
7224 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7225
7226         * Makefile.am: Added new file.
7227         * Makefile.in: Regenerate.
7228         * javax/swing/JPopupMenu.java:
7229         Started implementation.
7230         * javax/swing/JWindow.java
7231         (JWindow): call super() if parent for window
7232         is not specified.
7233         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7234         New File. UI Delegate for JPopupMenu.
7235
7236 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7237
7238         * javax/swing/JApplet.java: Indicated that JApplet
7239         implements RootPaneContainer and made method of this
7240         interface public. 
7241         * javax/swing/JFrame.java: Ditto.
7242         * javax/swing/JWindow.java: Ditto.
7243         
7244 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7245
7246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7247         (nativeSetBounds): Call gdk_window_move in addition to
7248         gtk_window_move.
7249
7250         * java/applet/Applet.java (preferredSize): Call parent's
7251         preferredSize if the applet stub is null.
7252         (minimumSize): Likewise for parent's minimumSize.
7253
7254 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7255
7256         * javax/swing/JMenuItem.java
7257         (createActionPropertyChangeListener): Implemented.
7258         (processMouseEvent): Ditto.
7259         (fireMenuDragMouseEntered): Ditto.
7260         (fireMenuDragMouseExited): Ditto.
7261         (fireMenuDragMouseDragged): Ditto.
7262         (fireMenuDragMouseReleased): Ditto.
7263         (menuSelectionChanged): Ditto.
7264         (getSubElements): Ditto.
7265         (getComponent): Ditto.
7266         (addMenuDragMouseListener): Ditto.
7267         (removeMenuDragMouseListener):Ditto.
7268         (addMenuKeyListener): Ditto.
7269         (removeMenuKeyListener): Ditto.
7270         * javax/swing/plaf/basic/BasicMenuItemUI.java
7271         (doClick): Imlemented.
7272         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7273         Don't handle mouse events here. Pass them to 
7274         MenuSelectionManager.
7275         
7276 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7277         Used correct version of jalopy configuration
7278         file to fix style in the files below.
7279
7280 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7281
7282         * javax/swing/JCheckBoxMenuItem.java: 
7283         Fixed style and removed unnecessary comments.
7284         * javax/swing/JMenuItem.java: Ditto.
7285         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7286         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7287         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7288         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7289
7290 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7291
7292         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7293         C-style.
7294
7295         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7296
7297         * java/awt/ContainerOrderFocusTraversalPolicy.java
7298         (getComponentAfter): Start from current component and work up
7299         the component hierarchy until an acceptable component is found.
7300         Synchronize on tree lock.
7301         (getComponentBefore): Likewise.
7302
7303 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7304
7305         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7306         focus-related debugging messages.
7307         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7308         * java/awt/EventDispatchThread.java: Likewise.
7309         * java/awt/KeyboardFocusManager.java: Likewise.
7310         * java/awt/Window.java: Likewise.
7311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7313
7314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7315         new C++-style comments to C-style comments.
7316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7317
7318         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7319         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7320         (handleEvent): Dispatch key press and key release events to
7321         backing widget.
7322         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7323         (gtkWidgetRequestFocus): New method.
7324         (gtkWidgetDispatchKeyEvent): Likewise.
7325         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7326         requestFocusInWindow, requestFocusInWindow(boolean),
7327         getFocusCycleRootAncestor, nextFocus, transferFocus,
7328         transferFocusBackward, transferFocusUpCycle, hasFocus,
7329         isFocusOwner): Implement and document focus-handling methods.
7330         (setFocusTraversalKeys): Inherit focus traversal keys when
7331         keystrokes argument is null.  Fix focus-handling documentation
7332         throughout class.
7333         * java/awt/Container.java (setFocusTraversalKeys,
7334         getFocusTraversalKeys, areFocusTraversalKeysSet,
7335         isFocusCycleRoot, setFocusTraversalPolicy,
7336         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7337         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7338         Implement and document focus-handling methods.
7339         (transferFocusBackward): Remove method.
7340         (readObject, writeObject): Implement and document serialization
7341         methods.
7342         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7343         and document.
7344         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7345         document.
7346         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7347         partially document.
7348         * java/awt/EventDispatchThread.java (run): Set default keyboard
7349         focus manager.  Attempt to dispatch each event to the keyboard
7350         focus manager before normal dispatch.
7351         * java/awt/KeyboardFocusManager.java: Implement and partially
7352         document.
7353         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7354         (show): Focus initial component when window is shown for the
7355         first time.
7356         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7357         (pre_event_handler): Replace complex key press and key release
7358         logic with simple callbacks into GtkComponentPeer.
7359         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7360
7361 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7362
7363         * javax/swing/MenuSelectionManager.java
7364         (componentForPoint): Added new method. 
7365         (defaultManager): New Method. Implemented.
7366         (getSelectedPath): Ditto.
7367         (isComponentPartOfCurrentMenu): Ditto.
7368         (processKeyEvent): Added new method.
7369         (processMouseEvent): New Method. Implemented.
7370         (setSelectedPath): Ditto.
7371         (getPath): Ditto.
7372
7373 2004-04-19  Kim Ho  <kho@redhat.com>
7374
7375         * java/awt/Container.java: 
7376         (remove): Set the component's parent to null.
7377         (getComponentAt): Implement.
7378         * javax/swing/JComponent.java:
7379         (JComponent): Initialize defaultLocale
7380         (getDefaultLocale): Implement.
7381         (setDefaultLocale): ditto.
7382         * javax/swing/JSlider.java:
7383         (JSlider): Fix calculation of value.
7384         * javax/swing/JSplitPane.java: Implement.
7385         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7386         Change SplitPane's default divider size.
7387         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7388         (paint): Remove unused code.
7389         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7390         Added comments and ran through jalopy.
7391         (setBasicSplitPaneUI): Get reference to hidden divider
7392         and set up one touch buttons if necessary.
7393         (setBorder): Fire propertyChangeEvent only if 
7394         borders are different.
7395         (getPreferredSize): Defer to layout manager.
7396         (propertyChange): Implement.
7397         (oneTouchExpandableChanged): ditto.
7398         (createLeftOneTouchButton): Use BasicArrowButton.
7399         (createRightOneTouchButton): ditto.
7400         (moveDividerTo): New method. Moves the divider
7401         to a set location based on the last divider location.
7402         (BasicSplitPaneDivider::MouseHandler): Implement.
7403         (BasicSplitPaneDivider::OneTouchButton): Removed.
7404         (BasicSplitPaneDivider::DragController): Implement.
7405         (BasicSplitPaneDivider::VerticalDragController):
7406         ditto.
7407         (BasicSplitPaneDivider::DividerLayout): ditto.
7408         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7409         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7410         (calculateLayoutInfo): Don't show component if it's
7411         null.
7412         (paintTab): Fix title paint logic.
7413
7414 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7415
7416         PR libgcj/8321
7417         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7418         (setStartRule,setEndRule): Don't take abs of day number.
7419         (getOffset): Clarify docs.  Add argument checks.
7420         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7421         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7422         endTimeMode.
7423         * testsuite/libjava.mauve/xfails
7424         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7425
7426 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7427
7428         Layout interfaces during preparation, not initialization. 
7429         * java/lang/natClass.cc (initializeClass): Move 
7430         _Jv_LayoutInterfaceMethods call...
7431         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7432
7433 2004-05-19  Anthony Green  <green@localhost.localdomain>
7434
7435         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7436         gnu.javax.rmi code.
7437         * Makefile.in: Rebuilt.
7438         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7439         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7440         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7441         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7442         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7443         gnu/javax/rmi/CORBA/DelegateFactory.java,
7444         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7445         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7446         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7447         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7448         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7449         gnu/javax/rmi/PortableServer.java: Remove files.
7450
7451 2004-05-19  Anthony Green  <green@redhat.com>
7452
7453         * Makefile.am: Define JAVA_EXT_DIRS.
7454         * Makefile.in: Rebuilt.
7455         * java/lang/natRuntime.cc (insertSystemProperties): Set
7456         java.ext.dirs property.
7457
7458 2004-05-16  Mark Wielaard  <mark@klomp.org>
7459
7460         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7461
7462 2004-05-15  Mark Wielaard  <mark@klomp.org>
7463
7464         * doc/cni.sgml: Removed, merged into gcj.texi.
7465
7466 2004-05-15  Mark Wielaard  <mark@klomp.org>
7467
7468         * Makefile.am (ordinary_java_source_files): Add new javax.print
7469         classes.
7470         * Makefile.in: Regenerated.
7471
7472 2004-05-15  Michael Koch  <konqueror@gmx.de>
7473
7474         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7475         javax/print/attribute/standard/DateTimeAtCreation.java,
7476         javax/print/attribute/standard/DateTimeAtProcessing.java,
7477         javax/print/attribute/standard/DocumentName.java,
7478         javax/print/attribute/standard/JobHoldUntil.java,
7479         javax/print/attribute/standard/JobImpressionsCompleted.java,
7480         javax/print/attribute/standard/JobMessageFromOperator.java,
7481         javax/print/attribute/standard/JobName.java,
7482         javax/print/attribute/standard/JobOriginatingUserName.java,
7483         javax/print/attribute/standard/JobPriority.java,
7484         javax/print/attribute/standard/JobPrioritySupported.java,
7485         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7486         javax/print/attribute/standard/OutputDeviceAssigned.java,
7487         javax/print/attribute/standard/PrinterInfo.java,
7488         javax/print/attribute/standard/PrinterLocation.java,
7489         javax/print/attribute/standard/PrinterMakeAndModel.java,
7490         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7491         javax/print/attribute/standard/PrinterName.java,
7492         javax/print/attribute/standard/QueuedJobCount.java,
7493         javax/print/attribute/standard/RequestingUserName.java:
7494         Fixed javadocs all over.
7495
7496 2004-05-15  Michael Koch  <konqueror@gmx.de>
7497
7498         * javax/print/DocFlavor.java,
7499         javax/print/attribute/standard/ColorSupported.java,
7500         javax/print/attribute/standard/Compression.java,
7501         javax/print/attribute/standard/CopiesSupported.java,
7502         javax/print/attribute/standard/Fidelity.java,
7503         javax/print/attribute/standard/Finishings.java,
7504         javax/print/attribute/standard/JobImpressionsSupported.java,
7505         javax/print/attribute/standard/JobKOctetsSupported.java,
7506         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7507         javax/print/attribute/standard/JobSheets.java,
7508         javax/print/attribute/standard/JobState.java,
7509         javax/print/attribute/standard/JobStateReason.java,
7510         javax/print/attribute/standard/JobStateReasons.java,
7511         javax/print/attribute/standard/Media.java,
7512         javax/print/attribute/standard/MediaSizeName.java,
7513         javax/print/attribute/standard/MultipleDocumentHandling.java,
7514         javax/print/attribute/standard/NumberUpSupported.java,
7515         javax/print/attribute/standard/OrientationRequested.java,
7516         javax/print/attribute/standard/PDLOverrideSupported.java,
7517         javax/print/attribute/standard/PageRanges.java,
7518         javax/print/attribute/standard/PresentationDirection.java,
7519         javax/print/attribute/standard/PrintQuality.java,
7520         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7521         javax/print/attribute/standard/PrinterMoreInfo.java,
7522         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7523         javax/print/attribute/standard/PrinterResolution.java,
7524         javax/print/attribute/standard/PrinterState.java,
7525         javax/print/attribute/standard/PrinterStateReason.java,
7526         javax/print/attribute/standard/PrinterStateReasons.java,
7527         javax/print/attribute/standard/PrinterURI.java,
7528         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7529         javax/print/attribute/standard/Severity.java,
7530         javax/print/attribute/standard/SheetCollate.java,
7531         javax/print/attribute/standard/Sides.java:
7532         Added serialVersionUID and removed final keyword where it doenst
7533         belong.
7534
7535 2004-05-15  Michael Koch  <konqueror@gmx.de>
7536
7537         * javax/print/PrintServiceLookup.java: New file.
7538
7539 2004-05-15  Michael Koch  <konqueror@gmx.de>
7540
7541         * javax/print/DocFlavor.java:
7542         Implemented all flavor classes.
7543
7544 2004-05-15  Michael Koch  <konqueror@gmx.de>
7545
7546         * javax/print/attribute/standard/ColorSupported.java,
7547         javax/print/attribute/standard/Compression.java,
7548         javax/print/attribute/standard/CopiesSupported.java,
7549         javax/print/attribute/standard/Fidelity.java,
7550         javax/print/attribute/standard/Finishings.java,
7551         javax/print/attribute/standard/JobImpressionsSupported.java,
7552         javax/print/attribute/standard/JobKOctetsSupported.java,
7553         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7554         javax/print/attribute/standard/JobSheets.java,
7555         javax/print/attribute/standard/JobState.java,
7556         javax/print/attribute/standard/JobStateReason.java,
7557         javax/print/attribute/standard/JobStateReasons.java,
7558         javax/print/attribute/standard/Media.java,
7559         javax/print/attribute/standard/MediaSizeName.java,
7560         javax/print/attribute/standard/MultipleDocumentHandling.java,
7561         javax/print/attribute/standard/NumberUpSupported.java,
7562         javax/print/attribute/standard/OrientationRequested.java,
7563         javax/print/attribute/standard/PDLOverrideSupported.java,
7564         javax/print/attribute/standard/PageRanges.java,
7565         javax/print/attribute/standard/PresentationDirection.java,
7566         javax/print/attribute/standard/PrintQuality.java,
7567         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7568         javax/print/attribute/standard/PrinterMoreInfo.java,
7569         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7570         javax/print/attribute/standard/PrinterResolution.java,
7571         javax/print/attribute/standard/PrinterState.java,
7572         javax/print/attribute/standard/PrinterStateReason.java,
7573         javax/print/attribute/standard/PrinterStateReasons.java,
7574         javax/print/attribute/standard/PrinterURI.java,
7575         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7576         javax/print/attribute/standard/Severity.java,
7577         javax/print/attribute/standard/SheetCollate.java,
7578         javax/print/attribute/standard/Sides.java: New files.
7579
7580 2004-05-15  Michael Koch  <konqueror@gmx.de>
7581
7582         * javax/print/Doc.java
7583         (getPrintData): Throws IOException.
7584         (getReaderForText): Likewise.
7585         (getStreamForBytes): Likewise.
7586         * javax/print/DocFlavor.java:
7587         Fixed filename in copyright.
7588         (serialVersionUID): New field.
7589         * javax/print/ServiceUIFactory.java:
7590         Made all constants final.
7591         * javax/print/AttributeException.java
7592         javax/print/MultiDoc.java
7593         javax/print/MultiDocPrintJob.java
7594         javax/print/MultiDocPrintService.java
7595         javax/print/StreamPrintService.java
7596         javax/print/URIException.java: New files.
7597         * javax/print/Makefile.am
7598         (EXTRA_DIST): Added all new files.
7599
7600 2004-05-15  Michael Koch  <konqueror@gmx.de>
7601
7602         * javax/print/attribute/standard/Copies.java,
7603         javax/print/attribute/standard/DateTimeAtCompleted.java,
7604         javax/print/attribute/standard/DateTimeAtCreation.java,
7605         javax/print/attribute/standard/DateTimeAtProcessing.java,
7606         javax/print/attribute/standard/DocumentName.java,
7607         javax/print/attribute/standard/JobHoldUntil.java,
7608         javax/print/attribute/standard/JobImpressions.java,
7609         javax/print/attribute/standard/JobImpressionsCompleted.java,
7610         javax/print/attribute/standard/JobKOctets.java,
7611         javax/print/attribute/standard/JobKOctetsProcessed.java,
7612         javax/print/attribute/standard/JobMediaSheets.java,
7613         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7614         javax/print/attribute/standard/JobMessageFromOperator.java,
7615         javax/print/attribute/standard/JobName.java,
7616         javax/print/attribute/standard/JobOriginatingUserName.java,
7617         javax/print/attribute/standard/JobPriority.java,
7618         javax/print/attribute/standard/JobPrioritySupported.java,
7619         javax/print/attribute/standard/NumberOfDocuments.java,
7620         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7621         javax/print/attribute/standard/NumberUp.java,
7622         javax/print/attribute/standard/OutputDeviceAssigned.java,
7623         javax/print/attribute/standard/PagesPerMinute.java,
7624         javax/print/attribute/standard/PagesPerMinuteColor.java:
7625         Fixed @return tag all over.
7626
7627 2004-05-15  Michael Koch  <konqueror@gmx.de>
7628
7629         * javax/print/attribute/AttributeSetUtilities.java
7630         (verifyCategoryForValue): Fixed typo in javadoc.
7631         * javax/print/attribute/HashAttributeSet.java
7632         (containsKey): Fixed @return tag.
7633         (comtainsValue): Likewise.
7634         (equals): Likewise.
7635         * javax/print/attribute/IntegerSyntax.java
7636         (equals): Likewise.
7637         * javax/print/attribute/ResolutionSyntax.java
7638         (equals): Likewise.
7639         (getCrossFeedResolution): Removed unused code.
7640         (getFeedResolution): Likewise.
7641         * javax/print/attribute/SetOfIntegerSyntax.java
7642         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7643         (equals): Fixed @return tag.
7644         * javax/print/attribute/TextSyntax.java
7645         (TextSyntax): Take locale into account.
7646         (hashCode): Better implementation.
7647
7648 2004-05-15  Michael Koch  <konqueror@gmx.de>
7649
7650         * javax/print/CancelablePrintJob.java,
7651         javax/print/Doc.java,
7652         javax/print/DocFlavor.java,
7653         javax/print/DocPrintJob.java,
7654         javax/print/FlavorException.java,
7655         javax/print/PrintException.java,
7656         javax/print/PrintService.java,
7657         javax/print/ServiceUIFactory.java: New files.
7658
7659 2004-05-15  Mark Wielaard  <mark@klomp.org>
7660
7661         * gnu/regexp/CharIndexedReader.java: Removed.
7662         * gnu/regexp/REFilterReader.java: Likewise.
7663         * gnu/regexp/RETokenLookAhead.java: Likewise.
7664         * Makefile.am (ordinary_java_source_files): Remove above classes.
7665         * Makefile.in: Regenerated.
7666
7667 2004-05-14  Tom Tromey  <tromey@redhat.com>
7668
7669         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7670         not `XGraphicsConfiguration.XOffScreenImage'.
7671
7672 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7673
7674         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7675
7676 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7677
7678         * include/jni.h (_Jv_func): Removed.
7679         (struct JNINativeInterface): Use `void *' for reserved slots.
7680         (struct JNIInvokeInterface): Likewise.
7681
7682 2004-05-11  Michael Koch  <konqueror@gmx.de>
7683
7684         * gnu/java/net/natPlainSocketImplPosix.cc
7685         (read): Fixed typo in expression.
7686
7687 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7688
7689         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7690         ld_library_additions. Adjust all calls to libjava_invoke to match
7691         the new argument.
7692
7693         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7694         path to cxxflagslist.
7695         Pass path of libstdc++ to libjava_invoke.
7696
7697         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7698         libjava_invoke arguments.
7699
7700 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7701
7702         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7703         reality.
7704
7705 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7706
7707         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7708         main binary against the JNI shared library.
7709
7710 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7711
7712         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7713         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7714         (SimpleTimeZone): Tweak docs.  Add new variation.
7715         (setStartRule,setEndRule): Add new variations.  Use
7716         startTimeMode and endTimeMode.
7717
7718 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7719
7720         * java/util/Calendar.java (getActualMinimum,
7721         getActualMaximum):  Remove abstract.  Implement.
7722
7723 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7724
7725         Run the jni tests using the interpreter.
7726         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7727         options_cxx to shared lib compile command.
7728         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7729         they are used to link the shared lib, not the main binary.
7730         Use libjava_invoke to run gij.
7731
7732 2004-05-06  Michael Koch  <konqueror@gmx.de>
7733
7734         * java/util/logging/Level.java
7735         (parse): Use == instead of String.equals().
7736
7737 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7738
7739         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7740         verify_field_signature and verify_method_signature, not 
7741         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7742         (_Jv_ClassReader::handleField): Likewise.
7743         (_Jv_ClassReader::handleMethod): Likewise.
7744
7745 2004-05-06  Michael Koch  <konqueror@gmx.de>
7746
7747         * javax/swing/table/TableColumn.java:
7748         Reformated.
7749
7750 2004-05-06  Michael Koch  <konqueror@gmx.de>
7751
7752         * javax/imageio/spi/ImageReaderWriterSpi.java
7753         (ImageReaderWriterSpi): Made it public.
7754         * javax/imageio/stream/ImageInputStream.java:
7755         Clean up imports.
7756
7757 2004-05-06  Michael Koch  <konqueror@gmx.de>
7758
7759         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7760         Removed empty line.
7761
7762 2004-05-06  Michael Koch  <konqueror@gmx.de>
7763
7764         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7765         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7766         New files.
7767         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7768         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7769         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7770         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7771         their own source file.
7772         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7773         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7774         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7775         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7776         (create): Define variable on top of function.
7777         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7778         (menu_pos): Prototyped.
7779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7780         (setTitle): Removed.
7781         * jni/gtk-peer/gthread-jni.c
7782         (gdk_threads_wake): Removed.
7783         * Makefile.am (gtk_c_source_files): Added new files
7784         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7785         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7786         * Makefile.in: Regenerated.
7787
7788 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7789
7790         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7791         call.
7792
7793 2004-05-05  Mark Wielaard  <mark@klomp.org>
7794
7795         * javax/swing/AbstractButton.java: Replace special HTML entities with
7796         ASCII equivalent.
7797         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7798         * javax/swing/DefaultButtonModel.java: Likewise.
7799         * javax/swing/DefaultListModel.java: Likewise.
7800         * javax/swing/JList.java: Likewise.
7801         * javax/swing/JSlider.java: Likewise.
7802         * javax/swing/ListModel.java: Likewise.
7803         * javax/swing/Popup.java: Likewise.
7804         * javax/swing/SwingUtilities.java: Likewise.
7805
7806 2004-05-05  Michael Koch  <konqueror@gmx.de>
7807
7808         * javax/swing/AbstractButton.java,
7809         javax/swing/ActionMap.java,
7810         javax/swing/DefaultButtonModel.java,
7811         javax/swing/DefaultListModel.java,
7812         javax/swing/ImageIcon.java,
7813         javax/swing/JComboBox.java,
7814         javax/swing/JComponent.java,
7815         javax/swing/JFrame.java,
7816         javax/swing/JInternalFrame.java,
7817         javax/swing/JMenuBar.java,
7818         javax/swing/JMenuItem.java,
7819         javax/swing/JOptionPane.java,
7820         javax/swing/JProgressBar.java,
7821         javax/swing/JRootPane.java,
7822         javax/swing/JScrollBar.java,
7823         javax/swing/JScrollPane.java,
7824         javax/swing/JSeparator.java,
7825         javax/swing/JSlider.java,
7826         javax/swing/JTabbedPane.java,
7827         javax/swing/JTable.java,
7828         javax/swing/JTextField.java,
7829         javax/swing/JToolBar.java,
7830         javax/swing/JToolTip.java,
7831         javax/swing/JTree.java,
7832         javax/swing/JViewport.java,
7833         javax/swing/JWindow.java,
7834         javax/swing/KeyStroke.java,
7835         javax/swing/LookAndFeel.java,
7836         javax/swing/SwingUtilities.java,
7837         javax/swing/Timer.java,
7838         javax/swing/ToolTipManager.java,
7839         javax/swing/UIDefaults.java,
7840         javax/swing/border/TitledBorder.java,
7841         javax/swing/filechooser/FileSystemView.java,
7842         javax/swing/plaf/basic/BasicButtonListener.java,
7843         javax/swing/plaf/basic/BasicButtonUI.java,
7844         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7845         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7846         javax/swing/plaf/basic/BasicLabelUI.java,
7847         javax/swing/plaf/basic/BasicMenuItemUI.java,
7848         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7849         javax/swing/plaf/basic/BasicRootPaneUI.java,
7850         javax/swing/plaf/basic/BasicScrollBarUI.java,
7851         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7852         javax/swing/plaf/basic/BasicSliderUI.java,
7853         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7854         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7855         javax/swing/table/JTableHeader.java,
7856         javax/swing/text/AbstractDocument.java,
7857         javax/swing/text/DefaultCaret.java,
7858         javax/swing/text/StyledEditorKit.java,
7859         javax/swing/tree/DefaultTreeCellEditor.java:
7860         Cleaned up imports.
7861
7862 2004-05-05  Michael Koch  <konqueror@gmx.de>
7863
7864         * java/util/prefs/AbstractPreferences.java
7865         (AbstractPreferences): Added parenthesis for clarity.
7866         Closes classpath bug #7940.
7867
7868 2004-05-05  Tom Tromey  <tromey@redhat.com>
7869
7870         * javax/naming/CompoundName.java (endsWith): Look at correct
7871         element of source name.
7872
7873 2004-05-05  Mark Wielaard  <mark@klomp.org>
7874
7875         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7876         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7877
7878 2004-05-05  Tom Tromey  <tromey@redhat.com>
7879
7880         * java/io/BufferedReader.java (skip): Removed unused
7881         variable.
7882
7883 2004-05-05  Michael Koch  <konqueror@gmx.de>
7884
7885         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7886
7887 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7888
7889         * java/text/AttributedString.java,
7890         java/text/AttributedStringIterator.java,
7891         java/text/Collator.java,
7892         java/text/DecimalFormatSymbols.java,
7893         java/text/NumberFormat.java,
7894         java/text/RuleBasedCollator.java:
7895         Cleaned up imports.
7896
7897 2004-05-05  Tom Tromey  <tromey@redhat.com>
7898
7899         * java/text/Format.java: Cleaned up imports.
7900         * java/text/DecimalFormat.java: Cleaned up imports.
7901         * java/security/SecureRandom.java: Cleaned up imports.
7902         (SecureRandom): Removed unused variable.
7903         * java/security/UnresolvedPermission.java: Cleaned up imports.
7904         * java/util/Date.java (parse): Removed unused variable.
7905         * java/util/ResourceBundle.java: Cleaned up imports.
7906         (getBundle): Removed unused variable.
7907         (tryBundle): Likewise.
7908         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7909
7910 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7911
7912         * java/text/SimpleDateFormat.java:
7913         (formatWithAttribute): New method. It implements
7914         the formatting process with attributes.
7915         (format): Use formatWithAttribute.
7916         (formatToCharacterIterator): New method. Use
7917         formatWithAttribute.
7918
7919 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7920
7921         * java/text/MessageFormat.java:
7922         (class Field): New class.
7923         (formatToCharacterIterator): New method.
7924         (format): Use formatInternal now.
7925         (formatInternal): New method. String formatter should
7926         be done here (with attributes). Attributes merging supported.
7927         (parse): More documentation.
7928         (getFormatsByArgumentIndex): New method.
7929         (setFormatByArgumentIndex): New method.
7930         (setFormatsByArgumentIndex): New method.
7931
7932 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7933
7934         * java/text/DecimalFormat.java
7935         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7936         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7937         (parse): Fixed handling of exponentiation notation and grouping.
7938
7939 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7940
7941         * java/text/DecimalFormat.java
7942         (scanFix): Build attribute array. Fixed error reporting.
7943         (applyPatternWithSymbols): Store attributes for the prefix and
7944         suffix.
7945         (formatInternal): New method. Changed the way the string is
7946         computed. Implemented attributes. Cleant up rounding in
7947         exponential notation.
7948         (format): Use formatInternal.
7949         (formatToCharacterIterator): New method.
7950         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7951         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7952         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7953         New fields.
7954
7955 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7956
7957         * java/security/interfaces/DSAKeyPairGenerator.java,
7958         java/security/interfaces/DSAPrivateKey.java,
7959         java/security/interfaces/DSAPublicKey.java,
7960         java/security/interfaces/RSAPrivateKey.java,
7961         java/security/interfaces/RSAPublicKey.java:
7962         Cleaned up imports.
7963
7964 2004-05-04  Michael Koch  <konqueror@gmx.de>
7965
7966         * java/nio/ByteBuffer.java,
7967         java/nio/CharBuffer.java,
7968         java/nio/DoubleBuffer.java,
7969         java/nio/FloatBuffer.java,
7970         java/nio/IntBuffer.java,
7971         java/nio/LongBuffer.java,
7972         java/nio/ShortBuffer.java:
7973         (compareTo): Fixed bogus implementation in all buffer classes.
7974
7975 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7976
7977         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7978         32 bit pixels not 8 bit pixels.
7979         (isCompatibleRaster): Added javadoc comment.
7980
7981 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7982
7983         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7984         scanline stride.
7985
7986 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7987
7988         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7989         (getColorModel): Return the actual color model.
7990         (getRaster): Implemented.
7991         (ColorRaster): New inner class.
7992         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7993         a PaintContext.
7994         * java/awt/Color.java (<init>): Make exception more verbose.
7995         (createContext): Use ColorModel when creating a PaintContext.
7996
7997 2004-05-04  Michael Koch  <konqueror@gmx.de>
7998
7999         * gnu/java/text/CharacterBreakIterator.java
8000         (previous): Removed unused variable.
8001
8002 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
8003
8004         * gnu/java/text/FormatBuffer.java,
8005         gnu/java/text/AttributedFormatBuffer.java,
8006         gnu/java/text/StringFormatBuffer.java: New classes to implement
8007         attributed iterators in java.text.
8008         * gnu/java/text/FormatCharacterIterator.java: Moved 
8009         from java/text as it is an internal class.
8010         * java/text/FormatCharacterIterator.java: Removed.
8011         * java/text/Format.java:
8012         Import gnu.java.text.FormatCharacterIterator.
8013         * Makefile.am (java_source_files): Added new files.
8014         * Makefile.in: Regenerated.
8015         
8016
8017 2004-05-04  Mark Wielaard  <mark@klomp.org>
8018
8019         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8020
8021 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8022
8023         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8024         * Makefile.in: Rebuilt.
8025
8026 2004-05-03  Mark Wielaard  <mark@klomp.org>
8027
8028         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8029         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8030         * java/net/URL.java
8031         (set(String, String, int, String, String, String, String, String)):
8032         Assign this.file to path or path + "?" + query.
8033         * java/util/Arrays.java: Call static methods staticly.
8034         * java/util/zip/ZipEntry.java: Likewise.
8035         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8036         dir to this.direction.
8037         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8038         Assign static field only once.
8039         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8040
8041 2004-05-03  Mark Wielaard  <mark@klomp.org>
8042
8043         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8044         unused variables hScrollbarHeight and vScrollbarWidth.
8045         (preferredSize): Likewise.
8046         * gnu/java/security/provider/DSAParameters.java (engineToString):
8047         Removed unused call to System.getProperty("line.seperator");
8048         * java/security/Security.java (loadProviders): Return result.
8049
8050 2004-05-03  Tom Tromey  <tromey@redhat.com>
8051
8052         * java/net/URLStreamHandler.java (toExternalForm): Removed
8053         unused variables.
8054         unused constructor.
8055         * java/math/BigDecimal.java (divide): Removed unused variable.
8056         * java/lang/Throwable.java: Cleaned up imports.
8057         * java/lang/ClassLoader.java: Cleaned up imports.
8058         * java/io/FilePermission.java (implies): Removed unused
8059         variable.
8060         * java/awt/TextComponent.java: Removed unused import.
8061         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8062         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8063         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8064         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8065         import.
8066         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8067         * gnu/java/text/CharacterBreakIterator.java: Removed
8068         unused import.
8069         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8070         Cleaned up imports.
8071         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8072         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8073         unused method.
8074         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8075         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8076         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8077         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8078         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8079         (lookupProviders): Removed unused variable.
8080         (loadNextServiceProvider): Likewise.
8081         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8082
8083 2004-05-03  Michael Koch  <konqueror@gmx.de>
8084
8085         Fixes PR libgcj/14695:
8086         * java/net/NetworkInterface.java
8087         (getByName): Return null when no interface was found.
8088
8089 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8090             Tom Tromey  <tromey@redhat.com>
8091
8092         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8093         additional option "-Wmissing-prototypes" for compiling C sources.
8094         Print actual filename for pass/fail rather than $name.c.
8095         * testsuite/libjava.jni/PR15133.java: New testcase file.
8096         * testsuite/libjava.jni/PR15133.c: Likewise.
8097         * testsuite/libjava.jni/PR15133.out: Likewise.
8098
8099 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8100
8101         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8102         ceil and floor.
8103
8104 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8105         
8106         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8107         limit the maximum heap size to avoid unnecessary thrashing.
8108
8109 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8110
8111         * java/text/CollationElementIterator.java (reset): Reset
8112         lookahead variables.
8113
8114 2004-04-23  Mark Wielaard  <mark@klomp.org>
8115
8116         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8117
8118 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8119
8120         * java/sql/DriverManager.java:
8121         Cleaned up imports.
8122
8123 2004-04-23  Michael Koch  <konqueror@gmx.de>
8124
8125         * java/net/URL.java
8126         (hashcode): Don't initialize with default value explicitely.
8127         (getContent): Removed redundant "final" keyword.
8128         (openStream): Likewise.
8129         (getURLStreamHandler): Fixed coding style.
8130         * java/net/URLConnection.java
8131         (defaultAllowUserInteraction): Don't initialize with default value
8132         explicitely.
8133         (connected): Likewise.
8134         (doOutput): Likewise.
8135         (ifModifiedSince): Likewise.
8136         (dateformats_initialized): Likewise.
8137         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8138
8139 2004-04-23  Michael Koch  <konqueror@gmx.de>
8140
8141         * gnu/java/nio/channels/FileChannelImpl.java
8142         (SET, CUR): Unused, removed.
8143         (read): Implement here directly.
8144         (implRead): Removed.
8145         (write): Implement here directly.
8146         (implWrite): Removed.
8147
8148 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8149
8150         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8151         javax/rmi/CORBA/Stub.java,
8152         javax/rmi/CORBA/Util.java,
8153         javax/rmi/CORBA/ValueHandler.java,
8154         javax/rmi/CORBA/ValueHandler.java,
8155         javax/rmi/PortableRemoteObject.java:
8156         Cleaned up imports.
8157
8158 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8159
8160         * java/util/jar/JarFile.java,
8161         java/util/jar/JarInputStream.java,
8162         java/util/jar/JarOutputStream.java,
8163         java/util/jar/Manifest.java:
8164         Cleaned up imports.
8165
8166 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8167
8168         * java/util/ArrayList.java,
8169         java/util/Calendar.java,
8170         java/util/Currency.java,
8171         java/util/HashMap.java,
8172         java/util/HashSet.java,
8173         java/util/Hashtable.java,
8174         java/util/LinkedList.java,
8175         java/util/Properties.java,
8176         java/util/PropertyPermission.java,
8177         java/util/TimeZone.java,
8178         java/util/TreeMap.java,
8179         java/util/TreeSet.java,
8180         java/util/Vector.java,
8181         java/util/WeakHashMap.java:
8182         Cleaned up imports.
8183
8184 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8185
8186         * java/util/logging/FileHandler.java,
8187         java/util/logging/Formatter.java,
8188         java/util/logging/Handler.java,
8189         java/util/logging/Logger.java,
8190         java/util/logging/SimpleFormatter.java,
8191         java/util/logging/XMLFormatter.java:
8192         Cleaned up imports.
8193
8194 2004-04-22  Mark Wielaard  <mark@klomp.org>
8195
8196         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8197         -Wno-long-long flags variable.
8198         (gtk_c_files): Use PEDANTIC_CFLAGS.
8199         * Makefile.in: Regenerated.
8200
8201 2004-04-22  Mark Wielaard  <mark@klomp.org>
8202
8203         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8204         Changed C++ comments into C comments.
8205         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8206         Likewise.
8207
8208 2004-04-22  Michael Koch  <konqueror@gmx.de>
8209
8210         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8211         Merged copyright year with GNU classpath.
8212
8213 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8214
8215         * javax/security/auth/x500/X500Principal.java:
8216         Cleaned up imports.
8217
8218 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8219
8220         * javax/swing/JSlider.java:
8221         Fixed HTML tags in comments.
8222
8223 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8224
8225         * javax/accessibility/AccessibleText.java:
8226         Cleaned up imports.
8227
8228 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8229
8230         * java/net/URLStreamHandler.java
8231         (parseURL): Convert the file path to using '/' instead of native
8232         file separator.
8233
8234 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8235
8236         * java/net/URL.java
8237         (userInfo): New field.
8238         (URL): Set authority to the right value.
8239         (setURL): Fixed authority and file initialization.
8240         * java/net/URLStreamHandler.java
8241         (parseURL): Take care of the query tag. Build authority.
8242         (toExternalForm): Fixed URL building using authority.
8243
8244 2004-04-22  Michael Koch  <konqueror@gmx.de>
8245
8246         * java/net/Socket.java
8247         (impl): Made package-private.
8248         * java/net/ServerSocket.java
8249         (implAccept): Access Socket.impl field directly.
8250
8251 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8252
8253         * java/util/prefs/Preferences.java,
8254         java/util/prefs/InvalidPreferencesFormatException.java,
8255         java/util/prefs/BackingStoreException.java,
8256         java/util/prefs/AbstractPreferences.java:
8257         Cleaned up imports.
8258
8259 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8260
8261         * java/util/regex/Matcher.java,
8262         java/util/regex/Pattern.java:
8263         Cleaned up imports.
8264
8265 2004-04-22  Michael Koch  <konqueror@gmx.de>
8266
8267         * java/nio/charset/IllegalCharsetNameException.java
8268         (charsetName): Made private.
8269         (IllegalCharsetNameException): Added @param tag to javadoc.
8270         (getCharsetName): Added @return tag to javadoc.
8271         * java/nio/charset/MalformedInputException.java
8272         (MalformedInputException): Added @param tag to javadoc.
8273         (getInputLength): Revised method description, added @return tag.
8274         (getMessage): Added @return tag.
8275
8276 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8277
8278         * java/awt/Font.java (deriveFont): Implement missing variants.
8279         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8280         missing variants.
8281
8282 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8283
8284         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8285         Set method->index values for interface methods to their itable index.
8286         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8287
8288 2004-04-21  Michael Koch  <konqueror@gmx.de>
8289
8290         * java/nio/DirectByteBufferImpl.java
8291         (shiftDown): Made static, give address as argument and
8292         provide a convenience method that overwrites shiftDown in
8293         ByteBufferImpl and calls the native shiftDown.
8294         * java/nio/MappedByteBufferImpl.java
8295         (): Use optimized method in DirectByteBufferImpl.
8296         * java/nio/natDirectByteBufferImpl.cc
8297         (shiftDown): Changed method signature. Removed usage of array_offset.
8298
8299 2004-04-21  Michael Koch  <konqueror@gmx.de>
8300
8301         * gnu/java/net/natPlainSocketImplPosix.cc
8302         (SocketInputStream::read): Make sure returned data is a byte value.
8303
8304 2004-04-21  Michael Koch  <konqueror@gmx.de>
8305
8306         * gnu/classpath/ServiceFactory.java,
8307         gnu/classpath/ServiceProviderLoadingAction.java,
8308         javax/imageio/ImageReader.java,
8309         javax/imageio/ImageTranscoder.java,
8310         javax/imageio/ImageWriter.java,
8311         javax/imageio/package.html,
8312         javax/imageio/spi/IIOServiceProvider.java,
8313         javax/imageio/spi/ImageInputStreamSpi.java,
8314         javax/imageio/spi/ImageOutputStreamSpi.java,
8315         javax/imageio/spi/ImageReaderWriterSpi.java,
8316         javax/imageio/spi/ImageTranscoderSpi.java,
8317         javax/imageio/spi/RegisterableService.java,
8318         javax/imageio/spi/ServiceRegistry.java,
8319         javax/imageio/spi/package.html,
8320         javax/imageio/stream/IIOByteBuffer.java,
8321         javax/imageio/stream/ImageInputStream.java,
8322         javax/imageio/stream/ImageOutputStream.java,
8323         javax/imageio/stream/package.html:
8324         New files.
8325         * Makefile.am
8326         (ordinary_java_source_files): Added
8327         gnu/classpath/ServiceFactory.java and
8328         gnu/classpath/ServiceProviderLoadingAction.java.
8329         (javax_source_files): Added
8330         javax/imageio/ImageReader.java,
8331         javax/imageio/ImageTranscoder.java,
8332         javax/imageio/ImageWriter.java,
8333         javax/imageio/spi/IIOServiceProvider.java,
8334         javax/imageio/spi/ImageInputStreamSpi.java,
8335         javax/imageio/spi/ImageOutputStreamSpi.java,
8336         javax/imageio/spi/ImageReaderWriterSpi.java,
8337         javax/imageio/spi/ImageTranscoderSpi.java,
8338         javax/imageio/spi/RegisterableService.java,
8339         javax/imageio/spi/ServiceRegistry.java,
8340         javax/imageio/stream/IIOByteBuffer.java,
8341         javax/imageio/stream/ImageInputStream.java and
8342         javax/imageio/stream/ImageOutputStream.java.
8343         * Makefile.in: Regenerated.
8344
8345 2004-04-21  Michael Koch  <konqueror@gmx.de>
8346
8347         * java/util/Properties.java
8348         (load): Fix wrongly merged fix.
8349
8350 2004-04-21  Mark Wielaard  <mark@klomp.org>
8351
8352         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8353         malloc and free buf.
8354
8355 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8356
8357         * javax/naming/AuthenticationException.java,
8358         javax/naming/AuthenticationNotSupportedException.java,
8359         javax/naming/CannotProceedException.java,
8360         javax/naming/CommunicationException.java,
8361         javax/naming/CompoundName.java,
8362         javax/naming/ConfigurationException.java,
8363         javax/naming/ContextNotEmptyException.java,
8364         javax/naming/InitialContext.java,
8365         javax/naming/InsufficientResourcesException.java,
8366         javax/naming/InterruptedNamingException.java,
8367         javax/naming/LimitExceededException.java,
8368         javax/naming/LinkException.java,
8369         javax/naming/LinkLoopException.java,
8370         javax/naming/LinkRef.java,
8371         javax/naming/MalformedLinkException.java,
8372         javax/naming/Name.java,
8373         javax/naming/NameAlreadyBoundException.java,
8374         javax/naming/NameNotFoundException.java,
8375         javax/naming/NamingSecurityException.java,
8376         javax/naming/NoInitialContextException.java,
8377         javax/naming/NoPermissionException.java,
8378         javax/naming/NotContextException.java,
8379         javax/naming/PartialResultException.java,
8380         javax/naming/ReferralException.java,
8381         javax/naming/ServiceUnavailableException.java,
8382         javax/naming/SizeLimitExceededException.java,
8383         javax/naming/TimeLimitExceededException.java,
8384         javax/naming/directory/Attribute.java,
8385         javax/naming/directory/Attributes.java,
8386         javax/naming/directory/SearchResult.java,
8387         javax/naming/event/NamingExceptionEvent.java,
8388         javax/naming/spi/ResolveResult.java:
8389         Cleaned up imports.
8390
8391 2004-04-21  Mark Wielaard  <mark@klomp.org>
8392
8393         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8394         Changed C++ comments into C comments. Removed commented out code.
8395         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8396         Likewise.
8397         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8398         Likewise.
8399         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8400         Likewise.
8401         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8402         Likewise.
8403         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8404         Likewise.
8405         * native/jni/gtk-peer/gthread-jni.c:
8406         Likewise.
8407
8408 2004-04-21  Mark Wielaard  <mark@klomp.org>
8409
8410         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8411         static fields defined in interface.
8412         * javax/awt/JDialog.java: Likewise.
8413         (JDialog): Make constructors public.
8414         (getDefaultCloseOperation): Make public.
8415         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8416         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8417         * javax/swing/JViewport.java (JViewport): Make constructor public.
8418
8419 2004-04-21  Michael Koch  <konqueror@gmx.de>
8420
8421         * java/util/Map.java
8422         (Entry): Removed redundant "static" modifier.
8423         * java/text/AttributedCharacterIterator.java:
8424         Updated copyright year.
8425
8426 2004-04-20  Michael Koch  <konqueror@gmx.de>
8427
8428         * javax/naming/directory/SearchControls.java:
8429         Don't explicitely extend java.lang.Object.
8430         * javax/naming/spi/DirStateFactory.java:
8431         Merged copyright year with GNU classpath.
8432
8433 2004-04-20  Michael Koch  <konqueror@gmx.de>
8434
8435         * java/nio/channels/Channels.java:
8436         Merged coding style with GNU classpath.
8437
8438 2004-04-20  Michael Koch  <konqueror@gmx.de>
8439
8440         * java/net/ServerSocket.java
8441         Merged coding style from GNU classpath.
8442
8443 2004-04-20  Michael Koch  <konqueror@gmx.de>
8444
8445         * java/io/BufferedWriter.java:
8446         Reordered variables to be at top of the class.
8447         (localFlush): Removed redundant final keyword.
8448
8449 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8450
8451         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8452
8453 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8454
8455         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8456         for percent and permill check.
8457
8458 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8459
8460         * java/text/FieldPosition.java
8461         (FieldPosition) Constructor now behaves as it should according
8462         to the java documentation.
8463
8464 2004-04-20  Mark Wielaard  <mark@klomp.org>
8465
8466         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8467         documentation.
8468
8469 2004-04-20  Michael Koch  <konqueror@gmx.de>
8470
8471         * java/nio/Buffer.java,
8472         java/nio/channels/AlreadyConnectedException.java,
8473         java/nio/channels/AsynchronousCloseException.java,
8474         java/nio/channels/ByteChannel.java,
8475         java/nio/channels/CancelledKeyException.java,
8476         java/nio/channels/Channel.java,
8477         java/nio/channels/Channels.java,
8478         java/nio/channels/ClosedByInterruptException.java,
8479         java/nio/channels/ClosedChannelException.java,
8480         java/nio/channels/ClosedSelectorException.java,
8481         java/nio/channels/ConnectionPendingException.java,
8482         java/nio/channels/DatagramChannel.java,
8483         java/nio/channels/FileChannel.java,
8484         java/nio/channels/FileLock.java,
8485         java/nio/channels/FileLockInterruptionException.java,
8486         java/nio/channels/GatheringByteChannel.java,
8487         java/nio/channels/IllegalBlockingModeException.java,
8488         java/nio/channels/IllegalSelectorException.java,
8489         java/nio/channels/InterruptibleChannel.java,
8490         java/nio/channels/NoConnectionPendingException.java,
8491         java/nio/channels/NonReadableChannelException.java,
8492         java/nio/channels/NonWritableChannelException.java,
8493         java/nio/channels/NotYetBoundException.java,
8494         java/nio/channels/NotYetConnectedException.java,
8495         java/nio/channels/OverlappingFileLockException.java,
8496         java/nio/channels/Pipe.java,
8497         java/nio/channels/ReadableByteChannel.java,
8498         java/nio/channels/ScatteringByteChannel.java,
8499         java/nio/channels/SelectableChannel.java,
8500         java/nio/channels/SelectionKey.java,
8501         java/nio/channels/Selector.java,
8502         java/nio/channels/ServerSocketChannel.java,
8503         java/nio/channels/SocketChannel.java,
8504         java/nio/channels/UnresolvedAddressException.java,
8505         java/nio/channels/UnsupportedAddressTypeException.java,
8506         java/nio/channels/WritableByteChannel.java,
8507         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8508         java/nio/channels/spi/AbstractSelectableChannel.java,
8509         java/nio/channels/spi/AbstractSelectionKey.java,
8510         java/nio/channels/spi/AbstractSelector.java,
8511         java/nio/channels/spi/SelectorProvider.java,
8512         java/nio/charset/spi/CharsetProvider.java:
8513         Fixed javadocs and jalopied all over java.nio.
8514
8515 2004-04-20  Michael Koch  <konqueror@gmx.de>
8516
8517         * java/nio/ByteBufferImpl.java,
8518         java/nio/CharBufferImpl.java,
8519         java/nio/DirectByteBufferImpl.java,
8520         java/nio/DoubleBufferImpl.java,
8521         java/nio/DoubleViewBufferImpl.java,
8522         java/nio/FloatBufferImpl.java,
8523         java/nio/FloatViewBufferImpl.java,
8524         java/nio/IntBufferImpl.java,
8525         java/nio/IntViewBufferImpl.java,
8526         java/nio/LongBufferImpl.java,
8527         java/nio/LongViewBufferImpl.java,
8528         java/nio/MappedByteBufferImpl.java,
8529         java/nio/ShortBufferImpl.java,
8530         java/nio/ShortViewBufferImpl.java:
8531         Made sure all classes are final and removed final keyword from all
8532         methods.
8533
8534 2004-04-20  Michael Koch  <konqueror@gmx.de>
8535
8536         * java/rmi/MarshalledObject.java,
8537         java/rmi/Naming.java,
8538         java/rmi/RemoteException.java,
8539         java/rmi/activation/ActivationException.java,
8540         java/rmi/server/ServerCloneException.java,
8541         java/security/AccessController.java,
8542         java/security/AlgorithmParameterGenerator.java,
8543         java/security/AlgorithmParameters.java,
8544         java/security/CodeSource.java,
8545         java/security/Identity.java,
8546         java/security/IdentityScope.java,
8547         java/security/KeyPairGenerator.java,
8548         java/security/KeyStore.java,
8549         java/security/Security.java,
8550         java/security/Signature.java,
8551         java/security/SignatureSpi.java,
8552         java/security/SignedObject.java,
8553         java/security/spec/DSAParameterSpec.java,
8554         java/security/spec/DSAPrivateKeySpec.java,
8555         java/security/spec/DSAPublicKeySpec.java,
8556         java/sql/Array.java,
8557         java/sql/DatabaseMetaData.java,
8558         java/sql/ResultSet.java,
8559         java/text/ChoiceFormat.java,
8560         java/text/CollationElementIterator.java,
8561         java/text/CollationKey.java,
8562         java/text/Collator.java,
8563         java/text/DateFormat.java,
8564         java/text/DateFormatSymbols.java,
8565         java/text/DecimalFormatSymbols.java,
8566         java/text/Format.java,
8567         java/text/ParsePosition.java,
8568         java/text/RuleBasedCollator.java,
8569         java/text/SimpleDateFormat.java,
8570         java/text/StringCharacterIterator.java,
8571         java/util/Collections.java,
8572         java/util/PropertyResourceBundle.java,
8573         java/util/ResourceBundle.java,
8574         java/util/StringTokenizer.java,
8575         java/util/jar/Attributes.java,
8576         java/util/logging/ConsoleHandler.java,
8577         java/util/logging/LogManager.java,
8578         java/util/logging/MemoryHandler.java,
8579         java/util/logging/SocketHandler.java,
8580         javax/naming/NamingException.java:
8581         Fixed javadoc, coding style and argument names all over.
8582
8583 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8584
8585         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8586         constructor. (valid) Added null check.
8587
8588 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8589
8590         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8591         * java/io/FileOutputStream.java
8592         (FileOutputStream) Reorganized constructors. Constructors now
8593         check whether the given path is directory.
8594
8595 2004-04-20  Michael Koch  <konqueror@gmx.de>
8596
8597         * java/net/Authenticator.java,
8598         java/net/BindException.java,
8599         java/net/ConnectException.java,
8600         java/net/ContentHandler.java,
8601         java/net/ContentHandlerFactory.java,
8602         java/net/DatagramPacket.java,
8603         java/net/DatagramSocket.java,
8604         java/net/DatagramSocketImpl.java,
8605         java/net/DatagramSocketImplFactory.java,
8606         java/net/FileNameMap.java,
8607         java/net/HttpURLConnection.java,
8608         java/net/Inet4Address.java,
8609         java/net/Inet6Address.java,
8610         java/net/InetAddress.java,
8611         java/net/InetSocketAddress.java,
8612         java/net/JarURLConnection.java,
8613         java/net/MalformedURLException.java,
8614         java/net/MulticastSocket.java,
8615         java/net/NetPermission.java,
8616         java/net/NetworkInterface.java,
8617         java/net/NoRouteToHostException.java,
8618         java/net/PasswordAuthentication.java,
8619         java/net/PortUnreachableException.java,
8620         java/net/ProtocolException.java,
8621         java/net/ServerSocket.java,
8622         java/net/Socket.java,
8623         java/net/SocketAddress.java,
8624         java/net/SocketException.java,
8625         java/net/SocketImpl.java,
8626         java/net/SocketImplFactory.java,
8627         java/net/SocketOptions.java,
8628         java/net/SocketPermission.java,
8629         java/net/SocketTimeoutException.java,
8630         java/net/URI.java,
8631         java/net/URISyntaxException.java,
8632         java/net/URL.java,
8633         java/net/URLClassLoader.java,
8634         java/net/URLConnection.java,
8635         java/net/URLDecoder.java,
8636         java/net/URLEncoder.java,
8637         java/net/URLStreamHandler.java,
8638         java/net/URLStreamHandlerFactory.java,
8639         java/net/UnknownHostException.java,
8640         java/net/UnknownServiceException.java:
8641         Fixed javadocs, coding style and argument names all over.
8642
8643 2004-04-20  Michael Koch  <konqueror@gmx.de>
8644
8645         * java/lang/Byte.java,
8646         java/lang/CharSequence.java,
8647         java/lang/ClassLoader.java,
8648         java/lang/Compiler.java,
8649         java/lang/Double.java,
8650         java/lang/Float.java,
8651         java/lang/Integer.java,
8652         java/lang/Long.java,
8653         java/lang/Math.java,
8654         java/lang/Number.java,
8655         java/lang/Package.java,
8656         java/lang/Runtime.java,
8657         java/lang/RuntimePermission.java,
8658         java/lang/SecurityManager.java,
8659         java/lang/Short.java,
8660         java/lang/StringBuffer.java,
8661         java/lang/System.java,
8662         java/lang/ThreadGroup.java,
8663         java/lang/Throwable.java,
8664         java/lang/reflect/InvocationHandler.java,
8665         java/lang/reflect/Proxy.java:
8666         Fixed javadocs, coding style and argument names all over.
8667
8668 2004-04-20  Michael Koch  <konqueror@gmx.de>
8669
8670         * java/io/BufferedWriter.java,
8671         java/io/ByteArrayInputStream.java,
8672         java/io/CharArrayWriter.java,
8673         java/io/DataInput.java,
8674         java/io/DataInputStream.java,
8675         java/io/File.java,
8676         java/io/FilterInputStream.java,
8677         java/io/InputStream.java,
8678         java/io/InputStreamReader.java,
8679         java/io/ObjectInputStream.java,
8680         java/io/ObjectStreamClass.java,
8681         java/io/PipedInputStream.java,
8682         java/io/PipedReader.java,
8683         java/io/PushbackInputStream.java,
8684         java/io/PushbackReader.java,
8685         java/io/RandomAccessFile.java,
8686         java/io/SerializablePermission.java,
8687         java/io/StreamTokenizer.java,
8688         java/io/StringWriter.java,
8689         java/io/WriteAbortedException.java,
8690         java/io/Writer.java:
8691         Fixed javadocs all over, rename arguments to match javadocs,
8692         fixed coding style.
8693
8694 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8695
8696         * java/awt/FontMetrics.java:
8697         (charsWidth): fixed accumulation of total_width
8698         (getWidth): simple default implementation
8699         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8700         in Rectangle constructor.
8701         * java/awt/image/Raster.java (toString): Added method. 
8702         * java/awt/image/SampleModel.java (<init>): Added error cause
8703         information to thrown exception.
8704         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8705         New method.
8706         (setDataElements): New method.
8707         (setPixels): New method.
8708         (toString): New method.
8709
8710 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8711
8712         * java/awt/image/ComponentColorModel.java
8713         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8714         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8715         Mauve tests on this method. Improved documentation.
8716
8717 2004-04-20  Michael Koch  <konqueror@gmx.de>
8718
8719         * javax/swing/JLayeredPane.java,
8720         javax/swing/plaf/BorderUIResource.java,
8721         javax/swing/plaf/ComponentUI.java,
8722         javax/swing/undo/CompoundEdit.java,
8723         javax/swing/undo/StateEdit.java:
8724         Fixed HTML tags in javadocs all over.
8725
8726 2004-04-20  Michael Koch  <konqueror@gmx.de>
8727
8728         * javax/print/attribute/EnumSyntax.java
8729         (getOffset): Made protected.
8730         * javax/print/attribute/HashAttributeSet.java
8731         (HashAttributeSet): Likewise.
8732         * javax/print/attribute/ResolutionSyntax.java
8733         (getFeedResolution): Fixed typo in exception name.
8734         (getCrossFeedResolution): Likewise.
8735         * javax/print/attribute/SetOfIntegerSyntax.java
8736         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8737         * javax/print/attribute/TextSyntax.java
8738         (TextSyntax): Handle locale correctly.
8739         (hashCode): Calc better hashcode value.
8740         (equals): Fixed @return tag.
8741         (toString): New method.
8742
8743 2004-04-20  Michael Koch  <konqueror@gmx.de>
8744
8745         * gnu/java/nio/FileLockImpl.java
8746         (static): Removed, not needed anymore.
8747         * gnu/java/nio/channels/FileChannelImpl.java
8748         (FileChannelImpl): Made final.
8749         (mode): Made private.
8750         (READ, WRITE, APPEND): Made public.
8751         (EXCL, SYNC, DSYNC): Likewise.
8752         (static): Load native JNI library, when needed.
8753         (length): Unused, removed.
8754         (available): Made public.
8755         (implPosition): Throws IOException.
8756         (seek): Likewise.
8757         (implTruncate): Likewise.
8758         (unlock): Likewise.
8759         (lock): Likewise.
8760
8761 2004-04-20  Michael Koch  <konqueror@gmx.de>
8762
8763         * java/awt/AWTPermission.java,
8764         java/awt/Component.java,
8765         java/awt/ComponentOrientation.java,,
8766         java/awt/Dialog.java,
8767         java/awt/FontMetrics.java,
8768         java/awt/Graphics.java,
8769         java/awt/datatransfer/DataFlavor.java,
8770         java/beans/Introspector.java,
8771         java/beans/PropertyEditor.java,
8772         java/beans/PropertyEditorManager.java,
8773         java/beans/beancontext/BeanContextServiceProvider.java:
8774         Fixed HTML tags in javadocs all over.
8775
8776 2004-04-20  Mark Wielaard  <mark@klomp.org>
8777
8778         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8779         MissingResourceException is thrown.
8780         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8781         null when a MissingResourceException is thrown. Should never happen.
8782
8783 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8784
8785         * java/awt/image/DataBufferShort.java,
8786         java/awt/image/DataBufferFloat.java,
8787         java/awt/image/DataBufferDouble.java,
8788         java/awt/image/PixelInterleavedSampleModel.java: New files.
8789         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8790         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8791
8792 2004-04-20  Michael Koch  <konqueror@gmx.de>
8793
8794         * Makefile.am (java_source_files): Added
8795         java/awt/image/DataBufferDouble.java,
8796         java/awt/image/DataBufferFloat.java,
8797         java/awt/image/DataBufferShort.java and
8798         java/awt/image/PixelInterleavedSampleModel.java.
8799         * Makefile.in: Regenerated.
8800
8801 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8802  
8803         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8804         undocumented CNI calls.
8805         * include/java-interp.h (_Jv_InterpClass): No longer
8806         extends java.lang.Class.
8807         * java/lang/Class.h (Class): Add new field `aux_info'.
8808         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8809         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8810         Use Class->aux_info instead.
8811         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8812         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8813         Use Class->aux_info instead.
8814         * java/io/natObjectInputStream.cc (allocateObject): Use
8815         _Jv_AllocObject.
8816         * java/lang/natClass.cc (newInstance): Likewise.
8817         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8818         * java/lang/natObject.cc (clone): Likewise.
8819         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8820         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8821         JvAllocObject. Allocate klass->aux_info here for interpreted
8822         class.
8823         
8824 2004-04-17  Mark Wielaard  <mark@klomp.org>
8825
8826         * javax/swing/JToggleButton.java (ToggleButtonModel):
8827         Make public static inner class.
8828         * javax/swing/JTabbedPane.java (setComponentAt):
8829         Call Page.setComponent().
8830         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8831         (WRAP_TAB_LAYOUT): Make public, value is 0.
8832         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8833         Make private static inner class.
8834
8835 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8836
8837         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8838         arguments to match new signature. Remove FIXME comments.
8839
8840 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8841
8842         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8843         Remove method.
8844         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8845         unused code.
8846
8847 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8848
8849         * Makefile.am: Added new file.
8850         * Makefile.in: Regenerate.
8851         * javax/swing/ImageIcon.java: 
8852         (ImageIcon(file)): set description of the icon 
8853         to the file name
8854         * javax/swing/JCheckBoxMenuItem.java:
8855         Mostly Implemented. Work in progress.
8856         * javax/swing/JRadioButtonMenuItem.java:
8857         Reimplement constructors to use JToggleButtonModel.
8858         * javax/swing/plaf/basic/BasicIconFactory.java:
8859         (getCheckBoxMenuItemIcon): return check box
8860         icon.
8861         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8862         paint menu item selected only when it is armed and 
8863         pressed. 
8864  
8865 2004-04-02  David Jee  <djee@redhat.com>
8866
8867         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8868         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8869         * java/awt/Component.java
8870         (add): Set the parent of the popup as this component.
8871         * java/awt/PopupMenu.java
8872         (addNotify): Create popup menu when peer is null.
8873         (show): Call addNotify() if peer is null.
8874         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8875         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8876         argument for gtk_menu_popup() as zero. This causes the popup menu to
8877         respond to any mouse button.
8878
8879 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8880
8881         * Makefile.am: Added new file.
8882         * Makefile.in: Regenerate.
8883         * javax/swing/JRadioButtonMenuItem.java:
8884         Implemented.
8885         * javax/swing/plaf/basic/BasicIconFactory.java:
8886         (getRadioButtonMenuItemIcon): Return
8887         radio button icon.
8888         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8889         (getPreferredSize): Add size of checkIcon if it
8890         exists.
8891         (installDefaults): Don't initialize checkIcon.
8892         It's value will be set in subclasses. 
8893         (uninstallDefaults): remove uninstallation of 
8894         checkIcon.
8895         (paint): Moved code to paintMenuItem().
8896         (paintMenuItem): Implemented.
8897         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8898         UI delegate for JRadioButtonMenuItem.
8899         
8900 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8901
8902         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8903         Corrected position of the accelerator.
8904
8905 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8906
8907         * Makefile.am: Added new file. 
8908         * Makefile.in: Regenerate.
8909         * javax/swing/JMenuItem.java: Partly 
8910         implemented. Work in progress
8911         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8912         Changed default value of acceleratorDelimiter.
8913         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8914         New class. Partly implemented.
8915                 
8916 2004-03-26  Mark Wielaard  <mark@klomp.org>
8917
8918         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8919         (item_activate): Declare label before use.
8920         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8921         (gtkSetFont): Removed unused variable label.
8922         (addExposeFilter): Declare variables before use.
8923         (removeExposeFilter): Likewise.
8924         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8925         (ok_clicked): Declare str_fileName before use.
8926
8927 2004-03-26  David Jee  <djee@redhat.com>
8928
8929         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8930         (addSeparator): Remove.
8931         * java/awt/Menu.java
8932         (separator): Remove static final MenuItem field.
8933         (separatorLabel): New static final String field.
8934         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8935         Use separatorLabel to denote that it is a separator.
8936         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8937         of reusing the static separator instance, because a MenuItem instance
8938         can't be added more than once without being cloned.
8939         * java/awt/peer/MenuPeer.java
8940         (addSeparator): Remove from interface.
8941
8942 2004-03-26  David Jee  <djee@redhat.com>
8943
8944         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8945         (connectSignals): New native method declaration.
8946         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8947         * java/awt/MenuItem.java
8948         (getActionCommand): Return the label if the action command is not set.
8949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8950         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8951         gtk_menu_shell_append().
8952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8953         (item_activate): Fix argument type.
8954         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8955         signal here.
8956         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8957         method.
8958         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8959         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8960         given. Add the menu widget's top-level GtkWindow to the global window
8961         group, so it can grab the pointer.
8962         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8963         gtk_menu_shell_append().
8964
8965 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8966
8967         * java/text/AttributedString.java 
8968         (addAttribute): Fix off-by-one.
8969         (getIterator): Likewise.        
8970         * java/text/AttributedStringIterator.java 
8971         (getRunLimit): Correct logic.
8972         (getRunStart): Likewise.
8973         (getAttribute): Fix inequality.
8974         (getAttributes): Likewise.
8975         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8976
8977 2004-03-23  Kim Ho  <kho@redhat.com>
8978
8979         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8980         (calculateSizes): Return real width and height.
8981
8982 2004-03-23  Kim Ho  <kho@redhat.com>
8983
8984         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8985         (calculateTabRects): Set the selectedRun before
8986         trying to rotate tabs.
8987
8988 2004-03-23  Kim Ho  <kho@redhat.com>
8989
8990         * Makefile.am: New file
8991         * Makefile.in: Regenerate
8992         * java/awt/Graphics.java: (drawRect):
8993         Draw to the correct point.
8994         * javax/swing/DefaultSingleSelectionModel.java
8995         (isSelected): Return true if the selected index
8996         is not -1.
8997         * javax/swing/JLabel.java: Do not change mnemonic
8998         index if text is null.
8999         * javax/swing/JProgressBar.java: Use JComponent's
9000         EventListenerList.
9001         * javax/swing/JScrollBar.java: Ditto.
9002         * javax/swing/JSlider.java: Ditto.
9003         * javax/swing/JTabbedPane.java: Reimplement.
9004         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9005         Add defaults for TabbedPane.
9006         * javax/swing/plaf/basic/BasicArrowButton.java:
9007         Implement
9008         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9009         (paintDeterminate): Don't paint String if it's
9010         empty.
9011         (paintIndeterminate): ditto.
9012         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9013         Reimplement.
9014
9015 2004-03-19  Michael Koch  <konqueror@gmx.de>
9016
9017         * java/awt/image/AffineTransformOp.java
9018         (AffineTransformOp): Made public.
9019         * javax/swing/JComponent.java
9020         (listenerList): Made protected.
9021         (accessibleContext): Likewise.
9022         * javax/swing/JList.java
9023         (valueChanged): Dont use internal fields of ListSelectionEvent.
9024         * javax/swing/JViewport.java
9025         (getView): Dont use internal fields of Component.
9026         (addImpl): Likewise.
9027         * javax/swing/Timer.java
9028         (isRunning): Made public.
9029         (start): Likewise.
9030         (stop): Likewise.
9031         * javax/swing/UIDefaults.java
9032         (getInt): Made public.
9033         * javax/swing/plaf/basic/BasicListUI.java
9034         (mousePressed): Dont use internal fields of MouseEvent.
9035         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9036         * javax/swing/plaf/basic/BasicScrollBarUI.java
9037         (arrowIcon): Made static.
9038         * javax/swing/plaf/basic/BasicViewportUI.java
9039         (stateChanged): Dont use internal field on ChangeEvent.
9040         * javax/swing/text/JTextComponent.java
9041         (getUI): Call UIManager.getUI().
9042         (updateUI): Use getUI().
9043
9044 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9045
9046         * javax/swing/JComponent.java: Turn off double buffer by default.
9047         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9048         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9049         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9050         Use cairo to copy areas.
9051         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9052         Initialize and set clip region.
9053
9054 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9055
9056         * java/applet/Applet.java (preferredSize): Override deprecated
9057         variant of getPreferredSize.
9058         (minimumSize): Override deprecated variant of getMinimumSize.
9059
9060 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9061
9062         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9063         (drawImage(img,xform,bgcolor,obs)): New Method.
9064         Helper function that every drawImage method will
9065         use.
9066         (drawRaster): Added new parameter, bgcolor. All
9067         transparent pixels are changed to bgcolor before 
9068         image is drawn.
9069         (drawRenderedImage): Fixed to use changed drawRaster().
9070         (drawImage(image,xform,obs): Fixed to use new helper function 
9071         (drawImage(image,op,x,y)): Ditto.
9072         (drawImage (img,x,y,observer)): Ditto.
9073         ((PainterThread) bgcolor): New Field.
9074         ((PainterThread) (setPixels)): Changed all transparent pixels 
9075         to bgcolor.     
9076         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9077         Fixed FIXME - all the transparent pixels are 
9078         changed to the specified bgcolor. 
9079         (drawImage(img, x, y, width, height, observer): Changed to 
9080         use function above.
9081         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9082         Fixed FIXME- changed all transparent pixels to bgcolor.
9083         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9084         Changed to use function above. 
9085
9086 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9087
9088         * java/applet/Applet.java (dimensions): New field.
9089         (getDimensions): New method.
9090         (getPreferredSize): Call getDimensions.
9091         (getMinimumSize): Likewise.
9092
9093 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9094
9095         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9096         * jni/classpath/jnilink.c: Likewise.
9097
9098         * java/applet/Applet.java (getPreferredSize): New method.
9099         (getMinimumSize): New method.
9100
9101 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9102
9103         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9104         (_Jv_AllocObjectNoFinalizer): Likewise.
9105         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9106         (_Jv_AllocPtrFreeObject): Likewise.
9107         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9108         directly even in the JVMPI case.        
9109         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9110         _Jv_AllocObject calls.
9111         * gcj/javaprims.h: Update prototypes.
9112         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9113         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9114         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9115
9116 2004-04-14  Andrew Haley  <aph@redhat.com>
9117             Bryce McKinlay  <mckinlay@redhat.com>
9118
9119         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9120         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9121         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9122
9123         * testsuite/libjava.lang/InvokeInterface.java: New file.
9124         * testsuite/libjava.lang/InvokeInterface.out: New file.
9125
9126 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9127         
9128         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9129         modified lookup().
9130         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9131         StackTraceElement directly.
9132         (newElement): New native helper method to create StackTraceElement
9133         bypassing Java access control.
9134         (createStackTraceElement): Use newElement() instead of directly
9135         calling StackTraceElement's constructor.
9136         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9137
9138 2004-04-01  Michael Koch  <konqueror@gmx.de>
9139
9140         * java/lang/SecurityManager.java
9141         (checkAwtEventQueueAccess): Implemented.
9142
9143 2004-04-01  Gary Benson  <gbenson@redhat.com>
9144
9145         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9146         (_Jv_SearchMethodInClass): Likewise.
9147
9148 2004-03-26  Peter Moon  <peterm@miraculum.com>
9149
9150         * java/text/NumberFormat.java: Fix spelling of setCurrency
9151         method.
9152
9153 2004-03-21  Anthony Green  <green@redhat.com>
9154
9155         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9156         recursion when searching for the system ClassLoader.
9157
9158 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9159
9160         * java/net/ServerSocket.java
9161         (accept): Close the socket when error occured.
9162
9163 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9164
9165         * java/net/URI.java (parseURI): Added unquoting.
9166         (unquote): New method.
9167         (quoteAuthority): Implemented.
9168         (quote(String,String)): New method.
9169         (quotePath): Implemented.
9170         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9171         (getSchemeSpecificPart): Removed FIXME comment.
9172         (getRawAuthority): Return new rawAuthority field.
9173         (getAuthority): Removed FIXME comment.
9174         (getRawUserInfo): Return new rawUserInfo field.
9175         (getUserInfo): Removed FIXME comment.
9176         (getRawPath): Return new rawPath field.
9177         (getPath): Removed FIXME comment.
9178         (getRawQuery): Return new rawQuery field.
9179         (getQuery): Removed FIXME comment.
9180         (getRawFragment): Return new rawFragment field.
9181         (getFragment): Removed FIXME comment.
9182
9183 2004-03-20  Michael Koch  <konqueror@gmx.de>
9184
9185         * java/net/URLConnection.java: Merged copyright year with classpath.
9186
9187 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9188
9189         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9190         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9191         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9192         rmi-message.
9193         (getObjectInputStream): Return object reference, throw IOException if null.
9194         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9195         (getObjectOutputStream): Return object reference, throw IOException if null.
9196         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9197         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9198         (UnicastConnectionManager): Throw RemoteException if port is not available.
9199         (getInstance): Throw RemoteException.
9200         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9201         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9202         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9203         Collect Exceptions which are returned by a rmi-call and fix void returns.
9204         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9205         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9206         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9207         (dispatch): Answer ping messages which are sent by other java implementions.
9208         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9209         for every rmi-message and fix void return problems.
9210         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9211         (UnicastServerRef): Throw RemoteException.
9212         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9213         In some situations it is necessary to export a subclass of the class which has the _Stub.
9214         For instance when the class with has the _Stub is abstract.
9215         (findStubSkelClass): New method which looks for the class which has the _Stub.
9216         (getClientHost): Implementated.
9217         * gcc/libjava/java/rmi/server/RemoteServer.java
9218         (getClientHost): Implementated.
9219         * gcc/libjava/Makefile.am (rmi_java_source_files):
9220         Added gnu/java/rmi/server/RMIIncomingThread.java.
9221         * Makefile.in: Regenerated.
9222
9223 2004-03-20  Michael Koch  <konqueror@gmx.de>
9224
9225         * java/net/InetAddress.java
9226         (getLocalHostname): Added javadoc.
9227
9228 2004-03-19  Per Bothner  <per@bothner.com>
9229
9230         * configure.in: FILE variable  overrides FLATFORM when linking
9231         natFileChannelXXX.cc.
9232
9233         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9234         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9235
9236 2004-03-19  Per Bothner  <per@bothner.com>
9237
9238         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9239         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9240         * Makefile.am:  Update accordingly.
9241         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9242         as aliases for UnicodeLittle and UnicodeBig.
9243
9244 2004-03-20  Mark Wielaard  <mark@klomp.org>
9245
9246         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9247         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9248         Don't access ws when it is null.
9249         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9250         Likewise.
9251
9252 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9253
9254         * java/lang/ThreadGroup.java (list): Changed print to println.
9255
9256 2004-03-19  Mark Wielaard  <mark@klomp.org>
9257
9258         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9259         happy.
9260
9261 2004-02-10  Randolph Chung  <tausq@debian.org>
9262  
9263         * configure.in: Build java for hppa target.
9264         * configure: Regenerate.
9265         * libjava/configure.host (hppa-*): Add target.
9266         * libjava/sysdeps/pa/lock.h: New file.
9267
9268 2004-03-19  Mark Wielaard  <mark@klomp.org>
9269
9270         Reported by Stephen Crawley
9271         * java/io/FilePermission.java (implies): Use String.length() -1 to
9272         access last char of String.
9273
9274 2004-03-19  Michael Koch  <konqueror@gmx.de>
9275
9276         * java/awt/image/AffineTransformOp.java
9277         (AffineTransformOp): Made public.
9278         * javax/swing/JComponent.java
9279         (listenerList): Made protected.
9280         (accessibleContext): Likewise.
9281         * javax/swing/JList.java
9282         (valueChanged): Dont use internal fields of ListSelectionEvent.
9283         * javax/swing/JViewport.java
9284         (getView): Dont use internal fields of Component.
9285         (addImpl): Likewise.
9286         * javax/swing/Timer.java
9287         (isRunning): Made public.
9288         (start): Likewise.
9289         (stop): Likewise.
9290         * javax/swing/UIDefaults.java
9291         (getInt): Made public.
9292         * javax/swing/plaf/basic/BasicListUI.java
9293         (mousePressed): Dont use internal fields of MouseEvent.
9294         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9295         * javax/swing/plaf/basic/BasicScrollBarUI.java
9296         (arrowIcon): Made static.
9297         * javax/swing/plaf/basic/BasicViewportUI.java
9298         (stateChanged): Dont use internal field on ChangeEvent.
9299         * javax/swing/text/JTextComponent.java
9300         (getUI): Call UIManager.getUI().
9301         (updateUI): Use getUI().
9302
9303 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9304
9305         * verify.cc: Undef PC.
9306
9307 2004-03-18  Michael Koch  <konqueror@gmx.de>
9308
9309         * java/nio/channels/spi/AbstractSelectableChannel.java
9310         (keys): Initialize at declaration.
9311         (locate): keys cant be null.
9312         (add): Removed.
9313         (addSelectionKey): New method.
9314         (removeSelectionKey): New method.
9315         * java/nio/channels/spi/AbstractSelectionKey.java
9316         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9317         * java/nio/channels/spi/AbstractSelector.java
9318         (provider): Javadoc added.
9319         (cancelledKeys): Javadoc added.
9320         (cancelKey): Javadoc added, add key to cancelledKeys.
9321         (deregister): Implemented.
9322
9323 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9324
9325         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9326         MAP_FAILED to void *.
9327
9328 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9329
9330         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9331         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9332         * javax/swing/JList.java (ListListener): Revalidate on changes.
9333         * javax/swing/JScrollPane.java: Reimplement.
9334         * javax/swing/JViewport.java: Reimplement.
9335         * javax/swing/ScrollPaneLayout.java: Reimplement.
9336         * javax/swing/ViewportLayout.java: Tidy up.
9337         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9338         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9339         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9340         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9341         backing store only.
9342
9343 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9344
9345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9346         (window_wm_protocols_filter): New function.
9347         (window_focus_in_cb): Remove function.
9348         (window_focus_out_cb): Likewise.
9349         (window_focus_or_active_state_change_cb): New function.
9350         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9351         (connectSignals): Don't attach handlers to focus-in-event or
9352         focus-out-event signals.  Handle notify signal.
9353
9354 2004-03-11  David Jee  <djee@redhat.com>
9355
9356         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9357         (gtkSetLabel): New native method declaration.
9358         (setLabel): Use gtkSetLabel.
9359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9360         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9361
9362 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9363
9364         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9365         black when color argument is null.
9366
9367 2004-03-10  Kim Ho  <kho@redhat.com>
9368
9369         * java/awt/Container.java: Remove check
9370         for drag events.
9371
9372 2004-03-10  Kim Ho  <kho@redhat.com>
9373
9374         * java/awt/Container.java: (visitChild):
9375         Remove candidate clip. Use the component
9376         clip to intersect.
9377         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9378         (handleEvent): Use the PaintEvent's clip.
9379
9380 2004-03-10  Kim Ho  <kho@redhat.com>
9381
9382         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9383         (handleEvent): Don't set the clip for the
9384         Graphics object.
9385
9386 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9387
9388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9389         Fix double <-> fixed macros, reset font transform.
9390         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9391         Likewise.
9392
9393 2004-03-09  Kim Ho  <kho@redhat.com>
9394
9395         * java/awt/Container.java: (visitChild): Move
9396         the x and y coordinate of the component rectangle
9397         to correct position.
9398         (handleEvent): Forward drag events to the pressed
9399         component.
9400         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9401         Fix comments.
9402         (ArrowButtonListener::mousePressed): Stop the
9403         existing timer.
9404         (mouseDragged): Implement.
9405         (TrackListener::mousePressed): Only react if
9406         the press doesn't occur on the thumb, otherwise
9407         just set the offset.
9408         (TrackListener::mouseReleased): Unset the isAdjusting
9409         value.
9410         (createIncreaseIcon): Switch icon.
9411         (createDecreaseIcon): Switch icon.
9412         (calculatePreferredSize): Use width.
9413         (getThumbBounds): Use the top as the lower value.
9414         (layoutVScrollBar): Switch the button locations.
9415         (paintIncreaseHighlight): Paint correct side of thumb.
9416         (paintDecreaseHighlight): ditto.
9417         (valueForYPosition): Use top as the lower value.
9418         * javax/swing/plaf/basic/BasicSliderUI.java:
9419         Fix comments.
9420         (mouseDragged): Implement.
9421         (mousePressed): Only react when the thumb isn't
9422         pressed, otherwise just set offset.
9423         (mouseReleased): Handle a release of the thumb.
9424         (scrollDueToClickInTrack): Stop the timer first.
9425         * javax/swing/JProgressBar.java:
9426         (setString): Fix change condition.
9427         * javax/swing/JSeparator.java:
9428         Remove println's.
9429
9430 2004-03-08  David Jee  <djee@redhat.com>
9431
9432         * java/awt/image/AffineTransformOp.java:
9433         (filter): Use Graphics2D interface instead of directly using the
9434         GdkGraphics2D peer.
9435
9436 2004-03-05  David Jee  <djee@redhat.com>
9437
9438         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9439         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9440         * java/awt/Container.java
9441         (acquireComponentForMouseEvent): Fixed.
9442         (handleEvent): Fixed.
9443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9444         (state_to_awt_mods_with_button_states): New method.
9445         (pre_event_handler): Fixed mouse event generation.
9446
9447 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9448
9449         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9450         (GdkGraphics2D (BufferedImage)): Initialize
9451         pixmap associated with specified BufferedImage.
9452         (setPaint): Changed implementation of Texture
9453         Paint to use AffineTransformOp.
9454         * java/awt/image/AffineTransformOp.java
9455         (createCompatibleDestRaster): Throw RasterFormatException 
9456         if resulting width or height of raster is 0.
9457
9458 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9459
9460         * java/awt/image/AffineTransformOp.java:
9461         Removed unnecessary field interpolationType.
9462         Formatted some of the lines to be consistent with 
9463         the GNU style.
9464         (AffineTransformOp): Create new RenderingHints 
9465         containing specified interpolation type.
9466         (createCompatibleDestImage): Implemented.
9467         (createCompatibleDestRaster): Implemented.
9468         (filter): Implemented.
9469         (getBounds2D(BufferedImage)): Implemented.
9470         (getBounds2D(Raster)): Implemented.
9471         (getInterpolationType): Get interpolation value from 
9472         rendering hints.
9473
9474 2004-03-04  David Jee  <djee@redhat.com>
9475
9476         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9477         (setFont): Check if child peers are null.
9478
9479 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9480
9481         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9482         .libs in -L option.
9483         (libjava_arguments): Add new libraries to argument list.
9484
9485 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9486
9487         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9488         * Makefile.in: Re-generated.
9489         * java/awt/image/AffineTransformOp.java: New Class.
9490
9491 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9492
9493         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9494         (setPaint): Interpret correctly TexturePaint's
9495         anchor rectangle.
9496         (drawImage): Fixed scale factors of the affine
9497         transform.
9498
9499 2004-02-27  David Jee  <djee@redhat.com>
9500
9501         * gnu/java/awt/peer/gtk/GdkGraphics.java
9502         (GdkGraphics(Component)): Inherit font from component.
9503         (drawString): Use font style.
9504         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9505         (gtkSetFont): New native method declaration.
9506         (setFont): New method.
9507         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9508         (gtkSetFont): New native method declaration.
9509         (setFont): Call new native method gtkSetFont.
9510         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9511         (setFont): For all child components who do not their fonts set,
9512         set their peers' fonts with this container's font.
9513         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9514         Move all native method declarations to the top for readability.
9515         (gtkSetFont): New native method declaration.
9516         (setFont): New method.
9517         * java/awt/Component.java
9518         (setFont): Invalidate after setting the font.
9519         * java/awt/Container.java
9520         (invalidateTree): New method.
9521         (setFont): Invalidate the container tree after setting the font.
9522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9523         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9525         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9527         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9529         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9530
9531 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9532
9533         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9534         (updateBufferedImage): New helper function.
9535         Updates BufferedImage in memory if it was changed.
9536         (draw): changed to update BufferedImage in memory after
9537         this drawing operation
9538         (fill): Ditto.
9539         (draw3DRect): Ditto.
9540         (fill3DRect): Ditto.
9541         (clearRect): Ditto.
9542         (drawRaster): Ditto.
9543         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9544         no affine transformation.
9545         (drawGlyphVector): Ditto.
9546
9547 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9548
9549         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9550         (isBufferedImageGraphics): New Helper function. 
9551         Returns true if this graphics2d can be used to draw 
9552         into buffered image and false otherwise.
9553         (updateImagePixels): New Helper function. 
9554         Updates pixels in the BufferedImage.
9555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9556         (getImagePixels): New function. Returns pixels
9557         of the buffered image associated with 
9558         this Graphics2D.
9559
9560 2004-02-26  David Jee  <djee@redhat.com>
9561
9562         * java/awt/BorderLayout.java
9563         (layoutContainer): Fix width and height calculations to ensure
9564         that they're non-negative.
9565         * java/awt/Component.java
9566         (setBackground): If c is null, inherit from closest ancestor whose
9567         background color is set.
9568
9569 2004-02-26  Kim Ho  <kho@redhat.com>
9570
9571         * Makefile.am: Add new files.
9572         * Makefile.in: Re-generate.
9573         * javax/swing/JProgressBar.java: 
9574         (JProgressBar(int, int int)): Throw
9575         IllegalArgumentException if orientation is
9576         invalid.
9577         (JProgressBar(BoundedRangeModel)): Create
9578         ChangeListener and register it. UpdateUI.
9579         (getChangeListeners): Implement.
9580         (setModel): Reset ChangeListener.
9581         * javax/swing/JScrollBar.java: Implement.
9582         * javax/swing/JSeparator.java: Implement.
9583         * javax/swing/JSlider.java:
9584         (JSlider(int, int, int, int)): Throw 
9585         IllegalArgumentException if orientation
9586         is invalid.
9587         (getChangeListeners): Fix method name.
9588         * javax/swing/SwingUtilities.java:
9589         (layoutCompoundLabel): If there is no text,
9590         set the text rectangle dimensions to 0.
9591         * javax/swing/plaf/basic/BasicButtonUI.java:
9592         (paint): If there is no text, don't paint it.
9593         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9594         Implement.
9595         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9596         Implement.
9597         * javax/swing/plaf/basic/BasicSliderUI.java: 
9598         (propertyChange): If the model changes, change
9599         the listeners accordingly.
9600
9601 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9602
9603         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9604         * javax/swing/JList.java: Reimplement.
9605         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9606         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9607         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9608         * javax/swing/ListModel.java: Javadoc.
9609         * javax/swing/ListSelectionModel.java: Add missing methods.
9610         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9611         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9612         * javax/swing/ListModel.java: Javadoc and corrections.
9613         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9614
9615 2004-02-25  David Jee  <djee@redhat.com>
9616
9617         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9618         (GtkFontPeer): Change default size to 12.
9619         * gnu/java/awt/peer/gtk/GtkToolkit.java
9620         (getFontPeer): Change default size to 12.
9621         (getClasspathFontPeer): Likewise. Set default name to "Default".
9622         * java/awt/Font.java
9623         (Font(Map)): Call Font(String,Map).
9624         (Font(String,Map)): If attrs is null, initialize it as an empty
9625         HashMap, which will ensure that the Font will get default attributes.
9626
9627 2004-02-25  David Jee  <djee@redhat.com>
9628
9629         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9630         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9631         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9632         * gnu/java/awt/peer/gtk/GtkToolkit.java
9633         (getFontPeer(String,int)): Call the new overload method with size 1.
9634         (getFontPeer(String,int,int)): New method. Overloaded with size
9635         attribute.
9636         (getClasspathFontPeer): Set the size of the font.
9637
9638 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9639
9640         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9641         (bimage): New field.
9642         (GdkGraphics2D): New Constructor. Constructs Graphics
9643         object that can be used to draw into the Buffered Image.
9644         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9645         (GdkGraphicsEnvironment): Fixed to include public 
9646         keyword.
9647         (createGraphics): Implemented.
9648         * gnu/java/awt/peer/gtk/GtkToolkit.java
9649         (getLocalGraphicsEnvironment): Implemented.
9650         * java/awt/GraphicsEnvironment.java:
9651         (getLocalGraphicsEnvironment): Implemented.
9652         * java/awt/image/BufferedImage.java:
9653         (createGraphics): Implemented.
9654                 
9655 2004-02-24  David Jee  <djee@redhat.com>
9656
9657         * java/awt/Component.java
9658         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9659         * java/awt/Container.java
9660         (addNotifyContainerChildren): Fix event enabling.
9661
9662 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9663
9664         * Makefile.am: Added 
9665         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9666         * Makefile.in: Re-generated.
9667         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9668         New Class. 
9669         
9670 2004-02-19  Kim Ho  <kho@redhat.com>
9671
9672         * Makefile.am: Add BasicProgressBarUI
9673         * Makefile.in: Regenerate.
9674         * javax/swing/JProgressBar.java: 
9675         Re-implement.
9676         * javax/swing/plaf/basic/BasicLookAndFeel.java
9677         Add constants for JProgressBar.
9678         * javax/swing/plaf/basic/BasicProgressBarUI.java
9679         Implement.
9680         * javax/swing/plaf/basic/BasicSliderUI.java
9681         Change comments.
9682         (calculateGeometry): New method
9683         (paint): Remove unnecessary size calculations.
9684
9685 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9686
9687         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9688         (drawRaster): Fixed small error that caused
9689         imageToUser transformation to be set incorrectly.
9690         (toString): Implemented.
9691
9692 2004-02-18  David Jee  <djee@redhat.com>
9693
9694         * java/awt/CardLayout.java
9695         (addLayoutComponent): Show the first component added as the default.
9696         (removeLayoutComponent): After removing, show the next component.
9697         (gotoComponent): If there is only one component, show it and return.
9698
9699 2004-02-18  Kim Ho  <kho@redhat.com>
9700
9701         * javax/swing/JSlider.java: Re-order
9702         modifiers.
9703         * javax/swing/JLabel.java: Re-order
9704         modifiers.
9705         * javax/swing/JComponent.java: 
9706         (addPropertyChangeListener):
9707         Implement.
9708         (removePropertyChangeListener):
9709         ditto.
9710         (firePropertyChangeEvent):
9711         ditto.
9712
9713 2004-02-17  David Jee  <djee@redhat.com>
9714
9715         * java/awt/Component.java
9716         (show): Dispatch ComponentEvent via system event queue.
9717         (hide): Likewise.
9718         (move): Likewise.
9719         (resize): Likewise.
9720         (reshape): Likewise.
9721         * java/awt/Window.java
9722         (setBoundsCallback): Likewise.
9723
9724 2004-02-17  David Jee  <djee@redhat.com>
9725
9726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9727         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9728         Use gtk_widget_set_size_request() instead of the deprecated
9729         gtk_widget_set_usize().
9730
9731 2004-02-17  Kim Ho  <kho@redhat.com>
9732
9733         * javax/swing/JSlider.java: Fix comments and
9734         make property strings constants.
9735         (createStandardLabels): Use the labels
9736         preferred size as bounds.
9737         * javax/swing/plaf/basic/BasicSliderUI.java
9738         Fix comments.
9739         (ScrollHandler::actionPerformed): Don't
9740         calculate the timer stop value. Let the
9741         MouseListeners find the stop location.
9742         (getPreferredHorizontalSize): Re-implement.
9743         (getPreferredVerticalSize): ditto.
9744         (getMinimumHorizontalSize): ditto.
9745         (getMinimumVerticalSize): ditto.
9746         (getPreferredSize): ditto.
9747         (getMinimumSize): ditto.
9748         (getMaximumSize): ditto.
9749         (paintTicks): Use doubles to find the
9750         tick location.
9751         (paintHorizontalLabel):  Use preferredSize
9752         as initial width and height.
9753         (paintVerticalLabel): ditto.
9754
9755 2004-02-17  Kim Ho  <kho@redhat.com>
9756
9757         * javax/swing/JLabel.java: Changed 
9758         property strings to constants.
9759         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9760         New property.
9761         (setText): Change mnemonic index if
9762         text is too short.
9763         (setDisplayedMnemonicIndex): Fire property
9764         change event.
9765         (getDisplayedMnemonicIndex): Remove check
9766         against short text.
9767
9768 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9769
9770         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9771         (drawImage(img,xform,obs)): Invert xform before
9772         passing the xform to cairo.
9773         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9774         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9775         implemented.
9776         (drawImage (img,x,y,w,h,obs)): Implemented.
9777         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9778         bgcolor,obs)): Partly implemented.
9779         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9780         Implemented.
9781         * java/awt/image/BufferedImage.java:
9782         (copyData): if dest is null, create raster with same
9783         dimensions as the current image.
9784
9785 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9786
9787         * javax/swing/plaf/basic/BasicLabelUI.java 
9788         (getPreferredSize): Use layoutCL.
9789         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9790         (getPreferredButtonSize): Start with empty view rect, layout using
9791         component's preferred alignment.
9792         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9793         List defaults.
9794
9795 2004-02-16  David Jee  <djee@redhat.com>
9796
9797         * java/awt/Component.java
9798         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9799         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9800         (move): Erase old bounds and repaint new bounds. Dispatch
9801         COMPONENT_MOVED ComponentEvent.
9802         (resize): Erase old bounds and repaint new bounds. Dispatch
9803         COMPONENT_RESIZED ComponentEvent.
9804         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9805         ComponentEvents.
9806         * java/awt/Window.java
9807         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9808         ComponentEvents.
9809
9810 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9811
9812         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9813         (setRenderingHint): Added implementation of 
9814         Interpolation rendering hints.
9815         (setRenderingHints): Ditto.
9816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9817         (drawPixels): fixed to allow user to choose type 
9818         of filtering that should be used when displaying images.
9819         (cairoSurfaceSetFilter): New method. Sets filter type for 
9820         interpolation of pixel values.
9821
9822 2004-02-16  David Jee  <djee@redhat.com>
9823
9824         * java/awt/GridBagLayout.java
9825         (calcCellSizes): Rows or columns with zero sizes should still be
9826         considered for extra space distribution.
9827
9828 2004-02-16  Kim Ho  <kho@redhat.com>
9829
9830         * javax/swing/JLabel.java: Re-implement.
9831         * javax/swing/plaf/basic/BasicLabelUI.java
9832         Re-implement.
9833         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9834         Added constant.
9835
9836 2004-02-16  Kim Ho  <kho@redhat.com>
9837
9838         * javax/swing/JSlider.java: Fix indentation and comments.
9839         (setModel): Remove null check to conform with Sun's.
9840         (setOrientation): Throw exception if not
9841         HORIZONTAL or VERTICAL.
9842         (getInverted): Use private variable instead of 
9843         ComponentOrientation.
9844         (setInverted): ditto.
9845         * javax/swing/plaf/basic/BasicSliderUI.java:
9846         Fix indentation and comments.
9847         (propertyChange): Remove check for inverted slider, handle
9848         in main paint.
9849         (getMinimumSize): Return preferred size.
9850         (getMaximumSize): ditto.
9851         (calculateFocusRect): Don't relocate rectangle.
9852         (drawInverted): Return XOR of the slider's inversion and 
9853         the component's orientation.
9854         (paint): Update leftToRightCache
9855
9856 2004-02-13  David Jee  <djee@redhat.com>
9857
9858         * java/awt/GridBagLayout.java
9859         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9860         code to helper methods.
9861         (sortBySpan): New helper method.
9862         (distributeSizeAndWeight): Likewise.
9863         (calcCellWeights): Likewise.
9864         (calcCellSizes): Add comments.
9865
9866 2004-02-13  David Jee  <djee@redhat.com>
9867
9868         * java/awt/Component.java
9869         (show): Only do something if component is invisible at the moment.
9870         (hide): Only do something if component is visible at the moment.
9871         (reshape): If lightweight, erase old bounds and repaint new bounds.
9872
9873 2004-02-13  Kim Ho  <kho@redhat.com>
9874
9875         * Makefile.am: Updated for new file.
9876         * Makefile.in: Regenerated.
9877         * javax/swing/JSlider.java: Reimplement.
9878         * javax/swing/SwingUtilities.java
9879         (layoutCompoundLabel): Use icon height
9880         instead of width.
9881         (paintComponent): Implement.
9882         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9883         Add JSlider defaults.
9884         * javax/swing/plaf/basic/BasicSliderUI.java:
9885         Implement. New file.
9886
9887 2004-03-17  Michael Koch  <konqueror@gmx.de>
9888
9889         * gnu/java/net/PlainDatagramSocketImpl.java
9890         (RECEIVE_LOCK): New member field.
9891         (SEND_LOCK): New member field.
9892         (send0): New method.
9893         (send): Synchronize on SEND_LOCK.
9894         (receive0): New method.
9895         (receive): Synchronize on RECEIVE_LOCK.
9896         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9897         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9898         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9899         (send0): Renamed from send.
9900         (receive0): Renamed from receive.
9901 2004-03-17  Michael Koch  <konqueror@gmx.de>
9902
9903         * gnu/java/net/natPlainSocketImplPosix.cc
9904         (write): Just call write(jbyteArray, offset, len).
9905         (read): Just call read(jbyteArray, offset, len).
9906
9907 2004-03-16  Michael Koch  <konqueror@gmx.de>
9908
9909         * javax/swing/JTabbedPane.java
9910         (serialVersionUID): New field.
9911
9912 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9913
9914         * java/net/InetAddress.java
9915         (getByName): Handle hostname == "" case.
9916
9917 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9918
9919         Reported by: Adam Heath <doogie@debian.org>
9920         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9921         class loader.
9922
9923 2004-03-15  Michael Koch  <konqueror@gmx.de>
9924
9925         * java/util/Locale.java: Reverting my last patch
9926         and add a comment why the original version was okay.
9927
9928 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9929
9930         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9931         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9932         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9933         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9934
9935 2004-03-12  Michael Koch  <konqueror@gmx.de>
9936
9937         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9938
9939 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9940
9941         * java/net/URI.java (toURL): Implemented.
9942
9943 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9944
9945         * java/net/URI.java
9946         (URI_REGEXP) updated to contain scheme specific part.
9947         (SCHEME_SPEC_PART_GROUP) new constant.
9948         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9949         updated to make room for SCHEME_SPEC_PART_GROUP.
9950         (parseURI) parse scheme specific part.
9951         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9952         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9953         getQuery, getFragment) implemented.
9954
9955 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9956
9957         * libraries/javalib/java/net/URI.java
9958         partially implemented using java.util.regex.
9959         (URI_REGEXP) new constant. Used to parse URIs.
9960         (SCHEME_GROUP) new constant representing index of scheme group
9961         in parsed URI.
9962         (AUTHORITY_GROUP) new constant representing index of authority
9963         group in parsed URI.
9964         (PATH_GROUP) new constant representing index of path group in
9965         parsed URI.
9966         (QUERY_GROUP) new constant representing index of query group in
9967         parsed URI.
9968         (FRAGMENT_GROUP) new constant representing index of fragment
9969         group in parsed URI.
9970         (getURIGroup) new static utility method.
9971         (parseURI) implemented.
9972         (quote) stub for new static utility method.
9973         (quoteAuthority) stub for new static utility method.
9974         (quoteHost) stub for new static utility method.
9975         (quotePath) stub for new static utility method.
9976         (quoteUserInfo) stub for new static utility method.
9977         (URI) implemented.
9978         (create) don't throw URISyntaxException. Implemented.
9979         (toString) implemented.
9980
9981 2004-03-12  Michael Koch  <konqueror@gmx.de>
9982
9983         * java/net/HttpURLConnection.java
9984         (getResponseCode): Fix another typo in javadoc.
9985
9986 2004-03-11  Michael Koch  <konqueror@gmx.de>
9987
9988         * java/util/logging/Level.java
9989         (parse): Use String.equals() instead of ==.
9990
9991 2004-03-11  Michael Koch  <konqueror@gmx.de>
9992
9993         * gnu/java/net/protocol/jar/Connection.java
9994         (getContentLength): New method.
9995
9996 2004-03-11  Michael Koch  <konqueror@gmx.de>
9997
9998         * gnu/java/net/PlainSocketImpl.java:
9999         Reformated to merge better with classpath's version.
10000
10001 2004-03-11  Michael Koch  <konqueror@gmx.de>
10002
10003         * java/util/Locale.java
10004         (getISO3Language): Use String.equals() instead of ==.
10005         (getISO3Country): Likewise.
10006
10007 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
10008
10009         * java/text/AttributedString.java
10010         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10011         Use HashMap instead of Hashtable since value can be null, and
10012         you can not store a null value in a Hashtable.
10013
10014 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10015
10016         * java/text/AttributedStringIterator.java
10017         (getAllAttributesKey): Return only keys concerned
10018         by the current iterator.
10019         (getAttributes): Use strict inequality for
10020         end_index. 
10021
10022 2004-03-11  Michael Koch  <konqueror@gmx.de>
10023
10024         * java/net/HttpURLConnection.java:
10025         Fixed typo in javadoc.
10026
10027 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10028
10029         * java/io/BufferedInputStream.java (marktarget): New field for max
10030         mark limit.
10031         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10032         (mark): Use new fields.
10033         (read): Likewise.
10034         (read(byte[],int,int)): Likewise.
10035         (skip): Likewise.
10036         (refill): Likewise.
10037
10038 2004-03-11  Mark Wielaard  <mark@klomp.org>
10039
10040         * java/beans/BeanDescriptor.java (BeanDescriptor):
10041         Set the FeatureDescriptor programmatic name.
10042
10043 2004-03-11  Michael Koch  <konqueror@gmx.de>
10044
10045         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10046         This file was was just copied form java/io/natFileDescriptorEcos.cc
10047         and never changed to compile correctly.
10048
10049 2004-03-11  Michael Koch  <konqueror@gmx.de>
10050
10051         * gnu/java/nio/PipeImpl.java
10052         (SourceChannelImpl): Made final.
10053         (read): Implemented.
10054         (SinkChannelImpl): Made final.
10055         (write): Implemented.
10056
10057 2004-03-11  Michael Koch  <konqueror@gmx.de>
10058
10059         * gnu/java/net/PlainDatagramSocketImpl.java:
10060         Reformated to match classpath's version more.
10061
10062 2004-03-11  Michael Koch  <konqueror@gmx.de>
10063
10064         * gnu/java/awt/peer/ClasspathFontPeer.java:
10065         Fixed javadoc to be correct xhtml.
10066         * gnu/java/awt/peer/gtk/GtkArgList.java
10067         (add): Use Boolean.valueOf() instead of new Boolean().
10068
10069 2004-03-09  Michael Koch  <konqueror@gmx.de>
10070
10071         * java/lang/Thread.java
10072         (runnable): Moved around.
10073         (daemon): Renamed from daemon_flag.
10074         (contextClassLoader): Renamed from context_class_loader.
10075         (Thread): Reordered constructors.
10076         (activeCount): Use group directly.
10077         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10078         (holdsLock): Reworked javadoc.
10079         (setDaemon): Reworked.
10080         * java/lang/natThread.cc
10081         (destroy): Removed.
10082
10083 2004-03-08  Anthony Green  <green@redhat.com>
10084
10085         * Makefile.am: Build property resource files into libgcj.
10086         * Makefile.in: Rebuilt.
10087         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10088         java/util/regex/PatternSyntaxException.java,
10089         gnu/regexp/CharIndexed.java,
10090         gnu/regexp/CharIndexedCharArray.java,
10091         gnu/regexp/CharIndexedInputStream.java,
10092         gnu/regexp/CharIndexedReader.java,
10093         gnu/regexp/CharIndexedString.java,
10094         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10095         gnu/regexp/REException.java,
10096         gnu/regexp/REFilterInputStream.java,
10097         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10098         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10099         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10100         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10101         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10102         gnu/regexp/RETokenLookAhead.java,
10103         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10104         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10105         gnu/regexp/RETokenStart.java,
10106         gnu/regexp/RETokenWordBoundary.java,
10107         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10108
10109 2004-03-03  Per Bothner  <per@bothner.com>
10110
10111         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10112         Optimize when argument is a FileChannelImpl.
10113         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10114         New native methods.
10115         * java/nio/channels/natChannels.cc:  New file for new native methods.
10116         * Makefile.am:  Update accordingly.
10117
10118 2004-03-02  Jan Hubicka  <jh@suse.cz>
10119
10120         * configure.host: Pass -fno-omit-frame-pointer for i386.
10121         * configure.in: Likewise.
10122         * configure: Regenerate.
10123
10124 2004-03-01  Per Bothner  <per@bothner.com>
10125
10126         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10127
10128 2004-02-29  Per Bothner  <per@bothner.com>
10129
10130         * java/nio/channels/FileChannelImpl.java:  Moved to package
10131         gnu/java/nio/channels, since we need to refer to it from java.io.
10132         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10133         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10134         from java/nio/channels.  Don't depend on FileDescriptor.
10135         (in, out, err):  New static fields.
10136         (mode):  New field.
10137         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10138         from FileDescriptor.
10139         (by):  Removed MappedByteBuffer field.
10140         (map):  New working implementation.
10141         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10142         some code "ported" from natFileDescriptoPosix.cc.
10143         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10144         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10145         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10146         Remove native methods.
10147         * Makefile.am, configure.in:  Updated accordingly.
10148
10149         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10150         (ch):  New FileChannelImpl field.  Update constructor to match.
10151         (releaseImpl):  Remove native method.  Instead ...
10152         (release):  Call unlock on channel.
10153         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10154
10155         * java/io/natFileDescriptorEcos.cc:  Remove file.
10156         * java/io/natFileDescriptorPosix.cc:  Remove file.
10157         * java/io/natFileDescriptorWin32.cc:  Remove file.
10158         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10159         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10160         (<init>(FileChannelImpl)):  New package-private constructor.
10161         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10162         (available, close, read, skip):  Implement using FileChannelImpl.
10163         (getFD):  Allocate FileDescriptor if needed.
10164         (getChannel):  Is now trivial.
10165         * java/io/FileOutputStream.java:  Corresponding changes.
10166         * java/io/RandomAccessFile.java:  Corresponding changes.
10167
10168         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10169         unmapImpl):  New dummy methods, to be overridden by subclass.
10170         (finalize, isLoaded, load, force):  New methods.
10171         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10172         Now works, at least for read mapping.
10173
10174         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10175         streams using FileChannelImpl, not FileDescriptor.
10176         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10177
10178 2004-02-28  Michael Koch  <konqueror@gmx.de>
10179
10180         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10181         wrong code.
10182
10183 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10184
10185         * java/io/ObjectInputStream.java
10186         (readClassDescriptor): Keep elements of the mapping non null.
10187         (checkTypeConsistency): New method.
10188         (readFields): Fixed main loop and base logic. Small reindentation.
10189         * java/io/ObjectStreamField.java
10190         (lookupField): New method to update the field reference.
10191         (checkFieldType): New method.
10192         * java/io/ObjectStreamClass.java
10193         (setClass, setFields): Call lookupField when building the field
10194         database. Check the real field type.
10195
10196 2004-02-28  Michael Koch  <konqueror@gmx.de>
10197
10198         * java/nio/ByteOrder.java
10199         (nativeOrder): Use equals() to compare strings.
10200
10201 2004-02-26  Michael Koch  <konqueror@gmx.de>
10202
10203         * gnu/java/nio/FileLockImpl.java
10204         (finalize): Made protected.
10205         * java/nio/channels/FileChannel.java
10206         (MapMode.READ_ONLY): Made final.
10207         (MapMode.READ_WRITE): Made final.
10208         (MapMode.PRIVATE): Made final.
10209         * java/nio/channels/SocketChannel.java
10210         (open): Simplified code.
10211         * java/nio/channels/spi/AbstractSelectableChannel.java
10212         (registered): Unused, removed.
10213         (keyFor): Check channel is open, only locate key
10214         and not add a new one.
10215         (register): Don't delete attachments.
10216
10217 2004-02-26  Michael Koch  <konqueror@gmx.de>
10218
10219         * gnu/java/awt/ComponentDataBlitOp.java
10220         (INSTANCE): Made final.
10221         * gnu/java/awt/image/ImageDecoder.java:
10222         Reworked imports.
10223         (cm): Unused, removed.
10224
10225 2004-02-26  Michael Koch  <konqueror@gmx.de>
10226
10227         * gnu/java/nio/DatagramChannelImpl.java
10228         (send): Check if target address is resolved.
10229
10230 2004-02-26  Michael Koch  <konqueror@gmx.de>
10231
10232         * Makefile.am: Generate and install headers for inner classes in
10233         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10234         * Makefile.in: Regenerated.
10235
10236 2004-02-24  Anthony Green  <green@redhat.com>
10237
10238         * java/lang/StringBuffer.java: No need to NULL out remainder of
10239         buffer since ensureCapacity_unsynchronized will have done this for
10240         us.
10241
10242 2004-02-20  Michael Koch  <konqueror@gmx.de>
10243
10244         * gnu/java/net/protocol/jar/Handler.java
10245         (): Removed unneeded check for file != null. java.net.URL.getFile()
10246         returns an empty string but never null.
10247
10248 2004-02-20  Michael Koch  <konqueror@gmx.de>
10249
10250         * gnu/gcj/convert/Convert.java
10251         (main): Use equals() to compare strings.
10252
10253 2004-02-20  Michael Koch  <konqueror@gmx.de>
10254
10255         * javax/swing/AbstractButton.java: Made several constants final.
10256         (getRolloverSelectedIcon): Made public.
10257         (getSelectedIcon): Made public.
10258
10259 2004-02-16  Per Bothner  <per@bothner.com>
10260
10261         * java/nio/CharBufferImpl.java:  Inline super constructor.
10262         * java/nio/DoubleBufferImpl.java:  Likewise.
10263         * java/nio/FloatBufferImpl.java:  Likewise.
10264         * java/nio/IntBufferImpl.java:  Likewise.
10265         * java/nio/LongBufferImpl.java:  Likewise.
10266         * java/nio/ShortBufferImpl.java:  Likewise.
10267         * java/nio/CharBuffer.java:  Remove unused constructor.
10268         * java/nio/DoubleBuffer.java:  Likewise.
10269         * java/nio/FloatBuffer.java:  Likewise.
10270         * java/nio/IntBuffer.java:  Likewise.
10271         * java/nio/LongBuffer.java:  Likewise.
10272         * java/nio/ShortBuffer.java:  Likewise.
10273         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10274         Fix buggy call to super constructor.
10275         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10276         * java/nio/FloatViewBufferImpl.java:  Likewise.
10277         * java/nio/IntViewBufferImpl.java:  Likewise.
10278         * java/nio/LongViewBufferImpl.java:  Likewise.
10279         * java/nio/ShortViewBufferImpl.java:  Likewise.
10280         
10281         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10282         java.nio classes can inherit it.
10283         (<init>):  Don't bother clearing array_offset.
10284         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10285         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10286         Remove redundant test.
10287
10288         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10289         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10290         Use new XxxViewBufferImpl constructors.
10291         * java/nio/MappedByteBufferImpl.java:  Likewise.
10292         * java/nio/DirectByteBufferImpl.java:  Likewise.
10293
10294         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10295         Inline super in remaining constructor.
10296         * java/nio/ByteBuffer.java:  Remove unused constructor.
10297
10298         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10299
10300         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10301         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10302         (offset):  Remove unused field.
10303         (<init>):  Modify one and add another constructor.  Change callers.
10304         (allocateDirect):  Removed - not used.
10305         (getImpl, putImpl):  Make static and pass address explicitly,
10306         to make them useful for MappedByteBufferImpl.
10307         (get, put):  Check for underflow.  Modify for new getImpl.
10308         (getImpl):  New native method where target is array.
10309         (get(byte[],int,int)):  Use the above.
10310         (adjustAddress):  New static native method.
10311         (slice, duplicate, asReadOnly):  New implementations.
10312         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10313         adjustAddress):  New or updated native methods.
10314
10315 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10316
10317         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10318         overflow of fieldmapping.
10319
10320 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10321
10322         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10323
10324 2004-02-14  Per Bothner  <per@bothner.com>
10325
10326         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10327         Set closed before calling implCloseChannel, as in the spec.
10328
10329 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10330
10331         * javax/swing/ToggleButtonModel.java: Remove dead class.
10332         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10333         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10334         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10335         * Makefile.am: Update for new and removed files.
10336         * Makefile.in: Regenerate.
10337
10338         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10339         * javax/swing/AbstractButton.java 
10340         (AbstractButton): Initialize fields correctly in ctor.
10341         * javax/swing/JCheckbox.java 
10342         (JCheckBox): Override painting flags.
10343         * javax/swing/DefaultButtonModel.java: Conform to sun.
10344         * javax/swing/JComponent.java (paint): Fill with background color
10345         if available.
10346         (processComponentKeyEvent)
10347         (processFocusEvent)
10348         (processKeyEvent)
10349         (processMouseMotionEvent): Remove event-consuming empty methods.
10350         (getUIClassID): Return "ComponentUI" not "JComponent"
10351         * javax/swing/JFrame.java: Remove some debugging chatter.
10352         (JFrame): Subscribe to window events.
10353         * javax/swing/JRadioButton.java 
10354         (JRadioButton): Override painting flags.
10355         * javax/swing/JRootPane.java 
10356         (JRootPane): Set background from UIDefaults.
10357         * javax/swing/JToggleButton.java 
10358         (ToggleButtonModel): New inner class.
10359         (JToggleButton): Override layout alighment.
10360         * javax/swing/SwingUtilities.java:
10361         (getLocalBounds): Return width and height, not x and y.
10362         (calculateInnerArea): Use local bounds, not bounds.
10363         (layoutCompoundLabel): Provide overridden form.
10364         (layoutCompoundLabel): Correct bugs.
10365         * javax/swing/UIDefaults.java: Correct comment.
10366         * javax/swing/plaf/basic/BasicButtonUI.java: 
10367         Move most logic into defaults, external listener.
10368         (paintIcon): Implement icon painting.
10369         (paint): Fix state painting to conform to changes in model.
10370         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10371         Remove most dead/wrong methods.
10372         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10373         * javax/swing/plaf/basic/BasicIconFactory.java:
10374         (DummyIcon): New class.
10375         (getMenuItemCheckIcon)
10376         (getMenuItemArrowIcon) 
10377         (getMenuArrowIcon)
10378         (getCheckBoxMenuItemIcon)
10379         (getRadioButtonMenuItemIcon)
10380         (createEmptyFrameIcon): Return DummyIcons, not null.
10381         (getCheckBoxIcon): Implement an icon that looks like sun's.
10382         (getRadioButtonIcon): Implement an icon that looks like sun's.
10383         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10384         (initComponentDefaults): Fix impossible values, add some missing.
10385         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10386         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10387         Remove most dead/wrong methods.
10388         (icon): New field.
10389         (getDefaultIcon): New method.
10390         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10391         Remove most dead/wrong methods.
10392         * javax/swing/plaf/metal/MetalLookAndFeel.java
10393         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10394         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10395         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10396         Implement "clearing" as drawing, when on pixmap drawables.
10397
10398         * javax/swing/JButton.java (getUIClassID): 
10399         * javax/swing/JCheckBox.java (getUIClassID):
10400         * javax/swing/JEditorPane.java (getUIClassID):
10401         * javax/swing/JLabel.java (getUIClassID): 
10402         * javax/swing/JList.java (getUIClassID): 
10403         * javax/swing/JOptionPane.java (getUIClassID): 
10404         * javax/swing/JPanel.java (getUIClassID): 
10405         * javax/swing/JPasswordField.java (uiClassID): 
10406         * javax/swing/JRadioButton.java (getUIClassID): 
10407         * javax/swing/JRootPane.java (getUIClassID): 
10408         * javax/swing/JScrollPane.java (getUIClassID): 
10409         * javax/swing/JTabbedPane.java (getUIClassID): 
10410         * javax/swing/JToggleButton.java (getUIClassID): 
10411         * javax/swing/JTree.java (getUIClassID): 
10412         * javax/swing/JViewport.java (getUIClassID): 
10413         * javax/swing/text/JTextComponent.java (getUIClassID):
10414         Return "fooUI" not "Jfoo"
10415
10416 2004-02-11  Michael Koch  <konqueror@gmx.de>
10417
10418         * java/net/DatagramSocket.java
10419         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10420         Boolean object.
10421         (setBroadcast): Likewise.
10422         * java/net/MulticastSocket.java
10423         (setLoopbackMode): Likewise.
10424         * java/net/ServerSocket.java
10425         (setReuseAddress): Likewise.
10426         * java/net/Socket.java
10427         (setTcpNoDelay): Likewise.
10428         (setSoLinger): Likewise.
10429         (setOOBInline): Likewise.
10430         (setKeepAlive): Likewise.
10431         (setReuseAddress): Likewise.
10432         * java/net/URLConnection.java
10433         (setContentHandler): Replace == with equals().
10434         * java/net/URLStreamHandler.java
10435         (hostSEquals): Fix checking host addresses.
10436         (toExternalForm): Dont check protocol for null. We know already its
10437         not null.
10438
10439 2004-02-10  David Jee  <djee@redhat.com>
10440
10441         * java/awt/BorderLayout.java
10442         (calcCompSize): Invisible components get zero dimensions.
10443         * java/awt/Button.java
10444         (setLabel): Set actionCommand.
10445         * java/awt/Component.java
10446         (show): Invalidate component and parent container.
10447         (hide): Likewise.
10448
10449 2004-02-10  David Jee  <djee@redhat.com>
10450
10451         * java/awt/GridBagLayout.java
10452         (GridBagLayout): New private field, internalcomptable.
10453         (lookupInternalConstraints): New method.
10454         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10455         (GetLayoutInfo): Reimplement.
10456         (calcCellSizes): Ignore rows/columns with size 0.
10457
10458 2004-02-10  Michael Koch  <konqueror@gmx.de>
10459
10460         * gnu/java/awt/EmbeddedWindow.java
10461         (setHandle): Use java.awt.Component.getPeer() instead of
10462         java.awt.Component.peer directly.
10463
10464 2004-02-10  David Jee  <djee@redhat.com>
10465
10466         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10467         (gtkSetLabel): New native method definition.
10468         (setLabel): Use gtkSetLabel.
10469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10470         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10471
10472 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10473
10474         * include/powerpc-signal.h: Revert 2004-01-21 change.
10475         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10476         from syscall for ppc32 versions.
10477
10478 2004-02-08  Per Bothner  <per@bothner.com>
10479
10480         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10481         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10482         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10483         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10484         Pass ByteOrder parameter to most methods, since the underlying
10485         ByteBuffer's order isn't always what we should use.
10486         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10487         * java/nio/DirectByteBufferImpl.java:  Likewise.
10488         Use ByteBufferHelper methods.
10489         * java/nio/MappedByteBufferImpl.java:  Likewise.
10490         (compact):  Use shiftDown.
10491         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10492         (get, put):  Use ByteBufferHelper.
10493         (compact):  Use new shiftDown method.
10494         (duplicate(boolean)):  New helper method.
10495         (duplicate, asReadOnlyBuffer):  Use it.
10496         (order):  Return endian field.
10497         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10498         * java/nio/FloatViewBufferImpl.java:  Likewise.
10499         * java/nio/IntViewBufferImpl.java:  Likewise.
10500         * java/nio/LongViewBufferImpl.java:  Likewise.
10501         * java/nio/ShortViewBufferImpl.java:  Likewise.
10502         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10503         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10504         (compact):  Re-implement using shiftDown.
10505
10506 2004-02-08  Andreas Jaeger  <aj@suse.de>
10507
10508         * include/x86_64-signal.h: Fix typo.
10509
10510 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10511
10512         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10513         qualifier to _regs.
10514         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10515
10516 2004-02-06  Michael Koch  <konqueror@gmx.de>
10517
10518         * java/io/ObjectInputStream.java
10519         (currentClassLoader): Reverted to old version of this method.
10520
10521 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10522
10523         * java/io/ObjectInputStream.java: Made all calls
10524         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10525         use cached info from ObjectStreamClass. (readClassDescriptor):
10526         Cache more information in ObjectStreamClass. (processResolution,
10527         readFields): Use cached info from ObjectStreamClass.
10528         (newObject): Throw exception instead of returning null for failure.
10529         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10530         setCharField, setDoubleField, setFloatField, setIntField,
10531         setLongField, setShortField, setObjectField, readObjectParams):
10532         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10533         check.
10534         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10535         (setClass): Added call to cacheMethods() (findMethod): New method.
10536         (cacheMethods): New method. (ObjectStreamClass): Added call to
10537         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10538         AccessController.doPrivileged to invoke setAccessible.
10539         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10540         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10541         New fields.
10542         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10543         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10544         isPrimitive): Made safe for cases where type == null.
10545         (setBooleanField, setByteField, setCharField, setShortField,
10546         setIntField, setLongField, setFloatField, setDoubleField,
10547         setObjectField): New methods.
10548
10549 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10550
10551         * java/awt/Component.java (getFont): Return a default font
10552         instead of null.
10553
10554         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10555         (Scrollbar (int, int, int, int, int)): Make default page
10556         increment 10.
10557         (setValues): Only call peer.setValues if one of the values has
10558         changed.
10559         (generateName): New method.
10560         (getUniqueLong): New method.
10561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10562         (range_scrollbar): Remove structure.
10563         (post_adjustment_event): Remove function.
10564         (post_change_event): Accept jobject argument.
10565         (create): Cast jints to gdoubles.  Round scrollbar values to the
10566         nearest integer.  Clamp min, max and value settings.
10567         (connectJObject): Connect hook to widget->window.
10568         (connectSignals): Remove range_scrollbar structure variables.
10569         Remove "move-slider" connection.  Pass global peer reference to
10570         "value-changed" callback.
10571         (setLineIncrement): Cast jint value to gdouble.
10572         (setPageIncrement): Likewise.
10573         (setValues): Likewise.  Clamp min, max and value settings.
10574
10575 2004-02-05  Michael Koch  <konqueror@gmx.de>
10576
10577         * javax/swing/AbstractCellEditor.java
10578         (getCellEditorValue): Removed.
10579         * javax/swing/Box.java: Reformated.
10580         (serialVersionUID): New field.
10581         * javax/swing/ButtonGroup.java:
10582         Removed some weird whitespace.
10583         * javax/swing/CellEditor.java: Reformated.
10584         * javax/swing/CellRendererPane.java
10585         (serialVersionUID): New field.
10586         (AccessibleCellRendererPaneserialVersionUID): New field.
10587         * javax/swing/DefaultListModel.java
10588         (serialVersionUID): New field.
10589         * javax/swing/JEditorPane.java
10590         (serialVersionUID): New field.
10591         (setPage): Throws IOException.
10592         (addHyperlinkListener): Implemented.
10593         (removeHyperlinkListener): Implemented.
10594         (getHyperlinkListener): New method.
10595         * javax/swing/JFileChooser.java
10596         (serialVersionUID): New field.
10597         (AccessibleJFileChooser.serialVersionUID): New field.
10598         (addActionListener): Implemented.
10599         (removeActionListener): Implemented.
10600         (getActionListeners): New method.
10601         * javax/swing/JFormattedTextField.java
10602         (serialVersionUID): New field.
10603         (AbstractFormatter.serialVersionUID): New field.
10604         (clone): Throws CloneNotSupportedException
10605         (setEditValid): Add missing argument.
10606         (stringToValue): Throws ParseExcpetion.
10607         (valueToString): Throws ParseException.
10608         (commitEdit): Throws ParseException.
10609         * javax/swing/JLabel.java
10610         (serialVersionUID): New field.
10611         * javax/swing/JList.java
10612         (serialVersionUID): New field.
10613         (addListSelectionListener): Reformated.
10614         (removeListSelectionListener): Reformated.
10615         (getListSelectionListeners): New method.
10616         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10617         Reformated.
10618         (serialVersionUID): New field.
10619         * javax/swing/table/AbstractTableModel.java
10620         (getValueAt): Removed.
10621         (getColumnCount): Removed.
10622         (getRowCount): Removed.
10623
10624 2004-02-05  Michael Koch  <konqueror@gmx.de>
10625
10626         * java/awt/datatransfer/DataFlavor.java
10627         (imageFlavor): Javadoc added.
10628         (javaJVMLocalObjectType): Fixed.
10629
10630 2004-02-05  Michael Koch  <konqueror@gmx.de>
10631
10632         * java/lang/Thread.java
10633         (Thread): Reordered.
10634         (setContextClassLoader): Fixed javadoc comment.
10635         (setPriority): Reordered.
10636         (yield): Reordered.
10637         (initialize_native): Reordered.
10638         (gen_name): Reordered.
10639
10640 2004-02-05  Michael Koch  <konqueror@gmx.de>
10641
10642         * java/lang/Thread.java: Reordered fields, reformated much code,
10643         no functional changes, some variables renamed, javadoc comments
10644         merged.
10645
10646 2004-02-05  Michael Koch  <konqueror@gmx.de>
10647
10648         * java/util/zip/Deflater.java,
10649         java/util/zip/DeflaterOutputStream.java,
10650         java/util/zip/GZIPInputStream.java:
10651         Reformated and javadoc comments merged from classpath.
10652
10653 2004-02-05  Michael Koch  <konqueror@gmx.de>
10654
10655         * gnu/java/nio/NIOServerSocket.java
10656         (impl): Unused, removed.
10657         * gnu/java/nio/SocketChannelImpl.java
10658         (finnishConnect): Don't throw NoConnectionPendingException if not
10659         connected or no connection pending.
10660
10661 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10662
10663         * javax/swing/SwingUtilities.java: Many new functions.
10664         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10665         * javax/swing/basic/BasicGraphicsUtils.java 
10666         (getPreferredButtonSize): Start layout from top-left corner.
10667
10668 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10669
10670         * java/awt/geom/AffineTransform.java: 
10671         Corrected comments on the field definitions for
10672         m11 and m10.
10673         (shear): Fixed few errors that caused shear
10674         transformation to be performed incorrectly.
10675         (createInverse): Fixed to return correct
10676         inverse of the given matrix.
10677
10678 2004-02-03  Tom Tromey  <tromey@redhat.com>
10679
10680         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10681         PATH or LD_LIBRARY_PATH is not set in parent environment.
10682
10683 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10684
10685         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10686         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10687         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10688         java/awt/Component.java, java/awt/Container.java,
10689         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10690         java/awt/LayoutManager2.java, java/awt/List.java,
10691         java/awt/Menu.java, java/awt/MenuBar.java,
10692         java/awt/MenuItem.java, java/awt/Polygon.java,
10693         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10694         java/awt/Scrollbar.java, java/awt/TextArea.java,
10695         java/awt/TextField.java,
10696         java/awt/image/renderable/RenderContext.java,
10697         javax/swing/JApplet.java: Fix handling of alias methods, where a
10698         method has been deprecated in favour of a new one with the same
10699         funtion but a different name.  Put the method implementation in
10700         the deprecated method and have the new method call the
10701         deprecated one.  Make all other code call the new method.
10702
10703 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10704
10705         * gnu/java/nio/DatagramChannelImpl.java
10706         (inChannelOperation): New field.
10707         (isInChannelOperation): New accessor.
10708         (setInChannelOperation): New modifier.
10709         (receive): Use capacity() - position() of destination
10710         buffer instead of remaining(). Set and reset our "in
10711         channel operation indicator" before and after delegating
10712         the receive to our datagram socket. Removed testing code.
10713         Update destination buffer's current position if it is
10714         backed by a byte array (hasArray() is true).
10715         (send): Set and reset our "in channel operation indicator"
10716         before and after delegating the send to our datagram socket.
10717         Removed testing code. Update source buffer's current position
10718         if it is backed by a byte array (hasArray() is true).
10719         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10720         Use capacity() - position() of destination buffer instead
10721         of remaining().
10722         * java/net/DatagramSocket.java (receive): Don't throw an
10723         IllegalBlockingModeException if we have a non-blocking
10724         channel which initiated this operation.
10725         (send): Likewise.
10726
10727 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10728
10729         * configure.in: Add pkgconfig check for glib and gthread.
10730         * configure: Regenerate.
10731
10732 2004-02-01  Michael Koch  <konqueror@gmx.de>
10733
10734         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10735         arguments.
10736         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10737         * verify.cc (debug_print): Mark 'fmt' unused.
10738
10739 2004-01-30  Michael Koch  <konqueror@gmx.de>
10740
10741         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10742         * configure: Regenerated.
10743         * glib-2.0.m4: Removed.
10744         * gtk-2.0.m4: Removed.
10745         * libart.m4: Removed.
10746         * pkg.m4: New file.
10747
10748 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10749
10750         * gnu/java/net/PlainSocketImpl.java 
10751         (inChannelOperation): New field.
10752         (isInChannelOperation): New accessor.
10753         (setInChannelOperation): New modifier.
10754         * gnu/java/nio/ServerSocketChannelImpl.java
10755         (accept): Set and reset our server socket's PlainSocketImpl's
10756         "in channel operation" indicator before and after delegating
10757         the accept to our server socket.
10758         * gnu/java/nio/SocketChannelImpl.java
10759         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10760         operation" indicator before and after delegating the operation to
10761         our socket.
10762         (read): Likewise.
10763         (write): Likewise.
10764         * java/net/ServerSocket.java (implAccept): Don't throw an
10765         IllegalBlockingModeException if we have a non-blocking
10766         channel which initiated this accept operation.
10767         * java/net/Socket.java (connect): Don't throw an
10768         IllegalBlockingModeException if we have a non-blocking
10769         channel which initiated this connect operation.
10770         * java/nio/channels/spi/AbstractSelectableChannel.java
10771         (configureBlocking): Only call implConfigureBlocking() if
10772         the desired blocking mode is different from our current one.
10773
10774 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10775
10776         * java/io/BufferedReader.java (sbuf): New field.
10777         (readLine): Use String.valueOf instead of new String() as per
10778         Per Bothner's suggestion. Use instance sbuf field instead of a
10779         local StringBuffer instance.
10780         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10781         caller's buffer to refill().
10782         (read(void)): Pass our internal work buffer to refill if our
10783         input queue is empty.
10784         (refill): Changed return type to int. Use the specified buffer
10785         instead of our work buffer as per Bryce McKinlay's suggestion.
10786         Return the number of characters read or -1 for EOF.
10787
10788 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10789
10790         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10791
10792 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10793
10794         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10795         * Makefile.in: Re-generated.
10796         * gnu/awt/xlib/XFontPeer.java: New file.
10797         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10798         (setClip): Commented out debug printout.
10799         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10800         (getFontPeer): Return XFontPeer.
10801         (getLocalGraphicsEnvironment): New method.
10802         (getClasspathFontPeer): New method.
10803         (createFont): New method.
10804
10805 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10806
10807         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10808         return null. 
10809
10810 2004-01-29  Kim Ho  <kho@redhat.com>
10811
10812         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10813         (gtkLayoutSetVisible): New method
10814         (setMenuBar): Hide layout before setting MenuBar
10815         and reshow it after.
10816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10817         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10818
10819 2004-01-28  Michael Koch  <konqueror@gmx.de>
10820
10821         * gnu/java/lang/ClassHelper.java
10822         (getPackagePortion): Removed.
10823
10824 2004-01-28  Michael Koch  <konqueror@gmx.de>
10825
10826         * javax/swing/JComponent.java
10827         (listenerList): Initalize globally.
10828         (ancestor_list): Removed.
10829         (veto_list): Removed.
10830         (change_list): Removed.
10831         (get_veto_list): Removed.
10832         (get_change_list): Removed.
10833         (get_ancestor_list): Removed.
10834         (removeAncestorListener): Reimplemented.
10835         (removePropertyChangeListener): Likewise.
10836         (removeVetoableChangeListener): Likewise.
10837         (addAncestorListener): Likewise.
10838         (addPropertyChangeListener): Likewise.
10839         (addVetoableChangeListener): Likewise.
10840         (getListeners): New method.
10841         (getAncestorListeners): Likewise.
10842         (getVetoableChangeListeners): Likewise.
10843         (fireVetoableChange): Throws PropertyVetoException.
10844         * javax/swing/JEditorPane.java
10845         (JEditorPane): Throws IOException.
10846
10847 2004-01-28  David Jee  <djee@redhat.com>
10848
10849         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10850         (create): Set the default foreground color to
10851         java.awt.SystemColor.windowText.
10852
10853 2004-01-27  Michael Koch  <konqueror@gmx.de>
10854
10855         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10856         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10857         Reindented to merge with classpath.
10858
10859 2004-01-27  David Jee  <djee@redhat.com>
10860
10861         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10862         (addExposeFilter): Handle GtkFramePeer separately.
10863         (removeExposeFilter): Likewise.
10864
10865 2004-01-27  Michael Koch  <konqueror@gmx.de>
10866
10867         * gnu/java/net/protocol/http/Connection.java
10868         (getOutputStream): Fixed typo.
10869
10870 2004-01-27  Michael Koch  <konqueror@gmx.de>
10871
10872         * java/lang/Class.java
10873         (getConstructor): Removed SecurityException from throws clause.
10874         (_getConstructors): Likewise.
10875         (getConstructors): Likewise.
10876         (getDeclaredConstructor): Likewise.
10877         (getDeclaredClasses): Likewise.
10878         (getDeclaredConstructors): Likewise.
10879         (getDeclaredField): Likewise.
10880         (getDeclaredMethod): Likewise.
10881         (getDeclaredMethods): Likewise.
10882         (getField): Likewise.
10883         (getMethod): Likewise.
10884         (getMethods): Likewise.
10885
10886 2004-01-27  Kim Ho  <kho@redhat.com>
10887
10888         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10889         (removeMenuBarPeer): Remove MenuBarPeer argument.
10890         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10891         (dispose): Call native method.
10892         * java/awt/Frame.java (setMenuBar): Create and remove
10893         MenuBar peers only if the Frame has a peer.
10894         (addNotify): Create the MenuBar peer if one exists.
10895         (removeNotify): Remove MenuBar peer if one exists.
10896         * java/awt/Menu.java: Fix imports.
10897         (addNotify): Don't use full class name.
10898         (removeNotify): Call removeNotify on all children.
10899         * java/awt/MenuBar.java (removeNotify): Call
10900         removeNotify on all children.
10901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10902         (removeMenuBarPeer): Remove MenuBarPeer argument.
10903         Iterate through children to find the Frame's MenuBar.
10904         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10905         New file.
10906         (dispose): Remove references to the MenuComponent.
10907
10908 2004-01-27  Michael Koch  <konqueror@gmx.de>
10909
10910         * javax/swing/AbstractCellEditor.java: Reformated.
10911         * javax/swing/DefaultListSelectionModel.java
10912         (listenerList): Made protected.
10913         (addListSelectionListener): Javadoc added.
10914         (removeListSelectionListener): Likewise.
10915         (getListeners): Likewise.
10916         (getListSelectionListeners): Likewise.
10917         * javax/swing/JComboBox.java: Merged copyright year.
10918         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10919
10920 2004-01-26  Andrew Haley  <aph@redhat.com>
10921
10922         * javax/swing/table/JTableHeader.java: Extend JComponent
10923
10924 2004-01-26  Kim Ho  <kho@redhat.com>
10925
10926         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10927         Fix spacing.
10928
10929 2004-01-26  Kim Ho  <kho@redhat.com>
10930
10931         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10932         method.
10933         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10934         height and let the Layout Managers readjust anything that
10935         needs to move.
10936         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10937         (moveLayout): New method. Shift everything in the Gtk
10938         layout in the Y direction by an offset.
10939
10940 2004-01-26  David Jee  <djee@redhat.com>
10941
10942         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10943         (handleEvent): Implemented. Handles PaintEvents.
10944         (paint): Implemented. Use GTK native methods to queue updates
10945         for this heavyweight peer.
10946         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10947         (handleEvent): Removed.
10948         * java/awt/Component.java
10949         (paint): Implemented. Explictly paint the heavyweight peer.
10950         (update): Clear the background for heavyweight components.
10951         (paintAll): No need to call peer.paint() anymore.
10952         (processEvent): Don't process PaintEvents here. It's now done in
10953         the peer's handleEvent().
10954         (processPaintEvent): Removed.
10955         * java/awt/Container.java
10956         (paint): No need to call super.paint(). Visit heavyweight
10957         children as well.
10958         (update): Don't clear the background here.  It's done in
10959         Component.update().
10960         (visitChildren): Added check to not recurse into Containers.
10961         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10962         (filter_expose_event_handler): New method.  Filter unwanted
10963         expose events while painting heavyweight peers.
10964         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10965         New method. Connect filter and block pre_event_handler.
10966         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10967         New method. Disconnect filter and unblock pre_event_handler.
10968         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10969         New method. Invalidate and update given area.
10970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10971         (pre_event_handler): Add checks for unwanted expose events.
10972
10973 2004-01-26  David Jee  <djee@redhat.com>
10974
10975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10976         (find_bg_color_widget): For GtkButton, return its child.
10977
10978 2004-01-26  Kim Ho  <kho@redhat.com>
10979
10980         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10981         private.
10982         (setMenuBar): Grab MenuBar height and change insets.
10983         (setBounds): Account for MenuBar height.
10984         (postInsetsChangedEvent): Ditto.
10985         (postSizeAllocateEvent): Remove.
10986         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10987         (menubar_resize_cb): Remove
10988         (setMenuBarPeer): Remove callback.
10989         (getMenuBarHeight): Use size requisition instead of
10990         allocation.
10991
10992 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10993
10994         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10995         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10996         when peer is null.
10997         (setColumns): Remove FIXME -- peer will retrieve number of
10998         columns by calling getColumns.
10999         (setRows): Likewise for number of rows.
11000         (next_text_number): New field.
11001         (paramString): Fix param string.
11002         (generateName): New method.
11003         (getUniqueLong): New method.
11004
11005 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
11006
11007         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11008         image observer of image loading status.
11009         (getImage (String)): Start image production.
11010         (getImage (URL)): Likewise.
11011
11012 2004-01-25  Michael Koch  <konqueror@gmx.de>
11013
11014         * java/lang/Class.java: Imports reworked, reformated.
11015         (Class): Javadoc added.
11016         (forName): Likewise.
11017         (getClasses): Likewise.
11018         (getClassLoader): Likewise.
11019         (getComponentType): Likewise.
11020         (getConstructor): Likewise.
11021         (getConstructors): Likewise.
11022         (getDeclaredConstructor): Likewise.
11023         (getDeclaredClasses): Likewise.
11024         (getDeclaredConstructors): Likewise.
11025         (getDeclaredField): Likewise.
11026         (getDeclaredMethod): Likewise.
11027         (getDeclaredMethods): Likewise.
11028         (getDeclaringClass): Likewise.
11029         (getField): Likewise.
11030         (getInterfaces): Likewise.
11031         (getMethod): Likewise.
11032         (getMethods): Likewise.
11033         (getModifiers): Likewise.
11034         (getName): Likewise.
11035         (getResource): Likewise.
11036         (getResourceAsStream): Likewise.
11037         (getSigners): Likewise.
11038         (setSigners): Likewise.
11039         (getSuperclass): Likewise.
11040         (isArray): Likewise.
11041         (isAssignableFrom): Likewise.
11042         (isInstance): Likewise.
11043         (isInterface): Likewise.
11044         (isPrimitive): Likewise.
11045         (newInstance): Likewise.
11046         (getProtectionDomain): Likewise.
11047         (toString): Likewise.
11048         (Class): Moved.
11049         (initializeClass): Likewise.
11050         (finalize): Likewise.
11051
11052 2004-01-24  Michael Koch  <konqueror@gmx.de>
11053
11054         * gnu/java/net/protocol/jar/Connection.java
11055         (hdrHash): Removed.
11056         (hdrVec): Removed.
11057         (gotHeaders): Removed.
11058         (getHeaderField): Removed.
11059         (getHeaderFields): Removed.
11060         (getHeaderFieldKey): Removed.
11061         (getKey): Removed.
11062         (getField): Removed.
11063         (getHeaders): Removed.
11064
11065 2004-01-24  Michael Koch  <konqueror@gmx.de>
11066
11067         * Makefile.am: Added library version to gtk peer lib.
11068         * Makefile.in: Regenerated.
11069
11070 2004-01-24  Michael Koch  <konqueror@gmx.de>
11071
11072         * java/util/zip/InflaterInputStream.java: Merged class documentation
11073         with classpath.
11074
11075 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11076
11077         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11078         header.  For __powerpc64__ provide the default-signal.h definitions
11079         for now.
11080         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11081         instead of the dummy definitions.
11082         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11083         (powerpc64*-*): Remove with_libffi_default.
11084         Only add -mminimal-toc for 64-bit compilations.
11085         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11086         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11087         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11088         * configure: Rebuilt.
11089
11090 2004-01-23  Michael Koch  <konqueror@gmx.de>
11091
11092         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11093
11094 2004-01-23  Michael Koch  <konqueror@gmx.de>
11095
11096         * java/lang/VMClassLoader.java: Reworked imports.
11097         
11098 2004-01-23  Michael Koch  <konqueror@gmx.de>
11099
11100         * javax/swing/AbstractAction.java: Reformated.
11101
11102 2004-01-23  Michael Koch  <konqueror@gmx.de>
11103
11104         * java/text/CollationElementIterator.java:
11105         (setText): New method.
11106
11107 2004-01-23  Michael Koch  <konqueror@gmx.de>
11108
11109         * gnu/java/nio/FileLockImpl.java:
11110         Fixed filename in copyright.
11111         (released): Removed.
11112         (finalize): New method.
11113         * gnu/java/nio/natFileLockImpl.cc
11114         (releaseImpl): Implemented.
11115         * java/nio/channels/FileChannelImpl.java:
11116         Reworked imports.
11117         (lock): Implemented.
11118         (lockImpl): New method.
11119         (tryLock): Implemented.
11120         (tryLockImpl): New method.
11121         * java/nio/channels/natFileChannelImpl.cc
11122         (lockImpl): New method.
11123         (tryLockImpl): New method.
11124
11125 2004-01-23  Michael Koch  <konqueror@gmx.de>
11126
11127         * java/io/FileDescriptor.java
11128         (lock): New method.
11129         (tryLock): New method.
11130         (unlock): New method.
11131         * java/io/natFileDescriptorEcos.cc
11132         (lock): New method.
11133         (tryLock): New method.
11134         (unlock): New method.
11135         * java/io/natFileDescriptorPosix.cc
11136         (lock): New method.
11137         (tryLock): New method.
11138         (unlock): New method.
11139         * java/io/natFileDescriptorWin32.cc
11140         (lock): New method.
11141         (tryLock): New method.
11142         (unlock): New method.
11143
11144 2004-01-23  Michael Koch  <konqueror@gmx.de>
11145
11146         * java/io/FileDescriptor.java
11147         (sync): Moved around, added javadoc.
11148         (valid): Likewise.
11149         (open): Likewise.
11150         (write): Likewise.
11151         (close): Likewise.
11152         (setLength): Likewise.
11153         (seek): Likewise.
11154         (getLength): Likewise.
11155         (getFilePointer): Likewise.
11156         (read): Likewise.
11157         (available): Likewise.
11158         (finalize): Likewise.
11159
11160 2004-01-23  Michael Koch  <konqueror@gmx.de>
11161
11162         * javax/swing/AbstractAction.java: Reformated.
11163         (getPropertyChangeListeners): New method.
11164         * javax/swing/AbstractCellEditor.java: Reformated.
11165         (getCellEditorListeners): New method.
11166         * javax/swing/DefaultListSelectionModel.java
11167         (listenerList): New field.
11168         (listeners): Removed.
11169         (get_listeners): Removed.
11170         (addListSelectionListener): Rewritten.
11171         (removeListSelectionListener): Rewritten.
11172         (getListSelectionListeners): New method.
11173         (getListeners): New method.
11174         * javax/swing/JComboBox.java: Imports reworked.
11175         (addActionListener): Implemented.
11176         (removeActionListener): Implemented.
11177         (addItemListener): Implemented.
11178         (removeItemListener): Implemented.
11179         (addPopupMenuListener): Implemented.
11180         (removePopupMenuListener): Implemented.
11181         (getActionListeners): New method.
11182         (getItemListeners): New method.
11183         (getPopupMenuListeners): New method.
11184
11185 2004-01-23  Michael Koch  <konqueror@gmx.de>
11186
11187         * gnu/java/net/protocol/http/Connection.java
11188         (connect): Don't initialize bufferedOutputStream if not needed.
11189         (sendRequest): Set property for content length if content is present.
11190         Write content only if present.
11191         (getOutputStream): Check if already connected, dont connect,
11192         initalize bufferedOutputStream if needed.
11193
11194 2004-01-23  Michael Koch  <konqueror@gmx.de>
11195
11196         * java/io/FileDescriptor.java
11197         (in, out, err): Added javadoc.
11198         (static): Merged loading code.
11199         (fd, position): Moved around.
11200
11201 2004-01-23  Michael Koch  <konqueror@gmx.de>
11202
11203         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11204         New file.
11205
11206 2004-01-23  Michael Koch  <konqueror@gmx.de>
11207
11208         * java/lang/Class.java,
11209         java/lang/Object.java,
11210         java/lang/Thread.java: Merged copyright with classpath.
11211
11212 2004-01-23  Michael Koch  <konqueror@gmx.de>
11213
11214         * java/io/FileDescriptor.java: Merged copyright with classpath to
11215         start merging this class.
11216
11217 2004-01-22  Tom Tromey  <tromey@redhat.com>
11218
11219         PR libgcj/13107:
11220         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11221         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11222         * testsuite/libjava.lang/pr13107_3.java: New file.
11223         * testsuite/libjava.lang/pr13107_3.out: New file.
11224         * testsuite/libjava.lang/pr13107_2.java: New file.
11225         * testsuite/libjava.lang/pr13107_2.out: New file.
11226         * testsuite/libjava.lang/pr13107.java: New file.
11227         * testsuite/libjava.lang/pr13107.out: New file.
11228         * verify.cc (jsr_ptrs): Removed.
11229         (entry_points): Likewise.
11230         (struct subr_info): Likewise.
11231         (struct subr_entry_info): Likewise.
11232         (type_val::unused_by_subroutine_type): Likewise.
11233         (type::merge): Don't handle unused_by_subroutine_type.
11234         (type::print): Likewise.
11235         (state::flags): Removed.
11236         (state::subroutine): Likewise.
11237         (state::seen_subrs): Likewise.
11238         (state::NO_STACK): Likewise.
11239         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11240         (state): Updated all methods.
11241         (state::clean_subrs): Removed.
11242         (state::state): Removed `ret_semantics' flag.
11243         (state::copy): Likewise.
11244         (state::add_subr): Removed.
11245         (state::enter_subroutine): Likewise.
11246         (type::set_return_address): New method.
11247         (handle_jsr_insn): Set return address on the type.  Always
11248         invalidate PC after call.
11249         (check_nonrecursive_call): Removed.
11250         (~_Jv_BytecodeVerifier): Updated.
11251         (branch_prepass): Removed special handling of jsr.
11252         (note_branch_target): Likewise.
11253         (get_subroutine): Removed.
11254         (state::merge): Don't merge subroutines and don't handle
11255         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11256         (state::note_variable): Removed.
11257         (state::is_unmerged_ret_state): Likewise.
11258         (state::print): Updated.
11259         (set_variable): Likewise.
11260         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11261         and jsr_semantics arguments.  Updated for new reverification
11262         list.
11263         (pop_jump): Rewrote.
11264         (construct_primitive_array_type): Updated.
11265         (state::next): Removed.
11266         (INVALID_STATE): New define.
11267         (state::INVALID): Removed.
11268         (state::NO_NEXT): New value.
11269         (state::pc, state::next): New fields.
11270         (state::get_pc): New method.
11271         (next_verify_pc): Removed.
11272         (next_verify_state): New field.
11273         (verify_instructions_0): Always check for falling off end.
11274         (linked): New type.
11275         (linked_utf8): Removed.
11276         (states): Changed type.
11277         (type::state_mergeable_p): New method.
11278         (state::state_mergeable_p): Likewise.
11279         (handle_ret_insn): Removed most code.
11280         (state::reverify): New method.
11281         (add_new_state): Likewise.
11282         (state::set_pc): Likewise.
11283
11284 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11285
11286         PR java/13733
11287         * testsuite/libjava.compile/PR13733.java: New file.
11288         * testsuite/libjava.compile/PR13733.xfail: New file.
11289
11290 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11291             Michael Koch  <konqueror@gmx.de>
11292
11293         * javax/swing/table/DefaultTableCellRenderer.java
11294         (DefaultTableCellRenderer): Added javadoc for the class and for
11295         the constructor, Border instance, create an EmptyBorder.
11296         (UIResource): Removed the comment at the end of the class
11297         (setForeground): New method.
11298         (setBackground): New method.
11299         (updateUI): New method.
11300         (getTableCellRendererComponent): Rewritten with the help of
11301         dvholten and Stephane Meslin-Weber.
11302         (validate): New method.
11303         (repaint): New method.
11304         (firePropertyChange): New method.
11305         (setValue): New method.
11306
11307 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11308
11309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11310         (connectJObject): Replace printf calls with g_assert statements.
11311         Move property-notify-event signal connection to ...
11312         (connectSignals): Connect property-notify-event signal.  Iterate
11313         through the vbox's children to find layout.
11314
11315 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11316         
11317         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11318         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11319         Predicate static initialization on GtkToolkit.useGraphics2D().
11320         * java/awt/Component.java (processPaintEvent): Consume event.
11321         * javax/swing/AbstractButton.java: Reimplement, document.
11322         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11323         * javax/swing/JComponent.java (paint): Use double buffer.
11324         (listenerList): Enable member.
11325         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11326         * javax/swing/JToggleButton.java 
11327         (JToggleButton): Modify model constructor.
11328         * javax/swing/SwingUtilities.java 
11329         (layoutCompoundLabel): Adjust arithmetic.
11330         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11331         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11332         (getPreferredButtonSize): Include margins in calculation.
11333         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11334         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11335         Receive up events from subordinate layout component.
11336
11337 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11338
11339         * java/awt/Component.java (show): Set visible to true before
11340         showing the peer.
11341
11342 2004-01-21  Kim Ho  <kho@redhat.com>
11343
11344         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11345         Fix comments.
11346         (removeMenuBarPeer): Make package private.
11347         (setMenuBarPeer): Make package private.
11348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11349         (menubar_resize_cb): Mark attributes unused.
11350         (getMenuBarHeight): ditto.
11351
11352 2004-01-21  David Jee  <djee@redhat.com>
11353
11354         * java/awt/Container.java
11355         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11356         dispatching MOUSE_ENTERED event twice. Translate the point for
11357         the mouse event target before dispatching the event.
11358
11359 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11360
11361         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11362         lib_org_w3c_dom_la_LDFLAGS): New.
11363         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11364         * Makefile.in: Rebuilt.
11365
11366 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11367
11368         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11369         Calculate proper offsets for heavyweight components packed in
11370         lightweight containers.
11371
11372         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11373         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11374         (native create): Add width parameter.
11375         (create): Calculate text entry width based on current font's
11376         metrics and number of columns.  Set TextField's font if not
11377         already set.  Call native create.
11378         (gtkEntryGetBorderWidth): New native method.
11379         (gtkEntryGetSize): Remove method.
11380         (getMinimumSize): Call minimumSize.
11381         (getPreferredSize): Call preferredSize.
11382         (minimumSize): Calculate minimum size based on backing
11383         GtkEntry's borders, font metrics and number of columns.
11384         (preferredSize): Likewise for preferred size.
11385         (get_border_width): New static function.
11386
11387         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11388         Override GtkWindowPeer's setResizable method to account for menu
11389         bar height when setting the frame's size.
11390
11391 2004-01-19  Matthias Klose  <doko@debian.org>
11392
11393         * libtool-version: Increased `current' to 6.
11394
11395 2004-01-19  Kim Ho  <kho@redhat.com>
11396
11397         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11398         (connectJObject): Iterate through the vbox's children to find layout.
11399
11400 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11401
11402         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11403         isDispatchThread method to replace wrong test condition.
11404
11405 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11406
11407         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11408         events to the queue out of order by acquiring locks in the proper
11409         order and not by releasing one before acquiring the other.
11410
11411 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11412
11413         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11414         visible so that dialog can be reused.
11415
11416 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11417
11418         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11419         events may be handled by any queue in the stack.
11420
11421 2004-01-19  Kim Ho  <kho@redhat.com>
11422
11423         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11424         MenuBarPeer parameter.
11425         (removeMenuBarPeer): New native method.
11426         (setMenuBar): Call remove if menu bar is null. Adjust insets
11427         appropriately.
11428         (postSizeAllocateEvent): New method. Called when menu bar size is
11429         allocated. Adjust insets and redo layout.
11430         (GtkFramePeer): Set menu bar during frame creation.
11431         (postConfigureEvent): Adjust position and size to accomodate
11432         menu bar.
11433         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11434         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11435         (addNotify): Create the peer if it doesn't exist and call addNotify
11436         for the menu's items.
11437         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11438         * java/awt/MenuItem.java (addNotify): Create the peer if it
11439         doesn't exist.
11440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11441         (removeMenuBarPeer): New method. Remove menu bar on the current
11442         frame.
11443         (setMenuBarPeer): Add the menu bar to the current frame and the
11444         callback for size-allocate events on the menu bar.
11445         (getMenuBarHeight): Add menu bar parameter.
11446         (menubar_resize_cb): New callback method for postSizeAllocate events.
11447
11448         Also: Fix indentation on last ChangeLog entry.
11449
11450 2004-01-16  Kim Ho  <kho@redhat.com>
11451
11452         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11453         (gtkWidgetGetDimensions): Remove.
11454         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11455         (gtkWidgetGetDimensions): Remove.
11456
11457 2004-01-16  Tom Tromey  <tromey@redhat.com>
11458
11459         * java/awt/Container.java: Typo and indentation fixes.
11460
11461         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11462         * java/lang/natVMClassLoader.cc: ...here.  New file.
11463         * Makefile.in: Rebuilt.
11464         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11465
11466 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11467
11468         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11469         Discard GDK_ENTER_NOTIFY related to ungrabs.
11470
11471 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11472
11473         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11474         is called for an intermediate queue.
11475
11476 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11477
11478         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11479         (window_property_changed_cb): Set id_set.
11480
11481 2004-01-16  Kim Ho  <kho@redhat.com>
11482
11483         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11484         it is a FileDialog and has dimensions of 0 by 0, then the initial
11485         size is set to size request plus insets.
11486         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11487         (gtkWidgetGetDimensions): Override method.
11488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11489         (gtkWidgetGetDimensions): Override method. Returns size request plus
11490         insets.
11491
11492 2004-01-16  Andrew Haley  <aph@redhat.com>
11493
11494         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11495         * sysdep/i386/locks.h: Likewise.
11496
11497 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11498
11499         * java/awt/EventDispatchThread.java (run): Stop running when
11500         interrupted.
11501         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11502         Reset the queue after transferring its contents.
11503         (push): Start a new dispatch thread if none is running.
11504
11505 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11506
11507         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11508         (doPolygon): set fill rule of polygon to 
11509         WIND_EVEN_ODD by default.
11510
11511 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11512
11513         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11514         Implemented rendering hints related methods.
11515         (getDefaultHints): New helper method. Returns
11516         default rendering hints.
11517         (walkPath): changed to normalize path if
11518         the KEY_STROKE_CONTROL key is in "normalize" mode.
11519         (draw3DRect): changed coordinates of rectangle by +0.5
11520         if in "normalize" mode.
11521
11522 2004-01-15  Tom Tromey  <tromey@redhat.com>
11523
11524         * Makefile.in: Rebuilt.
11525         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11526         (%.lo: %.java) Filter out StackTrace.lo.
11527
11528 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11529
11530         * configure.in: Add in AC_PREREQ(2.13)
11531         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11532         FIXME comment.
11533
11534 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11535             Tom Tromey  <tromey@redhat.com>
11536
11537         PR libgcj/12001:
11538         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11539         array to superclass.
11540         (init): Changed interface; add URLs here.
11541         (initialize): New static method.
11542         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11543         (_Jv_RunMain): ... not here.
11544
11545 2004-01-14  Michael Koch  <konqueror@gmx.de>
11546
11547         * java/text/MessageFormat.java:
11548         Added descriptions to exceptions.
11549         This fixes PR libgcj/2429.
11550
11551 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11552
11553         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11554         (push): Make sure push is performed at the top of the thread stack.
11555
11556 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11557
11558         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11559         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11560         (native create): Add width and height parameters.  Set text
11561         view's size request according to new parameters.
11562         (create): Calculate text view size based on current font's
11563         metrics and number of rows and columns.  Set TextArea's font if
11564         not already set.  Call native create.
11565         (getMinimumSize): Call minimumSize.
11566         (getPreferredSize): Call preferredSize.
11567         (getHScrollbarHeight): New method.
11568         (getVScrollbarWidth): New method.
11569         (minimumSize): Calculate minimum size based on scrollbar
11570         visibility, scrollbar sizes, font metrics and number of rows and
11571         columns.
11572         (preferredSize): Likewise for preferred size.
11573         (gtkTextGetSize): Remove method.
11574
11575 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11576
11577         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11578         (initializeInsets): Remove method.
11579         (GtkComponentPeer): Initialize insets field.  Remove call to
11580         initializeInsets.
11581         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11582         Remove method.
11583         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11584         Remove method.
11585         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11586         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11587         (latestInsets): Remove field.
11588         (native create): Add insets parameter.  Call
11589         window_get_frame_extents.  Set the window's default size and
11590         size request based on its frame extents.
11591         (create): Initialize insets.
11592         (postInsetsChangedEvent): New method.
11593         (postConfigureEvent): Remove parameters top, left, bottom,
11594         right.  Remove insets-related logic.
11595         (connectJObject): Handle property-notify-event.
11596         (window_get_frame_extents, request_frame_extents,
11597         property_notify_predicate, window_property_changed_cb): New
11598         static functions.
11599         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11600         (pre_event_handler): Remove insets-related logic for configure
11601         events.
11602         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11603         Update postConfigureEvent signature.
11604
11605 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11606  
11607         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11608         to handle Window "Closing" events.
11609  
11610 2004-01-13  David Jee  <djee@redhat.com>
11611
11612         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11613         (setBackground): New method. Children with no explicitly-set
11614         background will be repainted with the parent container's new
11615         background color.
11616
11617 2004-01-13  David Jee  <djee@redhat.com>
11618
11619         * Makefile.am: Add BitwiseXORComposite.java.
11620         * Makefile.in: Regenerated.
11621         * gcj/Makefile.in: Regenerated.
11622         * include/Makefile.in: Regenerated.
11623         * testsuite/Makefile.in: Regenerated.
11624
11625 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11626
11627         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11628         not show modal dialogs twice and so that it allows showing a modal
11629         dialog from another modal dialog.
11630
11631 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11632
11633         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11634         and run secondary dispatch thread to process event queue while this
11635         thread is blocked.
11636
11637 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11638
11639         * gnu/java/awt/gtk/GdkGraphics2D.java
11640         (static): Check GtkToolkit before initializing static state.
11641         (Graphics2D): Don't construct transform with 0.5 unit offset.
11642
11643 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11644
11645         * gnu/java/awt/BitwiseXORComposite.java: Add.
11646         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11647         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11648         (BitwiseXORComposite): Remove inner class.
11649
11650 2004-01-11  Michael Koch  <konqueror@gmx.de>
11651
11652         * gnu/java/lang/reflect/TypeSignature.java
11653         (getEncodingOfClass): Documentation fixed.
11654         (getClassForEncoding): Give class loader to Class.forName().
11655         Documentation fixed.
11656
11657 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11658
11659         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11660
11661 2004-01-11  Michael Koch  <konqueror@gmx.de>
11662
11663         * javax/swing/undo/StateEditable.java
11664         (RCSID): Removed redundant modifiers.
11665
11666 2004-01-10  Michael Koch  <konqueror@gmx.de>
11667
11668         * javax/print/attribute/EnumSyntax.java
11669         (getStringTable): Made protected.
11670         (getEnumValueTable): Likewise.
11671         * javax/print/attribute/standard/JobKOctetsProcessed.java
11672         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11673         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11674         (JobMediaSheetsCompleted): Made class final.
11675         * javax/print/attribute/standard/OutputDeviceAssigned.java
11676         (getName): Fixed typo.
11677         * javax/print/attribute/standard/RequestingUserName.java
11678         (serialVersionUID): Fixed value.
11679
11680 2004-01-10  Michael Koch  <konqueror@gmx.de>
11681
11682         * javax/swing/plaf/basic/BasicButtonUI.java,
11683         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11684         javax/swing/plaf/basic/BasicListUI.java,
11685         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11686         javax/swing/plaf/basic/BasicPanelUI.java,
11687         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11688         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11689         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11690         javax/swing/plaf/basic/BasicViewportUI.java:
11691         Fixed import statements.
11692
11693 2004-01-10  Michael Koch  <konqueror@gmx.de>
11694
11695         * gnu/java/awt/image/ImageDecoder.java
11696         (produce): Made public.
11697         * gnu/java/awt/peer/GLightweightPeer.java,
11698         gnu/java/awt/peer/gtk/GtkToolkit.java:
11699         Reformated.
11700
11701 2004-01-10  Michael Koch  <konqueror@gmx.de>
11702
11703         * javax/swing/JRadioButtonMenuItem.java,
11704         javax/swing/JSeparator.java,
11705         javax/swing/JSplitPane.java,
11706         javax/swing/JTextPane.java,
11707         javax/swing/JToolBar.java,
11708         javax/swing/ListCellRenderer.java,
11709         javax/swing/ListModel.java,
11710         javax/swing/MenuElement.java,
11711         javax/swing/OverlayLayout.java,
11712         javax/swing/ProgressMonitor.java,
11713         javax/swing/ProgressMonitorInputStream.java,
11714         javax/swing/Renderer.java,
11715         javax/swing/RootPaneContainer.java,
11716         javax/swing/Scrollable.java,
11717         javax/swing/SingleSelectionModel.java,
11718         javax/swing/ToolTipManager.java,
11719         javax/swing/ViewportLayout.java,
11720         javax/swing/event/DocumentEvent.java,
11721         javax/swing/event/SwingPropertyChangeSupport.java,
11722         javax/swing/event/TreeSelectionEvent.java,
11723         javax/swing/event/UndoableEditEvent.java,
11724         javax/swing/text/AbstractDocument.java,
11725         javax/swing/text/AttributeSet.java,
11726         javax/swing/text/Caret.java,
11727         javax/swing/text/ComponentView.java,
11728         javax/swing/text/DefaultCaret.java,
11729         javax/swing/text/DefaultEditorKit.java,
11730         javax/swing/text/Document.java,
11731         javax/swing/text/EditorKit.java,
11732         javax/swing/text/GapContent.java,
11733         javax/swing/text/Keymap.java,
11734         javax/swing/text/MutableAttributeSet.java,
11735         javax/swing/text/PlainEditorKit.java,
11736         javax/swing/text/Segment.java,
11737         javax/swing/text/Style.java,
11738         javax/swing/text/StyledDocument.java,
11739         javax/swing/text/StyledEditorKit.java,
11740         javax/swing/text/TextAction.java,
11741         javax/swing/text/View.java: Fixed import statements.
11742
11743 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11744
11745         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11746         djee@redhat.com's recent inverse ordering of Container elements.
11747
11748 2004-01-09  Michael Koch  <konqueror@gmx.de>
11749
11750         * gnu/java/lang/ArrayHelper.java
11751         (equalsArray): Removed.
11752
11753 2004-01-09  Andrew Haley  <aph@redhat.com>
11754
11755         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11756         a Utf8Const field before looking at its class.
11757
11758 2004-01-09  Michael Koch  <konqueror@gmx.de>
11759
11760         * javax/print/attribute/standard/DocumentName.java,
11761         javax/print/attribute/standard/JobHoldUntil.java,
11762         javax/print/attribute/standard/JobMessageFromOperator.java,
11763         javax/print/attribute/standard/JobName.java,
11764         javax/print/attribute/standard/JobOriginatingUserName.java,
11765         javax/print/attribute/standard/OutputDeviceAssigned.java,
11766         javax/print/attribute/standard/PrinterInfo.java,
11767         javax/print/attribute/standard/PrinterLocation.java,
11768         javax/print/attribute/standard/PrinterMakeAndModel.java,
11769         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11770         javax/print/attribute/standard/PrinterName.java,
11771         javax/print/attribute/standard/RequestingUserName.java: New files.
11772         * Makefile.am (javax_source_files): Added new files.
11773         * Makefile.in: Regenerated.
11774
11775 2004-01-09  Michael Koch  <konqueror@gmx.de>
11776
11777         * javax/swing/AbstractAction.java,
11778         javax/swing/AbstractSet.java,
11779         javax/swing/Action.java,
11780         javax/swing/ActionMap.java,
11781         javax/swing/BoundedRangeModel.java,
11782         javax/swing/ButtonModel.java,
11783         javax/swing/CellEditor.java,
11784         javax/swing/CellRendererPane.java,
11785         javax/swing/ComboBoxEditor.java,
11786         javax/swing/DebugGraphics.java,
11787         javax/swing/DefaultCellEditor.java,
11788         javax/swing/DefaultCellRenderer.java,
11789         javax/swing/DefaultComboBoxModel.java,
11790         javax/swing/DefaultDesktopManager.java,
11791         javax/swing/DefaultFocusManager.java,
11792         javax/swing/DefaultListCellRenderer.java,
11793         javax/swing/Icon.java,
11794         javax/swing/JButton.java,
11795         javax/swing/JCheckBoxMenuItem.java,
11796         javax/swing/JDesktopPane.java,
11797         javax/swing/JEditorPane.java,
11798         javax/swing/JMenu.java,
11799         javax/swing/JPanel.java,
11800         javax/swing/JPasswordField.java,
11801         javax/swing/JPopupMenu.java,
11802         javax/swing/JProgressBar.java: Reworked imports.
11803
11804 2004-01-09  Michael Koch  <konqueror@gmx.de>
11805
11806         * java/awt/geom/PathIterator.java
11807         (WIND_EVEN_ODD): Removed redundant modifiers.
11808         (WIND_NON_ZERO): Likewise.
11809         (SEG_MOVETO): Likewise.
11810         (SEG_LINETO): Likewise.
11811         (SEG_QUADTO): Likewise.
11812         (SEG_CUBICTO): Likewise.
11813         (SEG_CLOSE): Likewise.
11814         * java/awt/image/SinglePixelPackedSampleModel.java:
11815         Removed redundant semicolon.
11816         * java/io/ObjectInputStream.java
11817         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11818         * java/util/logging/Filter.java
11819         (isLoggable): Removed redundant modifier.
11820         * java/util/logging/LogManager.java:
11821         Removed redundant semicolon.
11822         * java/util/logging/XMLFormatter.java
11823         (format): Removed unused variable "key".
11824
11825 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11826
11827         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11828         New name for the former setFile native method.
11829         (setFile): New method.
11830         (setDirectory): Implemented.
11831         (connectSignals): New native method.
11832         (setFilenameFilter): Improve comment.
11833         (getGraphics): Comment.
11834         (gtkHideFileDialog): New method.
11835         (gtkDisposeFileDialog): New method.
11836         (gtkSetFilename): New method.
11837         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11838         for FileDialog for now.
11839         (hide): New method.
11840         (dispose): New method.
11841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11842         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11843         deprecated creation functions.  Make dialog modal.  Add it to the
11844         window group.
11845         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11846         function.
11847         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11848         Rename to...
11849         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11850         name.
11851         (window_closed): New function.
11852         (ok_clicked): New function.
11853         (cancel_clicked): New function.
11854
11855 2004-01-08  Michael Koch  <konqueror@gmx.de>
11856
11857         * javax/swing/JLayeredPane.java: Revert changes to standard
11858         boilerplate, reworked imports.
11859
11860 2004-01-07  Tom Tromey  <tromey@redhat.com>
11861
11862         PR libgcj/13439:
11863         * verify.cc (state::merge): Copy changed locals out of subroutine
11864         in NO_STACK case.
11865         (state::FLAG_CHANGED): New const.
11866         (state::FLAG_UNUSED): Likewise.
11867         (state::local_changed): Removed.  Updated all users.
11868         (state::flags): New field.
11869         (state::merge): Added jsr_semantics argument, more logic.
11870         (push_jump_merge): Added jsr_semantics argument.
11871         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11872         merging through the jsr instruction.
11873
11874 2004-01-07  Tom Tromey  <tromey@redhat.com>
11875
11876         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11877         backslash-newline.
11878
11879 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11880
11881         * java/awt/Container.java (LightweightDispatcher): Implement.
11882         (visitChild): Reuse graphics object.
11883         (dispatchEventImpl): Optionally dispatch to lightweight.
11884         (addNotifyContainerChildren): Build LightweightDispatcher.
11885
11886 2004-01-07  David Jee  <djee@redhat.com>
11887
11888         * java/awt/Container.java
11889         (update): Clear only the clipped region, instead of clearing the
11890         entire Container.
11891         (visitChildren): Visit children in descending order.
11892
11893 2004-01-07  Michael Koch  <konqueror@gmx.de>
11894
11895         * java/lang/reflect/Array.java: Merged documentation with classpath.
11896
11897 2004-01-07  Michael Koch  <konqueror@gmx.de>
11898
11899         * java/text/CollationElementIterator.java
11900         (textIndex): Renamed from index.
11901         * java/text/CollationKey.java
11902         (collator): New member.
11903         (CollationKey): New argument for parent collator.
11904         (equals): Check for same collator, source string and key array.
11905         * java/text/RuleBasedCollator.java:
11906         Reformated.
11907         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11908         value.
11909         (getCollationElementIterator): Rewritten.
11910         (getCollationKey): Added new argument to CollationKey constructor.
11911
11912 2004-01-07  Michael Koch  <konqueror@gmx.de>
11913
11914         * gnu/java/nio/DatagramChannelImpl.java
11915         (blocking): Removed.
11916         (DatagramChannelImpl): Call configureBlocking().
11917         (implConfigureBlocking): Dont initialize blocking.
11918         * gnu/java/nio/ServerSocketChannelImpl.java
11919         (blocking): Removed.
11920         (ServerSocketChannelImpl): Call configureBlocking().
11921         (implConfigureBlocking): Dont initialize blocking.
11922         * gnu/java/nio/SocketChannelImpl.java
11923         (blocking): Removed.
11924         (SocketChannelImpl): Call configureBlocking().
11925         (implConfigureBlocking): Dont initialize blocking.
11926         (connect): Use isBlocking().
11927         * java/nio/channels/spi/AbstractSelectableChannel.java
11928         (configureBlocking): Use blockingLock() instead of LOCK.
11929         Set blocking after successfully called implConfigureBlocking().
11930         (register): Use blockingLock() instead of LOCK.
11931
11932 2004-01-07  Michael Koch  <konqueror@gmx.de>
11933
11934         * java/net/ServerSocket.java (isBound): Fixed documentation.
11935
11936 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11937
11938         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11939         (changeEvent): Create event object on demand.
11940         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11941         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11942         fireStateChanged): Re-written.
11943         * javax/swing/event/EventListenerList.java: Reformatted, document
11944         typical usage.
11945         (toString): Implemented.
11946         (getListeners): Re-written.
11947         (remove): Re-written.
11948         (add): Re-written.
11949         (NO_LISTENERS): New singleton field.
11950         (listenerList): Declare as transient; document.
11951         (serialVersionUID): Document.
11952         (getListenerCount(Class)): More efficient implementation,
11953         also accepts null argument.  Improve Javadoc.
11954         (getListenerCount()): Remove unnecessary cast; docfix.
11955         * javax/swing/undo/UndoableEditSupport.java:
11956         Re-format, document.
11957         (UndoableEditSupport): Set realSource field. Improve documentation.
11958         (_postEdit): Iterate over cloned listener vector.
11959         (toString): Don't emit realSource.
11960         (beginUpdate, endUpdate): Support nested updates.
11961         (postEdit): Use compound edit if present.
11962
11963 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11964
11965         * java/awt/Container.java (swapComponents): Add forgotten
11966         function, required for JLayeredPane change.
11967
11968 2004-01-06  Michael Koch  <konqueror@gmx.de>
11969
11970         * java/text/CollationElementIterator.java: Reformated.
11971         (CollationElementIterator): Changed order of arguments.
11972         * java/text/RuleBasedCollator.java
11973         (RuleBasedCollator): Merged class documentation.
11974         (CollationElement): Added documentation.
11975         (compare): Reformated, renamed arguments.
11976         (equals): Likewise.
11977         (getCollationElementIterator): Likewise.
11978         (getCollationKey): Likewise.
11979
11980 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11981
11982         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11983
11984 2004-01-06  Michael Koch  <konqueror@gmx.de>
11985
11986         * gnu/java/net/protocol/file/Connection.java:
11987         Reformated copyright.
11988         (hdrHash): Removed.
11989         (hdrVec): Removed.
11990         (gotHeaders): Removed.
11991         (getHeaderField): Removed.
11992         (getHeaderField): Removed.
11993         (getHeaderFieldKey): Removed.
11994         (getKey): Removed.
11995         (getField): Removed.
11996         (getHeaders): Removed.
11997
11998 2004-01-06  Michael Koch  <konqueror@gmx.de>
11999
12000         * javax/print/attribute/standard/DateTimeAtCompleted.java,
12001         javax/print/attribute/standard/DateTimeAtCreation.java,
12002         javax/print/attribute/standard/DateTimeAtProcessing.java,
12003         javax/print/attribute/standard/JobImpressionsCompleted.java,
12004         javax/print/attribute/standard/JobKOctets.java,
12005         javax/print/attribute/standard/JobKOctetsProcessed.java,
12006         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12007         javax/print/attribute/standard/JobPrioritySupported.java: New files.
12008         * Makefile.am (javax_source_files): Added new files.
12009         * Makefile.in: Regenerated.
12010
12011 2004-01-06  Michael Koch  <konqueror@gmx.de>
12012
12013         * java/net/URLConnection.java
12014         (contentHandler): Removed.
12015         (locale): Removed.
12016         (getHeaderFields): Return an empty map instead of null.
12017         (getContent): Connect if needed, renamed "cType" to "type" and
12018         "contentHandler" to "ch" and made it a local variable.
12019         (getPermission): Don't use package in class name.
12020         (setDefaultRequestProperty): Fixed typo in documentation.
12021         (initializeDateFormats): Made locale a local variable.
12022
12023 2004-01-06  Michael Koch  <konqueror@gmx.de>
12024
12025         * java/lang/Package.java
12026         (getPackage): Get the current class loader directly.
12027         * java/lang/SecurityManager.java
12028         (currentLoadedClass): Dont iterate over class contexts.
12029         (classLoaderDepth): Don't check class loaders if everything is allowed.
12030
12031 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12032
12033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12034         (pre_event_handler): Set all insets to 0 when a Configure event
12035         is received for a GtkPlug.
12036         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12037         Make handle long, not int.
12038         (EmbeddedWindow()): New constructor.
12039         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12040         long, not int.
12041         (setHandle): New method.
12042         (getHandle): Return long, not int.
12043         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12044         declaration.
12045         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12046         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12047         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12048         argument to GdkNativeWindow.
12049         (construct): New method.
12050         (embed): New method.
12051
12052         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12053         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12054         (create(int, int)): New method.
12055         (create): Call new create method.
12056         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12057         methods.
12058         (childResized): Remove native implementation.  Implement in
12059         Java.
12060         (getHScrollbarHeight, getVScrollbarWidth): Call
12061         gtk_widget_size_request to get scrollbar dimensions.
12062         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12063         call getVScrollbarWidth and getHScrollbarHeight when vertical
12064         and horizontal scrollbars respectively are needed.
12065         (doLayout): Enlarge child if it is smaller than the viewport.
12066
12067 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12068
12069         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12070         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12071         argument as per spec.
12072
12073 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12074
12075         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12076         (insert): Ditto.
12077         (remove): Ditto.  Also, Check for valid argument.
12078         (removeAll): Use peer interface method.
12079         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12080         native add function.
12081         (nativeRemove): New name for native remove function.
12082         (getHistory): New native function.
12083         (constructor): Generate ItemEvent.
12084         (add): Ditto, if selection is changed.
12085         (remove): Ditto, ditto.
12086         (removeAll): Add implementation.
12087         (handleEvent): Remove.  Dead code.
12088         (choicePostItemEvent): Add comment.
12089         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12090         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12091         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12092         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12093         comments and fix condition to change selection.
12094         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12095         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12096         remove all capability.
12097         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12098         (item_activate): Add cast to remove compiler warning.
12099
12100 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12101
12102         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12103         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12104         (getPreferredSize): Call preferredSize.
12105         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12106         (getMinimumSize): Call minimumSize.
12107         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12108         (gtkWidgetGetDimensions): Return the peer widget's current size
12109         request.
12110         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12111         natural size request.
12112
12113 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12114
12115         Thanks to Brian Gough <bjg@network-theory.com>
12116         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12117         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12118
12119 2004-01-04  Matthias Klose  <doko@debian.org>
12120
12121         * aclocal.m4: Rebuilt using "aclocal -I .".
12122         * configure: Rebuilt.
12123
12124 2004-01-03  Per Bothner  <per@bothner.com>
12125
12126         * java/util/Date.java (parse):  Fix a number of problems.
12127         (skipParens):  Remove no-longer-needed method.
12128