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/Currency.java
4         Documented variables and methods more fully.
5         Caches the currency instances, so that a request
6         for a locale, l, only ever returns the same
7         instance (i.e. successive calls to getInstance(l)
8         are reference equivalent (==)).
9
10 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
11
12         * java/util/Date.java
13         Added missing documentation.
14
15 2004-11-06  Michael Koch  <konqueror@gmx.de>
16
17         * java/util/zip/CheckedInputStream.java,
18         java/util/zip/InflaterInputStream.java,
19         java/util/zip/ZipFile.java,
20         java/util/zip/ZipInputStream.java:
21         Import cleanups.
22
23 2004-11-06  Tom Tromey  <tromey@redhat.com>
24
25         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
26         package-private.
27         (connections): Likewise.
28         (scavenger): Likewise.
29         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
30         package-private.
31         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
32         package-private.
33         (ptr): Likewise.
34         * gnu/classpath/ServiceFactory.java (log): Now package-private.
35
36 2004-11-06  Tom Tromey  <tromey@redhat.com>
37
38         * javax/naming/directory/BasicAttributes.java (attributes): Now
39         package-private.
40         * javax/imageio/spi/ServiceRegistry.java (categories): Now
41         package-private.
42
43 2004-11-06  Tom Tromey  <tromey@redhat.com>
44
45         * java/net/URLClassLoader.java (URLClassLoader): Now
46         package-private.
47         * java/nio/charset/CoderResult.java (CoderResult): Now
48         package-private.
49         (get): Likewise.
50         (Cache): Likewise.  Don't synchronize on `this'.
51         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
52         package-private.
53         * java/util/TimeZone.java (timezones): Now package-private.
54
55 2004-11-06  Tom Tromey  <tromey@redhat.com>
56
57         * java/security/Permissions.java (perms): Now package-private.
58         * java/security/UnresolvedPermission.java (permissions): Now
59         package-private.
60
61 2004-11-06  Tom Tromey  <tromey@redhat.com>
62
63         * java/io/FilePermission.java: Reindented.
64
65 2004-11-06  Tom Tromey  <tromey@redhat.com>
66
67         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
68         package-private.
69         (setBlockDataMode): Likewise.
70
71 2004-11-06  Tom Tromey  <tromey@redhat.com>
72
73         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
74         package-private.
75         (Encoder): Likewise.
76         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
77         (Encoder): Likewise.
78         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
79         package-private.
80         (Encoder): Likewise.
81
82 2004-11-06  Mark Wielaard  <mark@klomp.org>
83
84         * Makefile.am: Add new javax.imageio files.
85         * Makefile.in: Regenerated.
86
87 2004-11-06  Michael Koch  <konqueror@gmx.de>
88
89         * javax/imageio/event/IIOReadProgressListener.java,
90         javax/imageio/event/IIOReadUpdateListener.java,
91         javax/imageio/event/IIOReadWarningListener.java,
92         javax/imageio/event/IIOWriteProgressListener.java,
93         javax/imageio/event/IIOWriteWarningListener.java,
94         javax/imageio/metadata/IIOMetadataFormat.java,
95         javax/imageio/stream/FileCacheImageInputStream.java,
96         javax/imageio/stream/FileCacheImageOutputStream.java,
97         javax/imageio/stream/ImageInputStreamImpl.java:
98         Import cleanup.
99         * javax/imageio/metadata/package.html: New file.
100
101 2004-11-06  Michael Koch  <konqueror@gmx.de>
102
103         * javax/imageio/spi/ImageReaderSpi.java
104         (isOwnReader): New method.
105         * javax/imageio/spi/ImageWriterSpi.java
106         (isOwnWriter): Likewise.
107
108 2004-11-06  Michael Koch  <konqueror@gmx.de>
109
110         * javax/imageio/ImageWriter.java
111         (convertImageMetadata): New abstract method.
112         (convertStreamMetadata): Likewise.
113         (write): Likewise.
114         * javax/imageio/stream/FileCacheImageInputStream.java
115         (close): Fixed setting of stream to null.
116         (checkStreamClosed): Throws IOException.
117
118 2004-11-06  Michael Koch  <konqueror@gmx.de>
119
120         * javax/imageio/stream/FileCacheImageInputStream.java,
121         javax/imageio/stream/FileCacheImageOutputStream.java,
122         javax/imageio/stream/FileImageInputStream.java,
123         javax/imageio/stream/FileImageOutputStream.java,
124         javax/imageio/stream/MemoryCacheImageInputStream.java,
125         javax/imageio/stream/MemoryCacheImageOutputStream.java:
126         New files.
127
128 2004-11-06  Michael Koch  <konqueror@gmx.de>
129
130         * javax/imageio/metadata/IIOInvalidTreeException.java,
131         javax/imageio/metadata/IIOMetadataFormatImpl.java,
132         javax/imageio/metadata/IIOMetadataNode.java:
133         New stub files.
134
135 2004-11-06  Michael Koch  <konqueror@gmx.de>
136
137         * javax/imageio/stream/ImageInputStreamImpl.java,
138         javax/imageio/stream/ImageOutputStreamImpl.java:
139         New files.
140
141 2004-11-06  Michael Koch  <konqueror@gmx.de>
142
143         * javax/imageio/ImageIO.java:
144         Added much new methods.
145
146 2004-11-06  Michael Koch  <konqueror@gmx.de>
147
148         * javax/imageio/ImageReader.java,
149         javax/imageio/ImageWriter.java,
150         javax/imageio/spi/ImageWriterSpi.java:
151         Add SOME new methods.
152
153 2004-11-06  Michael Koch  <konqueror@gmx.de>
154
155         * javax/imageio/IIOParam.java,
156         javax/imageio/ImageReadParam.java,
157         javax/imageio/ImageReader.java,
158         javax/imageio/ImageWriter.java:
159         Mostly implemented.
160         * javax/imageio/spi/ImageReaderSpi.java,
161         javax/imageio/spi/ImageWriterSpi.java:
162         New files.
163
164 2004-11-06  Michael Koch  <konqueror@gmx.de>
165
166         * javax/imageio/ImageWriteParam.java,
167         javax/imageio/metadata/IIOMetadataFormat.java:
168         Implemented.
169
170 2004-11-06  Michael Koch  <konqueror@gmx.de>
171
172         * javax/imageio/ImageTypeSpecifier.java:
173         Mostly implemented.
174
175 2004-11-06  Michael Koch  <konqueror@gmx.de>
176
177         * javax/imageio/metadata/IIOMetadata.java:
178         Mostly implemented.
179
180 2004-11-06  Michael Koch  <konqueror@gmx.de>
181
182         * javax/imageio/IIOImage.java,
183         javax/imageio/ImageReadParam.java,
184         javax/imageio/metadata/IIOMetadataController.java,
185         javax/imageio/metadata/IIOMetadataFormat.java:
186         New files.
187         * javax/imageio/stream/ImageOutputStream.java:
188         Implemented.
189
190 2004-11-06  Michael Koch  <konqueror@gmx.de>
191
192         * javax/imageio/IIOParam.java,
193         javax/imageio/IIOParamController.java,
194         javax/imageio/ImageTypeSpecifier.java,
195         javax/imageio/ImageWriteParam.java,
196         javax/imageio/metadata/IIOMetadata.java:
197         New files.
198         * javax/imageio/ImageTranscoder.java:
199         Implemented.
200
201 2004-11-06  Michael Koch  <konqueror@gmx.de>
202
203         * javax/imageio/spi/ImageInputStreamSpi.java,
204         javax/imageio/spi/ImageOutputStreamSpi.java:
205         Reworked import startments.
206         * javax/imageio/spi/ServiceRegistry.java:
207         Reworked import startments. Fixed XHTML in javadocs.
208         (ServiceRegistry): Added @param tag to javadoc.
209         * javax/imageio/stream/ImageInputStream.java
210         (mark): Doesn't throws IOException;
211
212 2004-11-06  Michael Koch  <konqueror@gmx.de>
213
214         * javax/imageio/ImageIO.java:
215         New file.
216
217 2004-11-06  Michael Koch  <konqueror@gmx.de>
218
219         * javax/imageio/spi/IIORegistry.java
220         (static): Don't register ImageReaderSpi.class and
221         ImageWriterSpi.class yet.
222
223 2004-11-06  Michael Koch  <konqueror@gmx.de>
224
225         * javax/imageio/spi/IIORegistry.java:
226         New file.
227
228 2004-11-06  Noa Resare  <noa@resare.com>
229
230         * java/net/Socket.java (getPort): Return 0 instead of -1 on
231         unconnected sockets.
232
233 2004-11-06  Michael Koch  <konqueror@gmx.de>
234
235         * java/lang/StringBuffer.java,
236         java/lang/Throwable.java,
237         java/security/spec/DSAParameterSpec.java,
238         java/util/zip/ZipEntry.java,
239         java/util/zip/ZipFile.java,
240         java/util/zip/ZipInputStream.java,
241         java/util/zip/ZipOutputStream.java:
242         Removed redundant and reordered modifiers.
243
244 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
245
246         * java/io/Vector.java
247         (writeObject): New function to serialized output thread safe.
248
249         * java/io/ObjectOutputStream.java
250         (writeObject): Move the assignment of the class handle to after
251         the assignment of class descriptor handle.
252
253 2004-11-06  Robert Schuster <thebohemian@gmx.net>
254
255         Fixes documentation and indentation
256         * java/beans/PropertyEditorSupport.java:
257         reworked initial API doc
258         (value): changed name from val
259
260 2004-11-06  Robert Schuster <thebohemian@gmx.net>
261
262         Updates to 1.5
263         * java/beans/PropertyEditorSupport.java
264         (PropertyEditorSupport()): Changed modifier to public
265         (PropertyEditorSupport(Object): Changed modifier to public
266         (setSource): New method
267         (getSource): New method
268
269 2004-11-06  Robert Schuster <thebohemian@gmx.net>
270
271         Fixes bug #10799
272         * java/beans/PropertyEditorSupport.java
273         (setValue): Fire property change event
274
275 2004-11-03  Tom Tromey  <tromey@redhat.com>
276
277         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
278         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
279         returns jobjectArray.
280         (_Jv_JNIEnv::NewObjectArray): Likewise.
281
282 2004-11-01  Tom Tromey  <tromey@redhat.com>
283
284         * verify.cc (state::check_no_uninitialized_objects): Removed.
285         (push_jump): Updated.
286         (push_exception_jump): Likewise.
287         (handle_ret_insn): Likewise.
288         (handle_jsr_insn): Likewise.
289
290 2004-10-30  Mark Wielaard  <mark@klomp.org>
291
292         PR libgcj/18234
293         * java/lang/Runtime.java (static): Call init().
294         (Runtime): Remove call to init().
295         (init): Make static.
296
297 2004-10-28  David Daney  <ddaney@avtrex.com>
298
299         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
300         * Makefile.am: Build it.
301         * Makefile.in: Regenerate.
302
303 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
304
305         PR libgcj/18104
306         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
307         colon.
308         * Makefile.in: Regenerate.
309         * configure: Regenerate.
310         * configure.ac (CLASSPATH_SEPARATOR): Define.
311         * gcj/Makefile.in: Regenerate.
312         * include/Makefile.in: Regenerate.
313         * testsuite/Makefile.in: Regenerate.
314         * testsuite/lib/libjava.exp (libjava_arguments): Fix
315         CLASSPATH separator handling for Windows.
316
317 2004-10-26  Michael Koch  <konqueror@gmx.de>
318
319         * gnu/java/net/protocol/http/Connection.java
320         (getOutputStream): Implicitely switch to POST method.
321
322 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
323
324         * libjava/java/lang/Class.h
325         (java::lang::Class): Correct friend class declaration.
326
327 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
328
329         * Makefile.am (DARWIN_CRT_SRC): New.
330         (libgcj_la_SOURCES): Use it.
331         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
332         * darwin.cc: New file.
333         * include/jvm.h (_Jv_RegisterClasses): Constify.
334         (_Jv_RegisterClasses_Counted): New prototype.
335         * java/lang/Class.h: Include stddef.h.  
336         (_Jv_RegisterClasses): Constify.
337         (_Jv_RegisterClasses_Counted): New prototype.
338         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
339         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
340         (_Jv_RegisterClasses_Counted): New function.
341         * configure: Regenerate.
342         * Makefile.in: Regenerate.
343         * gcj/Makefile.in: Regenerate.
344         * include/Makefile.in: Regenerate.
345         * testsuite/Makefile.in: Regenerate.
346
347 2004-10-25  Tom Tromey  <tromey@redhat.com>
348
349         * java/util/ResourceBundle.java (tryBundle): Use
350         Class.isAssignableFrom rather than catching ClassCastException.
351
352 2004-10-25  Tom Tromey  <tromey@redhat.com>
353
354         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
355         initialize `iter'.
356         * gnu/java/text/SentenceBreakIterator.java
357         (SentenceBreakIterator): Don't initialize `iter'.
358         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
359         initialize `iter'.
360         * gnu/java/text/CharacterBreakIterator.java
361         (CharacterBreakIterator): Don't initialize `iter'.
362         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
363         constructor.
364         * java/text/BreakIterator.java: Updated documentation.
365
366 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
367
368         PR other/18138
369         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
370
371 2004-10-23  Michael Koch  <konqueror@gmx.de>
372
373         * javax/print/DocFlavor.java,
374         javax/print/attribute/standard/JobStateReason.java,
375         javax/print/attribute/standard/MultipleDocumentHandling.java:
376         Added missing constants.
377
378 2004-10-22  Tom Tromey  <tromey@redhat.com>
379
380         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
381         typo.
382
383 2004-10-22  Michael Koch  <konqueror@gmx.de>
384
385         PR libjava/14009
386         * gnu/java/net/protocol/http/Connection.java
387         (sendRequest): Handle case when url.getFile() returns an empty string.
388
389 2004-10-22  Michael Koch  <konqueror@gmx.de>
390
391         * java/lang/Math.java,
392         java/lang/StackTraceElement.java,
393         java/nio/Buffer.java,
394         java/nio/ByteBuffer.java,
395         java/nio/CharBuffer.java,
396         java/nio/DoubleBuffer.java,
397         java/nio/FloatBuffer.java,
398         java/nio/IntBuffer.java,
399         java/nio/LongBuffer.java,
400         java/nio/ShortBuffer.java,
401         java/nio/charset/Charset.java,
402         java/rmi/server/RMIClassLoader.java,
403         java/rmi/server/RMISocketFactory.java,
404         java/security/Policy.java,
405         java/text/ChoiceFormat.java,
406         java/text/CollationElementIterator.java,
407         java/text/DateFormat.java,
408         java/text/DecimalFormat.java,
409         java/text/DecimalFormatSymbols.java,
410         java/text/MessageFormat.java,
411         java/text/NumberFormat.java,
412         java/text/RuleBasedCollator.java,
413         java/text/SimpleDateFormat.java,
414         java/util/BitSet.java,
415         java/util/Calendar.java,
416         java/util/Collections.java,
417         java/util/IdentityHashMap.java,
418         java/util/Locale.java,
419         java/util/TreeMap.java,
420         java/util/logging/LogRecord.java,
421         java/util/logging/XMLFormatter.java,
422         java/util/prefs/AbstractPreferences.java,
423         java/util/prefs/Preferences.java,
424         javax/crypto/interfaces/DHPrivateKey.java,
425         javax/crypto/interfaces/DHPublicKey.java,
426         javax/crypto/interfaces/PBEKey.java,
427         javax/net/ssl/HandshakeCompletedEvent.java,
428         javax/security/auth/Subject.java:
429         Removed redundant and reordered modifiers.
430
431 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
432
433         * gnu/java/net/natPlainSocketImplPosix.cc
434         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
435         with 'int *' argument instead of 'long *'.
436
437 2004-10-21  Michael Koch  <konqueror@gmx.de>
438
439         * java/net/NetworkInterface.java,
440         java/text/Format.java,
441         javax/security/auth/x500/X500Principal.java,
442         javax/security/auth/x500/X500PrivateCredential.java,
443         javax/security/cert/X509CertBridge.java,
444         javax/security/sasl/Sasl.java,
445         javax/sql/XAConnection.java:
446         Import cleanup.
447
448 2004-10-21  Michael Koch  <konqueror@gmx.de>
449
450         * javax/net/ssl/HandshakeCompletedEvent.java,
451         javax/net/ssl/KeyManagerFactory.java,
452         javax/net/ssl/SSLContext.java,
453         javax/net/ssl/SSLServerSocketFactory.java,
454         javax/net/ssl/SSLSession.java,
455         javax/net/ssl/SSLSocketFactory.java,
456         javax/net/ssl/TrustManagerFactory.java:
457         Import cleanup.
458
459 2004-10-21  Michael Koch  <konqueror@gmx.de>
460
461         * javax/naming/directory/BasicAttribute.java,
462         javax/naming/directory/BasicAttributes.java,
463         javax/naming/directory/InitialDirContext.java,
464         javax/naming/event/NamingEvent.java,
465         javax/naming/ldap/ControlFactory.java,
466         javax/naming/ldap/ExtendedRequest.java,
467         javax/naming/ldap/InitialLdapContext.java,
468         javax/naming/ldap/LdapReferralException.java,
469         javax/naming/spi/DirObjectFactory.java,
470         javax/naming/spi/DirStateFactory.java,
471         javax/naming/spi/DirectoryManager.java,
472         javax/naming/spi/InitialContextFactory.java,
473         javax/naming/spi/InitialContextFactoryBuilder.java,
474         javax/naming/spi/NamingManager.java,
475         javax/naming/spi/ObjectFactory.java,
476         javax/naming/spi/ObjectFactoryBuilder.java,
477         javax/naming/spi/StateFactory.java:
478         Import cleanup.
479
480 2004-10-21  Michael Koch  <konqueror@gmx.de>
481
482         * javax/crypto/Cipher.java,
483         javax/crypto/EncryptedPrivateKeyInfo.java,
484         javax/crypto/ExemptionMechanism.java,
485         javax/crypto/KeyAgreement.java,
486         javax/crypto/KeyGenerator.java,
487         javax/crypto/Mac.java,
488         javax/crypto/SecretKeyFactory.java,
489         javax/crypto/SecretKeyFactorySpi.java,
490         javax/crypto/spec/SecretKeySpec.java:
491         Import cleanup.
492
493 2004-10-21  Michael Koch  <konqueror@gmx.de>
494
495         * java/security/AlgorithmParameterGenerator.java,
496         java/security/AlgorithmParameters.java,
497         java/security/AlgorithmParametersSpi.java,
498         java/security/AllPermission.java,
499         java/security/BasicPermission.java,
500         java/security/Certificate.java,
501         java/security/CodeSource.java,
502         java/security/DigestInputStream.java,
503         java/security/DigestOutputStream.java,
504         java/security/GuardedObject.java,
505         java/security/KeyFactory.java,
506         java/security/KeyFactorySpi.java,
507         java/security/KeyPairGenerator.java,
508         java/security/KeyStore.java,
509         java/security/KeyStoreSpi.java,
510         java/security/Permissions.java,
511         java/security/Security.java,
512         java/security/Signature.java,
513         java/security/UnresolvedPermission.java,
514         java/security/cert/CertPathBuilder.java,
515         java/security/cert/CertPathValidator.java,
516         java/security/cert/CertStore.java,
517         java/security/cert/Certificate.java,
518         java/security/cert/CertificateFactory.java,
519         java/security/cert/PolicyQualifierInfo.java,
520         java/security/cert/TrustAnchor.java,
521         java/security/cert/X509CRL.java,
522         java/security/cert/X509CRLSelector.java,
523         java/security/cert/X509CertSelector.java:
524         Import cleanup.
525
526 2004-10-21  Michael Koch  <konqueror@gmx.de>
527
528         * java/rmi/MarshalledObject.java,
529         java/rmi/Naming.java,
530         java/rmi/activation/Activatable.java,
531         java/rmi/activation/ActivationGroup.java,
532         java/rmi/activation/ActivationGroupDesc.java,
533         java/rmi/activation/ActivationInstantiator.java,
534         java/rmi/activation/ActivationMonitor.java,
535         java/rmi/activation/ActivationSystem.java,
536         java/rmi/activation/Activator.java,
537         java/rmi/registry/LocateRegistry.java,
538         java/rmi/registry/Registry.java,
539         java/rmi/server/LogStream.java,
540         java/rmi/server/ObjID.java,
541         java/rmi/server/RMIClientSocketFactory.java,
542         java/rmi/server/RMIServerSocketFactory.java,
543         java/rmi/server/RMISocketFactory.java,
544         java/rmi/server/RemoteCall.java,
545         java/rmi/server/RemoteServer.java,
546         java/rmi/server/ServerRef.java,
547         java/rmi/server/UID.java,
548         java/rmi/server/UnicastRemoteObject.java:
549         Import cleanup.
550
551 2004-10-21  Tom Tromey  <tromey@redhat.com>
552
553         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
554         exception if we hit EOF of `in'.
555         (read): Handle case where inflating returns -1.
556
557 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
558
559         * gnu/java/nio/channels/natFileChannelPosix.cc
560         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
561         argument instead of 'long *'.
562
563 2004-10-21  Tom Tromey  <tromey@redhat.com>
564
565         * java/util/ResourceBundle.java (tryBundle): Also ignore
566         ClassCastException.
567
568 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
569
570         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
571         for all sh*-*-linux* targets.
572         * configure: Regenerate.
573         * include/sh-signal.h: New file.
574
575 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
576
577         * java/lang/ieeefp.h: Add m32r support.
578
579 2004-10-20  Andreas Schwab  <schwab@suse.de>
580
581         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
582         to uaddr, not int.
583         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
584         Likewise.
585
586 2004-10-20  Michael Koch  <konqueror@gmx.de>
587
588         * javax/print/attribute/standard/ColorSupported.java,
589         javax/print/attribute/standard/Compression.java,
590         javax/print/attribute/standard/Copies.java,
591         javax/print/attribute/standard/CopiesSupported.java,
592         javax/print/attribute/standard/DateTimeAtCompleted.java,
593         javax/print/attribute/standard/DateTimeAtCreation.java,
594         javax/print/attribute/standard/DateTimeAtProcessing.java,
595         javax/print/attribute/standard/DocumentName.java,
596         javax/print/attribute/standard/Fidelity.java,
597         javax/print/attribute/standard/Finishings.java,
598         javax/print/attribute/standard/JobHoldUntil.java,
599         javax/print/attribute/standard/JobImpressions.java,
600         javax/print/attribute/standard/JobImpressionsCompleted.java,
601         javax/print/attribute/standard/JobImpressionsSupported.java,
602         javax/print/attribute/standard/JobKOctets.java,
603         javax/print/attribute/standard/JobKOctetsProcessed.java,
604         javax/print/attribute/standard/JobKOctetsSupported.java,
605         javax/print/attribute/standard/JobMediaSheets.java,
606         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
607         javax/print/attribute/standard/JobMediaSheetsSupported.java,
608         javax/print/attribute/standard/JobMessageFromOperator.java,
609         javax/print/attribute/standard/JobName.java,
610         javax/print/attribute/standard/JobOriginatingUserName.java,
611         javax/print/attribute/standard/JobPriority.java,
612         javax/print/attribute/standard/JobPrioritySupported.java,
613         javax/print/attribute/standard/JobSheets.java,
614         javax/print/attribute/standard/JobState.java,
615         javax/print/attribute/standard/JobStateReason.java,
616         javax/print/attribute/standard/JobStateReasons.java,
617         javax/print/attribute/standard/Media.java,
618         javax/print/attribute/standard/MultipleDocumentHandling.java,
619         javax/print/attribute/standard/NumberOfDocuments.java,
620         javax/print/attribute/standard/NumberOfInterveningJobs.java,
621         javax/print/attribute/standard/NumberUp.java,
622         javax/print/attribute/standard/NumberUpSupported.java,
623         javax/print/attribute/standard/OrientationRequested.java,
624         javax/print/attribute/standard/OutputDeviceAssigned.java,
625         javax/print/attribute/standard/PDLOverrideSupported.java,
626         javax/print/attribute/standard/PageRanges.java,
627         javax/print/attribute/standard/PagesPerMinute.java,
628         javax/print/attribute/standard/PagesPerMinuteColor.java,
629         javax/print/attribute/standard/PrintQuality.java,
630         javax/print/attribute/standard/PrinterInfo.java,
631         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
632         javax/print/attribute/standard/PrinterLocation.java,
633         javax/print/attribute/standard/PrinterMakeAndModel.java,
634         javax/print/attribute/standard/PrinterMessageFromOperator.java,
635         javax/print/attribute/standard/PrinterMoreInfo.java,
636         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
637         javax/print/attribute/standard/PrinterName.java,
638         javax/print/attribute/standard/PrinterStateReason.java,
639         javax/print/attribute/standard/PrinterStateReasons.java,
640         javax/print/attribute/standard/PrinterURI.java,
641         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
642         javax/print/attribute/standard/RequestingUserName.java:
643         Reorganized imports and removed redundant final modifiers.
644
645 2004-10-20  Michael Koch  <konqueror@gmx.de>
646
647         * javax/security/sasl/SaslClient.java,
648         javax/security/sasl/SaslClientFactory.java,
649         javax/security/sasl/SaslException.java,
650         javax/security/sasl/SaslServer.java,
651         javax/security/sasl/SaslServerFactory.java:
652         Remvoed CVS tags.
653
654 2004-10-20  Michael Koch  <konqueror@gmx.de>
655
656         * javax/security/auth/login/NullConfiguration.java,
657         javax/security/auth/x500/X500Principal.java,
658         javax/security/cert/X509Certificate.java,
659         javax/security/sasl/AuthenticationException.java,
660         javax/security/sasl/AuthorizeCallback.java,
661         javax/security/sasl/RealmCallback.java,
662         javax/security/sasl/RealmChoiceCallback.java,
663         javax/security/sasl/Sasl.java,
664         javax/security/sasl/SaslClient.java,
665         javax/security/sasl/SaslClientFactory.java,
666         javax/security/sasl/SaslException.java,
667         javax/security/sasl/SaslServer.java,
668         javax/security/sasl/SaslServerFactory.java:
669         Cleaned up import statements and copyright notices.
670
671 2004-10-20  Michael Koch  <konqueror@gmx.de>
672
673         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
674
675 2004-10-20  Michael Koch  <konqueror@gmx.de>
676
677         * java/sql/Timestamp.java,
678         java/text/AttributedCharacterIterator.java,
679         java/text/AttributedString.java,
680         java/util/zip/CheckedOutputStream.java,
681         java/util/zip/DeflaterOutputStream.java,
682         java/util/zip/ZipFile.java,
683         javax/crypto/Cipher.java,
684         javax/crypto/ExemptionMechanismException.java,
685         javax/crypto/SecretKey.java,
686         javax/crypto/SecretKeyFactory.java,
687         javax/naming/directory/ModificationItem.java,
688         javax/naming/directory/SearchControls.java,
689         javax/naming/event/NamingListener.java,
690         javax/naming/ldap/Control.java,
691         javax/naming/ldap/ExtendedResponse.java,
692         javax/net/ssl/SSLSocketFactory.java:
693         Reorganized imports and fixed copyright headers.
694
695 2004-10-20  Michael Koch  <konqueror@gmx.de>
696
697         * java/util/logging/ConsoleHandler.java,
698         java/util/logging/ErrorManager.java,
699         java/util/logging/FileHandler.java,
700         java/util/logging/Filter.java,
701         java/util/logging/Formatter.java,
702         java/util/logging/Handler.java,
703         java/util/logging/Level.java,
704         java/util/logging/LogManager.java,
705         java/util/logging/LogRecord.java,
706         java/util/logging/Logger.java,
707         java/util/logging/LoggingPermission.java,
708         java/util/logging/MemoryHandler.java,
709         java/util/logging/SimpleFormatter.java,
710         java/util/logging/SocketHandler.java,
711         java/util/logging/StreamHandler.java,
712         java/util/logging/XMLFormatter.java:
713         Standardized copyrigth header.
714
715 2004-10-20  Michael Koch  <konqueror@gmx.de>
716
717         * java/security/AlgorithmParameterGenerator.java,
718         java/security/AlgorithmParameters.java,
719         java/security/DigestInputStream.java,
720         java/security/Identity.java,
721         java/security/KeyFactory.java,
722         java/security/KeyPairGenerator.java,
723         java/security/KeyStore.java,
724         java/security/MessageDigest.java,
725         java/security/MessageDigestSpi.java,
726         java/security/Policy.java,
727         java/security/SecureRandom.java,
728         java/security/Security.java,
729         java/security/Signature.java,
730         java/security/SignatureSpi.java,
731         java/security/cert/CertPathBuilder.java,
732         java/security/cert/CertPathValidator.java,
733         java/security/cert/CertStore.java,
734         java/security/cert/Certificate.java,
735         java/security/cert/CertificateFactory.java,
736         java/security/cert/PolicyQualifierInfo.java,
737         java/security/cert/TrustAnchor.java,
738         java/security/cert/X509CRL.java,
739         java/security/cert/X509CRLEntry.java,
740         java/security/cert/X509Certificate.java,
741         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
742         Import statements reorganized, some little formatting issues,
743         used java-style array declarations, added comments in empty catch
744         blocks.
745
746 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
747
748         * java/security/Security.java
749         (static): Use AccessController.doPrivileged to get system property.
750
751 2004-10-18  Sven de Marothy  <sven@physto.se>
752
753         * java/nio/ByteBufferHelper.java
754         (putDouble): Use Double.toRawLongBits instead.
755
756 2004-10-18  Mark Wielaard  <mark@klomp.org>
757         Andrew Haley  <aph@redhat.com>
758
759         * testsuite/libjava.lang/ExtraClassLoader.java: New.
760
761 2004-10-18  Andrew Haley  <aph@redhat.com>
762
763         PR java/18036:
764         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
765         and correct logic used to find interpreter.
766         
767 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
768
769         * java/util/logging/LogManager.java
770         (findAncestor): Fixed IndexOutOfBoundsException.
771
772 2004-10-18  Michael Koch  <konqueror@gmx.de>
773
774         * java/io/BufferedInputStream.java: Fixed @author tag.
775         (read): Simplified expression.
776         (read): Merged javadoc a bit more.
777         (read): Renamed 'remain' to 'totalBytesRead'.
778         * java/io/DataInputStream.java,
779         java/io/DataOutputStream.java,
780         java/io/ObjectInputStream.java,
781         java/io/ObjectOutputStream.java:
782         Reworked modifier order.
783
784 2004-10-18  Michael Koch  <konqueror@gmx.de>
785
786         * java/net/Inet4Address.java: Merged file header and javadocs.
787         * java/net/Inet6Address.java: Likewise.
788         * java/net/InetAddress.java
789         (getCanonicalHostName): Create Inet4Address object instead of
790         InetAddress and add comment regarding IPv6.
791         (toString): Simplified.
792
793 2004-10-18  Michael Koch  <konqueror@gmx.de>
794
795         * gnu/java/net/protocol/http/Connection.java,
796         java/nio/MappedByteBufferImpl.java,
797         java/text/RuleBasedCollator.java,
798         java/util/ResourceBundle.java:
799         Reworked import statements.
800
801 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
802
803         * java/security/IdentityScope.java
804         (systemScope): Removed useless initializer.
805         * java/security/Policy.java
806         (currentPolicy): Likewise.
807
808 2004-10-18  Michael Koch  <konqueror@gmx.de>
809
810         * java/lang/System.java: Revert accidential change.
811
812 2004-10-18  Michael Koch  <konqueror@gmx.de>
813
814         * java/lang/Math.java,
815         java/lang/Package.java,
816         java/lang/Runtime.java,
817         java/lang/StrictMath.java,
818         java/lang/System.java,
819         java/lang/Thread.java,
820         java/lang/ThreadLocal.java,
821         java/lang/Void.java:
822         Reworked import statements, HTML in javadocs and modifier orders.
823
824 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
825
826         * java/util/Timer.java
827         (nr): Removed useless initializer.
828         * java/util/logging/LogRecord.java
829         (lastSeqNum): Likewise.
830         * javax/naming/spi/NamingManager.java
831         (icfb, ofb): Likewise.
832
833 2004-10-18  Michael Koch  <konqueror@gmx.de>
834
835         * gnu/java/net/PlainDatagramSocketImpl.java:
836         Reworked import statements.
837         * gnu/java/security/provider/DSAParameters.java:
838         Fixed copyrigth years.
839         * java/net/JarURLConnection.java:
840         Fixed HTML in @author tags.
841         
842
843 2004-10-18  Michael Koch  <konqueror@gmx.de>
844
845         * java/rmi/activation/ActivationSystem.java
846         (SYSTEM_PORT): Initialize with correct port number.
847
848 2004-10-18  Michael Koch  <konqueror@gmx.de>
849
850         * java/lang/reflect/Proxy.java: Improved javadocs.
851
852 2004-10-18  Michael Koch  <konqueror@gmx.de>
853
854         * java/lang/reflect/AccessibleObject.java
855         (checkPermission): Removed redundant final modifier.
856         (secureSetAccessible): Likewise.
857         * java/lang/reflect/Proxy.java:
858         Reworked import statements.
859         (generate): Removed redundant final modifier.
860         * java/lang/reflect/ReflectPermission.java:
861         Reorder package declaration and import statement.
862
863 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
864
865         * java/lang/reflect/Proxy.java
866         (count): Removed useless initializer.
867
868 2004-10-17  Michael Koch  <konqueror@gmx.de>
869
870         * java/net/BindException.java,
871         java/net/ConnectException.java,
872         java/net/ContentHandler.java,
873         java/net/ContentHandlerFactory.java,
874         java/net/DatagramPacket.java,
875         java/net/DatagramSocket.java,
876         java/net/DatagramSocketImpl.java,
877         java/net/DatagramSocketImplFactory.java,
878         java/net/FileNameMap.java,
879         java/net/HttpURLConnection.java,
880         java/net/MalformedURLException.java,
881         java/net/MulticastSocket.java,
882         java/net/NetworkInterface.java,
883         java/net/NoRouteToHostException.java,
884         java/net/PasswordAuthentication.java,
885         java/net/PortUnreachableException.java,
886         java/net/ProtocolException.java,
887         java/net/ServerSocket.java,
888         java/net/Socket.java,
889         java/net/SocketException.java,
890         java/net/SocketImpl.java,
891         java/net/SocketImplFactory.java,
892         java/net/SocketOptions.java,
893         java/net/SocketPermission.java,
894         java/net/SocketTimeoutException.java,
895         java/net/URI.java,
896         java/net/URISyntaxException.java,
897         java/net/URL.java,
898         java/net/URLDecoder.java,
899         java/net/URLEncoder.java,
900         java/net/URLStreamHandler.java,
901         java/net/URLStreamHandlerFactory.java,
902         java/net/UnknownHostException.java,
903         java/net/UnknownServiceException.java:
904         Big import statement and @author tag cleanup.
905
906 2004-10-17  Michael Koch  <konqueror@gmx.de>
907
908         * gnu/java/security/OID.java,
909         gnu/java/security/provider/DSAParameters.java,
910         gnu/java/security/provider/DSASignature.java,
911         gnu/java/security/x509/X500DistinguishedName.java,
912         gnu/java/security/x509/X509CRL.java:
913         Import statements cleaned up.
914
915 2004-10-16  Michael Koch  <konqueror@gmx.de>
916
917         * gnu/java/nio/NIODatagramSocket.java,
918         gnu/java/nio/ServerSocketChannelImpl.java:
919         Reorganized import statements.
920
921 2004-10-16  Michael Koch  <konqueror@gmx.de>
922
923         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
924         gnu/java/rmi/rmic/RMIC.java,
925         gnu/java/rmi/server/RMIHashes.java,
926         gnu/java/rmi/server/RMIObjectInputStream.java,
927         gnu/java/rmi/server/RMIObjectOutputStream.java,
928         gnu/java/rmi/server/UnicastConnection.java,
929         gnu/java/rmi/server/UnicastConnectionManager.java,
930         gnu/java/rmi/server/UnicastRemoteCall.java,
931         gnu/java/rmi/server/UnicastServer.java,
932         gnu/java/rmi/server/UnicastServerRef.java,
933         java/rmi/MarshalledObject.java,
934         java/rmi/Naming.java,
935         java/rmi/RMISecurityManager.java,
936         java/rmi/Remote.java,
937         java/rmi/activation/Activatable.java,
938         java/rmi/activation/ActivationDesc.java,
939         java/rmi/activation/ActivationGroup.java,
940         java/rmi/activation/ActivationGroupDesc.java,
941         java/rmi/activation/ActivationGroupID.java,
942         java/rmi/activation/ActivationID.java,
943         java/rmi/activation/ActivationInstantiator.java,
944         java/rmi/activation/ActivationMonitor.java,
945         java/rmi/activation/ActivationSystem.java,
946         java/rmi/activation/Activator.java,
947         java/rmi/dgc/DGC.java,
948         java/rmi/dgc/Lease.java,
949         java/rmi/dgc/VMID.java,
950         java/rmi/registry/LocateRegistry.java,
951         java/rmi/registry/Registry.java,
952         java/rmi/registry/RegistryHandler.java,
953         java/rmi/server/LoaderHandler.java,
954         java/rmi/server/LogStream.java,
955         java/rmi/server/ObjID.java,
956         java/rmi/server/Operation.java,
957         java/rmi/server/RMIClassLoader.java,
958         java/rmi/server/RMIClassLoaderSpi.java,
959         java/rmi/server/RMIClientSocketFactory.java,
960         java/rmi/server/RMIFailureHandler.java,
961         java/rmi/server/RMIServerSocketFactory.java,
962         java/rmi/server/RMISocketFactory.java,
963         java/rmi/server/RemoteCall.java,
964         java/rmi/server/RemoteObject.java,
965         java/rmi/server/RemoteRef.java,
966         java/rmi/server/RemoteServer.java,
967         java/rmi/server/RemoteStub.java,
968         java/rmi/server/ServerRef.java,
969         java/rmi/server/Skeleton.java,
970         java/rmi/server/SkeletonMismatchException.java,
971         java/rmi/server/UID.java,
972         java/rmi/server/UnicastRemoteObject.java,
973         java/rmi/server/Unreferenced.java:
974         File headers and import statements cleaned up.
975
976 2004-10-16  Michael Koch  <konqueror@gmx.de>
977
978         * libjava/gnu/java/nio/charset/UTF_16.java,
979         libjava/gnu/java/nio/charset/UTF_16BE.java,
980         libjava/gnu/java/nio/charset/UTF_16LE.java,
981         libjava/java/nio/ByteOrder.java,
982         libjava/java/nio/MappedByteBuffer.java,
983         libjava/java/nio/channels/Channels.java,
984         libjava/java/nio/channels/spi/SelectorProvider.java,
985         libjava/java/nio/charset/Charset.java:
986         Cleanup.
987
988 2004-10-16  Michael Koch  <konqueror@gmx.de>
989
990         * gnu/java/nio/charset/UTF_16Encoder.java
991         (UTF_16Encoder): Fixed maxBytesPerChar handling.
992
993 2004-10-16  Michael Koch  <konqueror@gmx.de>
994
995         * java/math/BigDecimal.java, java/math/BigInteger.java:
996         Reorganized import statements, removed redundant and
997         reorganized modifiers.
998
999 2004-10-16  Michael Koch  <konqueror@gmx.de>
1000
1001         * gnu/java/beans/ExplicitBeanInfo.java:
1002         Explicitely import java.awt.Image.
1003         (getIcon): Fixed off-by-one error.
1004
1005 2004-10-15  Andrew Haley  <aph@redhat.com>
1006
1007         * Makefile.am (nat_files, xlib_nat_files): New.
1008         * Makefile.in: Regenerate.
1009
1010 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1011
1012         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1013         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1014
1015 2004-10-13  Andrew Haley  <aph@redhat.com>
1016
1017         * interpret.cc (_Jv_InterpMethod::run): Initialize
1018         _Jv_StartOfInterpreter.
1019         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1020         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1021         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1022         _Unwind_FindEnclosingFunction to discover whether PC is within the
1023         interpreter.
1024
1025 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1026
1027         PR libgcj/17903:
1028         * testsuite/libjava.lang/md5test.java: New file.
1029         * testsuite/libjava.lang/md5test.out: Likewise.
1030         * testsuite/libjava.lang/shatest.java: Likewise.
1031         * testsuite/libjava.lang/shatest.out: Likewise.
1032
1033 2004-10-11  Richard Henderson  <rth@redhat.com>
1034
1035         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1036         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1037
1038 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1039
1040         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1041         field as a DST boundary may have been crossed.
1042         * java/util/GregorianCalendar.java (add): Throw 
1043         IllegalArgumentException on attempt to add to DST_OFFSET or 
1044         ZONE_OFFSET fields. Update javadoc.
1045
1046 2004-10-09  Michael Koch  <konqueror@gmx.de>
1047
1048         * java/io/CharArrayWriter.java
1049         (resize): Removed redundant 'final' modifier.
1050         * java/io/DataInputStream.java
1051         (readFully): Throw IndexOutOfBoundsException of len < 0.
1052         * java/io/FileDescriptor.java,
1053         java/io/FileInputStream.java,
1054         java/io/FileOutputStream.java,
1055         java/io/ObjectOutputStream.java,
1056         java/io/ObjectStreamClass.java,
1057         java/io/PipedInputStream.java,
1058         java/io/RandomAccessFile.java:
1059         Reorganized import statements.
1060
1061 2004-10-09  Michael Koch  <konqueror@gmx.de>
1062
1063         * gnu/java/rmi/rmic/RMIC.java,
1064         gnu/java/rmi/server/RMIHashes.java,
1065         gnu/java/rmi/server/RMIObjectInputStream.java,
1066         gnu/java/rmi/server/UnicastConnection.java,
1067         gnu/java/rmi/server/UnicastConnectionManager.java,
1068         gnu/java/rmi/server/UnicastRemoteCall.java,
1069         gnu/java/rmi/server/UnicastServerRef.java:
1070         Reworked import statements and fixed file headers.
1071
1072 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1073
1074         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1075         emission rule.
1076         * configure: Rebuilt.
1077
1078 2004-09-30  Tom Tromey  <tromey@redhat.com>
1079
1080         * java/text/MessageFormat.java (Field): Constructor now
1081         protected.
1082
1083 2004-09-30  Tom Tromey  <tromey@redhat.com>
1084
1085         * javax/crypto/MacSpi.java: Fixed typo.
1086
1087 2004-09-30  Michael Koch  <konqueror@gmx.de>
1088
1089         * java/net/InetAddress.java: Reformatted.
1090         (loopback): Initialize with Inet4Address object.
1091         (static): Initialize ANY_IF with Inet4Address object.
1092         (InetAddress): Removed unused package-private constructor.
1093
1094 2004-09-30  Michael Koch  <konqueror@gmx.de>
1095
1096         * java/beans/Beans.java,
1097         java/beans/EventHandler.java,
1098         java/beans/EventSetDescriptor.java,
1099         java/beans/Introspector.java,
1100         java/beans/PropertyEditorManager.java,
1101         java/beans/beancontext/BeanContext.java,
1102         java/beans/beancontext/BeanContextChild.java,
1103         java/beans/beancontext/BeanContextChildSupport.java,
1104         java/beans/beancontext/BeanContextMembershipEvent.java:
1105         Reordered import statements and removed redundant modifiers.
1106
1107 2004-09-29  Tom Tromey  <tromey@redhat.com>
1108
1109         PR libgcj/17715:
1110         * Makefile.in: Rebuilt.
1111         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1112         files.
1113         (all_property_files): New macro.
1114
1115         * Makefile.in: Rebuilt.
1116         * Makefile.am (ordinary_java_source_files): Re-sorted.
1117         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1118
1119 2004-09-28  Tom Tromey  <tromey@redhat.com>
1120
1121         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1122
1123         PR libgcj/17222:
1124         * Makefile.am (libgcj.la): Restored.
1125         * Makefile.in: Rebuilt.
1126
1127 2004-09-28  Michael Koch  <konqueror@gmx.de>
1128
1129         * java/net/URLConnection.java: Reformatted.
1130         * java/net/URLClassLoader.java: Reformatted.
1131         (getContent): Reordered return of content.
1132         (getContentHandler): Don't check for null explicitely.
1133
1134 2004-09-27  Michael Koch  <konqueror@gmx.de>
1135
1136         * java/io/BufferedInputStream.java
1137         (BufferedInputStream): Added Jeroen Frijters to authors.
1138         (count): Don't explicitely initialize with default value.
1139         (pos): Likewise.
1140         (marklimit): Likewise.
1141         (read): Changed boolean expression to match GNU classpath' version.
1142         (reset): Add proper message to exception.
1143         (skip): Check for closed stream.
1144         (refill): Likewise.
1145
1146 2004-09-26  Per Bothner  <per@bothner.com>
1147
1148         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1149         avoid warnings in the non-POSIX_VERSION case.
1150         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1151         so place it inside an #if block.
1152         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1153         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1154         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1155         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1156
1157 2004-09-26  Per Bothner  <per@bothner.com>
1158
1159         * prims.cc (process_gcj_properties):  Optimization.
1160
1161 2004-09-26  Per Bothner  <per@bothner.com>
1162
1163         * java/util/Collections.java (sort):  Copy from array in forwards
1164         order, rather than reverse order which may be much less efficient.
1165
1166 2004-09-26  Mark Wielaard  <mark@klomp.org>
1167
1168         * java/lang/System.java (properties): Make package private.
1169         * java/lang/Throwable.java (StaticData.nl): Initialize through
1170         directly accessing System.properties.getProperty().
1171
1172         * java/lang/Throwable.java (nl): Remove static field.
1173         (StaticData): New private static inner class.
1174         (stackTraceStringBuffer): Use StaticData.nl.
1175
1176 2004-09-26  Casey Marshall <csm@gnu.org>
1177
1178         * java/security/ProtectionDomain.java
1179         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1180         `true'.
1181
1182         * java/security/SecureClassLoader.java
1183         (defineClass): make protection domain dynamically bound.
1184         (getPermissions): call `getCurrentPolicy' to avoid permission
1185         check.
1186
1187 2004-09-25  Mark Wielaard  <mark@klomp.org>
1188
1189         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1190         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1191         * Makefile.in: Regenerated.
1192
1193         * gcj/javaprims.h: Regenerated.
1194
1195         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1196         (getDefaultTimeZone): Make package private. Check that GMToffset
1197         contains at least one digit.
1198         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1199         VMTimeZone.
1200         * util/VMTimeZone.java: New file with above methods.
1201
1202         * java/util/natTimeZone.cc: Removed (renamed).
1203         * java/util/natVMTimeZone.cc: Added (renamed).
1204
1205 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1206
1207         * java/util/TimeZone.java
1208         (getDefaultTimeZone): Fixed test to distinguish between hours and
1209         minutes in specified timezone.
1210
1211 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1212
1213         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1214         handling of default package. (generate): Removed confused comments
1215         and code about making Method and Field accessible.
1216
1217 2004-09-25  Tom Tromey  <tromey@redhat.com>
1218
1219         PR java/17500:
1220         * testsuite/libjava.compile/pr17500.java: New file.
1221
1222 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1223             Mark Wielaard  <mark@klomp.org>
1224
1225         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1226         * gnu/regexp/RETokenLookAhead.java: New file.
1227
1228         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1229         * Makefile.in: Regenerated.
1230
1231 2004-09-25  Michael Koch  <konqueror@gmx.de>
1232
1233         * java/io/ObjectStreamField.java:
1234         Removed unused import statement.
1235
1236 2004-09-24  Tom Tromey  <tromey@redhat.com>
1237
1238         PR java/15656:
1239         * testsuite/libjava.compile/pr15656.xfail: New file.
1240         * testsuite/libjava.compile/pr15656.java: new file.
1241
1242         PR java/16789:
1243         * testsuite/libjava.lang/pr16789.out: New file.
1244         * testsuite/libjava.lang/pr16789.java: New file.
1245
1246 2004-09-24  Andrew Haley  <aph@redhat.com>
1247
1248         PR java/16927
1249         * testsuite/libjava.compile/AssertBug.java: New file.
1250
1251 2004-09-24  Casey Marshall <csm@gnu.org>
1252
1253         * java/util/PropertyPermissionCollection.java
1254         (implies): avoid infinite loop.
1255
1256 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1257
1258         * javax/security/auth/PrivateCredentialPermission.java
1259         (PrivateCredentialPermission): added serialization UID
1260
1261
1262 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1263
1264         * gnu/java/rmi/server/UnicastServer.java
1265         (incomingMessageCall): Added code to handle Errors.
1266         * gnu/java/rmi/server/UnicastServerRef.java
1267         (incomingMessageCall): Added code to handle Errors.
1268
1269
1270 2004-09-24  Tom Tromey  <tromey@redhat.com>
1271
1272         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1273         (definedPackages): Likewise.
1274
1275 2004-09-24  Michael Koch  <konqueror@gmx.de>
1276
1277         * java/io/ObjectInputStream.java:
1278         Re-ordered imports.
1279
1280 2004-09-24  Casey Marshall <csm@gnu.org>
1281
1282         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1283         `ClassNotFoundException'.
1284
1285 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1286
1287         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1288         of Externalizable classes to ObjectStreamClass.
1289         * java/io/ObjectStreamClass.java (newInstance): New method to
1290         instantiate Externalizable (while ignoring the accessibility of
1291         the constructor). (constructor): New field to cache the constructor.
1292
1293 2004-09-24  Mark Wielaard  <mark@klomp.org>
1294
1295         * java/net/URL.java (systemClassLoader): New static field.
1296         (getURLStreamHandler): Always use system/application classloader
1297         for finding URLStreamhandler. Remove unecessary instanceof checks.
1298
1299 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1300
1301         * java/net/URL.java
1302         (set): This method now matches the behaviour of the JDK.
1303         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1304
1305 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1306
1307         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1308
1309 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1310
1311         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1312         Don't set authority if host isn't specified.
1313
1314 2004-09-24  Michael Koch  <konqueror@gmx.de>
1315
1316         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1317         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1318         * gnu/java/nio/VMPipe.java,
1319         gnu/java/nio/VMSelector.java:
1320         New files.
1321         * gnu/java/nio/natPipeImplEcos.cc,
1322         gnu/java/nio/natPipeImplPosix.cc,
1323         gnu/java/nio/natPipeImplWin32.cc:
1324         Ported to VMPipe.
1325         * gnu/java/nio/natSelectorImplEcos.cc,
1326         gnu/java/nio/natSelectorImplPosix.cc,
1327         gnu/java/nio/natSelectorImplWin32.cc:
1328         Ported to VMSelector.
1329         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1330         gnu/java/nio/VMSelector.java.
1331         * Makefile.in: Regenerated.
1332
1333 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1334
1335         * java/lang/StackTraceElement.java
1336         (className): Renamed field to declaringClass to be compatible
1337         with Sun serialization format.
1338
1339 2004-09-23  Michael Koch  <konqueror@gmx.de>
1340
1341         * java/applet/AppletContext.java,
1342         java/applet/Applet.java,
1343         java/applet/AppletStub.java,
1344         java/applet/AudioClip.java:
1345         Jalopied and checkstyle clean.
1346
1347 2004-09-23  Mark Wielaard  <mark@klomp.org>
1348
1349         * java/util/Collections.java
1350         (binarySearch(List, Object, Comparator)): Explicitly
1351         reverse direction in list iterator.
1352         (rotate): Just return when list is empty.
1353
1354 2004-09-23  Tom Tromey  <tromey@redhat.com>
1355
1356         PR java/17329:
1357         * testsuite/libjava.compile/pr17329.java: New file.
1358
1359         PR java/17380:
1360         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1361         9.2-implicit-7.
1362
1363 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1364
1365         * Makefile.am: Run aclocal with -I ../config
1366         * acinclude.m4: Delete macros picked up from ../config and tidy.
1367         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1368         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1369         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1370
1371 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1372
1373         * aclocal.m4: Regenerate with aclocal 1.9.2.
1374         * configure: Regenerate.
1375         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1376         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1377
1378 2004-09-22  David Daney  <ddaney@avtrex.com>
1379
1380         PR libgcj/17623
1381         * java/net/URL.java (URL): Copy userInfo from context.
1382         (getUserInfo): Return cached userInfo if present.
1383
1384 2004-09-22  Tom Tromey  <tromey@redhat.com>
1385
1386         PR libgcj/6182:
1387         * mauve-libgcj: Enable java.lang.Character tests.
1388
1389 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1390
1391         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1392         dependencies.
1393         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1394         * Makefile.in: Regenerated.
1395
1396 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1397
1398         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1399         * configure: Regenerate.
1400         * include/config.h.in: Likewise.
1401         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1402         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1403         macro to gtkpeer.h.
1404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1405         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1406         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1407         architectures.
1408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1409         Likewise.
1410
1411 2004-09-22  Tom Tromey  <tromey@redhat.com>
1412
1413         PR libgcj/14446:
1414         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1415         when comparing CRCs.
1416         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1417         field.
1418         (read()): New overload.
1419
1420 2004-09-21  Tom Tromey  <tromey@redhat.com>
1421
1422         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1423         Indentation fix.
1424
1425 2004-09-21  Michael Koch  <konqueror@gmx.de>
1426
1427         * java/net/Socket.java
1428         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1429
1430 2004-09-21  Casey Marshall  <csm@gnu.org>
1431
1432         * javax/crypto/MacSpi.java (clone): Provide meaningful
1433         implementation.
1434
1435 2004-09-21  Tom Tromey  <tromey@redhat.com>
1436
1437         PR libgcj/16869:
1438         * Makefile.in: Rebuilt.
1439         * Makefile.am (MOSTLYCLEANFILES): Removed.
1440         (mostlyclean-local): Remove header files.
1441
1442 2004-09-21  Casey Marshall  <csm@gnu.org>
1443
1444         * java/security/cert/X509CRLSelector.java:
1445         (match): remove unreachable try-catch clauses.
1446         Reported by: Dalibor Topic <robilad@kaffe.org>
1447
1448 2004-09-21  Mark Wielaard  <mark@klomp.org>
1449
1450         * java/util/TreeMap.java (root): Don't initialize.
1451         (TreeMap(Comparator)): Call fabricateTree(0).
1452         (fabricateTree): Initialize root and size when count is 0.
1453
1454 2004-09-21  Sven de Marothy <sven@physto.se>
1455
1456         * java/nio/ByteBuffer.java (hashCode): Implemented.
1457         * java/nio/CharBuffer.java: Likewise.
1458         * java/nio/DoubleBuffer.java: Likewise.
1459         * java/nio/FloatBuffer.java: Likewise.
1460         * java/nio/LongBuffer.java: Likewise.
1461         * java/nio/IntBuffer.java: Likewise.
1462         * java/nio/ShortBuffer.java: Likewise.
1463
1464 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1465
1466         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1467
1468 2004-09-21  Michael Koch  <konqueror@gmx.de>
1469
1470         * javax/net/ssl/SSLServerSocket.java:
1471         Removed comment about "Do not edit this file, it's generated.".
1472
1473 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1474
1475         Import the big Crypto/Jessie/Security merge from Classpath.
1476
1477         * Makefile.am: Add imported files.
1478         * Makefile.in: Regenerate.
1479
1480         2004-08-14  Casey Marshall <csm@gnu.org>
1481
1482         The Big Crypto Merge of 2004.
1483
1484         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1485         Crypto's version.
1486
1487         Files imported from GNU Crypto.
1488         * javax/crypto/BadPaddingException.java
1489         * javax/crypto/Cipher.java
1490         * javax/crypto/CipherInputStream.java
1491         * javax/crypto/CipherOutputStream.java
1492         * javax/crypto/CipherSpi.java
1493         * javax/crypto/EncryptedPrivateKeyInfo.java
1494         * javax/crypto/ExemptionMechanism.java
1495         * javax/crypto/ExemptionMechanismException.java
1496         * javax/crypto/ExemptionMechanismSpi.java
1497         * javax/crypto/IllegalBlockSizeException.java
1498         * javax/crypto/KeyAgreement.java
1499         * javax/crypto/KeyAgreementSpi.java
1500         * javax/crypto/KeyGenerator.java
1501         * javax/crypto/KeyGeneratorSpi.java
1502         * javax/crypto/Mac.java
1503         * javax/crypto/MacSpi.java
1504         * javax/crypto/Makefile.am
1505         * javax/crypto/NoSuchPaddingException.java
1506         * javax/crypto/NullCipher.java
1507         * javax/crypto/NullCipherImpl.java
1508         * javax/crypto/SealedObject.java
1509         * javax/crypto/SecretKey.java
1510         * javax/crypto/SecretKeyFactory.java
1511         * javax/crypto/SecretKeyFactorySpi.java
1512         * javax/crypto/ShortBufferException.java
1513         * javax/crypto/interfaces/DHKey.java
1514         * javax/crypto/interfaces/DHPrivateKey.java
1515         * javax/crypto/interfaces/DHPublicKey.java
1516         * javax/crypto/interfaces/PBEKey.java
1517         * javax/crypto/spec/DESKeySpec.java
1518         * javax/crypto/spec/DESedeKeySpec.java
1519         * javax/crypto/spec/DHGenParameterSpec.java
1520         * javax/crypto/spec/DHParameterSpec.java
1521         * javax/crypto/spec/DHPrivateKeySpec.java
1522         * javax/crypto/spec/DHPublicKeySpec.java
1523         * javax/crypto/spec/IvParameterSpec.java
1524         * javax/crypto/spec/PBEKeySpec.java
1525         * javax/crypto/spec/PBEParameterSpec.java
1526         * javax/crypto/spec/RC2ParameterSpec.java
1527         * javax/crypto/spec/RC5ParameterSpec.java
1528         * javax/crypto/spec/SecretKeySpec.java
1529         * javax/security/auth/AuthPermission.java
1530         * javax/security/auth/DestroyFailedException.java
1531         * javax/security/auth/Destroyable.java
1532         * javax/security/auth/Policy.java
1533         * javax/security/auth/PrivateCredentialPermission.java
1534         * javax/security/auth/RefreshFailedException.java
1535         * javax/security/auth/Refreshable.java
1536         * javax/security/auth/Subject.java
1537         * javax/security/auth/SubjectDomainCombiner.java
1538         * javax/security/auth/callback/Callback.java
1539         * javax/security/auth/callback/CallbackHandler.java
1540         * javax/security/auth/callback/ChoiceCallback.java
1541         * javax/security/auth/callback/ConfirmationCallback.java
1542         * javax/security/auth/callback/LanguageCallback.java
1543         * javax/security/auth/callback/NameCallback.java
1544         * javax/security/auth/callback/PasswordCallback.java
1545         * javax/security/auth/callback/TextInputCallback.java
1546         * javax/security/auth/callback/TextOutputCallback.java
1547         * javax/security/auth/callback/UnsupportedCallbackException.java
1548         * javax/security/auth/login/AccountExpiredException.java
1549         * javax/security/auth/login/AppConfigurationEntry.java
1550         * javax/security/auth/login/Configuration.java
1551         * javax/security/auth/login/CredentialExpiredException.java
1552         * javax/security/auth/login/FailedLoginException.java
1553         * javax/security/auth/login/LoginContext.java
1554         * javax/security/auth/login/LoginException.java
1555         * javax/security/auth/login/NullConfiguration.java
1556         * javax/security/auth/x500/X500PrivateCredential.java
1557         * javax/security/sasl/AuthenticationException.java
1558         * javax/security/sasl/AuthorizeCallback.java
1559         * javax/security/sasl/RealmCallback.java
1560         * javax/security/sasl/RealmChoiceCallback.java
1561         * javax/security/sasl/Sasl.java
1562         * javax/security/sasl/SaslClient.java
1563         * javax/security/sasl/SaslClientFactory.java
1564         * javax/security/sasl/SaslException.java
1565         * javax/security/sasl/SaslServer.java
1566         * javax/security/sasl/SaslServerFactory.java
1567         * org/ietf/jgss/ChannelBinding.java
1568         * org/ietf/jgss/GSSContext.java
1569         * org/ietf/jgss/GSSCredential.java
1570         * org/ietf/jgss/GSSException.java
1571         * org/ietf/jgss/GSSManager.java
1572         * org/ietf/jgss/GSSName.java
1573         * org/ietf/jgss/MessageProp.java
1574         * org/ietf/jgss/Oid.java
1575         * org/ietf/jgss/MessagesBundle.properties
1576
1577         Files imported from Jessie <http://www.nongnu.org/jessie/>
1578         * javax/net/ServerSocketFactory.java
1579         * javax/net/SocketFactory.java
1580         * javax/net/VanillaServerSocketFactory.java
1581         * javax/net/VanillaSocketFactory.java
1582         * javax/net/ssl/HandshakeCompletedEvent.java
1583         * javax/net/ssl/HandshakeCompletedListener.java
1584         * javax/net/ssl/HostnameVerifier.java
1585         * javax/net/ssl/HttpsURLConnection.java
1586         * javax/net/ssl/KeyManager.java
1587         * javax/net/ssl/KeyManagerFactory.java
1588         * javax/net/ssl/KeyManagerFactorySpi.java
1589         * javax/net/ssl/ManagerFactoryParameters.java
1590         * javax/net/ssl/SSLContext.java
1591         * javax/net/ssl/SSLContextSpi.java
1592         * javax/net/ssl/SSLException.java
1593         * javax/net/ssl/SSLHandshakeException.java
1594         * javax/net/ssl/SSLKeyException.java
1595         * javax/net/ssl/SSLPeerUnverifiedException.java
1596         * javax/net/ssl/SSLPermission.java
1597         * javax/net/ssl/SSLProtocolException.java
1598         * javax/net/ssl/SSLServerSocket.java
1599         * javax/net/ssl/SSLServerSocketFactory.java
1600         * javax/net/ssl/SSLSession.java
1601         * javax/net/ssl/SSLSessionBindingEvent.java
1602         * javax/net/ssl/SSLSessionBindingListener.java
1603         * javax/net/ssl/SSLSessionContext.java
1604         * javax/net/ssl/SSLSocket.java
1605         * javax/net/ssl/SSLSocketFactory.java
1606         * javax/net/ssl/TrivialHostnameVerifier.java
1607         * javax/net/ssl/TrustManager.java
1608         * javax/net/ssl/TrustManagerFactory.java
1609         * javax/net/ssl/TrustManagerFactorySpi.java
1610         * javax/net/ssl/X509KeyManager.java
1611         * javax/net/ssl/X509TrustManager.java
1612         * javax/security/cert/Certificate.java
1613         * javax/security/cert/CertificateEncodingException.java
1614         * javax/security/cert/CertificateException.java
1615         * javax/security/cert/CertificateExpiredException.java
1616         * javax/security/cert/CertificateNotYetValidException.java
1617         * javax/security/cert/CertificateParsingException.java
1618         * javax/security/cert/X509CertBridge.java
1619         * javax/security/cert/X509Certificate.java
1620
1621         2004-08-20  Casey Marshall  <csm@gnu.org>
1622
1623         * java/security/cert/X509CRLSelector.java: New file.
1624         * java/security/cert/X509CertSelector.java: New file.
1625
1626 2004-09-15  Michael Koch  <konqueror@gmx.de>
1627
1628         * gnu/java/net/protocol/file/Handler.java
1629         (openConnection): Don't throw exception if host part for file: URI is
1630         present. setURL() keeps file: protocol if ftp: protocol is not
1631         available.
1632
1633 2004-09-14  Richard Henderson  <rth@redhat.com>
1634
1635         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1636         value of sigsuspend.
1637
1638 2004-09-12  Tom Tromey  <tromey@redhat.com>
1639
1640         * javax/naming/CompoundName.java (CompoundName): Don't check for
1641         separator in "flat" case.
1642
1643 2004-09-12  Michael Koch  <konqueror@gmx.de>
1644
1645         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1646         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1647         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1648         Regenerate.
1649
1650 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1651
1652         PR libgcj/14751
1653         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1654         handle in newly-allocated _Jv_Thread_t.
1655         (_Jv_ThreadDestroyData): Close thread handle.
1656         (_Jv_ThreadStart): Remove obsolete comment.
1657         Store handle of newly-created thread in _Jv_Thread_t.
1658         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1659         before including <windows.h>
1660         #define _Jv_HaveCondDestroy
1661
1662 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1663
1664         * java/lang/natThread.cc (finalize_native): Destroy
1665         join conditional variable and mutex if these destroy
1666         operations are supported.
1667
1668 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1669
1670         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1671         (DEFAULT_PERMISSION): New constant.
1672         (Connection): Create a FilePermission with permission to read file.
1673
1674 2004-09-10  Michael Koch  <konqueror@gmx.de>
1675
1676         * gnu/java/net/protocol/file/Connection.java
1677         (getLastModified): Moved around.
1678         (getPermission): Return stored permission.
1679
1680 2004-09-10  Michael Koch  <konqueror@gmx.de>
1681
1682         * Makefile.in: Regenerate.
1683
1684 2004-09-10  Michael Koch  <konqueror@gmx.de>
1685
1686         * Makefile.am: Reverted accidently commited stuff.
1687         * configure: Regenerated.
1688
1689 2004-09-10  Michael Koch  <konqueror@gmx.de>
1690
1691         * gnu/java/net/protocol/file/Connection.java
1692         (lineSeparator): Made non-final.
1693         (static): Removed.
1694         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1695         instead of StringBufferInputStream.
1696
1697 2004-09-10  Michael Koch  <konqueror@gmx.de>
1698
1699         * gnu/java/net/protocol/file/Connection.java
1700         (connect): Handle file is a directory case.
1701
1702 2004-09-10  Michael Koch  <konqueror@gmx.de>
1703
1704         * Makefile.am
1705         (xlib_includes): Removed.
1706         (AM_CPPFLAGS): Renamed from INCLUDES.
1707         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1708         * Makefile.in: Regenerate.
1709
1710 2004-09-09  Michael Koch  <konqueror@gmx.de>
1711
1712         * java/security/ProtectionDomain.java,
1713         * java/util/PropertyPermissionCollection.java:
1714         Fixed javadocs all over.
1715
1716 2004-09-09  Sven de Marothy  <sven@physto.se>
1717
1718         Patch from David Gilbert <david.gilbert@object-refinery.com>
1719         * java/lang/Comparable.java: Fixed documentation errors.
1720         * java/util/Arrays.java: Likewise.
1721
1722 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1723
1724         * java/net/Inet4Address.java
1725         (Inet4Address): Added comment to serialization UID.
1726         * java/text/Format.java
1727         (Format): Added comment to serialization UID.
1728
1729 2004-09-09  Michael Koch  <konqueror@gmx.de>
1730
1731         * java/lang/System.java
1732         (err): Fixed javadoci to point to setErr() and not setOut().
1733
1734 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1735
1736         (normalizePath): Added special case for windows systems.
1737
1738 2004-09-09  Michael Koch  <konqueror@gmx.de>
1739
1740         * java/io/File.java
1741         (dupSeparator): Made private.
1742         (File(URI)): New constructor.
1743         (getParentFile): Fixed javadoc.
1744         (createTempFile): Reformated.
1745         (setReadOnly): Added comment.
1746         (deleteOnExit): Merged javadoc with classpath version.
1747
1748 2004-09-09  Michael Koch  <konqueror@gmx.de>
1749
1750         * Makefile.am: Don't try to include deps.mk.
1751         * Makefile.in: Regenerated.
1752
1753 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1754
1755         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1756         .d files.
1757         * configure: Rebuilt.
1758
1759 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1760
1761         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1762         Changed pfn from static local to local.
1763
1764 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1765             H.J. Lu  <hongjiu.lu@intel.com>
1766
1767         PR libgcj/17290
1768         * Makefile.am (GCJCOMPILE): Remove definition.
1769         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1770         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1771         * Makefile.in: Rebuilt.
1772
1773 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1774
1775         * configure.ac (enable-gc-debug): Update help for new syntax.
1776         * configure: Regenerate.
1777
1778 2004-09-03  David Daney  <ddaney@avtrex.com>
1779
1780         * include/mips-signal.h: Update copyright.
1781
1782 2004-09-03  David Daney  <ddaney@avtrex.com>
1783
1784         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1785         * include/mips-signal.h: Added HANDLE_FPE support.
1786         
1787 2004-08-31  Michael Koch  <konqueror@gmx.de>
1788
1789         * javax/swing/plaf/basic/BasicTextAreaUI.java
1790         (create): New method.
1791         * javax/swing/text/DefaultHighlighter.java
1792         (DefaultHighlightPainter.debugRect): Removed.
1793         * javax/swing/text/StyleContext.java
1794         (DEFAULT_STYLE): New field.
1795
1796 2004-08-31  Michael Koch  <konqueror@gmx.de>
1797
1798         * javax/swing/plaf/basic/BasicLookAndFeel.java
1799         (initComponentDefaults): Add keybindings for selection.backward and
1800         selection-forward for text components.
1801         * javax/swing/plaf/basic/BasicTextUI.java
1802         (paintSafely): Paint highlight only when something is actually
1803         selected.
1804         * javax/swing/text/DefaultCaret.java
1805         (handleHighlight): New method.
1806         (setSelectionVisible): Don't do anything when nothing changes.
1807         Handle highlight.
1808         (moveDot): Reimplemented. Handle highlight.
1809         (setDot): Set mark too. Handle highlight.
1810         (getSelectionPainter): New method.
1811         * javax/swing/text/DefaultEditorKit.java
1812         (defaultActions): Added new actions for text selection.
1813         * javax/swing/text/DefaultHighlighter.java
1814         (DefaultHighlightPainter): New inner class.
1815         (DefaultPainter): New field.
1816         (paint): Implemented.
1817         * javax/swing/text/PlainView.java
1818         (paint): Don't draw background here again.
1819         * javax/swing/text/Utilities.java
1820         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1821         (drawTabbedText): Likewise.
1822
1823 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1824
1825         * javax/swing/JComponent.java
1826         (resetKeyboardActions): Add null checks.
1827
1828 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1829
1830         * javax/swing/DefaultButtonModel.java:
1831         Skip group notification when no group is set.
1832
1833 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1834
1835         * javax/swing/JColorChooser.java: 
1836         Make a couple inner classes static, for jikes.
1837
1838 2004-08-31  Michael Koch  <konqueror@gmx.de>
1839
1840         * javax/swing/plaf/basic/BasicTextUI.java
1841         (RottView.modelToView): New method.
1842         (UpdateHandler): Renamed from EventHandler.
1843         (updateHandler): Renamed from eventHandler.
1844         (modelToView): Implemented.
1845         * javax/swing/text/AbstractDocument.java
1846         (BranchElement.getElement): Return null for non-existing indeces.
1847         (BranchElement.getElementIndex): Return 0 in some corner cases.
1848         * javax/swing/text/FieldView.java
1849         (modelToView): New method.
1850         * javax/swing/text/PlainView.java
1851         (modelToView): Made public.
1852
1853 2004-08-31  Kim Ho  <kho@redhat.com>
1854
1855         * Makefile.am: New files.
1856         * Makefile.in: Regenerate.
1857         * gcj/Makefile.in: Regenerate.
1858         * include/Makefile.in: Regenerate.
1859         * java/awt/Color.java: Fix documentation.
1860         (RGBtoHSB): Use floats for conversions.
1861         * javax/swing/ButtonGroup.java: Run Jalopy.
1862         (setSelected): Reimplement.
1863         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1864         (changeState): Let ButtonGroup know that the button 
1865         is changing state.
1866         * javax/swing/JColorChooser.java: Implement.
1867         * javax/swing/JLabel.java: Run Jalopy.
1868         * javax/swing/JSpinner.java: Run Jalopy.
1869         (setValue): New method.
1870         * javax/swing/JTabbedPane.java: Run Jalopy.
1871         (removeTabAt): Call correct remove method.
1872         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1873         (getPreviousValue): Compare minimum value.
1874         * javax/swing/Timer.java: Run Jalopy.
1875         (run): Comment out println.
1876         * javax/swing/ToolTipManager.java:
1877         (mouseMoved): Get new tooltip text for location.
1878         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1879         Jalopy and Javadoc.
1880         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1881         Implement.
1882         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1883         Run Jalopy.
1884         (setSelectedColor): Fire ChangeEvent.
1885         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1886         New file. Implement.
1887         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1888         Ditto.
1889         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1890         Ditto.
1891         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1892         Ditto.
1893         * javax/swing/plaf/basic/BasicArrowButton.java:
1894         (getArrow): Fix size of upward pointing button.
1895         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1896         Implement.
1897         * javax/swing/plaf/basic/BasicSliderUI.java:
1898         (getWidthOfWidestLabel): Use preferred dimensions.
1899         (getHeightOfTallestLabel): Ditto.
1900         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1901         Run Jalopy.
1902         (mousePressed): Disable changes to spinner if it is not enabled.
1903         * testsuite/Makefile.in: Regenerate.
1904
1905
1906 2004-08-31  Michael Koch  <konqueror@gmx.de>
1907
1908         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1909         javax/swing/plaf/basic/BasicTableUI.java:
1910         Added copyright notice.
1911
1912 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1913
1914         * Makefile.am: Added new files.
1915         * Makefile.in: Regenerate.
1916         * javax/swing/ComboBoxEditor.java: Added javadocs.
1917         * javax/swing/ComboBoxModel.java: Likewise.
1918         * javax/swing/DefaultComboBoxModel.java: Implemented.
1919         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1920         and ran through jalopy to fix formatting style.
1921         (getListCellRendererComponent): Use appropriate border
1922         if renderer has focus and use noFocusBorder when it doesn't.
1923         * javax/swing/JComboBox.java: Implemented.
1924         * javax/swing/JList.java:
1925         (locationToIndex): New Method. Implemented.
1926         (indexToLocation): New Method.
1927         * javax/swing/JPopupMenu.java: 
1928         (visible): New field.
1929         (isVisible): Changed to use new field above.
1930         (setVisible): Likewise.
1931         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1932         * javax/swing/plaf/basic/BasicArrowButton.java: 
1933         (shadow): Changed default color to Color.gray.
1934         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1935         UI delegate for JComboBox.
1936         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1937         Popup menu containing list of JComboBox's items.
1938         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1939         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1940         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1941         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1942         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1943         (popupMenuWillBecomeVisible): Set selected path to the first
1944         element only if it is of type MenuElement. Also fix formatting
1945         style.
1946         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1947         methods signatures.
1948         
1949 2004-08-31  Michael Koch  <konqueror@gmx.de>
1950
1951         * javax/swing/text/AbstractDocument.java
1952         (createBranchElement): Use new constructor of BranchElement.
1953         (createLeafElement): Renamed arguments.
1954         (getRootElements): Implemented.
1955         (BranchElement.start): Removed.
1956         (BranchElement.end): Likewise.
1957         (BranchElement.BranchElement): Fixed arguments.
1958         (BranchElement.getEndOffset): Reimplemented.
1959         (BranchElement.getStartOffset): Likewis.
1960         * javax/swing/text/DefaultCaret.java
1961         (paint): Draw simple vertical line as caret instead of a rectangle.
1962         * javax/swing/text/JTextComponent.java
1963         (setText): Use doc directly.
1964         * javax/swing/text/PlainView.java
1965         (nextTabStop): Implemented.
1966         * javax/swing/text/Utilities.java
1967         (drawTabbedText): nextTabStop() returns an absolute x position.
1968         (getTabbedTextWidth): Likewise.
1969
1970 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1971
1972         * java/awt/Component.java 
1973         (isFocusTraversable): Predicate on isLightweight()
1974         (setFocusable): Set isFocusTraversableOverridden.
1975         (requestFocus): Predicate peer dispatch on !isLightweight()
1976         (requestFocusInWindow): Likewise.
1977         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1978         * java/awt/Container.java
1979         (dispatchEventImpl): Predicate on event mask.
1980         (LightweightDispatcher): Remove focus machinery.
1981         * java/awt/DefaultFocusTraversalPolicy.java
1982         (accept): Expand predicate to include isFocusable(). 
1983         * java/awt/DefaultKeyboardFocusManager.java:
1984         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1985         * java/awt/KeyboardFocusManager.java
1986         (redispatchEvent): Synchronize on event to prevent feedback.
1987         * javax/swing/AbstractButton.java
1988         (ButtonFocusListener): Remove class.
1989         (init): Set focusPainted, focusable.
1990         * javax/swing/ActionMap.java (get): Check parent for null. 
1991         * javax/swing/InputMap.java (get): Likewise. 
1992         * javax/swing/JComponent.java
1993         (inputMap_whenFocused): New InputMap.
1994         (inputMap_whenAncestorOfFocused): Likewise.
1995         (inputMap_whenInFocusedWindow): Likewise.
1996         (getActionForKeyStroke): Rewrite.
1997         (getConditionForKeystroke): Likewise.
1998         (ActionListenerProxy): New private class.
1999         (setInputMap): Implement.
2000         (getInputMap): Likewise.
2001         (setActionMap): Likewise.
2002         (getActionMap): Likewise.
2003         (processComponentKeyEvent): New empty method.
2004         (processKeyEvent): Implement.
2005         (processKeyBinding): Likewise.
2006         (resetKeyboardActions): Rewrite.
2007         * javax/swing/KeyStroke.java: Rewrite.
2008         * javax/swing/SwingUtilities.java
2009         (notifyAction): Implement.
2010         (replaceUIActionMap): Likewise.
2011         (replaceUIInputMap): Likewise.
2012         * javax/swing/plaf/basic/BasicButtonListener.java
2013         (focusGained): Implement.
2014         (focusLost): Repaint if focusPainted().
2015         (installKeyboardActions): Install pressed / released actions.
2016         (uninstallKeyboardActions): Implement.
2017         * javax/swing/plaf/basic/BasicButtonUI.java
2018         (focusColor): New field.
2019         (installDefaults): Load focus color, install input map.
2020         (installKeyboardActions): Implement.
2021         (uninstallKeyboardActions): Likewise.
2022         (paintFocus): Rewrite.
2023         * javax/swing/plaf/basic/BasicLookAndFeel.java
2024         (Button.focus): New default, midPurple. 
2025         * javax/swing/plaf/basic/BasicTextUI.java
2026         (kit): Make static.
2027         (installUI): Get doc from kit, load defaults.
2028         (getKeymapName): Implement.
2029         (createKeymap): Likewise.
2030         (installKeyboardActions): Likewise.
2031         (getInputMap): Likewise.
2032         (getActionMap): Likewise.
2033         (createActionMap): Likewise.
2034         * javax/swing/text/AbstractDocument.java
2035         (getStartPosition): Implement.
2036         (getEndPosition): Likewise.
2037         * javax/swing/text/DefaultEditorKit.java
2038         (CopyAction): New class.
2039         (CutAction): Likewise.
2040         (DefaultKeyTypedAction): Likewise.
2041         (InsertBreakAction): Likewise.
2042         (InsertContentAction): Likewise.
2043         (InsertTabAction): Likewise.
2044         (PasteAction): Likewise.
2045         (defaultActions): New static table.
2046         (createCaret): Implement.
2047         (getActions): Likewise.
2048         * javax/swing/text/JTextComponent.java
2049         (KeymapWrapper): New private class.
2050         (KeymapActionMap): Likewise.
2051         (DefaultKeymap): New class.
2052         (keymaps): New static table.
2053         (keymap): New field.
2054         (getKeymap): Implement.
2055         (removeKeymap): Likewise.
2056         (addKeymap): Likewise.
2057         (setKeymap): Likewise.
2058         (loadKeymap): Likewise.
2059         (getActions): Likewise.
2060         (margin): New field.
2061         (JTextComponent): Build and install default keymap.
2062         * javax/swing/text/TextAction.java
2063         (textAction): Call super properly.
2064         (getTextComponent): Implement.
2065         * javax/swing/text/Utilities.java
2066         (drawTabbedText): Adjust position by ascent.
2067
2068 2004-08-31  David Jee  <djee@redhat.com>
2069
2070         PR AWT/17156
2071
2072         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2073         (setEnabled): Make it a native method.
2074         * java/awt/DefaultKeyboardFocusManager.java
2075         (postProcessKeyEvent): Only post event if the menu item
2076         is active.
2077         * java/awt/MenuItem.java:
2078         Private field 'enabled' should be true by default.
2079         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2080         (setEnabled): New function.
2081
2082 2004-08-31  David Jee  <djee@redhat.com>
2083
2084         PR AWT/17059
2085
2086         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2087         (nativeSetHelpMenu): New native method declaration.
2088         (addHelpMenu): Call nativeSetHelpMenu().
2089         (addMenu): Remove.
2090         * java/awt/MenuBar.java
2091         (setHelpMenu): Call addNotify() on the new help menu.
2092         (add): Call addNotify() on the new menu.
2093         (addNotify): Set the help menu if one exists.
2094         * java/awt/peer/MenuBarPeer.java
2095         (addMenu): Remove.
2096         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2097         (nativeSetHelpMenu): New method.
2098
2099 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2100
2101         * Makefile.am: Add new files.
2102         * Makefile.in: Regenerate.
2103         * javax/swing/Box.java: Fix setting of layout in ctor.
2104         * javax/swing/JScrollPane.java: Scroll headers as well.
2105         * javax/swing/JTable.java: Reimplement.
2106         * javax/swing/JViewPort.java: Only add non-null children.
2107         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2108         * javax/swing/Timer.java: Fix stopping null waker.
2109         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2110         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2111         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2112         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2113         * javax/swing/table/DefaultTableModel.java: Clean up.
2114         * javax/swing/table/JTableHeader.java: Implement.
2115
2116 2004-08-31  Mark Wielaard  <mark@klomp.org>
2117
2118         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2119         semi-colon.
2120
2121 2004-08-31  Mark Wielaard  <mark@klomp.org>
2122
2123         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2124         Declare variables at top of functions/block.
2125         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2126
2127 2004-08-31  Mark Wielaard  <mark@klomp.org>
2128
2129         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2130         first.
2131
2132 2004-08-31  Michael Koch  <konqueror@gmx.de>
2133
2134         * javax/swing/text/PlainView.java
2135         (selectedColor): New field.
2136         (unselectedColor): Likewise.
2137         (font): Likewise.
2138         (updateMetrics): New method.
2139         (lineToRect): Likewise.
2140         (modelToView): Likewise.
2141         (drawSelectedText): Use color from JTextComponent ad draw with
2142         Utilities class.
2143         (drawUnselectedText): Likewise.
2144         (paint): Initialize helper fields.
2145         * javax/swing/text/View.java
2146         (getChildAllocation): New method.
2147         (getViewIndex): Likewise.
2148         (getToolTipText): Likewise.
2149
2150 2004-08-31  Michael Koch  <konqueror@gmx.de>
2151
2152         * javax/swing/text/Utilities.java
2153         (drawTabbedText): Reimplemented.
2154         (getTabbedTextWidth): Likewise.
2155
2156 2004-08-31  Michael Koch  <konqueror@gmx.de>
2157
2158         * javax/swing/plaf/basic/BasicTextUI.java
2159         (installDefaults): Install caret and highlighter.
2160         (modelToView): Use Bias.Forward when calling sibling.
2161         * javax/swing/text/AbstractDocument.java
2162         (ElementEdit): Implements DocumentEvent.ElementChange.
2163         (ElementEdit.ElementEdit): New method.
2164         (ElementEdit.getChildrenAdded): Likewise.
2165         (ElementEdit.getChildrenRemoved): Likewise.
2166         (ElementEdit.getElement): Likewise.
2167         (ElementEdit.getIndex): Likewise.
2168         * javax/swing/text/DefaultCaret.java
2169         (color): Removed.
2170         (textComponent): Renamed from parent, made private.
2171         (selectionVisible): Renamed from vis_sel, made private.
2172         (blinkRate): Renamed from blink, made private.
2173         (magicCaretPosition): Renamed from magic, made private.
2174         (visible): Renamed from vis, made private.
2175         (dot): Made private.
2176         (mark): Likewise.
2177         (deinstall): Remove as MouseMotionListener.
2178         (install): Initialize textComponent first. Add as MouseMotionListener.
2179         (paint): Reimplemented.
2180         * javax/swing/text/JTextComponent.java
2181         (setCaret): Deinstall old caret, install new one and fire property
2182         change after setting property.
2183         (setHighlighter): Deinstall old highlighter, install new one and fire
2184         property change after setting property.
2185         (setCaretColor): Fire property change after setting property.
2186         (setDisabledTextColor): Likewise.
2187         (setSelectedTextColor): Likewise.
2188         (setSelectionColor): Likewise.
2189         (modelToView): New method.
2190
2191 2004-08-31  Michael Koch  <konqueror@gmx.de>
2192
2193         * javax/swing/text/AbstractDocument.java
2194         (getText): Simplified.
2195         * javax/swing/text/Segment.java
2196         (current): New field.
2197         (current): Reimplemented.
2198         (first): Likewise.
2199         (getIndex): Likewise.
2200         (last): Likewise.
2201         (next): Likewise.
2202         (previous): Likewise.
2203         (setIndex): Likewise.
2204
2205 2004-08-31  Michael Koch  <konqueror@gmx.de>
2206
2207         * javax/swing/plaf/basic/BasicButtonUI.java
2208         (defaultTextIconGap): Made protected.
2209         (defaultTextShiftOffset): Likewise.
2210         (textShiftOffset): New field.
2211         (clearTextShiftOffset): New method.
2212         (getTextShiftOffset): Likewise.
2213         (setTextShiftOffset): Likewise.
2214
2215 2004-08-31  Michael Koch  <konqueror@gmx.de>
2216
2217         * javax/swing/plaf/basic/BasicTextUI.java
2218         (installUI): Add eventHandler as property listener.
2219         (uninstallUI): remove eventHandler as propert listener.
2220         (installDefaults): Added comment.
2221         (installListeners): Likewise.
2222         (installKeyboardActions): Likewise.
2223         (uninstallDefaults): Likewise.
2224         (uninstallListeners): Likewise.
2225         (uninstallKeyboardActions): Likewise.
2226
2227 2004-08-31  Michael Koch  <konqueror@gmx.de>
2228
2229         * javax/swing/text/AbstractDocument.java:
2230         Fixed some typos in comments.
2231         (insertString): Reimplemented.
2232         (remove): Likewise.
2233         (replace): New method.
2234         (children): Dont use fully qualified class name.
2235         (DefaultDocumentEvent.offset): Renamed from off.
2236         (DefaultDocumentEvent.length): Renamed from len.
2237         (DefaultDocumentEvent.type): New field.
2238         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2239         (DefaultDocumentEvent.getType): Implemented.
2240
2241 2004-08-31  Michael Koch  <konqueror@gmx.de>
2242
2243         * javax/swing/plaf/basic/BasicTextUI.java
2244         (RootView.textComponent): Removed.
2245         (RootView.RootView): Don't initialize textComponent.
2246         (RootView.getViewFactory): New method.
2247         (EventHandler): New inner class.
2248         (rootView): Initialize at instance creation.
2249         (eventHandler): New field.
2250         (installUI): Don't create view hierarchy directly,
2251         call modelChanged() instead.
2252         (modelChanged): New method.
2253         * javax/swing/text/JTextComponent.java
2254         (setDocument): Fire property change event.
2255
2256 2004-08-31  Michael Koch  <konqueror@gmx.de>
2257
2258         * javax/swing/plaf/basic/BasicTextUI.java
2259         (RootView.paint): Removed debug output.
2260         (paintSafely): Draw highlighter before text.
2261         (paintBackground): Use background color of text component.
2262         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2263         Reformatted.
2264
2265 2004-08-31  Michael Koch  <konqueror@gmx.de>
2266
2267         * javax/swing/plaf/basic/BasicToolBarUI.java
2268         (BasicToolBarUI): Fixed arguments for constructor.
2269         (createUI): Fixed creation of object.
2270
2271 2004-08-31  Michael Koch  <konqueror@gmx.de>
2272
2273         * javax/swing/DefaultListSelectionModel.java
2274         (fireValueChanged): Renamed from fireSelectionValueChanged,
2275         made protected.
2276
2277 2004-08-31  Michael Koch  <konqueror@gmx.de>
2278
2279         * javax/swing/text/TabSet.java
2280         (TabSet): Implements java.io.Serializable.
2281         * javax/swing/text/TabStop.java
2282         (TabStop): Implements java.io.Serializable.
2283         (TabStop): Made public.
2284
2285 2004-08-31  Michael Koch  <konqueror@gmx.de>
2286
2287         * javax/swing/JComponent.java
2288         (setUI): Fire PropertyChange.
2289         * javax/swing/JLabel.java
2290         (text): Renamed from labelText.
2291         (horizontalAlignment): New default vlaue.
2292         (icon): Renamed from activeIcon.
2293         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2294         (displayedMnemonicIndex): Renamed from underlineChar.
2295         (setDisplayedMnemonic): Reimplemented.
2296         * javax/swing/JRadioButton.java
2297         (JRadioButton): New constructors.
2298         * javax/swing/JTextField.java
2299         (JTextField): Throw exception if colums < 0, initialitialz
2300         this.columns directly and initialize document with text conditionally.
2301
2302 2004-08-31  Michael Koch  <konqueror@gmx.de>
2303
2304         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2305         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2306         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2307         * javax/swing/text/FieldView.java
2308         (paint): Just call super method for now.
2309         * Makefile.am: Added new files.
2310         * Makefile.in: Regenerated.
2311
2312 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2313
2314         * javax/swing/AbstractSpinnerModel.java,
2315         javax/swing/JSpinner.java,
2316         javax/swing/SpinnerNumberModel.java,
2317         javax/swing/plaf/basic/BasicSpinnerUI.java:
2318         New files.
2319         * javax/swing/plaf/basic/BasicLookAndFeel.java
2320         (initClassDefaults): Added defaults for BasicSpinnerUI.
2321
2322 2004-08-31  Michael Koch  <konqueror@gmx.de>
2323
2324         * Makefile.am: Added new files.
2325         * Makefile.in: Regenerated.
2326
2327 2004-08-31  Michael Koch  <konqueror@gmx.de>
2328
2329         * javax/swing/TransferHandler.java,
2330         javax/swing/plaf/basic/ComboPopup.java: New files
2331         * Makefile.am: Added javax/swing/TransferHandler.java and
2332         javax/swing/plaf/basic/ComboPopup.java
2333         * Makefile.in: Regenerated.
2334
2335 2004-08-31  Roman Kennke  <roman@ontographics.com>
2336
2337         * javax/swing/text/Utilities.java: New file.
2338
2339 2004-08-31  Michael Koch  <konqueror@gmx.de>
2340
2341         * Makefile.am: Added javax/swing/text/Utilities.java.
2342         * Makefile.in: Regenerated.
2343
2344 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2345
2346         * javax/swing/text/SimpleAttributeSet.java: New file.
2347         * javax/swing/text/StyleConstants.java: New file.
2348         * javax/swing/text/StyleContext.java: New file.
2349         * javax/swing/text/TabSet.java: New file.
2350         * javax/swing/text/TabStop.java: New file.
2351         * javax/swing/text/AbstactDocument.java:
2352         (AbstractElement): Implement attribute support.
2353         * javax/swing/text/AttributeSet.java
2354         (NameAttribute): New static field.
2355         (ResolveAttribute): New static field.
2356         * Makefile.am: Update for new files.
2357         * Makefile.in: Regenerate.
2358
2359 2004-08-31  Craig Black  <craig.black@aonix.com>
2360
2361         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2362         (drawImage): Add support for scaling pixmaps.
2363         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2364         (copyAndScalePixmap): New native method.
2365  
2366 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2367
2368         PR AWT/16121
2369         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2370         type-punning compiler warnings using unions.
2371         (throw): Replace bzero with memset.
2372
2373 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2374             Thomas Fitzsimmons  <fitzsim@redhat.com>
2375
2376         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2377         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2378         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2380         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2381
2382 2004-08-31  Mark Wielaard  <mark@klomp.org>
2383
2384         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2385         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2386         and stdlib.h, not gtkpeer.h.
2387         (*vm): New static variable.
2388         (areaPreparedID): Make static.
2389         (areaUpdatedID): Likewise.
2390         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2391         (area_prepared): Likewise.
2392         (area_updated): Likewise.
2393         (closed): Likewise.
2394         (initStaticState): Initialize *vm javaVM.
2395         (pumpBytes): Use given env, not global gdk_env.
2396
2397 2004-08-31  Mark Wielaard  <mark@klomp.org>
2398
2399         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2400         comments.
2401
2402 2004-08-31  Sven de Marothy  <sven@physto.se>
2403
2404         * java/awt/geom/CubicCurve2D.java: Reindent.
2405         (contains): Implemented.
2406         (intersects): Implemented.
2407         * java/awt/geom/QuadCurve2D.java: Likewise.
2408         * java/awt/geom/GeneralPath.java: Reindent and document.
2409         Fully (re)implemented using separate xpoints and ypoints
2410         float[] coords.
2411         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2412
2413 2004-08-31  Michael Koch  <konqueror@gmx.de>
2414
2415         * javax/swing/JMenuItem.java
2416         (getMenuDragMouseListeners): New method.
2417         (getMenuKeyListeners): Likewise.
2418
2419 2004-08-31  Michael Koch  <konqueror@gmx.de>
2420
2421         * javax/swing/AbstractButton.java
2422         (model): Made protected.
2423         (actionListener): Likewise.
2424         (changeListener): Likewise.
2425         (itemListener): Likewise.
2426         (multiClickThreshhold): New field.
2427         (getActionListeners): New method.
2428         (getChangeListeners): Likewise.
2429         (getItemListeners): Likewise.
2430         (fireItemStateChanged): Simplified implementation.
2431         (fireActionPerformed): Likewise.
2432         (fireStateChanged): Likewise.
2433         (getMultiClickThreshhold): New method.
2434         (setMultiClickThreshhold): Likewise.
2435
2436 2004-08-31  Tom Tromey  <tromey@redhat.com>
2437
2438         * java/awt/image/Kernel.java (clone): Use super.clone().
2439
2440 2004-08-31  David Jee  <djee@redhat.com>
2441
2442         PR AWT/16682
2443         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2444         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2445         (nativeSetIconImageFromData): New native method declaration.
2446         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2447         * gnu/java/awt/peer/gtk/GtkImage.java
2448         (getPixelCache): New method.
2449         (getColorModel): New method.
2450         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2451         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2452         (free_pixbuf_data): New helper function.
2453         (nativeSetIconImageFromData): New function.
2454
2455 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2456
2457         PR SWING/16576
2458         * javax/swing/JLayeredPane.java 
2459         (setLayer): Permit changing layer after addition.
2460         (setPosition): Permit over-length positions.
2461         (layerToRange): Compare intValue()s.
2462         * javax/swing/Box.java (createHorizontalBox): Implement.
2463         (createRigidArea): Likewise.
2464         (createVerticalBox): Likewise.
2465
2466 2004-08-31  Kim Ho  <kho@redhat.com>
2467
2468         * java/awt/Component.java:
2469         (processMouseEvent): Consume event after
2470         listeners process it.
2471         (processMouseMotionEvent): ditto.
2472         (processMouseWheelEvent): ditto.
2473         * java/awt/Container.java:
2474         (acquireComponentForMouseEvent):
2475         Do not dispatch to events that have been
2476         removed from the Container.
2477         (handleEvent): Consume the MouseEvents.
2478         * javax/swing/RepaintManager.java:
2479         (paintDirtyRegions): Do not add to list of 
2480         damaged areas if the component has no root.
2481
2482 2004-08-31  Michael Koch  <konqueror@gmx.de>
2483
2484         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2485
2486 2004-08-31  Mark Wielaard  <mark@klomp.org>
2487
2488         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2489         null when a MissingResourceException is thrown. Should never happen.
2490
2491 2004-08-31  Mark Wielaard  <mark@klomp.org>
2492
2493         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2494         when argument is null.
2495
2496 2004-08-31  Mark Wielaard  <mark@klomp.org>
2497
2498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2499         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2500         Define hid at start of function.
2501         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2502         Likewise.
2503
2504 2004-08-31  Mark Wielaard  <mark@klomp.org>
2505
2506         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2507         * javax/swing/JButton.java: Reindent.
2508         * javax/swing/JCheckBox.java: Reindent.
2509
2510 2004-08-31  Mark Wielaard  <mark@klomp.org>
2511
2512         * Makefile.am (gtk_c_source_files): Added
2513         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2514         (gtk_awt_peer_sources): Added
2515         gnu/java/awt/peer/gtk/GThreadMutex.java and
2516         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2517         * Makefile.in: Regenerated.
2518
2519 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2520
2521         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2522
2523 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2524
2525         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2526         Added jfieldID, jmethodID.
2527
2528 2004-08-31  Mark Wielaard  <mark@klomp.org>
2529
2530         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2531         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2532         gdk_env before calling any gdk or gtk function.
2533
2534         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2535         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2536         (run): Set gtkInitCalled.
2537
2538 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2539
2540         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2541         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2542
2543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2544         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2545         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2546         init_glib_threads. 
2547         (init_glib_threads): New function.
2548
2549 2004-08-31  Mark Wielaard  <mark@klomp.org>
2550
2551         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2552         PRIORITY when not already defined in header file.
2553
2554 2004-08-31  Mark Wielaard  <mark@klomp.org>
2555
2556         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2557         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2558
2559 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2560
2561         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2562         Implemented missing functions for GTK2.
2563         Added error handling.
2564         Renamed static functions out of the g_ namespace.
2565         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2566         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2567         Rewrote global-reference code.
2568         Eliminated cascading errors.
2569         (mutex_trylock_jni_impl) Fully implemented.
2570         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2571         resolution.
2572         (setup_cache) New function.
2573         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2574         bug where they were not unlocking the GMutex associated with the
2575         condition variable during the wait on that condition variable.
2576
2577         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2578         native/jni/gtk-peer/gthread-jni.c,
2579         native/jni/gtk-peer/gthread-jni.h
2580         (g_thread_jni_functions): Renamed to ...
2581         (portable_native_sync_jni_functions): this name.
2582         (gdk_vm): Renamed to...
2583         (the_vm): this name.
2584
2585         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2586         (gdk_vm): Removed duplicate definition.
2587         (gtkInit): Removed stray message to stdout.
2588         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2589         (gtkInit): Fix a const assignment bug.
2590         (gtkInit): Simplified code.
2591
2592         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2593         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2594         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2595         gnu/java/awt/peer/gtk/GThreadMutex.java:
2596         New files.
2597
2598 2004-08-31  Mark Wielaard  <mark@klomp.org>
2599
2600         * javax/swing/Box.java: Put FIXME comment above class declaration.
2601         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2602         * javax/swing/JCheckBox.java: Likewise.
2603         * javax/swing/JDialog.java: Likewise.
2604         * javax/swing/JRadioButton.java: Likewise.
2605         * javax/swing/JToggleButton.java: Likewise.
2606         * javax/swing/UIManager.java: Likewise.
2607         * javax/swing/border/TitledBorder.java: Likewise.
2608         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2609         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2610         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2611         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2612         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2613         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2614         * javax/swing/text/JTextComponent.java: Likewise.
2615
2616 2004-08-31  David Jee  <djee@redhat.com>
2617
2618         PR AWT/16682
2619         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2620         (setIconImage): Add a FIXME for unhandled cases.
2621
2622 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2623
2624         PR AWT/16040
2625         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2626         getModifiers.  Replace old button masks with new ones.
2627         * gnu/awt/xlib/XEventLoop.java: Likewise.
2628         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2629         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2630         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2631         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2632         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2633         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2634         * java/awt/Component.java: Replace old modifier masks with new
2635         ones.
2636         * java/awt/Container.java: Call getModifiersEx, not
2637         getModifiers.
2638         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2639         old modifier masks.
2640         * javax/swing/JMenuItem.java: Replace old button masks with new
2641         ones.
2642         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2643         getModifiers.
2644         * javax/swing/SwingUtilities.java: Likewise.
2645         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2646         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2648         mask macros with new ones.
2649         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2650         macros with new ones representing new masks.
2651
2652 2004-08-31  Craig Black  <craig.black@aonix.com>
2653
2654         * gnu/java/awt/peer/gtk/GdkGraphics.java
2655         (drawRoundRect): Implemented.
2656         (fillRoundRect): Implemented.
2657         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2658         (drawRoundRect): Reimplemented to match GdkGraphics.
2659         (fillRoundRect): Reimplemented to match GdkGraphics.
2660
2661 2004-08-31  Mark Wielaard  <mark@klomp.org>
2662
2663         * Makefile.in: Regenerated.
2664
2665 2004-08-31  Michael Koch  <konqueror@gmx.de>
2666
2667         * gnu/java/awt/EmbeddedWindow.java
2668         (addNotify): Use AccessController to allow execution of privileged
2669         code.
2670
2671 2004-08-31  Michael Koch  <konqueror@gmx.de>
2672
2673         * gnu/java/awt/EmbeddedWindow.java
2674         (static): Removed.
2675         (addNotify): Set peer via reflection.
2676         (setWindowPeer): Removed.
2677         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2678         * Makefile.am (nat_source_files):
2679         Removed gnu/java/awt/natEmbeddedWindow.cc.
2680
2681 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2682
2683         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2684         and gnu/java/security/action/SetAccessibleAction.java.
2685
2686 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2687
2688         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2689         Renamed from 'setName'. New 2-argument form with default value.
2690         (run): Pass default 'value' parameter to System.getProperty().
2691         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2692         typos.
2693
2694 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2695
2696         * gnu/java/security/action/GetPropertyAction.java: New class.
2697         * gnu/java/security/action/SetAccessibleAction.java: New class.
2698
2699 2004-08-31  David Jee  <djee@redhat.com>
2700
2701         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2702         (setIconImage): Check if image is null.
2703
2704 2004-08-31  David Jee  <djee@redhat.com>
2705
2706         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2707         (create): Set the icon image.
2708         (nativeSetIconImage): New native method declaration.
2709         (setIconImage): Implement.
2710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2711         (nativeSetIconImage): New function.
2712
2713 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2714
2715         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2716         (filenameFilterCallback): Declare local variable accepted before use.
2717
2718 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2719
2720         * gnu/java/awt/ComponentDataBlitOp.java:
2721         Cleaned up imports.
2722
2723 2004-08-31  Tom Tromey  <tromey@redhat.com>
2724
2725         * gnu/java/awt/peer/GLightweightPeer.java,
2726         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2727         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2728         javax/swing/JScrollPane.java: Removed
2729         redundant imports.
2730
2731 2004-08-31  David Jee  <djee@redhat.com>
2732
2733         * java/awt/DefaultKeyboardFocusManager.java
2734         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2735         event.  Fix shift modifier checking.
2736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2737         (accel_attach): Remove.
2738         (setupAccelGroup): Remove calls to accel_attach.
2739
2740 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2741
2742         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2743         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2744
2745         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2746         GtkArgList.java.
2747         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2748         * Makefile.in: Regenerate.
2749         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2750         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2751         (create(String)): New method.
2752         (create): Call new create method.
2753         (getArgs): Remove method.
2754         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2755         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2756         (nativeCreate): Rename to create.
2757         (gtkSetLabel): Rename to gtkButtonSetLabel.
2758         (gtkToggleButtonSetActive): New method.
2759         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2760         (setState): Replace set call with gtkToggleButtonSetActive.
2761         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2762         (getArgs): Remove method.
2763         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2764         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2765         (gtkWidgetSetSensitive): New method.
2766         (gtkWidgetSetParent): Likewise.
2767         (GtkComponentPeer): Call setParent, setComponentBounds and
2768         setVisibleAndEnabled.
2769         (setParent): New method.
2770         (setComponentBounds): New method.
2771         (setVisibleAndEnabled): New method.
2772         (setEnabled): Call gtkWidgetSetSensitive.
2773         (getArgs): Remove method.
2774         Remove all set methods.
2775         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2776         gtkWindowSetModal, setTitle and setResizable.
2777         (getArgs): Remove method.
2778         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2779         (setComponentBounds): New method.
2780         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2781         Replace set call with gtkWindowSetResizable.
2782         (getArgs): Remove method.
2783         (create): Call setTitle and setResizable.
2784         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2785         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2786         (gtkWindowSetTitle): New method.
2787         (gtkWindowSetResizable): New method.
2788         (gtkWindowSetModal): New method.
2789         (setParent): New method.
2790         (setVisibleAndEnabled): New method.
2791         (getArgs): Remove method.
2792         (setTitle): Call gtkWindowSetTitle.
2793         (setResizable): Call gtkWindowSetResizable.
2794         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2795         and off locking instrumentation.
2796
2797 2004-08-31  Kim Ho  <kho@redhat.com>
2798
2799         * Makefile.am: Add new file.
2800         * Makefile.in: Regenerate.
2801         * gcj/Makefile.in: Regenerate
2802         * include/Makefile.in:
2803         * java/awt/Container.java:
2804         (acquireComponentForMouseEvent): Respect 
2805         the event mask when looking for candidate.
2806         * javax/swing/JComponent.java:
2807         Remove toolTip field.
2808         (createToolTip): Create a tooltip on demand.
2809         (setToolTipText): Register with the ToolTipManager.
2810         (getToolTipText(MouseEvent)): Return getToolTipText().
2811         * javax/swing/JToolTip.java: Implement.
2812         * javax/swing/Timer.java: Jalopy.
2813         (restart): Call stop, then start.
2814         (stop): Interrupt the timer rather than wait for
2815         the timer to come to a stop naturally.
2816         * javax/swing/ToolTipManager.java: Implement.
2817         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2818         Change ToolTip.background color.
2819         * javax/swing/plaf/basic/BasicToolTipUI.java:
2820         Implement.
2821         * testsuite/Makefile.in: Regenerate
2822
2823 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2824
2825         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2826         constructor param comments.
2827
2828 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2829
2830         * java/awt/Component.java: Document AWT 1.0 event handler
2831         methods.
2832
2833 2004-08-31  Roman Kennke  <roman@ontographics.com>
2834
2835         * javax/swing/Box.java:
2836         (createGlue): Implemented
2837         (createHorizontalGlue): Implemented
2838         (createHorizontalStrut): Implemented
2839         (createVerticalGlue): Implemented
2840         (createVerticalStrut): Implemented
2841
2842 2004-08-31  David Jee  <djee@redhat.com>
2843
2844         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2845         (GtkChoicePeer): Do not automatically select first item.
2846         (getHistory): Remove.
2847         (nativeGetSelected): New method.
2848         (nativeRemoveAll): New method.
2849         (add): Use nativeGetSelected() instead of getHistory().
2850         (remove): Likewise.
2851         (removeAll): Call nativeRemoveAll().
2852         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2853         (create): Migrate to GtkComboBox.
2854         (append): Likewise.
2855         (nativeAdd): Likewise.
2856         (nativeRemove): Likewise.
2857         (select): Likewise.
2858         (nativeRemoveAll): New method.
2859         (nativeGetSelected): New method.
2860         (selection_changed): New method.
2861         (getHistory): Remove.
2862         (item_activate): Remove.
2863         (item_removed): Remove.
2864         (connect_choice_item_selectable_hook): Remove.
2865
2866 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2867
2868         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2869         variable in setEditable call.
2870
2871         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2872         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2873         (gtkWidgetSetBackground): New method.
2874         (gtkWidgetSetForeground): Likewise.
2875         (create): Set peer's editable state based on awtComponent's.
2876
2877         * java/awt/Button.java (Button()): Use empty string rather than
2878         null in no-label constructor.
2879
2880 2004-08-31  Roman Kennke  <roman@ontographics.com>
2881
2882         * javax/swing/BoxLayout.java: Reimplement.
2883
2884 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2885
2886         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2887         gnu_java_awt_peer_gtk_GdkGraphics.c
2888         (initState(GtkComponentPeer)): Don't return array of colour
2889         values.
2890         (GdkGraphics(int,int)): Set default font to size 12.
2891         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2892         component's foreground colour.
2893         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2894         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2895         (initState(GtkComponentPeer)): Don't return array of colour
2896         values.
2897         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2898         colours to component's colours.
2899         (current_colors_of_widget): Remove function.
2900         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2901         Return a new graphics object.
2902         * java/awt/Font.java (toString): Fix format.
2903         * java/awt/Graphics.java (toString): Likewise.
2904
2905 2004-08-31  Craig Black  <craig.black@aonix.com>
2906
2907         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2908         (addTearOff): New function.
2909         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2910         New native method.
2911         (init): Call addTearOff() when menu.isTearOff().
2912
2913 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2914
2915         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2916         Default implementation.
2917         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2918         Implement using GdkPixbufDecoder.
2919
2920 2004-08-31  David Jee  <djee@redhat.com>
2921
2922         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2923         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2924         setting the size of GtkFileDialogPeers.
2925         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2926         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2927         use their default sizes rather than their natural requisitions.
2928
2929 2004-08-31  Michael Koch  <konqueror@gmx.de>
2930
2931         * javax/swing/JFormattedTextField.java
2932         (JFormattedTextField): Implemented.
2933         * javax/swing/text/DefaultEditorKit.java
2934         (BeepAction): New inner class.
2935         * javax/swing/text/Segment.java
2936         (partialReturn): New field.
2937         (setPartialReturn): New method.
2938         (isPartialReturn): Likewise.
2939         * javax/swing/text/View.java
2940         (createFragment): Fixed typo.
2941         (getStartOffset): New method.
2942         (getEndOffset): Likewise.
2943
2944 2004-08-31  Michael Koch  <konqueror@gmx.de>
2945
2946         * javax/swing/table/DefaultTableColumnModel.java
2947         (serialVersionUID): Made private.
2948         (listenerList): Initialize.
2949         (changeEvent): Initialize.
2950         * javax/swing/table/JTableHeader.java
2951         (JTableHeader): New constructors.
2952         (createDefaultColumnModel): New method.
2953         * javax/swing/table/TableColumn.java
2954         (setHeaderRenderer): Simplified code.
2955         (setCellRenderer): Likewise.
2956         (setWidth): Likewise.
2957
2958 2004-08-31  Tom Tromey  <tromey@redhat.com>
2959
2960         * java/text/AttributedString.java (AttributedString): Use
2961         ArrayList to build array of attribute ranges.  Don't use
2962         `attribs' before it is set.
2963
2964 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2965
2966         * HACKING: Remove reference to special automake. No longer needed.
2967
2968 2004-08-30  Tom Tromey  <tromey@redhat.com>
2969
2970         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2971         return result from `add'.
2972
2973 2004-08-30  Tom Tromey  <tromey@redhat.com>
2974
2975         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2976
2977 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2978
2979         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2980
2981 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2982
2983         * java/io/File.java File(String,String): Fixed handling of empty
2984         path.
2985
2986 2004-08-30  Casey Marshall  <csm@gnu.org>
2987
2988         Author e-mail updated for all files.
2989         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2990         instance of OID.
2991         (compareTo): Use `equals'.
2992         * gnu/java/security/der/BitString.java (equals): Test if the
2993         argument is an instance of BitString.
2994         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2995         class final. Made fields private.
2996         (<init>): New constructor.
2997         (skip): New method.
2998         (makeString): Made static; don't use NIO.
2999         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3000         * gnu/java/security/der/DERWriter.java: Fixed imports.
3001         (writeString): Don't use NIO.
3002         (toIso88591, toUtf16Be, toUtf8): New methods.
3003         * gnu/java/security/der/DERValue.java: Formatting changes only.
3004         * gnu/java/security/der/DER.java: Likewise.
3005
3006 2004-08-30  Tom Tromey  <tromey@redhat.com>
3007
3008         * java/nio/CharBuffer.java (put): Fix typo.
3009         * java/nio/DoubleBuffer.java (put): Fix typo.
3010         * java/nio/FloatBuffer.java (put): Fix typo.
3011         * java/nio/IntBuffer.java (put): Fix typo.
3012         * java/nio/LongBuffer.java (put): Fix typo.
3013         * java/nio/ShortBuffer.java (put): Fix typo.
3014
3015 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3016
3017         * java/nio/ByteBuffer.java (put): Fix typo.
3018
3019 2004-08-30  Casey Marshall  <csm@gnu.org>
3020
3021         * java/security/DummyKeyPairGenerator.java (clone): Removed
3022         useless instanceof check.
3023         * java/security/DummyMessageDigest.java (clone): Likewise.
3024         * java/security/DummySignature.java (clone): Likewise.
3025         * java/security/MessageDigest.java (clone): Remove useless
3026         instanceof check.
3027         * java/security/MessageDigestSpi.java (clone): Likewise.
3028         * java/security/Signature.java (clone): Provide meaningful
3029         implementation.
3030         * java/security/SignatureSpi.java (clone): Likewise.
3031
3032 2004-08-29  Mark Wielaard  <mark@klomp.org>
3033
3034         * java/util/Arrays.java
3035         (sort(byte[], int, int)): Check fromIndex < 0.
3036         (sort(char[], int, int)): Likewise.
3037         (sort(short[], int, int)): Likewise.
3038         (sort(int[], int, int)): Likewise.
3039         (sort(long[], int, int)): Likewise.
3040         (sort(float[], int, int)): Likewise.
3041         (sort(double[], int, int)): Likewise.
3042         (sort(Object[], int, int, Comparator)): Likewise.
3043         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3044         (qsort(char[], int, int)): Likewise.
3045         (qsort(short[], int, int)): Likewise.
3046         (qsort(int[], int, int)): Likewise.
3047         (qsort(long[], int, int)): Likewise.
3048         (qsort(float[], int, int)): Likewise.
3049         (qsort(double[], int, int)): Likewise.
3050
3051 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3052
3053         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3054         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3055         java/util/ArrayList.java, java/util/Arrays.java,
3056         java/util/BitSet.java, java/util/Calendar.java,
3057         java/util/Collection.java, java/util/ListIterator.java,
3058         java/util/Map.java, java/util/SortedSet.java:
3059         Added additional exceptions to documentation, along
3060         with some additions and corrections.
3061
3062 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3063
3064         * configure.ac: Handle --enable-gc-debug.
3065         * configure: Regenerate.
3066         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3067         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3068         Rearrange include file order.
3069         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3070         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3071         (disable_gc_mutex): Delete along with all references.
3072         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3073         adjust for debug header size.
3074         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3075         debug case.
3076         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3077         (gcj_describe_type_fn): New.
3078         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3079         Register gcj_describe_type_fn.
3080         * include/boehm-gc.h:
3081         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3082         Don't define, but declare, for debug case.
3083         * java/lang/natObject.cc:
3084         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3085
3086 2004-08-26  Mark Wielaard  <mark@klomp.org>
3087
3088         Fixes PR libgcj/17002:
3089         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3090         a TimeZoneId string and then try to convert that to a TimeZone with
3091         getDefaultSystemTimeZone(String).
3092         (timezones0): Changed type from Hashtable to HashMap.
3093         (timezones): Create HashMap, not Hashtable.
3094         (getDefaultTimeZone): New method, rewritten from CNI version.
3095         (readTimeZoneFile): New method.
3096         (readtzFile): Likewise.
3097         (skipFully): Likewise.
3098         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3099         getDefaultTimeZoneId and rewritten.
3100         (getDefaultTimeZoneId): Rewritten in java.
3101         
3102 2004-08-25  David Daney  <daney@avtrex.com>
3103
3104         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3105         * Makefile.in: Regenerated.
3106
3107 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3108
3109         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3110         only if jvmpi is enabled.
3111         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3112         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3113         (_Jv_AllocString): Likewise.
3114         (_Jv_AllocPtrFreeObject): Likewise.     
3115
3116 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3117
3118         * defineclass.cc: Include <stdio.h>.
3119         * java/lang/natClassLoader.cc: Include <stdio.h>.
3120
3121 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3122             Michael Koch  <konqueror@gmx.de>
3123
3124         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3125         * Makefile.in: Regenerated.
3126
3127 2004-08-20  Michael Koch  <konqueror@gmx.de>
3128
3129         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3130         AC_COMPILE_IFELSE macros.
3131
3132 2004-08-20  Michael Koch  <konqueror@gmx.de>
3133
3134         * configure.in: Renamed to configure.ac.
3135         * configure.ac: New file.
3136         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3137         include/config.h.in, testsuite/Makefile.in: Regenerated.
3138
3139 2004-08-20  Michael Koch  <konqueror@gmx.de>
3140
3141         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3142         * aclocal.m4, configure: Regenerated.
3143
3144 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3145             Michael Koch  <konqueror@gmx.de>
3146
3147         * configure.in, Makefile.am: Ported to automake 1.9.
3148         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3149         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3150         Regenerated.
3151
3152 2004-08-19  Tom Tromey  <tromey@redhat.com>
3153
3154         * java/net/DatagramSocket.java: Fixed typo.
3155
3156 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3157
3158         PR libgcj/17081
3159         * java/net/URI.java (string): New field. Make all other fields
3160         transient.
3161         (readObject): Implemented.
3162         (writeObject): Implemented.
3163         (URI): Set 'string'.
3164
3165 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3166
3167         PR libgcj/17079
3168         * java/util/logging/Handler.java (isLoggable): Accept record if its
3169         log level equals the threshold level. From Robin Green.
3170
3171 2004-08-18  David Daney  <ddaney@avtrex.com>
3172
3173         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3174         instead of sigwait.
3175
3176 2004-08-17  Michael Koch  <konqueror@gmx.de>
3177
3178         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3179         * Makefile.in: Regenerated.
3180
3181 2004-08-16  Tom Tromey  <tromey@redhat.com>
3182
3183         PR java/8473:
3184         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3185
3186 2004-08-16  Michael Koch  <konqueror@gmx.de>
3187
3188         * Makefile.am
3189         (math_c_files): Renamed from c_files.
3190         (math_c_source_files): Renamed from c_source_files.
3191         * Makefile.in,
3192         gcj/Makefile.in,
3193         include/Makefile.in,
3194         testsuite/Makefile.in: Regenerated.
3195
3196 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3197
3198         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3199         to avoid autoconf warning.
3200         * configure: Rebuilt.
3201
3202 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3203
3204         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3205         localhostAddress to loopbackAddress.
3206         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3207
3208 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3209
3210         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3211         boehm-gc's include dirs.
3212         * configure: Rebuilt.
3213         * include/boehm-gc.h: Include gc_config.h.
3214
3215 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3216
3217         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3218         localhostAddress.
3219         (getByName): Return loopback address for null hostname, without
3220         security check. Use lookup(), not getAllByName.
3221         (getAllByName): Return loopback address for null hostname, without
3222         security check.
3223         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3224         check here.
3225
3226 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3227
3228         PR libgcj/17020
3229         Reported by Robin Green.
3230         * defineclass.cc (handleField): Don't throw exception on unrecognised
3231         modifier. Add FIXME comments for spec compliance.
3232         (handleMethod): Likewise.
3233
3234 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3235
3236         PR libgcj/16662
3237         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3238         (Almost everywhere): add LOG calls, fix, add comments.
3239         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3240         Add explicit check for LOCKED bit in slow case (PR 16662).
3241         (_Jv_MonitorExit): Add casts in debug-only code.
3242         Always release LOCKED bit before throwing exception.
3243         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3244         isn't.  Handle easy cases without lock acquisition.
3245         (Object::wait): Use NotifyAll for lock inflation.
3246
3247 2004-08-12  David Daney  <ddaney@avtrex.com>
3248
3249         * testsuite/libjava.lang/Process_1.java: New test.
3250         * testsuite/libjava.lang/Process_2.java: New test.
3251         * testsuite/libjava.lang/Process_3.java: New test.
3252         * testsuite/libjava.lang/Process_4.java: New test.
3253         * testsuite/libjava.lang/Process_5.java: New test.
3254         * testsuite/libjava.lang/Process_6.java: New test.
3255         * testsuite/libjava.lang/Process_1.out: Expected result.
3256         * testsuite/libjava.lang/Process_2.out: Expected result.
3257         * testsuite/libjava.lang/Process_3.out: Expected result.
3258         * testsuite/libjava.lang/Process_4.out: Expected result.
3259         * testsuite/libjava.lang/Process_5.out: Expected result.
3260         * testsuite/libjava.lang/Process_6.out: Expected result.
3261
3262 2004-08-12  David Daney  <ddaney@avtrex.com>
3263
3264         PR libgcj/11801
3265         * java/lang/PosixProcess.java: Rewrote.
3266         * java/lang/natPosixProcess.cc: Rewrote.
3267         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3268         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3269         * posix-threads.cc (block_sigchld) New function.
3270         (_Jv_ThreadRegister) Use it.
3271         (_Jv_ThreadStart) Use it.
3272         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3273         * Makefile.am: ... to specify extra native headers.
3274         * configure: Regenerated.
3275         * include/config.h: Regenerated.
3276         * Makefile.in: Regenerated.
3277         * gcj/Makefile.in: Regenerated.
3278         * include/Makefile.in: Regenerated.
3279         * testsuite/Makefile.in: Regenerated.
3280
3281 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3282
3283         PR tree-optimization/16867
3284         * testsuite/libjava.lang/PR16867.java: New test.
3285
3286 2004-08-09  Per Bothner  <per@bothner.com>
3287
3288         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3289         with private fields and access methods.
3290         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3291         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3292         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3293         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3294         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3295         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3296         * jni.cc: Likewise.
3297         * resolve.cc: Likewise.
3298         * gcj/field.h: Likewise.
3299         * include/jvm.h: Likewise.
3300         * java/lang/Class.h: Likewise.
3301         * java/lang/natClass.cc: Likwise.
3302         * java/lang/natClassLoader.cc: Likewise
3303         * java/lang/reflect/natMethod.cc: Likewise
3304         * verify.cc: Likewise.
3305         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3306         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3307
3308 2004-08-10  Andrew Haley  <aph@redhat.com>
3309
3310         * testsuite/libjava.lang/err14.java: New file.
3311         * testsuite/libjava.lang/err14.out: New file.
3312
3313 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3314
3315         * Makefile.am: Fix missing rename from x_nat_headers to 
3316         xlib_nat_headers.
3317         * Makefile.in: Regenerated.
3318
3319 2004-08-04  Andrew Haley  <aph@redhat.com>
3320
3321         * java/security/BasicPermission.java: Don't check wildcards.
3322
3323 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3324             Michael Koch  <konqueror@gmx.de>
3325
3326         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3327         * configure.in: Replaced all usages of AC_LINK_FILES by
3328         AC_CONFIG_LINKS.
3329         * aclocal.m4,
3330         configure: Regenerated.
3331
3332 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3333             Michael Koch  <konqueror@gmx.de>
3334
3335         * acconfig.h: Removed.
3336         * Makefile.am: Rename variables for xlib peer to include xlib and
3337         gtk_c_headers to gtk_jni_headers.
3338         * Makefile.in: Regenerated.
3339
3340 2004-08-04  Andrew Haley  <aph@redhat.com>
3341
3342         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3343         debugging.
3344
3345 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3346
3347         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3348         Replace most top level 'dnl' comments with '#' comments, conforming
3349         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3350         help strings.
3351         * configure: Rebuilt.
3352
3353 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3354
3355         * acinclude.m4: Include no-executables.m4.
3356         * aclocal.m4: Rebuild.
3357         * configure.in: Convert to the autoconf 2.59 version of
3358         of the no-executables hack, and also of the nonstandard CXX
3359         hack and the multilibbed CC and CXX hack.  Change prerequisite
3360         to autoconf 2.59.
3361         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3362         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3363         testsuite/Makefile.in: Regenerate.
3364
3365 2004-08-03  Tom Tromey  <tromey@redhat.com>
3366
3367         * jni.cc: Reindented.
3368
3369 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3370
3371         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3372
3373 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3374
3375         * testsuite/libjava.compile/PR16701.java: New test.
3376
3377 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3378
3379         * java/util/Collection.java, java/util/List.java,
3380         java/util/Map.java, java/util/Set.java,
3381         java/util/SortedMap.java, java/util/SortedSet.java:
3382         Added additional exceptions to documentation.
3383
3384 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3385
3386         PR libgcj/16814
3387         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3388         * configure. Regenerate.
3389         * include/win32.h: Explicitly include winsock2.h
3390         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3391         Winsock api.
3392
3393 2004-07-30  Michael Koch  <konqueror@gmx.de>
3394
3395         * java/util/zip/GZIPInputStream.java
3396         (GZIPInputStream): Increase buffer size to 4k.
3397         * java/util/zip/GZIPOutputStream.java
3398         (GZIPOutputStream): Likewise.
3399         * java/util/zip/Inflater.java
3400         (setInput): Merged formating with GNU classpath.
3401         * java/util/zip/InflaterInputStream.java
3402         (InflaterInputStream): Increase buffer size to 4k.
3403         (fill): Throw exception if stream ends early.
3404         (read): Merged endless-loop with GNU classpath.
3405         (skip): Increase buffer size to 2k.
3406
3407 2004-07-30  Michael Koch  <konqueror@gmx.de>
3408
3409         * gnu/java/awt/EmbeddedWindow.java
3410         (addNotify): Use AccessController to allow execution of privileged
3411         code.
3412
3413 2004-07-29  Michael Koch  <konqueror@gmx.de>
3414
3415         * gnu/java/lang/MainThread.java:
3416         Explicitely import used classes.
3417         (args): Make it type String[].
3418
3419 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3420
3421         * gnu/java/awt/ComponentDataBlitOp.java,
3422         gnu/java/beans/ExplicitBeanInfo.java,
3423         gnu/java/beans/IntrospectionIncubator.java,
3424         gnu/java/beans/editors/ColorEditor.java,
3425         gnu/java/beans/editors/FontEditor.java,
3426         gnu/java/beans/editors/NativeBooleanEditor.java,
3427         gnu/java/beans/editors/NativeByteEditor.java,
3428         gnu/java/beans/editors/NativeDoubleEditor.java,
3429         gnu/java/beans/editors/NativeFloatEditor.java,
3430         gnu/java/beans/editors/NativeIntEditor.java,
3431         gnu/java/beans/editors/NativeLongEditor.java,
3432         gnu/java/beans/editors/NativeShortEditor.java,
3433         gnu/java/beans/editors/StringEditor.java,
3434         gnu/java/io/ClassLoaderObjectInputStream.java,
3435         gnu/java/io/decode/Decoder.java,
3436         gnu/java/io/encode/Encoder.java,
3437         gnu/java/lang/ClassHelper.java,
3438         gnu/java/locale/Calendar.java,
3439         gnu/java/locale/Calendar_de.java,
3440         gnu/java/locale/Calendar_en.java,
3441         gnu/java/locale/Calendar_nl.java,
3442         gnu/java/locale/LocaleInformation_de.java,
3443         gnu/java/locale/LocaleInformation_en.java,
3444         gnu/java/locale/LocaleInformation_nl.java:
3445         Cleaned up imports.
3446
3447 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3448
3449         * README: Remove obsolete info. Update bug URL.
3450         * THANKS: Updated.
3451         * NEWS: Updated with news up to GCC 3.4 release.
3452
3453 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3454
3455         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3456         Renamed from 'setName'. New 2-argument form with default value.
3457         (run): Pass default 'value' parameter to System.getProperty().
3458         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3459         typos.
3460         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3461         not 'setName'.
3462
3463 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3464
3465         * configure.in: Check for minimum GTK version 2.4 requirement.
3466         * configure: Rebuilt.
3467
3468 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3469
3470         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3471         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3472         Reduce sleep time.
3473         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3474         compiler bug.
3475         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3476         address. Reduce sleep times. Synchronize with target threads before
3477         attempting to interrupt them. Don't try to calibrate yeild count,
3478         instead, always loop for a fixed time.
3479         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3480         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3481         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3482         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3483         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3484         * testsuite/libjava.lang/pr179.java: Likewise.
3485         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3486         time. Remove upper bounds check on sleep time. 
3487
3488 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3489
3490         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3491         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3492
3493 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3494
3495         * java/io/File.java (toURI): Throw RuntimeException, not 
3496         InternalError.
3497         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3498         class name, not instance.
3499
3500 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3501
3502         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3503         and gnu/java/security/action/SetAccessibleAction.java.
3504         * Makefile.in: Rebuilt.
3505
3506 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3507
3508         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3509         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3510         _Jv_InitPrimClass.
3511         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3512         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3513         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3514
3515 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3516
3517         * Makefile.am: Replace jar, rmic and rmiregistry references with
3518         gjar, grmic and grmiregistry.
3519         * configure.in: Likewise.
3520         * Makefile.in: Regenerate.
3521         * configure: Likewise.
3522         * gcj/Makefile.in: Likewise.
3523         * include/Makefile.in: Likewise.
3524         * testsuite/Makefile.in: Likewise.
3525
3526 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3527
3528         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3529         for privileged getProperty calls.
3530         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3531         SetAccessibleAction instead of anonymous class for doPrivileged call.
3532         (getMethod): Likewise.
3533         (setAccessible): New field. PrivilegedAction object to use when
3534         calling setAccessible.
3535         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3536         SetAccessibleAction instead of anonymous class for diPrivileged call.
3537         (setFields): Likewise.
3538         (getClassUID): Likewise.
3539         (findMethod): Likewise.
3540         * gnu/java/security/action/GetPropertyAction.java: New class.
3541         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3542
3543 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3544
3545         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3546         for final fields.
3547         * testsuite/libjava.lang/Serialization.java: New test.
3548         * testsuite/libjava.lang/Serialization.out: New.
3549
3550 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3551
3552         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3553         missed in last commit.
3554
3555 2004-07-23  Mark Wielaard  <mark@klomp.org>
3556
3557         * java/lang/System.java (static): Set http.agent system property when
3558         not yet set.
3559         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3560         from system property inside AccessController.doPrivileged() call.
3561         (proxyPort): Made package private.
3562         (proxyInUse): Likewise.
3563         (proxyHost): Likewise.
3564         (userAgent): Likewise.
3565
3566 2004-07-23  Mark Wielaard  <mark@klomp.org>
3567
3568         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3569         implementation.
3570
3571 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3572
3573         * Makefile.am (ordinary_java_source_files): Add
3574         DefaultContentHandlerFactory.java.
3575         * Makefile.in: Rebuilt.
3576         * java/net/URLConnection.java (defaultFactory): New field.
3577         (getContent): 
3578         (getContentHandler): Renamed from 'setContentHandler'. Try 
3579         defaultFactory after user-set factory, if any. Search for content 
3580         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3581         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3582         Implemented.
3583         (getLastModified): Implemented.
3584         (getPermission): Create file permission here, instead of in
3585         constructor.
3586         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3587         Implemented.
3588         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3589         Implemented.
3590         (getLastModified): Implemented.
3591         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3592         Default implementation.
3593         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3594         Implement using GdkPixbufDecoder.
3595         
3596 2004-07-21  Michael Koch  <konqueror@gmx.de>
3597
3598         * javax/swing/JTextArea.java
3599         (setLineWrap): Fire property change event after new value is set.
3600         (setTabSize): Likewise.
3601
3602 2004-07-21  Michael Koch  <konqueror@gmx.de>
3603
3604         * javax/swing/JTable.java
3605         (autoCreateColumnsFromModel): New field.
3606         (autoResizeMode): Likewise.
3607         (cellEditor): Likewise.
3608         (cellSelectionEnabled): Likewise.
3609         (columnModel): Likewise.
3610         (dataModel): Likewise.
3611         (defaultEditorsByColumnClass): Likewise.
3612         (defaultRenderersByColumnClass): Likewise.
3613         (editingColumn): Likewise.
3614         (editingRow): Likewise.
3615         (gridColor): Likewise.
3616         (preferredViewportSize): Likewise.
3617         (rowHeight): Likewise.
3618         (rowMargin): Likewise.
3619         (rowSelectionAllowed): Likewise.
3620         (selectionBackground): Likewise.
3621         (selectionForeground): Likewise.
3622         (selectionModel): Likewise.
3623         (showHorizontalLines): Likewise.
3624         (showVerticalLines): Likewise.
3625         (tableHeader): Likewise.
3626         (JTable): Implemented.
3627         (getColumnModel): Likewise.
3628         (getSelectedRow): Likewise.
3629         (getSelectionModel): Likewise.
3630         (setModel): Likewise.
3631         (setSelectionModel): Likewise.
3632         (createScrollPaneForTable): New method.
3633         (createDefaultDataModel): Likewise.
3634         (createDefaultListSelectionModel): Likewise.
3635         (getModel): Likewise.
3636         (getTableHeader): Likewise.
3637         (setTableHeader): Likewise.
3638         (getColumnSelectionAllowed): Likewise.
3639         (setColumnSelectionAllowed): Likewise.
3640         (getRowSelectionAllowed): Likewise.
3641         (setRowSelectionAllowed): Likewise.
3642         (getAutoResizeMode): Likewise.
3643         (setAutoResizeMode): Likewise.
3644         (getColumnCount): Likewise.
3645         (getRowCount): Likewise.
3646         (getCellRenderer): Likewise.
3647         * javax/swing/JTree.java
3648         (cellRenderer): New field.
3649         (editable): Likewise.
3650         (rootVisible): Likewise.
3651         (showsRootHandles): Likewise.
3652         (getModel): New method.
3653         (setModel): Likewise.
3654         (isEditable): Likewise.
3655         (setEditable): Likewise.
3656         (isRootVisbile): Likewise.
3657         (setRootVisible): Likewise.
3658         (getShowsRootHandles): Likewise.
3659         (setShowRootHandles): Likewise.
3660         (getCellRenderer): Likewise.
3661         (setCellRenderer): Likewise.
3662
3663 2004-07-21  Michael Koch  <konqueror@gmx.de>
3664
3665         * javax/swing/JFormattedTextField.java
3666         (setDocument): Implemented.
3667         * javax/swing/JRootPane.java:
3668         Fixed javadocs.
3669         * javax/swing/JTable.java
3670         (getDefaultRenderer): New method.
3671         * javax/swing/JTextField.java
3672         (setFont): Likewise.
3673         (getPreferredSize): Likewise.
3674         * javax/swing/JToggleButton.java
3675         (getAccessibleContext): Fix javadoc.
3676         * javax/swing/JTree.java:
3677         Add some javadocs.
3678         * javax/swing/JViewport.java:
3679         Likewise.
3680
3681 2004-07-21  David Jee  <djee@redhat.com>
3682
3683         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3684         Collect all native method declaration at the top.
3685         (create): Set the filename filter if necessary.
3686         (setDirectory): Call nativeSetDirectory().
3687         (setFilenameFilter): Implement.
3688         (filenameFilterCallback): New method.
3689         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3690         (create): Configure dialog to show hidden files.
3691         (filenameFilterCallback): New function. 
3692         (nativeSetFilenameFilter): New function.
3693         (nativeSetDirectory): New function.
3694
3695 2004-07-21  Kim Ho  <kho@redhat.com>
3696
3697         * javax/swing/plaf/basic/BasicSliderUI.java:
3698         Ran Jalopy.
3699         (paintTrack): Fill the track before painting
3700         the borders.
3701
3702 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3703
3704         patch from Roman Kennke <roman@ontographics.com>
3705         * javax/swing/Spring.java: New file.
3706         * javax/swing/SpringLayout.java: New file.
3707         * Makefile.am: Add new files.
3708         * Makefile.in: Regenerate.
3709
3710 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3711
3712         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3713         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3714         * javax/swing/ScrollPaneLayout.java: Likewise.
3715
3716 2004-07-21  Kim Ho  <kho@redhat.com>
3717
3718         * javax/swing/DefaultDesktopManager.java:
3719         (findMinimum): Removed.
3720         (resizeFrame): Trust the UI to pass valid 
3721         bounds.
3722         * javax/swing/JOptionPane.java:
3723         Implemented showInternalXXXDialog methods.
3724         (startModal): New method.
3725         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3726         (BorderListener::mouseDragged): Verify that the new 
3727         bounds are valid before passing them to the DesktopManager.
3728         (preferredLayoutSize): Delegate
3729         to getSize.
3730         (minimumLayoutSize): Ditto.
3731         (getSize): New method.
3732         (GlassPaneDispatcher): Reimplemented by copying 
3733         a stripped down LightweightDispatcher from Container.
3734         (getMinimumSize): Call minimumLayoutSize.
3735         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3736         Ran Jalopy.
3737         (mousePressed): Add ability to properly close 
3738         JInternalFrames.
3739         * javax/swing/plaf/basic/BasicToolBarUI.java:
3740         (DragWindow): Set owner for DragWindow.
3741
3742 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3743
3744         * java/awt/image/ShortLookupTable.java: New file.
3745         * java/awt/image/ByteLookupTable.java: New file.
3746         * Makefile.am: Added new files.
3747         * Makefile.in: Regenerated.
3748
3749 2004-07-21  David Jee  <djee@redhat.com>
3750
3751         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3752         (create(GtkContainerPeer)): New native method.
3753         (create()): Call native create(), passing in the parent frame
3754         as the paramter. Natively set the current file and directory.
3755         (setFile): Construct an absolute filename before passing it to
3756         the native peer.
3757         (nativeGetDirectory): New method.
3758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3759         (window_closed): Removed.
3760         (ok_clicked): Likewise.
3761         (cancel_clicked): Likewise.
3762         (handle_response): New method.
3763         (create): Use GtkFileChooserDialog.
3764         (connectSignals): Connect to handle_response.
3765         (nativeGetDirectory): New method.
3766         (nativeSetFile): Use GtkFileChooserDialog.
3767
3768 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3769
3770         * java/awt/image/LookupTable.java: New file.
3771         * Makefile.am: Added new file.
3772         * Makefile.in: Regenerated.
3773
3774 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3775
3776         * java/awt/image/Kernel.java: New file.
3777         * Makefile.am: Added new file.
3778         * Makefile.in: Regenerated.
3779
3780 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3781
3782         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3783         * javax/swing/JMenu.java: Likewise.
3784         * javax/swing/JMenuBar.java: Likewise.
3785         (MARGIN_CHANGED_PROPERTY): New property.
3786         (setMargin): Implemented.
3787         * javax/swing/JMenuItem.java: Fixed javadocs.
3788         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3789         (LABEL_CHANGED_PROPERTY): New property.
3790         (add): changed to use createActionComponent.
3791         (createActionComponent): Implemented.   
3792         (setLabel): Fire PropertyChangeEvent if label property
3793         changes.
3794         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3795         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3796         (ContainerHandler): Repaint if margin property has changed.
3797         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3798         (installUI): Call installComponents().
3799         (uninstallUI): Call uinstallComponents().
3800         * javax/swing/plaf/basic/BasicMenuUI.java:
3801         Fixed javadocs.
3802         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3803         Likewise.
3804
3805 2004-07-21  Kim Ho  <kho@redhat.com>
3806
3807         * javax/swing/plaf/basic/BasicToolBarUI.java:
3808         (DragWindow): Use the right constructor.
3809
3810 2004-07-21  Kim Ho  <kho@redhat.com>
3811
3812         * javax/swing/JToolBar.java:
3813         (layoutContainer): Use getComponents.
3814         * javax/swing/plaf/basic/BasicToolBarUI.java:
3815         (DragWindow): Don't use SwingUtilities' 
3816         getOwnerFrame
3817         (ToolBarDialog): ditto.
3818
3819 2004-07-21  Kim Ho  <kho@redhat.com>
3820
3821         * javax/swing/JRootPane.java:
3822         Ran jalopy.
3823         (layoutContainer): Set the glasspane's size to 
3824         be the same as the content pane.
3825         (createGlassPane): Set opaque property to false.
3826
3827 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3828
3829         * java/awt/Component.java (requestFocus()): Don't handle Panels
3830         specially.
3831         (requestFocus(boolean)): Likewise.
3832         (requestFocusInWindow(boolean)): Likewise.
3833         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3834         Set GTK_CAN_FOCUS flag.
3835
3836 2004-07-21  Kim Ho  <kho@redhat.com>
3837
3838         * Makefile.am: Added new file.
3839         * Makefile.in: Regenerated.
3840         * gcj/Makefile.in: Regenerated.
3841         * include/Makefile.in: Regenerated.
3842         * javax/swing/AbstractButton.java:
3843         Add rollOverEnabled property.
3844         (setRolloverEnabled): Use new property.
3845         (isRolloverEnabled): Use new property.
3846         * javax/swing/JTabbedPane.java:
3847         (setComponent): Remove useless JTabbedPane.this.
3848         * javax/swing/JToolBar.java: Finish implementation.
3849         * javax/swing/plaf/basic/BasicArrowButton.java:
3850         (paint): Moved border painting to a border.
3851         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3852         Change JToolBar look and feel defaults.
3853         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3854         (actionPerformed): Return Integer index instead of name.
3855         (addButtonComponents): Check to see if component is
3856         JButton last.
3857         (createMessageArea): Don't use components that are not
3858         completed yet.
3859         (getIconForType): Use temporary icons.
3860         * javax/swing/plaf/basic/BasicSliderUI.java:
3861         (mousePressed): Do not return if it's on thumb.
3862         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3863         (paintMinorTickForVertSlider): ditto.
3864         (paintMajorTickForHorizSlider): ditto.
3865         (paintMajorTickForVertSlider): ditto.
3866         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3867         Add a border around the SplitPaneDivider.
3868         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3869         Remove comments.
3870         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3871         New file. Implemented.
3872         * javax/swing/plaf/basic/BasicToolBarUI.java:
3873         Implemented.
3874         * testsuite/Makefile.in: Regenerated.
3875
3876 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3877
3878         * javax/swing/Timer.java (run): Queue events each time cycle.
3879
3880 2004-07-21  David Jee  <djee@redhat.com>
3881
3882         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3883         (imageComplete): Call image.imageComplete().
3884         * java/awt/image/MemoryImageSource.java:
3885         Reimplement consumers as a Vector instead of a Hashtable.  This is
3886         because enumeration on a Hashtable is not thread-safe.
3887         (addConsumer): Adapt to Vector consumers.
3888         (isConsumer): Adapt to Vector consumers.
3889         (removeConsumer): Adapt to Vector consumers.
3890         (startProduction): Adapt to Vector consumers. Call imageComplete()
3891         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3892         (newPixels): Adapt to Vector consumers.
3893         (sendPicture): Set the color model of the image consumer.
3894         (newPixels(IIII)): Adapt to Vector consumers.
3895         (newPixels(IIIIB)): Adapt to Vector consumers.
3896
3897 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3898
3899         * java/awt/Component.java (deliverEvent): Implement.
3900         (postEvent): Implement.
3901         (handleEvent): Implement.
3902         (translateEvent): New method.
3903         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3904         * java/awt/Container.java (deliverEvent): Implement.
3905         * java/awt/Event.java (paramString): Fix formatting.
3906         * java/awt/Font.java (toString): Likewise.
3907         * java/awt/Window.java (postEvent): Implement.
3908
3909 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3910
3911         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3912         Set window's focus owner upon receiving a FOCUS_LOST event.
3913         * java/awt/Window.java (Window()): Refocus the previously
3914         focused component within the window when the window regains the
3915         top-level focus.
3916         (setFocusOwner): New method.
3917         * java/awt/Component.java (requestFocus): Add FIXME.
3918
3919         * libgcj.pc.in: Remove library flags.
3920
3921 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3922
3923         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3924         MOUSE_PRESSED event.
3925         * java/awt/Component.java (requestFocus()): Handle Panel
3926         specially.  Post FOCUS_LOST event on opposite component.
3927         (requestFocus(boolean)): Likewise.
3928         (requestFocusInWindow(boolean)): Likewise.
3929         (paramString): Reorder dimension fields.
3930         * java/awt/Container.java (paramString): Fix string format.
3931         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3932         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3933         process key events if the focus owner is non-null.
3934         (dispatchKeyEvent): Likewise.
3935         * java/awt/Frame.java (paramString): Fix formatting.
3936         (generateName): New method.
3937         (getUniqueLong): Likewise.
3938         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3939         the temporary focus owner is null.  If so, return the permanent
3940         focus owner.
3941         * java/awt/Panel.java (generateName): New method.
3942         (getUniqueLong): Likewise.
3943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3944         signal handling to make callbacks more specific.
3945
3946 2004-07-21  Michael Koch  <konqueror@gmx.de>
3947
3948         * javax/swing/text/Position.java
3949         (Bias): Implemented.
3950
3951 2004-07-21  Michael Koch  <konqueror@gmx.de>
3952
3953         * javax/swing/LookAndFeel.java
3954         (provideErrorFeedback): New method.
3955
3956 2004-07-21  Michael Koch  <konqueror@gmx.de>
3957
3958         * javax/swing/JTextArea.java
3959         (tabSize): New field.
3960         (getTabSize): New method.
3961         (setTabSize): Likewise.
3962
3963 2004-07-21  Michael Koch  <konqueror@gmx.de>
3964
3965         * javax/swing/ActionMap.java:
3966         Fixed javadocs all over.
3967         (serialVersionUID): Made private.
3968         (parent): Don't explicitely initialize with default value.
3969         (get): SImplified.
3970         (keys): Reimplemented.
3971         (allKeys): Likewise.
3972         (convertSet): Removed.
3973         * javax/swing/ComponentInputMap.java:
3974         Fixed javadocs all over.
3975         (ComponentInputMap): Implemented.
3976         (put): Likewise.
3977         (clear): Likewise.
3978         (remove): Likewise.
3979         (SetParent): Likewise.
3980         (getComponent): Likewise.
3981         * javax/swing/InputMap.java:
3982         Fixed javadocs all over.
3983         (serialVersionUID): Made private.
3984         (parent): Don't explicitely initialize with default value.
3985         (get): SImplified.
3986         (keys): Reimplemented.
3987         (allKeys): Likewise.
3988         (convertSet): Removed.
3989
3990 2004-07-21  Michael Koch  <konqueror@gmx.de>
3991
3992         * javax/swing/ActionMap.java,
3993         javax/swing/ComponentInputMap.java,
3994         javax/swing/InputMap.java,
3995         javax/swing/table/DefaultTableColumnModel.java,
3996         javax/swing/table/TableColumn.java,
3997         javax/swing/table/TableColumnModel.java,
3998         javax/swing/table/TableModel.java,
3999         javax/swing/text/AbstractDocument.java,
4000         javax/swing/text/TextAction.java:
4001         Reformated.
4002
4003 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4004
4005         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
4006         Make method non-static.
4007         * javax/swing/AbstractButton.java:
4008         Rename fields to match property names where possible.
4009         (iconTextGap): New property.
4010         * javax/swing/JCheckBox.java: Match AbstractButton changes.
4011         (init) New method, call from after various constructors.
4012         * javax/swing/JComponent.java (revalidate): 
4013         Invalidate before queueing repair.
4014         * javax/swing/JList.java (getPreferredScrollableViewportSize):
4015         Reimplement in terms of visibleRowCount property.
4016         * javax/swing/JMenuButton.java: Match AbstractButton changes.
4017         * javax/swing/JScrollPane.java (createScrollListener): 
4018         Remove tracing chatter.
4019         * javax/swing/JToggleButton.java: Match AbstractButton changes.
4020         * javax/swing/RepaintManager.java (addInvalidComponent): 
4021         Don't invalidate.
4022         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4023         calculations.
4024         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4025         Mimic sun behavior on top left/right positioning.
4026         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4027         Remove mistaken use of preferredScrollableViewportSize here.
4028         (layoutContainer): Use view's preferred size as basis.
4029         * javax/swing/plaf/basic/BasicButtonUI.java:
4030         Set, get, and use textIconGap property.
4031         (paint) Paint text returned from layout (with ellipsis).
4032         * javax/swing/plaf/basic/BasicListUI.java:
4033         Remove tracing chatter, correct various minor calculations.
4034         (getCellBounds): Update layout state before calculating.
4035         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4036         Use margin default similar to sun's.    
4037         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4038         (createIncreaseIcon): Center icon, minimize margins.
4039         (createDecreaseIcon): Likewise.
4040         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4041         Implement.
4042         (installUI): Call it.
4043         (uninstallDefaults): Implement.
4044         (uninstallUI): Call it.
4045         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4046         Call existing Window constructor.
4047         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4048         Set clip before painting.
4049
4050 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4051         
4052         * javax/swing/JMenuItem.java:
4053         (processMouseEvent): Reimplemented to deal with
4054         mouse drag events.
4055         (createMenuDragMouseEvent): New private helper method.
4056         Creates MenuDragMouseEvent.
4057         * javax/swing/MenuSelectionManager.java
4058         (componentForPoint): Implemented.
4059         (isComponentPartOfCurrentMenu): Made public.
4060         (processMouseEvent): Reimplemented to deal with 
4061         mouse drag events.
4062         (setSelectedPath): Corrected small mistake that caused
4063         path to be set incorrectly.
4064         (getPath): If given component is JMenu then also add this
4065         menu's popup menu to the selected path.
4066         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4067         (getPath): Ditto.
4068         (getPreferredSize): Call getPreferredMenuItemSize().
4069         (getPreferredItemSize): Moved code from getPreferredSize to here.
4070         (installListeners): Install MouseMotionListeners.
4071         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4072         if mouse wasn't released in the bounds of this menu item.
4073         (MenuDragMouseHandler): Implemented.
4074         * javax/swing/plaf/basic/BasicMenuUI.java:
4075         (installListeners): Install MouseMotionListener and 
4076         MenuDrageMouseListener.
4077         (MenuDragMouseHandler): Implemented.
4078         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4079         (uninstallListeners): Implemented.
4080         
4081 2004-07-21  Michael Koch  <konqueror@gmx.de>
4082
4083         * javax/swing/JCheckBox.java: Reformated.
4084         (JCheckBox): Fixed all constructors.
4085         (isBorderPaintedFlat): New method.
4086         (setBorderPaintedFlat): New method.
4087         * javax/swing/JEditorPane.java
4088         (createEditorKitForContentType): Made public.
4089         (scrollToReference): Likewise.
4090         * javax/swing/JTextArea.java
4091         (setLineWrap): Fire property change.
4092         * javax/swing/JToggleButton.java
4093         (JToggleButton): New constructor.
4094         (JToggleButton): Simplified.
4095         * javax/swing/text/AttributeSet.java
4096         (FontAttribute): Renamed from FontCharacterAttribute.
4097         * javax/swing/text/JTextComponent.java
4098         (KeyBinBinding): Added javadoc.
4099         (JTextComponent): Likewise.
4100         (getAccessibleContext): Fixed javadoc.
4101         * javax/swing/text/View.java
4102         (View): Added javadoc.
4103         * javax/swing/text/TabableView.java: New file.
4104         * Makefile.am: Added javax/swing/text/TabableView.java.
4105         * Makefile.in: Regenerated.
4106
4107 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4108
4109         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4110         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4111         (GtkErrorImage): New helper class.
4112         (bufferedImageOrError): New helper method.
4113         (createImage): Use it.
4114
4115 2004-07-21  David Jee  <djee@redhat.com>
4116
4117         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4118         (setCaretPosition): Scroll the text view so the new caret position
4119         is visible on screen.
4120
4121 2004-07-21  David Jee  <djee@redhat.com>
4122
4123         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4124         (setBounds): Do not validate awtComponent here.
4125         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4126         (getPreferredSize): New method.
4127         * java/awt/ScrollPane.java
4128         (ScrollPane): Set default size to 100x100.
4129         (addNotify): If child is not a Panel, wrap it with a new Panel.
4130         (paramString): Implement.
4131
4132 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4133
4134         * javax/swing/JMenu.java:
4135         (setSelected): Display popup menu only if this menu 
4136         is showing on the screen.
4137         * javax/swing/JPopupMenu.java:
4138         (processMouseEvent): Added comment.
4139         (processKeyEvent): Likewise.
4140         * javax/swing/MenuSelectionManager.java:
4141         (clearSelectedPath): Only fireStateChanged() after
4142         selected path was changed, not before.
4143         (setSelectedPath): Likewise.
4144         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4145         (paintMenuItem): Corrected position of menu item's
4146         icon.
4147         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4148         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4149         (popupMenuCanceled): Reimplemented.
4150         (popupMenuWillBecomeVisible): Select first menu item by default 
4151         when displaying free floating popup menus.
4152         (TopWindowListener): Reimplemented.
4153
4154 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4155
4156         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4157         Panel from being painted twice when it is first shown.
4158
4159 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4160
4161         * java/awt/Window.java: Reverted changes from my 
4162         previous patch for creating window without an owner.
4163         * javax/swing/SwingUtilities.java: 
4164         (SwingUtilities.OwnerFrame): made static.
4165         (OwnerFrame.setVisible): New method. Overridden with
4166         empty implementation.
4167         (OwnerFrame.isShowing): New method. Ovverridden
4168         to return always true.
4169
4170 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4171
4172         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4173         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4174         (GtkComponentPeer): Remove temporary try/catch block.
4175         (setVisible): Call show and hide.
4176         (show): Make native.
4177         (hide): Likewise.
4178         (getArgs): Don't add "visible" argument.
4179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4180         (property_notify_predicate): Return Bool instead of int.
4181         (find_layout): New function.
4182         (connectJObject): Call find_layout.
4183         (connectSignals): Likewise.
4184         (moveLayout): Likewise.
4185         (gtkLayoutSetVisible): Likewise.
4186
4187 2004-07-21  Mark Wielaard  <mark@klomp.org>
4188
4189         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4190         on notifier object before calling notifyAll().
4191
4192 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4193
4194         * java/awt/Window.java: Changed constructors to use new
4195         method that is described below. Constructors call this
4196         methods only if newly created window should have an owner.
4197         (setWindowOwner): New method. Implementation for
4198         this method is moved from this(owner,configuration).
4199         * javax/swing/JWindow.java:
4200         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4201         instead of owner.
4202         * javax/swing/SwingUtilities.java:
4203         (ownerFrame): Change type of this field to OwnerFrame.
4204         (getOwnerFrame): Changed to return object of type OwnerFrame.
4205         (SwingUtilities.OwnerFrame): New class. Represents owner
4206         of a Window that is not provided with one.
4207
4208 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4209
4210         *  javax/swing/AbstractButton.java: 
4211         (configurePropertiesFromAction): Set action command
4212         to button's text by default if action command is not 
4213         explicitely specified.
4214         * javax/swing/JMenu.java: Remove unnecessary listener
4215         and methods relevant to it.
4216         (setSelected): Reimplemented.
4217         (menuSelectionChanged): Moved most part of implementation to
4218         setSelected() and call it instead.
4219         * javax/swing/JMenuItem.java: 
4220         (init): Comment out statement that sets paint_border to false.
4221         (configurePropertiesFromAction): Do not set accelerator
4222         for JMenu.
4223         (menuSelectionChanged): Change selected index in the selection
4224         model of menu item's parent.
4225         * javax/swing/JPopupMenu.java:
4226         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4227         instead of GridBagConstraints.HORIZONTAL.
4228         (insert): Likewise.
4229         (createActionChangeListener): Implemented.
4230         (setVisible): Correct location of HeavyWeightMenu and 
4231         don't firePopupMenuCanceled().
4232         (menuSelectionChanged): Implemented.
4233         (ActionChangeListener): New Listener. Implemented.
4234         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4235         (BasicMenuBarUI.ContainerHandler): Implemented.
4236         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4237         (paintMenuItem): Uncommented out code that paints 
4238         icon, now that icons are working properly.
4239         (PropertyChangeListener): Implemented.
4240         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4241         Added javadocs.
4242         (topWindowListener): New field.
4243         (Constructor): initialize topWindowListener.
4244         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4245         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4246         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4247         Implemented.
4248
4249 2004-07-21  Michael Koch  <konqueror@gmx.de>
4250
4251         * javax/swing/plaf/basic/BasicButtonUI.java
4252         (paintFocus): Fixed method signature.
4253         (paintButtonPressed): Likewise.
4254         (paintButtonNormal): Likewise.
4255         (paintText): New method.
4256         * javax/swing/plaf/basic/BasicLabelUI.java
4257         (paint): Re-indented.
4258         * javax/swing/plaf/basic/BasicTextUI.java
4259         (installUI): Set parent textComponent to opaque.
4260         * javax/swing/text/DefaultHighlighter.java
4261         (checkPositions): New helper method.
4262         (addHighlight): Throws BadLocationException, check positions.
4263         (changeHighlight): Likewise.
4264         * javax/swing/text/EditorKit.java
4265         (EditorKit): Implements Serializable.
4266         * javax/swing/text/JTextComponent.java
4267         (getUI): Added javadoc.
4268         (setUI): Likewise.
4269         (upadteUI): Added javadoc, don't revalidate and repaint.
4270
4271 2004-07-21  David Jee  <djee@redhat.com>
4272
4273         * java/awt/GridBagLayout.java
4274         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4275         * javax/swing/AbstractButton.java
4276         (setText): Reindent.
4277         * javax/swing/RepaintManager.java
4278         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4279
4280 2004-07-21  Michael Koch  <konqueror@gmx.de>
4281
4282         * javax/swing/JFormattedTextField.java
4283         (value): New field.
4284         (JFormattedTextField): Implemented.
4285         (getValue): Likewise.
4286         (setValue): Likewise.
4287         * javax/swing/LookAndFeel.java
4288         (getSupportsWindowDecorations): New method.
4289         * javax/swing/UIDefaults.java:
4290         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4291         (addPropertyChangeListener): Made public.
4292         (addResourceBundle): Likewise.
4293         (removeResourceBundle): Likewise.
4294         (setDefaultLocale): Likewise.
4295         * javax/swing/plaf/basic/BasicRootPaneUI.java
4296         (BasicRootPaneUI): Implements PropertyChangeListener.
4297         (propertyChange): New method.
4298         * javax/swing/plaf/basic/BasicTextUI.java
4299         (BasicHighlighter): New inner class.
4300         (createHighlighter): New method.
4301         * javax/swing/plaf/basic/BasicToolBarUI.java
4302         (DragWindow): Extends java.awt.Window.
4303         * javax/swing/text/JTextComponent.java
4304         (getDocument): Removed debug output.
4305         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4306         javax/swing/text/DefaultHighlighter.java,
4307         javax/swing/text/FieldView.java,
4308         javax/swing/text/PlainView.java: New files.
4309         * Makefile.am: Added new files.
4310         * Makefile.in: Regenerated.
4311
4312 2004-07-21  Michael Koch  <konqueror@gmx.de>
4313
4314         * javax/swing/JEditorPane.java
4315         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4316         (createEditorKitForContentType): Likewise.
4317         * javax/swing/text/DefaultEditorKit.java
4318         (serialVersionUID): Added constant field.
4319         (EndOfLineStringPropery): Fixed typo.
4320         (DefaultEditorKit): New constructor.
4321         * javax/swing/text/Segment.java:
4322         Import java.text.CharacterIterator.
4323         * javax/swing/text/CharacterIterator.java,
4324         javax/swing/text/PlainEditorKit.java: Removed.
4325         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4326         javax/swing/text/PlainEditorKit.java.
4327         * Makefile.in: Regenerated.
4328
4329 2004-07-21  Michael Koch  <konqueror@gmx.de>
4330
4331         * javax/swing/JButton.java,
4332         javax/swing/text/DefaultEditorKit.java,
4333         javax/swing/text/EditorKit.java,
4334         javax/swing/text/Segment.java,
4335         javax/swing/text/StyledEditorKit.java:
4336         Reformatted.
4337
4338 2004-07-21  Michael Koch  <konqueror@gmx.de>
4339
4340         * javax/swing/ImageIcon.java
4341         (file): Removed.
4342         (description): Renamed from descr.
4343         (ImageIcon): Added missing constructors.
4344         (setParent): Removed.
4345         (setImageObserver): New method.
4346         (getImageObserver): New method.
4347         (paintIcon): Handle observer = null.
4348         * javax/swing/JButton.java
4349         (removeNotify): Fixed javadoc.
4350         (updateUI): Simplified.
4351         * javax/swing/JRootPane.java
4352         (serialVersionUID): New constant field.
4353         * javax/swing/UIManager.java:
4354         Fixed javadocs all over.
4355         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4356         * javax/swing/text/AbstractDocument.java
4357         (createPosition): Throws BadLocationException.
4358         (getText): Likewise.
4359         (remove): Likewise.
4360         * javax/swing/text/ComponentView.java
4361         (modelToView): Likewise.
4362         * javax/swing/text/DefaultEditorKit.java:
4363         Made all public methods public.
4364         (read): Throws BadLocationException and IOException.
4365         (write): Likewise.
4366         * javax/swing/text/EditorKit.java:
4367         Made all public methods public.
4368         (serialVersionUID): New constant field.
4369         (clone): New method.
4370         (read): Throws BadLocationException and IOException.
4371         (write): Likewise.
4372         * javax/swing/text/Segment.java
4373         (array): Made public.
4374         (count): Likewise.
4375         (offset): Likewise.
4376         (Segment): New constructors.
4377         (clone): Reimplemented.
4378         * javax/swing/text/StyledEditorKit.java
4379         (serialVersionUID): New constant field.
4380
4381 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4382
4383         * java/awt/image/BufferedImage.java 
4384         (getSource): Implement.
4385         * javax/swing/ImageIcon.java 
4386         (ImageIcon): Implement ctor.
4387         * javax/swing/ScrollPaneLayout.java 
4388         (preferredLayoutSize): Be more careful about nulls.
4389
4390 2004-07-21  Michael Koch  <konqueror@gmx.de>
4391
4392         * javax/swing/text/AttributeSet.java
4393         (CharacterAttribute): New interface
4394         (ColorAttribute): Likewise.
4395         (FontCharacterAttribute): Likewise.
4396         (ParagraphAttribute): Likewise.
4397         * javax/swing/text/DefaultCaret.java
4398         (moveCaret): New method.
4399         (positionCaret): Likewise.
4400         (repaint): Made protected.
4401         * javax/swing/text/JTextComponent.java
4402         (KeyBinding): Made it static.
4403         * javax/swing/text/View.java
4404         (getContainer): Honor parent == null.
4405
4406 2004-07-21  Michael Koch  <konqueror@gmx.de>
4407
4408         * javax/swing/text/AbstractDocument.java:
4409         Reformatted.
4410
4411 2004-07-21  Michael Koch  <konqueror@gmx.de>
4412
4413         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4414         Import javax.swing.UIManager explicitely.
4415         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4416         (ScrollingButton): Made it static.
4417
4418 2004-07-21  Michael Koch  <konqueror@gmx.de>
4419
4420         * javax/swing/UIDefaults.java
4421         (ActiveValue): Made public.
4422         (LazyValue): Likewise.
4423         * javax/swing/plaf/basic/BasicTextUI.java
4424         (RootView): Reintroduced.
4425         (view): Removed.
4426         (rootView): New field.
4427         (installUI): Create document if needed, initialize rootView.
4428         (uninstallUI): Hanle rootView.
4429         (paint): Likewise.
4430         (getRootView): Likewise.
4431         (setView): Likewise.
4432         * javax/swing/text/DefaultCaret.java:
4433         Renamed all "evt" variables to "event".
4434
4435 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4436
4437         * libgcj.spec.in: Add -l-java-util-logging.
4438
4439 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4440
4441         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4442         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4443         gtk-xft-dpi can no calculate the right value.
4444         (dpi_changed_cb): Mark *pspec as unsused.
4445
4446 2004-07-21  David Jee  <djee@redhat.com>
4447
4448         * java/awt/Component.java
4449         (move): Delegate to setBounds().
4450         (resize): Likewise.
4451         (reshape): Fix so it repaints parent and self only when necessary.
4452
4453 2004-07-21  David Jee  <djee@redhat.com>
4454
4455         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4456         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4457         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4458         (setVisible): Likewise.
4459         (show): Likewise.
4460         (hide): Likewise.
4461         (getArgs): Likewise.
4462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4463         (property_notify_predicate): Likewise.
4464         (find_layout): Likewise.
4465         (connectJObject): Likewise.
4466         (connectSignals): Likewise.
4467         (moveLayout): Likewise.
4468         (gtkLayoutSetVisible): Likewise.
4469
4470 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4471
4472         * Makefile.am
4473         (jv_convert_LDADD):
4474         (gij_LDADD):
4475         (rmic_LDADD):
4476         (rmiregistry_LDADD): Add lib-java-util-logging.la
4477         * Makefile.in: Regenerate.
4478
4479 2004-07-21  Michael Koch  <konqueror@gmx.de>
4480
4481         * javax/swing/text/AbstractDocument.java
4482         (replace): Dont use protected method of java.util.Vector directly.
4483
4484 2004-07-21  Michael Koch  <konqueror@gmx.de>
4485
4486         * javax/swing/plaf/basic/BasicTextUI.java
4487         (installUI): Call specialized install methods.
4488         (installDefaults): New method.
4489         (installListeners): Likewise.
4490         (installKeyboardActions): Likewise.
4491         (uninstallUI): Likewise.
4492         (uninstallDefaults): New method.
4493         (uninstallListeners): Likewise.
4494         (uninstallKeyboardActions): Likewise.
4495         (getPropertyPrefix): New abstract method.
4496         (paint): Made final, just call paintSafely().
4497         (paintSavely): New method.
4498         (paintBackground): Likewise.
4499         (getVisibleEditorRect): Likewise.
4500         * javax/swing/text/LayeredHighlighter.java,
4501         javax/swing/text/TabExpander.java: New files.
4502         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4503         and javax/swing/text/TabExpander.java.
4504         * Makefile.in: Regenerated.
4505
4506 2004-07-21  Michael Koch  <konqueror@gmx.de>
4507
4508         * javax/swing/plaf/basic/BasicTextUI.java
4509         (BasicTextUI): Made abstract.
4510         (BasicCaret): New inner class.
4511         (view): Don't explicitely initialize with "null".
4512         (textComponent): New field.
4513         (textColor): Removed.
4514         (disabledTextColor): Removed.
4515         (normalBackgroundColor): Removed.
4516         (RootView): Removed commented out inner class.
4517         (createUI): Removed.
4518         (createCaret): New method.
4519         (getComponent): Likewise.
4520         (installUI): Initialize textComponent only.
4521         (getPreferredSize): Use installed JTextComponent.
4522         (setView): New method.
4523         (create): Likewise.
4524         * javax/swing/text/JTextComponent.java
4525         (highlighter): New field.
4526         (caretColor): Likewise.
4527         (disabledTextColor): Likewise.
4528         (seletedTextColor): Likewise.
4529         (selectionColor): Likewise.
4530         (setUI): New method.
4531         (getCaretColor): Likewise.
4532         (setCaretColor): Likewise.
4533         (getDisabledColor): Likewise.
4534         (setDisabledColor): Likewise.
4535         (getSelectedTextColor): Likewise.
4536         (setSelectedTextColor): Likewise.
4537         (getSelectionColor): Likewise.
4538         (setSelectionColor): Likewise.
4539         (getHighlighter): Likewise.
4540         (setHighlighter): Likewise.
4541         (replaceSelection): Likewise.
4542
4543 2004-07-21  Michael Koch  <konqueror@gmx.de>
4544
4545         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4546         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4547         * javax/swing/plaf/basic/BasicToolBarUI.java
4548         (BasicToolBarUI): Implements SwingConstants.
4549
4550 2004-07-21  Michael Koch  <konqueror@gmx.de>
4551
4552         * javax/swing/JPopupMenu.java: Removed CVS tags.
4553         * javax/swing/UIDefaults.java: Reformatted.
4554         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4555         Explicitely import used classes.
4556
4557 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4558
4559         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4560         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4561         (GtkComponentPeer): Remove temporary try/catch block.
4562         (setVisible): Call show and hide.
4563         (show): Make native.
4564         (hide): Likewise.
4565         (getArgs): Don't add "visible" argument.
4566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4567         (property_notify_predicate): Return Bool instead of int.
4568         (find_layout): New function.
4569         (connectJObject): Call find_layout.
4570         (connectSignals): Likewise.
4571         (moveLayout): Likewise.
4572         (gtkLayoutSetVisible): Likewise.
4573
4574 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4575
4576         * javax/swing/AbstractButton.java:
4577         (setDisplayedMnemonicIndex): Check if button
4578         text is not null before checking its length.
4579         * javax/swing/JMenuItem.java:
4580         (processMouseEvent): Disarm menu item if mouse has
4581         exited it.
4582         * javax/swing/plaf/basic/BasicMenuUI.java:
4583         (MouseInputHandler.mouseEntered): Do not raise
4584         popup menu if this menu is already selected.
4585         (MouseInputHandler.mousePressed): Do not fire 
4586         MenuEvents.
4587         (MenuHandler): Implemented.     
4588
4589 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4590
4591         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4592         (getSelectedObjects): Implemented.
4593         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4594         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4595         Added javadoc for few methods.
4596         (processMouseEvent): Made public.
4597         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4598         (processMouseEvent): Likewise.
4599
4600 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4601
4602         * javax/swing/AbstractButton.java:
4603         (init): Set display mnemonic index to -1.
4604         (setMnemonic(char)): Use setMnemonic(int).
4605         (setMnemonic(int)): Set display mnemonic index.
4606         (getDisplayedMnemonicIndex): Change method signature
4607         by removing 'index' parameter.
4608         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4609         Added default for Menu.selectionBackground.     
4610         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4611         (paintMenuItem): Change background color of the selected
4612         menu item.
4613         (paintText): Paint differently when menu item is disabled.
4614         Also paint mnemonic if it appears in the menu item's label.
4615         (paintAccelerator): Paint accelerator differently
4616         if menu item is disabled.
4617         * javax/swing/plaf/basic/BasicMenuUI.java:
4618         (installDefaults): Install defaults for 
4619         selectionForeground and selectionBackground.
4620         (uninstallDefaults): Uninstall defauls for 
4621         selectionForeground and selectionBackground.
4622
4623 2004-07-21  Michael Koch  <konqueror@gmx.de>
4624
4625         * javax/swing/text/AbstractDocument.java
4626         (BranchElement): Implemented.
4627         (LeafElement): Implemented.
4628         * javax/swing/text/DefaultCaret.java:
4629         Import used classes.
4630         (serialVersionUID): New constant.
4631         * javax/swing/text/JTextComponent.java
4632         (AccessibleJTextComponent): Removed dead declaration.
4633         (caretPos): Removed.
4634         (setCaret): New method.
4635         * javax/swing/text/PlainDocument.java
4636         (rootElement): New field.
4637         (PlainDocument): Initialize rootElement.
4638         (createDefaultRoot): New method.
4639         (getDefaultRootElement): Implemented.
4640         * javax/swing/text/View.java: Reformatted.
4641         * javax/swing/text/ViewFactory.java
4642         (create): Added javadoc.
4643
4644 2004-07-21  Michael Koch  <konqueror@gmx.de>
4645
4646         * javax/swing/ToolTipManager.java: Reformatted.
4647
4648 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4649
4650         * javax/swing/AbstractButton.java
4651         (changeEvent): New field.
4652         (fireItemStateChanged): Change source of the event
4653         to 'this' before firing it to button listeners.
4654         (fireActionPerformed): Likewise.
4655         (fireStateChanged): Likewise.
4656         (createActionListener): Do not set source 
4657         of the event to AbstractButton.                                  
4658         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4659         (ContainerHandler.componentAdded): Removed 
4660         print out statement.
4661         (ContainerHandler.componentRemoved): Likewise.
4662
4663 2004-07-21  Michael Koch  <konqueror@gmx.de>
4664
4665         * javax/swing/text/Highlighter.java: New file.
4666         * Makefile.am: Added javax/swing/text/Highlighter.java.
4667         * Makefile.in: Regenerated.
4668
4669 2004-07-21  Michael Koch  <konqueror@gmx.de>
4670
4671         * javax/swing/ToolTipManager.java
4672         (stillInsideTimerAction): Fixed constructor arguments.
4673         (outsideTimerAction): Likewise.
4674         (insideTimerAction): Likewise.
4675
4676 2004-07-21  Michael Koch  <konqueror@gmx.de>
4677
4678         * javax/swing/JButton.java: Reformatted.
4679         * javax/swing/JFormattedTextField.java
4680         (getUIClassID): Implemented.
4681         * javax/swing/JRootPane.java
4682         (serialVersionUID): New constant.
4683         * javax/swing/JTextField.java
4684         (align): New field.
4685         (JTextField): Simplified.
4686         (getUIClassID): New method.
4687         (getActionListeners): Added @since tag.
4688         (setColumns): Invalidate layout and repaint.
4689         (getHorizontalAlignment): New method.
4690         (setHorizontalAlignment): New method.
4691         (selectAll): Removed.
4692         * javax/swing/SwingUtilities.java
4693         (getAncestorOfClass): Removed redundant @see tag.
4694         (isLeftMouseButton): Fixed implementation.
4695         (isMiddleMouseButton): Likewise.
4696         (isRightMouseButton): Likewise.
4697         * javax/swing/text/AbstractDocument.java
4698         (AttributeContext.addAttribute): New method.
4699         (AttributeContext.addAttributes): New method.
4700         (AttributeContext.getEmptySet): New method.
4701         (AttributeContext.reclaim): New method.
4702         (AttributeContext.removeAttribute): New method.
4703         (AttributeContext.removeAttributes): New method.
4704         * javax/swing/text/Document.java
4705         (createPosition): Throws BadLocationException.
4706         (getText): Likewise.
4707         (remove): Likewise.
4708         * javax/swing/text/JTextComponent.java
4709         (getText): Return null if no document is set. Catch
4710         BadLocationException.
4711         (getUI): Return ui.
4712         (updateUI): Simplified.
4713
4714 2004-07-21  Michael Koch  <konqueror@gmx.de>
4715
4716         * javax/swing/JButton.java
4717         (removeNotify): Fixed javadoc.
4718         (updateUI): Simplified.
4719
4720 2004-07-21  David Jee  <djee@redhat.com>
4721
4722         * gnu/java/awt/image/ImageDecoder.java
4723         (startProduction): Only add consumer if it's not added yet.
4724         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4725         (GdkPixbufDecoder): Don't call initState() here.
4726         (produce): Call initState() here, to ensure area_prepared and
4727         area_updated signals are properly connected.
4728         * gnu/java/awt/peer/gtk/GtkImage.java
4729         (setColorModel): Use equals() to compare ColorModel objects.
4730         (setPixels): Likewise.
4731         * java/awt/image/ColorModel.java
4732         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4733         * java/awt/image/RGBImageFilter.java
4734         (setColorModel): Set consumer's color model.
4735         (setPixels): Use equals() to compare ColorModel objects.
4736
4737 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4738
4739         * java/net/URLConnection.java (position): New field.
4740         (dateFormat1, dateFormat2, dateFormat3): Removed.
4741         (dateFormats): New field.
4742         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4743         each time instead of re-allocating.
4744         (initializeDateFormats): Initialize 'dateFormats'.
4745
4746 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4747
4748         PR libgcj/16591
4749         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4750         is defined.
4751
4752 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4753
4754         * java/net/Socket.java (getImpl): Now private. Remove comment.
4755
4756 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4757
4758         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4759         of chained Writer when calling super-constructor.
4760         * java/io/FilterWriter.java (FilterWriter): Likewise.
4761         * java/io/PrintWriter.java (PrintWriter): Likewise.
4762
4763 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4764
4765         * prims.cc (process_gcj_properties): Don't increment i within LHS
4766         of assignment.
4767
4768 2004-07-19  Per Bothner  <per@bothner.com>
4769
4770         Print -verbose:message on "loading", not initialization.
4771         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4772         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4773         gcj::verbose_class_flag.
4774         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4775         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4776         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4777         (_Jv_PrepareCompiledClass):  Likewise.
4778
4779 2004-07-18  Matthias Klose  <doko@debian.org>
4780
4781         * configure.in: Substitute target_noncanonical.
4782         * configure: Regenerate
4783
4784 2004-07-17  Michael Koch  <konqueror@gmx.de>
4785
4786         * java/lang/String.java: Fixed javadocs all over.
4787
4788 2004-07-17  Mark Wielaard  <mark@klomp.org>
4789
4790         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4791         when size is smaller.
4792         * java/io/RandomAccessFile.java (setLength): Use truncate for
4793         shrinking the file and seek plus write for expanding the file.
4794
4795 2004-07-17  Michael Koch  <konqueror@gmx.de>
4796
4797         * gnu/java/nio/channels/natFileChannelPosix.cc
4798         (implTruncate): Always save current position. Only reposition file
4799         pointer to where we started if not beyond new lenght. Reposition file
4800         pointer to file length if it points beyond the end of file.
4801
4802 2004-07-17  Mark Wielaard  <mark@klomp.org>
4803
4804         * javax/swing/Box.java: Put FIXME comment above class declaration.
4805         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4806         * javax/swing/JCheckBox.java: Likewise.
4807         * javax/swing/JDialog.java: Likewise.
4808         * javax/swing/JRadioButton.java: Likewise.
4809         * javax/swing/JToggleButton.java: Likewise.
4810         * javax/swing/UIManager.java: Likewise.
4811         * javax/swing/border/TitledBorder.java: Likewise.
4812         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4813         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4814         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4815         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4816         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4817         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4818         * javax/swing/text/JTextComponent.java: Likewise.
4819
4820 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4821
4822         * java/net/DatagramPacket.java (setAddress): Removed check for
4823         null address.
4824
4825 2004-07-17  Michael Koch  <konqueror@gmx.de>
4826
4827         * java/net/DatagramSocket.java
4828         (getLocalAddress): Check if socket is bound or not.
4829         * java/net/Socket.java
4830         (getLocalAddrss): Check if socket is bound or not.
4831         (getPort): Return -1 when not connected. Dont check getImpl() for
4832         null.
4833         (setReuseAddress): Check if socket is closed.
4834         (isConnected): Check if getImpl() returns null.
4835
4836 2004-07-17  Mark Wielaard  <mark@klomp.org>
4837
4838         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4839         on notifier object before calling notifyAll().
4840
4841 2004-07-17  Michael Koch  <konqueror@gmx.de>
4842
4843         * gnu/java/nio/channels/FileChannelImpl.java
4844         (finalize): Added javadoc.
4845
4846 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4847
4848         * java/text/CollationElementIterator.java
4849         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4850         (setText): Use ArrayList instead of Vector.
4851
4852 2004-07-17  Michael Koch  <konqueror@gmx.de>
4853
4854         * java/nio/ByteOrder.java
4855         (static): Removed. Not needed.
4856         Thanks to Patrick Reali for noticing.
4857         * java/nio/charset/CharsetDecoder.java
4858         (decode): Fix for classpath bug #9177: Reset state before flipping.
4859
4860 2004-07-17  Michael Koch  <konqueror@gmx.de>
4861
4862         * java/security/Security.java: Fixed javadocs all over.
4863
4864 2004-07-17  Michael Koch  <konqueror@gmx.de>
4865
4866         * gnu/java/awt/EmbeddedWindow.java
4867         (static): Removed.
4868         (addNotify): Set peer via reflection.
4869         (setWindowPeer): Removed.
4870         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4871         * Makefile.am (nat_source_files):
4872         Removed gnu/java/awt/natEmbeddedWindow.cc.
4873         * Makefile.in: Regenerated.
4874
4875 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4876
4877         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4878         assignment.
4879         * configure: Regenerated.
4880
4881 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4882
4883         * configure.in: Use build_noncanonical rather than build_alias.
4884         * configure: Rebuild.
4885
4886         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4887         by logic refactoring.  Move default definition of NATIVE closer
4888         to first alternate definition.
4889         * configure: Regenerate.
4890
4891         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4892         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4893         gcj/Makefile.in: Regenerate.
4894         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4895         in AM_CONDITIONAL(NATIVE,...)
4896         * configure: Regenerate.
4897
4898 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4899
4900         * configure.in: Use target_noncanonical rather than
4901         target_alias for forward-compatibility with autoconf 2.59.
4902         * configure: Regenerate.
4903         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4904         testsuite/Makefile.am: Substitute target_noncanonical.
4905         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4906         testsuite/Makefile.in: Regenerate.
4907
4908         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4909         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4910         * acinclude.m4: Include acx.m4.
4911         * aclocal.m4: Regenerate.
4912         * configure: Regenerate.
4913
4914 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4915
4916         PR libgcj/16574
4917         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4918         (decimalFormat): New static variable.
4919         (sbuf): Likewise.
4920         (getTime): New. Override Date.getTime().
4921         (toString): Synchronize. Use decimalFormat to format nanos value
4922         correctly. Truncate extra zeros.
4923         (before): Compare getNanos() only if getTime() is equal.
4924         (after): Likewise.
4925         
4926 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4927
4928         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4929         * configure.in: ...here.
4930         * aclocal.m4: Regenerate.
4931         * configure: Regenerate.
4932
4933         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4934         * configure: Rebuilt with autoconf 2.13.
4935         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4936         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4937
4938 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4939
4940         PR libgcj/16204
4941         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4942         large file support.
4943         * Makefile.in: Rebuilt.
4944         * testsuite/libjava.lang/LargeFile.java: New test case.
4945         * testsuite/libjava.lang/LargeFile.out: New file.
4946
4947 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4948
4949         * java/beans/EventHandler.java: Remove debugging statements.
4950
4951 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4952
4953         * java/beans/EventHandler.java: New file.
4954         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4955         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4956         testsuite/Makefile.in: Regenerate.
4957
4958 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4959
4960         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4961         flag to the gcj_setup.
4962         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4963         the tclsh.
4964         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4965         deprecation flag change. 58 XFAILS removed.
4966
4967 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4968
4969         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4970         -fno-use-divide-subroutine.
4971         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4972         (HANDLE_FPE): Define.
4973         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4974         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4975         (HANDLE_DIVIDE_OVERFLOW): Define.
4976
4977 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4978             Matthias Klose  <doko@debian.org> 
4979
4980         * java/awt/im/InputContext.java: Initialize in, line.
4981
4982 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4983
4984         * interpret.cc (run): Correctly access libffi return values of
4985         integral smaller-than-int type; these are implicitly promoted.
4986
4987 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4988
4989         PR libgcj/7587
4990         * interpret.cc (compile_mutex): New.
4991         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4992         (run): Lock compile_mutex before calling compile() if compilation is
4993         required.
4994         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4995         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4996
4997 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4998
4999         PR libgcj/15713
5000         * include/jvm.h (_Jv_value): New union type.
5001         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
5002         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
5003         union members.
5004
5005 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
5006
5007         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5008         * gnu/awt/xlib/XOffScreenImage.java
5009           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5010           constructor argument. Add constructor using ImageProducer.
5011           (getSource): Implement.
5012           (imageComplete): New method.
5013           (setColorModel): New method.
5014           (setDimensions): New method.
5015           (setHints): New method.
5016           (setPixels): New method.
5017           (setProperties): New method.
5018         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
5019         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5020
5021 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5022
5023         PR libgcj/16478 
5024         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5025         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5026         (finalizerReady): Now native.
5027         (run): Likewise.
5028         (runFinalizers): Removed.
5029         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5030         a primitive lock, and don't hold it while running the finalizers.
5031         (runFinalizers): Implement. Don't aquire any Java lock.
5032         (finalizerReady): Use lock primitives to signal finalizer thread.
5033
5034 2004-07-11  Mark Wielaard  <mark@klomp.org>
5035
5036         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5037         * java/net/URLStreamHandler.java (parseURL): When url file part
5038         doesn't contain a '/' just ignore context.
5039
5040 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5041
5042         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5043         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5044         (MAKE_THROW_FRAME): Do not modify PSW address.
5045         (INIT_SEGV): Install SIGINFO-style signal handler.
5046         (INIT_FPE): Likewise.
5047
5048 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5049
5050         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5051         status. 21 xfail's removed, 1 added.
5052
5053 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5054
5055         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5056
5057 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5058
5059         * java/text/MessageFormat.java
5060         (formatInternal): Append "{n}" if argument n is unavailable.
5061         (format(Object, StringBuffer, FieldPosition)): This
5062         should be equivalent to format(Object[],
5063         StringBuffer, FieldPosition).
5064
5065 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5066
5067         * java.util.Calendar.java (cache): New private static field. Cached
5068         mappings of locales->calendar classes.
5069         (ctorArgTypes): New private static field. Singleton argument for
5070         calendar class constructor lookup.
5071         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5072         Optimize by bypassing reflection instantiation for the 
5073         GregorianCalendar case.
5074
5075 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5076
5077         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5078         ResourceBundle.getBundle() calls.
5079         * java/util/GregorianCalendar.java: Likewise.
5080         * java/util/Currency.java: Likewise.
5081         * java/text/BreakIterator.java: Likewise.
5082         * java/text/Collator.java: Likewise.
5083         * java/text/DateFormat.java: Likewise.
5084         * java/text/DateFormatSymbols.java: Likewise.
5085         * java/text/DecimalFormatSymbols.java: Likewise.
5086         * java/text/NumberFormat.java: Likewise.
5087         * java/awt/Window.java: Likewise.       
5088
5089 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5090
5091         * java/util/ResourceBundle.java (bundleCache): Renamed from
5092         resourceBundleCache. Update comments.
5093         (getObject): Don't catch MissingResourceException.
5094         (getBundle(String)): Remove 'final'. Use system classloader if
5095         getCallingClassLoader returned null.
5096         (getBundle(String, Locale)): Likewise.
5097         (BundleKey): New private class. HashMap key for bundle cache lookup.
5098         (lookupKey): New. Singleton instance of BundleKey.
5099         (nullEntry): New. Cache entry to represent failed lookups.
5100         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5101         caching strategy, no-allocation lookup, and new tryBundle methods.
5102         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5103         name using given classloader.
5104         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5105         baseName for given Locale and attempt to load bundle.
5106
5107 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5108
5109         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5110         illegal protected method calls.
5111
5112 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5113
5114         Fix or remove some bogus test cases.
5115         * testsuite/libjava.compile/pr10459_2.java: Removed.
5116         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5117         not Object.clone().
5118         * testsuite/libjava.compile/inner_data.java: Test against its own
5119         protected field.
5120
5121 2004-07-09  Michael Koch  <konqueror@gmx.de>
5122
5123         * scripts/unicode-muncher.pl: Updated to version 2.1
5124         from GNU classpath. Added some clarifications on where to find the
5125         needed files from www.unicode.org.
5126         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5127         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5128         Removed, these can directly be downloaded from www.unicode.org if
5129         needed. 
5130         * gnu/java/lang/CharData.java: Regenerated.
5131         * include/java-chartables.h: Regenerated.
5132         * Makefile.am (ordinary_java_source_files):
5133         Removed gnu/java/lang/CharData.java.
5134         * Makefile.in: Regenerated.
5135
5136 2004-07-09  Michael Koch  <konqueror@gmx.de>
5137
5138         * java/security/AccessControlContext.java,
5139         java/security/SecureClassLoader.java:
5140         Fixed javadocs.
5141
5142 2004-07-09  Michael Koch  <konqueror@gmx.de>
5143
5144         * java/io/ObjectInputStream.java (readFields): Use long datatype
5145         when shifting byte values more then 24 bits left.
5146
5147 2004-07-09  Michael Koch  <konqueror@gmx.de>
5148
5149         * java/util/zip/DeflaterOutputStream.java,
5150         java/util/zip/GZIPInputStream.java,
5151         java/util/zip/GZIPOutputStream.java,
5152         java/util/zip/InflaterInputStream.java:
5153         Reformatted. Added javadocs. Reordered all stuff.
5154         Renamed variables to be more clear.
5155
5156 2004-07-09  Michael Koch  <konqueror@gmx.de>
5157
5158         * javax/imageio/IIOException.java,
5159         javax/imageio/event/IIOReadProgressListener.java,
5160         javax/imageio/event/IIOReadUpdateListener.java,
5161         javax/imageio/event/IIOReadWarningListener.java,
5162         javax/imageio/event/IIOWriteProgressListener.java,
5163         javax/imageio/event/IIOWriteWarningListener.java:
5164         New files.
5165         * Makefile.am: Added new files.
5166         * Makefile.in: Regenerated.
5167
5168 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5169
5170         * java/text/RuleBasedCollator.java
5171         (mergeRules): Use ArrayList instead of Vector.
5172         (subParseString): likewise.
5173         (parseString): likewise.
5174         (buildCollationVector): likewise.
5175         (getCollationKey): likewise.
5176
5177 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5178
5179         * java/text/DateFormat.java (parse):
5180         Improved javadoc. Improved exception message.
5181
5182 2004-07-09  Mark Wielaard  <mark@klomp.org>
5183
5184         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5185         interrupted() method to clear interupt flag of our Thread.
5186
5187 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5188
5189         * java/nio/Buffer.java,
5190         java/nio/ByteBuffer.java,
5191         java/nio/ByteBufferHelper.java,
5192         java/nio/ByteBufferImpl.java,
5193         java/nio/CharBuffer.java,
5194         java/nio/CharBufferImpl.java,
5195         java/nio/CharViewBufferImpl.java,
5196         java/nio/DirectByteBufferImpl.java,
5197         java/nio/DoubleBuffer.java,
5198         java/nio/DoubleBufferImpl.java,
5199         java/nio/DoubleViewBufferImpl.java,
5200         java/nio/FloatBuffer.java,
5201         java/nio/FloatBufferImpl.java,
5202         java/nio/FloatViewBufferImpl.java,
5203         java/nio/IntBuffer.java,
5204         java/nio/IntBufferImpl.java,
5205         java/nio/IntViewBufferImpl.java,
5206         java/nio/LongBuffer.java,
5207         java/nio/LongBufferImpl.java,
5208         java/nio/LongViewBufferImpl.java,
5209         java/nio/MappedByteBufferImpl.java,
5210         java/nio/ShortBuffer.java,
5211         java/nio/ShortBufferImpl.java,
5212         java/nio/ShortViewBufferImpl.java:
5213         Fixed javadocs all over. Improved input error
5214         checking.
5215
5216         * java/nio/Buffer.java
5217         (checkForUnderflow, checkForOverflow, checkIndex,
5218         checkIfReadOnly, checkArraySize): New helper methods
5219         for error checking.
5220
5221         * java/nio/ByteBufferHelper.java
5222         (checkRemainingForRead, checkRemainingForWrite,
5223         checkAvailableForRead, checkAvailableForWrite): Removed
5224         no longer needed methods.
5225
5226 2004-07-09  Michael Koch  <konqueror@gmx.de>
5227
5228         * gnu/regexp/CharIndexedInputStream.java:
5229         Reordered imports to match classpath.
5230
5231 2004-07-09  Michael Koch  <konqueror@gmx.de>
5232
5233         * gnu/java/awt/EmbeddedWindow.java:
5234         Load native library for setWindowPeer method.
5235
5236 2004-07-08  Randolph Chung  <tausq@debian.org>
5237
5238         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5239         * configure: Regenerate.
5240         * configure.host: Set can_unwind_signal for hppa*-linux.
5241         * include/pa-signal.h: New file.
5242
5243 2004-07-07  Per Bothner  <per@bothner.com>
5244
5245         * Makefile.am:  Add rules to build libgij from just gij.cc.
5246
5247         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5248         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5249         (initializeClass):  If verbose_class_flag, print message.
5250         * gij.cc (main):  Handle -verbose:class flag.
5251
5252 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5253
5254         * configure.host: Enable hash synchronization on Darwin.
5255         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5256         ';', since this is a comment on Darwin.
5257         (compare_and_swap_release): Likewise.
5258
5259 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5260
5261         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5262         file portion of URL in addition to spec for file: protocol.
5263
5264 2004-07-05  Anthony Green  <green@redhat.com>
5265
5266         * java/io/File.java (toURI): Merge from Classpath.
5267
5268 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5269
5270         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5271         before passing to URL constructor. Rethrow any MalformedURLException
5272         as a RuntimeException. Catch MalformedURLException specifically, not
5273         all exceptions.
5274
5275 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5276
5277         * java/util/Locale.java (readObject): Intern strings read from object
5278         stream.
5279
5280 2004-07-04  Michael Koch  <konqueror@gmx.de>
5281
5282         * gnu/gcj/runtime/FirstThread.java,
5283         gnu/gcj/runtime/natFirstThread.cc: Removed.
5284         * gnu/java/lang/MainThread.java,
5285         gnu/java/lang/natMainThread.cc: New files.
5286         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5287         * Makefile.am: Added new files and removed deleted ones.
5288         * Makefile.in: Regenerated.
5289
5290 2004-07-03  Mark Wielaard  <mark@klomp.org>
5291             Anthony Green  <green@redhat.com>
5292
5293         * java/net/URL.java (getFile): Clarify return value doc.
5294         (getPath): Return null if file is empty - not empty String.
5295         (set): Convert protocol to lower case before doing anything.
5296         Only change the protocol handler if it's different.
5297
5298 2004-07-03  Anthony Green  <green@redhat.com>
5299
5300         * java/net/URL.java (URL): Convert protocol to lower case before
5301         doing anything, so we getURLStreamHandler() with the proper value.
5302
5303 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5304
5305         * java/util/Locale.java (hashcode): Made transient.
5306         (hashCode): No longer synchronized.
5307         (equals): Remove comment.
5308         (writeObject): No longer synchronized. Implement using writeObject 
5309         calls instead of tweaking hashCode field. Update doc.
5310         (readObject): Implement using readObject calls.
5311
5312 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5313             Andreas Tobler  <a.tobler@schweiz.ch>
5314
5315         * configure.host (powerpc-*-darwin*): New case, define
5316         can_unwind_signal.
5317         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5318         * configure: Regenerate.
5319         * include/darwin-signal.h: New.
5320
5321 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5322
5323         * java/beans/Statement.java (doExecute): Fix formatting.
5324
5325 2004-06-29  Per Bothner  <per@bothner.com>
5326
5327         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5328         etc etc):  Remove needless parenthesis, which causes __stdcall__
5329         attribute on MinGW to get ignored.
5330
5331 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5332
5333         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5334
5335 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5336
5337         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5338
5339 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5340
5341         * java/beans/Expression.java: New file.
5342         * java/beans/Statement.java: New file.
5343         * Makefile.am: Added new files.
5344         * Makefile.in: Re-generate.
5345
5346 2004-06-27 Mark Wielaard  <mark@klomp.org>
5347
5348         * java/io/FilePermission.java (usingPerms): Removed.
5349         (actionsString): Made final.
5350         (cachePerms): Renamed to checkPerms.
5351         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5352         on action String.
5353         (FilePermission): Check arguments, call checkPerms().
5354         (equals): Remove cachePerms() call.
5355         (implies): Likewise.
5356
5357 2004-06-27  Mark Wielaard  <mark@klomp.org>
5358
5359         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5360         final field.
5361         (sendRequest): Use new field in user-agent http agent.
5362
5363 2004-06-27  Mark Wielaard  <mark@klomp.org>
5364
5365         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5366         when argument is null.
5367
5368 2004-06-26  Mark Wielaard  <mark@klomp.org>
5369
5370         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5371         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5372         GetMethodID call.
5373         (cancel_clicked): Likewise.
5374
5375 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5376
5377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5378         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5379         can not calculate the right value.
5380         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5381
5382 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5383
5384         * testsuite/libjava.jacks/jacks.xfail: Remove
5385         15.9.1-qualified-concrete-20.
5386
5387 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5388
5389         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5390         encoding name to iconv.
5391         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5392
5393 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5394
5395         PR libgcj/16134:
5396         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5397         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5398         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5399
5400 2004-06-21  Andrew Haley  <aph@redhat.com>
5401
5402         * java/io/ObjectOutputStream.java: Add DEBUG statements
5403         everywhere.
5404         (dumpElementln): New method.
5405         (depth): New field.
5406         * java/io/ObjectInputStream.java
5407         (currentClassLoader): Make native.
5408         (callersClassLoader): New field.
5409         (depth): New field.
5410         (readObject): ENDBLOCKDATA is generated if the class has a write
5411         method, not if it has a read method.
5412         (readObject): Save and restore this.currentObject and
5413         this.currentObjectStreamClass around calls to callReadMethod().
5414         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5415         method.
5416
5417 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5418
5419         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5420         darwin.
5421
5422 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5423
5424         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5425         if desired, before the default class loader is initialised.
5426         Call INIT_SEGV only if HANDLE_SEGV is defined.
5427
5428 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5429
5430         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5431         directory only if it actually exists.
5432
5433 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5434
5435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5436         Fix up non-ansi comments.
5437
5438 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5439
5440         * javax/swing/text/AbstractDocument.java: Adding missing import
5441         for javax.swing.event.EventListenerList.
5442         * javax/swing/text/DefaultCaret.java: Likewise.
5443
5444 2004-06-17  Michael Koch  <konqueror@gmx.de>
5445
5446         * javax/swing/JToolBar.java
5447         (name): Removed.
5448         (JToolBar): Use Component.setName(String) instead of doing it all
5449         alone.
5450         * javax/swing/Timer.java
5451         (queueEvent): Added missing modifier.
5452
5453 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5454
5455         * Makefile.am: Added new file.
5456         * Makefile.in: Re-generate.
5457         * javax/swing/JMenu.java:
5458         (insertSeparator): Implemented.
5459         * javax/swing/JPopupMenu.java:
5460         (JPopupMenu.Separator): Implemented.
5461         * javax/swing/MenuSelectionManager.java:
5462         (processMouseEvent): Use java.awt.Component 
5463         for event source instead of javax.swing.JComponent. 
5464         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5465         New File. Implemented.
5466         
5467 2004-06-16  David Jee  <djee@redhat.com>
5468
5469         * java/awt/GridBagLayout.java
5470         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5471         Make sure pos_x and pos_y are never negative.
5472
5473 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5474
5475         * Makefile.am: Add new file.
5476         * Makefile.in: Re-generate.     
5477         * javax/swing/JToolBar.java
5478         Partially implemented.
5479         * javax/swing/plaf/basic/BasicToolBarUI.java
5480         New file. Partially implemented.
5481
5482 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5483
5484         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5485         (setComposite): Accept AlphaComposite arguments.
5486         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5487         (createBufferedImage): Add new overloads.
5488         * gnu/java/awt/peer/gtk/GtkToolkit.java
5489         (createImage): Use GdkPixbufDecoder.createBufferedImage
5490         when useGraphics2D() is true.
5491         (getImage): Delegate to createImage.
5492         * javax/swing/JList.java
5493         (isSelectionEmpty):
5494         (getFirstVisibleIndex):
5495         (getLastVisibleIndex):
5496         (setSelectedValue):
5497         (ensureIndexIsVisible): New methods.
5498         * javax/swing/Timer.java: Reimplement.
5499
5500 2004-06-16  Michael Koch  <konqueror@gmx.de>
5501
5502         * javax/swing/text/AbstractDocument.java
5503         (AbstracElement): Made public, implements java.io.Serializable.
5504         (AttributeContext): Made public.
5505         (BranchElement): Likewise.
5506         (Content): Likewise.
5507         (DefaultDocumentEvent): Made public, extends
5508         javax.swing.undo.CompoundEdit.
5509         (ElementEdit): Made public, extends
5510         javax.swing.undo.AbstractUndoableEdit.
5511         (LeafElement): Made public.
5512         (LeafElement.LeafElement): Made public.
5513
5514 2004-06-16  Michael Koch  <konqueror@gmx.de>
5515
5516         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5517         methods (that were obviously never be intended to get included hi this
5518         class. Added some methods too.
5519
5520 2004-06-16  Michael Koch  <konqueror@gmx.de>
5521
5522         * javax/swing/text/PlainDocument.java
5523         (serialVersionUID): New constant.
5524         (lineLimitAttribute): Likewise.
5525         (tabSizeAttribute): Likewise.
5526         (tabSize): New field.
5527         (PlainDocument): Made public.
5528         (PlainDocument): New constructor.
5529
5530 2004-06-16  Michael Koch  <konqueror@gmx.de>
5531
5532         * javax/swing/text/AbstractDocument.java
5533         (insertString): Throws BadLocationException.
5534         * javax/swing/text/Document.java
5535         (insertString): Likewise.
5536         * javax/swing/text/JTextComponent.java:
5537         Javadocs and comments cleaned up.
5538
5539 2004-06-16  Michael Koch  <konqueror@gmx.de>
5540
5541         * javax/swing/event/UndoableEditListener.java: Reformatted.
5542         * javax/swing/text/AbstractDocument.java
5543         (AbstractDocument): Implements java.io.Serializable.
5544         (doc_list): Removed.
5545         (undo_list): Removed.
5546         (AbstractElement.serialVerionUID): New field.
5547         (BranchElement.serialVerionUID): Likewise.
5548         (DefaultDocumentEvent.serialVerionUID): Likewise.
5549         (ElementEdit.serialVerionUID): Likewise.
5550         (LeafElement.serialVerionUID): Likewise.
5551         (serialVerionUID): Likewise.
5552         (BAD_LOCATION): New constant.
5553         (BidiElementName): Likewise.
5554         (ContentElementName): Likewise.
5555         (ParagraphElementName): Likewise.
5556         (SectionElementName): Likewise.
5557         (ElementNameAttribute): Likewise.
5558         (AbstractDocument): Made protected.
5559         (AbstractDocument): New construtor.
5560         (listenerList): New field.
5561         (fireChangedUpdate): Implemented.
5562         (fireInsertUpdate): Likewise.
5563         (fireRemoveUpdate): Likewise.
5564         (fireUndoableEditUpdate): Likewise.
5565         (getListeners): Likewise.
5566         (addDocumentListener): Likewise.
5567         (removeDocumentListener): Likewise.
5568         (addUndoableEditListener): Likewise.
5569         (removeUndoableEditListener): Likewise.
5570         (getDocumentListeners): New method.
5571         (getUndoableEditListeners): Likewise.
5572         (getAsynchronousLoadPriority): Made public.
5573         (getBidiRootElement): Likewise.
5574         (setAsynchronousLoadPriority): Likewise.
5575         (setDocumentProperties): Likewise.
5576         * javax/swing/text/BadLocationException.java
5577         (serialVerionUID): New field.
5578         * javax/swing/text/DefaultCaret.java
5579         (changeEvent): New field.
5580         (listenerList): Likewise.
5581         (changes): Removed.
5582         (addChangeListener): Reimplemented.
5583         (removeChangeListener): Likewise.
5584         (getListeners): New method.
5585         (getChangeListeners): Likwise.
5586         (getComponent): Likewise.
5587         * javax/swing/text/GapContent.java
5588         (GapContent): Implements java.io.Serializable.
5589         (serialVerionUID): New field.
5590
5591 2004-06-16  Michael Koch  <konqueror@gmx.de>
5592
5593         * javax/swing/JTree.java
5594         (treeModel): New field.
5595         (JTree): New constructors, one existing one made public.
5596         (createTreeModel): New method.
5597         (addTreeExpansionListener): Likewise.
5598         (removeTreeExpansionListener): Likewise.
5599         (getTreeExpansionListeners): Likewise.
5600         (fireTreeCollapsed): Likewise.
5601         (fireTreeExpanded): Likewise.
5602         (addTreeSelectionListener): Likewise.
5603         (removeTreeSelectionListener): Likewise.
5604         (getTreeSelectionListeners): Likewise.
5605         (fireValueChanged): Likewise.
5606         (addTreeWillExpandListener): Likewise.
5607         (removeTreeWillExpandListener): Likewise.
5608         (getTreeWillExpandListeners): Likewise.
5609         (fireTreeWillCollapse): Likewise.
5610         (fireTreeWillExpand): Likewise.
5611
5612 2004-06-16  Michael Koch  <konqueror@gmx.de>
5613
5614         * javax/swing/JTree.java: Reformatted.
5615
5616 2004-06-16  Michael Koch  <konqueror@gmx.de>
5617
5618         * javax/swing/JTextArea.java: New file.
5619         * javax/swing/JTextField.java
5620         (actions): Removed.
5621         (notifyAction): New constant.
5622         (columns): New field.
5623         (JTextField): New constructors.
5624         (createDefaultModel): New method.
5625         (addActionListener): Reimplmemented.
5626         (removeActionListener): Reimplemented.
5627         (getActionListeners): New method.
5628         (fireActionPerformed): New method.
5629         (getColumns): New method.
5630         (setColumne): New method.
5631         * javax/swing/text/JTextComponent.java
5632         (AccessibleJTextComponent.serialVersionUID): New field.
5633         (serialVersionUID): Likewise.
5634         (DEFAULT_KEYMAP): Likewise.
5635         (FOCUS_ACCELERATOR_KEY): Likewise.
5636         (doc): Made private.
5637         (icon_gap): Likewise.
5638         (icon): Likewise.
5639         (align): Likewise.
5640         (JTextComponent): Some constructors removed.
5641         (getScrollableTracksViewportHeight): New method.
5642         (getScrollableTracksViewportWidth): Likewise.
5643         * Makefile.am: Added javax/swing/JTextArea.java.
5644         * Makefile.in: Regenerated.
5645
5646 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5647
5648         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5649         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5650         * javax/swing/JViewport.java 
5651         (getExtentSize): Return size rather than preferred size.
5652         (toViewCoordinates): New methods.
5653         (getViewSize): Return size rather than preferred size.
5654         (setViewSize): Note view size as set.
5655         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5656         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5657         (getPreferredSize): Don't redo layout.
5658         * javax/swing/plaf/basic/BasicViewportUI.java 
5659         (paint): Translate image properly and eat exceptions.
5660
5661 2004-06-15  Kim Ho  <kho@redhat.com>
5662
5663         * javax/swing/JTabbedPane.java
5664         (setComponent): Remove old component and
5665         add new component.
5666         (setSelectedIndex): Don't operate on the 
5667         components if they're null. Don't set index
5668         on the model if the index is the same.
5669         (insertTab): Don't add or hide the component
5670         if it's null. Repaint the container.
5671         * javax/swing/plaf/basic/BasicLookAndFeel.java
5672         Change colors for TabbedPane.
5673         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5674         (mousePressed): Re-layout and paint the component.
5675         (layoutContainer): Don't set location on the view.
5676         (ScrollingViewport::paint): Remove.
5677
5678 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5679
5680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5681         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5682
5683         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5684         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5685         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5686         critical region.
5687         (drawLine): Call gdk_flush before leaving GDK critical region.
5688         (fillRect): Likewise.
5689         (drawRect): Likewise.
5690         (copyArea): Likewise.
5691         (copyPixmap): Likewise.
5692         (clearRect): Likewise.
5693         (drawArc): Likewise.
5694         (drawPolyline): Likewise.
5695         (drawPolygon): Likewise.
5696         (fillPolygon): Likewise.
5697         (fillArc): Likewise.
5698         (drawOval): Likewise.
5699         (fillOval): Likewise.
5700
5701         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5702         style parameter.
5703         (GdkFontMetrics): Add style argument to initState call.
5704         (stringWidth(String,int,int,String)): Add style parameter.
5705         (stringWidth(String)): Add style argument to stringWidth call.
5706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5707         (initState): Set pango font style and weight based on AWT style
5708         parameter.  Pass default GTK language to
5709         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5710         simply dividing by PANGO_SCALE.
5711         (stringWidth): Set pango font style and weight based on AWT style
5712         parameter.
5713
5714         * java/awt/Button.java (next_button_number): New field.
5715         (paramString): Change output.
5716         (generateName): New method.
5717         (getUniqueLong): New method.
5718
5719 2004-06-14  Kim Ho  <kho@redhat.com>
5720
5721         * javax/swing/JTabbedPane.java:
5722         (setComponentAt): Set the component, not
5723         the enabled status.
5724         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5725         (actionPerformed): Let deiconize catch exception.
5726
5727 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5728
5729         * javax/swing/JPopupMenu.java:
5730         (setVisible): Corrected location of a 
5731         heavyweight popup menu.
5732
5733 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5734
5735         * javax/swing/MenuSelectionManager.java: 
5736         Ran through jalopy to fix formatting style.
5737
5738 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5739         
5740         * javax/swing/JLayeredPane.java: 
5741         (remove): Revalidate and repaint layered pane after
5742         the component was removed.
5743         javax/swing/JMenu.java:
5744         (setVisible): Display popup menu at the user location,
5745         if one was set by the user.
5746         (setMenuLocation): Reimplemented. Fixed javadoc.
5747         * javax/swing/JMenuBar.java: Added javadoc.
5748         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5749         (MODEL_CHANGED_PROPERTY): New Property.
5750         (isSelected): Implemented.
5751         (setBorderPainted): Fire PropertyChangeEvent
5752         if paintBorder property changes.
5753         (setSelected): Implemented.
5754         (setSelectionModel): Implemented.
5755         * javax/swing/JPopupMenu.java: Added Javadoc
5756         (pack): Implemented.
5757         (setVisible): Reimplemented.
5758         (show): Fixed location.
5759         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5760         Container instead of JPanel.
5761         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5762         (clearSelectedPath): Reimplemented to clear selectedPath
5763         in reverse order.
5764         (processMouseEvent): Reimplemented.
5765         (setSelectedPath): Fire stateChange event indicating that
5766         selected menu path has changed.
5767         (getPath): Change to use ArrayList instead of Vector.
5768         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5769         (installUI): call installKeyboardActions().
5770         (uninstallUI): call uninstallKeyboardActions().
5771
5772 2004-06-13  Michael Koch  <konqueror@gmx.de>
5773
5774         * javax/swing/text/DefaultCaret.java,
5775         javax/swing/text/BadLocationException.java:
5776         Reformatted.
5777
5778 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5779
5780         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5781         DEFAULT_COLS): New variables.
5782         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5783         values to DEFAULT_ROWS or DEFAULT_COLS.
5784         (getMinimumSize): Likewise.
5785         (getPreferredSize): Likewise.
5786         (minimumSize): Likewise.
5787         (preferredSize): Likewise.
5788         (create): Set peer's editable state.
5789         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5790         zero.  Update javadocs.
5791         (TextArea(String)): Likewise.
5792         (TextArea(int,int)): Fix javadocs.
5793         (TextArea(String,int,int,int)): Only throw exception if one of
5794         rows or columns is zero.  Fix javadocs.
5795
5796 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5797
5798         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5799         addition to Components.
5800
5801         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5802         wasn't consumed by normal processing, send it to the parent
5803         menu.
5804
5805         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5806         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5807         translation.
5808
5809 2004-06-11  David Jee  <djee@redhat.com>
5810
5811         * java/awt/MediaTracker.java
5812         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5813         (addImage(Image,int,int,int)): Likewise.
5814
5815 2004-06-11  Michael Koch  <konqueror@gmx.de>
5816
5817         * javax/swing/text/AbstractDocument.java,
5818         javax/swing/text/Document.java,
5819         javax/swing/text/GapContent.java,
5820         javax/swing/text/JTextComponent.java,
5821         javax/swing/text/PlainDocument.java:
5822         Reformatted.
5823
5824 2004-06-11  Michael Koch  <konqueror@gmx.de>
5825
5826         * javax/swing/JRootPane.java
5827         (AccessibleJRootPane.serialVersionUID): New field.
5828         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5829         (AccessibleJRootPane.getAccessibleRole): New method.
5830         (RootLayout): Implements Serializable.
5831         (RootLayout.serialVersionUID): New field.
5832         (RootLayout.RootLayout): New constructor.
5833         (setJMenuBar): Made public.
5834         (getJMenuBar): Likewise.
5835         (JRootPane): Likewise.
5836         (createContentPane): Likewise.
5837         (createGlassPane): Likewise.
5838         (createLayeredPane): Likewise.
5839
5840 2004-06-11  Michael Koch  <konqueror@gmx.de>
5841
5842         * javax/swing/SwingUtilities.java
5843         (isLeftMouseButton): Fixed javadoc.
5844         (isMiddleMouseButton): Likewise.
5845         (isRightMouseButton): Likewise.
5846
5847 2004-06-11  Michael Koch  <konqueror@gmx.de>
5848
5849         * javax/swing/JScrollPane.java
5850         (serialVersionUID): New field.
5851         (columnHeader): Made protected.
5852         (rowHeader): Likewise.
5853         (lowerLeft): Likewise.
5854         (lowerRight): Likewise.
5855         (upperLeft): Likewise.
5856         (upperRight): Likewise.
5857         (horizontalScrollBar): Likewise.
5858         (horizontalScrollBarPolicy): Likewise.
5859         (verticalScrollBar): Likewise.
5860         (verticalScrollBarPolicy): Likewise.
5861         (viewport): Likewise.
5862
5863 2004-06-11  Michael Koch  <konqueror@gmx.de>
5864
5865         * javax/swing/LookAndFeel.java: Fixed javadocs.
5866
5867 2004-06-11  Michael Koch  <konqueror@gmx.de>
5868
5869         * javax/swing/JEditorPane.java: Fixed javadocs.
5870         (JEditorPane): Removed redundant call to to this().
5871         (fireHyperlinkUpdate): Implemented.
5872
5873 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5874
5875         * javax/swing/JMenu.java: Fixed file name 
5876         in the file comment.
5877
5878 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5879
5880         * javax/swing/JMenu.java: Added javadoc.
5881         (JMenu): Added MenuChangeListener to listen to 
5882         ChangeEvents occuring in menu's model. 
5883         (insert): Throw IllegalArgumentException if 
5884         index is less than 0
5885         (setSelected): Reimplement.
5886         (setPopupMenuVisible): Call menu's model isEnabled()
5887         (setDelay): Throw IllegalArgumentException if 
5888         given amount of delay is less than 0.
5889         (createActionComponent): Implemented.
5890         (createActionChangeListener): Implemented.
5891         (addSeparator): Implemented.
5892         (getItem): Throw IllegalArgumentException if index is 
5893         less than 0.
5894         (getItemCount): Implemented.
5895         (fireMenuSelected): Changed to use menuEvent.
5896         (fireMenuDeselected): Likewise.
5897         (fireMenuCanceled): Likewise.
5898         (setAccelerator): Changed to throw an error if this 
5899         method is used. 
5900         (doClick): Implemented.
5901         (JMenu.ActionChangedListener): New inner class to handle
5902         PropertyChangeEvents occuring in the actions associated with menu.
5903         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5904         (BasicMenuUI): Added PropertyChangeListener to the menu.
5905         (createChangeListener): Implemented.
5906         (createMenuDragMouseListener): Likewise.
5907         (createMenuKeyListener): Likewise.
5908         (createPropertyChangeListener): Likewise.
5909         (uninstallListeners): Likewise.
5910         (BasicMenuUI.MouseInputHandler): Reimplemented.
5911         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5912         (BasicMenuUI.ChangeHandler): Likewise.
5913         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5914         (BasicMenuUI.MenuKeyHandler): Likewise.
5915
5916 2004-06-10  David Jee  <djee@redhat.com>
5917
5918         * java/awt/MediaTracker.java
5919         (imageUpdate): Only do notifyAll() if the image is complete.
5920
5921 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5922
5923         * javax/swing/JApplet.java:
5924         (getJMenuBar): Made public.
5925         (setJMenuBar): Likewise.
5926         * javax/swing/JFrame.java:
5927         (getJMenuBar): Made public.
5928         (setJMenuBar): Likewise.
5929         * javax/swing/JWindow.java:
5930         (getJMenuBar): Removed.
5931         (setJMenuBar): Removed.
5932
5933 2004-06-10  Michael Koch  <konqueror@gmx.de>
5934
5935         * javax/swing/JEditorPane.java
5936         (createEditorKitForContentType): Fixed visibility.
5937         (fireHyperlinkUpdate): Likewise.
5938         (getContentType): Likewise.
5939         (getEditorKit): Likewise.
5940         (getEditorKitForContentType): Likewise.
5941         (getPage): Likewise.
5942         (read): Likewise.
5943         (registerEditorKitForContentTyoe): Likewise.
5944         (replaceSelection): Likewise.
5945         (setContentType): Likewise.
5946         (setEditorKit): Likewise.
5947         (setPage): Likewise.
5948
5949 2004-06-10  Michael Koch  <konqueror@gmx.de>
5950
5951         * javax/swing/Timer.java
5952         (Timer): New constructor.
5953         * javax/swing/plaf/basic/BasicProgressBarUI.java
5954         (animationTimer): Don't initialize at construction.
5955         (startAnimationTimer): Added since tag.
5956         (stopAnimationTimer): Likewise.
5957         (installUI): Use new Timer constructor.
5958         * javax/swing/plaf/basic/BasicScrollBarUI.java
5959         (installUI): Likewise.
5960         * javax/swing/plaf/basic/BasicSliderUI.java
5961         (installUI): Likewise.
5962
5963 2004-06-10  Michael Koch  <konqueror@gmx.de>
5964
5965         * javax/swing/ButtonGroup.java
5966         (serialVersionUID): Made private.
5967         (buttons): Renamed from v, added javadoc.
5968         (sel): Added javadoc.
5969         (ButtonGroup): Likewise.
5970         (add): Likewise.
5971         (remove): Likewise.
5972         (getElements): Likewise.
5973         (getSelection): Likewise.
5974         (setSelected): Likewise.
5975         (isSelected): Likewise.
5976         (getButtonCount): Likewise.
5977
5978 2004-06-10  Michael Koch  <konqueror@gmx.de>
5979
5980         * javax/swing/ButtonGroup.java,
5981         javax/swing/ImageIcon.java,
5982         javax/swing/JEditorPane.java,
5983         javax/swing/JRootPane.java,
5984         javax/swing/JTextField.java,
5985         javax/swing/LookAndFeel.java,
5986         javax/swing/plaf/basic/BasicTextUI.java:
5987         Reindented.
5988
5989 2004-06-10  Michael Koch  <konqueror@gmx.de>
5990
5991         * javax/swing/text/Style.java: Added javadocs.
5992
5993 2004-06-10  Michael Koch  <konqueror@gmx.de>
5994
5995         * javax/swing/JComponent.java
5996         (fireVetoableChange): Removed redundant cast.
5997         * javax/swing/JLabel.java
5998         (getDisabledIcon): Save icon for next call.
5999
6000 2004-06-10  Michael Koch  <konqueror@gmx.de>
6001
6002         * javax/swing/KeyStroke.java
6003         (getKeyStroke(char,boolean)): Marked deprecated.
6004
6005 2004-06-10  Michael Koch  <konqueror@gmx.de>
6006
6007         * javax/swing/DefaultCellEditor.java,
6008         javax/swing/GrayFilter.java,
6009         javax/swing/event/DocumentEvent.java,
6010         javax/swing/text/JTextComponent.java,
6011         javax/swing/text/MutableAttributeSet.java:
6012         Reindented.
6013
6014 2004-06-10  Michael Koch  <konqueror@gmx.de>
6015
6016         * javax/swing/plaf/BorderUIResource.java:
6017         Added serialVersionUID all over.
6018
6019 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
6020
6021         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6022
6023 2004-06-10  Michael Koch  <konqueror@gmx.de>
6024
6025         * javax/swing/table/DefaultTableCellRenderer.java
6026         (noFocusBorder): Initialize directly.
6027
6028 2004-06-10  Michael Koch  <konqueror@gmx.de>
6029
6030         * javax/swing/plaf/basic/BasicArrowButton.java
6031         (setDirection): Use method argument.
6032
6033 2004-06-10  Michael Koch  <konqueror@gmx.de>
6034
6035         * javax/swing/plaf/BorderUIResource.java,
6036         javax/swing/plaf/ComponentUI.java,
6037         javax/swing/undo/CompoundEdit.java,
6038         javax/swing/undo/StateEdit.java:
6039         Fixed javadocs all over.
6040
6041 2004-06-10  Michael Koch  <konqueror@gmx.de>
6042
6043         * javax/swing/DefaultButtonModel.java
6044         (ARMED): Made public final, fixed value.
6045         (ENABLED): Likewise.
6046         (PRESSED): Likewise.
6047         (ROLLOVER): Likewise.
6048         (SELECTED): Likewise.
6049         (stateMask): Initialize directly.
6050         (listenerList): Likewise.
6051         (mnemonic): Likewise.
6052         (fireStateChanged): Removed argument, use changeEvent as event.
6053         All places where this method is called are fixed too.
6054         (getActionCommant): Fixed javadoc.
6055         (setGroup): Fixed javadoc.
6056         (getGroup): New method.
6057
6058 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6059
6060         * javax/swing/AbstractButton.java
6061         (AbstractButton): Use init() to initialize the button.
6062         (init): New Method. Initializes AbstractButton.
6063         * javax/swing/JMenuItem.java: Documented.
6064         (JMenuItem): Reimplemented.
6065         (init): Implemented.
6066         (setEnabled): Changed to call super.setEnabled()
6067         (processMouseEvent): Reimplemented.
6068         (fireMenuKeyPressed): Implemented.
6069         (fireMenuKeyReleased): Implemented.
6070         (fireMenuKeyTyped): Implemented.
6071         (menuSelectionChanged): disarm the model if the menu item was
6072         deselected.
6073         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6074         (getPath): Change to use ArrayList instead of Vector.
6075         (getPreferredSize): Renamed variable.
6076         (paintMenuItem): Paint margin area of menu item.
6077         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6078         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6079         menu item's bounds before clearing the selection.       
6080
6081 2004-06-09  David Jee  <djee@redhat.com>
6082
6083         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6084         (GtkTextComponentPeer): Set caret position to 0.
6085         * java/awt/TextComponent.java
6086         (setText): Set caret position to 0.
6087         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6088         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6089         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6090         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6091         Likewise.
6092         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6093         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6094         visible.
6095
6096 2004-06-09  Kim Ho  <kho@redhat.com>
6097
6098         * Makefile.am: New files
6099         * Makefile.in: Regenerated
6100         * java/awt/Container.java
6101         (getComponentAt): Removed.
6102         * javax/swing/AbstractAction.java
6103         (ENABLED_PROPERTY): New property.
6104         (putValue): Fire PropertyChangeEvents.
6105         (setEnabled): ditto.
6106         (firePropertyChange): Javadoc and implement
6107         convenience method.
6108         * javax/swing/AbstractButton.java
6109         (setAction): Don't create PropertyChangeListener
6110         if new Action is null.
6111         (setIcon): Don't set icon till after comparing
6112         it.
6113         (configurePropertiesFromAction): Check mnemonic
6114         key before calling intValue().
6115         (createActionPropertyChangeListener): Check
6116         properties rather than bulk change.
6117         * javax/swing/DefaultDesktopManager.java:
6118         Implement.
6119         * javax/swing/DesktopManager.java:
6120         Jalopy and javadoc.
6121         * javax/swing/JComponent.java
6122         (fireVetoableChange): Implement.
6123         (paintImmediately): Use root component.
6124         * javax/swing/JDesktopPane.java: Implement
6125         * javax/swing/JInternalFrame.java: Implement
6126         * javax/swing/JLabel.java
6127         (getDisabledIcon): Return grayscaled icon if
6128         no disabled icon specified.
6129         * javax/swing/JMenuBar.java
6130         (getComponentAtIndex): Use getComponent
6131         * javax/swing/JOptionPane.java
6132         (getDesktopPaneForComponent): Use SwingUtilities'
6133         getAncestorOfClass
6134         (getFrameForComponent): ditto.
6135         * javax/swing/JSplitPane.java
6136         (remove): Use getComponent.
6137         * javax/swing/SwingUtilities.java
6138         (convertPoint): Implement.
6139         * javax/swing/plaf/basic/BasicButtonUI.java
6140         (paintButtonNormal): Check opaqueness before
6141         filling background.
6142         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6143         Implement
6144         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6145         Implement.
6146         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6147         Implement.
6148         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6149         Implement.
6150         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6151         Change InternalFrame and Desktop colors.
6152
6153 2004-06-09  David Jee  <djee@redhat.com>
6154
6155         * java/awt/Container.java
6156         (remove): Do not set component to invisible.
6157
6158 2004-06-09  Michael Koch  <konqueror@gmx.de>
6159
6160         * javax/swing/tree/DefaultMutableTreeNode.java
6161         (getLeafCount): Renamed enum to e.
6162
6163 2004-06-09  Michael Koch  <konqueror@gmx.de>
6164
6165         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6166         (positionForMouseEvent): Removed redundant semicolon.
6167         (continueDrag): Use method arguments.
6168
6169 2004-06-09  Michael Koch  <konqueror@gmx.de>
6170
6171         * javax/swing/border/TitledBorder.java,
6172         javax/swing/filechooser/FileSystemView.java,
6173         javax/swing/plaf/basic/BasicButtonListener.java,
6174         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6175         javax/swing/plaf/basic/BasicLabelUI.java,
6176         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6177         javax/swing/plaf/basic/BasicScrollBarUI.java,
6178         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6179         javax/swing/plaf/basic/BasicSliderUI.java,
6180         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6181         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6182         javax/swing/table/JTableHeader.java,
6183         javax/swing/text/AbstractDocument.java,
6184         javax/swing/text/DefaultCaret.java,
6185         javax/swing/text/StyledEditorKit.java,
6186         javax/swing/tree/DefaultTreeCellEditor.java:
6187         Reworked import statements.
6188
6189 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6190
6191         * javax/swing/Box.java: Temporarily comment out code
6192         broken due to visibility bug.
6193
6194 2004-06-09  Michael Koch  <konqueror@gmx.de>
6195
6196         * javax/swing/ImageIcon.java
6197         (ImageIcon): Added missing constructor.
6198
6199 2004-06-08  Michael Koch  <konqueror@gmx.de>
6200
6201         * javax/swing/JToggleButton.java
6202         (JToggleButton): New constructor.
6203         (getAccessibleContext): Moved documentation into javadoc.
6204         (getUIClassID): Likewise.
6205
6206 2004-06-08  Michael Koch  <konqueror@gmx.de>
6207
6208         * javax/swing/AbstractButton.java
6209         (getDisabledIcon): Create disabled icon if none exists yet.
6210
6211 2004-06-08  Michael Koch  <konqueror@gmx.de>
6212
6213         * javax/swing/plaf/basic/BasicLookAndFeel.java
6214         (initClassDefaults): Added FormattedTextFieldUI.
6215         (loadResourceBundle): Renamed enum to e.
6216
6217 2004-06-08  Michael Koch  <konqueror@gmx.de>
6218
6219         * javax/swing/plaf/basic/BasicButtonUI.java
6220         (paintIcon): Simplified.
6221         (paintText): Paint disabled button correctly.
6222
6223 2004-06-08  Michael Koch  <konqueror@gmx.de>
6224
6225         * javax/swing/JComponent.java
6226         (createToolTip): Use official JToolTip API.
6227
6228 2004-06-08  Michael Koch  <konqueror@gmx.de>
6229
6230         * javax/swing/JToolTip.java
6231         (JToolTip): No arguments in API.
6232         (setTipText): New method.
6233
6234 2004-06-08  Michael Koch  <konqueror@gmx.de>
6235
6236         * javax/swing/SwingUtilities.java
6237         (isLeftMouseButton): New method.
6238         (isMiddleMouseButton): New method.
6239         (isRightMouseButton): New method.
6240
6241 2004-06-08  Michael Koch  <konqueror@gmx.de>
6242
6243         * javax/swing/AbstractButton.java,
6244         javax/swing/CellRendererPane.java,
6245         javax/swing/JCheckBoxMenuItem.java,
6246         javax/swing/JColorChooser.java,
6247         javax/swing/JComboBox.java,
6248         javax/swing/JComponent.java,
6249         javax/swing/JDesktopPane.java,
6250         javax/swing/JFileChooser.java,
6251         javax/swing/JMenu.java,
6252         javax/swing/JMenuItem.java,
6253         javax/swing/JOptionPane.java,
6254         javax/swing/JPasswordField.java,
6255         javax/swing/JPopupMenu.java,
6256         javax/swing/JProgressBar.java,
6257         javax/swing/JRadioButtonMenuItem.java,
6258         javax/swing/JScrollBar.java,
6259         javax/swing/JSeparator.java,
6260         javax/swing/JSlider.java,
6261         javax/swing/JSplitPane.java,
6262         javax/swing/JTabbedPane.java,
6263         javax/swing/JTextField.java,
6264         javax/swing/JToolBar.java,
6265         javax/swing/text/JTextComponent.java:
6266         Fixed all constructors of accessibility classes.
6267
6268 2004-06-08  Michael Koch  <konqueror@gmx.de>
6269
6270         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6271         over.
6272
6273 2004-06-08  Michael Koch  <konqueror@gmx.de>
6274
6275         * javax/swing/Box.java
6276         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6277         (AccessibleBoxFiller.serialVersionUID): New member variable.
6278         * javax/swing/DefaultButtonModel.java
6279         (stateMask): Made protected.
6280         (listenerList): Likewise.
6281         (changeEvent): Likewise.
6282         (group): Likewise.
6283         (mnemonic): Likewise.
6284         (actionCommand): Likewise.
6285         (getListeners): New method.
6286         (getActionListeners): New method.
6287         (getItemListeners): New method.
6288         (getChangeListeners): New method.
6289         (fireItemStateChanged): Simplified.
6290         (fireActionPerformed): Simplified.
6291         (fireStateChanged): Simplified.
6292         * javax/swing/JFrame.java
6293         (JFrame): Implements WindowContants.
6294         (HIDE_ON_CLOSE): Removed.
6295         (EXIT_ON_CLOSE): Removed.
6296         (DISPOSE_ON_CLOSE): Removed.
6297         (DO_NOTHING_ON_CLOSE): Removed.
6298         (processWindowEvent): Exit with code 0.
6299         (setDefaultCloseOperation): Do security check before setting value.
6300         * javax/swing/JOptionPane.java
6301         (message): Initialize only in constructor.
6302         * javax/swing/JToolTip.java: Removed unused imports.
6303         * javax/swing/JViewport.java
6304         (serialVersionUID): New member variable.
6305         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6306         (BLIT_SCROLL_MODE): Likewise.
6307         (BACKINGSTORE_SCROLL_MODE): Likewise.
6308         (scrollUnderway): Made protected.
6309         (isViewSizeSet): Likewise.
6310         * javax/swing/ListModel.java: Fixed javadoc.
6311         * javax/swing/Popup.java: Likewise.
6312         * javax/swing/RepaintManager.java
6313         (paintDirtyRegions): Don't use internal classes of
6314         java.util.AbstractMap.
6315         * javax/swing/ScrollPaneConstants.java: Reindented.
6316         * javax/swing/ScrollPaneLayout.java
6317         (viewport): Made protected.
6318         (verticalScrollBar): Made protected, renamed to vsb.
6319         (horizontalScrollBar): Made protected, renamed to hsb.
6320         (rowHeader): Made protected, renamed to rowHead.
6321         (columnHeader): Made protected, renamed to colHead.
6322         (lowerLeft): Made protected.
6323         (lowerRight): Made protected.
6324         (upperLeft): Made protected.
6325         (upperRight): Made protected.
6326         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6327         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6328
6329 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6330
6331         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6332         LOADING if flags has SOMEBITS set.
6333
6334 2004-06-07  Michael Koch  <konqueror@gmx.de>
6335
6336         * javax/swing/AbstractButton.java: Reorganized imports.
6337         * javax/swing/ActionMap.java: Likewise.
6338         * javax/swing/DefaultButtonModel.java: Likewise.
6339         * javax/swing/DefaultListModel.java: Likewise.
6340         * javax/swing/ImageIcon.java: Likewise.
6341         (serialVersionUID): New member variable.
6342         * javax/swing/JComboBox.java: Reorganized imports.
6343         * javax/swing/JComponent.java: Likewise.
6344         (ui): Made protected.
6345         (listenerList): Made protected.
6346         (TOOL_TIP_TEXT_KEY): New constant.
6347         (scrollRectToVisible): Removed redundant null check.
6348         * javax/swing/JFrame.java: Reorganized imports.
6349         * javax/swing/JInternalFrame.java: Reorganized imports.
6350         * javax/swing/JProgressBar.java: Likewise.
6351         * javax/swing/JRootPane.java: Likewise.
6352         * javax/swing/JScrollBar.java: Likewise.
6353         * javax/swing/JSeparator.java: Likewise.
6354         * javax/swing/JSlider.java: Likewise.
6355         * javax/swing/JTabbedPane.java: Likewise.
6356         * javax/swing/JTextField.java: Likewise.
6357         * javax/swing/JToolBar.java: Likewise.
6358         * javax/swing/JTree.java: Likewise.
6359         * javax/swing/JViewport.java: Likewise.
6360         * javax/swing/JWindow.java: Likewise.
6361         * javax/swing/KeyStroke.java: Likewise.
6362         * javax/swing/LookAndFeel.java: Likewise.
6363         * javax/swing/MenuSelectionManager.java: Likewise.
6364         * javax/swing/SwingUtilities.java: Likewise.
6365         * javax/swing/Timer.java: Likewise.
6366         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6367         * javax/swing/JList.java
6368         (HORIZONTAL_WRAP): Made final, fixed value.
6369         (VERTICAL): Likewise.
6370         (VERTICAL_WRAP): Likewise.
6371
6372 2004-06-07  Michael Koch  <konqueror@gmx.de>
6373
6374         * javax/swing/AbstractButton.java
6375         (serialVersionUID): New member variable.
6376         (AccessibleAbstractButton.serialVersionUID): Likewise.
6377         (AbstractButton): Made public.
6378         * javax/swing/Box.java
6379         (AccessibleBox.serialVersionUID): New member variable.
6380         (Filler.serialVersionUID): Likewise.
6381         * javax/swing/DefaultListSelectionModel.java
6382         (serialVersionUID): Likewise.
6383         * javax/swing/JApplet.java
6384         (serialVersionUID): Likewise.
6385         * javax/swing/JCheckBox.java
6386         (serialVersionUID): Likewise.
6387         * javax/swing/JCheckBoxMenuItem.java
6388         (serialVersionUID): Likewise.
6389         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6390         * javax/swing/JColorChooser.java
6391         (serialVersionUID): Likewise.
6392         (AccessibleJColorChooser.serialVersionUID): Likewise.
6393         * javax/swing/JComponent.java
6394         (serialVersionUID): Made private.
6395         (AccessibleJComponent.serialVersionUID): New member variable.
6396         * javax/swing/JDesktopPane.java
6397         (serialVersionUID): Likewise.
6398         * javax/swing/JDialog.java
6399         (serialVersionUID): Likewise.
6400         * javax/swing/JFormattedTextField.java
6401         (serialVersionUID): Fixed value.
6402         * javax/swing/JFrame.java
6403         (serialVersionUID): New member variable.
6404         (getDefaultCloseOpertation): Made public.
6405         * javax/swing/JLayeredPane.java
6406         (serialVersionUID): Likewise.
6407         (LAYER_PROPERTY): Made final, fixed value.
6408         (JLayeredPane): Made public.
6409         * javax/swing/JMenu.java
6410         (AccessibleJMenu.serialVersionUID): New member variable.
6411         (WinListener.serialVersionUID): Likewise.
6412         * javax/swing/JMenuBar.java
6413         (serialVersionUID): Likewise.
6414         (getComponentAtIndex): Added @deprecated tag.
6415         * javax/swing/JMenuItem.java
6416         (serialVersionUID): New member variable.
6417         (AccessibleJMenuItem.serialVersionUID): Likewise.
6418         * javax/swing/JOptionPane.java
6419         (serialVersionUID): Likewise.
6420         (AccessibleJOptionPane.serialVersionUID): Likewise.
6421         * javax/swing/JPopupMenu.java
6422         (serialVersionUID): Likewise.
6423         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6424         (getPopupMenuListeners): New method.
6425         (getComponentAtIndex): Added @deprecated tag.
6426         * javax/swing/JProgressBar.java
6427         (serialVersionUID): New member variable.
6428         (AccessibleJProgressBar.serialVersionUID): Likewise.
6429         * javax/swing/JRadioButton.java
6430         (serialVersionUID): Likewise.
6431         * javax/swing/JRadioButtonMenuItem.java
6432         (serialVersionUID): Likewise.
6433         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6434         * javax/swing/JScrollBar.java
6435         (serialVersionUID): Likewise.
6436         (AccessibleJScrollBar.serialVersionUID): Likewise.
6437         * javax/swing/JSeparator.java
6438         (serialVersionUID): Likewise.
6439         (AccessibleJSeparator.serialVersionUID): Likewise.
6440         * javax/swing/JSlider.java: Fixed javadocs.
6441         (AccessibleJSlider.serialVersionUID): New member variable.
6442         * javax/swing/JSplitPane.java: Added copyright statement.
6443         (serialVersionUID): New member variable.
6444         (AccessibleJSplitPane.serialVersionUID): Likewise.
6445         * javax/swing/JTabbedPane.java
6446         (serialVersionUID): Likewise.
6447         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6448         (ModelListener.serialVersionUID): Likewise.
6449         (ModelListener.ModelListener): New constructor.
6450         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6451         (WRAP_TAB_LAYOUT): Likewise.
6452         * javax/swing/JTable.java
6453         (serialVersionUID): New member variable.
6454         * javax/swing/JToggleButton.java
6455         (serialVersionUID): Likewise.
6456         (ToggleButtonModel): Made static.
6457         (ToggleButtonModel.serialVersionUID): New member variable.
6458         * javax/swing/JToolTip.java
6459         (serialVersionUID): Likewise.
6460         * javax/swing/JTree.java
6461         (serialVersionUID): Likewise.
6462         * javax/swing/JWindow.java
6463         (serialVersionUID): Likewise.
6464         * javax/swing/Timer.java
6465         (serialVersionUID): Likewise.
6466
6467 2004-06-06  Michael Koch  <konqueror@gmx.de>
6468
6469         * javax/swing/SwingConstants.java
6470         (NEXT): New constant.
6471         (PREVIOUS): Likewise.
6472         * javax/swing/UIManager.java
6473         (LookAndFeel): Made public.
6474         (LookAndFeel.getClassName): Likewise.
6475         (LookAndFeel.getName): Likewise.
6476
6477 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6478
6479         * javax/swing/JCheckBoxMenuItem.java:
6480         Removed CVS tags.
6481         * javax/swing/JMenu.java: Likewise.
6482         * javax/swing/JMenuBar.java: Likewise.
6483         * javax/swing/JMenuItem.java: Likewise.
6484         * javax/swing/JPopupMenu.java: Likewise.
6485         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6486         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6487         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6488         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6489         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6490         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6491         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6492
6493 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6494         
6495         * javax/swing/plaf/basic/BasicMenuUI.java:
6496         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6497         Call getPath() from super class instead.
6498
6499 2004-05-31  David Jee  <djee@redhat.com>
6500
6501         * java/awt/Container.java
6502         (remove): Set component visibility to false after removing it.
6503
6504 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6505
6506         * java/awt/Component.java (getForeground): Return SystemColor if
6507         parent is null.
6508         (getBackground): Likewise.
6509
6510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6511         (item_highlighted): New function.
6512         (connectSignals): Set item_highlighted as list's select
6513         function.
6514
6515         * java/applet/Applet.java: Revert changes from 2004-04-29,
6516         2004-03-15 and 2004-03-14.
6517
6518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6519         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6520         factor.
6521
6522         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6523         "Dialog" as the default font.
6524         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6525         Likewise.
6526         * java/awt/Component.java (getFont): Return "Dialog" font by
6527         default.
6528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6529         Multiply size argument to pango_font_description_set_size by the
6530         DPI conversion factor rather than by PANGO_SCALE.
6531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6532         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6535         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6540         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6541         Divide baseline y coordinate by DPI conversion factor rather
6542         than by PANGO_SCALE.
6543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6544         (area_prepared): Fix typo.
6545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6546         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6548         (dpi_conversion_factor): New global variable.
6549         (init_dpi_conversion_factor): New function to calculate and
6550         track DPI conversion factor.
6551         (dpi_changed_cb): New callback.
6552         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6553
6554 2004-05-27  David Jee  <djee@redhat.com>
6555
6556         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6557         (getGraphics): Return a new GdkGraphics instance.
6558         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6559         (getGraphics): Call super.getGraphics().
6560
6561 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6562
6563         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6564         (setNativeBounds): Clamp width and height values to >= 0.
6565
6566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6567         (find_fg_color_widget): Handle GtkOptionMenu specially.
6568
6569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6570         (pre_event_handler): Only post configure events to visible
6571         top-level windows.
6572
6573 2004-05-26  David Jee  <djee@redhat.com>
6574
6575         * java/awt/BorderLayout.java
6576         (layoutContainer): Fix size calculations.
6577
6578 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6579
6580         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6581         (window_wm_protocols_filter): Remove function.
6582         (create): Remove filter that removes WM_TAKE_FOCUS client
6583         messages.
6584
6585 2004-06-17  Anthony Green  <green@redhat.com>
6586
6587         * java/util/zip/ZipFile.java (getInputStream): Return null if
6588         entry not found.
6589
6590         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6591         directory contents to the class path.
6592
6593 2004-06-15  Andrew Haley  <aph@redhat.com>
6594
6595         * java/lang/natSystem.cc (getenv0): Don't assume environment
6596         variable is Latin 1 coded.
6597
6598 2004-06-14  Andreas Jaeger  <aj@suse.de>
6599
6600         * configure.in: Support --enable-version-specific-runtime-libs.
6601         * configure: Regenerated.
6602
6603 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6604
6605         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6606         to pass ClassLoader argument.
6607         * java/util/GregorianCalendar.java: Likewise.
6608         * java/util/Currency.java: Likewise.
6609         * java/text/BreakIterator.java: Likewise.
6610         * java/text/Collator.java: Likewise.
6611         * java/text/DateFormat.java: Likewise.
6612         * java/text/DateFormatSymbols.java: Likewise.
6613         * java/text/DecimalFormatSymbols.java: Likewise.
6614         * java/text/NumberFormat.java: Likewise.
6615         * java/awt/Window.java: Likewise.
6616
6617 2004-06-14  Andrew Haley  <aph@redhat.com>
6618
6619         * java/lang/System.java: (getenv0): New method.
6620         (getenv): Add security check.  Do the right thing.
6621         * java/lang/natSystem.cc (getenv0): New method.
6622
6623 2004-06-12  Mark Wielaard  <mark@klomp.org>
6624
6625         * javax/swing/RepaintManager.java
6626         (paintDirtyRegions): Use entrySet(), not values().
6627
6628 2004-06-10  Mark Wielaard  <mark@klomp.org>
6629
6630         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6631         NoSuchMethodError.
6632
6633 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6634
6635         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6636         when we already know the answer.
6637         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6638         (setStartRule,setEndRule): Don't take abs of day number.
6639         (getOffset): Clarify docs.  Add argument checks.
6640         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6641         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6642         endTimeMode.
6643
6644 2004-06-10  Tom Tromey  <tromey@redhat.com>
6645
6646         * interpret.cc (run): Handle wide fload.
6647
6648 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6649
6650         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6651
6652 2004-06-05  Michael Koch  <konqueror@gmx.de>
6653
6654         * javax/swing/SwingConstants.java
6655         (NEXT): New constant.
6656         (PREVIOUS): Likewise.
6657
6658 2004-06-05  Michael Koch  <konqueror@gmx.de>
6659
6660         * javax/swing/UIManager.java
6661         (LookAndFeel): Made public.
6662         (LookAndFeel.getName): Likewise.
6663         (LookAndFeel.getClassName): Likewise.
6664
6665 2004-06-03  Michael Koch  <konqueror@gmx.de>
6666
6667         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6668         (requestFocus): Revert last changes.
6669         (gtkRequestFocus): Removed.
6670         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6671         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6672         Renamed to ...
6673         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6674         Reverted last patch.
6675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6676         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6677         Reverted comment change.
6678
6679 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6680
6681         * javax/swing/JCheckBoxMenuItem.java:
6682         Removed CVS tags.
6683         * javax/swing/JMenu.java: Likewise.
6684         * javax/swing/JMenuBar.java: Likewise.
6685         * javax/swing/JMenuItem.java: Likewise.
6686         * javax/swing/JPopupMenu.java: Likewise.
6687         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6688         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6689         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6690         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6691         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6692         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6693         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6694
6695 2004-06-01  Tom Tromey  <tromey@redhat.com>
6696
6697         * java/io/ObjectStreamField.java: Cleaned up imports.
6698
6699 2004-06-01  Michael Koch  <konqueror@gmx.de>
6700
6701         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6702       
6703 2004-06-01  Mark Wielaard  <mark@klomp.org>
6704
6705         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6706
6707 2004-06-01  Michael Koch  <konqueror@gmx.de>
6708
6709         * java/security/Security.java
6710         (insertProviderAt): Use equals() instead of ==.
6711         (removeProvicer): Likewise.
6712         (getProvider): Likewise.
6713         * java/security/Signature.java
6714         (sign): Don't set state to UNINITIALIZED.
6715         (verify): Likewise.
6716
6717 2004-06-01  Mark Wielaard  <mark@klomp.org>
6718
6719         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6720         Implement by calling gtkRequestFocus.
6721         (gtkRequestFocus): New native method.
6722         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6723         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6724         Renamed to ...
6725         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6726         New function name.
6727         (filter_expose_event_handler):
6728         Mark static.
6729         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6730         (menu_pos): Mark static.
6731
6732 2004-06-01  Michael Koch  <konqueror@gmx.de>
6733
6734         * java/text/CollationElementIterator.java,
6735         java/text/CollationKey.java,
6736         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6737         * testsuite/libjava.mauve/xfails: Removed all
6738         java.text.CollationElementIterator tests.
6739
6740 2004-06-01  Michael Koch  <konqueror@gmx.de>
6741
6742         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6743         version.
6744         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6745         Java 1.5 keyword usage.
6746
6747 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6748
6749         * javax/swing/plaf/basic/BasicMenuUI.java:
6750         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6751         Call getPath() from super class instead.
6752
6753 2004-05-31  Michael Koch  <konqueror@gmx.de>
6754
6755         * java/io/SequenceInputStream.java:
6756         Rename enum to e because enum is a keyword in Java 1.5.
6757
6758 2004-05-31  Michael Koch  <konqueror@gmx.de>
6759
6760         * gnu/java/rmi/rmic/CompilerProcess.java:
6761         Fixed javadoc to by XHTML compliant.
6762
6763 2004-05-30  Mark Wielaard  <mark@klomp.org>
6764
6765         * java/awt/Toolkit.java (loadSystemColors): Implement.
6766
6767 2004-05-30  Michael Koch  <konqueror@gmx.de>
6768
6769         * java/lang/System.java: Reordered imports.
6770
6771 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6772
6773         * java/text/DecimalFormat.java
6774         (parse): Fixed parsing of decimal strings. Number of maximum
6775         digits to be read should now work.
6776         * java/text/SimpleDateFormat.java
6777         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6778         formatter. This fixes DateFormatTest.
6779
6780 2004-05-30  Michael Koch  <konqueror@gmx.de>
6781
6782         * java/nio/Buffer.java
6783         (limit): Fixed off by one error.
6784         * java/nio/CharBuffer.java
6785         (wrap): Fixed arguments, added javadocs.
6786
6787 2004-05-30  Michael Koch  <konqueror@gmx.de>
6788
6789         * gnu/java/beans/BeanInfoEmbryo.java,
6790         java/awt/im/InputContext.java,
6791         javax/swing/tree/DefaultMutableTreeNode.java:
6792         Rename enum to e because enum is a keyword in Java 1.5.
6793
6794 2004-05-30  Michael Koch  <konqueror@gmx.de>
6795
6796         * gnu/java/math/MPN.java,
6797         java/awt/geom/Arc2D.java:
6798         Fixed javadocs all over.
6799
6800 2004-05-30  Michael Koch  <konqueror@gmx.de>
6801
6802         * java/awt/DefaultKeyboardFocusManager.java
6803         (dispatchEvent): Call method to get key event dispatchers.
6804         (dispatchKeyEvent): Call method to get key event post processors.
6805         * javax/swing/JComponent.java
6806         (listenerList): Made protected.
6807         * javax/swing/JOptionPane.java
6808         (message): Don't initialize.
6809         (JOptionPane): Set message text.
6810         * javax/swing/JPopupMenu.java
6811         (show): Fixed typo in argument name.
6812         * javax/swing/RepaintManager.java
6813         (paintDirtyRegions): Use public API of java.util.Map.
6814         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6815         (positionForMouseEvent): Removed redundant ';'.
6816         (continueDrag): Use method arguments.
6817
6818 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6819
6820         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6821         results.
6822
6823 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6824
6825         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6826         _Jv_AllocBytes.
6827         * gnu/gcj/RawDataManaged.java: New file.
6828         * java/lang/Thread.java (data): Declare as RawDataManaged.
6829         * java/lang/natThread.cc (init_native): Cast natThread data to
6830         RawDataManaged, not jobject.
6831         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6832         * Makefile.in: Rebuilt.
6833
6834 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6835
6836         * java/util/SimpleTimeZone.java: Reverting my last change until I
6837         can fix it properly.
6838
6839 2004-05-27  Michael Koch  <konqueror@gmx.de>
6840
6841         * javax/swing/JPopupMenu.java
6842         (isVisible): Do not use visible directly.
6843         (setVisible): Likewise.
6844         * javax/swing/JWindow.java
6845         (JWindow): call accessible constructor.
6846         * javax/swing/RepaintManager.java
6847         (paintDirtyRegions): Use public methods to obtain iterator.
6848
6849 2004-05-25  David Jee  <djee@redhat.com>
6850
6851         * java/awt/Container.java
6852         (remove): Set component's parent to null only after we removed the
6853         component from its parent's layout manager.
6854
6855 2004-05-25  David Jee  <djee@redhat.com>
6856
6857         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6858         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6859         is valid.
6860         * gnu/java/awt/peer/gtk/GtkListPeer.java
6861         (getSize): Change native method declaration.
6862         (minimumSize): Pass visible row count into getSize().
6863         (preferredSize): Likewise.
6864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6865         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6866         natural size. Use visible row count to determine the final height
6867         value to return.
6868
6869 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6870
6871         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6872         (setClip): Minor correction to order of operations.
6873
6874         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6875         * javax/swing/ScrollPaneLayout.java: Likewise.
6876         * javax/swing/JViewPort.java: Likewise.
6877         * javax/swing/ViewportLayout.java: Likewise.
6878
6879         * javax/swing/JComponent.java: Rewrite.
6880         * javax/swing/RepaintManager.java: Likewise.
6881
6882         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6883         * javax/swing/JList.java 
6884         (setSelectedIndices):
6885         (getSelectedIndices):
6886         (getSelectedValues): New functions.
6887         (getPreferredScrollableViewportSize): Return preferred size.
6888         (getScrollableUnitIncrement):
6889         (getScrollableBlockIncrement): Initial implementations.
6890         * javax/swing/JRootPane.java: Clean up slightly.
6891         (getUI):
6892         (setUI):
6893         (updateUI):
6894         (getUIClassID):
6895         (isValidateRoot): Add overrides from JComponent.
6896         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6897         * javax/swing/UIManager.java (getDimension): Return the dimension.
6898
6899         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6900         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6901         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6902         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6903         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6904         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6905         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6906         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6907         Likewise, and set background.
6908         * javax/swing/plaf/basic/BasicListUI.java: 
6909         Likewise, and improve a bit.
6910         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6911         Likewise, and adjust calculations.
6912         * javax/swing/plaf/basic/BasicViewportUI.java:
6913         Likewise, and improve a bit.
6914         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6915         (Button.margin): Shrink.
6916
6917         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6918         Hack to set horizontal always, workaround pango.
6919
6920         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6922         Synchronize more often, check cairo status after ops,
6923         handle changes to cairo pattern API, check for disposal.
6924
6925 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6926
6927         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6928         (BasicMenuItemUI): Create propertyChangeListener.
6929         (getPath):Implemented.
6930         (installListeners): Add propertyChangeListener to menuItem.
6931         (uninstallListeners): Remove propertyChangeListener from menuItem.
6932         (update): Implemented.
6933         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6934         (mouseEntered): Take insets of popup menu into account when
6935         calculating position of popup menu.     
6936         
6937 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6938
6939         * Makefile.am: Added new file. 
6940         * Makefile.in: Regenerate.
6941         * javax/swing/JMenuBar.java:
6942         Started implementation.
6943         * javax/swing/JPopupMenu.java:
6944         (setVisible): Fixed location of lightweight/mediumweight
6945         popup menu.
6946         (show): Fixed location of PopupMenu.
6947         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6948         New file. UI Delegate for JMenuBar.
6949         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6950         (mouseEntered): Corrected position of the submenu.
6951
6952 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6953
6954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6955         to _gtk_accel_group_attach.
6956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6957         Likewise.
6958
6959         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6960         package access.  Don't override setFont.
6961         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6962         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6963         gtkWidgetRequestFocus package access.
6964         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6965         setFont.
6966         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6967         Give gtkWidgetRequestFocus package access.
6968         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6969         gtkWidgetRequestFocus package access.  Don't override setFont.
6970         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6971         setFont.
6972         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6973         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6974         region.
6975         (gtkSetFont): Likewise.
6976         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6977         Implement.
6978         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6979         (gtkSetFont): Whitespace fix.
6980
6981         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6982         (gtkWidgetSetUsize): Remove method.
6983
6984 2004-05-18  David Jee  <djee@redhat.com>
6985
6986         * java/awt/image/MemoryImageSource.java
6987         (newPixels(int,int,int,int,boolean)): Set only the specified
6988         rectangle of pixels.
6989         (newPixels(byte[],ColorModel,int,int)): Implement.
6990         (newPixels(int[],ColorModel,int,int)): Implement.
6991
6992 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6993
6994         * Makefile.am: Added new file.
6995         * Makefile.in: Regenerate.
6996         * javax/swing/JMenu.java: Started 
6997         implementation.
6998         * javax/swing/JPopupMenu.java:
6999         (insert): If specified index is -1, then
7000         add component at the end.
7001         (isPopupTrigger): Reimplemented.
7002         (JPopupMenu.LightWeightPopup): setBounds
7003         of the lightWeightPopup before adding it 
7004         to the layeredPane.
7005         (javax/swing/plaf/basic/BasicIconFactory.java):
7006         (getMenuArrowIcon): Implemented.
7007         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7008         (getPreferredSize): Add size of the arrow icon 
7009         if this menu item is instance of JMenu.
7010         (paintMenuItem): Paint arrow icon if this 
7011         menu item is a submenu.
7012         * javax/swing/plaf/basic/BasicMenuUI.java:
7013         New File. UI Delegate for JMenu.
7014
7015 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
7016
7017         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7018         Post KEY_TYPED events.
7019         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7020         (generates_key_typed_event): Remove function.
7021
7022 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7023
7024         * javax/swing/JRootPane.java
7025         (JRootPane.RootLayout): Reimplemented to 
7026         set bounds of contentPane and menuBar.
7027         (setJMenuBar): Add menu bar to the layered pane.
7028         (createLayeredPane): Set layout of layeredPane
7029         to null.
7030         * javax/swing/JLayeredPane.java:
7031         (addImpl): Calculate index of the component in the
7032         layeredPane according to the specified position within 
7033         the layer.      
7034
7035 2004-05-17  David Jee  <djee@redhat.com>
7036
7037         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7038         (setPixels): Change color model to the default model after
7039         converting pixels.
7040         * java/awt/image/MemoryImageSource.java
7041         (newPixels): Set only the specified rectangle of pixels.
7042
7043 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7044
7045         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7046         -l-java-beans -l-javax-accessibility -l-javax-swing.
7047
7048         * java/awt/AWTEvent.java (toString): Print source's name rather
7049         than the source itself.
7050
7051 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7052
7053         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7054         native.
7055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7056         (gdk_color_to_java_color): New function.
7057         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7058
7059 2004-05-12  David Jee  <djee@redhat.com>
7060
7061         * java/awt/image/RGBImageFilter.java:
7062         Initialize origmodel as null.
7063         (makeColor): Fix pixel component order.
7064         (filterRGBPixels): Fix pixel iteration.
7065         (setPixels): Add extra checks for index color model. Convert pixels
7066         to default color model if necessary.
7067         (convertColorModelToDefault): New override method for byte pixels.
7068         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7069         (makeColorbyDefaultCM): New override method for byte pixels.
7070         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7071         (makeColor): Fix pixel component order.
7072
7073 2004-05-11  Kim Ho  <kho@redhat.com>
7074
7075         * javax/swing/Box.java:
7076         Comment out more parts of Box.Filler.
7077
7078 2004-05-11  Kim Ho  <kho@redhat.com>
7079
7080         * javax/swing/Box.java:
7081         Remove reference to AccessibleAWTComponent so
7082         it compiles again.
7083
7084 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7085
7086         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7087         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7088         implementation of list peer to use GtkTreeView instead of
7089         deprecated GtkCList.
7090
7091 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7092
7093         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7094         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7095         (handleEvent): Remove keyChar argument to
7096         gtkWidgetDispatchKeyEvent calls.
7097         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7098         compiler warnings.
7099         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7100         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7102         Likewise.
7103
7104 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7105
7106         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7107         (gtkWidgetRequestFocus): Mark protected.
7108         (GtkComponentPeer): Only set the peer's bounds if its component
7109         is valid.
7110         * java/awt/Component.java (static): Set the default keyboard
7111         focus manager.
7112         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7113         requestFocusInWindow(temporary)): Don't request focus if the
7114         component is not showing.  Get tree lock before traversing
7115         component hierarchy.
7116         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7117         Only set the global focus owner if it is not a Window.
7118         (processKeyEvent): Consume keystrokes associated with the focus
7119         traversal keystroke.
7120         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7121         downFocusCycle): Call requestFocusInWindow instead of
7122         requestFocus.
7123         * java/awt/EventDispatchThread.java (run): Move setting of
7124         default keyboard focus manager to Component.java.
7125         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7126         (awt_keycode_to_keysym): New function.
7127         (gtkWidgetDispatchKeyEvent): Finish implementation.
7128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7129         (pre_event_handler): Add FIXME comment.
7130
7131         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7132         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7133         (gtkWidgetRequestFocus): New method.
7134         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7135         disable Tab and Shift-Tab keystrokes.
7136         (addNotify, appendText, insertText, replaceText): Simplify peer
7137         retrieval code.
7138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7139         (connectSignals): Remove connections to "commit" signals.
7140         Remove C++-style comments.
7141
7142         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7143         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7144         (handleEvent): Activate GTK button when the space bar key is
7145         pressed.
7146         (gtkActivate): New method.
7147
7148 2004-05-06  David Jee  <djee@redhat.com>
7149
7150         * java/awt/image/CropImageFilter.java
7151         (setPixels): Implement for byte array pixels.
7152         * java/awt/image/ReplicateScaleFilter.java
7153         (setPixels): Implement for byte array pixels.
7154         (replicatePixels): Overload for byte array pixels.
7155
7156 2004-05-06  Kim Ho  <kho@redhat.com>
7157
7158         * javax/swing/Box.java:
7159         (getAccessibleContext): Return an instance of the 
7160         correct class.
7161
7162 2004-05-05  David Jee  <djee@redhat.com>
7163
7164         * gnu/java/awt/peer/gtk/GdkGraphics.java
7165         (drawImage): When component is null, use SystemColor.window as
7166         the default bgcolor.
7167         * gnu/java/awt/peer/gtk/GtkImage.java
7168         (setPixels): We can avoid iterating through the pixel rows only
7169         when height is 1.
7170         * java/awt/Image.java
7171         (getScaledInstance): Partially implement.
7172         * java/awt/image/CropImageFilter.java
7173         (setProperties): Fix "filter" property.
7174         (setPixels): Implement.
7175         * java/awt/image/ReplicateScaleFilter.java
7176         (setDimensions): Use scaled dimensions.
7177         (setPixels): Implement.
7178         (replicatePixels): New method.
7179
7180 2004-05-05  David Jee  <djee@redhat.com>
7181
7182         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7183         (convertPixels): If either pixels or model is null, return null.
7184         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7185         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7186         is null, do nothing and return.
7187
7188 2004-05-03  Kim Ho  <kho@redhat.com>
7189
7190         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7191         (getGraphics): Like GtkFramePeer, the Graphics
7192         object needs to be translate to account for
7193         window decorations.
7194         (postMouseEvent): New method. Account for
7195         translation.
7196         (postExposeEvent): ditto.
7197         * javax/swing/Box.java: Stubbed.
7198         * javax/swing/JDialog.java: Ran through jalopy
7199         to fix indentation.
7200         (JDialog): Call SwingUtilities' getOwnerFrame
7201         for null owners.
7202         (setLayout): Check isRootPaneCheckingEnabled
7203         * javax/swing/JOptionPane.java: Re-implemented.
7204         * javax/swing/SwingUtilities.java:
7205         (getOwnerFrame): Static method to grab a default
7206         owner frame for Dialogs that don't specify owners.
7207         * javax/swing/event/SwingPropertyChangeSupport.java:
7208         (firePropertyChange): Fix early exit condition.
7209         * javax/swing/plaf/basic/BasicLabelUI.java:
7210         (paint): Avoid painting text if it is null 
7211         or empty.
7212         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7213         Implement.
7214
7215 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7216
7217         * Makefile.am: Added new file.
7218         * Makefile.in: Regenerate.
7219         * javax/swing/JPopupMenu.java:
7220         Started implementation.
7221         * javax/swing/JWindow.java
7222         (JWindow): call super() if parent for window
7223         is not specified.
7224         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7225         New File. UI Delegate for JPopupMenu.
7226
7227 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7228
7229         * javax/swing/JApplet.java: Indicated that JApplet
7230         implements RootPaneContainer and made method of this
7231         interface public. 
7232         * javax/swing/JFrame.java: Ditto.
7233         * javax/swing/JWindow.java: Ditto.
7234         
7235 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7236
7237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7238         (nativeSetBounds): Call gdk_window_move in addition to
7239         gtk_window_move.
7240
7241         * java/applet/Applet.java (preferredSize): Call parent's
7242         preferredSize if the applet stub is null.
7243         (minimumSize): Likewise for parent's minimumSize.
7244
7245 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7246
7247         * javax/swing/JMenuItem.java
7248         (createActionPropertyChangeListener): Implemented.
7249         (processMouseEvent): Ditto.
7250         (fireMenuDragMouseEntered): Ditto.
7251         (fireMenuDragMouseExited): Ditto.
7252         (fireMenuDragMouseDragged): Ditto.
7253         (fireMenuDragMouseReleased): Ditto.
7254         (menuSelectionChanged): Ditto.
7255         (getSubElements): Ditto.
7256         (getComponent): Ditto.
7257         (addMenuDragMouseListener): Ditto.
7258         (removeMenuDragMouseListener):Ditto.
7259         (addMenuKeyListener): Ditto.
7260         (removeMenuKeyListener): Ditto.
7261         * javax/swing/plaf/basic/BasicMenuItemUI.java
7262         (doClick): Imlemented.
7263         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7264         Don't handle mouse events here. Pass them to 
7265         MenuSelectionManager.
7266         
7267 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7268         Used correct version of jalopy configuration
7269         file to fix style in the files below.
7270
7271 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7272
7273         * javax/swing/JCheckBoxMenuItem.java: 
7274         Fixed style and removed unnecessary comments.
7275         * javax/swing/JMenuItem.java: Ditto.
7276         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7277         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7278         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7279         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7280
7281 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7282
7283         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7284         C-style.
7285
7286         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7287
7288         * java/awt/ContainerOrderFocusTraversalPolicy.java
7289         (getComponentAfter): Start from current component and work up
7290         the component hierarchy until an acceptable component is found.
7291         Synchronize on tree lock.
7292         (getComponentBefore): Likewise.
7293
7294 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7295
7296         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7297         focus-related debugging messages.
7298         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7299         * java/awt/EventDispatchThread.java: Likewise.
7300         * java/awt/KeyboardFocusManager.java: Likewise.
7301         * java/awt/Window.java: Likewise.
7302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7304
7305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7306         new C++-style comments to C-style comments.
7307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7308
7309         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7310         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7311         (handleEvent): Dispatch key press and key release events to
7312         backing widget.
7313         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7314         (gtkWidgetRequestFocus): New method.
7315         (gtkWidgetDispatchKeyEvent): Likewise.
7316         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7317         requestFocusInWindow, requestFocusInWindow(boolean),
7318         getFocusCycleRootAncestor, nextFocus, transferFocus,
7319         transferFocusBackward, transferFocusUpCycle, hasFocus,
7320         isFocusOwner): Implement and document focus-handling methods.
7321         (setFocusTraversalKeys): Inherit focus traversal keys when
7322         keystrokes argument is null.  Fix focus-handling documentation
7323         throughout class.
7324         * java/awt/Container.java (setFocusTraversalKeys,
7325         getFocusTraversalKeys, areFocusTraversalKeysSet,
7326         isFocusCycleRoot, setFocusTraversalPolicy,
7327         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7328         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7329         Implement and document focus-handling methods.
7330         (transferFocusBackward): Remove method.
7331         (readObject, writeObject): Implement and document serialization
7332         methods.
7333         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7334         and document.
7335         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7336         document.
7337         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7338         partially document.
7339         * java/awt/EventDispatchThread.java (run): Set default keyboard
7340         focus manager.  Attempt to dispatch each event to the keyboard
7341         focus manager before normal dispatch.
7342         * java/awt/KeyboardFocusManager.java: Implement and partially
7343         document.
7344         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7345         (show): Focus initial component when window is shown for the
7346         first time.
7347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7348         (pre_event_handler): Replace complex key press and key release
7349         logic with simple callbacks into GtkComponentPeer.
7350         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7351
7352 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7353
7354         * javax/swing/MenuSelectionManager.java
7355         (componentForPoint): Added new method. 
7356         (defaultManager): New Method. Implemented.
7357         (getSelectedPath): Ditto.
7358         (isComponentPartOfCurrentMenu): Ditto.
7359         (processKeyEvent): Added new method.
7360         (processMouseEvent): New Method. Implemented.
7361         (setSelectedPath): Ditto.
7362         (getPath): Ditto.
7363
7364 2004-04-19  Kim Ho  <kho@redhat.com>
7365
7366         * java/awt/Container.java: 
7367         (remove): Set the component's parent to null.
7368         (getComponentAt): Implement.
7369         * javax/swing/JComponent.java:
7370         (JComponent): Initialize defaultLocale
7371         (getDefaultLocale): Implement.
7372         (setDefaultLocale): ditto.
7373         * javax/swing/JSlider.java:
7374         (JSlider): Fix calculation of value.
7375         * javax/swing/JSplitPane.java: Implement.
7376         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7377         Change SplitPane's default divider size.
7378         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7379         (paint): Remove unused code.
7380         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7381         Added comments and ran through jalopy.
7382         (setBasicSplitPaneUI): Get reference to hidden divider
7383         and set up one touch buttons if necessary.
7384         (setBorder): Fire propertyChangeEvent only if 
7385         borders are different.
7386         (getPreferredSize): Defer to layout manager.
7387         (propertyChange): Implement.
7388         (oneTouchExpandableChanged): ditto.
7389         (createLeftOneTouchButton): Use BasicArrowButton.
7390         (createRightOneTouchButton): ditto.
7391         (moveDividerTo): New method. Moves the divider
7392         to a set location based on the last divider location.
7393         (BasicSplitPaneDivider::MouseHandler): Implement.
7394         (BasicSplitPaneDivider::OneTouchButton): Removed.
7395         (BasicSplitPaneDivider::DragController): Implement.
7396         (BasicSplitPaneDivider::VerticalDragController):
7397         ditto.
7398         (BasicSplitPaneDivider::DividerLayout): ditto.
7399         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7400         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7401         (calculateLayoutInfo): Don't show component if it's
7402         null.
7403         (paintTab): Fix title paint logic.
7404
7405 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7406
7407         PR libgcj/8321
7408         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7409         (setStartRule,setEndRule): Don't take abs of day number.
7410         (getOffset): Clarify docs.  Add argument checks.
7411         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7412         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7413         endTimeMode.
7414         * testsuite/libjava.mauve/xfails
7415         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7416
7417 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7418
7419         Layout interfaces during preparation, not initialization. 
7420         * java/lang/natClass.cc (initializeClass): Move 
7421         _Jv_LayoutInterfaceMethods call...
7422         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7423
7424 2004-05-19  Anthony Green  <green@localhost.localdomain>
7425
7426         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7427         gnu.javax.rmi code.
7428         * Makefile.in: Rebuilt.
7429         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7430         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7431         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7432         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7433         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7434         gnu/javax/rmi/CORBA/DelegateFactory.java,
7435         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7436         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7437         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7438         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7439         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7440         gnu/javax/rmi/PortableServer.java: Remove files.
7441
7442 2004-05-19  Anthony Green  <green@redhat.com>
7443
7444         * Makefile.am: Define JAVA_EXT_DIRS.
7445         * Makefile.in: Rebuilt.
7446         * java/lang/natRuntime.cc (insertSystemProperties): Set
7447         java.ext.dirs property.
7448
7449 2004-05-16  Mark Wielaard  <mark@klomp.org>
7450
7451         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7452
7453 2004-05-15  Mark Wielaard  <mark@klomp.org>
7454
7455         * doc/cni.sgml: Removed, merged into gcj.texi.
7456
7457 2004-05-15  Mark Wielaard  <mark@klomp.org>
7458
7459         * Makefile.am (ordinary_java_source_files): Add new javax.print
7460         classes.
7461         * Makefile.in: Regenerated.
7462
7463 2004-05-15  Michael Koch  <konqueror@gmx.de>
7464
7465         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7466         javax/print/attribute/standard/DateTimeAtCreation.java,
7467         javax/print/attribute/standard/DateTimeAtProcessing.java,
7468         javax/print/attribute/standard/DocumentName.java,
7469         javax/print/attribute/standard/JobHoldUntil.java,
7470         javax/print/attribute/standard/JobImpressionsCompleted.java,
7471         javax/print/attribute/standard/JobMessageFromOperator.java,
7472         javax/print/attribute/standard/JobName.java,
7473         javax/print/attribute/standard/JobOriginatingUserName.java,
7474         javax/print/attribute/standard/JobPriority.java,
7475         javax/print/attribute/standard/JobPrioritySupported.java,
7476         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7477         javax/print/attribute/standard/OutputDeviceAssigned.java,
7478         javax/print/attribute/standard/PrinterInfo.java,
7479         javax/print/attribute/standard/PrinterLocation.java,
7480         javax/print/attribute/standard/PrinterMakeAndModel.java,
7481         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7482         javax/print/attribute/standard/PrinterName.java,
7483         javax/print/attribute/standard/QueuedJobCount.java,
7484         javax/print/attribute/standard/RequestingUserName.java:
7485         Fixed javadocs all over.
7486
7487 2004-05-15  Michael Koch  <konqueror@gmx.de>
7488
7489         * javax/print/DocFlavor.java,
7490         javax/print/attribute/standard/ColorSupported.java,
7491         javax/print/attribute/standard/Compression.java,
7492         javax/print/attribute/standard/CopiesSupported.java,
7493         javax/print/attribute/standard/Fidelity.java,
7494         javax/print/attribute/standard/Finishings.java,
7495         javax/print/attribute/standard/JobImpressionsSupported.java,
7496         javax/print/attribute/standard/JobKOctetsSupported.java,
7497         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7498         javax/print/attribute/standard/JobSheets.java,
7499         javax/print/attribute/standard/JobState.java,
7500         javax/print/attribute/standard/JobStateReason.java,
7501         javax/print/attribute/standard/JobStateReasons.java,
7502         javax/print/attribute/standard/Media.java,
7503         javax/print/attribute/standard/MediaSizeName.java,
7504         javax/print/attribute/standard/MultipleDocumentHandling.java,
7505         javax/print/attribute/standard/NumberUpSupported.java,
7506         javax/print/attribute/standard/OrientationRequested.java,
7507         javax/print/attribute/standard/PDLOverrideSupported.java,
7508         javax/print/attribute/standard/PageRanges.java,
7509         javax/print/attribute/standard/PresentationDirection.java,
7510         javax/print/attribute/standard/PrintQuality.java,
7511         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7512         javax/print/attribute/standard/PrinterMoreInfo.java,
7513         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7514         javax/print/attribute/standard/PrinterResolution.java,
7515         javax/print/attribute/standard/PrinterState.java,
7516         javax/print/attribute/standard/PrinterStateReason.java,
7517         javax/print/attribute/standard/PrinterStateReasons.java,
7518         javax/print/attribute/standard/PrinterURI.java,
7519         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7520         javax/print/attribute/standard/Severity.java,
7521         javax/print/attribute/standard/SheetCollate.java,
7522         javax/print/attribute/standard/Sides.java:
7523         Added serialVersionUID and removed final keyword where it doenst
7524         belong.
7525
7526 2004-05-15  Michael Koch  <konqueror@gmx.de>
7527
7528         * javax/print/PrintServiceLookup.java: New file.
7529
7530 2004-05-15  Michael Koch  <konqueror@gmx.de>
7531
7532         * javax/print/DocFlavor.java:
7533         Implemented all flavor classes.
7534
7535 2004-05-15  Michael Koch  <konqueror@gmx.de>
7536
7537         * javax/print/attribute/standard/ColorSupported.java,
7538         javax/print/attribute/standard/Compression.java,
7539         javax/print/attribute/standard/CopiesSupported.java,
7540         javax/print/attribute/standard/Fidelity.java,
7541         javax/print/attribute/standard/Finishings.java,
7542         javax/print/attribute/standard/JobImpressionsSupported.java,
7543         javax/print/attribute/standard/JobKOctetsSupported.java,
7544         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7545         javax/print/attribute/standard/JobSheets.java,
7546         javax/print/attribute/standard/JobState.java,
7547         javax/print/attribute/standard/JobStateReason.java,
7548         javax/print/attribute/standard/JobStateReasons.java,
7549         javax/print/attribute/standard/Media.java,
7550         javax/print/attribute/standard/MediaSizeName.java,
7551         javax/print/attribute/standard/MultipleDocumentHandling.java,
7552         javax/print/attribute/standard/NumberUpSupported.java,
7553         javax/print/attribute/standard/OrientationRequested.java,
7554         javax/print/attribute/standard/PDLOverrideSupported.java,
7555         javax/print/attribute/standard/PageRanges.java,
7556         javax/print/attribute/standard/PresentationDirection.java,
7557         javax/print/attribute/standard/PrintQuality.java,
7558         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7559         javax/print/attribute/standard/PrinterMoreInfo.java,
7560         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7561         javax/print/attribute/standard/PrinterResolution.java,
7562         javax/print/attribute/standard/PrinterState.java,
7563         javax/print/attribute/standard/PrinterStateReason.java,
7564         javax/print/attribute/standard/PrinterStateReasons.java,
7565         javax/print/attribute/standard/PrinterURI.java,
7566         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7567         javax/print/attribute/standard/Severity.java,
7568         javax/print/attribute/standard/SheetCollate.java,
7569         javax/print/attribute/standard/Sides.java: New files.
7570
7571 2004-05-15  Michael Koch  <konqueror@gmx.de>
7572
7573         * javax/print/Doc.java
7574         (getPrintData): Throws IOException.
7575         (getReaderForText): Likewise.
7576         (getStreamForBytes): Likewise.
7577         * javax/print/DocFlavor.java:
7578         Fixed filename in copyright.
7579         (serialVersionUID): New field.
7580         * javax/print/ServiceUIFactory.java:
7581         Made all constants final.
7582         * javax/print/AttributeException.java
7583         javax/print/MultiDoc.java
7584         javax/print/MultiDocPrintJob.java
7585         javax/print/MultiDocPrintService.java
7586         javax/print/StreamPrintService.java
7587         javax/print/URIException.java: New files.
7588         * javax/print/Makefile.am
7589         (EXTRA_DIST): Added all new files.
7590
7591 2004-05-15  Michael Koch  <konqueror@gmx.de>
7592
7593         * javax/print/attribute/standard/Copies.java,
7594         javax/print/attribute/standard/DateTimeAtCompleted.java,
7595         javax/print/attribute/standard/DateTimeAtCreation.java,
7596         javax/print/attribute/standard/DateTimeAtProcessing.java,
7597         javax/print/attribute/standard/DocumentName.java,
7598         javax/print/attribute/standard/JobHoldUntil.java,
7599         javax/print/attribute/standard/JobImpressions.java,
7600         javax/print/attribute/standard/JobImpressionsCompleted.java,
7601         javax/print/attribute/standard/JobKOctets.java,
7602         javax/print/attribute/standard/JobKOctetsProcessed.java,
7603         javax/print/attribute/standard/JobMediaSheets.java,
7604         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7605         javax/print/attribute/standard/JobMessageFromOperator.java,
7606         javax/print/attribute/standard/JobName.java,
7607         javax/print/attribute/standard/JobOriginatingUserName.java,
7608         javax/print/attribute/standard/JobPriority.java,
7609         javax/print/attribute/standard/JobPrioritySupported.java,
7610         javax/print/attribute/standard/NumberOfDocuments.java,
7611         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7612         javax/print/attribute/standard/NumberUp.java,
7613         javax/print/attribute/standard/OutputDeviceAssigned.java,
7614         javax/print/attribute/standard/PagesPerMinute.java,
7615         javax/print/attribute/standard/PagesPerMinuteColor.java:
7616         Fixed @return tag all over.
7617
7618 2004-05-15  Michael Koch  <konqueror@gmx.de>
7619
7620         * javax/print/attribute/AttributeSetUtilities.java
7621         (verifyCategoryForValue): Fixed typo in javadoc.
7622         * javax/print/attribute/HashAttributeSet.java
7623         (containsKey): Fixed @return tag.
7624         (comtainsValue): Likewise.
7625         (equals): Likewise.
7626         * javax/print/attribute/IntegerSyntax.java
7627         (equals): Likewise.
7628         * javax/print/attribute/ResolutionSyntax.java
7629         (equals): Likewise.
7630         (getCrossFeedResolution): Removed unused code.
7631         (getFeedResolution): Likewise.
7632         * javax/print/attribute/SetOfIntegerSyntax.java
7633         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7634         (equals): Fixed @return tag.
7635         * javax/print/attribute/TextSyntax.java
7636         (TextSyntax): Take locale into account.
7637         (hashCode): Better implementation.
7638
7639 2004-05-15  Michael Koch  <konqueror@gmx.de>
7640
7641         * javax/print/CancelablePrintJob.java,
7642         javax/print/Doc.java,
7643         javax/print/DocFlavor.java,
7644         javax/print/DocPrintJob.java,
7645         javax/print/FlavorException.java,
7646         javax/print/PrintException.java,
7647         javax/print/PrintService.java,
7648         javax/print/ServiceUIFactory.java: New files.
7649
7650 2004-05-15  Mark Wielaard  <mark@klomp.org>
7651
7652         * gnu/regexp/CharIndexedReader.java: Removed.
7653         * gnu/regexp/REFilterReader.java: Likewise.
7654         * gnu/regexp/RETokenLookAhead.java: Likewise.
7655         * Makefile.am (ordinary_java_source_files): Remove above classes.
7656         * Makefile.in: Regenerated.
7657
7658 2004-05-14  Tom Tromey  <tromey@redhat.com>
7659
7660         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7661         not `XGraphicsConfiguration.XOffScreenImage'.
7662
7663 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7664
7665         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7666
7667 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7668
7669         * include/jni.h (_Jv_func): Removed.
7670         (struct JNINativeInterface): Use `void *' for reserved slots.
7671         (struct JNIInvokeInterface): Likewise.
7672
7673 2004-05-11  Michael Koch  <konqueror@gmx.de>
7674
7675         * gnu/java/net/natPlainSocketImplPosix.cc
7676         (read): Fixed typo in expression.
7677
7678 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7679
7680         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7681         ld_library_additions. Adjust all calls to libjava_invoke to match
7682         the new argument.
7683
7684         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7685         path to cxxflagslist.
7686         Pass path of libstdc++ to libjava_invoke.
7687
7688         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7689         libjava_invoke arguments.
7690
7691 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7692
7693         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7694         reality.
7695
7696 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7697
7698         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7699         main binary against the JNI shared library.
7700
7701 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7702
7703         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7704         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7705         (SimpleTimeZone): Tweak docs.  Add new variation.
7706         (setStartRule,setEndRule): Add new variations.  Use
7707         startTimeMode and endTimeMode.
7708
7709 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7710
7711         * java/util/Calendar.java (getActualMinimum,
7712         getActualMaximum):  Remove abstract.  Implement.
7713
7714 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7715
7716         Run the jni tests using the interpreter.
7717         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7718         options_cxx to shared lib compile command.
7719         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7720         they are used to link the shared lib, not the main binary.
7721         Use libjava_invoke to run gij.
7722
7723 2004-05-06  Michael Koch  <konqueror@gmx.de>
7724
7725         * java/util/logging/Level.java
7726         (parse): Use == instead of String.equals().
7727
7728 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7729
7730         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7731         verify_field_signature and verify_method_signature, not 
7732         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7733         (_Jv_ClassReader::handleField): Likewise.
7734         (_Jv_ClassReader::handleMethod): Likewise.
7735
7736 2004-05-06  Michael Koch  <konqueror@gmx.de>
7737
7738         * javax/swing/table/TableColumn.java:
7739         Reformated.
7740
7741 2004-05-06  Michael Koch  <konqueror@gmx.de>
7742
7743         * javax/imageio/spi/ImageReaderWriterSpi.java
7744         (ImageReaderWriterSpi): Made it public.
7745         * javax/imageio/stream/ImageInputStream.java:
7746         Clean up imports.
7747
7748 2004-05-06  Michael Koch  <konqueror@gmx.de>
7749
7750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7751         Removed empty line.
7752
7753 2004-05-06  Michael Koch  <konqueror@gmx.de>
7754
7755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7756         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7757         New files.
7758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7759         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7761         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7762         their own source file.
7763         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7764         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7765         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7766         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7767         (create): Define variable on top of function.
7768         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7769         (menu_pos): Prototyped.
7770         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7771         (setTitle): Removed.
7772         * jni/gtk-peer/gthread-jni.c
7773         (gdk_threads_wake): Removed.
7774         * Makefile.am (gtk_c_source_files): Added new files
7775         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7776         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7777         * Makefile.in: Regenerated.
7778
7779 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7780
7781         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7782         call.
7783
7784 2004-05-05  Mark Wielaard  <mark@klomp.org>
7785
7786         * javax/swing/AbstractButton.java: Replace special HTML entities with
7787         ASCII equivalent.
7788         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7789         * javax/swing/DefaultButtonModel.java: Likewise.
7790         * javax/swing/DefaultListModel.java: Likewise.
7791         * javax/swing/JList.java: Likewise.
7792         * javax/swing/JSlider.java: Likewise.
7793         * javax/swing/ListModel.java: Likewise.
7794         * javax/swing/Popup.java: Likewise.
7795         * javax/swing/SwingUtilities.java: Likewise.
7796
7797 2004-05-05  Michael Koch  <konqueror@gmx.de>
7798
7799         * javax/swing/AbstractButton.java,
7800         javax/swing/ActionMap.java,
7801         javax/swing/DefaultButtonModel.java,
7802         javax/swing/DefaultListModel.java,
7803         javax/swing/ImageIcon.java,
7804         javax/swing/JComboBox.java,
7805         javax/swing/JComponent.java,
7806         javax/swing/JFrame.java,
7807         javax/swing/JInternalFrame.java,
7808         javax/swing/JMenuBar.java,
7809         javax/swing/JMenuItem.java,
7810         javax/swing/JOptionPane.java,
7811         javax/swing/JProgressBar.java,
7812         javax/swing/JRootPane.java,
7813         javax/swing/JScrollBar.java,
7814         javax/swing/JScrollPane.java,
7815         javax/swing/JSeparator.java,
7816         javax/swing/JSlider.java,
7817         javax/swing/JTabbedPane.java,
7818         javax/swing/JTable.java,
7819         javax/swing/JTextField.java,
7820         javax/swing/JToolBar.java,
7821         javax/swing/JToolTip.java,
7822         javax/swing/JTree.java,
7823         javax/swing/JViewport.java,
7824         javax/swing/JWindow.java,
7825         javax/swing/KeyStroke.java,
7826         javax/swing/LookAndFeel.java,
7827         javax/swing/SwingUtilities.java,
7828         javax/swing/Timer.java,
7829         javax/swing/ToolTipManager.java,
7830         javax/swing/UIDefaults.java,
7831         javax/swing/border/TitledBorder.java,
7832         javax/swing/filechooser/FileSystemView.java,
7833         javax/swing/plaf/basic/BasicButtonListener.java,
7834         javax/swing/plaf/basic/BasicButtonUI.java,
7835         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7836         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7837         javax/swing/plaf/basic/BasicLabelUI.java,
7838         javax/swing/plaf/basic/BasicMenuItemUI.java,
7839         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7840         javax/swing/plaf/basic/BasicRootPaneUI.java,
7841         javax/swing/plaf/basic/BasicScrollBarUI.java,
7842         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7843         javax/swing/plaf/basic/BasicSliderUI.java,
7844         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7845         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7846         javax/swing/table/JTableHeader.java,
7847         javax/swing/text/AbstractDocument.java,
7848         javax/swing/text/DefaultCaret.java,
7849         javax/swing/text/StyledEditorKit.java,
7850         javax/swing/tree/DefaultTreeCellEditor.java:
7851         Cleaned up imports.
7852
7853 2004-05-05  Michael Koch  <konqueror@gmx.de>
7854
7855         * java/util/prefs/AbstractPreferences.java
7856         (AbstractPreferences): Added parenthesis for clarity.
7857         Closes classpath bug #7940.
7858
7859 2004-05-05  Tom Tromey  <tromey@redhat.com>
7860
7861         * javax/naming/CompoundName.java (endsWith): Look at correct
7862         element of source name.
7863
7864 2004-05-05  Mark Wielaard  <mark@klomp.org>
7865
7866         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7867         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7868
7869 2004-05-05  Tom Tromey  <tromey@redhat.com>
7870
7871         * java/io/BufferedReader.java (skip): Removed unused
7872         variable.
7873
7874 2004-05-05  Michael Koch  <konqueror@gmx.de>
7875
7876         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7877
7878 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7879
7880         * java/text/AttributedString.java,
7881         java/text/AttributedStringIterator.java,
7882         java/text/Collator.java,
7883         java/text/DecimalFormatSymbols.java,
7884         java/text/NumberFormat.java,
7885         java/text/RuleBasedCollator.java:
7886         Cleaned up imports.
7887
7888 2004-05-05  Tom Tromey  <tromey@redhat.com>
7889
7890         * java/text/Format.java: Cleaned up imports.
7891         * java/text/DecimalFormat.java: Cleaned up imports.
7892         * java/security/SecureRandom.java: Cleaned up imports.
7893         (SecureRandom): Removed unused variable.
7894         * java/security/UnresolvedPermission.java: Cleaned up imports.
7895         * java/util/Date.java (parse): Removed unused variable.
7896         * java/util/ResourceBundle.java: Cleaned up imports.
7897         (getBundle): Removed unused variable.
7898         (tryBundle): Likewise.
7899         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7900
7901 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7902
7903         * java/text/SimpleDateFormat.java:
7904         (formatWithAttribute): New method. It implements
7905         the formatting process with attributes.
7906         (format): Use formatWithAttribute.
7907         (formatToCharacterIterator): New method. Use
7908         formatWithAttribute.
7909
7910 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7911
7912         * java/text/MessageFormat.java:
7913         (class Field): New class.
7914         (formatToCharacterIterator): New method.
7915         (format): Use formatInternal now.
7916         (formatInternal): New method. String formatter should
7917         be done here (with attributes). Attributes merging supported.
7918         (parse): More documentation.
7919         (getFormatsByArgumentIndex): New method.
7920         (setFormatByArgumentIndex): New method.
7921         (setFormatsByArgumentIndex): New method.
7922
7923 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7924
7925         * java/text/DecimalFormat.java
7926         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7927         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7928         (parse): Fixed handling of exponentiation notation and grouping.
7929
7930 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7931
7932         * java/text/DecimalFormat.java
7933         (scanFix): Build attribute array. Fixed error reporting.
7934         (applyPatternWithSymbols): Store attributes for the prefix and
7935         suffix.
7936         (formatInternal): New method. Changed the way the string is
7937         computed. Implemented attributes. Cleant up rounding in
7938         exponential notation.
7939         (format): Use formatInternal.
7940         (formatToCharacterIterator): New method.
7941         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7942         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7943         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7944         New fields.
7945
7946 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7947
7948         * java/security/interfaces/DSAKeyPairGenerator.java,
7949         java/security/interfaces/DSAPrivateKey.java,
7950         java/security/interfaces/DSAPublicKey.java,
7951         java/security/interfaces/RSAPrivateKey.java,
7952         java/security/interfaces/RSAPublicKey.java:
7953         Cleaned up imports.
7954
7955 2004-05-04  Michael Koch  <konqueror@gmx.de>
7956
7957         * java/nio/ByteBuffer.java,
7958         java/nio/CharBuffer.java,
7959         java/nio/DoubleBuffer.java,
7960         java/nio/FloatBuffer.java,
7961         java/nio/IntBuffer.java,
7962         java/nio/LongBuffer.java,
7963         java/nio/ShortBuffer.java:
7964         (compareTo): Fixed bogus implementation in all buffer classes.
7965
7966 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7967
7968         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7969         32 bit pixels not 8 bit pixels.
7970         (isCompatibleRaster): Added javadoc comment.
7971
7972 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7973
7974         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7975         scanline stride.
7976
7977 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7978
7979         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7980         (getColorModel): Return the actual color model.
7981         (getRaster): Implemented.
7982         (ColorRaster): New inner class.
7983         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7984         a PaintContext.
7985         * java/awt/Color.java (<init>): Make exception more verbose.
7986         (createContext): Use ColorModel when creating a PaintContext.
7987
7988 2004-05-04  Michael Koch  <konqueror@gmx.de>
7989
7990         * gnu/java/text/CharacterBreakIterator.java
7991         (previous): Removed unused variable.
7992
7993 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7994
7995         * gnu/java/text/FormatBuffer.java,
7996         gnu/java/text/AttributedFormatBuffer.java,
7997         gnu/java/text/StringFormatBuffer.java: New classes to implement
7998         attributed iterators in java.text.
7999         * gnu/java/text/FormatCharacterIterator.java: Moved 
8000         from java/text as it is an internal class.
8001         * java/text/FormatCharacterIterator.java: Removed.
8002         * java/text/Format.java:
8003         Import gnu.java.text.FormatCharacterIterator.
8004         * Makefile.am (java_source_files): Added new files.
8005         * Makefile.in: Regenerated.
8006         
8007
8008 2004-05-04  Mark Wielaard  <mark@klomp.org>
8009
8010         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8011
8012 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
8013
8014         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8015         * Makefile.in: Rebuilt.
8016
8017 2004-05-03  Mark Wielaard  <mark@klomp.org>
8018
8019         * gnu/java/security/der/DERReader.java: Call static methods staticly.
8020         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8021         * java/net/URL.java
8022         (set(String, String, int, String, String, String, String, String)):
8023         Assign this.file to path or path + "?" + query.
8024         * java/util/Arrays.java: Call static methods staticly.
8025         * java/util/zip/ZipEntry.java: Likewise.
8026         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8027         dir to this.direction.
8028         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8029         Assign static field only once.
8030         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8031
8032 2004-05-03  Mark Wielaard  <mark@klomp.org>
8033
8034         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8035         unused variables hScrollbarHeight and vScrollbarWidth.
8036         (preferredSize): Likewise.
8037         * gnu/java/security/provider/DSAParameters.java (engineToString):
8038         Removed unused call to System.getProperty("line.seperator");
8039         * java/security/Security.java (loadProviders): Return result.
8040
8041 2004-05-03  Tom Tromey  <tromey@redhat.com>
8042
8043         * java/net/URLStreamHandler.java (toExternalForm): Removed
8044         unused variables.
8045         unused constructor.
8046         * java/math/BigDecimal.java (divide): Removed unused variable.
8047         * java/lang/Throwable.java: Cleaned up imports.
8048         * java/lang/ClassLoader.java: Cleaned up imports.
8049         * java/io/FilePermission.java (implies): Removed unused
8050         variable.
8051         * java/awt/TextComponent.java: Removed unused import.
8052         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8053         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8054         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8055         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8056         import.
8057         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8058         * gnu/java/text/CharacterBreakIterator.java: Removed
8059         unused import.
8060         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8061         Cleaned up imports.
8062         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8063         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8064         unused method.
8065         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8066         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8067         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8068         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8069         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8070         (lookupProviders): Removed unused variable.
8071         (loadNextServiceProvider): Likewise.
8072         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8073
8074 2004-05-03  Michael Koch  <konqueror@gmx.de>
8075
8076         Fixes PR libgcj/14695:
8077         * java/net/NetworkInterface.java
8078         (getByName): Return null when no interface was found.
8079
8080 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8081             Tom Tromey  <tromey@redhat.com>
8082
8083         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8084         additional option "-Wmissing-prototypes" for compiling C sources.
8085         Print actual filename for pass/fail rather than $name.c.
8086         * testsuite/libjava.jni/PR15133.java: New testcase file.
8087         * testsuite/libjava.jni/PR15133.c: Likewise.
8088         * testsuite/libjava.jni/PR15133.out: Likewise.
8089
8090 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8091
8092         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8093         ceil and floor.
8094
8095 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8096         
8097         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8098         limit the maximum heap size to avoid unnecessary thrashing.
8099
8100 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8101
8102         * java/text/CollationElementIterator.java (reset): Reset
8103         lookahead variables.
8104
8105 2004-04-23  Mark Wielaard  <mark@klomp.org>
8106
8107         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8108
8109 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8110
8111         * java/sql/DriverManager.java:
8112         Cleaned up imports.
8113
8114 2004-04-23  Michael Koch  <konqueror@gmx.de>
8115
8116         * java/net/URL.java
8117         (hashcode): Don't initialize with default value explicitely.
8118         (getContent): Removed redundant "final" keyword.
8119         (openStream): Likewise.
8120         (getURLStreamHandler): Fixed coding style.
8121         * java/net/URLConnection.java
8122         (defaultAllowUserInteraction): Don't initialize with default value
8123         explicitely.
8124         (connected): Likewise.
8125         (doOutput): Likewise.
8126         (ifModifiedSince): Likewise.
8127         (dateformats_initialized): Likewise.
8128         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8129
8130 2004-04-23  Michael Koch  <konqueror@gmx.de>
8131
8132         * gnu/java/nio/channels/FileChannelImpl.java
8133         (SET, CUR): Unused, removed.
8134         (read): Implement here directly.
8135         (implRead): Removed.
8136         (write): Implement here directly.
8137         (implWrite): Removed.
8138
8139 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8140
8141         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8142         javax/rmi/CORBA/Stub.java,
8143         javax/rmi/CORBA/Util.java,
8144         javax/rmi/CORBA/ValueHandler.java,
8145         javax/rmi/CORBA/ValueHandler.java,
8146         javax/rmi/PortableRemoteObject.java:
8147         Cleaned up imports.
8148
8149 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8150
8151         * java/util/jar/JarFile.java,
8152         java/util/jar/JarInputStream.java,
8153         java/util/jar/JarOutputStream.java,
8154         java/util/jar/Manifest.java:
8155         Cleaned up imports.
8156
8157 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8158
8159         * java/util/ArrayList.java,
8160         java/util/Calendar.java,
8161         java/util/Currency.java,
8162         java/util/HashMap.java,
8163         java/util/HashSet.java,
8164         java/util/Hashtable.java,
8165         java/util/LinkedList.java,
8166         java/util/Properties.java,
8167         java/util/PropertyPermission.java,
8168         java/util/TimeZone.java,
8169         java/util/TreeMap.java,
8170         java/util/TreeSet.java,
8171         java/util/Vector.java,
8172         java/util/WeakHashMap.java:
8173         Cleaned up imports.
8174
8175 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8176
8177         * java/util/logging/FileHandler.java,
8178         java/util/logging/Formatter.java,
8179         java/util/logging/Handler.java,
8180         java/util/logging/Logger.java,
8181         java/util/logging/SimpleFormatter.java,
8182         java/util/logging/XMLFormatter.java:
8183         Cleaned up imports.
8184
8185 2004-04-22  Mark Wielaard  <mark@klomp.org>
8186
8187         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8188         -Wno-long-long flags variable.
8189         (gtk_c_files): Use PEDANTIC_CFLAGS.
8190         * Makefile.in: Regenerated.
8191
8192 2004-04-22  Mark Wielaard  <mark@klomp.org>
8193
8194         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8195         Changed C++ comments into C comments.
8196         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8197         Likewise.
8198
8199 2004-04-22  Michael Koch  <konqueror@gmx.de>
8200
8201         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8202         Merged copyright year with GNU classpath.
8203
8204 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8205
8206         * javax/security/auth/x500/X500Principal.java:
8207         Cleaned up imports.
8208
8209 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8210
8211         * javax/swing/JSlider.java:
8212         Fixed HTML tags in comments.
8213
8214 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8215
8216         * javax/accessibility/AccessibleText.java:
8217         Cleaned up imports.
8218
8219 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8220
8221         * java/net/URLStreamHandler.java
8222         (parseURL): Convert the file path to using '/' instead of native
8223         file separator.
8224
8225 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8226
8227         * java/net/URL.java
8228         (userInfo): New field.
8229         (URL): Set authority to the right value.
8230         (setURL): Fixed authority and file initialization.
8231         * java/net/URLStreamHandler.java
8232         (parseURL): Take care of the query tag. Build authority.
8233         (toExternalForm): Fixed URL building using authority.
8234
8235 2004-04-22  Michael Koch  <konqueror@gmx.de>
8236
8237         * java/net/Socket.java
8238         (impl): Made package-private.
8239         * java/net/ServerSocket.java
8240         (implAccept): Access Socket.impl field directly.
8241
8242 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8243
8244         * java/util/prefs/Preferences.java,
8245         java/util/prefs/InvalidPreferencesFormatException.java,
8246         java/util/prefs/BackingStoreException.java,
8247         java/util/prefs/AbstractPreferences.java:
8248         Cleaned up imports.
8249
8250 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8251
8252         * java/util/regex/Matcher.java,
8253         java/util/regex/Pattern.java:
8254         Cleaned up imports.
8255
8256 2004-04-22  Michael Koch  <konqueror@gmx.de>
8257
8258         * java/nio/charset/IllegalCharsetNameException.java
8259         (charsetName): Made private.
8260         (IllegalCharsetNameException): Added @param tag to javadoc.
8261         (getCharsetName): Added @return tag to javadoc.
8262         * java/nio/charset/MalformedInputException.java
8263         (MalformedInputException): Added @param tag to javadoc.
8264         (getInputLength): Revised method description, added @return tag.
8265         (getMessage): Added @return tag.
8266
8267 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8268
8269         * java/awt/Font.java (deriveFont): Implement missing variants.
8270         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8271         missing variants.
8272
8273 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8274
8275         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8276         Set method->index values for interface methods to their itable index.
8277         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8278
8279 2004-04-21  Michael Koch  <konqueror@gmx.de>
8280
8281         * java/nio/DirectByteBufferImpl.java
8282         (shiftDown): Made static, give address as argument and
8283         provide a convenience method that overwrites shiftDown in
8284         ByteBufferImpl and calls the native shiftDown.
8285         * java/nio/MappedByteBufferImpl.java
8286         (): Use optimized method in DirectByteBufferImpl.
8287         * java/nio/natDirectByteBufferImpl.cc
8288         (shiftDown): Changed method signature. Removed usage of array_offset.
8289
8290 2004-04-21  Michael Koch  <konqueror@gmx.de>
8291
8292         * gnu/java/net/natPlainSocketImplPosix.cc
8293         (SocketInputStream::read): Make sure returned data is a byte value.
8294
8295 2004-04-21  Michael Koch  <konqueror@gmx.de>
8296
8297         * gnu/classpath/ServiceFactory.java,
8298         gnu/classpath/ServiceProviderLoadingAction.java,
8299         javax/imageio/ImageReader.java,
8300         javax/imageio/ImageTranscoder.java,
8301         javax/imageio/ImageWriter.java,
8302         javax/imageio/package.html,
8303         javax/imageio/spi/IIOServiceProvider.java,
8304         javax/imageio/spi/ImageInputStreamSpi.java,
8305         javax/imageio/spi/ImageOutputStreamSpi.java,
8306         javax/imageio/spi/ImageReaderWriterSpi.java,
8307         javax/imageio/spi/ImageTranscoderSpi.java,
8308         javax/imageio/spi/RegisterableService.java,
8309         javax/imageio/spi/ServiceRegistry.java,
8310         javax/imageio/spi/package.html,
8311         javax/imageio/stream/IIOByteBuffer.java,
8312         javax/imageio/stream/ImageInputStream.java,
8313         javax/imageio/stream/ImageOutputStream.java,
8314         javax/imageio/stream/package.html:
8315         New files.
8316         * Makefile.am
8317         (ordinary_java_source_files): Added
8318         gnu/classpath/ServiceFactory.java and
8319         gnu/classpath/ServiceProviderLoadingAction.java.
8320         (javax_source_files): Added
8321         javax/imageio/ImageReader.java,
8322         javax/imageio/ImageTranscoder.java,
8323         javax/imageio/ImageWriter.java,
8324         javax/imageio/spi/IIOServiceProvider.java,
8325         javax/imageio/spi/ImageInputStreamSpi.java,
8326         javax/imageio/spi/ImageOutputStreamSpi.java,
8327         javax/imageio/spi/ImageReaderWriterSpi.java,
8328         javax/imageio/spi/ImageTranscoderSpi.java,
8329         javax/imageio/spi/RegisterableService.java,
8330         javax/imageio/spi/ServiceRegistry.java,
8331         javax/imageio/stream/IIOByteBuffer.java,
8332         javax/imageio/stream/ImageInputStream.java and
8333         javax/imageio/stream/ImageOutputStream.java.
8334         * Makefile.in: Regenerated.
8335
8336 2004-04-21  Michael Koch  <konqueror@gmx.de>
8337
8338         * java/util/Properties.java
8339         (load): Fix wrongly merged fix.
8340
8341 2004-04-21  Mark Wielaard  <mark@klomp.org>
8342
8343         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8344         malloc and free buf.
8345
8346 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8347
8348         * javax/naming/AuthenticationException.java,
8349         javax/naming/AuthenticationNotSupportedException.java,
8350         javax/naming/CannotProceedException.java,
8351         javax/naming/CommunicationException.java,
8352         javax/naming/CompoundName.java,
8353         javax/naming/ConfigurationException.java,
8354         javax/naming/ContextNotEmptyException.java,
8355         javax/naming/InitialContext.java,
8356         javax/naming/InsufficientResourcesException.java,
8357         javax/naming/InterruptedNamingException.java,
8358         javax/naming/LimitExceededException.java,
8359         javax/naming/LinkException.java,
8360         javax/naming/LinkLoopException.java,
8361         javax/naming/LinkRef.java,
8362         javax/naming/MalformedLinkException.java,
8363         javax/naming/Name.java,
8364         javax/naming/NameAlreadyBoundException.java,
8365         javax/naming/NameNotFoundException.java,
8366         javax/naming/NamingSecurityException.java,
8367         javax/naming/NoInitialContextException.java,
8368         javax/naming/NoPermissionException.java,
8369         javax/naming/NotContextException.java,
8370         javax/naming/PartialResultException.java,
8371         javax/naming/ReferralException.java,
8372         javax/naming/ServiceUnavailableException.java,
8373         javax/naming/SizeLimitExceededException.java,
8374         javax/naming/TimeLimitExceededException.java,
8375         javax/naming/directory/Attribute.java,
8376         javax/naming/directory/Attributes.java,
8377         javax/naming/directory/SearchResult.java,
8378         javax/naming/event/NamingExceptionEvent.java,
8379         javax/naming/spi/ResolveResult.java:
8380         Cleaned up imports.
8381
8382 2004-04-21  Mark Wielaard  <mark@klomp.org>
8383
8384         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8385         Changed C++ comments into C comments. Removed commented out code.
8386         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8387         Likewise.
8388         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8389         Likewise.
8390         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8391         Likewise.
8392         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8393         Likewise.
8394         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8395         Likewise.
8396         * native/jni/gtk-peer/gthread-jni.c:
8397         Likewise.
8398
8399 2004-04-21  Mark Wielaard  <mark@klomp.org>
8400
8401         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8402         static fields defined in interface.
8403         * javax/awt/JDialog.java: Likewise.
8404         (JDialog): Make constructors public.
8405         (getDefaultCloseOperation): Make public.
8406         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8407         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8408         * javax/swing/JViewport.java (JViewport): Make constructor public.
8409
8410 2004-04-21  Michael Koch  <konqueror@gmx.de>
8411
8412         * java/util/Map.java
8413         (Entry): Removed redundant "static" modifier.
8414         * java/text/AttributedCharacterIterator.java:
8415         Updated copyright year.
8416
8417 2004-04-20  Michael Koch  <konqueror@gmx.de>
8418
8419         * javax/naming/directory/SearchControls.java:
8420         Don't explicitely extend java.lang.Object.
8421         * javax/naming/spi/DirStateFactory.java:
8422         Merged copyright year with GNU classpath.
8423
8424 2004-04-20  Michael Koch  <konqueror@gmx.de>
8425
8426         * java/nio/channels/Channels.java:
8427         Merged coding style with GNU classpath.
8428
8429 2004-04-20  Michael Koch  <konqueror@gmx.de>
8430
8431         * java/net/ServerSocket.java
8432         Merged coding style from GNU classpath.
8433
8434 2004-04-20  Michael Koch  <konqueror@gmx.de>
8435
8436         * java/io/BufferedWriter.java:
8437         Reordered variables to be at top of the class.
8438         (localFlush): Removed redundant final keyword.
8439
8440 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8441
8442         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8443
8444 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8445
8446         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8447         for percent and permill check.
8448
8449 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8450
8451         * java/text/FieldPosition.java
8452         (FieldPosition) Constructor now behaves as it should according
8453         to the java documentation.
8454
8455 2004-04-20  Mark Wielaard  <mark@klomp.org>
8456
8457         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8458         documentation.
8459
8460 2004-04-20  Michael Koch  <konqueror@gmx.de>
8461
8462         * java/nio/Buffer.java,
8463         java/nio/channels/AlreadyConnectedException.java,
8464         java/nio/channels/AsynchronousCloseException.java,
8465         java/nio/channels/ByteChannel.java,
8466         java/nio/channels/CancelledKeyException.java,
8467         java/nio/channels/Channel.java,
8468         java/nio/channels/Channels.java,
8469         java/nio/channels/ClosedByInterruptException.java,
8470         java/nio/channels/ClosedChannelException.java,
8471         java/nio/channels/ClosedSelectorException.java,
8472         java/nio/channels/ConnectionPendingException.java,
8473         java/nio/channels/DatagramChannel.java,
8474         java/nio/channels/FileChannel.java,
8475         java/nio/channels/FileLock.java,
8476         java/nio/channels/FileLockInterruptionException.java,
8477         java/nio/channels/GatheringByteChannel.java,
8478         java/nio/channels/IllegalBlockingModeException.java,
8479         java/nio/channels/IllegalSelectorException.java,
8480         java/nio/channels/InterruptibleChannel.java,
8481         java/nio/channels/NoConnectionPendingException.java,
8482         java/nio/channels/NonReadableChannelException.java,
8483         java/nio/channels/NonWritableChannelException.java,
8484         java/nio/channels/NotYetBoundException.java,
8485         java/nio/channels/NotYetConnectedException.java,
8486         java/nio/channels/OverlappingFileLockException.java,
8487         java/nio/channels/Pipe.java,
8488         java/nio/channels/ReadableByteChannel.java,
8489         java/nio/channels/ScatteringByteChannel.java,
8490         java/nio/channels/SelectableChannel.java,
8491         java/nio/channels/SelectionKey.java,
8492         java/nio/channels/Selector.java,
8493         java/nio/channels/ServerSocketChannel.java,
8494         java/nio/channels/SocketChannel.java,
8495         java/nio/channels/UnresolvedAddressException.java,
8496         java/nio/channels/UnsupportedAddressTypeException.java,
8497         java/nio/channels/WritableByteChannel.java,
8498         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8499         java/nio/channels/spi/AbstractSelectableChannel.java,
8500         java/nio/channels/spi/AbstractSelectionKey.java,
8501         java/nio/channels/spi/AbstractSelector.java,
8502         java/nio/channels/spi/SelectorProvider.java,
8503         java/nio/charset/spi/CharsetProvider.java:
8504         Fixed javadocs and jalopied all over java.nio.
8505
8506 2004-04-20  Michael Koch  <konqueror@gmx.de>
8507
8508         * java/nio/ByteBufferImpl.java,
8509         java/nio/CharBufferImpl.java,
8510         java/nio/DirectByteBufferImpl.java,
8511         java/nio/DoubleBufferImpl.java,
8512         java/nio/DoubleViewBufferImpl.java,
8513         java/nio/FloatBufferImpl.java,
8514         java/nio/FloatViewBufferImpl.java,
8515         java/nio/IntBufferImpl.java,
8516         java/nio/IntViewBufferImpl.java,
8517         java/nio/LongBufferImpl.java,
8518         java/nio/LongViewBufferImpl.java,
8519         java/nio/MappedByteBufferImpl.java,
8520         java/nio/ShortBufferImpl.java,
8521         java/nio/ShortViewBufferImpl.java:
8522         Made sure all classes are final and removed final keyword from all
8523         methods.
8524
8525 2004-04-20  Michael Koch  <konqueror@gmx.de>
8526
8527         * java/rmi/MarshalledObject.java,
8528         java/rmi/Naming.java,
8529         java/rmi/RemoteException.java,
8530         java/rmi/activation/ActivationException.java,
8531         java/rmi/server/ServerCloneException.java,
8532         java/security/AccessController.java,
8533         java/security/AlgorithmParameterGenerator.java,
8534         java/security/AlgorithmParameters.java,
8535         java/security/CodeSource.java,
8536         java/security/Identity.java,
8537         java/security/IdentityScope.java,
8538         java/security/KeyPairGenerator.java,
8539         java/security/KeyStore.java,
8540         java/security/Security.java,
8541         java/security/Signature.java,
8542         java/security/SignatureSpi.java,
8543         java/security/SignedObject.java,
8544         java/security/spec/DSAParameterSpec.java,
8545         java/security/spec/DSAPrivateKeySpec.java,
8546         java/security/spec/DSAPublicKeySpec.java,
8547         java/sql/Array.java,
8548         java/sql/DatabaseMetaData.java,
8549         java/sql/ResultSet.java,
8550         java/text/ChoiceFormat.java,
8551         java/text/CollationElementIterator.java,
8552         java/text/CollationKey.java,
8553         java/text/Collator.java,
8554         java/text/DateFormat.java,
8555         java/text/DateFormatSymbols.java,
8556         java/text/DecimalFormatSymbols.java,
8557         java/text/Format.java,
8558         java/text/ParsePosition.java,
8559         java/text/RuleBasedCollator.java,
8560         java/text/SimpleDateFormat.java,
8561         java/text/StringCharacterIterator.java,
8562         java/util/Collections.java,
8563         java/util/PropertyResourceBundle.java,
8564         java/util/ResourceBundle.java,
8565         java/util/StringTokenizer.java,
8566         java/util/jar/Attributes.java,
8567         java/util/logging/ConsoleHandler.java,
8568         java/util/logging/LogManager.java,
8569         java/util/logging/MemoryHandler.java,
8570         java/util/logging/SocketHandler.java,
8571         javax/naming/NamingException.java:
8572         Fixed javadoc, coding style and argument names all over.
8573
8574 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8575
8576         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8577         constructor. (valid) Added null check.
8578
8579 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8580
8581         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8582         * java/io/FileOutputStream.java
8583         (FileOutputStream) Reorganized constructors. Constructors now
8584         check whether the given path is directory.
8585
8586 2004-04-20  Michael Koch  <konqueror@gmx.de>
8587
8588         * java/net/Authenticator.java,
8589         java/net/BindException.java,
8590         java/net/ConnectException.java,
8591         java/net/ContentHandler.java,
8592         java/net/ContentHandlerFactory.java,
8593         java/net/DatagramPacket.java,
8594         java/net/DatagramSocket.java,
8595         java/net/DatagramSocketImpl.java,
8596         java/net/DatagramSocketImplFactory.java,
8597         java/net/FileNameMap.java,
8598         java/net/HttpURLConnection.java,
8599         java/net/Inet4Address.java,
8600         java/net/Inet6Address.java,
8601         java/net/InetAddress.java,
8602         java/net/InetSocketAddress.java,
8603         java/net/JarURLConnection.java,
8604         java/net/MalformedURLException.java,
8605         java/net/MulticastSocket.java,
8606         java/net/NetPermission.java,
8607         java/net/NetworkInterface.java,
8608         java/net/NoRouteToHostException.java,
8609         java/net/PasswordAuthentication.java,
8610         java/net/PortUnreachableException.java,
8611         java/net/ProtocolException.java,
8612         java/net/ServerSocket.java,
8613         java/net/Socket.java,
8614         java/net/SocketAddress.java,
8615         java/net/SocketException.java,
8616         java/net/SocketImpl.java,
8617         java/net/SocketImplFactory.java,
8618         java/net/SocketOptions.java,
8619         java/net/SocketPermission.java,
8620         java/net/SocketTimeoutException.java,
8621         java/net/URI.java,
8622         java/net/URISyntaxException.java,
8623         java/net/URL.java,
8624         java/net/URLClassLoader.java,
8625         java/net/URLConnection.java,
8626         java/net/URLDecoder.java,
8627         java/net/URLEncoder.java,
8628         java/net/URLStreamHandler.java,
8629         java/net/URLStreamHandlerFactory.java,
8630         java/net/UnknownHostException.java,
8631         java/net/UnknownServiceException.java:
8632         Fixed javadocs, coding style and argument names all over.
8633
8634 2004-04-20  Michael Koch  <konqueror@gmx.de>
8635
8636         * java/lang/Byte.java,
8637         java/lang/CharSequence.java,
8638         java/lang/ClassLoader.java,
8639         java/lang/Compiler.java,
8640         java/lang/Double.java,
8641         java/lang/Float.java,
8642         java/lang/Integer.java,
8643         java/lang/Long.java,
8644         java/lang/Math.java,
8645         java/lang/Number.java,
8646         java/lang/Package.java,
8647         java/lang/Runtime.java,
8648         java/lang/RuntimePermission.java,
8649         java/lang/SecurityManager.java,
8650         java/lang/Short.java,
8651         java/lang/StringBuffer.java,
8652         java/lang/System.java,
8653         java/lang/ThreadGroup.java,
8654         java/lang/Throwable.java,
8655         java/lang/reflect/InvocationHandler.java,
8656         java/lang/reflect/Proxy.java:
8657         Fixed javadocs, coding style and argument names all over.
8658
8659 2004-04-20  Michael Koch  <konqueror@gmx.de>
8660
8661         * java/io/BufferedWriter.java,
8662         java/io/ByteArrayInputStream.java,
8663         java/io/CharArrayWriter.java,
8664         java/io/DataInput.java,
8665         java/io/DataInputStream.java,
8666         java/io/File.java,
8667         java/io/FilterInputStream.java,
8668         java/io/InputStream.java,
8669         java/io/InputStreamReader.java,
8670         java/io/ObjectInputStream.java,
8671         java/io/ObjectStreamClass.java,
8672         java/io/PipedInputStream.java,
8673         java/io/PipedReader.java,
8674         java/io/PushbackInputStream.java,
8675         java/io/PushbackReader.java,
8676         java/io/RandomAccessFile.java,
8677         java/io/SerializablePermission.java,
8678         java/io/StreamTokenizer.java,
8679         java/io/StringWriter.java,
8680         java/io/WriteAbortedException.java,
8681         java/io/Writer.java:
8682         Fixed javadocs all over, rename arguments to match javadocs,
8683         fixed coding style.
8684
8685 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8686
8687         * java/awt/FontMetrics.java:
8688         (charsWidth): fixed accumulation of total_width
8689         (getWidth): simple default implementation
8690         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8691         in Rectangle constructor.
8692         * java/awt/image/Raster.java (toString): Added method. 
8693         * java/awt/image/SampleModel.java (<init>): Added error cause
8694         information to thrown exception.
8695         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8696         New method.
8697         (setDataElements): New method.
8698         (setPixels): New method.
8699         (toString): New method.
8700
8701 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8702
8703         * java/awt/image/ComponentColorModel.java
8704         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8705         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8706         Mauve tests on this method. Improved documentation.
8707
8708 2004-04-20  Michael Koch  <konqueror@gmx.de>
8709
8710         * javax/swing/JLayeredPane.java,
8711         javax/swing/plaf/BorderUIResource.java,
8712         javax/swing/plaf/ComponentUI.java,
8713         javax/swing/undo/CompoundEdit.java,
8714         javax/swing/undo/StateEdit.java:
8715         Fixed HTML tags in javadocs all over.
8716
8717 2004-04-20  Michael Koch  <konqueror@gmx.de>
8718
8719         * javax/print/attribute/EnumSyntax.java
8720         (getOffset): Made protected.
8721         * javax/print/attribute/HashAttributeSet.java
8722         (HashAttributeSet): Likewise.
8723         * javax/print/attribute/ResolutionSyntax.java
8724         (getFeedResolution): Fixed typo in exception name.
8725         (getCrossFeedResolution): Likewise.
8726         * javax/print/attribute/SetOfIntegerSyntax.java
8727         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8728         * javax/print/attribute/TextSyntax.java
8729         (TextSyntax): Handle locale correctly.
8730         (hashCode): Calc better hashcode value.
8731         (equals): Fixed @return tag.
8732         (toString): New method.
8733
8734 2004-04-20  Michael Koch  <konqueror@gmx.de>
8735
8736         * gnu/java/nio/FileLockImpl.java
8737         (static): Removed, not needed anymore.
8738         * gnu/java/nio/channels/FileChannelImpl.java
8739         (FileChannelImpl): Made final.
8740         (mode): Made private.
8741         (READ, WRITE, APPEND): Made public.
8742         (EXCL, SYNC, DSYNC): Likewise.
8743         (static): Load native JNI library, when needed.
8744         (length): Unused, removed.
8745         (available): Made public.
8746         (implPosition): Throws IOException.
8747         (seek): Likewise.
8748         (implTruncate): Likewise.
8749         (unlock): Likewise.
8750         (lock): Likewise.
8751
8752 2004-04-20  Michael Koch  <konqueror@gmx.de>
8753
8754         * java/awt/AWTPermission.java,
8755         java/awt/Component.java,
8756         java/awt/ComponentOrientation.java,,
8757         java/awt/Dialog.java,
8758         java/awt/FontMetrics.java,
8759         java/awt/Graphics.java,
8760         java/awt/datatransfer/DataFlavor.java,
8761         java/beans/Introspector.java,
8762         java/beans/PropertyEditor.java,
8763         java/beans/PropertyEditorManager.java,
8764         java/beans/beancontext/BeanContextServiceProvider.java:
8765         Fixed HTML tags in javadocs all over.
8766
8767 2004-04-20  Mark Wielaard  <mark@klomp.org>
8768
8769         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8770         MissingResourceException is thrown.
8771         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8772         null when a MissingResourceException is thrown. Should never happen.
8773
8774 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8775
8776         * java/awt/image/DataBufferShort.java,
8777         java/awt/image/DataBufferFloat.java,
8778         java/awt/image/DataBufferDouble.java,
8779         java/awt/image/PixelInterleavedSampleModel.java: New files.
8780         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8781         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8782
8783 2004-04-20  Michael Koch  <konqueror@gmx.de>
8784
8785         * Makefile.am (java_source_files): Added
8786         java/awt/image/DataBufferDouble.java,
8787         java/awt/image/DataBufferFloat.java,
8788         java/awt/image/DataBufferShort.java and
8789         java/awt/image/PixelInterleavedSampleModel.java.
8790         * Makefile.in: Regenerated.
8791
8792 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8793  
8794         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8795         undocumented CNI calls.
8796         * include/java-interp.h (_Jv_InterpClass): No longer
8797         extends java.lang.Class.
8798         * java/lang/Class.h (Class): Add new field `aux_info'.
8799         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8800         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8801         Use Class->aux_info instead.
8802         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8803         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8804         Use Class->aux_info instead.
8805         * java/io/natObjectInputStream.cc (allocateObject): Use
8806         _Jv_AllocObject.
8807         * java/lang/natClass.cc (newInstance): Likewise.
8808         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8809         * java/lang/natObject.cc (clone): Likewise.
8810         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8811         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8812         JvAllocObject. Allocate klass->aux_info here for interpreted
8813         class.
8814         
8815 2004-04-17  Mark Wielaard  <mark@klomp.org>
8816
8817         * javax/swing/JToggleButton.java (ToggleButtonModel):
8818         Make public static inner class.
8819         * javax/swing/JTabbedPane.java (setComponentAt):
8820         Call Page.setComponent().
8821         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8822         (WRAP_TAB_LAYOUT): Make public, value is 0.
8823         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8824         Make private static inner class.
8825
8826 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8827
8828         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8829         arguments to match new signature. Remove FIXME comments.
8830
8831 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8832
8833         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8834         Remove method.
8835         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8836         unused code.
8837
8838 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8839
8840         * Makefile.am: Added new file.
8841         * Makefile.in: Regenerate.
8842         * javax/swing/ImageIcon.java: 
8843         (ImageIcon(file)): set description of the icon 
8844         to the file name
8845         * javax/swing/JCheckBoxMenuItem.java:
8846         Mostly Implemented. Work in progress.
8847         * javax/swing/JRadioButtonMenuItem.java:
8848         Reimplement constructors to use JToggleButtonModel.
8849         * javax/swing/plaf/basic/BasicIconFactory.java:
8850         (getCheckBoxMenuItemIcon): return check box
8851         icon.
8852         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8853         paint menu item selected only when it is armed and 
8854         pressed. 
8855  
8856 2004-04-02  David Jee  <djee@redhat.com>
8857
8858         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8859         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8860         * java/awt/Component.java
8861         (add): Set the parent of the popup as this component.
8862         * java/awt/PopupMenu.java
8863         (addNotify): Create popup menu when peer is null.
8864         (show): Call addNotify() if peer is null.
8865         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8866         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8867         argument for gtk_menu_popup() as zero. This causes the popup menu to
8868         respond to any mouse button.
8869
8870 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8871
8872         * Makefile.am: Added new file.
8873         * Makefile.in: Regenerate.
8874         * javax/swing/JRadioButtonMenuItem.java:
8875         Implemented.
8876         * javax/swing/plaf/basic/BasicIconFactory.java:
8877         (getRadioButtonMenuItemIcon): Return
8878         radio button icon.
8879         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8880         (getPreferredSize): Add size of checkIcon if it
8881         exists.
8882         (installDefaults): Don't initialize checkIcon.
8883         It's value will be set in subclasses. 
8884         (uninstallDefaults): remove uninstallation of 
8885         checkIcon.
8886         (paint): Moved code to paintMenuItem().
8887         (paintMenuItem): Implemented.
8888         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8889         UI delegate for JRadioButtonMenuItem.
8890         
8891 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8892
8893         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8894         Corrected position of the accelerator.
8895
8896 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8897
8898         * Makefile.am: Added new file. 
8899         * Makefile.in: Regenerate.
8900         * javax/swing/JMenuItem.java: Partly 
8901         implemented. Work in progress
8902         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8903         Changed default value of acceleratorDelimiter.
8904         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8905         New class. Partly implemented.
8906                 
8907 2004-03-26  Mark Wielaard  <mark@klomp.org>
8908
8909         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8910         (item_activate): Declare label before use.
8911         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8912         (gtkSetFont): Removed unused variable label.
8913         (addExposeFilter): Declare variables before use.
8914         (removeExposeFilter): Likewise.
8915         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8916         (ok_clicked): Declare str_fileName before use.
8917
8918 2004-03-26  David Jee  <djee@redhat.com>
8919
8920         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8921         (addSeparator): Remove.
8922         * java/awt/Menu.java
8923         (separator): Remove static final MenuItem field.
8924         (separatorLabel): New static final String field.
8925         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8926         Use separatorLabel to denote that it is a separator.
8927         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8928         of reusing the static separator instance, because a MenuItem instance
8929         can't be added more than once without being cloned.
8930         * java/awt/peer/MenuPeer.java
8931         (addSeparator): Remove from interface.
8932
8933 2004-03-26  David Jee  <djee@redhat.com>
8934
8935         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8936         (connectSignals): New native method declaration.
8937         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8938         * java/awt/MenuItem.java
8939         (getActionCommand): Return the label if the action command is not set.
8940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8941         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8942         gtk_menu_shell_append().
8943         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8944         (item_activate): Fix argument type.
8945         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8946         signal here.
8947         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8948         method.
8949         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8950         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8951         given. Add the menu widget's top-level GtkWindow to the global window
8952         group, so it can grab the pointer.
8953         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8954         gtk_menu_shell_append().
8955
8956 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8957
8958         * java/text/AttributedString.java 
8959         (addAttribute): Fix off-by-one.
8960         (getIterator): Likewise.        
8961         * java/text/AttributedStringIterator.java 
8962         (getRunLimit): Correct logic.
8963         (getRunStart): Likewise.
8964         (getAttribute): Fix inequality.
8965         (getAttributes): Likewise.
8966         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8967
8968 2004-03-23  Kim Ho  <kho@redhat.com>
8969
8970         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8971         (calculateSizes): Return real width and height.
8972
8973 2004-03-23  Kim Ho  <kho@redhat.com>
8974
8975         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8976         (calculateTabRects): Set the selectedRun before
8977         trying to rotate tabs.
8978
8979 2004-03-23  Kim Ho  <kho@redhat.com>
8980
8981         * Makefile.am: New file
8982         * Makefile.in: Regenerate
8983         * java/awt/Graphics.java: (drawRect):
8984         Draw to the correct point.
8985         * javax/swing/DefaultSingleSelectionModel.java
8986         (isSelected): Return true if the selected index
8987         is not -1.
8988         * javax/swing/JLabel.java: Do not change mnemonic
8989         index if text is null.
8990         * javax/swing/JProgressBar.java: Use JComponent's
8991         EventListenerList.
8992         * javax/swing/JScrollBar.java: Ditto.
8993         * javax/swing/JSlider.java: Ditto.
8994         * javax/swing/JTabbedPane.java: Reimplement.
8995         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8996         Add defaults for TabbedPane.
8997         * javax/swing/plaf/basic/BasicArrowButton.java:
8998         Implement
8999         * javax/swing/plaf/basic/BasicProgressBarUI.java:
9000         (paintDeterminate): Don't paint String if it's
9001         empty.
9002         (paintIndeterminate): ditto.
9003         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9004         Reimplement.
9005
9006 2004-03-19  Michael Koch  <konqueror@gmx.de>
9007
9008         * java/awt/image/AffineTransformOp.java
9009         (AffineTransformOp): Made public.
9010         * javax/swing/JComponent.java
9011         (listenerList): Made protected.
9012         (accessibleContext): Likewise.
9013         * javax/swing/JList.java
9014         (valueChanged): Dont use internal fields of ListSelectionEvent.
9015         * javax/swing/JViewport.java
9016         (getView): Dont use internal fields of Component.
9017         (addImpl): Likewise.
9018         * javax/swing/Timer.java
9019         (isRunning): Made public.
9020         (start): Likewise.
9021         (stop): Likewise.
9022         * javax/swing/UIDefaults.java
9023         (getInt): Made public.
9024         * javax/swing/plaf/basic/BasicListUI.java
9025         (mousePressed): Dont use internal fields of MouseEvent.
9026         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9027         * javax/swing/plaf/basic/BasicScrollBarUI.java
9028         (arrowIcon): Made static.
9029         * javax/swing/plaf/basic/BasicViewportUI.java
9030         (stateChanged): Dont use internal field on ChangeEvent.
9031         * javax/swing/text/JTextComponent.java
9032         (getUI): Call UIManager.getUI().
9033         (updateUI): Use getUI().
9034
9035 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9036
9037         * javax/swing/JComponent.java: Turn off double buffer by default.
9038         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9040         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9041         Use cairo to copy areas.
9042         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9043         Initialize and set clip region.
9044
9045 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9046
9047         * java/applet/Applet.java (preferredSize): Override deprecated
9048         variant of getPreferredSize.
9049         (minimumSize): Override deprecated variant of getMinimumSize.
9050
9051 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9052
9053         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9054         (drawImage(img,xform,bgcolor,obs)): New Method.
9055         Helper function that every drawImage method will
9056         use.
9057         (drawRaster): Added new parameter, bgcolor. All
9058         transparent pixels are changed to bgcolor before 
9059         image is drawn.
9060         (drawRenderedImage): Fixed to use changed drawRaster().
9061         (drawImage(image,xform,obs): Fixed to use new helper function 
9062         (drawImage(image,op,x,y)): Ditto.
9063         (drawImage (img,x,y,observer)): Ditto.
9064         ((PainterThread) bgcolor): New Field.
9065         ((PainterThread) (setPixels)): Changed all transparent pixels 
9066         to bgcolor.     
9067         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9068         Fixed FIXME - all the transparent pixels are 
9069         changed to the specified bgcolor. 
9070         (drawImage(img, x, y, width, height, observer): Changed to 
9071         use function above.
9072         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9073         Fixed FIXME- changed all transparent pixels to bgcolor.
9074         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9075         Changed to use function above. 
9076
9077 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9078
9079         * java/applet/Applet.java (dimensions): New field.
9080         (getDimensions): New method.
9081         (getPreferredSize): Call getDimensions.
9082         (getMinimumSize): Likewise.
9083
9084 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9085
9086         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9087         * jni/classpath/jnilink.c: Likewise.
9088
9089         * java/applet/Applet.java (getPreferredSize): New method.
9090         (getMinimumSize): New method.
9091
9092 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9093
9094         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9095         (_Jv_AllocObjectNoFinalizer): Likewise.
9096         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9097         (_Jv_AllocPtrFreeObject): Likewise.
9098         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9099         directly even in the JVMPI case.        
9100         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9101         _Jv_AllocObject calls.
9102         * gcj/javaprims.h: Update prototypes.
9103         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9104         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9105         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9106
9107 2004-04-14  Andrew Haley  <aph@redhat.com>
9108             Bryce McKinlay  <mckinlay@redhat.com>
9109
9110         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9111         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9112         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9113
9114         * testsuite/libjava.lang/InvokeInterface.java: New file.
9115         * testsuite/libjava.lang/InvokeInterface.out: New file.
9116
9117 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9118         
9119         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9120         modified lookup().
9121         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9122         StackTraceElement directly.
9123         (newElement): New native helper method to create StackTraceElement
9124         bypassing Java access control.
9125         (createStackTraceElement): Use newElement() instead of directly
9126         calling StackTraceElement's constructor.
9127         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9128
9129 2004-04-01  Michael Koch  <konqueror@gmx.de>
9130
9131         * java/lang/SecurityManager.java
9132         (checkAwtEventQueueAccess): Implemented.
9133
9134 2004-04-01  Gary Benson  <gbenson@redhat.com>
9135
9136         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9137         (_Jv_SearchMethodInClass): Likewise.
9138
9139 2004-03-26  Peter Moon  <peterm@miraculum.com>
9140
9141         * java/text/NumberFormat.java: Fix spelling of setCurrency
9142         method.
9143
9144 2004-03-21  Anthony Green  <green@redhat.com>
9145
9146         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9147         recursion when searching for the system ClassLoader.
9148
9149 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9150
9151         * java/net/ServerSocket.java
9152         (accept): Close the socket when error occured.
9153
9154 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9155
9156         * java/net/URI.java (parseURI): Added unquoting.
9157         (unquote): New method.
9158         (quoteAuthority): Implemented.
9159         (quote(String,String)): New method.
9160         (quotePath): Implemented.
9161         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9162         (getSchemeSpecificPart): Removed FIXME comment.
9163         (getRawAuthority): Return new rawAuthority field.
9164         (getAuthority): Removed FIXME comment.
9165         (getRawUserInfo): Return new rawUserInfo field.
9166         (getUserInfo): Removed FIXME comment.
9167         (getRawPath): Return new rawPath field.
9168         (getPath): Removed FIXME comment.
9169         (getRawQuery): Return new rawQuery field.
9170         (getQuery): Removed FIXME comment.
9171         (getRawFragment): Return new rawFragment field.
9172         (getFragment): Removed FIXME comment.
9173
9174 2004-03-20  Michael Koch  <konqueror@gmx.de>
9175
9176         * java/net/URLConnection.java: Merged copyright year with classpath.
9177
9178 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9179
9180         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9181         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9182         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9183         rmi-message.
9184         (getObjectInputStream): Return object reference, throw IOException if null.
9185         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9186         (getObjectOutputStream): Return object reference, throw IOException if null.
9187         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9188         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9189         (UnicastConnectionManager): Throw RemoteException if port is not available.
9190         (getInstance): Throw RemoteException.
9191         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9192         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9193         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9194         Collect Exceptions which are returned by a rmi-call and fix void returns.
9195         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9196         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9197         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9198         (dispatch): Answer ping messages which are sent by other java implementions.
9199         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9200         for every rmi-message and fix void return problems.
9201         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9202         (UnicastServerRef): Throw RemoteException.
9203         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9204         In some situations it is necessary to export a subclass of the class which has the _Stub.
9205         For instance when the class with has the _Stub is abstract.
9206         (findStubSkelClass): New method which looks for the class which has the _Stub.
9207         (getClientHost): Implementated.
9208         * gcc/libjava/java/rmi/server/RemoteServer.java
9209         (getClientHost): Implementated.
9210         * gcc/libjava/Makefile.am (rmi_java_source_files):
9211         Added gnu/java/rmi/server/RMIIncomingThread.java.
9212         * Makefile.in: Regenerated.
9213
9214 2004-03-20  Michael Koch  <konqueror@gmx.de>
9215
9216         * java/net/InetAddress.java
9217         (getLocalHostname): Added javadoc.
9218
9219 2004-03-19  Per Bothner  <per@bothner.com>
9220
9221         * configure.in: FILE variable  overrides FLATFORM when linking
9222         natFileChannelXXX.cc.
9223
9224         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9225         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9226
9227 2004-03-19  Per Bothner  <per@bothner.com>
9228
9229         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9230         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9231         * Makefile.am:  Update accordingly.
9232         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9233         as aliases for UnicodeLittle and UnicodeBig.
9234
9235 2004-03-20  Mark Wielaard  <mark@klomp.org>
9236
9237         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9238         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9239         Don't access ws when it is null.
9240         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9241         Likewise.
9242
9243 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9244
9245         * java/lang/ThreadGroup.java (list): Changed print to println.
9246
9247 2004-03-19  Mark Wielaard  <mark@klomp.org>
9248
9249         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9250         happy.
9251
9252 2004-02-10  Randolph Chung  <tausq@debian.org>
9253  
9254         * configure.in: Build java for hppa target.
9255         * configure: Regenerate.
9256         * libjava/configure.host (hppa-*): Add target.
9257         * libjava/sysdeps/pa/lock.h: New file.
9258
9259 2004-03-19  Mark Wielaard  <mark@klomp.org>
9260
9261         Reported by Stephen Crawley
9262         * java/io/FilePermission.java (implies): Use String.length() -1 to
9263         access last char of String.
9264
9265 2004-03-19  Michael Koch  <konqueror@gmx.de>
9266
9267         * java/awt/image/AffineTransformOp.java
9268         (AffineTransformOp): Made public.
9269         * javax/swing/JComponent.java
9270         (listenerList): Made protected.
9271         (accessibleContext): Likewise.
9272         * javax/swing/JList.java
9273         (valueChanged): Dont use internal fields of ListSelectionEvent.
9274         * javax/swing/JViewport.java
9275         (getView): Dont use internal fields of Component.
9276         (addImpl): Likewise.
9277         * javax/swing/Timer.java
9278         (isRunning): Made public.
9279         (start): Likewise.
9280         (stop): Likewise.
9281         * javax/swing/UIDefaults.java
9282         (getInt): Made public.
9283         * javax/swing/plaf/basic/BasicListUI.java
9284         (mousePressed): Dont use internal fields of MouseEvent.
9285         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9286         * javax/swing/plaf/basic/BasicScrollBarUI.java
9287         (arrowIcon): Made static.
9288         * javax/swing/plaf/basic/BasicViewportUI.java
9289         (stateChanged): Dont use internal field on ChangeEvent.
9290         * javax/swing/text/JTextComponent.java
9291         (getUI): Call UIManager.getUI().
9292         (updateUI): Use getUI().
9293
9294 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9295
9296         * verify.cc: Undef PC.
9297
9298 2004-03-18  Michael Koch  <konqueror@gmx.de>
9299
9300         * java/nio/channels/spi/AbstractSelectableChannel.java
9301         (keys): Initialize at declaration.
9302         (locate): keys cant be null.
9303         (add): Removed.
9304         (addSelectionKey): New method.
9305         (removeSelectionKey): New method.
9306         * java/nio/channels/spi/AbstractSelectionKey.java
9307         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9308         * java/nio/channels/spi/AbstractSelector.java
9309         (provider): Javadoc added.
9310         (cancelledKeys): Javadoc added.
9311         (cancelKey): Javadoc added, add key to cancelledKeys.
9312         (deregister): Implemented.
9313
9314 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9315
9316         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9317         MAP_FAILED to void *.
9318
9319 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9320
9321         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9322         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9323         * javax/swing/JList.java (ListListener): Revalidate on changes.
9324         * javax/swing/JScrollPane.java: Reimplement.
9325         * javax/swing/JViewport.java: Reimplement.
9326         * javax/swing/ScrollPaneLayout.java: Reimplement.
9327         * javax/swing/ViewportLayout.java: Tidy up.
9328         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9329         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9330         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9331         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9332         backing store only.
9333
9334 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9335
9336         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9337         (window_wm_protocols_filter): New function.
9338         (window_focus_in_cb): Remove function.
9339         (window_focus_out_cb): Likewise.
9340         (window_focus_or_active_state_change_cb): New function.
9341         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9342         (connectSignals): Don't attach handlers to focus-in-event or
9343         focus-out-event signals.  Handle notify signal.
9344
9345 2004-03-11  David Jee  <djee@redhat.com>
9346
9347         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9348         (gtkSetLabel): New native method declaration.
9349         (setLabel): Use gtkSetLabel.
9350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9351         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9352
9353 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9354
9355         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9356         black when color argument is null.
9357
9358 2004-03-10  Kim Ho  <kho@redhat.com>
9359
9360         * java/awt/Container.java: Remove check
9361         for drag events.
9362
9363 2004-03-10  Kim Ho  <kho@redhat.com>
9364
9365         * java/awt/Container.java: (visitChild):
9366         Remove candidate clip. Use the component
9367         clip to intersect.
9368         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9369         (handleEvent): Use the PaintEvent's clip.
9370
9371 2004-03-10  Kim Ho  <kho@redhat.com>
9372
9373         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9374         (handleEvent): Don't set the clip for the
9375         Graphics object.
9376
9377 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9378
9379         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9380         Fix double <-> fixed macros, reset font transform.
9381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9382         Likewise.
9383
9384 2004-03-09  Kim Ho  <kho@redhat.com>
9385
9386         * java/awt/Container.java: (visitChild): Move
9387         the x and y coordinate of the component rectangle
9388         to correct position.
9389         (handleEvent): Forward drag events to the pressed
9390         component.
9391         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9392         Fix comments.
9393         (ArrowButtonListener::mousePressed): Stop the
9394         existing timer.
9395         (mouseDragged): Implement.
9396         (TrackListener::mousePressed): Only react if
9397         the press doesn't occur on the thumb, otherwise
9398         just set the offset.
9399         (TrackListener::mouseReleased): Unset the isAdjusting
9400         value.
9401         (createIncreaseIcon): Switch icon.
9402         (createDecreaseIcon): Switch icon.
9403         (calculatePreferredSize): Use width.
9404         (getThumbBounds): Use the top as the lower value.
9405         (layoutVScrollBar): Switch the button locations.
9406         (paintIncreaseHighlight): Paint correct side of thumb.
9407         (paintDecreaseHighlight): ditto.
9408         (valueForYPosition): Use top as the lower value.
9409         * javax/swing/plaf/basic/BasicSliderUI.java:
9410         Fix comments.
9411         (mouseDragged): Implement.
9412         (mousePressed): Only react when the thumb isn't
9413         pressed, otherwise just set offset.
9414         (mouseReleased): Handle a release of the thumb.
9415         (scrollDueToClickInTrack): Stop the timer first.
9416         * javax/swing/JProgressBar.java:
9417         (setString): Fix change condition.
9418         * javax/swing/JSeparator.java:
9419         Remove println's.
9420
9421 2004-03-08  David Jee  <djee@redhat.com>
9422
9423         * java/awt/image/AffineTransformOp.java:
9424         (filter): Use Graphics2D interface instead of directly using the
9425         GdkGraphics2D peer.
9426
9427 2004-03-05  David Jee  <djee@redhat.com>
9428
9429         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9430         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9431         * java/awt/Container.java
9432         (acquireComponentForMouseEvent): Fixed.
9433         (handleEvent): Fixed.
9434         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9435         (state_to_awt_mods_with_button_states): New method.
9436         (pre_event_handler): Fixed mouse event generation.
9437
9438 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9439
9440         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9441         (GdkGraphics2D (BufferedImage)): Initialize
9442         pixmap associated with specified BufferedImage.
9443         (setPaint): Changed implementation of Texture
9444         Paint to use AffineTransformOp.
9445         * java/awt/image/AffineTransformOp.java
9446         (createCompatibleDestRaster): Throw RasterFormatException 
9447         if resulting width or height of raster is 0.
9448
9449 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9450
9451         * java/awt/image/AffineTransformOp.java:
9452         Removed unnecessary field interpolationType.
9453         Formatted some of the lines to be consistent with 
9454         the GNU style.
9455         (AffineTransformOp): Create new RenderingHints 
9456         containing specified interpolation type.
9457         (createCompatibleDestImage): Implemented.
9458         (createCompatibleDestRaster): Implemented.
9459         (filter): Implemented.
9460         (getBounds2D(BufferedImage)): Implemented.
9461         (getBounds2D(Raster)): Implemented.
9462         (getInterpolationType): Get interpolation value from 
9463         rendering hints.
9464
9465 2004-03-04  David Jee  <djee@redhat.com>
9466
9467         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9468         (setFont): Check if child peers are null.
9469
9470 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9471
9472         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9473         .libs in -L option.
9474         (libjava_arguments): Add new libraries to argument list.
9475
9476 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9477
9478         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9479         * Makefile.in: Re-generated.
9480         * java/awt/image/AffineTransformOp.java: New Class.
9481
9482 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9483
9484         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9485         (setPaint): Interpret correctly TexturePaint's
9486         anchor rectangle.
9487         (drawImage): Fixed scale factors of the affine
9488         transform.
9489
9490 2004-02-27  David Jee  <djee@redhat.com>
9491
9492         * gnu/java/awt/peer/gtk/GdkGraphics.java
9493         (GdkGraphics(Component)): Inherit font from component.
9494         (drawString): Use font style.
9495         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9496         (gtkSetFont): New native method declaration.
9497         (setFont): New method.
9498         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9499         (gtkSetFont): New native method declaration.
9500         (setFont): Call new native method gtkSetFont.
9501         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9502         (setFont): For all child components who do not their fonts set,
9503         set their peers' fonts with this container's font.
9504         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9505         Move all native method declarations to the top for readability.
9506         (gtkSetFont): New native method declaration.
9507         (setFont): New method.
9508         * java/awt/Component.java
9509         (setFont): Invalidate after setting the font.
9510         * java/awt/Container.java
9511         (invalidateTree): New method.
9512         (setFont): Invalidate the container tree after setting the font.
9513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9514         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9516         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9517         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9518         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9520         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9521
9522 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9523
9524         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9525         (updateBufferedImage): New helper function.
9526         Updates BufferedImage in memory if it was changed.
9527         (draw): changed to update BufferedImage in memory after
9528         this drawing operation
9529         (fill): Ditto.
9530         (draw3DRect): Ditto.
9531         (fill3DRect): Ditto.
9532         (clearRect): Ditto.
9533         (drawRaster): Ditto.
9534         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9535         no affine transformation.
9536         (drawGlyphVector): Ditto.
9537
9538 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9539
9540         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9541         (isBufferedImageGraphics): New Helper function. 
9542         Returns true if this graphics2d can be used to draw 
9543         into buffered image and false otherwise.
9544         (updateImagePixels): New Helper function. 
9545         Updates pixels in the BufferedImage.
9546         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9547         (getImagePixels): New function. Returns pixels
9548         of the buffered image associated with 
9549         this Graphics2D.
9550
9551 2004-02-26  David Jee  <djee@redhat.com>
9552
9553         * java/awt/BorderLayout.java
9554         (layoutContainer): Fix width and height calculations to ensure
9555         that they're non-negative.
9556         * java/awt/Component.java
9557         (setBackground): If c is null, inherit from closest ancestor whose
9558         background color is set.
9559
9560 2004-02-26  Kim Ho  <kho@redhat.com>
9561
9562         * Makefile.am: Add new files.
9563         * Makefile.in: Re-generate.
9564         * javax/swing/JProgressBar.java: 
9565         (JProgressBar(int, int int)): Throw
9566         IllegalArgumentException if orientation is
9567         invalid.
9568         (JProgressBar(BoundedRangeModel)): Create
9569         ChangeListener and register it. UpdateUI.
9570         (getChangeListeners): Implement.
9571         (setModel): Reset ChangeListener.
9572         * javax/swing/JScrollBar.java: Implement.
9573         * javax/swing/JSeparator.java: Implement.
9574         * javax/swing/JSlider.java:
9575         (JSlider(int, int, int, int)): Throw 
9576         IllegalArgumentException if orientation
9577         is invalid.
9578         (getChangeListeners): Fix method name.
9579         * javax/swing/SwingUtilities.java:
9580         (layoutCompoundLabel): If there is no text,
9581         set the text rectangle dimensions to 0.
9582         * javax/swing/plaf/basic/BasicButtonUI.java:
9583         (paint): If there is no text, don't paint it.
9584         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9585         Implement.
9586         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9587         Implement.
9588         * javax/swing/plaf/basic/BasicSliderUI.java: 
9589         (propertyChange): If the model changes, change
9590         the listeners accordingly.
9591
9592 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9593
9594         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9595         * javax/swing/JList.java: Reimplement.
9596         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9597         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9598         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9599         * javax/swing/ListModel.java: Javadoc.
9600         * javax/swing/ListSelectionModel.java: Add missing methods.
9601         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9602         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9603         * javax/swing/ListModel.java: Javadoc and corrections.
9604         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9605
9606 2004-02-25  David Jee  <djee@redhat.com>
9607
9608         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9609         (GtkFontPeer): Change default size to 12.
9610         * gnu/java/awt/peer/gtk/GtkToolkit.java
9611         (getFontPeer): Change default size to 12.
9612         (getClasspathFontPeer): Likewise. Set default name to "Default".
9613         * java/awt/Font.java
9614         (Font(Map)): Call Font(String,Map).
9615         (Font(String,Map)): If attrs is null, initialize it as an empty
9616         HashMap, which will ensure that the Font will get default attributes.
9617
9618 2004-02-25  David Jee  <djee@redhat.com>
9619
9620         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9621         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9622         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9623         * gnu/java/awt/peer/gtk/GtkToolkit.java
9624         (getFontPeer(String,int)): Call the new overload method with size 1.
9625         (getFontPeer(String,int,int)): New method. Overloaded with size
9626         attribute.
9627         (getClasspathFontPeer): Set the size of the font.
9628
9629 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9630
9631         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9632         (bimage): New field.
9633         (GdkGraphics2D): New Constructor. Constructs Graphics
9634         object that can be used to draw into the Buffered Image.
9635         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9636         (GdkGraphicsEnvironment): Fixed to include public 
9637         keyword.
9638         (createGraphics): Implemented.
9639         * gnu/java/awt/peer/gtk/GtkToolkit.java
9640         (getLocalGraphicsEnvironment): Implemented.
9641         * java/awt/GraphicsEnvironment.java:
9642         (getLocalGraphicsEnvironment): Implemented.
9643         * java/awt/image/BufferedImage.java:
9644         (createGraphics): Implemented.
9645                 
9646 2004-02-24  David Jee  <djee@redhat.com>
9647
9648         * java/awt/Component.java
9649         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9650         * java/awt/Container.java
9651         (addNotifyContainerChildren): Fix event enabling.
9652
9653 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9654
9655         * Makefile.am: Added 
9656         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9657         * Makefile.in: Re-generated.
9658         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9659         New Class. 
9660         
9661 2004-02-19  Kim Ho  <kho@redhat.com>
9662
9663         * Makefile.am: Add BasicProgressBarUI
9664         * Makefile.in: Regenerate.
9665         * javax/swing/JProgressBar.java: 
9666         Re-implement.
9667         * javax/swing/plaf/basic/BasicLookAndFeel.java
9668         Add constants for JProgressBar.
9669         * javax/swing/plaf/basic/BasicProgressBarUI.java
9670         Implement.
9671         * javax/swing/plaf/basic/BasicSliderUI.java
9672         Change comments.
9673         (calculateGeometry): New method
9674         (paint): Remove unnecessary size calculations.
9675
9676 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9677
9678         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9679         (drawRaster): Fixed small error that caused
9680         imageToUser transformation to be set incorrectly.
9681         (toString): Implemented.
9682
9683 2004-02-18  David Jee  <djee@redhat.com>
9684
9685         * java/awt/CardLayout.java
9686         (addLayoutComponent): Show the first component added as the default.
9687         (removeLayoutComponent): After removing, show the next component.
9688         (gotoComponent): If there is only one component, show it and return.
9689
9690 2004-02-18  Kim Ho  <kho@redhat.com>
9691
9692         * javax/swing/JSlider.java: Re-order
9693         modifiers.
9694         * javax/swing/JLabel.java: Re-order
9695         modifiers.
9696         * javax/swing/JComponent.java: 
9697         (addPropertyChangeListener):
9698         Implement.
9699         (removePropertyChangeListener):
9700         ditto.
9701         (firePropertyChangeEvent):
9702         ditto.
9703
9704 2004-02-17  David Jee  <djee@redhat.com>
9705
9706         * java/awt/Component.java
9707         (show): Dispatch ComponentEvent via system event queue.
9708         (hide): Likewise.
9709         (move): Likewise.
9710         (resize): Likewise.
9711         (reshape): Likewise.
9712         * java/awt/Window.java
9713         (setBoundsCallback): Likewise.
9714
9715 2004-02-17  David Jee  <djee@redhat.com>
9716
9717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9718         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9719         Use gtk_widget_set_size_request() instead of the deprecated
9720         gtk_widget_set_usize().
9721
9722 2004-02-17  Kim Ho  <kho@redhat.com>
9723
9724         * javax/swing/JSlider.java: Fix comments and
9725         make property strings constants.
9726         (createStandardLabels): Use the labels
9727         preferred size as bounds.
9728         * javax/swing/plaf/basic/BasicSliderUI.java
9729         Fix comments.
9730         (ScrollHandler::actionPerformed): Don't
9731         calculate the timer stop value. Let the
9732         MouseListeners find the stop location.
9733         (getPreferredHorizontalSize): Re-implement.
9734         (getPreferredVerticalSize): ditto.
9735         (getMinimumHorizontalSize): ditto.
9736         (getMinimumVerticalSize): ditto.
9737         (getPreferredSize): ditto.
9738         (getMinimumSize): ditto.
9739         (getMaximumSize): ditto.
9740         (paintTicks): Use doubles to find the
9741         tick location.
9742         (paintHorizontalLabel):  Use preferredSize
9743         as initial width and height.
9744         (paintVerticalLabel): ditto.
9745
9746 2004-02-17  Kim Ho  <kho@redhat.com>
9747
9748         * javax/swing/JLabel.java: Changed 
9749         property strings to constants.
9750         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9751         New property.
9752         (setText): Change mnemonic index if
9753         text is too short.
9754         (setDisplayedMnemonicIndex): Fire property
9755         change event.
9756         (getDisplayedMnemonicIndex): Remove check
9757         against short text.
9758
9759 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9760
9761         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9762         (drawImage(img,xform,obs)): Invert xform before
9763         passing the xform to cairo.
9764         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9765         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9766         implemented.
9767         (drawImage (img,x,y,w,h,obs)): Implemented.
9768         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9769         bgcolor,obs)): Partly implemented.
9770         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9771         Implemented.
9772         * java/awt/image/BufferedImage.java:
9773         (copyData): if dest is null, create raster with same
9774         dimensions as the current image.
9775
9776 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9777
9778         * javax/swing/plaf/basic/BasicLabelUI.java 
9779         (getPreferredSize): Use layoutCL.
9780         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9781         (getPreferredButtonSize): Start with empty view rect, layout using
9782         component's preferred alignment.
9783         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9784         List defaults.
9785
9786 2004-02-16  David Jee  <djee@redhat.com>
9787
9788         * java/awt/Component.java
9789         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9790         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9791         (move): Erase old bounds and repaint new bounds. Dispatch
9792         COMPONENT_MOVED ComponentEvent.
9793         (resize): Erase old bounds and repaint new bounds. Dispatch
9794         COMPONENT_RESIZED ComponentEvent.
9795         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9796         ComponentEvents.
9797         * java/awt/Window.java
9798         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9799         ComponentEvents.
9800
9801 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9802
9803         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9804         (setRenderingHint): Added implementation of 
9805         Interpolation rendering hints.
9806         (setRenderingHints): Ditto.
9807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9808         (drawPixels): fixed to allow user to choose type 
9809         of filtering that should be used when displaying images.
9810         (cairoSurfaceSetFilter): New method. Sets filter type for 
9811         interpolation of pixel values.
9812
9813 2004-02-16  David Jee  <djee@redhat.com>
9814
9815         * java/awt/GridBagLayout.java
9816         (calcCellSizes): Rows or columns with zero sizes should still be
9817         considered for extra space distribution.
9818
9819 2004-02-16  Kim Ho  <kho@redhat.com>
9820
9821         * javax/swing/JLabel.java: Re-implement.
9822         * javax/swing/plaf/basic/BasicLabelUI.java
9823         Re-implement.
9824         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9825         Added constant.
9826
9827 2004-02-16  Kim Ho  <kho@redhat.com>
9828
9829         * javax/swing/JSlider.java: Fix indentation and comments.
9830         (setModel): Remove null check to conform with Sun's.
9831         (setOrientation): Throw exception if not
9832         HORIZONTAL or VERTICAL.
9833         (getInverted): Use private variable instead of 
9834         ComponentOrientation.
9835         (setInverted): ditto.
9836         * javax/swing/plaf/basic/BasicSliderUI.java:
9837         Fix indentation and comments.
9838         (propertyChange): Remove check for inverted slider, handle
9839         in main paint.
9840         (getMinimumSize): Return preferred size.
9841         (getMaximumSize): ditto.
9842         (calculateFocusRect): Don't relocate rectangle.
9843         (drawInverted): Return XOR of the slider's inversion and 
9844         the component's orientation.
9845         (paint): Update leftToRightCache
9846
9847 2004-02-13  David Jee  <djee@redhat.com>
9848
9849         * java/awt/GridBagLayout.java
9850         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9851         code to helper methods.
9852         (sortBySpan): New helper method.
9853         (distributeSizeAndWeight): Likewise.
9854         (calcCellWeights): Likewise.
9855         (calcCellSizes): Add comments.
9856
9857 2004-02-13  David Jee  <djee@redhat.com>
9858
9859         * java/awt/Component.java
9860         (show): Only do something if component is invisible at the moment.
9861         (hide): Only do something if component is visible at the moment.
9862         (reshape): If lightweight, erase old bounds and repaint new bounds.
9863
9864 2004-02-13  Kim Ho  <kho@redhat.com>
9865
9866         * Makefile.am: Updated for new file.
9867         * Makefile.in: Regenerated.
9868         * javax/swing/JSlider.java: Reimplement.
9869         * javax/swing/SwingUtilities.java
9870         (layoutCompoundLabel): Use icon height
9871         instead of width.
9872         (paintComponent): Implement.
9873         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9874         Add JSlider defaults.
9875         * javax/swing/plaf/basic/BasicSliderUI.java:
9876         Implement. New file.
9877
9878 2004-03-17  Michael Koch  <konqueror@gmx.de>
9879
9880         * gnu/java/net/PlainDatagramSocketImpl.java
9881         (RECEIVE_LOCK): New member field.
9882         (SEND_LOCK): New member field.
9883         (send0): New method.
9884         (send): Synchronize on SEND_LOCK.
9885         (receive0): New method.
9886         (receive): Synchronize on RECEIVE_LOCK.
9887         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9888         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9889         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9890         (send0): Renamed from send.
9891         (receive0): Renamed from receive.
9892 2004-03-17  Michael Koch  <konqueror@gmx.de>
9893
9894         * gnu/java/net/natPlainSocketImplPosix.cc
9895         (write): Just call write(jbyteArray, offset, len).
9896         (read): Just call read(jbyteArray, offset, len).
9897
9898 2004-03-16  Michael Koch  <konqueror@gmx.de>
9899
9900         * javax/swing/JTabbedPane.java
9901         (serialVersionUID): New field.
9902
9903 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9904
9905         * java/net/InetAddress.java
9906         (getByName): Handle hostname == "" case.
9907
9908 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9909
9910         Reported by: Adam Heath <doogie@debian.org>
9911         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9912         class loader.
9913
9914 2004-03-15  Michael Koch  <konqueror@gmx.de>
9915
9916         * java/util/Locale.java: Reverting my last patch
9917         and add a comment why the original version was okay.
9918
9919 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9920
9921         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9922         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9923         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9924         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9925
9926 2004-03-12  Michael Koch  <konqueror@gmx.de>
9927
9928         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9929
9930 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9931
9932         * java/net/URI.java (toURL): Implemented.
9933
9934 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9935
9936         * java/net/URI.java
9937         (URI_REGEXP) updated to contain scheme specific part.
9938         (SCHEME_SPEC_PART_GROUP) new constant.
9939         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9940         updated to make room for SCHEME_SPEC_PART_GROUP.
9941         (parseURI) parse scheme specific part.
9942         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9943         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9944         getQuery, getFragment) implemented.
9945
9946 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9947
9948         * libraries/javalib/java/net/URI.java
9949         partially implemented using java.util.regex.
9950         (URI_REGEXP) new constant. Used to parse URIs.
9951         (SCHEME_GROUP) new constant representing index of scheme group
9952         in parsed URI.
9953         (AUTHORITY_GROUP) new constant representing index of authority
9954         group in parsed URI.
9955         (PATH_GROUP) new constant representing index of path group in
9956         parsed URI.
9957         (QUERY_GROUP) new constant representing index of query group in
9958         parsed URI.
9959         (FRAGMENT_GROUP) new constant representing index of fragment
9960         group in parsed URI.
9961         (getURIGroup) new static utility method.
9962         (parseURI) implemented.
9963         (quote) stub for new static utility method.
9964         (quoteAuthority) stub for new static utility method.
9965         (quoteHost) stub for new static utility method.
9966         (quotePath) stub for new static utility method.
9967         (quoteUserInfo) stub for new static utility method.
9968         (URI) implemented.
9969         (create) don't throw URISyntaxException. Implemented.
9970         (toString) implemented.
9971
9972 2004-03-12  Michael Koch  <konqueror@gmx.de>
9973
9974         * java/net/HttpURLConnection.java
9975         (getResponseCode): Fix another typo in javadoc.
9976
9977 2004-03-11  Michael Koch  <konqueror@gmx.de>
9978
9979         * java/util/logging/Level.java
9980         (parse): Use String.equals() instead of ==.
9981
9982 2004-03-11  Michael Koch  <konqueror@gmx.de>
9983
9984         * gnu/java/net/protocol/jar/Connection.java
9985         (getContentLength): New method.
9986
9987 2004-03-11  Michael Koch  <konqueror@gmx.de>
9988
9989         * gnu/java/net/PlainSocketImpl.java:
9990         Reformated to merge better with classpath's version.
9991
9992 2004-03-11  Michael Koch  <konqueror@gmx.de>
9993
9994         * java/util/Locale.java
9995         (getISO3Language): Use String.equals() instead of ==.
9996         (getISO3Country): Likewise.
9997
9998 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9999
10000         * java/text/AttributedString.java
10001         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10002         Use HashMap instead of Hashtable since value can be null, and
10003         you can not store a null value in a Hashtable.
10004
10005 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
10006
10007         * java/text/AttributedStringIterator.java
10008         (getAllAttributesKey): Return only keys concerned
10009         by the current iterator.
10010         (getAttributes): Use strict inequality for
10011         end_index. 
10012
10013 2004-03-11  Michael Koch  <konqueror@gmx.de>
10014
10015         * java/net/HttpURLConnection.java:
10016         Fixed typo in javadoc.
10017
10018 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
10019
10020         * java/io/BufferedInputStream.java (marktarget): New field for max
10021         mark limit.
10022         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10023         (mark): Use new fields.
10024         (read): Likewise.
10025         (read(byte[],int,int)): Likewise.
10026         (skip): Likewise.
10027         (refill): Likewise.
10028
10029 2004-03-11  Mark Wielaard  <mark@klomp.org>
10030
10031         * java/beans/BeanDescriptor.java (BeanDescriptor):
10032         Set the FeatureDescriptor programmatic name.
10033
10034 2004-03-11  Michael Koch  <konqueror@gmx.de>
10035
10036         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10037         This file was was just copied form java/io/natFileDescriptorEcos.cc
10038         and never changed to compile correctly.
10039
10040 2004-03-11  Michael Koch  <konqueror@gmx.de>
10041
10042         * gnu/java/nio/PipeImpl.java
10043         (SourceChannelImpl): Made final.
10044         (read): Implemented.
10045         (SinkChannelImpl): Made final.
10046         (write): Implemented.
10047
10048 2004-03-11  Michael Koch  <konqueror@gmx.de>
10049
10050         * gnu/java/net/PlainDatagramSocketImpl.java:
10051         Reformated to match classpath's version more.
10052
10053 2004-03-11  Michael Koch  <konqueror@gmx.de>
10054
10055         * gnu/java/awt/peer/ClasspathFontPeer.java:
10056         Fixed javadoc to be correct xhtml.
10057         * gnu/java/awt/peer/gtk/GtkArgList.java
10058         (add): Use Boolean.valueOf() instead of new Boolean().
10059
10060 2004-03-09  Michael Koch  <konqueror@gmx.de>
10061
10062         * java/lang/Thread.java
10063         (runnable): Moved around.
10064         (daemon): Renamed from daemon_flag.
10065         (contextClassLoader): Renamed from context_class_loader.
10066         (Thread): Reordered constructors.
10067         (activeCount): Use group directly.
10068         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10069         (holdsLock): Reworked javadoc.
10070         (setDaemon): Reworked.
10071         * java/lang/natThread.cc
10072         (destroy): Removed.
10073
10074 2004-03-08  Anthony Green  <green@redhat.com>
10075
10076         * Makefile.am: Build property resource files into libgcj.
10077         * Makefile.in: Rebuilt.
10078         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10079         java/util/regex/PatternSyntaxException.java,
10080         gnu/regexp/CharIndexed.java,
10081         gnu/regexp/CharIndexedCharArray.java,
10082         gnu/regexp/CharIndexedInputStream.java,
10083         gnu/regexp/CharIndexedReader.java,
10084         gnu/regexp/CharIndexedString.java,
10085         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10086         gnu/regexp/REException.java,
10087         gnu/regexp/REFilterInputStream.java,
10088         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10089         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10090         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10091         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10092         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10093         gnu/regexp/RETokenLookAhead.java,
10094         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10095         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10096         gnu/regexp/RETokenStart.java,
10097         gnu/regexp/RETokenWordBoundary.java,
10098         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10099
10100 2004-03-03  Per Bothner  <per@bothner.com>
10101
10102         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10103         Optimize when argument is a FileChannelImpl.
10104         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10105         New native methods.
10106         * java/nio/channels/natChannels.cc:  New file for new native methods.
10107         * Makefile.am:  Update accordingly.
10108
10109 2004-03-02  Jan Hubicka  <jh@suse.cz>
10110
10111         * configure.host: Pass -fno-omit-frame-pointer for i386.
10112         * configure.in: Likewise.
10113         * configure: Regenerate.
10114
10115 2004-03-01  Per Bothner  <per@bothner.com>
10116
10117         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10118
10119 2004-02-29  Per Bothner  <per@bothner.com>
10120
10121         * java/nio/channels/FileChannelImpl.java:  Moved to package
10122         gnu/java/nio/channels, since we need to refer to it from java.io.
10123         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10124         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10125         from java/nio/channels.  Don't depend on FileDescriptor.
10126         (in, out, err):  New static fields.
10127         (mode):  New field.
10128         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10129         from FileDescriptor.
10130         (by):  Removed MappedByteBuffer field.
10131         (map):  New working implementation.
10132         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10133         some code "ported" from natFileDescriptoPosix.cc.
10134         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10135         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10136         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10137         Remove native methods.
10138         * Makefile.am, configure.in:  Updated accordingly.
10139
10140         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10141         (ch):  New FileChannelImpl field.  Update constructor to match.
10142         (releaseImpl):  Remove native method.  Instead ...
10143         (release):  Call unlock on channel.
10144         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10145
10146         * java/io/natFileDescriptorEcos.cc:  Remove file.
10147         * java/io/natFileDescriptorPosix.cc:  Remove file.
10148         * java/io/natFileDescriptorWin32.cc:  Remove file.
10149         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10150         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10151         (<init>(FileChannelImpl)):  New package-private constructor.
10152         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10153         (available, close, read, skip):  Implement using FileChannelImpl.
10154         (getFD):  Allocate FileDescriptor if needed.
10155         (getChannel):  Is now trivial.
10156         * java/io/FileOutputStream.java:  Corresponding changes.
10157         * java/io/RandomAccessFile.java:  Corresponding changes.
10158
10159         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10160         unmapImpl):  New dummy methods, to be overridden by subclass.
10161         (finalize, isLoaded, load, force):  New methods.
10162         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10163         Now works, at least for read mapping.
10164
10165         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10166         streams using FileChannelImpl, not FileDescriptor.
10167         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10168
10169 2004-02-28  Michael Koch  <konqueror@gmx.de>
10170
10171         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10172         wrong code.
10173
10174 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10175
10176         * java/io/ObjectInputStream.java
10177         (readClassDescriptor): Keep elements of the mapping non null.
10178         (checkTypeConsistency): New method.
10179         (readFields): Fixed main loop and base logic. Small reindentation.
10180         * java/io/ObjectStreamField.java
10181         (lookupField): New method to update the field reference.
10182         (checkFieldType): New method.
10183         * java/io/ObjectStreamClass.java
10184         (setClass, setFields): Call lookupField when building the field
10185         database. Check the real field type.
10186
10187 2004-02-28  Michael Koch  <konqueror@gmx.de>
10188
10189         * java/nio/ByteOrder.java
10190         (nativeOrder): Use equals() to compare strings.
10191
10192 2004-02-26  Michael Koch  <konqueror@gmx.de>
10193
10194         * gnu/java/nio/FileLockImpl.java
10195         (finalize): Made protected.
10196         * java/nio/channels/FileChannel.java
10197         (MapMode.READ_ONLY): Made final.
10198         (MapMode.READ_WRITE): Made final.
10199         (MapMode.PRIVATE): Made final.
10200         * java/nio/channels/SocketChannel.java
10201         (open): Simplified code.
10202         * java/nio/channels/spi/AbstractSelectableChannel.java
10203         (registered): Unused, removed.
10204         (keyFor): Check channel is open, only locate key
10205         and not add a new one.
10206         (register): Don't delete attachments.
10207
10208 2004-02-26  Michael Koch  <konqueror@gmx.de>
10209
10210         * gnu/java/awt/ComponentDataBlitOp.java
10211         (INSTANCE): Made final.
10212         * gnu/java/awt/image/ImageDecoder.java:
10213         Reworked imports.
10214         (cm): Unused, removed.
10215
10216 2004-02-26  Michael Koch  <konqueror@gmx.de>
10217
10218         * gnu/java/nio/DatagramChannelImpl.java
10219         (send): Check if target address is resolved.
10220
10221 2004-02-26  Michael Koch  <konqueror@gmx.de>
10222
10223         * Makefile.am: Generate and install headers for inner classes in
10224         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10225         * Makefile.in: Regenerated.
10226
10227 2004-02-24  Anthony Green  <green@redhat.com>
10228
10229         * java/lang/StringBuffer.java: No need to NULL out remainder of
10230         buffer since ensureCapacity_unsynchronized will have done this for
10231         us.
10232
10233 2004-02-20  Michael Koch  <konqueror@gmx.de>
10234
10235         * gnu/java/net/protocol/jar/Handler.java
10236         (): Removed unneeded check for file != null. java.net.URL.getFile()
10237         returns an empty string but never null.
10238
10239 2004-02-20  Michael Koch  <konqueror@gmx.de>
10240
10241         * gnu/gcj/convert/Convert.java
10242         (main): Use equals() to compare strings.
10243
10244 2004-02-20  Michael Koch  <konqueror@gmx.de>
10245
10246         * javax/swing/AbstractButton.java: Made several constants final.
10247         (getRolloverSelectedIcon): Made public.
10248         (getSelectedIcon): Made public.
10249
10250 2004-02-16  Per Bothner  <per@bothner.com>
10251
10252         * java/nio/CharBufferImpl.java:  Inline super constructor.
10253         * java/nio/DoubleBufferImpl.java:  Likewise.
10254         * java/nio/FloatBufferImpl.java:  Likewise.
10255         * java/nio/IntBufferImpl.java:  Likewise.
10256         * java/nio/LongBufferImpl.java:  Likewise.
10257         * java/nio/ShortBufferImpl.java:  Likewise.
10258         * java/nio/CharBuffer.java:  Remove unused constructor.
10259         * java/nio/DoubleBuffer.java:  Likewise.
10260         * java/nio/FloatBuffer.java:  Likewise.
10261         * java/nio/IntBuffer.java:  Likewise.
10262         * java/nio/LongBuffer.java:  Likewise.
10263         * java/nio/ShortBuffer.java:  Likewise.
10264         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10265         Fix buggy call to super constructor.
10266         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10267         * java/nio/FloatViewBufferImpl.java:  Likewise.
10268         * java/nio/IntViewBufferImpl.java:  Likewise.
10269         * java/nio/LongViewBufferImpl.java:  Likewise.
10270         * java/nio/ShortViewBufferImpl.java:  Likewise.
10271         
10272         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10273         java.nio classes can inherit it.
10274         (<init>):  Don't bother clearing array_offset.
10275         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10276         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10277         Remove redundant test.
10278
10279         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10280         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10281         Use new XxxViewBufferImpl constructors.
10282         * java/nio/MappedByteBufferImpl.java:  Likewise.
10283         * java/nio/DirectByteBufferImpl.java:  Likewise.
10284
10285         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10286         Inline super in remaining constructor.
10287         * java/nio/ByteBuffer.java:  Remove unused constructor.
10288
10289         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10290
10291         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10292         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10293         (offset):  Remove unused field.
10294         (<init>):  Modify one and add another constructor.  Change callers.
10295         (allocateDirect):  Removed - not used.
10296         (getImpl, putImpl):  Make static and pass address explicitly,
10297         to make them useful for MappedByteBufferImpl.
10298         (get, put):  Check for underflow.  Modify for new getImpl.
10299         (getImpl):  New native method where target is array.
10300         (get(byte[],int,int)):  Use the above.
10301         (adjustAddress):  New static native method.
10302         (slice, duplicate, asReadOnly):  New implementations.
10303         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10304         adjustAddress):  New or updated native methods.
10305
10306 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10307
10308         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10309         overflow of fieldmapping.
10310
10311 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10312
10313         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10314
10315 2004-02-14  Per Bothner  <per@bothner.com>
10316
10317         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10318         Set closed before calling implCloseChannel, as in the spec.
10319
10320 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10321
10322         * javax/swing/ToggleButtonModel.java: Remove dead class.
10323         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10324         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10325         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10326         * Makefile.am: Update for new and removed files.
10327         * Makefile.in: Regenerate.
10328
10329         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10330         * javax/swing/AbstractButton.java 
10331         (AbstractButton): Initialize fields correctly in ctor.
10332         * javax/swing/JCheckbox.java 
10333         (JCheckBox): Override painting flags.
10334         * javax/swing/DefaultButtonModel.java: Conform to sun.
10335         * javax/swing/JComponent.java (paint): Fill with background color
10336         if available.
10337         (processComponentKeyEvent)
10338         (processFocusEvent)
10339         (processKeyEvent)
10340         (processMouseMotionEvent): Remove event-consuming empty methods.
10341         (getUIClassID): Return "ComponentUI" not "JComponent"
10342         * javax/swing/JFrame.java: Remove some debugging chatter.
10343         (JFrame): Subscribe to window events.
10344         * javax/swing/JRadioButton.java 
10345         (JRadioButton): Override painting flags.
10346         * javax/swing/JRootPane.java 
10347         (JRootPane): Set background from UIDefaults.
10348         * javax/swing/JToggleButton.java 
10349         (ToggleButtonModel): New inner class.
10350         (JToggleButton): Override layout alighment.
10351         * javax/swing/SwingUtilities.java:
10352         (getLocalBounds): Return width and height, not x and y.
10353         (calculateInnerArea): Use local bounds, not bounds.
10354         (layoutCompoundLabel): Provide overridden form.
10355         (layoutCompoundLabel): Correct bugs.
10356         * javax/swing/UIDefaults.java: Correct comment.
10357         * javax/swing/plaf/basic/BasicButtonUI.java: 
10358         Move most logic into defaults, external listener.
10359         (paintIcon): Implement icon painting.
10360         (paint): Fix state painting to conform to changes in model.
10361         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10362         Remove most dead/wrong methods.
10363         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10364         * javax/swing/plaf/basic/BasicIconFactory.java:
10365         (DummyIcon): New class.
10366         (getMenuItemCheckIcon)
10367         (getMenuItemArrowIcon) 
10368         (getMenuArrowIcon)
10369         (getCheckBoxMenuItemIcon)
10370         (getRadioButtonMenuItemIcon)
10371         (createEmptyFrameIcon): Return DummyIcons, not null.
10372         (getCheckBoxIcon): Implement an icon that looks like sun's.
10373         (getRadioButtonIcon): Implement an icon that looks like sun's.
10374         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10375         (initComponentDefaults): Fix impossible values, add some missing.
10376         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10377         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10378         Remove most dead/wrong methods.
10379         (icon): New field.
10380         (getDefaultIcon): New method.
10381         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10382         Remove most dead/wrong methods.
10383         * javax/swing/plaf/metal/MetalLookAndFeel.java
10384         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10385         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10386         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10387         Implement "clearing" as drawing, when on pixmap drawables.
10388
10389         * javax/swing/JButton.java (getUIClassID): 
10390         * javax/swing/JCheckBox.java (getUIClassID):
10391         * javax/swing/JEditorPane.java (getUIClassID):
10392         * javax/swing/JLabel.java (getUIClassID): 
10393         * javax/swing/JList.java (getUIClassID): 
10394         * javax/swing/JOptionPane.java (getUIClassID): 
10395         * javax/swing/JPanel.java (getUIClassID): 
10396         * javax/swing/JPasswordField.java (uiClassID): 
10397         * javax/swing/JRadioButton.java (getUIClassID): 
10398         * javax/swing/JRootPane.java (getUIClassID): 
10399         * javax/swing/JScrollPane.java (getUIClassID): 
10400         * javax/swing/JTabbedPane.java (getUIClassID): 
10401         * javax/swing/JToggleButton.java (getUIClassID): 
10402         * javax/swing/JTree.java (getUIClassID): 
10403         * javax/swing/JViewport.java (getUIClassID): 
10404         * javax/swing/text/JTextComponent.java (getUIClassID):
10405         Return "fooUI" not "Jfoo"
10406
10407 2004-02-11  Michael Koch  <konqueror@gmx.de>
10408
10409         * java/net/DatagramSocket.java
10410         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10411         Boolean object.
10412         (setBroadcast): Likewise.
10413         * java/net/MulticastSocket.java
10414         (setLoopbackMode): Likewise.
10415         * java/net/ServerSocket.java
10416         (setReuseAddress): Likewise.
10417         * java/net/Socket.java
10418         (setTcpNoDelay): Likewise.
10419         (setSoLinger): Likewise.
10420         (setOOBInline): Likewise.
10421         (setKeepAlive): Likewise.
10422         (setReuseAddress): Likewise.
10423         * java/net/URLConnection.java
10424         (setContentHandler): Replace == with equals().
10425         * java/net/URLStreamHandler.java
10426         (hostSEquals): Fix checking host addresses.
10427         (toExternalForm): Dont check protocol for null. We know already its
10428         not null.
10429
10430 2004-02-10  David Jee  <djee@redhat.com>
10431
10432         * java/awt/BorderLayout.java
10433         (calcCompSize): Invisible components get zero dimensions.
10434         * java/awt/Button.java
10435         (setLabel): Set actionCommand.
10436         * java/awt/Component.java
10437         (show): Invalidate component and parent container.
10438         (hide): Likewise.
10439
10440 2004-02-10  David Jee  <djee@redhat.com>
10441
10442         * java/awt/GridBagLayout.java
10443         (GridBagLayout): New private field, internalcomptable.
10444         (lookupInternalConstraints): New method.
10445         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10446         (GetLayoutInfo): Reimplement.
10447         (calcCellSizes): Ignore rows/columns with size 0.
10448
10449 2004-02-10  Michael Koch  <konqueror@gmx.de>
10450
10451         * gnu/java/awt/EmbeddedWindow.java
10452         (setHandle): Use java.awt.Component.getPeer() instead of
10453         java.awt.Component.peer directly.
10454
10455 2004-02-10  David Jee  <djee@redhat.com>
10456
10457         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10458         (gtkSetLabel): New native method definition.
10459         (setLabel): Use gtkSetLabel.
10460         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10461         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10462
10463 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10464
10465         * include/powerpc-signal.h: Revert 2004-01-21 change.
10466         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10467         from syscall for ppc32 versions.
10468
10469 2004-02-08  Per Bothner  <per@bothner.com>
10470
10471         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10472         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10473         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10474         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10475         Pass ByteOrder parameter to most methods, since the underlying
10476         ByteBuffer's order isn't always what we should use.
10477         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10478         * java/nio/DirectByteBufferImpl.java:  Likewise.
10479         Use ByteBufferHelper methods.
10480         * java/nio/MappedByteBufferImpl.java:  Likewise.
10481         (compact):  Use shiftDown.
10482         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10483         (get, put):  Use ByteBufferHelper.
10484         (compact):  Use new shiftDown method.
10485         (duplicate(boolean)):  New helper method.
10486         (duplicate, asReadOnlyBuffer):  Use it.
10487         (order):  Return endian field.
10488         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10489         * java/nio/FloatViewBufferImpl.java:  Likewise.
10490         * java/nio/IntViewBufferImpl.java:  Likewise.
10491         * java/nio/LongViewBufferImpl.java:  Likewise.
10492         * java/nio/ShortViewBufferImpl.java:  Likewise.
10493         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10494         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10495         (compact):  Re-implement using shiftDown.
10496
10497 2004-02-08  Andreas Jaeger  <aj@suse.de>
10498
10499         * include/x86_64-signal.h: Fix typo.
10500
10501 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10502
10503         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10504         qualifier to _regs.
10505         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10506
10507 2004-02-06  Michael Koch  <konqueror@gmx.de>
10508
10509         * java/io/ObjectInputStream.java
10510         (currentClassLoader): Reverted to old version of this method.
10511
10512 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10513
10514         * java/io/ObjectInputStream.java: Made all calls
10515         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10516         use cached info from ObjectStreamClass. (readClassDescriptor):
10517         Cache more information in ObjectStreamClass. (processResolution,
10518         readFields): Use cached info from ObjectStreamClass.
10519         (newObject): Throw exception instead of returning null for failure.
10520         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10521         setCharField, setDoubleField, setFloatField, setIntField,
10522         setLongField, setShortField, setObjectField, readObjectParams):
10523         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10524         check.
10525         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10526         (setClass): Added call to cacheMethods() (findMethod): New method.
10527         (cacheMethods): New method. (ObjectStreamClass): Added call to
10528         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10529         AccessController.doPrivileged to invoke setAccessible.
10530         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10531         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10532         New fields.
10533         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10534         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10535         isPrimitive): Made safe for cases where type == null.
10536         (setBooleanField, setByteField, setCharField, setShortField,
10537         setIntField, setLongField, setFloatField, setDoubleField,
10538         setObjectField): New methods.
10539
10540 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10541
10542         * java/awt/Component.java (getFont): Return a default font
10543         instead of null.
10544
10545         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10546         (Scrollbar (int, int, int, int, int)): Make default page
10547         increment 10.
10548         (setValues): Only call peer.setValues if one of the values has
10549         changed.
10550         (generateName): New method.
10551         (getUniqueLong): New method.
10552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10553         (range_scrollbar): Remove structure.
10554         (post_adjustment_event): Remove function.
10555         (post_change_event): Accept jobject argument.
10556         (create): Cast jints to gdoubles.  Round scrollbar values to the
10557         nearest integer.  Clamp min, max and value settings.
10558         (connectJObject): Connect hook to widget->window.
10559         (connectSignals): Remove range_scrollbar structure variables.
10560         Remove "move-slider" connection.  Pass global peer reference to
10561         "value-changed" callback.
10562         (setLineIncrement): Cast jint value to gdouble.
10563         (setPageIncrement): Likewise.
10564         (setValues): Likewise.  Clamp min, max and value settings.
10565
10566 2004-02-05  Michael Koch  <konqueror@gmx.de>
10567
10568         * javax/swing/AbstractCellEditor.java
10569         (getCellEditorValue): Removed.
10570         * javax/swing/Box.java: Reformated.
10571         (serialVersionUID): New field.
10572         * javax/swing/ButtonGroup.java:
10573         Removed some weird whitespace.
10574         * javax/swing/CellEditor.java: Reformated.
10575         * javax/swing/CellRendererPane.java
10576         (serialVersionUID): New field.
10577         (AccessibleCellRendererPaneserialVersionUID): New field.
10578         * javax/swing/DefaultListModel.java
10579         (serialVersionUID): New field.
10580         * javax/swing/JEditorPane.java
10581         (serialVersionUID): New field.
10582         (setPage): Throws IOException.
10583         (addHyperlinkListener): Implemented.
10584         (removeHyperlinkListener): Implemented.
10585         (getHyperlinkListener): New method.
10586         * javax/swing/JFileChooser.java
10587         (serialVersionUID): New field.
10588         (AccessibleJFileChooser.serialVersionUID): New field.
10589         (addActionListener): Implemented.
10590         (removeActionListener): Implemented.
10591         (getActionListeners): New method.
10592         * javax/swing/JFormattedTextField.java
10593         (serialVersionUID): New field.
10594         (AbstractFormatter.serialVersionUID): New field.
10595         (clone): Throws CloneNotSupportedException
10596         (setEditValid): Add missing argument.
10597         (stringToValue): Throws ParseExcpetion.
10598         (valueToString): Throws ParseException.
10599         (commitEdit): Throws ParseException.
10600         * javax/swing/JLabel.java
10601         (serialVersionUID): New field.
10602         * javax/swing/JList.java
10603         (serialVersionUID): New field.
10604         (addListSelectionListener): Reformated.
10605         (removeListSelectionListener): Reformated.
10606         (getListSelectionListeners): New method.
10607         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10608         Reformated.
10609         (serialVersionUID): New field.
10610         * javax/swing/table/AbstractTableModel.java
10611         (getValueAt): Removed.
10612         (getColumnCount): Removed.
10613         (getRowCount): Removed.
10614
10615 2004-02-05  Michael Koch  <konqueror@gmx.de>
10616
10617         * java/awt/datatransfer/DataFlavor.java
10618         (imageFlavor): Javadoc added.
10619         (javaJVMLocalObjectType): Fixed.
10620
10621 2004-02-05  Michael Koch  <konqueror@gmx.de>
10622
10623         * java/lang/Thread.java
10624         (Thread): Reordered.
10625         (setContextClassLoader): Fixed javadoc comment.
10626         (setPriority): Reordered.
10627         (yield): Reordered.
10628         (initialize_native): Reordered.
10629         (gen_name): Reordered.
10630
10631 2004-02-05  Michael Koch  <konqueror@gmx.de>
10632
10633         * java/lang/Thread.java: Reordered fields, reformated much code,
10634         no functional changes, some variables renamed, javadoc comments
10635         merged.
10636
10637 2004-02-05  Michael Koch  <konqueror@gmx.de>
10638
10639         * java/util/zip/Deflater.java,
10640         java/util/zip/DeflaterOutputStream.java,
10641         java/util/zip/GZIPInputStream.java:
10642         Reformated and javadoc comments merged from classpath.
10643
10644 2004-02-05  Michael Koch  <konqueror@gmx.de>
10645
10646         * gnu/java/nio/NIOServerSocket.java
10647         (impl): Unused, removed.
10648         * gnu/java/nio/SocketChannelImpl.java
10649         (finnishConnect): Don't throw NoConnectionPendingException if not
10650         connected or no connection pending.
10651
10652 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10653
10654         * javax/swing/SwingUtilities.java: Many new functions.
10655         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10656         * javax/swing/basic/BasicGraphicsUtils.java 
10657         (getPreferredButtonSize): Start layout from top-left corner.
10658
10659 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10660
10661         * java/awt/geom/AffineTransform.java: 
10662         Corrected comments on the field definitions for
10663         m11 and m10.
10664         (shear): Fixed few errors that caused shear
10665         transformation to be performed incorrectly.
10666         (createInverse): Fixed to return correct
10667         inverse of the given matrix.
10668
10669 2004-02-03  Tom Tromey  <tromey@redhat.com>
10670
10671         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10672         PATH or LD_LIBRARY_PATH is not set in parent environment.
10673
10674 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10675
10676         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10677         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10678         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10679         java/awt/Component.java, java/awt/Container.java,
10680         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10681         java/awt/LayoutManager2.java, java/awt/List.java,
10682         java/awt/Menu.java, java/awt/MenuBar.java,
10683         java/awt/MenuItem.java, java/awt/Polygon.java,
10684         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10685         java/awt/Scrollbar.java, java/awt/TextArea.java,
10686         java/awt/TextField.java,
10687         java/awt/image/renderable/RenderContext.java,
10688         javax/swing/JApplet.java: Fix handling of alias methods, where a
10689         method has been deprecated in favour of a new one with the same
10690         funtion but a different name.  Put the method implementation in
10691         the deprecated method and have the new method call the
10692         deprecated one.  Make all other code call the new method.
10693
10694 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10695
10696         * gnu/java/nio/DatagramChannelImpl.java
10697         (inChannelOperation): New field.
10698         (isInChannelOperation): New accessor.
10699         (setInChannelOperation): New modifier.
10700         (receive): Use capacity() - position() of destination
10701         buffer instead of remaining(). Set and reset our "in
10702         channel operation indicator" before and after delegating
10703         the receive to our datagram socket. Removed testing code.
10704         Update destination buffer's current position if it is
10705         backed by a byte array (hasArray() is true).
10706         (send): Set and reset our "in channel operation indicator"
10707         before and after delegating the send to our datagram socket.
10708         Removed testing code. Update source buffer's current position
10709         if it is backed by a byte array (hasArray() is true).
10710         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10711         Use capacity() - position() of destination buffer instead
10712         of remaining().
10713         * java/net/DatagramSocket.java (receive): Don't throw an
10714         IllegalBlockingModeException if we have a non-blocking
10715         channel which initiated this operation.
10716         (send): Likewise.
10717
10718 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10719
10720         * configure.in: Add pkgconfig check for glib and gthread.
10721         * configure: Regenerate.
10722
10723 2004-02-01  Michael Koch  <konqueror@gmx.de>
10724
10725         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10726         arguments.
10727         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10728         * verify.cc (debug_print): Mark 'fmt' unused.
10729
10730 2004-01-30  Michael Koch  <konqueror@gmx.de>
10731
10732         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10733         * configure: Regenerated.
10734         * glib-2.0.m4: Removed.
10735         * gtk-2.0.m4: Removed.
10736         * libart.m4: Removed.
10737         * pkg.m4: New file.
10738
10739 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10740
10741         * gnu/java/net/PlainSocketImpl.java 
10742         (inChannelOperation): New field.
10743         (isInChannelOperation): New accessor.
10744         (setInChannelOperation): New modifier.
10745         * gnu/java/nio/ServerSocketChannelImpl.java
10746         (accept): Set and reset our server socket's PlainSocketImpl's
10747         "in channel operation" indicator before and after delegating
10748         the accept to our server socket.
10749         * gnu/java/nio/SocketChannelImpl.java
10750         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10751         operation" indicator before and after delegating the operation to
10752         our socket.
10753         (read): Likewise.
10754         (write): Likewise.
10755         * java/net/ServerSocket.java (implAccept): Don't throw an
10756         IllegalBlockingModeException if we have a non-blocking
10757         channel which initiated this accept operation.
10758         * java/net/Socket.java (connect): Don't throw an
10759         IllegalBlockingModeException if we have a non-blocking
10760         channel which initiated this connect operation.
10761         * java/nio/channels/spi/AbstractSelectableChannel.java
10762         (configureBlocking): Only call implConfigureBlocking() if
10763         the desired blocking mode is different from our current one.
10764
10765 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10766
10767         * java/io/BufferedReader.java (sbuf): New field.
10768         (readLine): Use String.valueOf instead of new String() as per
10769         Per Bothner's suggestion. Use instance sbuf field instead of a
10770         local StringBuffer instance.
10771         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10772         caller's buffer to refill().
10773         (read(void)): Pass our internal work buffer to refill if our
10774         input queue is empty.
10775         (refill): Changed return type to int. Use the specified buffer
10776         instead of our work buffer as per Bryce McKinlay's suggestion.
10777         Return the number of characters read or -1 for EOF.
10778
10779 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10780
10781         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10782
10783 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10784
10785         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10786         * Makefile.in: Re-generated.
10787         * gnu/awt/xlib/XFontPeer.java: New file.
10788         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10789         (setClip): Commented out debug printout.
10790         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10791         (getFontPeer): Return XFontPeer.
10792         (getLocalGraphicsEnvironment): New method.
10793         (getClasspathFontPeer): New method.
10794         (createFont): New method.
10795
10796 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10797
10798         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10799         return null. 
10800
10801 2004-01-29  Kim Ho  <kho@redhat.com>
10802
10803         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10804         (gtkLayoutSetVisible): New method
10805         (setMenuBar): Hide layout before setting MenuBar
10806         and reshow it after.
10807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10808         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10809
10810 2004-01-28  Michael Koch  <konqueror@gmx.de>
10811
10812         * gnu/java/lang/ClassHelper.java
10813         (getPackagePortion): Removed.
10814
10815 2004-01-28  Michael Koch  <konqueror@gmx.de>
10816
10817         * javax/swing/JComponent.java
10818         (listenerList): Initalize globally.
10819         (ancestor_list): Removed.
10820         (veto_list): Removed.
10821         (change_list): Removed.
10822         (get_veto_list): Removed.
10823         (get_change_list): Removed.
10824         (get_ancestor_list): Removed.
10825         (removeAncestorListener): Reimplemented.
10826         (removePropertyChangeListener): Likewise.
10827         (removeVetoableChangeListener): Likewise.
10828         (addAncestorListener): Likewise.
10829         (addPropertyChangeListener): Likewise.
10830         (addVetoableChangeListener): Likewise.
10831         (getListeners): New method.
10832         (getAncestorListeners): Likewise.
10833         (getVetoableChangeListeners): Likewise.
10834         (fireVetoableChange): Throws PropertyVetoException.
10835         * javax/swing/JEditorPane.java
10836         (JEditorPane): Throws IOException.
10837
10838 2004-01-28  David Jee  <djee@redhat.com>
10839
10840         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10841         (create): Set the default foreground color to
10842         java.awt.SystemColor.windowText.
10843
10844 2004-01-27  Michael Koch  <konqueror@gmx.de>
10845
10846         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10847         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10848         Reindented to merge with classpath.
10849
10850 2004-01-27  David Jee  <djee@redhat.com>
10851
10852         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10853         (addExposeFilter): Handle GtkFramePeer separately.
10854         (removeExposeFilter): Likewise.
10855
10856 2004-01-27  Michael Koch  <konqueror@gmx.de>
10857
10858         * gnu/java/net/protocol/http/Connection.java
10859         (getOutputStream): Fixed typo.
10860
10861 2004-01-27  Michael Koch  <konqueror@gmx.de>
10862
10863         * java/lang/Class.java
10864         (getConstructor): Removed SecurityException from throws clause.
10865         (_getConstructors): Likewise.
10866         (getConstructors): Likewise.
10867         (getDeclaredConstructor): Likewise.
10868         (getDeclaredClasses): Likewise.
10869         (getDeclaredConstructors): Likewise.
10870         (getDeclaredField): Likewise.
10871         (getDeclaredMethod): Likewise.
10872         (getDeclaredMethods): Likewise.
10873         (getField): Likewise.
10874         (getMethod): Likewise.
10875         (getMethods): Likewise.
10876
10877 2004-01-27  Kim Ho  <kho@redhat.com>
10878
10879         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10880         (removeMenuBarPeer): Remove MenuBarPeer argument.
10881         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10882         (dispose): Call native method.
10883         * java/awt/Frame.java (setMenuBar): Create and remove
10884         MenuBar peers only if the Frame has a peer.
10885         (addNotify): Create the MenuBar peer if one exists.
10886         (removeNotify): Remove MenuBar peer if one exists.
10887         * java/awt/Menu.java: Fix imports.
10888         (addNotify): Don't use full class name.
10889         (removeNotify): Call removeNotify on all children.
10890         * java/awt/MenuBar.java (removeNotify): Call
10891         removeNotify on all children.
10892         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10893         (removeMenuBarPeer): Remove MenuBarPeer argument.
10894         Iterate through children to find the Frame's MenuBar.
10895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10896         New file.
10897         (dispose): Remove references to the MenuComponent.
10898
10899 2004-01-27  Michael Koch  <konqueror@gmx.de>
10900
10901         * javax/swing/AbstractCellEditor.java: Reformated.
10902         * javax/swing/DefaultListSelectionModel.java
10903         (listenerList): Made protected.
10904         (addListSelectionListener): Javadoc added.
10905         (removeListSelectionListener): Likewise.
10906         (getListeners): Likewise.
10907         (getListSelectionListeners): Likewise.
10908         * javax/swing/JComboBox.java: Merged copyright year.
10909         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10910
10911 2004-01-26  Andrew Haley  <aph@redhat.com>
10912
10913         * javax/swing/table/JTableHeader.java: Extend JComponent
10914
10915 2004-01-26  Kim Ho  <kho@redhat.com>
10916
10917         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10918         Fix spacing.
10919
10920 2004-01-26  Kim Ho  <kho@redhat.com>
10921
10922         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10923         method.
10924         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10925         height and let the Layout Managers readjust anything that
10926         needs to move.
10927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10928         (moveLayout): New method. Shift everything in the Gtk
10929         layout in the Y direction by an offset.
10930
10931 2004-01-26  David Jee  <djee@redhat.com>
10932
10933         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10934         (handleEvent): Implemented. Handles PaintEvents.
10935         (paint): Implemented. Use GTK native methods to queue updates
10936         for this heavyweight peer.
10937         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10938         (handleEvent): Removed.
10939         * java/awt/Component.java
10940         (paint): Implemented. Explictly paint the heavyweight peer.
10941         (update): Clear the background for heavyweight components.
10942         (paintAll): No need to call peer.paint() anymore.
10943         (processEvent): Don't process PaintEvents here. It's now done in
10944         the peer's handleEvent().
10945         (processPaintEvent): Removed.
10946         * java/awt/Container.java
10947         (paint): No need to call super.paint(). Visit heavyweight
10948         children as well.
10949         (update): Don't clear the background here.  It's done in
10950         Component.update().
10951         (visitChildren): Added check to not recurse into Containers.
10952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10953         (filter_expose_event_handler): New method.  Filter unwanted
10954         expose events while painting heavyweight peers.
10955         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10956         New method. Connect filter and block pre_event_handler.
10957         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10958         New method. Disconnect filter and unblock pre_event_handler.
10959         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10960         New method. Invalidate and update given area.
10961         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10962         (pre_event_handler): Add checks for unwanted expose events.
10963
10964 2004-01-26  David Jee  <djee@redhat.com>
10965
10966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10967         (find_bg_color_widget): For GtkButton, return its child.
10968
10969 2004-01-26  Kim Ho  <kho@redhat.com>
10970
10971         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10972         private.
10973         (setMenuBar): Grab MenuBar height and change insets.
10974         (setBounds): Account for MenuBar height.
10975         (postInsetsChangedEvent): Ditto.
10976         (postSizeAllocateEvent): Remove.
10977         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10978         (menubar_resize_cb): Remove
10979         (setMenuBarPeer): Remove callback.
10980         (getMenuBarHeight): Use size requisition instead of
10981         allocation.
10982
10983 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10984
10985         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10986         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10987         when peer is null.
10988         (setColumns): Remove FIXME -- peer will retrieve number of
10989         columns by calling getColumns.
10990         (setRows): Likewise for number of rows.
10991         (next_text_number): New field.
10992         (paramString): Fix param string.
10993         (generateName): New method.
10994         (getUniqueLong): New method.
10995
10996 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10997
10998         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10999         image observer of image loading status.
11000         (getImage (String)): Start image production.
11001         (getImage (URL)): Likewise.
11002
11003 2004-01-25  Michael Koch  <konqueror@gmx.de>
11004
11005         * java/lang/Class.java: Imports reworked, reformated.
11006         (Class): Javadoc added.
11007         (forName): Likewise.
11008         (getClasses): Likewise.
11009         (getClassLoader): Likewise.
11010         (getComponentType): Likewise.
11011         (getConstructor): Likewise.
11012         (getConstructors): Likewise.
11013         (getDeclaredConstructor): Likewise.
11014         (getDeclaredClasses): Likewise.
11015         (getDeclaredConstructors): Likewise.
11016         (getDeclaredField): Likewise.
11017         (getDeclaredMethod): Likewise.
11018         (getDeclaredMethods): Likewise.
11019         (getDeclaringClass): Likewise.
11020         (getField): Likewise.
11021         (getInterfaces): Likewise.
11022         (getMethod): Likewise.
11023         (getMethods): Likewise.
11024         (getModifiers): Likewise.
11025         (getName): Likewise.
11026         (getResource): Likewise.
11027         (getResourceAsStream): Likewise.
11028         (getSigners): Likewise.
11029         (setSigners): Likewise.
11030         (getSuperclass): Likewise.
11031         (isArray): Likewise.
11032         (isAssignableFrom): Likewise.
11033         (isInstance): Likewise.
11034         (isInterface): Likewise.
11035         (isPrimitive): Likewise.
11036         (newInstance): Likewise.
11037         (getProtectionDomain): Likewise.
11038         (toString): Likewise.
11039         (Class): Moved.
11040         (initializeClass): Likewise.
11041         (finalize): Likewise.
11042
11043 2004-01-24  Michael Koch  <konqueror@gmx.de>
11044
11045         * gnu/java/net/protocol/jar/Connection.java
11046         (hdrHash): Removed.
11047         (hdrVec): Removed.
11048         (gotHeaders): Removed.
11049         (getHeaderField): Removed.
11050         (getHeaderFields): Removed.
11051         (getHeaderFieldKey): Removed.
11052         (getKey): Removed.
11053         (getField): Removed.
11054         (getHeaders): Removed.
11055
11056 2004-01-24  Michael Koch  <konqueror@gmx.de>
11057
11058         * Makefile.am: Added library version to gtk peer lib.
11059         * Makefile.in: Regenerated.
11060
11061 2004-01-24  Michael Koch  <konqueror@gmx.de>
11062
11063         * java/util/zip/InflaterInputStream.java: Merged class documentation
11064         with classpath.
11065
11066 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11067
11068         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11069         header.  For __powerpc64__ provide the default-signal.h definitions
11070         for now.
11071         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11072         instead of the dummy definitions.
11073         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11074         (powerpc64*-*): Remove with_libffi_default.
11075         Only add -mminimal-toc for 64-bit compilations.
11076         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11077         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11078         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11079         * configure: Rebuilt.
11080
11081 2004-01-23  Michael Koch  <konqueror@gmx.de>
11082
11083         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11084
11085 2004-01-23  Michael Koch  <konqueror@gmx.de>
11086
11087         * java/lang/VMClassLoader.java: Reworked imports.
11088         
11089 2004-01-23  Michael Koch  <konqueror@gmx.de>
11090
11091         * javax/swing/AbstractAction.java: Reformated.
11092
11093 2004-01-23  Michael Koch  <konqueror@gmx.de>
11094
11095         * java/text/CollationElementIterator.java:
11096         (setText): New method.
11097
11098 2004-01-23  Michael Koch  <konqueror@gmx.de>
11099
11100         * gnu/java/nio/FileLockImpl.java:
11101         Fixed filename in copyright.
11102         (released): Removed.
11103         (finalize): New method.
11104         * gnu/java/nio/natFileLockImpl.cc
11105         (releaseImpl): Implemented.
11106         * java/nio/channels/FileChannelImpl.java:
11107         Reworked imports.
11108         (lock): Implemented.
11109         (lockImpl): New method.
11110         (tryLock): Implemented.
11111         (tryLockImpl): New method.
11112         * java/nio/channels/natFileChannelImpl.cc
11113         (lockImpl): New method.
11114         (tryLockImpl): New method.
11115
11116 2004-01-23  Michael Koch  <konqueror@gmx.de>
11117
11118         * java/io/FileDescriptor.java
11119         (lock): New method.
11120         (tryLock): New method.
11121         (unlock): New method.
11122         * java/io/natFileDescriptorEcos.cc
11123         (lock): New method.
11124         (tryLock): New method.
11125         (unlock): New method.
11126         * java/io/natFileDescriptorPosix.cc
11127         (lock): New method.
11128         (tryLock): New method.
11129         (unlock): New method.
11130         * java/io/natFileDescriptorWin32.cc
11131         (lock): New method.
11132         (tryLock): New method.
11133         (unlock): New method.
11134
11135 2004-01-23  Michael Koch  <konqueror@gmx.de>
11136
11137         * java/io/FileDescriptor.java
11138         (sync): Moved around, added javadoc.
11139         (valid): Likewise.
11140         (open): Likewise.
11141         (write): Likewise.
11142         (close): Likewise.
11143         (setLength): Likewise.
11144         (seek): Likewise.
11145         (getLength): Likewise.
11146         (getFilePointer): Likewise.
11147         (read): Likewise.
11148         (available): Likewise.
11149         (finalize): Likewise.
11150
11151 2004-01-23  Michael Koch  <konqueror@gmx.de>
11152
11153         * javax/swing/AbstractAction.java: Reformated.
11154         (getPropertyChangeListeners): New method.
11155         * javax/swing/AbstractCellEditor.java: Reformated.
11156         (getCellEditorListeners): New method.
11157         * javax/swing/DefaultListSelectionModel.java
11158         (listenerList): New field.
11159         (listeners): Removed.
11160         (get_listeners): Removed.
11161         (addListSelectionListener): Rewritten.
11162         (removeListSelectionListener): Rewritten.
11163         (getListSelectionListeners): New method.
11164         (getListeners): New method.
11165         * javax/swing/JComboBox.java: Imports reworked.
11166         (addActionListener): Implemented.
11167         (removeActionListener): Implemented.
11168         (addItemListener): Implemented.
11169         (removeItemListener): Implemented.
11170         (addPopupMenuListener): Implemented.
11171         (removePopupMenuListener): Implemented.
11172         (getActionListeners): New method.
11173         (getItemListeners): New method.
11174         (getPopupMenuListeners): New method.
11175
11176 2004-01-23  Michael Koch  <konqueror@gmx.de>
11177
11178         * gnu/java/net/protocol/http/Connection.java
11179         (connect): Don't initialize bufferedOutputStream if not needed.
11180         (sendRequest): Set property for content length if content is present.
11181         Write content only if present.
11182         (getOutputStream): Check if already connected, dont connect,
11183         initalize bufferedOutputStream if needed.
11184
11185 2004-01-23  Michael Koch  <konqueror@gmx.de>
11186
11187         * java/io/FileDescriptor.java
11188         (in, out, err): Added javadoc.
11189         (static): Merged loading code.
11190         (fd, position): Moved around.
11191
11192 2004-01-23  Michael Koch  <konqueror@gmx.de>
11193
11194         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11195         New file.
11196
11197 2004-01-23  Michael Koch  <konqueror@gmx.de>
11198
11199         * java/lang/Class.java,
11200         java/lang/Object.java,
11201         java/lang/Thread.java: Merged copyright with classpath.
11202
11203 2004-01-23  Michael Koch  <konqueror@gmx.de>
11204
11205         * java/io/FileDescriptor.java: Merged copyright with classpath to
11206         start merging this class.
11207
11208 2004-01-22  Tom Tromey  <tromey@redhat.com>
11209
11210         PR libgcj/13107:
11211         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11212         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11213         * testsuite/libjava.lang/pr13107_3.java: New file.
11214         * testsuite/libjava.lang/pr13107_3.out: New file.
11215         * testsuite/libjava.lang/pr13107_2.java: New file.
11216         * testsuite/libjava.lang/pr13107_2.out: New file.
11217         * testsuite/libjava.lang/pr13107.java: New file.
11218         * testsuite/libjava.lang/pr13107.out: New file.
11219         * verify.cc (jsr_ptrs): Removed.
11220         (entry_points): Likewise.
11221         (struct subr_info): Likewise.
11222         (struct subr_entry_info): Likewise.
11223         (type_val::unused_by_subroutine_type): Likewise.
11224         (type::merge): Don't handle unused_by_subroutine_type.
11225         (type::print): Likewise.
11226         (state::flags): Removed.
11227         (state::subroutine): Likewise.
11228         (state::seen_subrs): Likewise.
11229         (state::NO_STACK): Likewise.
11230         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11231         (state): Updated all methods.
11232         (state::clean_subrs): Removed.
11233         (state::state): Removed `ret_semantics' flag.
11234         (state::copy): Likewise.
11235         (state::add_subr): Removed.
11236         (state::enter_subroutine): Likewise.
11237         (type::set_return_address): New method.
11238         (handle_jsr_insn): Set return address on the type.  Always
11239         invalidate PC after call.
11240         (check_nonrecursive_call): Removed.
11241         (~_Jv_BytecodeVerifier): Updated.
11242         (branch_prepass): Removed special handling of jsr.
11243         (note_branch_target): Likewise.
11244         (get_subroutine): Removed.
11245         (state::merge): Don't merge subroutines and don't handle
11246         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11247         (state::note_variable): Removed.
11248         (state::is_unmerged_ret_state): Likewise.
11249         (state::print): Updated.
11250         (set_variable): Likewise.
11251         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11252         and jsr_semantics arguments.  Updated for new reverification
11253         list.
11254         (pop_jump): Rewrote.
11255         (construct_primitive_array_type): Updated.
11256         (state::next): Removed.
11257         (INVALID_STATE): New define.
11258         (state::INVALID): Removed.
11259         (state::NO_NEXT): New value.
11260         (state::pc, state::next): New fields.
11261         (state::get_pc): New method.
11262         (next_verify_pc): Removed.
11263         (next_verify_state): New field.
11264         (verify_instructions_0): Always check for falling off end.
11265         (linked): New type.
11266         (linked_utf8): Removed.
11267         (states): Changed type.
11268         (type::state_mergeable_p): New method.
11269         (state::state_mergeable_p): Likewise.
11270         (handle_ret_insn): Removed most code.
11271         (state::reverify): New method.
11272         (add_new_state): Likewise.
11273         (state::set_pc): Likewise.
11274
11275 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11276
11277         PR java/13733
11278         * testsuite/libjava.compile/PR13733.java: New file.
11279         * testsuite/libjava.compile/PR13733.xfail: New file.
11280
11281 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11282             Michael Koch  <konqueror@gmx.de>
11283
11284         * javax/swing/table/DefaultTableCellRenderer.java
11285         (DefaultTableCellRenderer): Added javadoc for the class and for
11286         the constructor, Border instance, create an EmptyBorder.
11287         (UIResource): Removed the comment at the end of the class
11288         (setForeground): New method.
11289         (setBackground): New method.
11290         (updateUI): New method.
11291         (getTableCellRendererComponent): Rewritten with the help of
11292         dvholten and Stephane Meslin-Weber.
11293         (validate): New method.
11294         (repaint): New method.
11295         (firePropertyChange): New method.
11296         (setValue): New method.
11297
11298 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11299
11300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11301         (connectJObject): Replace printf calls with g_assert statements.
11302         Move property-notify-event signal connection to ...
11303         (connectSignals): Connect property-notify-event signal.  Iterate
11304         through the vbox's children to find layout.
11305
11306 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11307         
11308         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11309         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11310         Predicate static initialization on GtkToolkit.useGraphics2D().
11311         * java/awt/Component.java (processPaintEvent): Consume event.
11312         * javax/swing/AbstractButton.java: Reimplement, document.
11313         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11314         * javax/swing/JComponent.java (paint): Use double buffer.
11315         (listenerList): Enable member.
11316         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11317         * javax/swing/JToggleButton.java 
11318         (JToggleButton): Modify model constructor.
11319         * javax/swing/SwingUtilities.java 
11320         (layoutCompoundLabel): Adjust arithmetic.
11321         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11322         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11323         (getPreferredButtonSize): Include margins in calculation.
11324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11325         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11326         Receive up events from subordinate layout component.
11327
11328 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11329
11330         * java/awt/Component.java (show): Set visible to true before
11331         showing the peer.
11332
11333 2004-01-21  Kim Ho  <kho@redhat.com>
11334
11335         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11336         Fix comments.
11337         (removeMenuBarPeer): Make package private.
11338         (setMenuBarPeer): Make package private.
11339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11340         (menubar_resize_cb): Mark attributes unused.
11341         (getMenuBarHeight): ditto.
11342
11343 2004-01-21  David Jee  <djee@redhat.com>
11344
11345         * java/awt/Container.java
11346         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11347         dispatching MOUSE_ENTERED event twice. Translate the point for
11348         the mouse event target before dispatching the event.
11349
11350 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11351
11352         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11353         lib_org_w3c_dom_la_LDFLAGS): New.
11354         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11355         * Makefile.in: Rebuilt.
11356
11357 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11358
11359         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11360         Calculate proper offsets for heavyweight components packed in
11361         lightweight containers.
11362
11363         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11364         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11365         (native create): Add width parameter.
11366         (create): Calculate text entry width based on current font's
11367         metrics and number of columns.  Set TextField's font if not
11368         already set.  Call native create.
11369         (gtkEntryGetBorderWidth): New native method.
11370         (gtkEntryGetSize): Remove method.
11371         (getMinimumSize): Call minimumSize.
11372         (getPreferredSize): Call preferredSize.
11373         (minimumSize): Calculate minimum size based on backing
11374         GtkEntry's borders, font metrics and number of columns.
11375         (preferredSize): Likewise for preferred size.
11376         (get_border_width): New static function.
11377
11378         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11379         Override GtkWindowPeer's setResizable method to account for menu
11380         bar height when setting the frame's size.
11381
11382 2004-01-19  Matthias Klose  <doko@debian.org>
11383
11384         * libtool-version: Increased `current' to 6.
11385
11386 2004-01-19  Kim Ho  <kho@redhat.com>
11387
11388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11389         (connectJObject): Iterate through the vbox's children to find layout.
11390
11391 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11392
11393         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11394         isDispatchThread method to replace wrong test condition.
11395
11396 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11397
11398         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11399         events to the queue out of order by acquiring locks in the proper
11400         order and not by releasing one before acquiring the other.
11401
11402 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11403
11404         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11405         visible so that dialog can be reused.
11406
11407 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11408
11409         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11410         events may be handled by any queue in the stack.
11411
11412 2004-01-19  Kim Ho  <kho@redhat.com>
11413
11414         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11415         MenuBarPeer parameter.
11416         (removeMenuBarPeer): New native method.
11417         (setMenuBar): Call remove if menu bar is null. Adjust insets
11418         appropriately.
11419         (postSizeAllocateEvent): New method. Called when menu bar size is
11420         allocated. Adjust insets and redo layout.
11421         (GtkFramePeer): Set menu bar during frame creation.
11422         (postConfigureEvent): Adjust position and size to accomodate
11423         menu bar.
11424         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11425         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11426         (addNotify): Create the peer if it doesn't exist and call addNotify
11427         for the menu's items.
11428         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11429         * java/awt/MenuItem.java (addNotify): Create the peer if it
11430         doesn't exist.
11431         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11432         (removeMenuBarPeer): New method. Remove menu bar on the current
11433         frame.
11434         (setMenuBarPeer): Add the menu bar to the current frame and the
11435         callback for size-allocate events on the menu bar.
11436         (getMenuBarHeight): Add menu bar parameter.
11437         (menubar_resize_cb): New callback method for postSizeAllocate events.
11438
11439         Also: Fix indentation on last ChangeLog entry.
11440
11441 2004-01-16  Kim Ho  <kho@redhat.com>
11442
11443         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11444         (gtkWidgetGetDimensions): Remove.
11445         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11446         (gtkWidgetGetDimensions): Remove.
11447
11448 2004-01-16  Tom Tromey  <tromey@redhat.com>
11449
11450         * java/awt/Container.java: Typo and indentation fixes.
11451
11452         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11453         * java/lang/natVMClassLoader.cc: ...here.  New file.
11454         * Makefile.in: Rebuilt.
11455         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11456
11457 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11458
11459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11460         Discard GDK_ENTER_NOTIFY related to ungrabs.
11461
11462 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11463
11464         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11465         is called for an intermediate queue.
11466
11467 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11468
11469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11470         (window_property_changed_cb): Set id_set.
11471
11472 2004-01-16  Kim Ho  <kho@redhat.com>
11473
11474         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11475         it is a FileDialog and has dimensions of 0 by 0, then the initial
11476         size is set to size request plus insets.
11477         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11478         (gtkWidgetGetDimensions): Override method.
11479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11480         (gtkWidgetGetDimensions): Override method. Returns size request plus
11481         insets.
11482
11483 2004-01-16  Andrew Haley  <aph@redhat.com>
11484
11485         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11486         * sysdep/i386/locks.h: Likewise.
11487
11488 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11489
11490         * java/awt/EventDispatchThread.java (run): Stop running when
11491         interrupted.
11492         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11493         Reset the queue after transferring its contents.
11494         (push): Start a new dispatch thread if none is running.
11495
11496 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11497
11498         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11499         (doPolygon): set fill rule of polygon to 
11500         WIND_EVEN_ODD by default.
11501
11502 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11503
11504         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11505         Implemented rendering hints related methods.
11506         (getDefaultHints): New helper method. Returns
11507         default rendering hints.
11508         (walkPath): changed to normalize path if
11509         the KEY_STROKE_CONTROL key is in "normalize" mode.
11510         (draw3DRect): changed coordinates of rectangle by +0.5
11511         if in "normalize" mode.
11512
11513 2004-01-15  Tom Tromey  <tromey@redhat.com>
11514
11515         * Makefile.in: Rebuilt.
11516         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11517         (%.lo: %.java) Filter out StackTrace.lo.
11518
11519 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11520
11521         * configure.in: Add in AC_PREREQ(2.13)
11522         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11523         FIXME comment.
11524
11525 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11526             Tom Tromey  <tromey@redhat.com>
11527
11528         PR libgcj/12001:
11529         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11530         array to superclass.
11531         (init): Changed interface; add URLs here.
11532         (initialize): New static method.
11533         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11534         (_Jv_RunMain): ... not here.
11535
11536 2004-01-14  Michael Koch  <konqueror@gmx.de>
11537
11538         * java/text/MessageFormat.java:
11539         Added descriptions to exceptions.
11540         This fixes PR libgcj/2429.
11541
11542 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11543
11544         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11545         (push): Make sure push is performed at the top of the thread stack.
11546
11547 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11548
11549         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11550         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11551         (native create): Add width and height parameters.  Set text
11552         view's size request according to new parameters.
11553         (create): Calculate text view size based on current font's
11554         metrics and number of rows and columns.  Set TextArea's font if
11555         not already set.  Call native create.
11556         (getMinimumSize): Call minimumSize.
11557         (getPreferredSize): Call preferredSize.
11558         (getHScrollbarHeight): New method.
11559         (getVScrollbarWidth): New method.
11560         (minimumSize): Calculate minimum size based on scrollbar
11561         visibility, scrollbar sizes, font metrics and number of rows and
11562         columns.
11563         (preferredSize): Likewise for preferred size.
11564         (gtkTextGetSize): Remove method.
11565
11566 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11567
11568         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11569         (initializeInsets): Remove method.
11570         (GtkComponentPeer): Initialize insets field.  Remove call to
11571         initializeInsets.
11572         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11573         Remove method.
11574         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11575         Remove method.
11576         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11577         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11578         (latestInsets): Remove field.
11579         (native create): Add insets parameter.  Call
11580         window_get_frame_extents.  Set the window's default size and
11581         size request based on its frame extents.
11582         (create): Initialize insets.
11583         (postInsetsChangedEvent): New method.
11584         (postConfigureEvent): Remove parameters top, left, bottom,
11585         right.  Remove insets-related logic.
11586         (connectJObject): Handle property-notify-event.
11587         (window_get_frame_extents, request_frame_extents,
11588         property_notify_predicate, window_property_changed_cb): New
11589         static functions.
11590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11591         (pre_event_handler): Remove insets-related logic for configure
11592         events.
11593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11594         Update postConfigureEvent signature.
11595
11596 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11597  
11598         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11599         to handle Window "Closing" events.
11600  
11601 2004-01-13  David Jee  <djee@redhat.com>
11602
11603         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11604         (setBackground): New method. Children with no explicitly-set
11605         background will be repainted with the parent container's new
11606         background color.
11607
11608 2004-01-13  David Jee  <djee@redhat.com>
11609
11610         * Makefile.am: Add BitwiseXORComposite.java.
11611         * Makefile.in: Regenerated.
11612         * gcj/Makefile.in: Regenerated.
11613         * include/Makefile.in: Regenerated.
11614         * testsuite/Makefile.in: Regenerated.
11615
11616 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11617
11618         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11619         not show modal dialogs twice and so that it allows showing a modal
11620         dialog from another modal dialog.
11621
11622 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11623
11624         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11625         and run secondary dispatch thread to process event queue while this
11626         thread is blocked.
11627
11628 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11629
11630         * gnu/java/awt/gtk/GdkGraphics2D.java
11631         (static): Check GtkToolkit before initializing static state.
11632         (Graphics2D): Don't construct transform with 0.5 unit offset.
11633
11634 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11635
11636         * gnu/java/awt/BitwiseXORComposite.java: Add.
11637         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11638         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11639         (BitwiseXORComposite): Remove inner class.
11640
11641 2004-01-11  Michael Koch  <konqueror@gmx.de>
11642
11643         * gnu/java/lang/reflect/TypeSignature.java
11644         (getEncodingOfClass): Documentation fixed.
11645         (getClassForEncoding): Give class loader to Class.forName().
11646         Documentation fixed.
11647
11648 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11649
11650         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11651
11652 2004-01-11  Michael Koch  <konqueror@gmx.de>
11653
11654         * javax/swing/undo/StateEditable.java
11655         (RCSID): Removed redundant modifiers.
11656
11657 2004-01-10  Michael Koch  <konqueror@gmx.de>
11658
11659         * javax/print/attribute/EnumSyntax.java
11660         (getStringTable): Made protected.
11661         (getEnumValueTable): Likewise.
11662         * javax/print/attribute/standard/JobKOctetsProcessed.java
11663         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11664         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11665         (JobMediaSheetsCompleted): Made class final.
11666         * javax/print/attribute/standard/OutputDeviceAssigned.java
11667         (getName): Fixed typo.
11668         * javax/print/attribute/standard/RequestingUserName.java
11669         (serialVersionUID): Fixed value.
11670
11671 2004-01-10  Michael Koch  <konqueror@gmx.de>
11672
11673         * javax/swing/plaf/basic/BasicButtonUI.java,
11674         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11675         javax/swing/plaf/basic/BasicListUI.java,
11676         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11677         javax/swing/plaf/basic/BasicPanelUI.java,
11678         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11679         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11680         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11681         javax/swing/plaf/basic/BasicViewportUI.java:
11682         Fixed import statements.
11683
11684 2004-01-10  Michael Koch  <konqueror@gmx.de>
11685
11686         * gnu/java/awt/image/ImageDecoder.java
11687         (produce): Made public.
11688         * gnu/java/awt/peer/GLightweightPeer.java,
11689         gnu/java/awt/peer/gtk/GtkToolkit.java:
11690         Reformated.
11691
11692 2004-01-10  Michael Koch  <konqueror@gmx.de>
11693
11694         * javax/swing/JRadioButtonMenuItem.java,
11695         javax/swing/JSeparator.java,
11696         javax/swing/JSplitPane.java,
11697         javax/swing/JTextPane.java,
11698         javax/swing/JToolBar.java,
11699         javax/swing/ListCellRenderer.java,
11700         javax/swing/ListModel.java,
11701         javax/swing/MenuElement.java,
11702         javax/swing/OverlayLayout.java,
11703         javax/swing/ProgressMonitor.java,
11704         javax/swing/ProgressMonitorInputStream.java,
11705         javax/swing/Renderer.java,
11706         javax/swing/RootPaneContainer.java,
11707         javax/swing/Scrollable.java,
11708         javax/swing/SingleSelectionModel.java,
11709         javax/swing/ToolTipManager.java,
11710         javax/swing/ViewportLayout.java,
11711         javax/swing/event/DocumentEvent.java,
11712         javax/swing/event/SwingPropertyChangeSupport.java,
11713         javax/swing/event/TreeSelectionEvent.java,
11714         javax/swing/event/UndoableEditEvent.java,
11715         javax/swing/text/AbstractDocument.java,
11716         javax/swing/text/AttributeSet.java,
11717         javax/swing/text/Caret.java,
11718         javax/swing/text/ComponentView.java,
11719         javax/swing/text/DefaultCaret.java,
11720         javax/swing/text/DefaultEditorKit.java,
11721         javax/swing/text/Document.java,
11722         javax/swing/text/EditorKit.java,
11723         javax/swing/text/GapContent.java,
11724         javax/swing/text/Keymap.java,
11725         javax/swing/text/MutableAttributeSet.java,
11726         javax/swing/text/PlainEditorKit.java,
11727         javax/swing/text/Segment.java,
11728         javax/swing/text/Style.java,
11729         javax/swing/text/StyledDocument.java,
11730         javax/swing/text/StyledEditorKit.java,
11731         javax/swing/text/TextAction.java,
11732         javax/swing/text/View.java: Fixed import statements.
11733
11734 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11735
11736         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11737         djee@redhat.com's recent inverse ordering of Container elements.
11738
11739 2004-01-09  Michael Koch  <konqueror@gmx.de>
11740
11741         * gnu/java/lang/ArrayHelper.java
11742         (equalsArray): Removed.
11743
11744 2004-01-09  Andrew Haley  <aph@redhat.com>
11745
11746         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11747         a Utf8Const field before looking at its class.
11748
11749 2004-01-09  Michael Koch  <konqueror@gmx.de>
11750
11751         * javax/print/attribute/standard/DocumentName.java,
11752         javax/print/attribute/standard/JobHoldUntil.java,
11753         javax/print/attribute/standard/JobMessageFromOperator.java,
11754         javax/print/attribute/standard/JobName.java,
11755         javax/print/attribute/standard/JobOriginatingUserName.java,
11756         javax/print/attribute/standard/OutputDeviceAssigned.java,
11757         javax/print/attribute/standard/PrinterInfo.java,
11758         javax/print/attribute/standard/PrinterLocation.java,
11759         javax/print/attribute/standard/PrinterMakeAndModel.java,
11760         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11761         javax/print/attribute/standard/PrinterName.java,
11762         javax/print/attribute/standard/RequestingUserName.java: New files.
11763         * Makefile.am (javax_source_files): Added new files.
11764         * Makefile.in: Regenerated.
11765
11766 2004-01-09  Michael Koch  <konqueror@gmx.de>
11767
11768         * javax/swing/AbstractAction.java,
11769         javax/swing/AbstractSet.java,
11770         javax/swing/Action.java,
11771         javax/swing/ActionMap.java,
11772         javax/swing/BoundedRangeModel.java,
11773         javax/swing/ButtonModel.java,
11774         javax/swing/CellEditor.java,
11775         javax/swing/CellRendererPane.java,
11776         javax/swing/ComboBoxEditor.java,
11777         javax/swing/DebugGraphics.java,
11778         javax/swing/DefaultCellEditor.java,
11779         javax/swing/DefaultCellRenderer.java,
11780         javax/swing/DefaultComboBoxModel.java,
11781         javax/swing/DefaultDesktopManager.java,
11782         javax/swing/DefaultFocusManager.java,
11783         javax/swing/DefaultListCellRenderer.java,
11784         javax/swing/Icon.java,
11785         javax/swing/JButton.java,
11786         javax/swing/JCheckBoxMenuItem.java,
11787         javax/swing/JDesktopPane.java,
11788         javax/swing/JEditorPane.java,
11789         javax/swing/JMenu.java,
11790         javax/swing/JPanel.java,
11791         javax/swing/JPasswordField.java,
11792         javax/swing/JPopupMenu.java,
11793         javax/swing/JProgressBar.java: Reworked imports.
11794
11795 2004-01-09  Michael Koch  <konqueror@gmx.de>
11796
11797         * java/awt/geom/PathIterator.java
11798         (WIND_EVEN_ODD): Removed redundant modifiers.
11799         (WIND_NON_ZERO): Likewise.
11800         (SEG_MOVETO): Likewise.
11801         (SEG_LINETO): Likewise.
11802         (SEG_QUADTO): Likewise.
11803         (SEG_CUBICTO): Likewise.
11804         (SEG_CLOSE): Likewise.
11805         * java/awt/image/SinglePixelPackedSampleModel.java:
11806         Removed redundant semicolon.
11807         * java/io/ObjectInputStream.java
11808         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11809         * java/util/logging/Filter.java
11810         (isLoggable): Removed redundant modifier.
11811         * java/util/logging/LogManager.java:
11812         Removed redundant semicolon.
11813         * java/util/logging/XMLFormatter.java
11814         (format): Removed unused variable "key".
11815
11816 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11817
11818         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11819         New name for the former setFile native method.
11820         (setFile): New method.
11821         (setDirectory): Implemented.
11822         (connectSignals): New native method.
11823         (setFilenameFilter): Improve comment.
11824         (getGraphics): Comment.
11825         (gtkHideFileDialog): New method.
11826         (gtkDisposeFileDialog): New method.
11827         (gtkSetFilename): New method.
11828         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11829         for FileDialog for now.
11830         (hide): New method.
11831         (dispose): New method.
11832         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11833         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11834         deprecated creation functions.  Make dialog modal.  Add it to the
11835         window group.
11836         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11837         function.
11838         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11839         Rename to...
11840         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11841         name.
11842         (window_closed): New function.
11843         (ok_clicked): New function.
11844         (cancel_clicked): New function.
11845
11846 2004-01-08  Michael Koch  <konqueror@gmx.de>
11847
11848         * javax/swing/JLayeredPane.java: Revert changes to standard
11849         boilerplate, reworked imports.
11850
11851 2004-01-07  Tom Tromey  <tromey@redhat.com>
11852
11853         PR libgcj/13439:
11854         * verify.cc (state::merge): Copy changed locals out of subroutine
11855         in NO_STACK case.
11856         (state::FLAG_CHANGED): New const.
11857         (state::FLAG_UNUSED): Likewise.
11858         (state::local_changed): Removed.  Updated all users.
11859         (state::flags): New field.
11860         (state::merge): Added jsr_semantics argument, more logic.
11861         (push_jump_merge): Added jsr_semantics argument.
11862         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11863         merging through the jsr instruction.
11864
11865 2004-01-07  Tom Tromey  <tromey@redhat.com>
11866
11867         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11868         backslash-newline.
11869
11870 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11871
11872         * java/awt/Container.java (LightweightDispatcher): Implement.
11873         (visitChild): Reuse graphics object.
11874         (dispatchEventImpl): Optionally dispatch to lightweight.
11875         (addNotifyContainerChildren): Build LightweightDispatcher.
11876
11877 2004-01-07  David Jee  <djee@redhat.com>
11878
11879         * java/awt/Container.java
11880         (update): Clear only the clipped region, instead of clearing the
11881         entire Container.
11882         (visitChildren): Visit children in descending order.
11883
11884 2004-01-07  Michael Koch  <konqueror@gmx.de>
11885
11886         * java/lang/reflect/Array.java: Merged documentation with classpath.
11887
11888 2004-01-07  Michael Koch  <konqueror@gmx.de>
11889
11890         * java/text/CollationElementIterator.java
11891         (textIndex): Renamed from index.
11892         * java/text/CollationKey.java
11893         (collator): New member.
11894         (CollationKey): New argument for parent collator.
11895         (equals): Check for same collator, source string and key array.
11896         * java/text/RuleBasedCollator.java:
11897         Reformated.
11898         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11899         value.
11900         (getCollationElementIterator): Rewritten.
11901         (getCollationKey): Added new argument to CollationKey constructor.
11902
11903 2004-01-07  Michael Koch  <konqueror@gmx.de>
11904
11905         * gnu/java/nio/DatagramChannelImpl.java
11906         (blocking): Removed.
11907         (DatagramChannelImpl): Call configureBlocking().
11908         (implConfigureBlocking): Dont initialize blocking.
11909         * gnu/java/nio/ServerSocketChannelImpl.java
11910         (blocking): Removed.
11911         (ServerSocketChannelImpl): Call configureBlocking().
11912         (implConfigureBlocking): Dont initialize blocking.
11913         * gnu/java/nio/SocketChannelImpl.java
11914         (blocking): Removed.
11915         (SocketChannelImpl): Call configureBlocking().
11916         (implConfigureBlocking): Dont initialize blocking.
11917         (connect): Use isBlocking().
11918         * java/nio/channels/spi/AbstractSelectableChannel.java
11919         (configureBlocking): Use blockingLock() instead of LOCK.
11920         Set blocking after successfully called implConfigureBlocking().
11921         (register): Use blockingLock() instead of LOCK.
11922
11923 2004-01-07  Michael Koch  <konqueror@gmx.de>
11924
11925         * java/net/ServerSocket.java (isBound): Fixed documentation.
11926
11927 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11928
11929         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11930         (changeEvent): Create event object on demand.
11931         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11932         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11933         fireStateChanged): Re-written.
11934         * javax/swing/event/EventListenerList.java: Reformatted, document
11935         typical usage.
11936         (toString): Implemented.
11937         (getListeners): Re-written.
11938         (remove): Re-written.
11939         (add): Re-written.
11940         (NO_LISTENERS): New singleton field.
11941         (listenerList): Declare as transient; document.
11942         (serialVersionUID): Document.
11943         (getListenerCount(Class)): More efficient implementation,
11944         also accepts null argument.  Improve Javadoc.
11945         (getListenerCount()): Remove unnecessary cast; docfix.
11946         * javax/swing/undo/UndoableEditSupport.java:
11947         Re-format, document.
11948         (UndoableEditSupport): Set realSource field. Improve documentation.
11949         (_postEdit): Iterate over cloned listener vector.
11950         (toString): Don't emit realSource.
11951         (beginUpdate, endUpdate): Support nested updates.
11952         (postEdit): Use compound edit if present.
11953
11954 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11955
11956         * java/awt/Container.java (swapComponents): Add forgotten
11957         function, required for JLayeredPane change.
11958
11959 2004-01-06  Michael Koch  <konqueror@gmx.de>
11960
11961         * java/text/CollationElementIterator.java: Reformated.
11962         (CollationElementIterator): Changed order of arguments.
11963         * java/text/RuleBasedCollator.java
11964         (RuleBasedCollator): Merged class documentation.
11965         (CollationElement): Added documentation.
11966         (compare): Reformated, renamed arguments.
11967         (equals): Likewise.
11968         (getCollationElementIterator): Likewise.
11969         (getCollationKey): Likewise.
11970
11971 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11972
11973         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11974
11975 2004-01-06  Michael Koch  <konqueror@gmx.de>
11976
11977         * gnu/java/net/protocol/file/Connection.java:
11978         Reformated copyright.
11979         (hdrHash): Removed.
11980         (hdrVec): Removed.
11981         (gotHeaders): Removed.
11982         (getHeaderField): Removed.
11983         (getHeaderField): Removed.
11984         (getHeaderFieldKey): Removed.
11985         (getKey): Removed.
11986         (getField): Removed.
11987         (getHeaders): Removed.
11988
11989 2004-01-06  Michael Koch  <konqueror@gmx.de>
11990
11991         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11992         javax/print/attribute/standard/DateTimeAtCreation.java,
11993         javax/print/attribute/standard/DateTimeAtProcessing.java,
11994         javax/print/attribute/standard/JobImpressionsCompleted.java,
11995         javax/print/attribute/standard/JobKOctets.java,
11996         javax/print/attribute/standard/JobKOctetsProcessed.java,
11997         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11998         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11999         * Makefile.am (javax_source_files): Added new files.
12000         * Makefile.in: Regenerated.
12001
12002 2004-01-06  Michael Koch  <konqueror@gmx.de>
12003
12004         * java/net/URLConnection.java
12005         (contentHandler): Removed.
12006         (locale): Removed.
12007         (getHeaderFields): Return an empty map instead of null.
12008         (getContent): Connect if needed, renamed "cType" to "type" and
12009         "contentHandler" to "ch" and made it a local variable.
12010         (getPermission): Don't use package in class name.
12011         (setDefaultRequestProperty): Fixed typo in documentation.
12012         (initializeDateFormats): Made locale a local variable.
12013
12014 2004-01-06  Michael Koch  <konqueror@gmx.de>
12015
12016         * java/lang/Package.java
12017         (getPackage): Get the current class loader directly.
12018         * java/lang/SecurityManager.java
12019         (currentLoadedClass): Dont iterate over class contexts.
12020         (classLoaderDepth): Don't check class loaders if everything is allowed.
12021
12022 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12023
12024         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12025         (pre_event_handler): Set all insets to 0 when a Configure event
12026         is received for a GtkPlug.
12027         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12028         Make handle long, not int.
12029         (EmbeddedWindow()): New constructor.
12030         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12031         long, not int.
12032         (setHandle): New method.
12033         (getHandle): Return long, not int.
12034         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12035         declaration.
12036         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12037         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12038         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12039         argument to GdkNativeWindow.
12040         (construct): New method.
12041         (embed): New method.
12042
12043         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12044         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12045         (create(int, int)): New method.
12046         (create): Call new create method.
12047         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12048         methods.
12049         (childResized): Remove native implementation.  Implement in
12050         Java.
12051         (getHScrollbarHeight, getVScrollbarWidth): Call
12052         gtk_widget_size_request to get scrollbar dimensions.
12053         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12054         call getVScrollbarWidth and getHScrollbarHeight when vertical
12055         and horizontal scrollbars respectively are needed.
12056         (doLayout): Enlarge child if it is smaller than the viewport.
12057
12058 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12059
12060         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12061         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12062         argument as per spec.
12063
12064 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12065
12066         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12067         (insert): Ditto.
12068         (remove): Ditto.  Also, Check for valid argument.
12069         (removeAll): Use peer interface method.
12070         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12071         native add function.
12072         (nativeRemove): New name for native remove function.
12073         (getHistory): New native function.
12074         (constructor): Generate ItemEvent.
12075         (add): Ditto, if selection is changed.
12076         (remove): Ditto, ditto.
12077         (removeAll): Add implementation.
12078         (handleEvent): Remove.  Dead code.
12079         (choicePostItemEvent): Add comment.
12080         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12081         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12082         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12083         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12084         comments and fix condition to change selection.
12085         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12086         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12087         remove all capability.
12088         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12089         (item_activate): Add cast to remove compiler warning.
12090
12091 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12092
12093         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12094         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12095         (getPreferredSize): Call preferredSize.
12096         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12097         (getMinimumSize): Call minimumSize.
12098         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12099         (gtkWidgetGetDimensions): Return the peer widget's current size
12100         request.
12101         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12102         natural size request.
12103
12104 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12105
12106         Thanks to Brian Gough <bjg@network-theory.com>
12107         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12108         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12109
12110 2004-01-04  Matthias Klose  <doko@debian.org>
12111
12112         * aclocal.m4: Rebuilt using "aclocal -I .".
12113         * configure: Rebuilt.
12114
12115 2004-01-03  Per Bothner  <per@bothner.com>
12116
12117         * java/util/Date.java (parse):  Fix a number of problems.
12118         (skipParens):  Remove no-longer-needed method.
12119