OSDN Git Service

* gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-06  Tom Tromey  <tromey@redhat.com>
2
3         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
4         package-private.
5         (connections): Likewise.
6         (scavenger): Likewise.
7         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
8         package-private.
9         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
10         package-private.
11         (ptr): Likewise.
12         * gnu/classpath/ServiceFactory.java (log): Now package-private.
13
14 2004-11-06  Tom Tromey  <tromey@redhat.com>
15
16         * javax/naming/directory/BasicAttributes.java (attributes): Now
17         package-private.
18         * javax/imageio/spi/ServiceRegistry.java (categories): Now
19         package-private.
20
21 2004-11-06  Tom Tromey  <tromey@redhat.com>
22
23         * java/net/URLClassLoader.java (URLClassLoader): Now
24         package-private.
25         * java/nio/charset/CoderResult.java (CoderResult): Now
26         package-private.
27         (get): Likewise.
28         (Cache): Likewise.  Don't synchronize on `this'.
29         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
30         package-private.
31         * java/util/TimeZone.java (timezones): Now package-private.
32
33 2004-11-06  Tom Tromey  <tromey@redhat.com>
34
35         * java/security/Permissions.java (perms): Now package-private.
36         * java/security/UnresolvedPermission.java (permissions): Now
37         package-private.
38
39 2004-11-06  Tom Tromey  <tromey@redhat.com>
40
41         * java/io/FilePermission.java: Reindented.
42
43 2004-11-06  Tom Tromey  <tromey@redhat.com>
44
45         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
46         package-private.
47         (setBlockDataMode): Likewise.
48
49 2004-11-06  Tom Tromey  <tromey@redhat.com>
50
51         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
52         package-private.
53         (Encoder): Likewise.
54         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
55         (Encoder): Likewise.
56         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
57         package-private.
58         (Encoder): Likewise.
59
60 2004-11-06  Mark Wielaard  <mark@klomp.org>
61
62         * Makefile.am: Add new javax.imageio files.
63         * Makefile.in: Regenerated.
64
65 2004-11-06  Michael Koch  <konqueror@gmx.de>
66
67         * javax/imageio/event/IIOReadProgressListener.java,
68         javax/imageio/event/IIOReadUpdateListener.java,
69         javax/imageio/event/IIOReadWarningListener.java,
70         javax/imageio/event/IIOWriteProgressListener.java,
71         javax/imageio/event/IIOWriteWarningListener.java,
72         javax/imageio/metadata/IIOMetadataFormat.java,
73         javax/imageio/stream/FileCacheImageInputStream.java,
74         javax/imageio/stream/FileCacheImageOutputStream.java,
75         javax/imageio/stream/ImageInputStreamImpl.java:
76         Import cleanup.
77         * javax/imageio/metadata/package.html: New file.
78
79 2004-11-06  Michael Koch  <konqueror@gmx.de>
80
81         * javax/imageio/spi/ImageReaderSpi.java
82         (isOwnReader): New method.
83         * javax/imageio/spi/ImageWriterSpi.java
84         (isOwnWriter): Likewise.
85
86 2004-11-06  Michael Koch  <konqueror@gmx.de>
87
88         * javax/imageio/ImageWriter.java
89         (convertImageMetadata): New abstract method.
90         (convertStreamMetadata): Likewise.
91         (write): Likewise.
92         * javax/imageio/stream/FileCacheImageInputStream.java
93         (close): Fixed setting of stream to null.
94         (checkStreamClosed): Throws IOException.
95
96 2004-11-06  Michael Koch  <konqueror@gmx.de>
97
98         * javax/imageio/stream/FileCacheImageInputStream.java,
99         javax/imageio/stream/FileCacheImageOutputStream.java,
100         javax/imageio/stream/FileImageInputStream.java,
101         javax/imageio/stream/FileImageOutputStream.java,
102         javax/imageio/stream/MemoryCacheImageInputStream.java,
103         javax/imageio/stream/MemoryCacheImageOutputStream.java:
104         New files.
105
106 2004-11-06  Michael Koch  <konqueror@gmx.de>
107
108         * javax/imageio/metadata/IIOInvalidTreeException.java,
109         javax/imageio/metadata/IIOMetadataFormatImpl.java,
110         javax/imageio/metadata/IIOMetadataNode.java:
111         New stub files.
112
113 2004-11-06  Michael Koch  <konqueror@gmx.de>
114
115         * javax/imageio/stream/ImageInputStreamImpl.java,
116         javax/imageio/stream/ImageOutputStreamImpl.java:
117         New files.
118
119 2004-11-06  Michael Koch  <konqueror@gmx.de>
120
121         * javax/imageio/ImageIO.java:
122         Added much new methods.
123
124 2004-11-06  Michael Koch  <konqueror@gmx.de>
125
126         * javax/imageio/ImageReader.java,
127         javax/imageio/ImageWriter.java,
128         javax/imageio/spi/ImageWriterSpi.java:
129         Add SOME new methods.
130
131 2004-11-06  Michael Koch  <konqueror@gmx.de>
132
133         * javax/imageio/IIOParam.java,
134         javax/imageio/ImageReadParam.java,
135         javax/imageio/ImageReader.java,
136         javax/imageio/ImageWriter.java:
137         Mostly implemented.
138         * javax/imageio/spi/ImageReaderSpi.java,
139         javax/imageio/spi/ImageWriterSpi.java:
140         New files.
141
142 2004-11-06  Michael Koch  <konqueror@gmx.de>
143
144         * javax/imageio/ImageWriteParam.java,
145         javax/imageio/metadata/IIOMetadataFormat.java:
146         Implemented.
147
148 2004-11-06  Michael Koch  <konqueror@gmx.de>
149
150         * javax/imageio/ImageTypeSpecifier.java:
151         Mostly implemented.
152
153 2004-11-06  Michael Koch  <konqueror@gmx.de>
154
155         * javax/imageio/metadata/IIOMetadata.java:
156         Mostly implemented.
157
158 2004-11-06  Michael Koch  <konqueror@gmx.de>
159
160         * javax/imageio/IIOImage.java,
161         javax/imageio/ImageReadParam.java,
162         javax/imageio/metadata/IIOMetadataController.java,
163         javax/imageio/metadata/IIOMetadataFormat.java:
164         New files.
165         * javax/imageio/stream/ImageOutputStream.java:
166         Implemented.
167
168 2004-11-06  Michael Koch  <konqueror@gmx.de>
169
170         * javax/imageio/IIOParam.java,
171         javax/imageio/IIOParamController.java,
172         javax/imageio/ImageTypeSpecifier.java,
173         javax/imageio/ImageWriteParam.java,
174         javax/imageio/metadata/IIOMetadata.java:
175         New files.
176         * javax/imageio/ImageTranscoder.java:
177         Implemented.
178
179 2004-11-06  Michael Koch  <konqueror@gmx.de>
180
181         * javax/imageio/spi/ImageInputStreamSpi.java,
182         javax/imageio/spi/ImageOutputStreamSpi.java:
183         Reworked import startments.
184         * javax/imageio/spi/ServiceRegistry.java:
185         Reworked import startments. Fixed XHTML in javadocs.
186         (ServiceRegistry): Added @param tag to javadoc.
187         * javax/imageio/stream/ImageInputStream.java
188         (mark): Doesn't throws IOException;
189
190 2004-11-06  Michael Koch  <konqueror@gmx.de>
191
192         * javax/imageio/ImageIO.java:
193         New file.
194
195 2004-11-06  Michael Koch  <konqueror@gmx.de>
196
197         * javax/imageio/spi/IIORegistry.java
198         (static): Don't register ImageReaderSpi.class and
199         ImageWriterSpi.class yet.
200
201 2004-11-06  Michael Koch  <konqueror@gmx.de>
202
203         * javax/imageio/spi/IIORegistry.java:
204         New file.
205
206 2004-11-06  Noa Resare  <noa@resare.com>
207
208         * java/net/Socket.java (getPort): Return 0 instead of -1 on
209         unconnected sockets.
210
211 2004-11-06  Michael Koch  <konqueror@gmx.de>
212
213         * java/lang/StringBuffer.java,
214         java/lang/Throwable.java,
215         java/security/spec/DSAParameterSpec.java,
216         java/util/zip/ZipEntry.java,
217         java/util/zip/ZipFile.java,
218         java/util/zip/ZipInputStream.java,
219         java/util/zip/ZipOutputStream.java:
220         Removed redundant and reordered modifiers.
221
222 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
223
224         * java/io/Vector.java
225         (writeObject): New function to serialized output thread safe.
226
227         * java/io/ObjectOutputStream.java
228         (writeObject): Move the assignment of the class handle to after
229         the assignment of class descriptor handle.
230
231 2004-11-06  Robert Schuster <thebohemian@gmx.net>
232
233         Fixes documentation and indentation
234         * java/beans/PropertyEditorSupport.java:
235         reworked initial API doc
236         (value): changed name from val
237
238 2004-11-06  Robert Schuster <thebohemian@gmx.net>
239
240         Updates to 1.5
241         * java/beans/PropertyEditorSupport.java
242         (PropertyEditorSupport()): Changed modifier to public
243         (PropertyEditorSupport(Object): Changed modifier to public
244         (setSource): New method
245         (getSource): New method
246
247 2004-11-06  Robert Schuster <thebohemian@gmx.net>
248
249         Fixes bug #10799
250         * java/beans/PropertyEditorSupport.java
251         (setValue): Fire property change event
252
253 2004-11-03  Tom Tromey  <tromey@redhat.com>
254
255         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
256         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
257         returns jobjectArray.
258         (_Jv_JNIEnv::NewObjectArray): Likewise.
259
260 2004-11-01  Tom Tromey  <tromey@redhat.com>
261
262         * verify.cc (state::check_no_uninitialized_objects): Removed.
263         (push_jump): Updated.
264         (push_exception_jump): Likewise.
265         (handle_ret_insn): Likewise.
266         (handle_jsr_insn): Likewise.
267
268 2004-10-30  Mark Wielaard  <mark@klomp.org>
269
270         PR libgcj/18234
271         * java/lang/Runtime.java (static): Call init().
272         (Runtime): Remove call to init().
273         (init): Make static.
274
275 2004-10-28  David Daney  <ddaney@avtrex.com>
276
277         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
278         * Makefile.am: Build it.
279         * Makefile.in: Regenerate.
280
281 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
282
283         PR libgcj/18104
284         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
285         colon.
286         * Makefile.in: Regenerate.
287         * configure: Regenerate.
288         * configure.ac (CLASSPATH_SEPARATOR): Define.
289         * gcj/Makefile.in: Regenerate.
290         * include/Makefile.in: Regenerate.
291         * testsuite/Makefile.in: Regenerate.
292         * testsuite/lib/libjava.exp (libjava_arguments): Fix
293         CLASSPATH separator handling for Windows.
294
295 2004-10-26  Michael Koch  <konqueror@gmx.de>
296
297         * gnu/java/net/protocol/http/Connection.java
298         (getOutputStream): Implicitely switch to POST method.
299
300 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
301
302         * libjava/java/lang/Class.h
303         (java::lang::Class): Correct friend class declaration.
304
305 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
306
307         * Makefile.am (DARWIN_CRT_SRC): New.
308         (libgcj_la_SOURCES): Use it.
309         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
310         * darwin.cc: New file.
311         * include/jvm.h (_Jv_RegisterClasses): Constify.
312         (_Jv_RegisterClasses_Counted): New prototype.
313         * java/lang/Class.h: Include stddef.h.  
314         (_Jv_RegisterClasses): Constify.
315         (_Jv_RegisterClasses_Counted): New prototype.
316         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
317         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
318         (_Jv_RegisterClasses_Counted): New function.
319         * configure: Regenerate.
320         * Makefile.in: Regenerate.
321         * gcj/Makefile.in: Regenerate.
322         * include/Makefile.in: Regenerate.
323         * testsuite/Makefile.in: Regenerate.
324
325 2004-10-25  Tom Tromey  <tromey@redhat.com>
326
327         * java/util/ResourceBundle.java (tryBundle): Use
328         Class.isAssignableFrom rather than catching ClassCastException.
329
330 2004-10-25  Tom Tromey  <tromey@redhat.com>
331
332         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
333         initialize `iter'.
334         * gnu/java/text/SentenceBreakIterator.java
335         (SentenceBreakIterator): Don't initialize `iter'.
336         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
337         initialize `iter'.
338         * gnu/java/text/CharacterBreakIterator.java
339         (CharacterBreakIterator): Don't initialize `iter'.
340         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
341         constructor.
342         * java/text/BreakIterator.java: Updated documentation.
343
344 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
345
346         PR other/18138
347         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
348
349 2004-10-23  Michael Koch  <konqueror@gmx.de>
350
351         * javax/print/DocFlavor.java,
352         javax/print/attribute/standard/JobStateReason.java,
353         javax/print/attribute/standard/MultipleDocumentHandling.java:
354         Added missing constants.
355
356 2004-10-22  Tom Tromey  <tromey@redhat.com>
357
358         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
359         typo.
360
361 2004-10-22  Michael Koch  <konqueror@gmx.de>
362
363         PR libjava/14009
364         * gnu/java/net/protocol/http/Connection.java
365         (sendRequest): Handle case when url.getFile() returns an empty string.
366
367 2004-10-22  Michael Koch  <konqueror@gmx.de>
368
369         * java/lang/Math.java,
370         java/lang/StackTraceElement.java,
371         java/nio/Buffer.java,
372         java/nio/ByteBuffer.java,
373         java/nio/CharBuffer.java,
374         java/nio/DoubleBuffer.java,
375         java/nio/FloatBuffer.java,
376         java/nio/IntBuffer.java,
377         java/nio/LongBuffer.java,
378         java/nio/ShortBuffer.java,
379         java/nio/charset/Charset.java,
380         java/rmi/server/RMIClassLoader.java,
381         java/rmi/server/RMISocketFactory.java,
382         java/security/Policy.java,
383         java/text/ChoiceFormat.java,
384         java/text/CollationElementIterator.java,
385         java/text/DateFormat.java,
386         java/text/DecimalFormat.java,
387         java/text/DecimalFormatSymbols.java,
388         java/text/MessageFormat.java,
389         java/text/NumberFormat.java,
390         java/text/RuleBasedCollator.java,
391         java/text/SimpleDateFormat.java,
392         java/util/BitSet.java,
393         java/util/Calendar.java,
394         java/util/Collections.java,
395         java/util/IdentityHashMap.java,
396         java/util/Locale.java,
397         java/util/TreeMap.java,
398         java/util/logging/LogRecord.java,
399         java/util/logging/XMLFormatter.java,
400         java/util/prefs/AbstractPreferences.java,
401         java/util/prefs/Preferences.java,
402         javax/crypto/interfaces/DHPrivateKey.java,
403         javax/crypto/interfaces/DHPublicKey.java,
404         javax/crypto/interfaces/PBEKey.java,
405         javax/net/ssl/HandshakeCompletedEvent.java,
406         javax/security/auth/Subject.java:
407         Removed redundant and reordered modifiers.
408
409 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
410
411         * gnu/java/net/natPlainSocketImplPosix.cc
412         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
413         with 'int *' argument instead of 'long *'.
414
415 2004-10-21  Michael Koch  <konqueror@gmx.de>
416
417         * java/net/NetworkInterface.java,
418         java/text/Format.java,
419         javax/security/auth/x500/X500Principal.java,
420         javax/security/auth/x500/X500PrivateCredential.java,
421         javax/security/cert/X509CertBridge.java,
422         javax/security/sasl/Sasl.java,
423         javax/sql/XAConnection.java:
424         Import cleanup.
425
426 2004-10-21  Michael Koch  <konqueror@gmx.de>
427
428         * javax/net/ssl/HandshakeCompletedEvent.java,
429         javax/net/ssl/KeyManagerFactory.java,
430         javax/net/ssl/SSLContext.java,
431         javax/net/ssl/SSLServerSocketFactory.java,
432         javax/net/ssl/SSLSession.java,
433         javax/net/ssl/SSLSocketFactory.java,
434         javax/net/ssl/TrustManagerFactory.java:
435         Import cleanup.
436
437 2004-10-21  Michael Koch  <konqueror@gmx.de>
438
439         * javax/naming/directory/BasicAttribute.java,
440         javax/naming/directory/BasicAttributes.java,
441         javax/naming/directory/InitialDirContext.java,
442         javax/naming/event/NamingEvent.java,
443         javax/naming/ldap/ControlFactory.java,
444         javax/naming/ldap/ExtendedRequest.java,
445         javax/naming/ldap/InitialLdapContext.java,
446         javax/naming/ldap/LdapReferralException.java,
447         javax/naming/spi/DirObjectFactory.java,
448         javax/naming/spi/DirStateFactory.java,
449         javax/naming/spi/DirectoryManager.java,
450         javax/naming/spi/InitialContextFactory.java,
451         javax/naming/spi/InitialContextFactoryBuilder.java,
452         javax/naming/spi/NamingManager.java,
453         javax/naming/spi/ObjectFactory.java,
454         javax/naming/spi/ObjectFactoryBuilder.java,
455         javax/naming/spi/StateFactory.java:
456         Import cleanup.
457
458 2004-10-21  Michael Koch  <konqueror@gmx.de>
459
460         * javax/crypto/Cipher.java,
461         javax/crypto/EncryptedPrivateKeyInfo.java,
462         javax/crypto/ExemptionMechanism.java,
463         javax/crypto/KeyAgreement.java,
464         javax/crypto/KeyGenerator.java,
465         javax/crypto/Mac.java,
466         javax/crypto/SecretKeyFactory.java,
467         javax/crypto/SecretKeyFactorySpi.java,
468         javax/crypto/spec/SecretKeySpec.java:
469         Import cleanup.
470
471 2004-10-21  Michael Koch  <konqueror@gmx.de>
472
473         * java/security/AlgorithmParameterGenerator.java,
474         java/security/AlgorithmParameters.java,
475         java/security/AlgorithmParametersSpi.java,
476         java/security/AllPermission.java,
477         java/security/BasicPermission.java,
478         java/security/Certificate.java,
479         java/security/CodeSource.java,
480         java/security/DigestInputStream.java,
481         java/security/DigestOutputStream.java,
482         java/security/GuardedObject.java,
483         java/security/KeyFactory.java,
484         java/security/KeyFactorySpi.java,
485         java/security/KeyPairGenerator.java,
486         java/security/KeyStore.java,
487         java/security/KeyStoreSpi.java,
488         java/security/Permissions.java,
489         java/security/Security.java,
490         java/security/Signature.java,
491         java/security/UnresolvedPermission.java,
492         java/security/cert/CertPathBuilder.java,
493         java/security/cert/CertPathValidator.java,
494         java/security/cert/CertStore.java,
495         java/security/cert/Certificate.java,
496         java/security/cert/CertificateFactory.java,
497         java/security/cert/PolicyQualifierInfo.java,
498         java/security/cert/TrustAnchor.java,
499         java/security/cert/X509CRL.java,
500         java/security/cert/X509CRLSelector.java,
501         java/security/cert/X509CertSelector.java:
502         Import cleanup.
503
504 2004-10-21  Michael Koch  <konqueror@gmx.de>
505
506         * java/rmi/MarshalledObject.java,
507         java/rmi/Naming.java,
508         java/rmi/activation/Activatable.java,
509         java/rmi/activation/ActivationGroup.java,
510         java/rmi/activation/ActivationGroupDesc.java,
511         java/rmi/activation/ActivationInstantiator.java,
512         java/rmi/activation/ActivationMonitor.java,
513         java/rmi/activation/ActivationSystem.java,
514         java/rmi/activation/Activator.java,
515         java/rmi/registry/LocateRegistry.java,
516         java/rmi/registry/Registry.java,
517         java/rmi/server/LogStream.java,
518         java/rmi/server/ObjID.java,
519         java/rmi/server/RMIClientSocketFactory.java,
520         java/rmi/server/RMIServerSocketFactory.java,
521         java/rmi/server/RMISocketFactory.java,
522         java/rmi/server/RemoteCall.java,
523         java/rmi/server/RemoteServer.java,
524         java/rmi/server/ServerRef.java,
525         java/rmi/server/UID.java,
526         java/rmi/server/UnicastRemoteObject.java:
527         Import cleanup.
528
529 2004-10-21  Tom Tromey  <tromey@redhat.com>
530
531         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
532         exception if we hit EOF of `in'.
533         (read): Handle case where inflating returns -1.
534
535 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
536
537         * gnu/java/nio/channels/natFileChannelPosix.cc
538         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
539         argument instead of 'long *'.
540
541 2004-10-21  Tom Tromey  <tromey@redhat.com>
542
543         * java/util/ResourceBundle.java (tryBundle): Also ignore
544         ClassCastException.
545
546 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
547
548         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
549         for all sh*-*-linux* targets.
550         * configure: Regenerate.
551         * include/sh-signal.h: New file.
552
553 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
554
555         * java/lang/ieeefp.h: Add m32r support.
556
557 2004-10-20  Andreas Schwab  <schwab@suse.de>
558
559         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
560         to uaddr, not int.
561         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
562         Likewise.
563
564 2004-10-20  Michael Koch  <konqueror@gmx.de>
565
566         * javax/print/attribute/standard/ColorSupported.java,
567         javax/print/attribute/standard/Compression.java,
568         javax/print/attribute/standard/Copies.java,
569         javax/print/attribute/standard/CopiesSupported.java,
570         javax/print/attribute/standard/DateTimeAtCompleted.java,
571         javax/print/attribute/standard/DateTimeAtCreation.java,
572         javax/print/attribute/standard/DateTimeAtProcessing.java,
573         javax/print/attribute/standard/DocumentName.java,
574         javax/print/attribute/standard/Fidelity.java,
575         javax/print/attribute/standard/Finishings.java,
576         javax/print/attribute/standard/JobHoldUntil.java,
577         javax/print/attribute/standard/JobImpressions.java,
578         javax/print/attribute/standard/JobImpressionsCompleted.java,
579         javax/print/attribute/standard/JobImpressionsSupported.java,
580         javax/print/attribute/standard/JobKOctets.java,
581         javax/print/attribute/standard/JobKOctetsProcessed.java,
582         javax/print/attribute/standard/JobKOctetsSupported.java,
583         javax/print/attribute/standard/JobMediaSheets.java,
584         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
585         javax/print/attribute/standard/JobMediaSheetsSupported.java,
586         javax/print/attribute/standard/JobMessageFromOperator.java,
587         javax/print/attribute/standard/JobName.java,
588         javax/print/attribute/standard/JobOriginatingUserName.java,
589         javax/print/attribute/standard/JobPriority.java,
590         javax/print/attribute/standard/JobPrioritySupported.java,
591         javax/print/attribute/standard/JobSheets.java,
592         javax/print/attribute/standard/JobState.java,
593         javax/print/attribute/standard/JobStateReason.java,
594         javax/print/attribute/standard/JobStateReasons.java,
595         javax/print/attribute/standard/Media.java,
596         javax/print/attribute/standard/MultipleDocumentHandling.java,
597         javax/print/attribute/standard/NumberOfDocuments.java,
598         javax/print/attribute/standard/NumberOfInterveningJobs.java,
599         javax/print/attribute/standard/NumberUp.java,
600         javax/print/attribute/standard/NumberUpSupported.java,
601         javax/print/attribute/standard/OrientationRequested.java,
602         javax/print/attribute/standard/OutputDeviceAssigned.java,
603         javax/print/attribute/standard/PDLOverrideSupported.java,
604         javax/print/attribute/standard/PageRanges.java,
605         javax/print/attribute/standard/PagesPerMinute.java,
606         javax/print/attribute/standard/PagesPerMinuteColor.java,
607         javax/print/attribute/standard/PrintQuality.java,
608         javax/print/attribute/standard/PrinterInfo.java,
609         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
610         javax/print/attribute/standard/PrinterLocation.java,
611         javax/print/attribute/standard/PrinterMakeAndModel.java,
612         javax/print/attribute/standard/PrinterMessageFromOperator.java,
613         javax/print/attribute/standard/PrinterMoreInfo.java,
614         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
615         javax/print/attribute/standard/PrinterName.java,
616         javax/print/attribute/standard/PrinterStateReason.java,
617         javax/print/attribute/standard/PrinterStateReasons.java,
618         javax/print/attribute/standard/PrinterURI.java,
619         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
620         javax/print/attribute/standard/RequestingUserName.java:
621         Reorganized imports and removed redundant final modifiers.
622
623 2004-10-20  Michael Koch  <konqueror@gmx.de>
624
625         * javax/security/sasl/SaslClient.java,
626         javax/security/sasl/SaslClientFactory.java,
627         javax/security/sasl/SaslException.java,
628         javax/security/sasl/SaslServer.java,
629         javax/security/sasl/SaslServerFactory.java:
630         Remvoed CVS tags.
631
632 2004-10-20  Michael Koch  <konqueror@gmx.de>
633
634         * javax/security/auth/login/NullConfiguration.java,
635         javax/security/auth/x500/X500Principal.java,
636         javax/security/cert/X509Certificate.java,
637         javax/security/sasl/AuthenticationException.java,
638         javax/security/sasl/AuthorizeCallback.java,
639         javax/security/sasl/RealmCallback.java,
640         javax/security/sasl/RealmChoiceCallback.java,
641         javax/security/sasl/Sasl.java,
642         javax/security/sasl/SaslClient.java,
643         javax/security/sasl/SaslClientFactory.java,
644         javax/security/sasl/SaslException.java,
645         javax/security/sasl/SaslServer.java,
646         javax/security/sasl/SaslServerFactory.java:
647         Cleaned up import statements and copyright notices.
648
649 2004-10-20  Michael Koch  <konqueror@gmx.de>
650
651         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
652
653 2004-10-20  Michael Koch  <konqueror@gmx.de>
654
655         * java/sql/Timestamp.java,
656         java/text/AttributedCharacterIterator.java,
657         java/text/AttributedString.java,
658         java/util/zip/CheckedOutputStream.java,
659         java/util/zip/DeflaterOutputStream.java,
660         java/util/zip/ZipFile.java,
661         javax/crypto/Cipher.java,
662         javax/crypto/ExemptionMechanismException.java,
663         javax/crypto/SecretKey.java,
664         javax/crypto/SecretKeyFactory.java,
665         javax/naming/directory/ModificationItem.java,
666         javax/naming/directory/SearchControls.java,
667         javax/naming/event/NamingListener.java,
668         javax/naming/ldap/Control.java,
669         javax/naming/ldap/ExtendedResponse.java,
670         javax/net/ssl/SSLSocketFactory.java:
671         Reorganized imports and fixed copyright headers.
672
673 2004-10-20  Michael Koch  <konqueror@gmx.de>
674
675         * java/util/logging/ConsoleHandler.java,
676         java/util/logging/ErrorManager.java,
677         java/util/logging/FileHandler.java,
678         java/util/logging/Filter.java,
679         java/util/logging/Formatter.java,
680         java/util/logging/Handler.java,
681         java/util/logging/Level.java,
682         java/util/logging/LogManager.java,
683         java/util/logging/LogRecord.java,
684         java/util/logging/Logger.java,
685         java/util/logging/LoggingPermission.java,
686         java/util/logging/MemoryHandler.java,
687         java/util/logging/SimpleFormatter.java,
688         java/util/logging/SocketHandler.java,
689         java/util/logging/StreamHandler.java,
690         java/util/logging/XMLFormatter.java:
691         Standardized copyrigth header.
692
693 2004-10-20  Michael Koch  <konqueror@gmx.de>
694
695         * java/security/AlgorithmParameterGenerator.java,
696         java/security/AlgorithmParameters.java,
697         java/security/DigestInputStream.java,
698         java/security/Identity.java,
699         java/security/KeyFactory.java,
700         java/security/KeyPairGenerator.java,
701         java/security/KeyStore.java,
702         java/security/MessageDigest.java,
703         java/security/MessageDigestSpi.java,
704         java/security/Policy.java,
705         java/security/SecureRandom.java,
706         java/security/Security.java,
707         java/security/Signature.java,
708         java/security/SignatureSpi.java,
709         java/security/cert/CertPathBuilder.java,
710         java/security/cert/CertPathValidator.java,
711         java/security/cert/CertStore.java,
712         java/security/cert/Certificate.java,
713         java/security/cert/CertificateFactory.java,
714         java/security/cert/PolicyQualifierInfo.java,
715         java/security/cert/TrustAnchor.java,
716         java/security/cert/X509CRL.java,
717         java/security/cert/X509CRLEntry.java,
718         java/security/cert/X509Certificate.java,
719         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
720         Import statements reorganized, some little formatting issues,
721         used java-style array declarations, added comments in empty catch
722         blocks.
723
724 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
725
726         * java/security/Security.java
727         (static): Use AccessController.doPrivileged to get system property.
728
729 2004-10-18  Sven de Marothy  <sven@physto.se>
730
731         * java/nio/ByteBufferHelper.java
732         (putDouble): Use Double.toRawLongBits instead.
733
734 2004-10-18  Mark Wielaard  <mark@klomp.org>
735         Andrew Haley  <aph@redhat.com>
736
737         * testsuite/libjava.lang/ExtraClassLoader.java: New.
738
739 2004-10-18  Andrew Haley  <aph@redhat.com>
740
741         PR java/18036:
742         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
743         and correct logic used to find interpreter.
744         
745 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
746
747         * java/util/logging/LogManager.java
748         (findAncestor): Fixed IndexOutOfBoundsException.
749
750 2004-10-18  Michael Koch  <konqueror@gmx.de>
751
752         * java/io/BufferedInputStream.java: Fixed @author tag.
753         (read): Simplified expression.
754         (read): Merged javadoc a bit more.
755         (read): Renamed 'remain' to 'totalBytesRead'.
756         * java/io/DataInputStream.java,
757         java/io/DataOutputStream.java,
758         java/io/ObjectInputStream.java,
759         java/io/ObjectOutputStream.java:
760         Reworked modifier order.
761
762 2004-10-18  Michael Koch  <konqueror@gmx.de>
763
764         * java/net/Inet4Address.java: Merged file header and javadocs.
765         * java/net/Inet6Address.java: Likewise.
766         * java/net/InetAddress.java
767         (getCanonicalHostName): Create Inet4Address object instead of
768         InetAddress and add comment regarding IPv6.
769         (toString): Simplified.
770
771 2004-10-18  Michael Koch  <konqueror@gmx.de>
772
773         * gnu/java/net/protocol/http/Connection.java,
774         java/nio/MappedByteBufferImpl.java,
775         java/text/RuleBasedCollator.java,
776         java/util/ResourceBundle.java:
777         Reworked import statements.
778
779 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
780
781         * java/security/IdentityScope.java
782         (systemScope): Removed useless initializer.
783         * java/security/Policy.java
784         (currentPolicy): Likewise.
785
786 2004-10-18  Michael Koch  <konqueror@gmx.de>
787
788         * java/lang/System.java: Revert accidential change.
789
790 2004-10-18  Michael Koch  <konqueror@gmx.de>
791
792         * java/lang/Math.java,
793         java/lang/Package.java,
794         java/lang/Runtime.java,
795         java/lang/StrictMath.java,
796         java/lang/System.java,
797         java/lang/Thread.java,
798         java/lang/ThreadLocal.java,
799         java/lang/Void.java:
800         Reworked import statements, HTML in javadocs and modifier orders.
801
802 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
803
804         * java/util/Timer.java
805         (nr): Removed useless initializer.
806         * java/util/logging/LogRecord.java
807         (lastSeqNum): Likewise.
808         * javax/naming/spi/NamingManager.java
809         (icfb, ofb): Likewise.
810
811 2004-10-18  Michael Koch  <konqueror@gmx.de>
812
813         * gnu/java/net/PlainDatagramSocketImpl.java:
814         Reworked import statements.
815         * gnu/java/security/provider/DSAParameters.java:
816         Fixed copyrigth years.
817         * java/net/JarURLConnection.java:
818         Fixed HTML in @author tags.
819         
820
821 2004-10-18  Michael Koch  <konqueror@gmx.de>
822
823         * java/rmi/activation/ActivationSystem.java
824         (SYSTEM_PORT): Initialize with correct port number.
825
826 2004-10-18  Michael Koch  <konqueror@gmx.de>
827
828         * java/lang/reflect/Proxy.java: Improved javadocs.
829
830 2004-10-18  Michael Koch  <konqueror@gmx.de>
831
832         * java/lang/reflect/AccessibleObject.java
833         (checkPermission): Removed redundant final modifier.
834         (secureSetAccessible): Likewise.
835         * java/lang/reflect/Proxy.java:
836         Reworked import statements.
837         (generate): Removed redundant final modifier.
838         * java/lang/reflect/ReflectPermission.java:
839         Reorder package declaration and import statement.
840
841 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
842
843         * java/lang/reflect/Proxy.java
844         (count): Removed useless initializer.
845
846 2004-10-17  Michael Koch  <konqueror@gmx.de>
847
848         * java/net/BindException.java,
849         java/net/ConnectException.java,
850         java/net/ContentHandler.java,
851         java/net/ContentHandlerFactory.java,
852         java/net/DatagramPacket.java,
853         java/net/DatagramSocket.java,
854         java/net/DatagramSocketImpl.java,
855         java/net/DatagramSocketImplFactory.java,
856         java/net/FileNameMap.java,
857         java/net/HttpURLConnection.java,
858         java/net/MalformedURLException.java,
859         java/net/MulticastSocket.java,
860         java/net/NetworkInterface.java,
861         java/net/NoRouteToHostException.java,
862         java/net/PasswordAuthentication.java,
863         java/net/PortUnreachableException.java,
864         java/net/ProtocolException.java,
865         java/net/ServerSocket.java,
866         java/net/Socket.java,
867         java/net/SocketException.java,
868         java/net/SocketImpl.java,
869         java/net/SocketImplFactory.java,
870         java/net/SocketOptions.java,
871         java/net/SocketPermission.java,
872         java/net/SocketTimeoutException.java,
873         java/net/URI.java,
874         java/net/URISyntaxException.java,
875         java/net/URL.java,
876         java/net/URLDecoder.java,
877         java/net/URLEncoder.java,
878         java/net/URLStreamHandler.java,
879         java/net/URLStreamHandlerFactory.java,
880         java/net/UnknownHostException.java,
881         java/net/UnknownServiceException.java:
882         Big import statement and @author tag cleanup.
883
884 2004-10-17  Michael Koch  <konqueror@gmx.de>
885
886         * gnu/java/security/OID.java,
887         gnu/java/security/provider/DSAParameters.java,
888         gnu/java/security/provider/DSASignature.java,
889         gnu/java/security/x509/X500DistinguishedName.java,
890         gnu/java/security/x509/X509CRL.java:
891         Import statements cleaned up.
892
893 2004-10-16  Michael Koch  <konqueror@gmx.de>
894
895         * gnu/java/nio/NIODatagramSocket.java,
896         gnu/java/nio/ServerSocketChannelImpl.java:
897         Reorganized import statements.
898
899 2004-10-16  Michael Koch  <konqueror@gmx.de>
900
901         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
902         gnu/java/rmi/rmic/RMIC.java,
903         gnu/java/rmi/server/RMIHashes.java,
904         gnu/java/rmi/server/RMIObjectInputStream.java,
905         gnu/java/rmi/server/RMIObjectOutputStream.java,
906         gnu/java/rmi/server/UnicastConnection.java,
907         gnu/java/rmi/server/UnicastConnectionManager.java,
908         gnu/java/rmi/server/UnicastRemoteCall.java,
909         gnu/java/rmi/server/UnicastServer.java,
910         gnu/java/rmi/server/UnicastServerRef.java,
911         java/rmi/MarshalledObject.java,
912         java/rmi/Naming.java,
913         java/rmi/RMISecurityManager.java,
914         java/rmi/Remote.java,
915         java/rmi/activation/Activatable.java,
916         java/rmi/activation/ActivationDesc.java,
917         java/rmi/activation/ActivationGroup.java,
918         java/rmi/activation/ActivationGroupDesc.java,
919         java/rmi/activation/ActivationGroupID.java,
920         java/rmi/activation/ActivationID.java,
921         java/rmi/activation/ActivationInstantiator.java,
922         java/rmi/activation/ActivationMonitor.java,
923         java/rmi/activation/ActivationSystem.java,
924         java/rmi/activation/Activator.java,
925         java/rmi/dgc/DGC.java,
926         java/rmi/dgc/Lease.java,
927         java/rmi/dgc/VMID.java,
928         java/rmi/registry/LocateRegistry.java,
929         java/rmi/registry/Registry.java,
930         java/rmi/registry/RegistryHandler.java,
931         java/rmi/server/LoaderHandler.java,
932         java/rmi/server/LogStream.java,
933         java/rmi/server/ObjID.java,
934         java/rmi/server/Operation.java,
935         java/rmi/server/RMIClassLoader.java,
936         java/rmi/server/RMIClassLoaderSpi.java,
937         java/rmi/server/RMIClientSocketFactory.java,
938         java/rmi/server/RMIFailureHandler.java,
939         java/rmi/server/RMIServerSocketFactory.java,
940         java/rmi/server/RMISocketFactory.java,
941         java/rmi/server/RemoteCall.java,
942         java/rmi/server/RemoteObject.java,
943         java/rmi/server/RemoteRef.java,
944         java/rmi/server/RemoteServer.java,
945         java/rmi/server/RemoteStub.java,
946         java/rmi/server/ServerRef.java,
947         java/rmi/server/Skeleton.java,
948         java/rmi/server/SkeletonMismatchException.java,
949         java/rmi/server/UID.java,
950         java/rmi/server/UnicastRemoteObject.java,
951         java/rmi/server/Unreferenced.java:
952         File headers and import statements cleaned up.
953
954 2004-10-16  Michael Koch  <konqueror@gmx.de>
955
956         * libjava/gnu/java/nio/charset/UTF_16.java,
957         libjava/gnu/java/nio/charset/UTF_16BE.java,
958         libjava/gnu/java/nio/charset/UTF_16LE.java,
959         libjava/java/nio/ByteOrder.java,
960         libjava/java/nio/MappedByteBuffer.java,
961         libjava/java/nio/channels/Channels.java,
962         libjava/java/nio/channels/spi/SelectorProvider.java,
963         libjava/java/nio/charset/Charset.java:
964         Cleanup.
965
966 2004-10-16  Michael Koch  <konqueror@gmx.de>
967
968         * gnu/java/nio/charset/UTF_16Encoder.java
969         (UTF_16Encoder): Fixed maxBytesPerChar handling.
970
971 2004-10-16  Michael Koch  <konqueror@gmx.de>
972
973         * java/math/BigDecimal.java, java/math/BigInteger.java:
974         Reorganized import statements, removed redundant and
975         reorganized modifiers.
976
977 2004-10-16  Michael Koch  <konqueror@gmx.de>
978
979         * gnu/java/beans/ExplicitBeanInfo.java:
980         Explicitely import java.awt.Image.
981         (getIcon): Fixed off-by-one error.
982
983 2004-10-15  Andrew Haley  <aph@redhat.com>
984
985         * Makefile.am (nat_files, xlib_nat_files): New.
986         * Makefile.in: Regenerate.
987
988 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
989
990         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
991         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
992
993 2004-10-13  Andrew Haley  <aph@redhat.com>
994
995         * interpret.cc (_Jv_InterpMethod::run): Initialize
996         _Jv_StartOfInterpreter.
997         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
998         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
999         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1000         _Unwind_FindEnclosingFunction to discover whether PC is within the
1001         interpreter.
1002
1003 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1004
1005         PR libgcj/17903:
1006         * testsuite/libjava.lang/md5test.java: New file.
1007         * testsuite/libjava.lang/md5test.out: Likewise.
1008         * testsuite/libjava.lang/shatest.java: Likewise.
1009         * testsuite/libjava.lang/shatest.out: Likewise.
1010
1011 2004-10-11  Richard Henderson  <rth@redhat.com>
1012
1013         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1014         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1015
1016 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1017
1018         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1019         field as a DST boundary may have been crossed.
1020         * java/util/GregorianCalendar.java (add): Throw 
1021         IllegalArgumentException on attempt to add to DST_OFFSET or 
1022         ZONE_OFFSET fields. Update javadoc.
1023
1024 2004-10-09  Michael Koch  <konqueror@gmx.de>
1025
1026         * java/io/CharArrayWriter.java
1027         (resize): Removed redundant 'final' modifier.
1028         * java/io/DataInputStream.java
1029         (readFully): Throw IndexOutOfBoundsException of len < 0.
1030         * java/io/FileDescriptor.java,
1031         java/io/FileInputStream.java,
1032         java/io/FileOutputStream.java,
1033         java/io/ObjectOutputStream.java,
1034         java/io/ObjectStreamClass.java,
1035         java/io/PipedInputStream.java,
1036         java/io/RandomAccessFile.java:
1037         Reorganized import statements.
1038
1039 2004-10-09  Michael Koch  <konqueror@gmx.de>
1040
1041         * gnu/java/rmi/rmic/RMIC.java,
1042         gnu/java/rmi/server/RMIHashes.java,
1043         gnu/java/rmi/server/RMIObjectInputStream.java,
1044         gnu/java/rmi/server/UnicastConnection.java,
1045         gnu/java/rmi/server/UnicastConnectionManager.java,
1046         gnu/java/rmi/server/UnicastRemoteCall.java,
1047         gnu/java/rmi/server/UnicastServerRef.java:
1048         Reworked import statements and fixed file headers.
1049
1050 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1051
1052         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1053         emission rule.
1054         * configure: Rebuilt.
1055
1056 2004-09-30  Tom Tromey  <tromey@redhat.com>
1057
1058         * java/text/MessageFormat.java (Field): Constructor now
1059         protected.
1060
1061 2004-09-30  Tom Tromey  <tromey@redhat.com>
1062
1063         * javax/crypto/MacSpi.java: Fixed typo.
1064
1065 2004-09-30  Michael Koch  <konqueror@gmx.de>
1066
1067         * java/net/InetAddress.java: Reformatted.
1068         (loopback): Initialize with Inet4Address object.
1069         (static): Initialize ANY_IF with Inet4Address object.
1070         (InetAddress): Removed unused package-private constructor.
1071
1072 2004-09-30  Michael Koch  <konqueror@gmx.de>
1073
1074         * java/beans/Beans.java,
1075         java/beans/EventHandler.java,
1076         java/beans/EventSetDescriptor.java,
1077         java/beans/Introspector.java,
1078         java/beans/PropertyEditorManager.java,
1079         java/beans/beancontext/BeanContext.java,
1080         java/beans/beancontext/BeanContextChild.java,
1081         java/beans/beancontext/BeanContextChildSupport.java,
1082         java/beans/beancontext/BeanContextMembershipEvent.java:
1083         Reordered import statements and removed redundant modifiers.
1084
1085 2004-09-29  Tom Tromey  <tromey@redhat.com>
1086
1087         PR libgcj/17715:
1088         * Makefile.in: Rebuilt.
1089         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1090         files.
1091         (all_property_files): New macro.
1092
1093         * Makefile.in: Rebuilt.
1094         * Makefile.am (ordinary_java_source_files): Re-sorted.
1095         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1096
1097 2004-09-28  Tom Tromey  <tromey@redhat.com>
1098
1099         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1100
1101         PR libgcj/17222:
1102         * Makefile.am (libgcj.la): Restored.
1103         * Makefile.in: Rebuilt.
1104
1105 2004-09-28  Michael Koch  <konqueror@gmx.de>
1106
1107         * java/net/URLConnection.java: Reformatted.
1108         * java/net/URLClassLoader.java: Reformatted.
1109         (getContent): Reordered return of content.
1110         (getContentHandler): Don't check for null explicitely.
1111
1112 2004-09-27  Michael Koch  <konqueror@gmx.de>
1113
1114         * java/io/BufferedInputStream.java
1115         (BufferedInputStream): Added Jeroen Frijters to authors.
1116         (count): Don't explicitely initialize with default value.
1117         (pos): Likewise.
1118         (marklimit): Likewise.
1119         (read): Changed boolean expression to match GNU classpath' version.
1120         (reset): Add proper message to exception.
1121         (skip): Check for closed stream.
1122         (refill): Likewise.
1123
1124 2004-09-26  Per Bothner  <per@bothner.com>
1125
1126         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1127         avoid warnings in the non-POSIX_VERSION case.
1128         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1129         so place it inside an #if block.
1130         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1131         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1132         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1133         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1134
1135 2004-09-26  Per Bothner  <per@bothner.com>
1136
1137         * prims.cc (process_gcj_properties):  Optimization.
1138
1139 2004-09-26  Per Bothner  <per@bothner.com>
1140
1141         * java/util/Collections.java (sort):  Copy from array in forwards
1142         order, rather than reverse order which may be much less efficient.
1143
1144 2004-09-26  Mark Wielaard  <mark@klomp.org>
1145
1146         * java/lang/System.java (properties): Make package private.
1147         * java/lang/Throwable.java (StaticData.nl): Initialize through
1148         directly accessing System.properties.getProperty().
1149
1150         * java/lang/Throwable.java (nl): Remove static field.
1151         (StaticData): New private static inner class.
1152         (stackTraceStringBuffer): Use StaticData.nl.
1153
1154 2004-09-26  Casey Marshall <csm@gnu.org>
1155
1156         * java/security/ProtectionDomain.java
1157         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1158         `true'.
1159
1160         * java/security/SecureClassLoader.java
1161         (defineClass): make protection domain dynamically bound.
1162         (getPermissions): call `getCurrentPolicy' to avoid permission
1163         check.
1164
1165 2004-09-25  Mark Wielaard  <mark@klomp.org>
1166
1167         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1168         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1169         * Makefile.in: Regenerated.
1170
1171         * gcj/javaprims.h: Regenerated.
1172
1173         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1174         (getDefaultTimeZone): Make package private. Check that GMToffset
1175         contains at least one digit.
1176         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1177         VMTimeZone.
1178         * util/VMTimeZone.java: New file with above methods.
1179
1180         * java/util/natTimeZone.cc: Removed (renamed).
1181         * java/util/natVMTimeZone.cc: Added (renamed).
1182
1183 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1184
1185         * java/util/TimeZone.java
1186         (getDefaultTimeZone): Fixed test to distinguish between hours and
1187         minutes in specified timezone.
1188
1189 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1190
1191         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1192         handling of default package. (generate): Removed confused comments
1193         and code about making Method and Field accessible.
1194
1195 2004-09-25  Tom Tromey  <tromey@redhat.com>
1196
1197         PR java/17500:
1198         * testsuite/libjava.compile/pr17500.java: New file.
1199
1200 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1201             Mark Wielaard  <mark@klomp.org>
1202
1203         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1204         * gnu/regexp/RETokenLookAhead.java: New file.
1205
1206         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1207         * Makefile.in: Regenerated.
1208
1209 2004-09-25  Michael Koch  <konqueror@gmx.de>
1210
1211         * java/io/ObjectStreamField.java:
1212         Removed unused import statement.
1213
1214 2004-09-24  Tom Tromey  <tromey@redhat.com>
1215
1216         PR java/15656:
1217         * testsuite/libjava.compile/pr15656.xfail: New file.
1218         * testsuite/libjava.compile/pr15656.java: new file.
1219
1220         PR java/16789:
1221         * testsuite/libjava.lang/pr16789.out: New file.
1222         * testsuite/libjava.lang/pr16789.java: New file.
1223
1224 2004-09-24  Andrew Haley  <aph@redhat.com>
1225
1226         PR java/16927
1227         * testsuite/libjava.compile/AssertBug.java: New file.
1228
1229 2004-09-24  Casey Marshall <csm@gnu.org>
1230
1231         * java/util/PropertyPermissionCollection.java
1232         (implies): avoid infinite loop.
1233
1234 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1235
1236         * javax/security/auth/PrivateCredentialPermission.java
1237         (PrivateCredentialPermission): added serialization UID
1238
1239
1240 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1241
1242         * gnu/java/rmi/server/UnicastServer.java
1243         (incomingMessageCall): Added code to handle Errors.
1244         * gnu/java/rmi/server/UnicastServerRef.java
1245         (incomingMessageCall): Added code to handle Errors.
1246
1247
1248 2004-09-24  Tom Tromey  <tromey@redhat.com>
1249
1250         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1251         (definedPackages): Likewise.
1252
1253 2004-09-24  Michael Koch  <konqueror@gmx.de>
1254
1255         * java/io/ObjectInputStream.java:
1256         Re-ordered imports.
1257
1258 2004-09-24  Casey Marshall <csm@gnu.org>
1259
1260         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1261         `ClassNotFoundException'.
1262
1263 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1264
1265         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1266         of Externalizable classes to ObjectStreamClass.
1267         * java/io/ObjectStreamClass.java (newInstance): New method to
1268         instantiate Externalizable (while ignoring the accessibility of
1269         the constructor). (constructor): New field to cache the constructor.
1270
1271 2004-09-24  Mark Wielaard  <mark@klomp.org>
1272
1273         * java/net/URL.java (systemClassLoader): New static field.
1274         (getURLStreamHandler): Always use system/application classloader
1275         for finding URLStreamhandler. Remove unecessary instanceof checks.
1276
1277 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1278
1279         * java/net/URL.java
1280         (set): This method now matches the behaviour of the JDK.
1281         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1282
1283 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1284
1285         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1286
1287 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1288
1289         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1290         Don't set authority if host isn't specified.
1291
1292 2004-09-24  Michael Koch  <konqueror@gmx.de>
1293
1294         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1295         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1296         * gnu/java/nio/VMPipe.java,
1297         gnu/java/nio/VMSelector.java:
1298         New files.
1299         * gnu/java/nio/natPipeImplEcos.cc,
1300         gnu/java/nio/natPipeImplPosix.cc,
1301         gnu/java/nio/natPipeImplWin32.cc:
1302         Ported to VMPipe.
1303         * gnu/java/nio/natSelectorImplEcos.cc,
1304         gnu/java/nio/natSelectorImplPosix.cc,
1305         gnu/java/nio/natSelectorImplWin32.cc:
1306         Ported to VMSelector.
1307         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1308         gnu/java/nio/VMSelector.java.
1309         * Makefile.in: Regenerated.
1310
1311 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1312
1313         * java/lang/StackTraceElement.java
1314         (className): Renamed field to declaringClass to be compatible
1315         with Sun serialization format.
1316
1317 2004-09-23  Michael Koch  <konqueror@gmx.de>
1318
1319         * java/applet/AppletContext.java,
1320         java/applet/Applet.java,
1321         java/applet/AppletStub.java,
1322         java/applet/AudioClip.java:
1323         Jalopied and checkstyle clean.
1324
1325 2004-09-23  Mark Wielaard  <mark@klomp.org>
1326
1327         * java/util/Collections.java
1328         (binarySearch(List, Object, Comparator)): Explicitly
1329         reverse direction in list iterator.
1330         (rotate): Just return when list is empty.
1331
1332 2004-09-23  Tom Tromey  <tromey@redhat.com>
1333
1334         PR java/17329:
1335         * testsuite/libjava.compile/pr17329.java: New file.
1336
1337         PR java/17380:
1338         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1339         9.2-implicit-7.
1340
1341 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1342
1343         * Makefile.am: Run aclocal with -I ../config
1344         * acinclude.m4: Delete macros picked up from ../config and tidy.
1345         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1346         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1347         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1348
1349 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1350
1351         * aclocal.m4: Regenerate with aclocal 1.9.2.
1352         * configure: Regenerate.
1353         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1354         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1355
1356 2004-09-22  David Daney  <ddaney@avtrex.com>
1357
1358         PR libgcj/17623
1359         * java/net/URL.java (URL): Copy userInfo from context.
1360         (getUserInfo): Return cached userInfo if present.
1361
1362 2004-09-22  Tom Tromey  <tromey@redhat.com>
1363
1364         PR libgcj/6182:
1365         * mauve-libgcj: Enable java.lang.Character tests.
1366
1367 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1368
1369         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1370         dependencies.
1371         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1372         * Makefile.in: Regenerated.
1373
1374 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1375
1376         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1377         * configure: Regenerate.
1378         * include/config.h.in: Likewise.
1379         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1381         macro to gtkpeer.h.
1382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1383         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1384         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1385         architectures.
1386         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1387         Likewise.
1388
1389 2004-09-22  Tom Tromey  <tromey@redhat.com>
1390
1391         PR libgcj/14446:
1392         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1393         when comparing CRCs.
1394         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1395         field.
1396         (read()): New overload.
1397
1398 2004-09-21  Tom Tromey  <tromey@redhat.com>
1399
1400         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1401         Indentation fix.
1402
1403 2004-09-21  Michael Koch  <konqueror@gmx.de>
1404
1405         * java/net/Socket.java
1406         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1407
1408 2004-09-21  Casey Marshall  <csm@gnu.org>
1409
1410         * javax/crypto/MacSpi.java (clone): Provide meaningful
1411         implementation.
1412
1413 2004-09-21  Tom Tromey  <tromey@redhat.com>
1414
1415         PR libgcj/16869:
1416         * Makefile.in: Rebuilt.
1417         * Makefile.am (MOSTLYCLEANFILES): Removed.
1418         (mostlyclean-local): Remove header files.
1419
1420 2004-09-21  Casey Marshall  <csm@gnu.org>
1421
1422         * java/security/cert/X509CRLSelector.java:
1423         (match): remove unreachable try-catch clauses.
1424         Reported by: Dalibor Topic <robilad@kaffe.org>
1425
1426 2004-09-21  Mark Wielaard  <mark@klomp.org>
1427
1428         * java/util/TreeMap.java (root): Don't initialize.
1429         (TreeMap(Comparator)): Call fabricateTree(0).
1430         (fabricateTree): Initialize root and size when count is 0.
1431
1432 2004-09-21  Sven de Marothy <sven@physto.se>
1433
1434         * java/nio/ByteBuffer.java (hashCode): Implemented.
1435         * java/nio/CharBuffer.java: Likewise.
1436         * java/nio/DoubleBuffer.java: Likewise.
1437         * java/nio/FloatBuffer.java: Likewise.
1438         * java/nio/LongBuffer.java: Likewise.
1439         * java/nio/IntBuffer.java: Likewise.
1440         * java/nio/ShortBuffer.java: Likewise.
1441
1442 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1443
1444         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1445
1446 2004-09-21  Michael Koch  <konqueror@gmx.de>
1447
1448         * javax/net/ssl/SSLServerSocket.java:
1449         Removed comment about "Do not edit this file, it's generated.".
1450
1451 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1452
1453         Import the big Crypto/Jessie/Security merge from Classpath.
1454
1455         * Makefile.am: Add imported files.
1456         * Makefile.in: Regenerate.
1457
1458         2004-08-14  Casey Marshall <csm@gnu.org>
1459
1460         The Big Crypto Merge of 2004.
1461
1462         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1463         Crypto's version.
1464
1465         Files imported from GNU Crypto.
1466         * javax/crypto/BadPaddingException.java
1467         * javax/crypto/Cipher.java
1468         * javax/crypto/CipherInputStream.java
1469         * javax/crypto/CipherOutputStream.java
1470         * javax/crypto/CipherSpi.java
1471         * javax/crypto/EncryptedPrivateKeyInfo.java
1472         * javax/crypto/ExemptionMechanism.java
1473         * javax/crypto/ExemptionMechanismException.java
1474         * javax/crypto/ExemptionMechanismSpi.java
1475         * javax/crypto/IllegalBlockSizeException.java
1476         * javax/crypto/KeyAgreement.java
1477         * javax/crypto/KeyAgreementSpi.java
1478         * javax/crypto/KeyGenerator.java
1479         * javax/crypto/KeyGeneratorSpi.java
1480         * javax/crypto/Mac.java
1481         * javax/crypto/MacSpi.java
1482         * javax/crypto/Makefile.am
1483         * javax/crypto/NoSuchPaddingException.java
1484         * javax/crypto/NullCipher.java
1485         * javax/crypto/NullCipherImpl.java
1486         * javax/crypto/SealedObject.java
1487         * javax/crypto/SecretKey.java
1488         * javax/crypto/SecretKeyFactory.java
1489         * javax/crypto/SecretKeyFactorySpi.java
1490         * javax/crypto/ShortBufferException.java
1491         * javax/crypto/interfaces/DHKey.java
1492         * javax/crypto/interfaces/DHPrivateKey.java
1493         * javax/crypto/interfaces/DHPublicKey.java
1494         * javax/crypto/interfaces/PBEKey.java
1495         * javax/crypto/spec/DESKeySpec.java
1496         * javax/crypto/spec/DESedeKeySpec.java
1497         * javax/crypto/spec/DHGenParameterSpec.java
1498         * javax/crypto/spec/DHParameterSpec.java
1499         * javax/crypto/spec/DHPrivateKeySpec.java
1500         * javax/crypto/spec/DHPublicKeySpec.java
1501         * javax/crypto/spec/IvParameterSpec.java
1502         * javax/crypto/spec/PBEKeySpec.java
1503         * javax/crypto/spec/PBEParameterSpec.java
1504         * javax/crypto/spec/RC2ParameterSpec.java
1505         * javax/crypto/spec/RC5ParameterSpec.java
1506         * javax/crypto/spec/SecretKeySpec.java
1507         * javax/security/auth/AuthPermission.java
1508         * javax/security/auth/DestroyFailedException.java
1509         * javax/security/auth/Destroyable.java
1510         * javax/security/auth/Policy.java
1511         * javax/security/auth/PrivateCredentialPermission.java
1512         * javax/security/auth/RefreshFailedException.java
1513         * javax/security/auth/Refreshable.java
1514         * javax/security/auth/Subject.java
1515         * javax/security/auth/SubjectDomainCombiner.java
1516         * javax/security/auth/callback/Callback.java
1517         * javax/security/auth/callback/CallbackHandler.java
1518         * javax/security/auth/callback/ChoiceCallback.java
1519         * javax/security/auth/callback/ConfirmationCallback.java
1520         * javax/security/auth/callback/LanguageCallback.java
1521         * javax/security/auth/callback/NameCallback.java
1522         * javax/security/auth/callback/PasswordCallback.java
1523         * javax/security/auth/callback/TextInputCallback.java
1524         * javax/security/auth/callback/TextOutputCallback.java
1525         * javax/security/auth/callback/UnsupportedCallbackException.java
1526         * javax/security/auth/login/AccountExpiredException.java
1527         * javax/security/auth/login/AppConfigurationEntry.java
1528         * javax/security/auth/login/Configuration.java
1529         * javax/security/auth/login/CredentialExpiredException.java
1530         * javax/security/auth/login/FailedLoginException.java
1531         * javax/security/auth/login/LoginContext.java
1532         * javax/security/auth/login/LoginException.java
1533         * javax/security/auth/login/NullConfiguration.java
1534         * javax/security/auth/x500/X500PrivateCredential.java
1535         * javax/security/sasl/AuthenticationException.java
1536         * javax/security/sasl/AuthorizeCallback.java
1537         * javax/security/sasl/RealmCallback.java
1538         * javax/security/sasl/RealmChoiceCallback.java
1539         * javax/security/sasl/Sasl.java
1540         * javax/security/sasl/SaslClient.java
1541         * javax/security/sasl/SaslClientFactory.java
1542         * javax/security/sasl/SaslException.java
1543         * javax/security/sasl/SaslServer.java
1544         * javax/security/sasl/SaslServerFactory.java
1545         * org/ietf/jgss/ChannelBinding.java
1546         * org/ietf/jgss/GSSContext.java
1547         * org/ietf/jgss/GSSCredential.java
1548         * org/ietf/jgss/GSSException.java
1549         * org/ietf/jgss/GSSManager.java
1550         * org/ietf/jgss/GSSName.java
1551         * org/ietf/jgss/MessageProp.java
1552         * org/ietf/jgss/Oid.java
1553         * org/ietf/jgss/MessagesBundle.properties
1554
1555         Files imported from Jessie <http://www.nongnu.org/jessie/>
1556         * javax/net/ServerSocketFactory.java
1557         * javax/net/SocketFactory.java
1558         * javax/net/VanillaServerSocketFactory.java
1559         * javax/net/VanillaSocketFactory.java
1560         * javax/net/ssl/HandshakeCompletedEvent.java
1561         * javax/net/ssl/HandshakeCompletedListener.java
1562         * javax/net/ssl/HostnameVerifier.java
1563         * javax/net/ssl/HttpsURLConnection.java
1564         * javax/net/ssl/KeyManager.java
1565         * javax/net/ssl/KeyManagerFactory.java
1566         * javax/net/ssl/KeyManagerFactorySpi.java
1567         * javax/net/ssl/ManagerFactoryParameters.java
1568         * javax/net/ssl/SSLContext.java
1569         * javax/net/ssl/SSLContextSpi.java
1570         * javax/net/ssl/SSLException.java
1571         * javax/net/ssl/SSLHandshakeException.java
1572         * javax/net/ssl/SSLKeyException.java
1573         * javax/net/ssl/SSLPeerUnverifiedException.java
1574         * javax/net/ssl/SSLPermission.java
1575         * javax/net/ssl/SSLProtocolException.java
1576         * javax/net/ssl/SSLServerSocket.java
1577         * javax/net/ssl/SSLServerSocketFactory.java
1578         * javax/net/ssl/SSLSession.java
1579         * javax/net/ssl/SSLSessionBindingEvent.java
1580         * javax/net/ssl/SSLSessionBindingListener.java
1581         * javax/net/ssl/SSLSessionContext.java
1582         * javax/net/ssl/SSLSocket.java
1583         * javax/net/ssl/SSLSocketFactory.java
1584         * javax/net/ssl/TrivialHostnameVerifier.java
1585         * javax/net/ssl/TrustManager.java
1586         * javax/net/ssl/TrustManagerFactory.java
1587         * javax/net/ssl/TrustManagerFactorySpi.java
1588         * javax/net/ssl/X509KeyManager.java
1589         * javax/net/ssl/X509TrustManager.java
1590         * javax/security/cert/Certificate.java
1591         * javax/security/cert/CertificateEncodingException.java
1592         * javax/security/cert/CertificateException.java
1593         * javax/security/cert/CertificateExpiredException.java
1594         * javax/security/cert/CertificateNotYetValidException.java
1595         * javax/security/cert/CertificateParsingException.java
1596         * javax/security/cert/X509CertBridge.java
1597         * javax/security/cert/X509Certificate.java
1598
1599         2004-08-20  Casey Marshall  <csm@gnu.org>
1600
1601         * java/security/cert/X509CRLSelector.java: New file.
1602         * java/security/cert/X509CertSelector.java: New file.
1603
1604 2004-09-15  Michael Koch  <konqueror@gmx.de>
1605
1606         * gnu/java/net/protocol/file/Handler.java
1607         (openConnection): Don't throw exception if host part for file: URI is
1608         present. setURL() keeps file: protocol if ftp: protocol is not
1609         available.
1610
1611 2004-09-14  Richard Henderson  <rth@redhat.com>
1612
1613         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1614         value of sigsuspend.
1615
1616 2004-09-12  Tom Tromey  <tromey@redhat.com>
1617
1618         * javax/naming/CompoundName.java (CompoundName): Don't check for
1619         separator in "flat" case.
1620
1621 2004-09-12  Michael Koch  <konqueror@gmx.de>
1622
1623         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1624         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1625         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1626         Regenerate.
1627
1628 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1629
1630         PR libgcj/14751
1631         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1632         handle in newly-allocated _Jv_Thread_t.
1633         (_Jv_ThreadDestroyData): Close thread handle.
1634         (_Jv_ThreadStart): Remove obsolete comment.
1635         Store handle of newly-created thread in _Jv_Thread_t.
1636         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1637         before including <windows.h>
1638         #define _Jv_HaveCondDestroy
1639
1640 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1641
1642         * java/lang/natThread.cc (finalize_native): Destroy
1643         join conditional variable and mutex if these destroy
1644         operations are supported.
1645
1646 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1647
1648         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1649         (DEFAULT_PERMISSION): New constant.
1650         (Connection): Create a FilePermission with permission to read file.
1651
1652 2004-09-10  Michael Koch  <konqueror@gmx.de>
1653
1654         * gnu/java/net/protocol/file/Connection.java
1655         (getLastModified): Moved around.
1656         (getPermission): Return stored permission.
1657
1658 2004-09-10  Michael Koch  <konqueror@gmx.de>
1659
1660         * Makefile.in: Regenerate.
1661
1662 2004-09-10  Michael Koch  <konqueror@gmx.de>
1663
1664         * Makefile.am: Reverted accidently commited stuff.
1665         * configure: Regenerated.
1666
1667 2004-09-10  Michael Koch  <konqueror@gmx.de>
1668
1669         * gnu/java/net/protocol/file/Connection.java
1670         (lineSeparator): Made non-final.
1671         (static): Removed.
1672         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1673         instead of StringBufferInputStream.
1674
1675 2004-09-10  Michael Koch  <konqueror@gmx.de>
1676
1677         * gnu/java/net/protocol/file/Connection.java
1678         (connect): Handle file is a directory case.
1679
1680 2004-09-10  Michael Koch  <konqueror@gmx.de>
1681
1682         * Makefile.am
1683         (xlib_includes): Removed.
1684         (AM_CPPFLAGS): Renamed from INCLUDES.
1685         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1686         * Makefile.in: Regenerate.
1687
1688 2004-09-09  Michael Koch  <konqueror@gmx.de>
1689
1690         * java/security/ProtectionDomain.java,
1691         * java/util/PropertyPermissionCollection.java:
1692         Fixed javadocs all over.
1693
1694 2004-09-09  Sven de Marothy  <sven@physto.se>
1695
1696         Patch from David Gilbert <david.gilbert@object-refinery.com>
1697         * java/lang/Comparable.java: Fixed documentation errors.
1698         * java/util/Arrays.java: Likewise.
1699
1700 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1701
1702         * java/net/Inet4Address.java
1703         (Inet4Address): Added comment to serialization UID.
1704         * java/text/Format.java
1705         (Format): Added comment to serialization UID.
1706
1707 2004-09-09  Michael Koch  <konqueror@gmx.de>
1708
1709         * java/lang/System.java
1710         (err): Fixed javadoci to point to setErr() and not setOut().
1711
1712 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1713
1714         (normalizePath): Added special case for windows systems.
1715
1716 2004-09-09  Michael Koch  <konqueror@gmx.de>
1717
1718         * java/io/File.java
1719         (dupSeparator): Made private.
1720         (File(URI)): New constructor.
1721         (getParentFile): Fixed javadoc.
1722         (createTempFile): Reformated.
1723         (setReadOnly): Added comment.
1724         (deleteOnExit): Merged javadoc with classpath version.
1725
1726 2004-09-09  Michael Koch  <konqueror@gmx.de>
1727
1728         * Makefile.am: Don't try to include deps.mk.
1729         * Makefile.in: Regenerated.
1730
1731 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1732
1733         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1734         .d files.
1735         * configure: Rebuilt.
1736
1737 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1738
1739         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1740         Changed pfn from static local to local.
1741
1742 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1743             H.J. Lu  <hongjiu.lu@intel.com>
1744
1745         PR libgcj/17290
1746         * Makefile.am (GCJCOMPILE): Remove definition.
1747         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1748         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1749         * Makefile.in: Rebuilt.
1750
1751 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1752
1753         * configure.ac (enable-gc-debug): Update help for new syntax.
1754         * configure: Regenerate.
1755
1756 2004-09-03  David Daney  <ddaney@avtrex.com>
1757
1758         * include/mips-signal.h: Update copyright.
1759
1760 2004-09-03  David Daney  <ddaney@avtrex.com>
1761
1762         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1763         * include/mips-signal.h: Added HANDLE_FPE support.
1764         
1765 2004-08-31  Michael Koch  <konqueror@gmx.de>
1766
1767         * javax/swing/plaf/basic/BasicTextAreaUI.java
1768         (create): New method.
1769         * javax/swing/text/DefaultHighlighter.java
1770         (DefaultHighlightPainter.debugRect): Removed.
1771         * javax/swing/text/StyleContext.java
1772         (DEFAULT_STYLE): New field.
1773
1774 2004-08-31  Michael Koch  <konqueror@gmx.de>
1775
1776         * javax/swing/plaf/basic/BasicLookAndFeel.java
1777         (initComponentDefaults): Add keybindings for selection.backward and
1778         selection-forward for text components.
1779         * javax/swing/plaf/basic/BasicTextUI.java
1780         (paintSafely): Paint highlight only when something is actually
1781         selected.
1782         * javax/swing/text/DefaultCaret.java
1783         (handleHighlight): New method.
1784         (setSelectionVisible): Don't do anything when nothing changes.
1785         Handle highlight.
1786         (moveDot): Reimplemented. Handle highlight.
1787         (setDot): Set mark too. Handle highlight.
1788         (getSelectionPainter): New method.
1789         * javax/swing/text/DefaultEditorKit.java
1790         (defaultActions): Added new actions for text selection.
1791         * javax/swing/text/DefaultHighlighter.java
1792         (DefaultHighlightPainter): New inner class.
1793         (DefaultPainter): New field.
1794         (paint): Implemented.
1795         * javax/swing/text/PlainView.java
1796         (paint): Don't draw background here again.
1797         * javax/swing/text/Utilities.java
1798         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1799         (drawTabbedText): Likewise.
1800
1801 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1802
1803         * javax/swing/JComponent.java
1804         (resetKeyboardActions): Add null checks.
1805
1806 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1807
1808         * javax/swing/DefaultButtonModel.java:
1809         Skip group notification when no group is set.
1810
1811 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1812
1813         * javax/swing/JColorChooser.java: 
1814         Make a couple inner classes static, for jikes.
1815
1816 2004-08-31  Michael Koch  <konqueror@gmx.de>
1817
1818         * javax/swing/plaf/basic/BasicTextUI.java
1819         (RottView.modelToView): New method.
1820         (UpdateHandler): Renamed from EventHandler.
1821         (updateHandler): Renamed from eventHandler.
1822         (modelToView): Implemented.
1823         * javax/swing/text/AbstractDocument.java
1824         (BranchElement.getElement): Return null for non-existing indeces.
1825         (BranchElement.getElementIndex): Return 0 in some corner cases.
1826         * javax/swing/text/FieldView.java
1827         (modelToView): New method.
1828         * javax/swing/text/PlainView.java
1829         (modelToView): Made public.
1830
1831 2004-08-31  Kim Ho  <kho@redhat.com>
1832
1833         * Makefile.am: New files.
1834         * Makefile.in: Regenerate.
1835         * gcj/Makefile.in: Regenerate.
1836         * include/Makefile.in: Regenerate.
1837         * java/awt/Color.java: Fix documentation.
1838         (RGBtoHSB): Use floats for conversions.
1839         * javax/swing/ButtonGroup.java: Run Jalopy.
1840         (setSelected): Reimplement.
1841         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1842         (changeState): Let ButtonGroup know that the button 
1843         is changing state.
1844         * javax/swing/JColorChooser.java: Implement.
1845         * javax/swing/JLabel.java: Run Jalopy.
1846         * javax/swing/JSpinner.java: Run Jalopy.
1847         (setValue): New method.
1848         * javax/swing/JTabbedPane.java: Run Jalopy.
1849         (removeTabAt): Call correct remove method.
1850         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1851         (getPreviousValue): Compare minimum value.
1852         * javax/swing/Timer.java: Run Jalopy.
1853         (run): Comment out println.
1854         * javax/swing/ToolTipManager.java:
1855         (mouseMoved): Get new tooltip text for location.
1856         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1857         Jalopy and Javadoc.
1858         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1859         Implement.
1860         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1861         Run Jalopy.
1862         (setSelectedColor): Fire ChangeEvent.
1863         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1864         New file. Implement.
1865         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1866         Ditto.
1867         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1868         Ditto.
1869         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1870         Ditto.
1871         * javax/swing/plaf/basic/BasicArrowButton.java:
1872         (getArrow): Fix size of upward pointing button.
1873         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1874         Implement.
1875         * javax/swing/plaf/basic/BasicSliderUI.java:
1876         (getWidthOfWidestLabel): Use preferred dimensions.
1877         (getHeightOfTallestLabel): Ditto.
1878         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1879         Run Jalopy.
1880         (mousePressed): Disable changes to spinner if it is not enabled.
1881         * testsuite/Makefile.in: Regenerate.
1882
1883
1884 2004-08-31  Michael Koch  <konqueror@gmx.de>
1885
1886         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1887         javax/swing/plaf/basic/BasicTableUI.java:
1888         Added copyright notice.
1889
1890 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1891
1892         * Makefile.am: Added new files.
1893         * Makefile.in: Regenerate.
1894         * javax/swing/ComboBoxEditor.java: Added javadocs.
1895         * javax/swing/ComboBoxModel.java: Likewise.
1896         * javax/swing/DefaultComboBoxModel.java: Implemented.
1897         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1898         and ran through jalopy to fix formatting style.
1899         (getListCellRendererComponent): Use appropriate border
1900         if renderer has focus and use noFocusBorder when it doesn't.
1901         * javax/swing/JComboBox.java: Implemented.
1902         * javax/swing/JList.java:
1903         (locationToIndex): New Method. Implemented.
1904         (indexToLocation): New Method.
1905         * javax/swing/JPopupMenu.java: 
1906         (visible): New field.
1907         (isVisible): Changed to use new field above.
1908         (setVisible): Likewise.
1909         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1910         * javax/swing/plaf/basic/BasicArrowButton.java: 
1911         (shadow): Changed default color to Color.gray.
1912         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1913         UI delegate for JComboBox.
1914         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1915         Popup menu containing list of JComboBox's items.
1916         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1917         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1918         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1919         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1920         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1921         (popupMenuWillBecomeVisible): Set selected path to the first
1922         element only if it is of type MenuElement. Also fix formatting
1923         style.
1924         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1925         methods signatures.
1926         
1927 2004-08-31  Michael Koch  <konqueror@gmx.de>
1928
1929         * javax/swing/text/AbstractDocument.java
1930         (createBranchElement): Use new constructor of BranchElement.
1931         (createLeafElement): Renamed arguments.
1932         (getRootElements): Implemented.
1933         (BranchElement.start): Removed.
1934         (BranchElement.end): Likewise.
1935         (BranchElement.BranchElement): Fixed arguments.
1936         (BranchElement.getEndOffset): Reimplemented.
1937         (BranchElement.getStartOffset): Likewis.
1938         * javax/swing/text/DefaultCaret.java
1939         (paint): Draw simple vertical line as caret instead of a rectangle.
1940         * javax/swing/text/JTextComponent.java
1941         (setText): Use doc directly.
1942         * javax/swing/text/PlainView.java
1943         (nextTabStop): Implemented.
1944         * javax/swing/text/Utilities.java
1945         (drawTabbedText): nextTabStop() returns an absolute x position.
1946         (getTabbedTextWidth): Likewise.
1947
1948 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1949
1950         * java/awt/Component.java 
1951         (isFocusTraversable): Predicate on isLightweight()
1952         (setFocusable): Set isFocusTraversableOverridden.
1953         (requestFocus): Predicate peer dispatch on !isLightweight()
1954         (requestFocusInWindow): Likewise.
1955         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1956         * java/awt/Container.java
1957         (dispatchEventImpl): Predicate on event mask.
1958         (LightweightDispatcher): Remove focus machinery.
1959         * java/awt/DefaultFocusTraversalPolicy.java
1960         (accept): Expand predicate to include isFocusable(). 
1961         * java/awt/DefaultKeyboardFocusManager.java:
1962         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1963         * java/awt/KeyboardFocusManager.java
1964         (redispatchEvent): Synchronize on event to prevent feedback.
1965         * javax/swing/AbstractButton.java
1966         (ButtonFocusListener): Remove class.
1967         (init): Set focusPainted, focusable.
1968         * javax/swing/ActionMap.java (get): Check parent for null. 
1969         * javax/swing/InputMap.java (get): Likewise. 
1970         * javax/swing/JComponent.java
1971         (inputMap_whenFocused): New InputMap.
1972         (inputMap_whenAncestorOfFocused): Likewise.
1973         (inputMap_whenInFocusedWindow): Likewise.
1974         (getActionForKeyStroke): Rewrite.
1975         (getConditionForKeystroke): Likewise.
1976         (ActionListenerProxy): New private class.
1977         (setInputMap): Implement.
1978         (getInputMap): Likewise.
1979         (setActionMap): Likewise.
1980         (getActionMap): Likewise.
1981         (processComponentKeyEvent): New empty method.
1982         (processKeyEvent): Implement.
1983         (processKeyBinding): Likewise.
1984         (resetKeyboardActions): Rewrite.
1985         * javax/swing/KeyStroke.java: Rewrite.
1986         * javax/swing/SwingUtilities.java
1987         (notifyAction): Implement.
1988         (replaceUIActionMap): Likewise.
1989         (replaceUIInputMap): Likewise.
1990         * javax/swing/plaf/basic/BasicButtonListener.java
1991         (focusGained): Implement.
1992         (focusLost): Repaint if focusPainted().
1993         (installKeyboardActions): Install pressed / released actions.
1994         (uninstallKeyboardActions): Implement.
1995         * javax/swing/plaf/basic/BasicButtonUI.java
1996         (focusColor): New field.
1997         (installDefaults): Load focus color, install input map.
1998         (installKeyboardActions): Implement.
1999         (uninstallKeyboardActions): Likewise.
2000         (paintFocus): Rewrite.
2001         * javax/swing/plaf/basic/BasicLookAndFeel.java
2002         (Button.focus): New default, midPurple. 
2003         * javax/swing/plaf/basic/BasicTextUI.java
2004         (kit): Make static.
2005         (installUI): Get doc from kit, load defaults.
2006         (getKeymapName): Implement.
2007         (createKeymap): Likewise.
2008         (installKeyboardActions): Likewise.
2009         (getInputMap): Likewise.
2010         (getActionMap): Likewise.
2011         (createActionMap): Likewise.
2012         * javax/swing/text/AbstractDocument.java
2013         (getStartPosition): Implement.
2014         (getEndPosition): Likewise.
2015         * javax/swing/text/DefaultEditorKit.java
2016         (CopyAction): New class.
2017         (CutAction): Likewise.
2018         (DefaultKeyTypedAction): Likewise.
2019         (InsertBreakAction): Likewise.
2020         (InsertContentAction): Likewise.
2021         (InsertTabAction): Likewise.
2022         (PasteAction): Likewise.
2023         (defaultActions): New static table.
2024         (createCaret): Implement.
2025         (getActions): Likewise.
2026         * javax/swing/text/JTextComponent.java
2027         (KeymapWrapper): New private class.
2028         (KeymapActionMap): Likewise.
2029         (DefaultKeymap): New class.
2030         (keymaps): New static table.
2031         (keymap): New field.
2032         (getKeymap): Implement.
2033         (removeKeymap): Likewise.
2034         (addKeymap): Likewise.
2035         (setKeymap): Likewise.
2036         (loadKeymap): Likewise.
2037         (getActions): Likewise.
2038         (margin): New field.
2039         (JTextComponent): Build and install default keymap.
2040         * javax/swing/text/TextAction.java
2041         (textAction): Call super properly.
2042         (getTextComponent): Implement.
2043         * javax/swing/text/Utilities.java
2044         (drawTabbedText): Adjust position by ascent.
2045
2046 2004-08-31  David Jee  <djee@redhat.com>
2047
2048         PR AWT/17156
2049
2050         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2051         (setEnabled): Make it a native method.
2052         * java/awt/DefaultKeyboardFocusManager.java
2053         (postProcessKeyEvent): Only post event if the menu item
2054         is active.
2055         * java/awt/MenuItem.java:
2056         Private field 'enabled' should be true by default.
2057         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2058         (setEnabled): New function.
2059
2060 2004-08-31  David Jee  <djee@redhat.com>
2061
2062         PR AWT/17059
2063
2064         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2065         (nativeSetHelpMenu): New native method declaration.
2066         (addHelpMenu): Call nativeSetHelpMenu().
2067         (addMenu): Remove.
2068         * java/awt/MenuBar.java
2069         (setHelpMenu): Call addNotify() on the new help menu.
2070         (add): Call addNotify() on the new menu.
2071         (addNotify): Set the help menu if one exists.
2072         * java/awt/peer/MenuBarPeer.java
2073         (addMenu): Remove.
2074         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2075         (nativeSetHelpMenu): New method.
2076
2077 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2078
2079         * Makefile.am: Add new files.
2080         * Makefile.in: Regenerate.
2081         * javax/swing/Box.java: Fix setting of layout in ctor.
2082         * javax/swing/JScrollPane.java: Scroll headers as well.
2083         * javax/swing/JTable.java: Reimplement.
2084         * javax/swing/JViewPort.java: Only add non-null children.
2085         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2086         * javax/swing/Timer.java: Fix stopping null waker.
2087         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2088         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2089         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2090         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2091         * javax/swing/table/DefaultTableModel.java: Clean up.
2092         * javax/swing/table/JTableHeader.java: Implement.
2093
2094 2004-08-31  Mark Wielaard  <mark@klomp.org>
2095
2096         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2097         semi-colon.
2098
2099 2004-08-31  Mark Wielaard  <mark@klomp.org>
2100
2101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2102         Declare variables at top of functions/block.
2103         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2104
2105 2004-08-31  Mark Wielaard  <mark@klomp.org>
2106
2107         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2108         first.
2109
2110 2004-08-31  Michael Koch  <konqueror@gmx.de>
2111
2112         * javax/swing/text/PlainView.java
2113         (selectedColor): New field.
2114         (unselectedColor): Likewise.
2115         (font): Likewise.
2116         (updateMetrics): New method.
2117         (lineToRect): Likewise.
2118         (modelToView): Likewise.
2119         (drawSelectedText): Use color from JTextComponent ad draw with
2120         Utilities class.
2121         (drawUnselectedText): Likewise.
2122         (paint): Initialize helper fields.
2123         * javax/swing/text/View.java
2124         (getChildAllocation): New method.
2125         (getViewIndex): Likewise.
2126         (getToolTipText): Likewise.
2127
2128 2004-08-31  Michael Koch  <konqueror@gmx.de>
2129
2130         * javax/swing/text/Utilities.java
2131         (drawTabbedText): Reimplemented.
2132         (getTabbedTextWidth): Likewise.
2133
2134 2004-08-31  Michael Koch  <konqueror@gmx.de>
2135
2136         * javax/swing/plaf/basic/BasicTextUI.java
2137         (installDefaults): Install caret and highlighter.
2138         (modelToView): Use Bias.Forward when calling sibling.
2139         * javax/swing/text/AbstractDocument.java
2140         (ElementEdit): Implements DocumentEvent.ElementChange.
2141         (ElementEdit.ElementEdit): New method.
2142         (ElementEdit.getChildrenAdded): Likewise.
2143         (ElementEdit.getChildrenRemoved): Likewise.
2144         (ElementEdit.getElement): Likewise.
2145         (ElementEdit.getIndex): Likewise.
2146         * javax/swing/text/DefaultCaret.java
2147         (color): Removed.
2148         (textComponent): Renamed from parent, made private.
2149         (selectionVisible): Renamed from vis_sel, made private.
2150         (blinkRate): Renamed from blink, made private.
2151         (magicCaretPosition): Renamed from magic, made private.
2152         (visible): Renamed from vis, made private.
2153         (dot): Made private.
2154         (mark): Likewise.
2155         (deinstall): Remove as MouseMotionListener.
2156         (install): Initialize textComponent first. Add as MouseMotionListener.
2157         (paint): Reimplemented.
2158         * javax/swing/text/JTextComponent.java
2159         (setCaret): Deinstall old caret, install new one and fire property
2160         change after setting property.
2161         (setHighlighter): Deinstall old highlighter, install new one and fire
2162         property change after setting property.
2163         (setCaretColor): Fire property change after setting property.
2164         (setDisabledTextColor): Likewise.
2165         (setSelectedTextColor): Likewise.
2166         (setSelectionColor): Likewise.
2167         (modelToView): New method.
2168
2169 2004-08-31  Michael Koch  <konqueror@gmx.de>
2170
2171         * javax/swing/text/AbstractDocument.java
2172         (getText): Simplified.
2173         * javax/swing/text/Segment.java
2174         (current): New field.
2175         (current): Reimplemented.
2176         (first): Likewise.
2177         (getIndex): Likewise.
2178         (last): Likewise.
2179         (next): Likewise.
2180         (previous): Likewise.
2181         (setIndex): Likewise.
2182
2183 2004-08-31  Michael Koch  <konqueror@gmx.de>
2184
2185         * javax/swing/plaf/basic/BasicButtonUI.java
2186         (defaultTextIconGap): Made protected.
2187         (defaultTextShiftOffset): Likewise.
2188         (textShiftOffset): New field.
2189         (clearTextShiftOffset): New method.
2190         (getTextShiftOffset): Likewise.
2191         (setTextShiftOffset): Likewise.
2192
2193 2004-08-31  Michael Koch  <konqueror@gmx.de>
2194
2195         * javax/swing/plaf/basic/BasicTextUI.java
2196         (installUI): Add eventHandler as property listener.
2197         (uninstallUI): remove eventHandler as propert listener.
2198         (installDefaults): Added comment.
2199         (installListeners): Likewise.
2200         (installKeyboardActions): Likewise.
2201         (uninstallDefaults): Likewise.
2202         (uninstallListeners): Likewise.
2203         (uninstallKeyboardActions): Likewise.
2204
2205 2004-08-31  Michael Koch  <konqueror@gmx.de>
2206
2207         * javax/swing/text/AbstractDocument.java:
2208         Fixed some typos in comments.
2209         (insertString): Reimplemented.
2210         (remove): Likewise.
2211         (replace): New method.
2212         (children): Dont use fully qualified class name.
2213         (DefaultDocumentEvent.offset): Renamed from off.
2214         (DefaultDocumentEvent.length): Renamed from len.
2215         (DefaultDocumentEvent.type): New field.
2216         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2217         (DefaultDocumentEvent.getType): Implemented.
2218
2219 2004-08-31  Michael Koch  <konqueror@gmx.de>
2220
2221         * javax/swing/plaf/basic/BasicTextUI.java
2222         (RootView.textComponent): Removed.
2223         (RootView.RootView): Don't initialize textComponent.
2224         (RootView.getViewFactory): New method.
2225         (EventHandler): New inner class.
2226         (rootView): Initialize at instance creation.
2227         (eventHandler): New field.
2228         (installUI): Don't create view hierarchy directly,
2229         call modelChanged() instead.
2230         (modelChanged): New method.
2231         * javax/swing/text/JTextComponent.java
2232         (setDocument): Fire property change event.
2233
2234 2004-08-31  Michael Koch  <konqueror@gmx.de>
2235
2236         * javax/swing/plaf/basic/BasicTextUI.java
2237         (RootView.paint): Removed debug output.
2238         (paintSafely): Draw highlighter before text.
2239         (paintBackground): Use background color of text component.
2240         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2241         Reformatted.
2242
2243 2004-08-31  Michael Koch  <konqueror@gmx.de>
2244
2245         * javax/swing/plaf/basic/BasicToolBarUI.java
2246         (BasicToolBarUI): Fixed arguments for constructor.
2247         (createUI): Fixed creation of object.
2248
2249 2004-08-31  Michael Koch  <konqueror@gmx.de>
2250
2251         * javax/swing/DefaultListSelectionModel.java
2252         (fireValueChanged): Renamed from fireSelectionValueChanged,
2253         made protected.
2254
2255 2004-08-31  Michael Koch  <konqueror@gmx.de>
2256
2257         * javax/swing/text/TabSet.java
2258         (TabSet): Implements java.io.Serializable.
2259         * javax/swing/text/TabStop.java
2260         (TabStop): Implements java.io.Serializable.
2261         (TabStop): Made public.
2262
2263 2004-08-31  Michael Koch  <konqueror@gmx.de>
2264
2265         * javax/swing/JComponent.java
2266         (setUI): Fire PropertyChange.
2267         * javax/swing/JLabel.java
2268         (text): Renamed from labelText.
2269         (horizontalAlignment): New default vlaue.
2270         (icon): Renamed from activeIcon.
2271         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2272         (displayedMnemonicIndex): Renamed from underlineChar.
2273         (setDisplayedMnemonic): Reimplemented.
2274         * javax/swing/JRadioButton.java
2275         (JRadioButton): New constructors.
2276         * javax/swing/JTextField.java
2277         (JTextField): Throw exception if colums < 0, initialitialz
2278         this.columns directly and initialize document with text conditionally.
2279
2280 2004-08-31  Michael Koch  <konqueror@gmx.de>
2281
2282         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2283         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2284         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2285         * javax/swing/text/FieldView.java
2286         (paint): Just call super method for now.
2287         * Makefile.am: Added new files.
2288         * Makefile.in: Regenerated.
2289
2290 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2291
2292         * javax/swing/AbstractSpinnerModel.java,
2293         javax/swing/JSpinner.java,
2294         javax/swing/SpinnerNumberModel.java,
2295         javax/swing/plaf/basic/BasicSpinnerUI.java:
2296         New files.
2297         * javax/swing/plaf/basic/BasicLookAndFeel.java
2298         (initClassDefaults): Added defaults for BasicSpinnerUI.
2299
2300 2004-08-31  Michael Koch  <konqueror@gmx.de>
2301
2302         * Makefile.am: Added new files.
2303         * Makefile.in: Regenerated.
2304
2305 2004-08-31  Michael Koch  <konqueror@gmx.de>
2306
2307         * javax/swing/TransferHandler.java,
2308         javax/swing/plaf/basic/ComboPopup.java: New files
2309         * Makefile.am: Added javax/swing/TransferHandler.java and
2310         javax/swing/plaf/basic/ComboPopup.java
2311         * Makefile.in: Regenerated.
2312
2313 2004-08-31  Roman Kennke  <roman@ontographics.com>
2314
2315         * javax/swing/text/Utilities.java: New file.
2316
2317 2004-08-31  Michael Koch  <konqueror@gmx.de>
2318
2319         * Makefile.am: Added javax/swing/text/Utilities.java.
2320         * Makefile.in: Regenerated.
2321
2322 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2323
2324         * javax/swing/text/SimpleAttributeSet.java: New file.
2325         * javax/swing/text/StyleConstants.java: New file.
2326         * javax/swing/text/StyleContext.java: New file.
2327         * javax/swing/text/TabSet.java: New file.
2328         * javax/swing/text/TabStop.java: New file.
2329         * javax/swing/text/AbstactDocument.java:
2330         (AbstractElement): Implement attribute support.
2331         * javax/swing/text/AttributeSet.java
2332         (NameAttribute): New static field.
2333         (ResolveAttribute): New static field.
2334         * Makefile.am: Update for new files.
2335         * Makefile.in: Regenerate.
2336
2337 2004-08-31  Craig Black  <craig.black@aonix.com>
2338
2339         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2340         (drawImage): Add support for scaling pixmaps.
2341         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2342         (copyAndScalePixmap): New native method.
2343  
2344 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2345
2346         PR AWT/16121
2347         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2348         type-punning compiler warnings using unions.
2349         (throw): Replace bzero with memset.
2350
2351 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2352             Thomas Fitzsimmons  <fitzsim@redhat.com>
2353
2354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2355         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2356         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2358         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2359
2360 2004-08-31  Mark Wielaard  <mark@klomp.org>
2361
2362         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2363         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2364         and stdlib.h, not gtkpeer.h.
2365         (*vm): New static variable.
2366         (areaPreparedID): Make static.
2367         (areaUpdatedID): Likewise.
2368         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2369         (area_prepared): Likewise.
2370         (area_updated): Likewise.
2371         (closed): Likewise.
2372         (initStaticState): Initialize *vm javaVM.
2373         (pumpBytes): Use given env, not global gdk_env.
2374
2375 2004-08-31  Mark Wielaard  <mark@klomp.org>
2376
2377         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2378         comments.
2379
2380 2004-08-31  Sven de Marothy  <sven@physto.se>
2381
2382         * java/awt/geom/CubicCurve2D.java: Reindent.
2383         (contains): Implemented.
2384         (intersects): Implemented.
2385         * java/awt/geom/QuadCurve2D.java: Likewise.
2386         * java/awt/geom/GeneralPath.java: Reindent and document.
2387         Fully (re)implemented using separate xpoints and ypoints
2388         float[] coords.
2389         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2390
2391 2004-08-31  Michael Koch  <konqueror@gmx.de>
2392
2393         * javax/swing/JMenuItem.java
2394         (getMenuDragMouseListeners): New method.
2395         (getMenuKeyListeners): Likewise.
2396
2397 2004-08-31  Michael Koch  <konqueror@gmx.de>
2398
2399         * javax/swing/AbstractButton.java
2400         (model): Made protected.
2401         (actionListener): Likewise.
2402         (changeListener): Likewise.
2403         (itemListener): Likewise.
2404         (multiClickThreshhold): New field.
2405         (getActionListeners): New method.
2406         (getChangeListeners): Likewise.
2407         (getItemListeners): Likewise.
2408         (fireItemStateChanged): Simplified implementation.
2409         (fireActionPerformed): Likewise.
2410         (fireStateChanged): Likewise.
2411         (getMultiClickThreshhold): New method.
2412         (setMultiClickThreshhold): Likewise.
2413
2414 2004-08-31  Tom Tromey  <tromey@redhat.com>
2415
2416         * java/awt/image/Kernel.java (clone): Use super.clone().
2417
2418 2004-08-31  David Jee  <djee@redhat.com>
2419
2420         PR AWT/16682
2421         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2422         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2423         (nativeSetIconImageFromData): New native method declaration.
2424         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2425         * gnu/java/awt/peer/gtk/GtkImage.java
2426         (getPixelCache): New method.
2427         (getColorModel): New method.
2428         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2429         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2430         (free_pixbuf_data): New helper function.
2431         (nativeSetIconImageFromData): New function.
2432
2433 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2434
2435         PR SWING/16576
2436         * javax/swing/JLayeredPane.java 
2437         (setLayer): Permit changing layer after addition.
2438         (setPosition): Permit over-length positions.
2439         (layerToRange): Compare intValue()s.
2440         * javax/swing/Box.java (createHorizontalBox): Implement.
2441         (createRigidArea): Likewise.
2442         (createVerticalBox): Likewise.
2443
2444 2004-08-31  Kim Ho  <kho@redhat.com>
2445
2446         * java/awt/Component.java:
2447         (processMouseEvent): Consume event after
2448         listeners process it.
2449         (processMouseMotionEvent): ditto.
2450         (processMouseWheelEvent): ditto.
2451         * java/awt/Container.java:
2452         (acquireComponentForMouseEvent):
2453         Do not dispatch to events that have been
2454         removed from the Container.
2455         (handleEvent): Consume the MouseEvents.
2456         * javax/swing/RepaintManager.java:
2457         (paintDirtyRegions): Do not add to list of 
2458         damaged areas if the component has no root.
2459
2460 2004-08-31  Michael Koch  <konqueror@gmx.de>
2461
2462         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2463
2464 2004-08-31  Mark Wielaard  <mark@klomp.org>
2465
2466         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2467         null when a MissingResourceException is thrown. Should never happen.
2468
2469 2004-08-31  Mark Wielaard  <mark@klomp.org>
2470
2471         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2472         when argument is null.
2473
2474 2004-08-31  Mark Wielaard  <mark@klomp.org>
2475
2476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2477         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2478         Define hid at start of function.
2479         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2480         Likewise.
2481
2482 2004-08-31  Mark Wielaard  <mark@klomp.org>
2483
2484         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2485         * javax/swing/JButton.java: Reindent.
2486         * javax/swing/JCheckBox.java: Reindent.
2487
2488 2004-08-31  Mark Wielaard  <mark@klomp.org>
2489
2490         * Makefile.am (gtk_c_source_files): Added
2491         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2492         (gtk_awt_peer_sources): Added
2493         gnu/java/awt/peer/gtk/GThreadMutex.java and
2494         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2495         * Makefile.in: Regenerated.
2496
2497 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2498
2499         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2500
2501 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2502
2503         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2504         Added jfieldID, jmethodID.
2505
2506 2004-08-31  Mark Wielaard  <mark@klomp.org>
2507
2508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2509         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2510         gdk_env before calling any gdk or gtk function.
2511
2512         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2513         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2514         (run): Set gtkInitCalled.
2515
2516 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2517
2518         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2519         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2520
2521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2522         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2523         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2524         init_glib_threads. 
2525         (init_glib_threads): New function.
2526
2527 2004-08-31  Mark Wielaard  <mark@klomp.org>
2528
2529         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2530         PRIORITY when not already defined in header file.
2531
2532 2004-08-31  Mark Wielaard  <mark@klomp.org>
2533
2534         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2535         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2536
2537 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2538
2539         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2540         Implemented missing functions for GTK2.
2541         Added error handling.
2542         Renamed static functions out of the g_ namespace.
2543         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2544         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2545         Rewrote global-reference code.
2546         Eliminated cascading errors.
2547         (mutex_trylock_jni_impl) Fully implemented.
2548         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2549         resolution.
2550         (setup_cache) New function.
2551         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2552         bug where they were not unlocking the GMutex associated with the
2553         condition variable during the wait on that condition variable.
2554
2555         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2556         native/jni/gtk-peer/gthread-jni.c,
2557         native/jni/gtk-peer/gthread-jni.h
2558         (g_thread_jni_functions): Renamed to ...
2559         (portable_native_sync_jni_functions): this name.
2560         (gdk_vm): Renamed to...
2561         (the_vm): this name.
2562
2563         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2564         (gdk_vm): Removed duplicate definition.
2565         (gtkInit): Removed stray message to stdout.
2566         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2567         (gtkInit): Fix a const assignment bug.
2568         (gtkInit): Simplified code.
2569
2570         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2571         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2572         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2573         gnu/java/awt/peer/gtk/GThreadMutex.java:
2574         New files.
2575
2576 2004-08-31  Mark Wielaard  <mark@klomp.org>
2577
2578         * javax/swing/Box.java: Put FIXME comment above class declaration.
2579         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2580         * javax/swing/JCheckBox.java: Likewise.
2581         * javax/swing/JDialog.java: Likewise.
2582         * javax/swing/JRadioButton.java: Likewise.
2583         * javax/swing/JToggleButton.java: Likewise.
2584         * javax/swing/UIManager.java: Likewise.
2585         * javax/swing/border/TitledBorder.java: Likewise.
2586         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2587         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2588         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2589         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2590         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2591         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2592         * javax/swing/text/JTextComponent.java: Likewise.
2593
2594 2004-08-31  David Jee  <djee@redhat.com>
2595
2596         PR AWT/16682
2597         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2598         (setIconImage): Add a FIXME for unhandled cases.
2599
2600 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2601
2602         PR AWT/16040
2603         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2604         getModifiers.  Replace old button masks with new ones.
2605         * gnu/awt/xlib/XEventLoop.java: Likewise.
2606         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2607         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2608         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2609         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2610         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2611         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2612         * java/awt/Component.java: Replace old modifier masks with new
2613         ones.
2614         * java/awt/Container.java: Call getModifiersEx, not
2615         getModifiers.
2616         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2617         old modifier masks.
2618         * javax/swing/JMenuItem.java: Replace old button masks with new
2619         ones.
2620         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2621         getModifiers.
2622         * javax/swing/SwingUtilities.java: Likewise.
2623         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2624         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2625         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2626         mask macros with new ones.
2627         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2628         macros with new ones representing new masks.
2629
2630 2004-08-31  Craig Black  <craig.black@aonix.com>
2631
2632         * gnu/java/awt/peer/gtk/GdkGraphics.java
2633         (drawRoundRect): Implemented.
2634         (fillRoundRect): Implemented.
2635         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2636         (drawRoundRect): Reimplemented to match GdkGraphics.
2637         (fillRoundRect): Reimplemented to match GdkGraphics.
2638
2639 2004-08-31  Mark Wielaard  <mark@klomp.org>
2640
2641         * Makefile.in: Regenerated.
2642
2643 2004-08-31  Michael Koch  <konqueror@gmx.de>
2644
2645         * gnu/java/awt/EmbeddedWindow.java
2646         (addNotify): Use AccessController to allow execution of privileged
2647         code.
2648
2649 2004-08-31  Michael Koch  <konqueror@gmx.de>
2650
2651         * gnu/java/awt/EmbeddedWindow.java
2652         (static): Removed.
2653         (addNotify): Set peer via reflection.
2654         (setWindowPeer): Removed.
2655         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2656         * Makefile.am (nat_source_files):
2657         Removed gnu/java/awt/natEmbeddedWindow.cc.
2658
2659 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2660
2661         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2662         and gnu/java/security/action/SetAccessibleAction.java.
2663
2664 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2665
2666         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2667         Renamed from 'setName'. New 2-argument form with default value.
2668         (run): Pass default 'value' parameter to System.getProperty().
2669         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2670         typos.
2671
2672 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2673
2674         * gnu/java/security/action/GetPropertyAction.java: New class.
2675         * gnu/java/security/action/SetAccessibleAction.java: New class.
2676
2677 2004-08-31  David Jee  <djee@redhat.com>
2678
2679         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2680         (setIconImage): Check if image is null.
2681
2682 2004-08-31  David Jee  <djee@redhat.com>
2683
2684         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2685         (create): Set the icon image.
2686         (nativeSetIconImage): New native method declaration.
2687         (setIconImage): Implement.
2688         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2689         (nativeSetIconImage): New function.
2690
2691 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2692
2693         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2694         (filenameFilterCallback): Declare local variable accepted before use.
2695
2696 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2697
2698         * gnu/java/awt/ComponentDataBlitOp.java:
2699         Cleaned up imports.
2700
2701 2004-08-31  Tom Tromey  <tromey@redhat.com>
2702
2703         * gnu/java/awt/peer/GLightweightPeer.java,
2704         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2705         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2706         javax/swing/JScrollPane.java: Removed
2707         redundant imports.
2708
2709 2004-08-31  David Jee  <djee@redhat.com>
2710
2711         * java/awt/DefaultKeyboardFocusManager.java
2712         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2713         event.  Fix shift modifier checking.
2714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2715         (accel_attach): Remove.
2716         (setupAccelGroup): Remove calls to accel_attach.
2717
2718 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2719
2720         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2721         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2722
2723         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2724         GtkArgList.java.
2725         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2726         * Makefile.in: Regenerate.
2727         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2728         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2729         (create(String)): New method.
2730         (create): Call new create method.
2731         (getArgs): Remove method.
2732         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2733         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2734         (nativeCreate): Rename to create.
2735         (gtkSetLabel): Rename to gtkButtonSetLabel.
2736         (gtkToggleButtonSetActive): New method.
2737         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2738         (setState): Replace set call with gtkToggleButtonSetActive.
2739         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2740         (getArgs): Remove method.
2741         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2742         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2743         (gtkWidgetSetSensitive): New method.
2744         (gtkWidgetSetParent): Likewise.
2745         (GtkComponentPeer): Call setParent, setComponentBounds and
2746         setVisibleAndEnabled.
2747         (setParent): New method.
2748         (setComponentBounds): New method.
2749         (setVisibleAndEnabled): New method.
2750         (setEnabled): Call gtkWidgetSetSensitive.
2751         (getArgs): Remove method.
2752         Remove all set methods.
2753         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2754         gtkWindowSetModal, setTitle and setResizable.
2755         (getArgs): Remove method.
2756         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2757         (setComponentBounds): New method.
2758         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2759         Replace set call with gtkWindowSetResizable.
2760         (getArgs): Remove method.
2761         (create): Call setTitle and setResizable.
2762         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2763         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2764         (gtkWindowSetTitle): New method.
2765         (gtkWindowSetResizable): New method.
2766         (gtkWindowSetModal): New method.
2767         (setParent): New method.
2768         (setVisibleAndEnabled): New method.
2769         (getArgs): Remove method.
2770         (setTitle): Call gtkWindowSetTitle.
2771         (setResizable): Call gtkWindowSetResizable.
2772         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2773         and off locking instrumentation.
2774
2775 2004-08-31  Kim Ho  <kho@redhat.com>
2776
2777         * Makefile.am: Add new file.
2778         * Makefile.in: Regenerate.
2779         * gcj/Makefile.in: Regenerate
2780         * include/Makefile.in:
2781         * java/awt/Container.java:
2782         (acquireComponentForMouseEvent): Respect 
2783         the event mask when looking for candidate.
2784         * javax/swing/JComponent.java:
2785         Remove toolTip field.
2786         (createToolTip): Create a tooltip on demand.
2787         (setToolTipText): Register with the ToolTipManager.
2788         (getToolTipText(MouseEvent)): Return getToolTipText().
2789         * javax/swing/JToolTip.java: Implement.
2790         * javax/swing/Timer.java: Jalopy.
2791         (restart): Call stop, then start.
2792         (stop): Interrupt the timer rather than wait for
2793         the timer to come to a stop naturally.
2794         * javax/swing/ToolTipManager.java: Implement.
2795         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2796         Change ToolTip.background color.
2797         * javax/swing/plaf/basic/BasicToolTipUI.java:
2798         Implement.
2799         * testsuite/Makefile.in: Regenerate
2800
2801 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2802
2803         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2804         constructor param comments.
2805
2806 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2807
2808         * java/awt/Component.java: Document AWT 1.0 event handler
2809         methods.
2810
2811 2004-08-31  Roman Kennke  <roman@ontographics.com>
2812
2813         * javax/swing/Box.java:
2814         (createGlue): Implemented
2815         (createHorizontalGlue): Implemented
2816         (createHorizontalStrut): Implemented
2817         (createVerticalGlue): Implemented
2818         (createVerticalStrut): Implemented
2819
2820 2004-08-31  David Jee  <djee@redhat.com>
2821
2822         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2823         (GtkChoicePeer): Do not automatically select first item.
2824         (getHistory): Remove.
2825         (nativeGetSelected): New method.
2826         (nativeRemoveAll): New method.
2827         (add): Use nativeGetSelected() instead of getHistory().
2828         (remove): Likewise.
2829         (removeAll): Call nativeRemoveAll().
2830         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2831         (create): Migrate to GtkComboBox.
2832         (append): Likewise.
2833         (nativeAdd): Likewise.
2834         (nativeRemove): Likewise.
2835         (select): Likewise.
2836         (nativeRemoveAll): New method.
2837         (nativeGetSelected): New method.
2838         (selection_changed): New method.
2839         (getHistory): Remove.
2840         (item_activate): Remove.
2841         (item_removed): Remove.
2842         (connect_choice_item_selectable_hook): Remove.
2843
2844 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2845
2846         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2847         variable in setEditable call.
2848
2849         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2850         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2851         (gtkWidgetSetBackground): New method.
2852         (gtkWidgetSetForeground): Likewise.
2853         (create): Set peer's editable state based on awtComponent's.
2854
2855         * java/awt/Button.java (Button()): Use empty string rather than
2856         null in no-label constructor.
2857
2858 2004-08-31  Roman Kennke  <roman@ontographics.com>
2859
2860         * javax/swing/BoxLayout.java: Reimplement.
2861
2862 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2863
2864         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2865         gnu_java_awt_peer_gtk_GdkGraphics.c
2866         (initState(GtkComponentPeer)): Don't return array of colour
2867         values.
2868         (GdkGraphics(int,int)): Set default font to size 12.
2869         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2870         component's foreground colour.
2871         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2872         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2873         (initState(GtkComponentPeer)): Don't return array of colour
2874         values.
2875         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2876         colours to component's colours.
2877         (current_colors_of_widget): Remove function.
2878         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2879         Return a new graphics object.
2880         * java/awt/Font.java (toString): Fix format.
2881         * java/awt/Graphics.java (toString): Likewise.
2882
2883 2004-08-31  Craig Black  <craig.black@aonix.com>
2884
2885         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2886         (addTearOff): New function.
2887         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2888         New native method.
2889         (init): Call addTearOff() when menu.isTearOff().
2890
2891 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2892
2893         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2894         Default implementation.
2895         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2896         Implement using GdkPixbufDecoder.
2897
2898 2004-08-31  David Jee  <djee@redhat.com>
2899
2900         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2901         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2902         setting the size of GtkFileDialogPeers.
2903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2904         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2905         use their default sizes rather than their natural requisitions.
2906
2907 2004-08-31  Michael Koch  <konqueror@gmx.de>
2908
2909         * javax/swing/JFormattedTextField.java
2910         (JFormattedTextField): Implemented.
2911         * javax/swing/text/DefaultEditorKit.java
2912         (BeepAction): New inner class.
2913         * javax/swing/text/Segment.java
2914         (partialReturn): New field.
2915         (setPartialReturn): New method.
2916         (isPartialReturn): Likewise.
2917         * javax/swing/text/View.java
2918         (createFragment): Fixed typo.
2919         (getStartOffset): New method.
2920         (getEndOffset): Likewise.
2921
2922 2004-08-31  Michael Koch  <konqueror@gmx.de>
2923
2924         * javax/swing/table/DefaultTableColumnModel.java
2925         (serialVersionUID): Made private.
2926         (listenerList): Initialize.
2927         (changeEvent): Initialize.
2928         * javax/swing/table/JTableHeader.java
2929         (JTableHeader): New constructors.
2930         (createDefaultColumnModel): New method.
2931         * javax/swing/table/TableColumn.java
2932         (setHeaderRenderer): Simplified code.
2933         (setCellRenderer): Likewise.
2934         (setWidth): Likewise.
2935
2936 2004-08-31  Tom Tromey  <tromey@redhat.com>
2937
2938         * java/text/AttributedString.java (AttributedString): Use
2939         ArrayList to build array of attribute ranges.  Don't use
2940         `attribs' before it is set.
2941
2942 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2943
2944         * HACKING: Remove reference to special automake. No longer needed.
2945
2946 2004-08-30  Tom Tromey  <tromey@redhat.com>
2947
2948         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2949         return result from `add'.
2950
2951 2004-08-30  Tom Tromey  <tromey@redhat.com>
2952
2953         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2954
2955 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2956
2957         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2958
2959 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2960
2961         * java/io/File.java File(String,String): Fixed handling of empty
2962         path.
2963
2964 2004-08-30  Casey Marshall  <csm@gnu.org>
2965
2966         Author e-mail updated for all files.
2967         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2968         instance of OID.
2969         (compareTo): Use `equals'.
2970         * gnu/java/security/der/BitString.java (equals): Test if the
2971         argument is an instance of BitString.
2972         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2973         class final. Made fields private.
2974         (<init>): New constructor.
2975         (skip): New method.
2976         (makeString): Made static; don't use NIO.
2977         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2978         * gnu/java/security/der/DERWriter.java: Fixed imports.
2979         (writeString): Don't use NIO.
2980         (toIso88591, toUtf16Be, toUtf8): New methods.
2981         * gnu/java/security/der/DERValue.java: Formatting changes only.
2982         * gnu/java/security/der/DER.java: Likewise.
2983
2984 2004-08-30  Tom Tromey  <tromey@redhat.com>
2985
2986         * java/nio/CharBuffer.java (put): Fix typo.
2987         * java/nio/DoubleBuffer.java (put): Fix typo.
2988         * java/nio/FloatBuffer.java (put): Fix typo.
2989         * java/nio/IntBuffer.java (put): Fix typo.
2990         * java/nio/LongBuffer.java (put): Fix typo.
2991         * java/nio/ShortBuffer.java (put): Fix typo.
2992
2993 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2994
2995         * java/nio/ByteBuffer.java (put): Fix typo.
2996
2997 2004-08-30  Casey Marshall  <csm@gnu.org>
2998
2999         * java/security/DummyKeyPairGenerator.java (clone): Removed
3000         useless instanceof check.
3001         * java/security/DummyMessageDigest.java (clone): Likewise.
3002         * java/security/DummySignature.java (clone): Likewise.
3003         * java/security/MessageDigest.java (clone): Remove useless
3004         instanceof check.
3005         * java/security/MessageDigestSpi.java (clone): Likewise.
3006         * java/security/Signature.java (clone): Provide meaningful
3007         implementation.
3008         * java/security/SignatureSpi.java (clone): Likewise.
3009
3010 2004-08-29  Mark Wielaard  <mark@klomp.org>
3011
3012         * java/util/Arrays.java
3013         (sort(byte[], int, int)): Check fromIndex < 0.
3014         (sort(char[], int, int)): Likewise.
3015         (sort(short[], int, int)): Likewise.
3016         (sort(int[], int, int)): Likewise.
3017         (sort(long[], int, int)): Likewise.
3018         (sort(float[], int, int)): Likewise.
3019         (sort(double[], int, int)): Likewise.
3020         (sort(Object[], int, int, Comparator)): Likewise.
3021         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3022         (qsort(char[], int, int)): Likewise.
3023         (qsort(short[], int, int)): Likewise.
3024         (qsort(int[], int, int)): Likewise.
3025         (qsort(long[], int, int)): Likewise.
3026         (qsort(float[], int, int)): Likewise.
3027         (qsort(double[], int, int)): Likewise.
3028
3029 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3030
3031         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3032         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3033         java/util/ArrayList.java, java/util/Arrays.java,
3034         java/util/BitSet.java, java/util/Calendar.java,
3035         java/util/Collection.java, java/util/ListIterator.java,
3036         java/util/Map.java, java/util/SortedSet.java:
3037         Added additional exceptions to documentation, along
3038         with some additions and corrections.
3039
3040 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3041
3042         * configure.ac: Handle --enable-gc-debug.
3043         * configure: Regenerate.
3044         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3045         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3046         Rearrange include file order.
3047         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3048         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3049         (disable_gc_mutex): Delete along with all references.
3050         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3051         adjust for debug header size.
3052         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3053         debug case.
3054         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3055         (gcj_describe_type_fn): New.
3056         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3057         Register gcj_describe_type_fn.
3058         * include/boehm-gc.h:
3059         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3060         Don't define, but declare, for debug case.
3061         * java/lang/natObject.cc:
3062         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3063
3064 2004-08-26  Mark Wielaard  <mark@klomp.org>
3065
3066         Fixes PR libgcj/17002:
3067         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3068         a TimeZoneId string and then try to convert that to a TimeZone with
3069         getDefaultSystemTimeZone(String).
3070         (timezones0): Changed type from Hashtable to HashMap.
3071         (timezones): Create HashMap, not Hashtable.
3072         (getDefaultTimeZone): New method, rewritten from CNI version.
3073         (readTimeZoneFile): New method.
3074         (readtzFile): Likewise.
3075         (skipFully): Likewise.
3076         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3077         getDefaultTimeZoneId and rewritten.
3078         (getDefaultTimeZoneId): Rewritten in java.
3079         
3080 2004-08-25  David Daney  <daney@avtrex.com>
3081
3082         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3083         * Makefile.in: Regenerated.
3084
3085 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3086
3087         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3088         only if jvmpi is enabled.
3089         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3090         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3091         (_Jv_AllocString): Likewise.
3092         (_Jv_AllocPtrFreeObject): Likewise.     
3093
3094 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3095
3096         * defineclass.cc: Include <stdio.h>.
3097         * java/lang/natClassLoader.cc: Include <stdio.h>.
3098
3099 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3100             Michael Koch  <konqueror@gmx.de>
3101
3102         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3103         * Makefile.in: Regenerated.
3104
3105 2004-08-20  Michael Koch  <konqueror@gmx.de>
3106
3107         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3108         AC_COMPILE_IFELSE macros.
3109
3110 2004-08-20  Michael Koch  <konqueror@gmx.de>
3111
3112         * configure.in: Renamed to configure.ac.
3113         * configure.ac: New file.
3114         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3115         include/config.h.in, testsuite/Makefile.in: Regenerated.
3116
3117 2004-08-20  Michael Koch  <konqueror@gmx.de>
3118
3119         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3120         * aclocal.m4, configure: Regenerated.
3121
3122 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3123             Michael Koch  <konqueror@gmx.de>
3124
3125         * configure.in, Makefile.am: Ported to automake 1.9.
3126         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3127         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3128         Regenerated.
3129
3130 2004-08-19  Tom Tromey  <tromey@redhat.com>
3131
3132         * java/net/DatagramSocket.java: Fixed typo.
3133
3134 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3135
3136         PR libgcj/17081
3137         * java/net/URI.java (string): New field. Make all other fields
3138         transient.
3139         (readObject): Implemented.
3140         (writeObject): Implemented.
3141         (URI): Set 'string'.
3142
3143 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3144
3145         PR libgcj/17079
3146         * java/util/logging/Handler.java (isLoggable): Accept record if its
3147         log level equals the threshold level. From Robin Green.
3148
3149 2004-08-18  David Daney  <ddaney@avtrex.com>
3150
3151         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3152         instead of sigwait.
3153
3154 2004-08-17  Michael Koch  <konqueror@gmx.de>
3155
3156         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3157         * Makefile.in: Regenerated.
3158
3159 2004-08-16  Tom Tromey  <tromey@redhat.com>
3160
3161         PR java/8473:
3162         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3163
3164 2004-08-16  Michael Koch  <konqueror@gmx.de>
3165
3166         * Makefile.am
3167         (math_c_files): Renamed from c_files.
3168         (math_c_source_files): Renamed from c_source_files.
3169         * Makefile.in,
3170         gcj/Makefile.in,
3171         include/Makefile.in,
3172         testsuite/Makefile.in: Regenerated.
3173
3174 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3175
3176         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3177         to avoid autoconf warning.
3178         * configure: Rebuilt.
3179
3180 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3181
3182         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3183         localhostAddress to loopbackAddress.
3184         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3185
3186 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3187
3188         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3189         boehm-gc's include dirs.
3190         * configure: Rebuilt.
3191         * include/boehm-gc.h: Include gc_config.h.
3192
3193 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3194
3195         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3196         localhostAddress.
3197         (getByName): Return loopback address for null hostname, without
3198         security check. Use lookup(), not getAllByName.
3199         (getAllByName): Return loopback address for null hostname, without
3200         security check.
3201         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3202         check here.
3203
3204 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3205
3206         PR libgcj/17020
3207         Reported by Robin Green.
3208         * defineclass.cc (handleField): Don't throw exception on unrecognised
3209         modifier. Add FIXME comments for spec compliance.
3210         (handleMethod): Likewise.
3211
3212 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3213
3214         PR libgcj/16662
3215         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3216         (Almost everywhere): add LOG calls, fix, add comments.
3217         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3218         Add explicit check for LOCKED bit in slow case (PR 16662).
3219         (_Jv_MonitorExit): Add casts in debug-only code.
3220         Always release LOCKED bit before throwing exception.
3221         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3222         isn't.  Handle easy cases without lock acquisition.
3223         (Object::wait): Use NotifyAll for lock inflation.
3224
3225 2004-08-12  David Daney  <ddaney@avtrex.com>
3226
3227         * testsuite/libjava.lang/Process_1.java: New test.
3228         * testsuite/libjava.lang/Process_2.java: New test.
3229         * testsuite/libjava.lang/Process_3.java: New test.
3230         * testsuite/libjava.lang/Process_4.java: New test.
3231         * testsuite/libjava.lang/Process_5.java: New test.
3232         * testsuite/libjava.lang/Process_6.java: New test.
3233         * testsuite/libjava.lang/Process_1.out: Expected result.
3234         * testsuite/libjava.lang/Process_2.out: Expected result.
3235         * testsuite/libjava.lang/Process_3.out: Expected result.
3236         * testsuite/libjava.lang/Process_4.out: Expected result.
3237         * testsuite/libjava.lang/Process_5.out: Expected result.
3238         * testsuite/libjava.lang/Process_6.out: Expected result.
3239
3240 2004-08-12  David Daney  <ddaney@avtrex.com>
3241
3242         PR libgcj/11801
3243         * java/lang/PosixProcess.java: Rewrote.
3244         * java/lang/natPosixProcess.cc: Rewrote.
3245         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3246         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3247         * posix-threads.cc (block_sigchld) New function.
3248         (_Jv_ThreadRegister) Use it.
3249         (_Jv_ThreadStart) Use it.
3250         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3251         * Makefile.am: ... to specify extra native headers.
3252         * configure: Regenerated.
3253         * include/config.h: Regenerated.
3254         * Makefile.in: Regenerated.
3255         * gcj/Makefile.in: Regenerated.
3256         * include/Makefile.in: Regenerated.
3257         * testsuite/Makefile.in: Regenerated.
3258
3259 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3260
3261         PR tree-optimization/16867
3262         * testsuite/libjava.lang/PR16867.java: New test.
3263
3264 2004-08-09  Per Bothner  <per@bothner.com>
3265
3266         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3267         with private fields and access methods.
3268         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3269         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3270         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3271         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3272         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3273         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3274         * jni.cc: Likewise.
3275         * resolve.cc: Likewise.
3276         * gcj/field.h: Likewise.
3277         * include/jvm.h: Likewise.
3278         * java/lang/Class.h: Likewise.
3279         * java/lang/natClass.cc: Likwise.
3280         * java/lang/natClassLoader.cc: Likewise
3281         * java/lang/reflect/natMethod.cc: Likewise
3282         * verify.cc: Likewise.
3283         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3284         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3285
3286 2004-08-10  Andrew Haley  <aph@redhat.com>
3287
3288         * testsuite/libjava.lang/err14.java: New file.
3289         * testsuite/libjava.lang/err14.out: New file.
3290
3291 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3292
3293         * Makefile.am: Fix missing rename from x_nat_headers to 
3294         xlib_nat_headers.
3295         * Makefile.in: Regenerated.
3296
3297 2004-08-04  Andrew Haley  <aph@redhat.com>
3298
3299         * java/security/BasicPermission.java: Don't check wildcards.
3300
3301 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3302             Michael Koch  <konqueror@gmx.de>
3303
3304         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3305         * configure.in: Replaced all usages of AC_LINK_FILES by
3306         AC_CONFIG_LINKS.
3307         * aclocal.m4,
3308         configure: Regenerated.
3309
3310 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3311             Michael Koch  <konqueror@gmx.de>
3312
3313         * acconfig.h: Removed.
3314         * Makefile.am: Rename variables for xlib peer to include xlib and
3315         gtk_c_headers to gtk_jni_headers.
3316         * Makefile.in: Regenerated.
3317
3318 2004-08-04  Andrew Haley  <aph@redhat.com>
3319
3320         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3321         debugging.
3322
3323 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3324
3325         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3326         Replace most top level 'dnl' comments with '#' comments, conforming
3327         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3328         help strings.
3329         * configure: Rebuilt.
3330
3331 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3332
3333         * acinclude.m4: Include no-executables.m4.
3334         * aclocal.m4: Rebuild.
3335         * configure.in: Convert to the autoconf 2.59 version of
3336         of the no-executables hack, and also of the nonstandard CXX
3337         hack and the multilibbed CC and CXX hack.  Change prerequisite
3338         to autoconf 2.59.
3339         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3340         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3341         testsuite/Makefile.in: Regenerate.
3342
3343 2004-08-03  Tom Tromey  <tromey@redhat.com>
3344
3345         * jni.cc: Reindented.
3346
3347 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3348
3349         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3350
3351 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3352
3353         * testsuite/libjava.compile/PR16701.java: New test.
3354
3355 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3356
3357         * java/util/Collection.java, java/util/List.java,
3358         java/util/Map.java, java/util/Set.java,
3359         java/util/SortedMap.java, java/util/SortedSet.java:
3360         Added additional exceptions to documentation.
3361
3362 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3363
3364         PR libgcj/16814
3365         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3366         * configure. Regenerate.
3367         * include/win32.h: Explicitly include winsock2.h
3368         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3369         Winsock api.
3370
3371 2004-07-30  Michael Koch  <konqueror@gmx.de>
3372
3373         * java/util/zip/GZIPInputStream.java
3374         (GZIPInputStream): Increase buffer size to 4k.
3375         * java/util/zip/GZIPOutputStream.java
3376         (GZIPOutputStream): Likewise.
3377         * java/util/zip/Inflater.java
3378         (setInput): Merged formating with GNU classpath.
3379         * java/util/zip/InflaterInputStream.java
3380         (InflaterInputStream): Increase buffer size to 4k.
3381         (fill): Throw exception if stream ends early.
3382         (read): Merged endless-loop with GNU classpath.
3383         (skip): Increase buffer size to 2k.
3384
3385 2004-07-30  Michael Koch  <konqueror@gmx.de>
3386
3387         * gnu/java/awt/EmbeddedWindow.java
3388         (addNotify): Use AccessController to allow execution of privileged
3389         code.
3390
3391 2004-07-29  Michael Koch  <konqueror@gmx.de>
3392
3393         * gnu/java/lang/MainThread.java:
3394         Explicitely import used classes.
3395         (args): Make it type String[].
3396
3397 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3398
3399         * gnu/java/awt/ComponentDataBlitOp.java,
3400         gnu/java/beans/ExplicitBeanInfo.java,
3401         gnu/java/beans/IntrospectionIncubator.java,
3402         gnu/java/beans/editors/ColorEditor.java,
3403         gnu/java/beans/editors/FontEditor.java,
3404         gnu/java/beans/editors/NativeBooleanEditor.java,
3405         gnu/java/beans/editors/NativeByteEditor.java,
3406         gnu/java/beans/editors/NativeDoubleEditor.java,
3407         gnu/java/beans/editors/NativeFloatEditor.java,
3408         gnu/java/beans/editors/NativeIntEditor.java,
3409         gnu/java/beans/editors/NativeLongEditor.java,
3410         gnu/java/beans/editors/NativeShortEditor.java,
3411         gnu/java/beans/editors/StringEditor.java,
3412         gnu/java/io/ClassLoaderObjectInputStream.java,
3413         gnu/java/io/decode/Decoder.java,
3414         gnu/java/io/encode/Encoder.java,
3415         gnu/java/lang/ClassHelper.java,
3416         gnu/java/locale/Calendar.java,
3417         gnu/java/locale/Calendar_de.java,
3418         gnu/java/locale/Calendar_en.java,
3419         gnu/java/locale/Calendar_nl.java,
3420         gnu/java/locale/LocaleInformation_de.java,
3421         gnu/java/locale/LocaleInformation_en.java,
3422         gnu/java/locale/LocaleInformation_nl.java:
3423         Cleaned up imports.
3424
3425 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3426
3427         * README: Remove obsolete info. Update bug URL.
3428         * THANKS: Updated.
3429         * NEWS: Updated with news up to GCC 3.4 release.
3430
3431 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3432
3433         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3434         Renamed from 'setName'. New 2-argument form with default value.
3435         (run): Pass default 'value' parameter to System.getProperty().
3436         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3437         typos.
3438         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3439         not 'setName'.
3440
3441 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3442
3443         * configure.in: Check for minimum GTK version 2.4 requirement.
3444         * configure: Rebuilt.
3445
3446 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3447
3448         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3449         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3450         Reduce sleep time.
3451         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3452         compiler bug.
3453         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3454         address. Reduce sleep times. Synchronize with target threads before
3455         attempting to interrupt them. Don't try to calibrate yeild count,
3456         instead, always loop for a fixed time.
3457         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3458         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3459         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3460         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3461         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3462         * testsuite/libjava.lang/pr179.java: Likewise.
3463         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3464         time. Remove upper bounds check on sleep time. 
3465
3466 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3467
3468         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3469         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3470
3471 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3472
3473         * java/io/File.java (toURI): Throw RuntimeException, not 
3474         InternalError.
3475         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3476         class name, not instance.
3477
3478 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3479
3480         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3481         and gnu/java/security/action/SetAccessibleAction.java.
3482         * Makefile.in: Rebuilt.
3483
3484 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3485
3486         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3487         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3488         _Jv_InitPrimClass.
3489         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3490         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3491         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3492
3493 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3494
3495         * Makefile.am: Replace jar, rmic and rmiregistry references with
3496         gjar, grmic and grmiregistry.
3497         * configure.in: Likewise.
3498         * Makefile.in: Regenerate.
3499         * configure: Likewise.
3500         * gcj/Makefile.in: Likewise.
3501         * include/Makefile.in: Likewise.
3502         * testsuite/Makefile.in: Likewise.
3503
3504 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3505
3506         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3507         for privileged getProperty calls.
3508         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3509         SetAccessibleAction instead of anonymous class for doPrivileged call.
3510         (getMethod): Likewise.
3511         (setAccessible): New field. PrivilegedAction object to use when
3512         calling setAccessible.
3513         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3514         SetAccessibleAction instead of anonymous class for diPrivileged call.
3515         (setFields): Likewise.
3516         (getClassUID): Likewise.
3517         (findMethod): Likewise.
3518         * gnu/java/security/action/GetPropertyAction.java: New class.
3519         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3520
3521 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3522
3523         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3524         for final fields.
3525         * testsuite/libjava.lang/Serialization.java: New test.
3526         * testsuite/libjava.lang/Serialization.out: New.
3527
3528 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3529
3530         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3531         missed in last commit.
3532
3533 2004-07-23  Mark Wielaard  <mark@klomp.org>
3534
3535         * java/lang/System.java (static): Set http.agent system property when
3536         not yet set.
3537         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3538         from system property inside AccessController.doPrivileged() call.
3539         (proxyPort): Made package private.
3540         (proxyInUse): Likewise.
3541         (proxyHost): Likewise.
3542         (userAgent): Likewise.
3543
3544 2004-07-23  Mark Wielaard  <mark@klomp.org>
3545
3546         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3547         implementation.
3548
3549 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3550
3551         * Makefile.am (ordinary_java_source_files): Add
3552         DefaultContentHandlerFactory.java.
3553         * Makefile.in: Rebuilt.
3554         * java/net/URLConnection.java (defaultFactory): New field.
3555         (getContent): 
3556         (getContentHandler): Renamed from 'setContentHandler'. Try 
3557         defaultFactory after user-set factory, if any. Search for content 
3558         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3559         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3560         Implemented.
3561         (getLastModified): Implemented.
3562         (getPermission): Create file permission here, instead of in
3563         constructor.
3564         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3565         Implemented.
3566         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3567         Implemented.
3568         (getLastModified): Implemented.
3569         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3570         Default implementation.
3571         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3572         Implement using GdkPixbufDecoder.
3573         
3574 2004-07-21  Michael Koch  <konqueror@gmx.de>
3575
3576         * javax/swing/JTextArea.java
3577         (setLineWrap): Fire property change event after new value is set.
3578         (setTabSize): Likewise.
3579
3580 2004-07-21  Michael Koch  <konqueror@gmx.de>
3581
3582         * javax/swing/JTable.java
3583         (autoCreateColumnsFromModel): New field.
3584         (autoResizeMode): Likewise.
3585         (cellEditor): Likewise.
3586         (cellSelectionEnabled): Likewise.
3587         (columnModel): Likewise.
3588         (dataModel): Likewise.
3589         (defaultEditorsByColumnClass): Likewise.
3590         (defaultRenderersByColumnClass): Likewise.
3591         (editingColumn): Likewise.
3592         (editingRow): Likewise.
3593         (gridColor): Likewise.
3594         (preferredViewportSize): Likewise.
3595         (rowHeight): Likewise.
3596         (rowMargin): Likewise.
3597         (rowSelectionAllowed): Likewise.
3598         (selectionBackground): Likewise.
3599         (selectionForeground): Likewise.
3600         (selectionModel): Likewise.
3601         (showHorizontalLines): Likewise.
3602         (showVerticalLines): Likewise.
3603         (tableHeader): Likewise.
3604         (JTable): Implemented.
3605         (getColumnModel): Likewise.
3606         (getSelectedRow): Likewise.
3607         (getSelectionModel): Likewise.
3608         (setModel): Likewise.
3609         (setSelectionModel): Likewise.
3610         (createScrollPaneForTable): New method.
3611         (createDefaultDataModel): Likewise.
3612         (createDefaultListSelectionModel): Likewise.
3613         (getModel): Likewise.
3614         (getTableHeader): Likewise.
3615         (setTableHeader): Likewise.
3616         (getColumnSelectionAllowed): Likewise.
3617         (setColumnSelectionAllowed): Likewise.
3618         (getRowSelectionAllowed): Likewise.
3619         (setRowSelectionAllowed): Likewise.
3620         (getAutoResizeMode): Likewise.
3621         (setAutoResizeMode): Likewise.
3622         (getColumnCount): Likewise.
3623         (getRowCount): Likewise.
3624         (getCellRenderer): Likewise.
3625         * javax/swing/JTree.java
3626         (cellRenderer): New field.
3627         (editable): Likewise.
3628         (rootVisible): Likewise.
3629         (showsRootHandles): Likewise.
3630         (getModel): New method.
3631         (setModel): Likewise.
3632         (isEditable): Likewise.
3633         (setEditable): Likewise.
3634         (isRootVisbile): Likewise.
3635         (setRootVisible): Likewise.
3636         (getShowsRootHandles): Likewise.
3637         (setShowRootHandles): Likewise.
3638         (getCellRenderer): Likewise.
3639         (setCellRenderer): Likewise.
3640
3641 2004-07-21  Michael Koch  <konqueror@gmx.de>
3642
3643         * javax/swing/JFormattedTextField.java
3644         (setDocument): Implemented.
3645         * javax/swing/JRootPane.java:
3646         Fixed javadocs.
3647         * javax/swing/JTable.java
3648         (getDefaultRenderer): New method.
3649         * javax/swing/JTextField.java
3650         (setFont): Likewise.
3651         (getPreferredSize): Likewise.
3652         * javax/swing/JToggleButton.java
3653         (getAccessibleContext): Fix javadoc.
3654         * javax/swing/JTree.java:
3655         Add some javadocs.
3656         * javax/swing/JViewport.java:
3657         Likewise.
3658
3659 2004-07-21  David Jee  <djee@redhat.com>
3660
3661         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3662         Collect all native method declaration at the top.
3663         (create): Set the filename filter if necessary.
3664         (setDirectory): Call nativeSetDirectory().
3665         (setFilenameFilter): Implement.
3666         (filenameFilterCallback): New method.
3667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3668         (create): Configure dialog to show hidden files.
3669         (filenameFilterCallback): New function. 
3670         (nativeSetFilenameFilter): New function.
3671         (nativeSetDirectory): New function.
3672
3673 2004-07-21  Kim Ho  <kho@redhat.com>
3674
3675         * javax/swing/plaf/basic/BasicSliderUI.java:
3676         Ran Jalopy.
3677         (paintTrack): Fill the track before painting
3678         the borders.
3679
3680 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3681
3682         patch from Roman Kennke <roman@ontographics.com>
3683         * javax/swing/Spring.java: New file.
3684         * javax/swing/SpringLayout.java: New file.
3685         * Makefile.am: Add new files.
3686         * Makefile.in: Regenerate.
3687
3688 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3689
3690         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3691         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3692         * javax/swing/ScrollPaneLayout.java: Likewise.
3693
3694 2004-07-21  Kim Ho  <kho@redhat.com>
3695
3696         * javax/swing/DefaultDesktopManager.java:
3697         (findMinimum): Removed.
3698         (resizeFrame): Trust the UI to pass valid 
3699         bounds.
3700         * javax/swing/JOptionPane.java:
3701         Implemented showInternalXXXDialog methods.
3702         (startModal): New method.
3703         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3704         (BorderListener::mouseDragged): Verify that the new 
3705         bounds are valid before passing them to the DesktopManager.
3706         (preferredLayoutSize): Delegate
3707         to getSize.
3708         (minimumLayoutSize): Ditto.
3709         (getSize): New method.
3710         (GlassPaneDispatcher): Reimplemented by copying 
3711         a stripped down LightweightDispatcher from Container.
3712         (getMinimumSize): Call minimumLayoutSize.
3713         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3714         Ran Jalopy.
3715         (mousePressed): Add ability to properly close 
3716         JInternalFrames.
3717         * javax/swing/plaf/basic/BasicToolBarUI.java:
3718         (DragWindow): Set owner for DragWindow.
3719
3720 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3721
3722         * java/awt/image/ShortLookupTable.java: New file.
3723         * java/awt/image/ByteLookupTable.java: New file.
3724         * Makefile.am: Added new files.
3725         * Makefile.in: Regenerated.
3726
3727 2004-07-21  David Jee  <djee@redhat.com>
3728
3729         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3730         (create(GtkContainerPeer)): New native method.
3731         (create()): Call native create(), passing in the parent frame
3732         as the paramter. Natively set the current file and directory.
3733         (setFile): Construct an absolute filename before passing it to
3734         the native peer.
3735         (nativeGetDirectory): New method.
3736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3737         (window_closed): Removed.
3738         (ok_clicked): Likewise.
3739         (cancel_clicked): Likewise.
3740         (handle_response): New method.
3741         (create): Use GtkFileChooserDialog.
3742         (connectSignals): Connect to handle_response.
3743         (nativeGetDirectory): New method.
3744         (nativeSetFile): Use GtkFileChooserDialog.
3745
3746 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3747
3748         * java/awt/image/LookupTable.java: New file.
3749         * Makefile.am: Added new file.
3750         * Makefile.in: Regenerated.
3751
3752 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3753
3754         * java/awt/image/Kernel.java: New file.
3755         * Makefile.am: Added new file.
3756         * Makefile.in: Regenerated.
3757
3758 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3759
3760         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3761         * javax/swing/JMenu.java: Likewise.
3762         * javax/swing/JMenuBar.java: Likewise.
3763         (MARGIN_CHANGED_PROPERTY): New property.
3764         (setMargin): Implemented.
3765         * javax/swing/JMenuItem.java: Fixed javadocs.
3766         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3767         (LABEL_CHANGED_PROPERTY): New property.
3768         (add): changed to use createActionComponent.
3769         (createActionComponent): Implemented.   
3770         (setLabel): Fire PropertyChangeEvent if label property
3771         changes.
3772         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3773         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3774         (ContainerHandler): Repaint if margin property has changed.
3775         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3776         (installUI): Call installComponents().
3777         (uninstallUI): Call uinstallComponents().
3778         * javax/swing/plaf/basic/BasicMenuUI.java:
3779         Fixed javadocs.
3780         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3781         Likewise.
3782
3783 2004-07-21  Kim Ho  <kho@redhat.com>
3784
3785         * javax/swing/plaf/basic/BasicToolBarUI.java:
3786         (DragWindow): Use the right constructor.
3787
3788 2004-07-21  Kim Ho  <kho@redhat.com>
3789
3790         * javax/swing/JToolBar.java:
3791         (layoutContainer): Use getComponents.
3792         * javax/swing/plaf/basic/BasicToolBarUI.java:
3793         (DragWindow): Don't use SwingUtilities' 
3794         getOwnerFrame
3795         (ToolBarDialog): ditto.
3796
3797 2004-07-21  Kim Ho  <kho@redhat.com>
3798
3799         * javax/swing/JRootPane.java:
3800         Ran jalopy.
3801         (layoutContainer): Set the glasspane's size to 
3802         be the same as the content pane.
3803         (createGlassPane): Set opaque property to false.
3804
3805 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3806
3807         * java/awt/Component.java (requestFocus()): Don't handle Panels
3808         specially.
3809         (requestFocus(boolean)): Likewise.
3810         (requestFocusInWindow(boolean)): Likewise.
3811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3812         Set GTK_CAN_FOCUS flag.
3813
3814 2004-07-21  Kim Ho  <kho@redhat.com>
3815
3816         * Makefile.am: Added new file.
3817         * Makefile.in: Regenerated.
3818         * gcj/Makefile.in: Regenerated.
3819         * include/Makefile.in: Regenerated.
3820         * javax/swing/AbstractButton.java:
3821         Add rollOverEnabled property.
3822         (setRolloverEnabled): Use new property.
3823         (isRolloverEnabled): Use new property.
3824         * javax/swing/JTabbedPane.java:
3825         (setComponent): Remove useless JTabbedPane.this.
3826         * javax/swing/JToolBar.java: Finish implementation.
3827         * javax/swing/plaf/basic/BasicArrowButton.java:
3828         (paint): Moved border painting to a border.
3829         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3830         Change JToolBar look and feel defaults.
3831         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3832         (actionPerformed): Return Integer index instead of name.
3833         (addButtonComponents): Check to see if component is
3834         JButton last.
3835         (createMessageArea): Don't use components that are not
3836         completed yet.
3837         (getIconForType): Use temporary icons.
3838         * javax/swing/plaf/basic/BasicSliderUI.java:
3839         (mousePressed): Do not return if it's on thumb.
3840         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3841         (paintMinorTickForVertSlider): ditto.
3842         (paintMajorTickForHorizSlider): ditto.
3843         (paintMajorTickForVertSlider): ditto.
3844         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3845         Add a border around the SplitPaneDivider.
3846         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3847         Remove comments.
3848         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3849         New file. Implemented.
3850         * javax/swing/plaf/basic/BasicToolBarUI.java:
3851         Implemented.
3852         * testsuite/Makefile.in: Regenerated.
3853
3854 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3855
3856         * javax/swing/Timer.java (run): Queue events each time cycle.
3857
3858 2004-07-21  David Jee  <djee@redhat.com>
3859
3860         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3861         (imageComplete): Call image.imageComplete().
3862         * java/awt/image/MemoryImageSource.java:
3863         Reimplement consumers as a Vector instead of a Hashtable.  This is
3864         because enumeration on a Hashtable is not thread-safe.
3865         (addConsumer): Adapt to Vector consumers.
3866         (isConsumer): Adapt to Vector consumers.
3867         (removeConsumer): Adapt to Vector consumers.
3868         (startProduction): Adapt to Vector consumers. Call imageComplete()
3869         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3870         (newPixels): Adapt to Vector consumers.
3871         (sendPicture): Set the color model of the image consumer.
3872         (newPixels(IIII)): Adapt to Vector consumers.
3873         (newPixels(IIIIB)): Adapt to Vector consumers.
3874
3875 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3876
3877         * java/awt/Component.java (deliverEvent): Implement.
3878         (postEvent): Implement.
3879         (handleEvent): Implement.
3880         (translateEvent): New method.
3881         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3882         * java/awt/Container.java (deliverEvent): Implement.
3883         * java/awt/Event.java (paramString): Fix formatting.
3884         * java/awt/Font.java (toString): Likewise.
3885         * java/awt/Window.java (postEvent): Implement.
3886
3887 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3888
3889         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3890         Set window's focus owner upon receiving a FOCUS_LOST event.
3891         * java/awt/Window.java (Window()): Refocus the previously
3892         focused component within the window when the window regains the
3893         top-level focus.
3894         (setFocusOwner): New method.
3895         * java/awt/Component.java (requestFocus): Add FIXME.
3896
3897         * libgcj.pc.in: Remove library flags.
3898
3899 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3900
3901         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3902         MOUSE_PRESSED event.
3903         * java/awt/Component.java (requestFocus()): Handle Panel
3904         specially.  Post FOCUS_LOST event on opposite component.
3905         (requestFocus(boolean)): Likewise.
3906         (requestFocusInWindow(boolean)): Likewise.
3907         (paramString): Reorder dimension fields.
3908         * java/awt/Container.java (paramString): Fix string format.
3909         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3910         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3911         process key events if the focus owner is non-null.
3912         (dispatchKeyEvent): Likewise.
3913         * java/awt/Frame.java (paramString): Fix formatting.
3914         (generateName): New method.
3915         (getUniqueLong): Likewise.
3916         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3917         the temporary focus owner is null.  If so, return the permanent
3918         focus owner.
3919         * java/awt/Panel.java (generateName): New method.
3920         (getUniqueLong): Likewise.
3921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3922         signal handling to make callbacks more specific.
3923
3924 2004-07-21  Michael Koch  <konqueror@gmx.de>
3925
3926         * javax/swing/text/Position.java
3927         (Bias): Implemented.
3928
3929 2004-07-21  Michael Koch  <konqueror@gmx.de>
3930
3931         * javax/swing/LookAndFeel.java
3932         (provideErrorFeedback): New method.
3933
3934 2004-07-21  Michael Koch  <konqueror@gmx.de>
3935
3936         * javax/swing/JTextArea.java
3937         (tabSize): New field.
3938         (getTabSize): New method.
3939         (setTabSize): Likewise.
3940
3941 2004-07-21  Michael Koch  <konqueror@gmx.de>
3942
3943         * javax/swing/ActionMap.java:
3944         Fixed javadocs all over.
3945         (serialVersionUID): Made private.
3946         (parent): Don't explicitely initialize with default value.
3947         (get): SImplified.
3948         (keys): Reimplemented.
3949         (allKeys): Likewise.
3950         (convertSet): Removed.
3951         * javax/swing/ComponentInputMap.java:
3952         Fixed javadocs all over.
3953         (ComponentInputMap): Implemented.
3954         (put): Likewise.
3955         (clear): Likewise.
3956         (remove): Likewise.
3957         (SetParent): Likewise.
3958         (getComponent): Likewise.
3959         * javax/swing/InputMap.java:
3960         Fixed javadocs all over.
3961         (serialVersionUID): Made private.
3962         (parent): Don't explicitely initialize with default value.
3963         (get): SImplified.
3964         (keys): Reimplemented.
3965         (allKeys): Likewise.
3966         (convertSet): Removed.
3967
3968 2004-07-21  Michael Koch  <konqueror@gmx.de>
3969
3970         * javax/swing/ActionMap.java,
3971         javax/swing/ComponentInputMap.java,
3972         javax/swing/InputMap.java,
3973         javax/swing/table/DefaultTableColumnModel.java,
3974         javax/swing/table/TableColumn.java,
3975         javax/swing/table/TableColumnModel.java,
3976         javax/swing/table/TableModel.java,
3977         javax/swing/text/AbstractDocument.java,
3978         javax/swing/text/TextAction.java:
3979         Reformated.
3980
3981 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3982
3983         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3984         Make method non-static.
3985         * javax/swing/AbstractButton.java:
3986         Rename fields to match property names where possible.
3987         (iconTextGap): New property.
3988         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3989         (init) New method, call from after various constructors.
3990         * javax/swing/JComponent.java (revalidate): 
3991         Invalidate before queueing repair.
3992         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3993         Reimplement in terms of visibleRowCount property.
3994         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3995         * javax/swing/JScrollPane.java (createScrollListener): 
3996         Remove tracing chatter.
3997         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3998         * javax/swing/RepaintManager.java (addInvalidComponent): 
3999         Don't invalidate.
4000         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4001         calculations.
4002         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
4003         Mimic sun behavior on top left/right positioning.
4004         * javax/swing/ViewportLayout.java (preferredLayoutSize):
4005         Remove mistaken use of preferredScrollableViewportSize here.
4006         (layoutContainer): Use view's preferred size as basis.
4007         * javax/swing/plaf/basic/BasicButtonUI.java:
4008         Set, get, and use textIconGap property.
4009         (paint) Paint text returned from layout (with ellipsis).
4010         * javax/swing/plaf/basic/BasicListUI.java:
4011         Remove tracing chatter, correct various minor calculations.
4012         (getCellBounds): Update layout state before calculating.
4013         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4014         Use margin default similar to sun's.    
4015         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4016         (createIncreaseIcon): Center icon, minimize margins.
4017         (createDecreaseIcon): Likewise.
4018         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4019         Implement.
4020         (installUI): Call it.
4021         (uninstallDefaults): Implement.
4022         (uninstallUI): Call it.
4023         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4024         Call existing Window constructor.
4025         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4026         Set clip before painting.
4027
4028 2004-07-21  Olga Rodimina <rodimina@redhat.com>
4029         
4030         * javax/swing/JMenuItem.java:
4031         (processMouseEvent): Reimplemented to deal with
4032         mouse drag events.
4033         (createMenuDragMouseEvent): New private helper method.
4034         Creates MenuDragMouseEvent.
4035         * javax/swing/MenuSelectionManager.java
4036         (componentForPoint): Implemented.
4037         (isComponentPartOfCurrentMenu): Made public.
4038         (processMouseEvent): Reimplemented to deal with 
4039         mouse drag events.
4040         (setSelectedPath): Corrected small mistake that caused
4041         path to be set incorrectly.
4042         (getPath): If given component is JMenu then also add this
4043         menu's popup menu to the selected path.
4044         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4045         (getPath): Ditto.
4046         (getPreferredSize): Call getPreferredMenuItemSize().
4047         (getPreferredItemSize): Moved code from getPreferredSize to here.
4048         (installListeners): Install MouseMotionListeners.
4049         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4050         if mouse wasn't released in the bounds of this menu item.
4051         (MenuDragMouseHandler): Implemented.
4052         * javax/swing/plaf/basic/BasicMenuUI.java:
4053         (installListeners): Install MouseMotionListener and 
4054         MenuDrageMouseListener.
4055         (MenuDragMouseHandler): Implemented.
4056         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4057         (uninstallListeners): Implemented.
4058         
4059 2004-07-21  Michael Koch  <konqueror@gmx.de>
4060
4061         * javax/swing/JCheckBox.java: Reformated.
4062         (JCheckBox): Fixed all constructors.
4063         (isBorderPaintedFlat): New method.
4064         (setBorderPaintedFlat): New method.
4065         * javax/swing/JEditorPane.java
4066         (createEditorKitForContentType): Made public.
4067         (scrollToReference): Likewise.
4068         * javax/swing/JTextArea.java
4069         (setLineWrap): Fire property change.
4070         * javax/swing/JToggleButton.java
4071         (JToggleButton): New constructor.
4072         (JToggleButton): Simplified.
4073         * javax/swing/text/AttributeSet.java
4074         (FontAttribute): Renamed from FontCharacterAttribute.
4075         * javax/swing/text/JTextComponent.java
4076         (KeyBinBinding): Added javadoc.
4077         (JTextComponent): Likewise.
4078         (getAccessibleContext): Fixed javadoc.
4079         * javax/swing/text/View.java
4080         (View): Added javadoc.
4081         * javax/swing/text/TabableView.java: New file.
4082         * Makefile.am: Added javax/swing/text/TabableView.java.
4083         * Makefile.in: Regenerated.
4084
4085 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4086
4087         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4088         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4089         (GtkErrorImage): New helper class.
4090         (bufferedImageOrError): New helper method.
4091         (createImage): Use it.
4092
4093 2004-07-21  David Jee  <djee@redhat.com>
4094
4095         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4096         (setCaretPosition): Scroll the text view so the new caret position
4097         is visible on screen.
4098
4099 2004-07-21  David Jee  <djee@redhat.com>
4100
4101         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4102         (setBounds): Do not validate awtComponent here.
4103         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4104         (getPreferredSize): New method.
4105         * java/awt/ScrollPane.java
4106         (ScrollPane): Set default size to 100x100.
4107         (addNotify): If child is not a Panel, wrap it with a new Panel.
4108         (paramString): Implement.
4109
4110 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4111
4112         * javax/swing/JMenu.java:
4113         (setSelected): Display popup menu only if this menu 
4114         is showing on the screen.
4115         * javax/swing/JPopupMenu.java:
4116         (processMouseEvent): Added comment.
4117         (processKeyEvent): Likewise.
4118         * javax/swing/MenuSelectionManager.java:
4119         (clearSelectedPath): Only fireStateChanged() after
4120         selected path was changed, not before.
4121         (setSelectedPath): Likewise.
4122         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4123         (paintMenuItem): Corrected position of menu item's
4124         icon.
4125         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4126         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4127         (popupMenuCanceled): Reimplemented.
4128         (popupMenuWillBecomeVisible): Select first menu item by default 
4129         when displaying free floating popup menus.
4130         (TopWindowListener): Reimplemented.
4131
4132 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4133
4134         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4135         Panel from being painted twice when it is first shown.
4136
4137 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4138
4139         * java/awt/Window.java: Reverted changes from my 
4140         previous patch for creating window without an owner.
4141         * javax/swing/SwingUtilities.java: 
4142         (SwingUtilities.OwnerFrame): made static.
4143         (OwnerFrame.setVisible): New method. Overridden with
4144         empty implementation.
4145         (OwnerFrame.isShowing): New method. Ovverridden
4146         to return always true.
4147
4148 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4149
4150         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4151         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4152         (GtkComponentPeer): Remove temporary try/catch block.
4153         (setVisible): Call show and hide.
4154         (show): Make native.
4155         (hide): Likewise.
4156         (getArgs): Don't add "visible" argument.
4157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4158         (property_notify_predicate): Return Bool instead of int.
4159         (find_layout): New function.
4160         (connectJObject): Call find_layout.
4161         (connectSignals): Likewise.
4162         (moveLayout): Likewise.
4163         (gtkLayoutSetVisible): Likewise.
4164
4165 2004-07-21  Mark Wielaard  <mark@klomp.org>
4166
4167         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4168         on notifier object before calling notifyAll().
4169
4170 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4171
4172         * java/awt/Window.java: Changed constructors to use new
4173         method that is described below. Constructors call this
4174         methods only if newly created window should have an owner.
4175         (setWindowOwner): New method. Implementation for
4176         this method is moved from this(owner,configuration).
4177         * javax/swing/JWindow.java:
4178         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4179         instead of owner.
4180         * javax/swing/SwingUtilities.java:
4181         (ownerFrame): Change type of this field to OwnerFrame.
4182         (getOwnerFrame): Changed to return object of type OwnerFrame.
4183         (SwingUtilities.OwnerFrame): New class. Represents owner
4184         of a Window that is not provided with one.
4185
4186 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4187
4188         *  javax/swing/AbstractButton.java: 
4189         (configurePropertiesFromAction): Set action command
4190         to button's text by default if action command is not 
4191         explicitely specified.
4192         * javax/swing/JMenu.java: Remove unnecessary listener
4193         and methods relevant to it.
4194         (setSelected): Reimplemented.
4195         (menuSelectionChanged): Moved most part of implementation to
4196         setSelected() and call it instead.
4197         * javax/swing/JMenuItem.java: 
4198         (init): Comment out statement that sets paint_border to false.
4199         (configurePropertiesFromAction): Do not set accelerator
4200         for JMenu.
4201         (menuSelectionChanged): Change selected index in the selection
4202         model of menu item's parent.
4203         * javax/swing/JPopupMenu.java:
4204         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4205         instead of GridBagConstraints.HORIZONTAL.
4206         (insert): Likewise.
4207         (createActionChangeListener): Implemented.
4208         (setVisible): Correct location of HeavyWeightMenu and 
4209         don't firePopupMenuCanceled().
4210         (menuSelectionChanged): Implemented.
4211         (ActionChangeListener): New Listener. Implemented.
4212         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4213         (BasicMenuBarUI.ContainerHandler): Implemented.
4214         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4215         (paintMenuItem): Uncommented out code that paints 
4216         icon, now that icons are working properly.
4217         (PropertyChangeListener): Implemented.
4218         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4219         Added javadocs.
4220         (topWindowListener): New field.
4221         (Constructor): initialize topWindowListener.
4222         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4223         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4224         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4225         Implemented.
4226
4227 2004-07-21  Michael Koch  <konqueror@gmx.de>
4228
4229         * javax/swing/plaf/basic/BasicButtonUI.java
4230         (paintFocus): Fixed method signature.
4231         (paintButtonPressed): Likewise.
4232         (paintButtonNormal): Likewise.
4233         (paintText): New method.
4234         * javax/swing/plaf/basic/BasicLabelUI.java
4235         (paint): Re-indented.
4236         * javax/swing/plaf/basic/BasicTextUI.java
4237         (installUI): Set parent textComponent to opaque.
4238         * javax/swing/text/DefaultHighlighter.java
4239         (checkPositions): New helper method.
4240         (addHighlight): Throws BadLocationException, check positions.
4241         (changeHighlight): Likewise.
4242         * javax/swing/text/EditorKit.java
4243         (EditorKit): Implements Serializable.
4244         * javax/swing/text/JTextComponent.java
4245         (getUI): Added javadoc.
4246         (setUI): Likewise.
4247         (upadteUI): Added javadoc, don't revalidate and repaint.
4248
4249 2004-07-21  David Jee  <djee@redhat.com>
4250
4251         * java/awt/GridBagLayout.java
4252         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4253         * javax/swing/AbstractButton.java
4254         (setText): Reindent.
4255         * javax/swing/RepaintManager.java
4256         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4257
4258 2004-07-21  Michael Koch  <konqueror@gmx.de>
4259
4260         * javax/swing/JFormattedTextField.java
4261         (value): New field.
4262         (JFormattedTextField): Implemented.
4263         (getValue): Likewise.
4264         (setValue): Likewise.
4265         * javax/swing/LookAndFeel.java
4266         (getSupportsWindowDecorations): New method.
4267         * javax/swing/UIDefaults.java:
4268         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4269         (addPropertyChangeListener): Made public.
4270         (addResourceBundle): Likewise.
4271         (removeResourceBundle): Likewise.
4272         (setDefaultLocale): Likewise.
4273         * javax/swing/plaf/basic/BasicRootPaneUI.java
4274         (BasicRootPaneUI): Implements PropertyChangeListener.
4275         (propertyChange): New method.
4276         * javax/swing/plaf/basic/BasicTextUI.java
4277         (BasicHighlighter): New inner class.
4278         (createHighlighter): New method.
4279         * javax/swing/plaf/basic/BasicToolBarUI.java
4280         (DragWindow): Extends java.awt.Window.
4281         * javax/swing/text/JTextComponent.java
4282         (getDocument): Removed debug output.
4283         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4284         javax/swing/text/DefaultHighlighter.java,
4285         javax/swing/text/FieldView.java,
4286         javax/swing/text/PlainView.java: New files.
4287         * Makefile.am: Added new files.
4288         * Makefile.in: Regenerated.
4289
4290 2004-07-21  Michael Koch  <konqueror@gmx.de>
4291
4292         * javax/swing/JEditorPane.java
4293         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4294         (createEditorKitForContentType): Likewise.
4295         * javax/swing/text/DefaultEditorKit.java
4296         (serialVersionUID): Added constant field.
4297         (EndOfLineStringPropery): Fixed typo.
4298         (DefaultEditorKit): New constructor.
4299         * javax/swing/text/Segment.java:
4300         Import java.text.CharacterIterator.
4301         * javax/swing/text/CharacterIterator.java,
4302         javax/swing/text/PlainEditorKit.java: Removed.
4303         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4304         javax/swing/text/PlainEditorKit.java.
4305         * Makefile.in: Regenerated.
4306
4307 2004-07-21  Michael Koch  <konqueror@gmx.de>
4308
4309         * javax/swing/JButton.java,
4310         javax/swing/text/DefaultEditorKit.java,
4311         javax/swing/text/EditorKit.java,
4312         javax/swing/text/Segment.java,
4313         javax/swing/text/StyledEditorKit.java:
4314         Reformatted.
4315
4316 2004-07-21  Michael Koch  <konqueror@gmx.de>
4317
4318         * javax/swing/ImageIcon.java
4319         (file): Removed.
4320         (description): Renamed from descr.
4321         (ImageIcon): Added missing constructors.
4322         (setParent): Removed.
4323         (setImageObserver): New method.
4324         (getImageObserver): New method.
4325         (paintIcon): Handle observer = null.
4326         * javax/swing/JButton.java
4327         (removeNotify): Fixed javadoc.
4328         (updateUI): Simplified.
4329         * javax/swing/JRootPane.java
4330         (serialVersionUID): New constant field.
4331         * javax/swing/UIManager.java:
4332         Fixed javadocs all over.
4333         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4334         * javax/swing/text/AbstractDocument.java
4335         (createPosition): Throws BadLocationException.
4336         (getText): Likewise.
4337         (remove): Likewise.
4338         * javax/swing/text/ComponentView.java
4339         (modelToView): Likewise.
4340         * javax/swing/text/DefaultEditorKit.java:
4341         Made all public methods public.
4342         (read): Throws BadLocationException and IOException.
4343         (write): Likewise.
4344         * javax/swing/text/EditorKit.java:
4345         Made all public methods public.
4346         (serialVersionUID): New constant field.
4347         (clone): New method.
4348         (read): Throws BadLocationException and IOException.
4349         (write): Likewise.
4350         * javax/swing/text/Segment.java
4351         (array): Made public.
4352         (count): Likewise.
4353         (offset): Likewise.
4354         (Segment): New constructors.
4355         (clone): Reimplemented.
4356         * javax/swing/text/StyledEditorKit.java
4357         (serialVersionUID): New constant field.
4358
4359 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4360
4361         * java/awt/image/BufferedImage.java 
4362         (getSource): Implement.
4363         * javax/swing/ImageIcon.java 
4364         (ImageIcon): Implement ctor.
4365         * javax/swing/ScrollPaneLayout.java 
4366         (preferredLayoutSize): Be more careful about nulls.
4367
4368 2004-07-21  Michael Koch  <konqueror@gmx.de>
4369
4370         * javax/swing/text/AttributeSet.java
4371         (CharacterAttribute): New interface
4372         (ColorAttribute): Likewise.
4373         (FontCharacterAttribute): Likewise.
4374         (ParagraphAttribute): Likewise.
4375         * javax/swing/text/DefaultCaret.java
4376         (moveCaret): New method.
4377         (positionCaret): Likewise.
4378         (repaint): Made protected.
4379         * javax/swing/text/JTextComponent.java
4380         (KeyBinding): Made it static.
4381         * javax/swing/text/View.java
4382         (getContainer): Honor parent == null.
4383
4384 2004-07-21  Michael Koch  <konqueror@gmx.de>
4385
4386         * javax/swing/text/AbstractDocument.java:
4387         Reformatted.
4388
4389 2004-07-21  Michael Koch  <konqueror@gmx.de>
4390
4391         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4392         Import javax.swing.UIManager explicitely.
4393         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4394         (ScrollingButton): Made it static.
4395
4396 2004-07-21  Michael Koch  <konqueror@gmx.de>
4397
4398         * javax/swing/UIDefaults.java
4399         (ActiveValue): Made public.
4400         (LazyValue): Likewise.
4401         * javax/swing/plaf/basic/BasicTextUI.java
4402         (RootView): Reintroduced.
4403         (view): Removed.
4404         (rootView): New field.
4405         (installUI): Create document if needed, initialize rootView.
4406         (uninstallUI): Hanle rootView.
4407         (paint): Likewise.
4408         (getRootView): Likewise.
4409         (setView): Likewise.
4410         * javax/swing/text/DefaultCaret.java:
4411         Renamed all "evt" variables to "event".
4412
4413 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4414
4415         * libgcj.spec.in: Add -l-java-util-logging.
4416
4417 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4418
4419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4420         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4421         gtk-xft-dpi can no calculate the right value.
4422         (dpi_changed_cb): Mark *pspec as unsused.
4423
4424 2004-07-21  David Jee  <djee@redhat.com>
4425
4426         * java/awt/Component.java
4427         (move): Delegate to setBounds().
4428         (resize): Likewise.
4429         (reshape): Fix so it repaints parent and self only when necessary.
4430
4431 2004-07-21  David Jee  <djee@redhat.com>
4432
4433         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4434         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4435         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4436         (setVisible): Likewise.
4437         (show): Likewise.
4438         (hide): Likewise.
4439         (getArgs): Likewise.
4440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4441         (property_notify_predicate): Likewise.
4442         (find_layout): Likewise.
4443         (connectJObject): Likewise.
4444         (connectSignals): Likewise.
4445         (moveLayout): Likewise.
4446         (gtkLayoutSetVisible): Likewise.
4447
4448 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4449
4450         * Makefile.am
4451         (jv_convert_LDADD):
4452         (gij_LDADD):
4453         (rmic_LDADD):
4454         (rmiregistry_LDADD): Add lib-java-util-logging.la
4455         * Makefile.in: Regenerate.
4456
4457 2004-07-21  Michael Koch  <konqueror@gmx.de>
4458
4459         * javax/swing/text/AbstractDocument.java
4460         (replace): Dont use protected method of java.util.Vector directly.
4461
4462 2004-07-21  Michael Koch  <konqueror@gmx.de>
4463
4464         * javax/swing/plaf/basic/BasicTextUI.java
4465         (installUI): Call specialized install methods.
4466         (installDefaults): New method.
4467         (installListeners): Likewise.
4468         (installKeyboardActions): Likewise.
4469         (uninstallUI): Likewise.
4470         (uninstallDefaults): New method.
4471         (uninstallListeners): Likewise.
4472         (uninstallKeyboardActions): Likewise.
4473         (getPropertyPrefix): New abstract method.
4474         (paint): Made final, just call paintSafely().
4475         (paintSavely): New method.
4476         (paintBackground): Likewise.
4477         (getVisibleEditorRect): Likewise.
4478         * javax/swing/text/LayeredHighlighter.java,
4479         javax/swing/text/TabExpander.java: New files.
4480         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4481         and javax/swing/text/TabExpander.java.
4482         * Makefile.in: Regenerated.
4483
4484 2004-07-21  Michael Koch  <konqueror@gmx.de>
4485
4486         * javax/swing/plaf/basic/BasicTextUI.java
4487         (BasicTextUI): Made abstract.
4488         (BasicCaret): New inner class.
4489         (view): Don't explicitely initialize with "null".
4490         (textComponent): New field.
4491         (textColor): Removed.
4492         (disabledTextColor): Removed.
4493         (normalBackgroundColor): Removed.
4494         (RootView): Removed commented out inner class.
4495         (createUI): Removed.
4496         (createCaret): New method.
4497         (getComponent): Likewise.
4498         (installUI): Initialize textComponent only.
4499         (getPreferredSize): Use installed JTextComponent.
4500         (setView): New method.
4501         (create): Likewise.
4502         * javax/swing/text/JTextComponent.java
4503         (highlighter): New field.
4504         (caretColor): Likewise.
4505         (disabledTextColor): Likewise.
4506         (seletedTextColor): Likewise.
4507         (selectionColor): Likewise.
4508         (setUI): New method.
4509         (getCaretColor): Likewise.
4510         (setCaretColor): Likewise.
4511         (getDisabledColor): Likewise.
4512         (setDisabledColor): Likewise.
4513         (getSelectedTextColor): Likewise.
4514         (setSelectedTextColor): Likewise.
4515         (getSelectionColor): Likewise.
4516         (setSelectionColor): Likewise.
4517         (getHighlighter): Likewise.
4518         (setHighlighter): Likewise.
4519         (replaceSelection): Likewise.
4520
4521 2004-07-21  Michael Koch  <konqueror@gmx.de>
4522
4523         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4524         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4525         * javax/swing/plaf/basic/BasicToolBarUI.java
4526         (BasicToolBarUI): Implements SwingConstants.
4527
4528 2004-07-21  Michael Koch  <konqueror@gmx.de>
4529
4530         * javax/swing/JPopupMenu.java: Removed CVS tags.
4531         * javax/swing/UIDefaults.java: Reformatted.
4532         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4533         Explicitely import used classes.
4534
4535 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4536
4537         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4538         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4539         (GtkComponentPeer): Remove temporary try/catch block.
4540         (setVisible): Call show and hide.
4541         (show): Make native.
4542         (hide): Likewise.
4543         (getArgs): Don't add "visible" argument.
4544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4545         (property_notify_predicate): Return Bool instead of int.
4546         (find_layout): New function.
4547         (connectJObject): Call find_layout.
4548         (connectSignals): Likewise.
4549         (moveLayout): Likewise.
4550         (gtkLayoutSetVisible): Likewise.
4551
4552 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4553
4554         * javax/swing/AbstractButton.java:
4555         (setDisplayedMnemonicIndex): Check if button
4556         text is not null before checking its length.
4557         * javax/swing/JMenuItem.java:
4558         (processMouseEvent): Disarm menu item if mouse has
4559         exited it.
4560         * javax/swing/plaf/basic/BasicMenuUI.java:
4561         (MouseInputHandler.mouseEntered): Do not raise
4562         popup menu if this menu is already selected.
4563         (MouseInputHandler.mousePressed): Do not fire 
4564         MenuEvents.
4565         (MenuHandler): Implemented.     
4566
4567 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4568
4569         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4570         (getSelectedObjects): Implemented.
4571         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4572         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4573         Added javadoc for few methods.
4574         (processMouseEvent): Made public.
4575         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4576         (processMouseEvent): Likewise.
4577
4578 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4579
4580         * javax/swing/AbstractButton.java:
4581         (init): Set display mnemonic index to -1.
4582         (setMnemonic(char)): Use setMnemonic(int).
4583         (setMnemonic(int)): Set display mnemonic index.
4584         (getDisplayedMnemonicIndex): Change method signature
4585         by removing 'index' parameter.
4586         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4587         Added default for Menu.selectionBackground.     
4588         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4589         (paintMenuItem): Change background color of the selected
4590         menu item.
4591         (paintText): Paint differently when menu item is disabled.
4592         Also paint mnemonic if it appears in the menu item's label.
4593         (paintAccelerator): Paint accelerator differently
4594         if menu item is disabled.
4595         * javax/swing/plaf/basic/BasicMenuUI.java:
4596         (installDefaults): Install defaults for 
4597         selectionForeground and selectionBackground.
4598         (uninstallDefaults): Uninstall defauls for 
4599         selectionForeground and selectionBackground.
4600
4601 2004-07-21  Michael Koch  <konqueror@gmx.de>
4602
4603         * javax/swing/text/AbstractDocument.java
4604         (BranchElement): Implemented.
4605         (LeafElement): Implemented.
4606         * javax/swing/text/DefaultCaret.java:
4607         Import used classes.
4608         (serialVersionUID): New constant.
4609         * javax/swing/text/JTextComponent.java
4610         (AccessibleJTextComponent): Removed dead declaration.
4611         (caretPos): Removed.
4612         (setCaret): New method.
4613         * javax/swing/text/PlainDocument.java
4614         (rootElement): New field.
4615         (PlainDocument): Initialize rootElement.
4616         (createDefaultRoot): New method.
4617         (getDefaultRootElement): Implemented.
4618         * javax/swing/text/View.java: Reformatted.
4619         * javax/swing/text/ViewFactory.java
4620         (create): Added javadoc.
4621
4622 2004-07-21  Michael Koch  <konqueror@gmx.de>
4623
4624         * javax/swing/ToolTipManager.java: Reformatted.
4625
4626 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4627
4628         * javax/swing/AbstractButton.java
4629         (changeEvent): New field.
4630         (fireItemStateChanged): Change source of the event
4631         to 'this' before firing it to button listeners.
4632         (fireActionPerformed): Likewise.
4633         (fireStateChanged): Likewise.
4634         (createActionListener): Do not set source 
4635         of the event to AbstractButton.                                  
4636         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4637         (ContainerHandler.componentAdded): Removed 
4638         print out statement.
4639         (ContainerHandler.componentRemoved): Likewise.
4640
4641 2004-07-21  Michael Koch  <konqueror@gmx.de>
4642
4643         * javax/swing/text/Highlighter.java: New file.
4644         * Makefile.am: Added javax/swing/text/Highlighter.java.
4645         * Makefile.in: Regenerated.
4646
4647 2004-07-21  Michael Koch  <konqueror@gmx.de>
4648
4649         * javax/swing/ToolTipManager.java
4650         (stillInsideTimerAction): Fixed constructor arguments.
4651         (outsideTimerAction): Likewise.
4652         (insideTimerAction): Likewise.
4653
4654 2004-07-21  Michael Koch  <konqueror@gmx.de>
4655
4656         * javax/swing/JButton.java: Reformatted.
4657         * javax/swing/JFormattedTextField.java
4658         (getUIClassID): Implemented.
4659         * javax/swing/JRootPane.java
4660         (serialVersionUID): New constant.
4661         * javax/swing/JTextField.java
4662         (align): New field.
4663         (JTextField): Simplified.
4664         (getUIClassID): New method.
4665         (getActionListeners): Added @since tag.
4666         (setColumns): Invalidate layout and repaint.
4667         (getHorizontalAlignment): New method.
4668         (setHorizontalAlignment): New method.
4669         (selectAll): Removed.
4670         * javax/swing/SwingUtilities.java
4671         (getAncestorOfClass): Removed redundant @see tag.
4672         (isLeftMouseButton): Fixed implementation.
4673         (isMiddleMouseButton): Likewise.
4674         (isRightMouseButton): Likewise.
4675         * javax/swing/text/AbstractDocument.java
4676         (AttributeContext.addAttribute): New method.
4677         (AttributeContext.addAttributes): New method.
4678         (AttributeContext.getEmptySet): New method.
4679         (AttributeContext.reclaim): New method.
4680         (AttributeContext.removeAttribute): New method.
4681         (AttributeContext.removeAttributes): New method.
4682         * javax/swing/text/Document.java
4683         (createPosition): Throws BadLocationException.
4684         (getText): Likewise.
4685         (remove): Likewise.
4686         * javax/swing/text/JTextComponent.java
4687         (getText): Return null if no document is set. Catch
4688         BadLocationException.
4689         (getUI): Return ui.
4690         (updateUI): Simplified.
4691
4692 2004-07-21  Michael Koch  <konqueror@gmx.de>
4693
4694         * javax/swing/JButton.java
4695         (removeNotify): Fixed javadoc.
4696         (updateUI): Simplified.
4697
4698 2004-07-21  David Jee  <djee@redhat.com>
4699
4700         * gnu/java/awt/image/ImageDecoder.java
4701         (startProduction): Only add consumer if it's not added yet.
4702         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4703         (GdkPixbufDecoder): Don't call initState() here.
4704         (produce): Call initState() here, to ensure area_prepared and
4705         area_updated signals are properly connected.
4706         * gnu/java/awt/peer/gtk/GtkImage.java
4707         (setColorModel): Use equals() to compare ColorModel objects.
4708         (setPixels): Likewise.
4709         * java/awt/image/ColorModel.java
4710         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4711         * java/awt/image/RGBImageFilter.java
4712         (setColorModel): Set consumer's color model.
4713         (setPixels): Use equals() to compare ColorModel objects.
4714
4715 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4716
4717         * java/net/URLConnection.java (position): New field.
4718         (dateFormat1, dateFormat2, dateFormat3): Removed.
4719         (dateFormats): New field.
4720         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4721         each time instead of re-allocating.
4722         (initializeDateFormats): Initialize 'dateFormats'.
4723
4724 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4725
4726         PR libgcj/16591
4727         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4728         is defined.
4729
4730 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4731
4732         * java/net/Socket.java (getImpl): Now private. Remove comment.
4733
4734 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4735
4736         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4737         of chained Writer when calling super-constructor.
4738         * java/io/FilterWriter.java (FilterWriter): Likewise.
4739         * java/io/PrintWriter.java (PrintWriter): Likewise.
4740
4741 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4742
4743         * prims.cc (process_gcj_properties): Don't increment i within LHS
4744         of assignment.
4745
4746 2004-07-19  Per Bothner  <per@bothner.com>
4747
4748         Print -verbose:message on "loading", not initialization.
4749         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4750         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4751         gcj::verbose_class_flag.
4752         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4753         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4754         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4755         (_Jv_PrepareCompiledClass):  Likewise.
4756
4757 2004-07-18  Matthias Klose  <doko@debian.org>
4758
4759         * configure.in: Substitute target_noncanonical.
4760         * configure: Regenerate
4761
4762 2004-07-17  Michael Koch  <konqueror@gmx.de>
4763
4764         * java/lang/String.java: Fixed javadocs all over.
4765
4766 2004-07-17  Mark Wielaard  <mark@klomp.org>
4767
4768         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4769         when size is smaller.
4770         * java/io/RandomAccessFile.java (setLength): Use truncate for
4771         shrinking the file and seek plus write for expanding the file.
4772
4773 2004-07-17  Michael Koch  <konqueror@gmx.de>
4774
4775         * gnu/java/nio/channels/natFileChannelPosix.cc
4776         (implTruncate): Always save current position. Only reposition file
4777         pointer to where we started if not beyond new lenght. Reposition file
4778         pointer to file length if it points beyond the end of file.
4779
4780 2004-07-17  Mark Wielaard  <mark@klomp.org>
4781
4782         * javax/swing/Box.java: Put FIXME comment above class declaration.
4783         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4784         * javax/swing/JCheckBox.java: Likewise.
4785         * javax/swing/JDialog.java: Likewise.
4786         * javax/swing/JRadioButton.java: Likewise.
4787         * javax/swing/JToggleButton.java: Likewise.
4788         * javax/swing/UIManager.java: Likewise.
4789         * javax/swing/border/TitledBorder.java: Likewise.
4790         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4791         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4792         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4793         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4794         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4795         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4796         * javax/swing/text/JTextComponent.java: Likewise.
4797
4798 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4799
4800         * java/net/DatagramPacket.java (setAddress): Removed check for
4801         null address.
4802
4803 2004-07-17  Michael Koch  <konqueror@gmx.de>
4804
4805         * java/net/DatagramSocket.java
4806         (getLocalAddress): Check if socket is bound or not.
4807         * java/net/Socket.java
4808         (getLocalAddrss): Check if socket is bound or not.
4809         (getPort): Return -1 when not connected. Dont check getImpl() for
4810         null.
4811         (setReuseAddress): Check if socket is closed.
4812         (isConnected): Check if getImpl() returns null.
4813
4814 2004-07-17  Mark Wielaard  <mark@klomp.org>
4815
4816         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4817         on notifier object before calling notifyAll().
4818
4819 2004-07-17  Michael Koch  <konqueror@gmx.de>
4820
4821         * gnu/java/nio/channels/FileChannelImpl.java
4822         (finalize): Added javadoc.
4823
4824 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4825
4826         * java/text/CollationElementIterator.java
4827         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4828         (setText): Use ArrayList instead of Vector.
4829
4830 2004-07-17  Michael Koch  <konqueror@gmx.de>
4831
4832         * java/nio/ByteOrder.java
4833         (static): Removed. Not needed.
4834         Thanks to Patrick Reali for noticing.
4835         * java/nio/charset/CharsetDecoder.java
4836         (decode): Fix for classpath bug #9177: Reset state before flipping.
4837
4838 2004-07-17  Michael Koch  <konqueror@gmx.de>
4839
4840         * java/security/Security.java: Fixed javadocs all over.
4841
4842 2004-07-17  Michael Koch  <konqueror@gmx.de>
4843
4844         * gnu/java/awt/EmbeddedWindow.java
4845         (static): Removed.
4846         (addNotify): Set peer via reflection.
4847         (setWindowPeer): Removed.
4848         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4849         * Makefile.am (nat_source_files):
4850         Removed gnu/java/awt/natEmbeddedWindow.cc.
4851         * Makefile.in: Regenerated.
4852
4853 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4854
4855         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4856         assignment.
4857         * configure: Regenerated.
4858
4859 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4860
4861         * configure.in: Use build_noncanonical rather than build_alias.
4862         * configure: Rebuild.
4863
4864         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4865         by logic refactoring.  Move default definition of NATIVE closer
4866         to first alternate definition.
4867         * configure: Regenerate.
4868
4869         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4870         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4871         gcj/Makefile.in: Regenerate.
4872         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4873         in AM_CONDITIONAL(NATIVE,...)
4874         * configure: Regenerate.
4875
4876 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4877
4878         * configure.in: Use target_noncanonical rather than
4879         target_alias for forward-compatibility with autoconf 2.59.
4880         * configure: Regenerate.
4881         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4882         testsuite/Makefile.am: Substitute target_noncanonical.
4883         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4884         testsuite/Makefile.in: Regenerate.
4885
4886         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4887         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4888         * acinclude.m4: Include acx.m4.
4889         * aclocal.m4: Regenerate.
4890         * configure: Regenerate.
4891
4892 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4893
4894         PR libgcj/16574
4895         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4896         (decimalFormat): New static variable.
4897         (sbuf): Likewise.
4898         (getTime): New. Override Date.getTime().
4899         (toString): Synchronize. Use decimalFormat to format nanos value
4900         correctly. Truncate extra zeros.
4901         (before): Compare getNanos() only if getTime() is equal.
4902         (after): Likewise.
4903         
4904 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4905
4906         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4907         * configure.in: ...here.
4908         * aclocal.m4: Regenerate.
4909         * configure: Regenerate.
4910
4911         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4912         * configure: Rebuilt with autoconf 2.13.
4913         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4914         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4915
4916 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4917
4918         PR libgcj/16204
4919         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4920         large file support.
4921         * Makefile.in: Rebuilt.
4922         * testsuite/libjava.lang/LargeFile.java: New test case.
4923         * testsuite/libjava.lang/LargeFile.out: New file.
4924
4925 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4926
4927         * java/beans/EventHandler.java: Remove debugging statements.
4928
4929 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4930
4931         * java/beans/EventHandler.java: New file.
4932         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4933         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4934         testsuite/Makefile.in: Regenerate.
4935
4936 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4937
4938         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4939         flag to the gcj_setup.
4940         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4941         the tclsh.
4942         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4943         deprecation flag change. 58 XFAILS removed.
4944
4945 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4946
4947         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4948         -fno-use-divide-subroutine.
4949         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4950         (HANDLE_FPE): Define.
4951         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4952         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4953         (HANDLE_DIVIDE_OVERFLOW): Define.
4954
4955 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4956             Matthias Klose  <doko@debian.org> 
4957
4958         * java/awt/im/InputContext.java: Initialize in, line.
4959
4960 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4961
4962         * interpret.cc (run): Correctly access libffi return values of
4963         integral smaller-than-int type; these are implicitly promoted.
4964
4965 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4966
4967         PR libgcj/7587
4968         * interpret.cc (compile_mutex): New.
4969         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4970         (run): Lock compile_mutex before calling compile() if compilation is
4971         required.
4972         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4973         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4974
4975 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4976
4977         PR libgcj/15713
4978         * include/jvm.h (_Jv_value): New union type.
4979         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4980         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4981         union members.
4982
4983 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4984
4985         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4986         * gnu/awt/xlib/XOffScreenImage.java
4987           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4988           constructor argument. Add constructor using ImageProducer.
4989           (getSource): Implement.
4990           (imageComplete): New method.
4991           (setColorModel): New method.
4992           (setDimensions): New method.
4993           (setHints): New method.
4994           (setPixels): New method.
4995           (setProperties): New method.
4996         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4997         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4998
4999 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
5000
5001         PR libgcj/16478 
5002         * prims.cc (_Jv_CreateJavaVM): Fix comment.
5003         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5004         (finalizerReady): Now native.
5005         (run): Likewise.
5006         (runFinalizers): Removed.
5007         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5008         a primitive lock, and don't hold it while running the finalizers.
5009         (runFinalizers): Implement. Don't aquire any Java lock.
5010         (finalizerReady): Use lock primitives to signal finalizer thread.
5011
5012 2004-07-11  Mark Wielaard  <mark@klomp.org>
5013
5014         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5015         * java/net/URLStreamHandler.java (parseURL): When url file part
5016         doesn't contain a '/' just ignore context.
5017
5018 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
5019
5020         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5021         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5022         (MAKE_THROW_FRAME): Do not modify PSW address.
5023         (INIT_SEGV): Install SIGINFO-style signal handler.
5024         (INIT_FPE): Likewise.
5025
5026 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5027
5028         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5029         status. 21 xfail's removed, 1 added.
5030
5031 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5032
5033         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5034
5035 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5036
5037         * java/text/MessageFormat.java
5038         (formatInternal): Append "{n}" if argument n is unavailable.
5039         (format(Object, StringBuffer, FieldPosition)): This
5040         should be equivalent to format(Object[],
5041         StringBuffer, FieldPosition).
5042
5043 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5044
5045         * java.util.Calendar.java (cache): New private static field. Cached
5046         mappings of locales->calendar classes.
5047         (ctorArgTypes): New private static field. Singleton argument for
5048         calendar class constructor lookup.
5049         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5050         Optimize by bypassing reflection instantiation for the 
5051         GregorianCalendar case.
5052
5053 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5054
5055         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5056         ResourceBundle.getBundle() calls.
5057         * java/util/GregorianCalendar.java: Likewise.
5058         * java/util/Currency.java: Likewise.
5059         * java/text/BreakIterator.java: Likewise.
5060         * java/text/Collator.java: Likewise.
5061         * java/text/DateFormat.java: Likewise.
5062         * java/text/DateFormatSymbols.java: Likewise.
5063         * java/text/DecimalFormatSymbols.java: Likewise.
5064         * java/text/NumberFormat.java: Likewise.
5065         * java/awt/Window.java: Likewise.       
5066
5067 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5068
5069         * java/util/ResourceBundle.java (bundleCache): Renamed from
5070         resourceBundleCache. Update comments.
5071         (getObject): Don't catch MissingResourceException.
5072         (getBundle(String)): Remove 'final'. Use system classloader if
5073         getCallingClassLoader returned null.
5074         (getBundle(String, Locale)): Likewise.
5075         (BundleKey): New private class. HashMap key for bundle cache lookup.
5076         (lookupKey): New. Singleton instance of BundleKey.
5077         (nullEntry): New. Cache entry to represent failed lookups.
5078         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5079         caching strategy, no-allocation lookup, and new tryBundle methods.
5080         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5081         name using given classloader.
5082         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5083         baseName for given Locale and attempt to load bundle.
5084
5085 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5086
5087         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5088         illegal protected method calls.
5089
5090 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5091
5092         Fix or remove some bogus test cases.
5093         * testsuite/libjava.compile/pr10459_2.java: Removed.
5094         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5095         not Object.clone().
5096         * testsuite/libjava.compile/inner_data.java: Test against its own
5097         protected field.
5098
5099 2004-07-09  Michael Koch  <konqueror@gmx.de>
5100
5101         * scripts/unicode-muncher.pl: Updated to version 2.1
5102         from GNU classpath. Added some clarifications on where to find the
5103         needed files from www.unicode.org.
5104         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5105         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5106         Removed, these can directly be downloaded from www.unicode.org if
5107         needed. 
5108         * gnu/java/lang/CharData.java: Regenerated.
5109         * include/java-chartables.h: Regenerated.
5110         * Makefile.am (ordinary_java_source_files):
5111         Removed gnu/java/lang/CharData.java.
5112         * Makefile.in: Regenerated.
5113
5114 2004-07-09  Michael Koch  <konqueror@gmx.de>
5115
5116         * java/security/AccessControlContext.java,
5117         java/security/SecureClassLoader.java:
5118         Fixed javadocs.
5119
5120 2004-07-09  Michael Koch  <konqueror@gmx.de>
5121
5122         * java/io/ObjectInputStream.java (readFields): Use long datatype
5123         when shifting byte values more then 24 bits left.
5124
5125 2004-07-09  Michael Koch  <konqueror@gmx.de>
5126
5127         * java/util/zip/DeflaterOutputStream.java,
5128         java/util/zip/GZIPInputStream.java,
5129         java/util/zip/GZIPOutputStream.java,
5130         java/util/zip/InflaterInputStream.java:
5131         Reformatted. Added javadocs. Reordered all stuff.
5132         Renamed variables to be more clear.
5133
5134 2004-07-09  Michael Koch  <konqueror@gmx.de>
5135
5136         * javax/imageio/IIOException.java,
5137         javax/imageio/event/IIOReadProgressListener.java,
5138         javax/imageio/event/IIOReadUpdateListener.java,
5139         javax/imageio/event/IIOReadWarningListener.java,
5140         javax/imageio/event/IIOWriteProgressListener.java,
5141         javax/imageio/event/IIOWriteWarningListener.java:
5142         New files.
5143         * Makefile.am: Added new files.
5144         * Makefile.in: Regenerated.
5145
5146 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5147
5148         * java/text/RuleBasedCollator.java
5149         (mergeRules): Use ArrayList instead of Vector.
5150         (subParseString): likewise.
5151         (parseString): likewise.
5152         (buildCollationVector): likewise.
5153         (getCollationKey): likewise.
5154
5155 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5156
5157         * java/text/DateFormat.java (parse):
5158         Improved javadoc. Improved exception message.
5159
5160 2004-07-09  Mark Wielaard  <mark@klomp.org>
5161
5162         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5163         interrupted() method to clear interupt flag of our Thread.
5164
5165 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5166
5167         * java/nio/Buffer.java,
5168         java/nio/ByteBuffer.java,
5169         java/nio/ByteBufferHelper.java,
5170         java/nio/ByteBufferImpl.java,
5171         java/nio/CharBuffer.java,
5172         java/nio/CharBufferImpl.java,
5173         java/nio/CharViewBufferImpl.java,
5174         java/nio/DirectByteBufferImpl.java,
5175         java/nio/DoubleBuffer.java,
5176         java/nio/DoubleBufferImpl.java,
5177         java/nio/DoubleViewBufferImpl.java,
5178         java/nio/FloatBuffer.java,
5179         java/nio/FloatBufferImpl.java,
5180         java/nio/FloatViewBufferImpl.java,
5181         java/nio/IntBuffer.java,
5182         java/nio/IntBufferImpl.java,
5183         java/nio/IntViewBufferImpl.java,
5184         java/nio/LongBuffer.java,
5185         java/nio/LongBufferImpl.java,
5186         java/nio/LongViewBufferImpl.java,
5187         java/nio/MappedByteBufferImpl.java,
5188         java/nio/ShortBuffer.java,
5189         java/nio/ShortBufferImpl.java,
5190         java/nio/ShortViewBufferImpl.java:
5191         Fixed javadocs all over. Improved input error
5192         checking.
5193
5194         * java/nio/Buffer.java
5195         (checkForUnderflow, checkForOverflow, checkIndex,
5196         checkIfReadOnly, checkArraySize): New helper methods
5197         for error checking.
5198
5199         * java/nio/ByteBufferHelper.java
5200         (checkRemainingForRead, checkRemainingForWrite,
5201         checkAvailableForRead, checkAvailableForWrite): Removed
5202         no longer needed methods.
5203
5204 2004-07-09  Michael Koch  <konqueror@gmx.de>
5205
5206         * gnu/regexp/CharIndexedInputStream.java:
5207         Reordered imports to match classpath.
5208
5209 2004-07-09  Michael Koch  <konqueror@gmx.de>
5210
5211         * gnu/java/awt/EmbeddedWindow.java:
5212         Load native library for setWindowPeer method.
5213
5214 2004-07-08  Randolph Chung  <tausq@debian.org>
5215
5216         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5217         * configure: Regenerate.
5218         * configure.host: Set can_unwind_signal for hppa*-linux.
5219         * include/pa-signal.h: New file.
5220
5221 2004-07-07  Per Bothner  <per@bothner.com>
5222
5223         * Makefile.am:  Add rules to build libgij from just gij.cc.
5224
5225         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5226         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5227         (initializeClass):  If verbose_class_flag, print message.
5228         * gij.cc (main):  Handle -verbose:class flag.
5229
5230 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5231
5232         * configure.host: Enable hash synchronization on Darwin.
5233         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5234         ';', since this is a comment on Darwin.
5235         (compare_and_swap_release): Likewise.
5236
5237 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5238
5239         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5240         file portion of URL in addition to spec for file: protocol.
5241
5242 2004-07-05  Anthony Green  <green@redhat.com>
5243
5244         * java/io/File.java (toURI): Merge from Classpath.
5245
5246 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5247
5248         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5249         before passing to URL constructor. Rethrow any MalformedURLException
5250         as a RuntimeException. Catch MalformedURLException specifically, not
5251         all exceptions.
5252
5253 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5254
5255         * java/util/Locale.java (readObject): Intern strings read from object
5256         stream.
5257
5258 2004-07-04  Michael Koch  <konqueror@gmx.de>
5259
5260         * gnu/gcj/runtime/FirstThread.java,
5261         gnu/gcj/runtime/natFirstThread.cc: Removed.
5262         * gnu/java/lang/MainThread.java,
5263         gnu/java/lang/natMainThread.cc: New files.
5264         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5265         * Makefile.am: Added new files and removed deleted ones.
5266         * Makefile.in: Regenerated.
5267
5268 2004-07-03  Mark Wielaard  <mark@klomp.org>
5269             Anthony Green  <green@redhat.com>
5270
5271         * java/net/URL.java (getFile): Clarify return value doc.
5272         (getPath): Return null if file is empty - not empty String.
5273         (set): Convert protocol to lower case before doing anything.
5274         Only change the protocol handler if it's different.
5275
5276 2004-07-03  Anthony Green  <green@redhat.com>
5277
5278         * java/net/URL.java (URL): Convert protocol to lower case before
5279         doing anything, so we getURLStreamHandler() with the proper value.
5280
5281 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5282
5283         * java/util/Locale.java (hashcode): Made transient.
5284         (hashCode): No longer synchronized.
5285         (equals): Remove comment.
5286         (writeObject): No longer synchronized. Implement using writeObject 
5287         calls instead of tweaking hashCode field. Update doc.
5288         (readObject): Implement using readObject calls.
5289
5290 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5291             Andreas Tobler  <a.tobler@schweiz.ch>
5292
5293         * configure.host (powerpc-*-darwin*): New case, define
5294         can_unwind_signal.
5295         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5296         * configure: Regenerate.
5297         * include/darwin-signal.h: New.
5298
5299 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5300
5301         * java/beans/Statement.java (doExecute): Fix formatting.
5302
5303 2004-06-29  Per Bothner  <per@bothner.com>
5304
5305         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5306         etc etc):  Remove needless parenthesis, which causes __stdcall__
5307         attribute on MinGW to get ignored.
5308
5309 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5310
5311         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5312
5313 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5314
5315         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5316
5317 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5318
5319         * java/beans/Expression.java: New file.
5320         * java/beans/Statement.java: New file.
5321         * Makefile.am: Added new files.
5322         * Makefile.in: Re-generate.
5323
5324 2004-06-27 Mark Wielaard  <mark@klomp.org>
5325
5326         * java/io/FilePermission.java (usingPerms): Removed.
5327         (actionsString): Made final.
5328         (cachePerms): Renamed to checkPerms.
5329         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5330         on action String.
5331         (FilePermission): Check arguments, call checkPerms().
5332         (equals): Remove cachePerms() call.
5333         (implies): Likewise.
5334
5335 2004-06-27  Mark Wielaard  <mark@klomp.org>
5336
5337         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5338         final field.
5339         (sendRequest): Use new field in user-agent http agent.
5340
5341 2004-06-27  Mark Wielaard  <mark@klomp.org>
5342
5343         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5344         when argument is null.
5345
5346 2004-06-26  Mark Wielaard  <mark@klomp.org>
5347
5348         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5349         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5350         GetMethodID call.
5351         (cancel_clicked): Likewise.
5352
5353 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5354
5355         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5356         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5357         can not calculate the right value.
5358         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5359
5360 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5361
5362         * testsuite/libjava.jacks/jacks.xfail: Remove
5363         15.9.1-qualified-concrete-20.
5364
5365 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5366
5367         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5368         encoding name to iconv.
5369         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5370
5371 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5372
5373         PR libgcj/16134:
5374         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5375         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5376         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5377
5378 2004-06-21  Andrew Haley  <aph@redhat.com>
5379
5380         * java/io/ObjectOutputStream.java: Add DEBUG statements
5381         everywhere.
5382         (dumpElementln): New method.
5383         (depth): New field.
5384         * java/io/ObjectInputStream.java
5385         (currentClassLoader): Make native.
5386         (callersClassLoader): New field.
5387         (depth): New field.
5388         (readObject): ENDBLOCKDATA is generated if the class has a write
5389         method, not if it has a read method.
5390         (readObject): Save and restore this.currentObject and
5391         this.currentObjectStreamClass around calls to callReadMethod().
5392         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5393         method.
5394
5395 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5396
5397         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5398         darwin.
5399
5400 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5401
5402         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5403         if desired, before the default class loader is initialised.
5404         Call INIT_SEGV only if HANDLE_SEGV is defined.
5405
5406 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5407
5408         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5409         directory only if it actually exists.
5410
5411 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5412
5413         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5414         Fix up non-ansi comments.
5415
5416 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5417
5418         * javax/swing/text/AbstractDocument.java: Adding missing import
5419         for javax.swing.event.EventListenerList.
5420         * javax/swing/text/DefaultCaret.java: Likewise.
5421
5422 2004-06-17  Michael Koch  <konqueror@gmx.de>
5423
5424         * javax/swing/JToolBar.java
5425         (name): Removed.
5426         (JToolBar): Use Component.setName(String) instead of doing it all
5427         alone.
5428         * javax/swing/Timer.java
5429         (queueEvent): Added missing modifier.
5430
5431 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5432
5433         * Makefile.am: Added new file.
5434         * Makefile.in: Re-generate.
5435         * javax/swing/JMenu.java:
5436         (insertSeparator): Implemented.
5437         * javax/swing/JPopupMenu.java:
5438         (JPopupMenu.Separator): Implemented.
5439         * javax/swing/MenuSelectionManager.java:
5440         (processMouseEvent): Use java.awt.Component 
5441         for event source instead of javax.swing.JComponent. 
5442         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5443         New File. Implemented.
5444         
5445 2004-06-16  David Jee  <djee@redhat.com>
5446
5447         * java/awt/GridBagLayout.java
5448         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5449         Make sure pos_x and pos_y are never negative.
5450
5451 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5452
5453         * Makefile.am: Add new file.
5454         * Makefile.in: Re-generate.     
5455         * javax/swing/JToolBar.java
5456         Partially implemented.
5457         * javax/swing/plaf/basic/BasicToolBarUI.java
5458         New file. Partially implemented.
5459
5460 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5461
5462         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5463         (setComposite): Accept AlphaComposite arguments.
5464         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5465         (createBufferedImage): Add new overloads.
5466         * gnu/java/awt/peer/gtk/GtkToolkit.java
5467         (createImage): Use GdkPixbufDecoder.createBufferedImage
5468         when useGraphics2D() is true.
5469         (getImage): Delegate to createImage.
5470         * javax/swing/JList.java
5471         (isSelectionEmpty):
5472         (getFirstVisibleIndex):
5473         (getLastVisibleIndex):
5474         (setSelectedValue):
5475         (ensureIndexIsVisible): New methods.
5476         * javax/swing/Timer.java: Reimplement.
5477
5478 2004-06-16  Michael Koch  <konqueror@gmx.de>
5479
5480         * javax/swing/text/AbstractDocument.java
5481         (AbstracElement): Made public, implements java.io.Serializable.
5482         (AttributeContext): Made public.
5483         (BranchElement): Likewise.
5484         (Content): Likewise.
5485         (DefaultDocumentEvent): Made public, extends
5486         javax.swing.undo.CompoundEdit.
5487         (ElementEdit): Made public, extends
5488         javax.swing.undo.AbstractUndoableEdit.
5489         (LeafElement): Made public.
5490         (LeafElement.LeafElement): Made public.
5491
5492 2004-06-16  Michael Koch  <konqueror@gmx.de>
5493
5494         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5495         methods (that were obviously never be intended to get included hi this
5496         class. Added some methods too.
5497
5498 2004-06-16  Michael Koch  <konqueror@gmx.de>
5499
5500         * javax/swing/text/PlainDocument.java
5501         (serialVersionUID): New constant.
5502         (lineLimitAttribute): Likewise.
5503         (tabSizeAttribute): Likewise.
5504         (tabSize): New field.
5505         (PlainDocument): Made public.
5506         (PlainDocument): New constructor.
5507
5508 2004-06-16  Michael Koch  <konqueror@gmx.de>
5509
5510         * javax/swing/text/AbstractDocument.java
5511         (insertString): Throws BadLocationException.
5512         * javax/swing/text/Document.java
5513         (insertString): Likewise.
5514         * javax/swing/text/JTextComponent.java:
5515         Javadocs and comments cleaned up.
5516
5517 2004-06-16  Michael Koch  <konqueror@gmx.de>
5518
5519         * javax/swing/event/UndoableEditListener.java: Reformatted.
5520         * javax/swing/text/AbstractDocument.java
5521         (AbstractDocument): Implements java.io.Serializable.
5522         (doc_list): Removed.
5523         (undo_list): Removed.
5524         (AbstractElement.serialVerionUID): New field.
5525         (BranchElement.serialVerionUID): Likewise.
5526         (DefaultDocumentEvent.serialVerionUID): Likewise.
5527         (ElementEdit.serialVerionUID): Likewise.
5528         (LeafElement.serialVerionUID): Likewise.
5529         (serialVerionUID): Likewise.
5530         (BAD_LOCATION): New constant.
5531         (BidiElementName): Likewise.
5532         (ContentElementName): Likewise.
5533         (ParagraphElementName): Likewise.
5534         (SectionElementName): Likewise.
5535         (ElementNameAttribute): Likewise.
5536         (AbstractDocument): Made protected.
5537         (AbstractDocument): New construtor.
5538         (listenerList): New field.
5539         (fireChangedUpdate): Implemented.
5540         (fireInsertUpdate): Likewise.
5541         (fireRemoveUpdate): Likewise.
5542         (fireUndoableEditUpdate): Likewise.
5543         (getListeners): Likewise.
5544         (addDocumentListener): Likewise.
5545         (removeDocumentListener): Likewise.
5546         (addUndoableEditListener): Likewise.
5547         (removeUndoableEditListener): Likewise.
5548         (getDocumentListeners): New method.
5549         (getUndoableEditListeners): Likewise.
5550         (getAsynchronousLoadPriority): Made public.
5551         (getBidiRootElement): Likewise.
5552         (setAsynchronousLoadPriority): Likewise.
5553         (setDocumentProperties): Likewise.
5554         * javax/swing/text/BadLocationException.java
5555         (serialVerionUID): New field.
5556         * javax/swing/text/DefaultCaret.java
5557         (changeEvent): New field.
5558         (listenerList): Likewise.
5559         (changes): Removed.
5560         (addChangeListener): Reimplemented.
5561         (removeChangeListener): Likewise.
5562         (getListeners): New method.
5563         (getChangeListeners): Likwise.
5564         (getComponent): Likewise.
5565         * javax/swing/text/GapContent.java
5566         (GapContent): Implements java.io.Serializable.
5567         (serialVerionUID): New field.
5568
5569 2004-06-16  Michael Koch  <konqueror@gmx.de>
5570
5571         * javax/swing/JTree.java
5572         (treeModel): New field.
5573         (JTree): New constructors, one existing one made public.
5574         (createTreeModel): New method.
5575         (addTreeExpansionListener): Likewise.
5576         (removeTreeExpansionListener): Likewise.
5577         (getTreeExpansionListeners): Likewise.
5578         (fireTreeCollapsed): Likewise.
5579         (fireTreeExpanded): Likewise.
5580         (addTreeSelectionListener): Likewise.
5581         (removeTreeSelectionListener): Likewise.
5582         (getTreeSelectionListeners): Likewise.
5583         (fireValueChanged): Likewise.
5584         (addTreeWillExpandListener): Likewise.
5585         (removeTreeWillExpandListener): Likewise.
5586         (getTreeWillExpandListeners): Likewise.
5587         (fireTreeWillCollapse): Likewise.
5588         (fireTreeWillExpand): Likewise.
5589
5590 2004-06-16  Michael Koch  <konqueror@gmx.de>
5591
5592         * javax/swing/JTree.java: Reformatted.
5593
5594 2004-06-16  Michael Koch  <konqueror@gmx.de>
5595
5596         * javax/swing/JTextArea.java: New file.
5597         * javax/swing/JTextField.java
5598         (actions): Removed.
5599         (notifyAction): New constant.
5600         (columns): New field.
5601         (JTextField): New constructors.
5602         (createDefaultModel): New method.
5603         (addActionListener): Reimplmemented.
5604         (removeActionListener): Reimplemented.
5605         (getActionListeners): New method.
5606         (fireActionPerformed): New method.
5607         (getColumns): New method.
5608         (setColumne): New method.
5609         * javax/swing/text/JTextComponent.java
5610         (AccessibleJTextComponent.serialVersionUID): New field.
5611         (serialVersionUID): Likewise.
5612         (DEFAULT_KEYMAP): Likewise.
5613         (FOCUS_ACCELERATOR_KEY): Likewise.
5614         (doc): Made private.
5615         (icon_gap): Likewise.
5616         (icon): Likewise.
5617         (align): Likewise.
5618         (JTextComponent): Some constructors removed.
5619         (getScrollableTracksViewportHeight): New method.
5620         (getScrollableTracksViewportWidth): Likewise.
5621         * Makefile.am: Added javax/swing/JTextArea.java.
5622         * Makefile.in: Regenerated.
5623
5624 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5625
5626         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5627         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5628         * javax/swing/JViewport.java 
5629         (getExtentSize): Return size rather than preferred size.
5630         (toViewCoordinates): New methods.
5631         (getViewSize): Return size rather than preferred size.
5632         (setViewSize): Note view size as set.
5633         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5634         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5635         (getPreferredSize): Don't redo layout.
5636         * javax/swing/plaf/basic/BasicViewportUI.java 
5637         (paint): Translate image properly and eat exceptions.
5638
5639 2004-06-15  Kim Ho  <kho@redhat.com>
5640
5641         * javax/swing/JTabbedPane.java
5642         (setComponent): Remove old component and
5643         add new component.
5644         (setSelectedIndex): Don't operate on the 
5645         components if they're null. Don't set index
5646         on the model if the index is the same.
5647         (insertTab): Don't add or hide the component
5648         if it's null. Repaint the container.
5649         * javax/swing/plaf/basic/BasicLookAndFeel.java
5650         Change colors for TabbedPane.
5651         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5652         (mousePressed): Re-layout and paint the component.
5653         (layoutContainer): Don't set location on the view.
5654         (ScrollingViewport::paint): Remove.
5655
5656 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5657
5658         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5659         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5660
5661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5662         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5663         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5664         critical region.
5665         (drawLine): Call gdk_flush before leaving GDK critical region.
5666         (fillRect): Likewise.
5667         (drawRect): Likewise.
5668         (copyArea): Likewise.
5669         (copyPixmap): Likewise.
5670         (clearRect): Likewise.
5671         (drawArc): Likewise.
5672         (drawPolyline): Likewise.
5673         (drawPolygon): Likewise.
5674         (fillPolygon): Likewise.
5675         (fillArc): Likewise.
5676         (drawOval): Likewise.
5677         (fillOval): Likewise.
5678
5679         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5680         style parameter.
5681         (GdkFontMetrics): Add style argument to initState call.
5682         (stringWidth(String,int,int,String)): Add style parameter.
5683         (stringWidth(String)): Add style argument to stringWidth call.
5684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5685         (initState): Set pango font style and weight based on AWT style
5686         parameter.  Pass default GTK language to
5687         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5688         simply dividing by PANGO_SCALE.
5689         (stringWidth): Set pango font style and weight based on AWT style
5690         parameter.
5691
5692         * java/awt/Button.java (next_button_number): New field.
5693         (paramString): Change output.
5694         (generateName): New method.
5695         (getUniqueLong): New method.
5696
5697 2004-06-14  Kim Ho  <kho@redhat.com>
5698
5699         * javax/swing/JTabbedPane.java:
5700         (setComponentAt): Set the component, not
5701         the enabled status.
5702         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5703         (actionPerformed): Let deiconize catch exception.
5704
5705 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5706
5707         * javax/swing/JPopupMenu.java:
5708         (setVisible): Corrected location of a 
5709         heavyweight popup menu.
5710
5711 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5712
5713         * javax/swing/MenuSelectionManager.java: 
5714         Ran through jalopy to fix formatting style.
5715
5716 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5717         
5718         * javax/swing/JLayeredPane.java: 
5719         (remove): Revalidate and repaint layered pane after
5720         the component was removed.
5721         javax/swing/JMenu.java:
5722         (setVisible): Display popup menu at the user location,
5723         if one was set by the user.
5724         (setMenuLocation): Reimplemented. Fixed javadoc.
5725         * javax/swing/JMenuBar.java: Added javadoc.
5726         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5727         (MODEL_CHANGED_PROPERTY): New Property.
5728         (isSelected): Implemented.
5729         (setBorderPainted): Fire PropertyChangeEvent
5730         if paintBorder property changes.
5731         (setSelected): Implemented.
5732         (setSelectionModel): Implemented.
5733         * javax/swing/JPopupMenu.java: Added Javadoc
5734         (pack): Implemented.
5735         (setVisible): Reimplemented.
5736         (show): Fixed location.
5737         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5738         Container instead of JPanel.
5739         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5740         (clearSelectedPath): Reimplemented to clear selectedPath
5741         in reverse order.
5742         (processMouseEvent): Reimplemented.
5743         (setSelectedPath): Fire stateChange event indicating that
5744         selected menu path has changed.
5745         (getPath): Change to use ArrayList instead of Vector.
5746         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5747         (installUI): call installKeyboardActions().
5748         (uninstallUI): call uninstallKeyboardActions().
5749
5750 2004-06-13  Michael Koch  <konqueror@gmx.de>
5751
5752         * javax/swing/text/DefaultCaret.java,
5753         javax/swing/text/BadLocationException.java:
5754         Reformatted.
5755
5756 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5757
5758         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5759         DEFAULT_COLS): New variables.
5760         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5761         values to DEFAULT_ROWS or DEFAULT_COLS.
5762         (getMinimumSize): Likewise.
5763         (getPreferredSize): Likewise.
5764         (minimumSize): Likewise.
5765         (preferredSize): Likewise.
5766         (create): Set peer's editable state.
5767         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5768         zero.  Update javadocs.
5769         (TextArea(String)): Likewise.
5770         (TextArea(int,int)): Fix javadocs.
5771         (TextArea(String,int,int,int)): Only throw exception if one of
5772         rows or columns is zero.  Fix javadocs.
5773
5774 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5775
5776         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5777         addition to Components.
5778
5779         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5780         wasn't consumed by normal processing, send it to the parent
5781         menu.
5782
5783         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5784         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5785         translation.
5786
5787 2004-06-11  David Jee  <djee@redhat.com>
5788
5789         * java/awt/MediaTracker.java
5790         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5791         (addImage(Image,int,int,int)): Likewise.
5792
5793 2004-06-11  Michael Koch  <konqueror@gmx.de>
5794
5795         * javax/swing/text/AbstractDocument.java,
5796         javax/swing/text/Document.java,
5797         javax/swing/text/GapContent.java,
5798         javax/swing/text/JTextComponent.java,
5799         javax/swing/text/PlainDocument.java:
5800         Reformatted.
5801
5802 2004-06-11  Michael Koch  <konqueror@gmx.de>
5803
5804         * javax/swing/JRootPane.java
5805         (AccessibleJRootPane.serialVersionUID): New field.
5806         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5807         (AccessibleJRootPane.getAccessibleRole): New method.
5808         (RootLayout): Implements Serializable.
5809         (RootLayout.serialVersionUID): New field.
5810         (RootLayout.RootLayout): New constructor.
5811         (setJMenuBar): Made public.
5812         (getJMenuBar): Likewise.
5813         (JRootPane): Likewise.
5814         (createContentPane): Likewise.
5815         (createGlassPane): Likewise.
5816         (createLayeredPane): Likewise.
5817
5818 2004-06-11  Michael Koch  <konqueror@gmx.de>
5819
5820         * javax/swing/SwingUtilities.java
5821         (isLeftMouseButton): Fixed javadoc.
5822         (isMiddleMouseButton): Likewise.
5823         (isRightMouseButton): Likewise.
5824
5825 2004-06-11  Michael Koch  <konqueror@gmx.de>
5826
5827         * javax/swing/JScrollPane.java
5828         (serialVersionUID): New field.
5829         (columnHeader): Made protected.
5830         (rowHeader): Likewise.
5831         (lowerLeft): Likewise.
5832         (lowerRight): Likewise.
5833         (upperLeft): Likewise.
5834         (upperRight): Likewise.
5835         (horizontalScrollBar): Likewise.
5836         (horizontalScrollBarPolicy): Likewise.
5837         (verticalScrollBar): Likewise.
5838         (verticalScrollBarPolicy): Likewise.
5839         (viewport): Likewise.
5840
5841 2004-06-11  Michael Koch  <konqueror@gmx.de>
5842
5843         * javax/swing/LookAndFeel.java: Fixed javadocs.
5844
5845 2004-06-11  Michael Koch  <konqueror@gmx.de>
5846
5847         * javax/swing/JEditorPane.java: Fixed javadocs.
5848         (JEditorPane): Removed redundant call to to this().
5849         (fireHyperlinkUpdate): Implemented.
5850
5851 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5852
5853         * javax/swing/JMenu.java: Fixed file name 
5854         in the file comment.
5855
5856 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5857
5858         * javax/swing/JMenu.java: Added javadoc.
5859         (JMenu): Added MenuChangeListener to listen to 
5860         ChangeEvents occuring in menu's model. 
5861         (insert): Throw IllegalArgumentException if 
5862         index is less than 0
5863         (setSelected): Reimplement.
5864         (setPopupMenuVisible): Call menu's model isEnabled()
5865         (setDelay): Throw IllegalArgumentException if 
5866         given amount of delay is less than 0.
5867         (createActionComponent): Implemented.
5868         (createActionChangeListener): Implemented.
5869         (addSeparator): Implemented.
5870         (getItem): Throw IllegalArgumentException if index is 
5871         less than 0.
5872         (getItemCount): Implemented.
5873         (fireMenuSelected): Changed to use menuEvent.
5874         (fireMenuDeselected): Likewise.
5875         (fireMenuCanceled): Likewise.
5876         (setAccelerator): Changed to throw an error if this 
5877         method is used. 
5878         (doClick): Implemented.
5879         (JMenu.ActionChangedListener): New inner class to handle
5880         PropertyChangeEvents occuring in the actions associated with menu.
5881         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5882         (BasicMenuUI): Added PropertyChangeListener to the menu.
5883         (createChangeListener): Implemented.
5884         (createMenuDragMouseListener): Likewise.
5885         (createMenuKeyListener): Likewise.
5886         (createPropertyChangeListener): Likewise.
5887         (uninstallListeners): Likewise.
5888         (BasicMenuUI.MouseInputHandler): Reimplemented.
5889         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5890         (BasicMenuUI.ChangeHandler): Likewise.
5891         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5892         (BasicMenuUI.MenuKeyHandler): Likewise.
5893
5894 2004-06-10  David Jee  <djee@redhat.com>
5895
5896         * java/awt/MediaTracker.java
5897         (imageUpdate): Only do notifyAll() if the image is complete.
5898
5899 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5900
5901         * javax/swing/JApplet.java:
5902         (getJMenuBar): Made public.
5903         (setJMenuBar): Likewise.
5904         * javax/swing/JFrame.java:
5905         (getJMenuBar): Made public.
5906         (setJMenuBar): Likewise.
5907         * javax/swing/JWindow.java:
5908         (getJMenuBar): Removed.
5909         (setJMenuBar): Removed.
5910
5911 2004-06-10  Michael Koch  <konqueror@gmx.de>
5912
5913         * javax/swing/JEditorPane.java
5914         (createEditorKitForContentType): Fixed visibility.
5915         (fireHyperlinkUpdate): Likewise.
5916         (getContentType): Likewise.
5917         (getEditorKit): Likewise.
5918         (getEditorKitForContentType): Likewise.
5919         (getPage): Likewise.
5920         (read): Likewise.
5921         (registerEditorKitForContentTyoe): Likewise.
5922         (replaceSelection): Likewise.
5923         (setContentType): Likewise.
5924         (setEditorKit): Likewise.
5925         (setPage): Likewise.
5926
5927 2004-06-10  Michael Koch  <konqueror@gmx.de>
5928
5929         * javax/swing/Timer.java
5930         (Timer): New constructor.
5931         * javax/swing/plaf/basic/BasicProgressBarUI.java
5932         (animationTimer): Don't initialize at construction.
5933         (startAnimationTimer): Added since tag.
5934         (stopAnimationTimer): Likewise.
5935         (installUI): Use new Timer constructor.
5936         * javax/swing/plaf/basic/BasicScrollBarUI.java
5937         (installUI): Likewise.
5938         * javax/swing/plaf/basic/BasicSliderUI.java
5939         (installUI): Likewise.
5940
5941 2004-06-10  Michael Koch  <konqueror@gmx.de>
5942
5943         * javax/swing/ButtonGroup.java
5944         (serialVersionUID): Made private.
5945         (buttons): Renamed from v, added javadoc.
5946         (sel): Added javadoc.
5947         (ButtonGroup): Likewise.
5948         (add): Likewise.
5949         (remove): Likewise.
5950         (getElements): Likewise.
5951         (getSelection): Likewise.
5952         (setSelected): Likewise.
5953         (isSelected): Likewise.
5954         (getButtonCount): Likewise.
5955
5956 2004-06-10  Michael Koch  <konqueror@gmx.de>
5957
5958         * javax/swing/ButtonGroup.java,
5959         javax/swing/ImageIcon.java,
5960         javax/swing/JEditorPane.java,
5961         javax/swing/JRootPane.java,
5962         javax/swing/JTextField.java,
5963         javax/swing/LookAndFeel.java,
5964         javax/swing/plaf/basic/BasicTextUI.java:
5965         Reindented.
5966
5967 2004-06-10  Michael Koch  <konqueror@gmx.de>
5968
5969         * javax/swing/text/Style.java: Added javadocs.
5970
5971 2004-06-10  Michael Koch  <konqueror@gmx.de>
5972
5973         * javax/swing/JComponent.java
5974         (fireVetoableChange): Removed redundant cast.
5975         * javax/swing/JLabel.java
5976         (getDisabledIcon): Save icon for next call.
5977
5978 2004-06-10  Michael Koch  <konqueror@gmx.de>
5979
5980         * javax/swing/KeyStroke.java
5981         (getKeyStroke(char,boolean)): Marked deprecated.
5982
5983 2004-06-10  Michael Koch  <konqueror@gmx.de>
5984
5985         * javax/swing/DefaultCellEditor.java,
5986         javax/swing/GrayFilter.java,
5987         javax/swing/event/DocumentEvent.java,
5988         javax/swing/text/JTextComponent.java,
5989         javax/swing/text/MutableAttributeSet.java:
5990         Reindented.
5991
5992 2004-06-10  Michael Koch  <konqueror@gmx.de>
5993
5994         * javax/swing/plaf/BorderUIResource.java:
5995         Added serialVersionUID all over.
5996
5997 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5998
5999         * javax/swing/undo/UndoManager.java: Re-written from scratch.
6000
6001 2004-06-10  Michael Koch  <konqueror@gmx.de>
6002
6003         * javax/swing/table/DefaultTableCellRenderer.java
6004         (noFocusBorder): Initialize directly.
6005
6006 2004-06-10  Michael Koch  <konqueror@gmx.de>
6007
6008         * javax/swing/plaf/basic/BasicArrowButton.java
6009         (setDirection): Use method argument.
6010
6011 2004-06-10  Michael Koch  <konqueror@gmx.de>
6012
6013         * javax/swing/plaf/BorderUIResource.java,
6014         javax/swing/plaf/ComponentUI.java,
6015         javax/swing/undo/CompoundEdit.java,
6016         javax/swing/undo/StateEdit.java:
6017         Fixed javadocs all over.
6018
6019 2004-06-10  Michael Koch  <konqueror@gmx.de>
6020
6021         * javax/swing/DefaultButtonModel.java
6022         (ARMED): Made public final, fixed value.
6023         (ENABLED): Likewise.
6024         (PRESSED): Likewise.
6025         (ROLLOVER): Likewise.
6026         (SELECTED): Likewise.
6027         (stateMask): Initialize directly.
6028         (listenerList): Likewise.
6029         (mnemonic): Likewise.
6030         (fireStateChanged): Removed argument, use changeEvent as event.
6031         All places where this method is called are fixed too.
6032         (getActionCommant): Fixed javadoc.
6033         (setGroup): Fixed javadoc.
6034         (getGroup): New method.
6035
6036 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6037
6038         * javax/swing/AbstractButton.java
6039         (AbstractButton): Use init() to initialize the button.
6040         (init): New Method. Initializes AbstractButton.
6041         * javax/swing/JMenuItem.java: Documented.
6042         (JMenuItem): Reimplemented.
6043         (init): Implemented.
6044         (setEnabled): Changed to call super.setEnabled()
6045         (processMouseEvent): Reimplemented.
6046         (fireMenuKeyPressed): Implemented.
6047         (fireMenuKeyReleased): Implemented.
6048         (fireMenuKeyTyped): Implemented.
6049         (menuSelectionChanged): disarm the model if the menu item was
6050         deselected.
6051         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6052         (getPath): Change to use ArrayList instead of Vector.
6053         (getPreferredSize): Renamed variable.
6054         (paintMenuItem): Paint margin area of menu item.
6055         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6056         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6057         menu item's bounds before clearing the selection.       
6058
6059 2004-06-09  David Jee  <djee@redhat.com>
6060
6061         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6062         (GtkTextComponentPeer): Set caret position to 0.
6063         * java/awt/TextComponent.java
6064         (setText): Set caret position to 0.
6065         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6066         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6067         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6068         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6069         Likewise.
6070         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6071         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6072         visible.
6073
6074 2004-06-09  Kim Ho  <kho@redhat.com>
6075
6076         * Makefile.am: New files
6077         * Makefile.in: Regenerated
6078         * java/awt/Container.java
6079         (getComponentAt): Removed.
6080         * javax/swing/AbstractAction.java
6081         (ENABLED_PROPERTY): New property.
6082         (putValue): Fire PropertyChangeEvents.
6083         (setEnabled): ditto.
6084         (firePropertyChange): Javadoc and implement
6085         convenience method.
6086         * javax/swing/AbstractButton.java
6087         (setAction): Don't create PropertyChangeListener
6088         if new Action is null.
6089         (setIcon): Don't set icon till after comparing
6090         it.
6091         (configurePropertiesFromAction): Check mnemonic
6092         key before calling intValue().
6093         (createActionPropertyChangeListener): Check
6094         properties rather than bulk change.
6095         * javax/swing/DefaultDesktopManager.java:
6096         Implement.
6097         * javax/swing/DesktopManager.java:
6098         Jalopy and javadoc.
6099         * javax/swing/JComponent.java
6100         (fireVetoableChange): Implement.
6101         (paintImmediately): Use root component.
6102         * javax/swing/JDesktopPane.java: Implement
6103         * javax/swing/JInternalFrame.java: Implement
6104         * javax/swing/JLabel.java
6105         (getDisabledIcon): Return grayscaled icon if
6106         no disabled icon specified.
6107         * javax/swing/JMenuBar.java
6108         (getComponentAtIndex): Use getComponent
6109         * javax/swing/JOptionPane.java
6110         (getDesktopPaneForComponent): Use SwingUtilities'
6111         getAncestorOfClass
6112         (getFrameForComponent): ditto.
6113         * javax/swing/JSplitPane.java
6114         (remove): Use getComponent.
6115         * javax/swing/SwingUtilities.java
6116         (convertPoint): Implement.
6117         * javax/swing/plaf/basic/BasicButtonUI.java
6118         (paintButtonNormal): Check opaqueness before
6119         filling background.
6120         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6121         Implement
6122         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6123         Implement.
6124         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6125         Implement.
6126         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6127         Implement.
6128         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6129         Change InternalFrame and Desktop colors.
6130
6131 2004-06-09  David Jee  <djee@redhat.com>
6132
6133         * java/awt/Container.java
6134         (remove): Do not set component to invisible.
6135
6136 2004-06-09  Michael Koch  <konqueror@gmx.de>
6137
6138         * javax/swing/tree/DefaultMutableTreeNode.java
6139         (getLeafCount): Renamed enum to e.
6140
6141 2004-06-09  Michael Koch  <konqueror@gmx.de>
6142
6143         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6144         (positionForMouseEvent): Removed redundant semicolon.
6145         (continueDrag): Use method arguments.
6146
6147 2004-06-09  Michael Koch  <konqueror@gmx.de>
6148
6149         * javax/swing/border/TitledBorder.java,
6150         javax/swing/filechooser/FileSystemView.java,
6151         javax/swing/plaf/basic/BasicButtonListener.java,
6152         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6153         javax/swing/plaf/basic/BasicLabelUI.java,
6154         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6155         javax/swing/plaf/basic/BasicScrollBarUI.java,
6156         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6157         javax/swing/plaf/basic/BasicSliderUI.java,
6158         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6159         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6160         javax/swing/table/JTableHeader.java,
6161         javax/swing/text/AbstractDocument.java,
6162         javax/swing/text/DefaultCaret.java,
6163         javax/swing/text/StyledEditorKit.java,
6164         javax/swing/tree/DefaultTreeCellEditor.java:
6165         Reworked import statements.
6166
6167 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6168
6169         * javax/swing/Box.java: Temporarily comment out code
6170         broken due to visibility bug.
6171
6172 2004-06-09  Michael Koch  <konqueror@gmx.de>
6173
6174         * javax/swing/ImageIcon.java
6175         (ImageIcon): Added missing constructor.
6176
6177 2004-06-08  Michael Koch  <konqueror@gmx.de>
6178
6179         * javax/swing/JToggleButton.java
6180         (JToggleButton): New constructor.
6181         (getAccessibleContext): Moved documentation into javadoc.
6182         (getUIClassID): Likewise.
6183
6184 2004-06-08  Michael Koch  <konqueror@gmx.de>
6185
6186         * javax/swing/AbstractButton.java
6187         (getDisabledIcon): Create disabled icon if none exists yet.
6188
6189 2004-06-08  Michael Koch  <konqueror@gmx.de>
6190
6191         * javax/swing/plaf/basic/BasicLookAndFeel.java
6192         (initClassDefaults): Added FormattedTextFieldUI.
6193         (loadResourceBundle): Renamed enum to e.
6194
6195 2004-06-08  Michael Koch  <konqueror@gmx.de>
6196
6197         * javax/swing/plaf/basic/BasicButtonUI.java
6198         (paintIcon): Simplified.
6199         (paintText): Paint disabled button correctly.
6200
6201 2004-06-08  Michael Koch  <konqueror@gmx.de>
6202
6203         * javax/swing/JComponent.java
6204         (createToolTip): Use official JToolTip API.
6205
6206 2004-06-08  Michael Koch  <konqueror@gmx.de>
6207
6208         * javax/swing/JToolTip.java
6209         (JToolTip): No arguments in API.
6210         (setTipText): New method.
6211
6212 2004-06-08  Michael Koch  <konqueror@gmx.de>
6213
6214         * javax/swing/SwingUtilities.java
6215         (isLeftMouseButton): New method.
6216         (isMiddleMouseButton): New method.
6217         (isRightMouseButton): New method.
6218
6219 2004-06-08  Michael Koch  <konqueror@gmx.de>
6220
6221         * javax/swing/AbstractButton.java,
6222         javax/swing/CellRendererPane.java,
6223         javax/swing/JCheckBoxMenuItem.java,
6224         javax/swing/JColorChooser.java,
6225         javax/swing/JComboBox.java,
6226         javax/swing/JComponent.java,
6227         javax/swing/JDesktopPane.java,
6228         javax/swing/JFileChooser.java,
6229         javax/swing/JMenu.java,
6230         javax/swing/JMenuItem.java,
6231         javax/swing/JOptionPane.java,
6232         javax/swing/JPasswordField.java,
6233         javax/swing/JPopupMenu.java,
6234         javax/swing/JProgressBar.java,
6235         javax/swing/JRadioButtonMenuItem.java,
6236         javax/swing/JScrollBar.java,
6237         javax/swing/JSeparator.java,
6238         javax/swing/JSlider.java,
6239         javax/swing/JSplitPane.java,
6240         javax/swing/JTabbedPane.java,
6241         javax/swing/JTextField.java,
6242         javax/swing/JToolBar.java,
6243         javax/swing/text/JTextComponent.java:
6244         Fixed all constructors of accessibility classes.
6245
6246 2004-06-08  Michael Koch  <konqueror@gmx.de>
6247
6248         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6249         over.
6250
6251 2004-06-08  Michael Koch  <konqueror@gmx.de>
6252
6253         * javax/swing/Box.java
6254         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6255         (AccessibleBoxFiller.serialVersionUID): New member variable.
6256         * javax/swing/DefaultButtonModel.java
6257         (stateMask): Made protected.
6258         (listenerList): Likewise.
6259         (changeEvent): Likewise.
6260         (group): Likewise.
6261         (mnemonic): Likewise.
6262         (actionCommand): Likewise.
6263         (getListeners): New method.
6264         (getActionListeners): New method.
6265         (getItemListeners): New method.
6266         (getChangeListeners): New method.
6267         (fireItemStateChanged): Simplified.
6268         (fireActionPerformed): Simplified.
6269         (fireStateChanged): Simplified.
6270         * javax/swing/JFrame.java
6271         (JFrame): Implements WindowContants.
6272         (HIDE_ON_CLOSE): Removed.
6273         (EXIT_ON_CLOSE): Removed.
6274         (DISPOSE_ON_CLOSE): Removed.
6275         (DO_NOTHING_ON_CLOSE): Removed.
6276         (processWindowEvent): Exit with code 0.
6277         (setDefaultCloseOperation): Do security check before setting value.
6278         * javax/swing/JOptionPane.java
6279         (message): Initialize only in constructor.
6280         * javax/swing/JToolTip.java: Removed unused imports.
6281         * javax/swing/JViewport.java
6282         (serialVersionUID): New member variable.
6283         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6284         (BLIT_SCROLL_MODE): Likewise.
6285         (BACKINGSTORE_SCROLL_MODE): Likewise.
6286         (scrollUnderway): Made protected.
6287         (isViewSizeSet): Likewise.
6288         * javax/swing/ListModel.java: Fixed javadoc.
6289         * javax/swing/Popup.java: Likewise.
6290         * javax/swing/RepaintManager.java
6291         (paintDirtyRegions): Don't use internal classes of
6292         java.util.AbstractMap.
6293         * javax/swing/ScrollPaneConstants.java: Reindented.
6294         * javax/swing/ScrollPaneLayout.java
6295         (viewport): Made protected.
6296         (verticalScrollBar): Made protected, renamed to vsb.
6297         (horizontalScrollBar): Made protected, renamed to hsb.
6298         (rowHeader): Made protected, renamed to rowHead.
6299         (columnHeader): Made protected, renamed to colHead.
6300         (lowerLeft): Made protected.
6301         (lowerRight): Made protected.
6302         (upperLeft): Made protected.
6303         (upperRight): Made protected.
6304         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6305         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6306
6307 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6308
6309         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6310         LOADING if flags has SOMEBITS set.
6311
6312 2004-06-07  Michael Koch  <konqueror@gmx.de>
6313
6314         * javax/swing/AbstractButton.java: Reorganized imports.
6315         * javax/swing/ActionMap.java: Likewise.
6316         * javax/swing/DefaultButtonModel.java: Likewise.
6317         * javax/swing/DefaultListModel.java: Likewise.
6318         * javax/swing/ImageIcon.java: Likewise.
6319         (serialVersionUID): New member variable.
6320         * javax/swing/JComboBox.java: Reorganized imports.
6321         * javax/swing/JComponent.java: Likewise.
6322         (ui): Made protected.
6323         (listenerList): Made protected.
6324         (TOOL_TIP_TEXT_KEY): New constant.
6325         (scrollRectToVisible): Removed redundant null check.
6326         * javax/swing/JFrame.java: Reorganized imports.
6327         * javax/swing/JInternalFrame.java: Reorganized imports.
6328         * javax/swing/JProgressBar.java: Likewise.
6329         * javax/swing/JRootPane.java: Likewise.
6330         * javax/swing/JScrollBar.java: Likewise.
6331         * javax/swing/JSeparator.java: Likewise.
6332         * javax/swing/JSlider.java: Likewise.
6333         * javax/swing/JTabbedPane.java: Likewise.
6334         * javax/swing/JTextField.java: Likewise.
6335         * javax/swing/JToolBar.java: Likewise.
6336         * javax/swing/JTree.java: Likewise.
6337         * javax/swing/JViewport.java: Likewise.
6338         * javax/swing/JWindow.java: Likewise.
6339         * javax/swing/KeyStroke.java: Likewise.
6340         * javax/swing/LookAndFeel.java: Likewise.
6341         * javax/swing/MenuSelectionManager.java: Likewise.
6342         * javax/swing/SwingUtilities.java: Likewise.
6343         * javax/swing/Timer.java: Likewise.
6344         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6345         * javax/swing/JList.java
6346         (HORIZONTAL_WRAP): Made final, fixed value.
6347         (VERTICAL): Likewise.
6348         (VERTICAL_WRAP): Likewise.
6349
6350 2004-06-07  Michael Koch  <konqueror@gmx.de>
6351
6352         * javax/swing/AbstractButton.java
6353         (serialVersionUID): New member variable.
6354         (AccessibleAbstractButton.serialVersionUID): Likewise.
6355         (AbstractButton): Made public.
6356         * javax/swing/Box.java
6357         (AccessibleBox.serialVersionUID): New member variable.
6358         (Filler.serialVersionUID): Likewise.
6359         * javax/swing/DefaultListSelectionModel.java
6360         (serialVersionUID): Likewise.
6361         * javax/swing/JApplet.java
6362         (serialVersionUID): Likewise.
6363         * javax/swing/JCheckBox.java
6364         (serialVersionUID): Likewise.
6365         * javax/swing/JCheckBoxMenuItem.java
6366         (serialVersionUID): Likewise.
6367         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6368         * javax/swing/JColorChooser.java
6369         (serialVersionUID): Likewise.
6370         (AccessibleJColorChooser.serialVersionUID): Likewise.
6371         * javax/swing/JComponent.java
6372         (serialVersionUID): Made private.
6373         (AccessibleJComponent.serialVersionUID): New member variable.
6374         * javax/swing/JDesktopPane.java
6375         (serialVersionUID): Likewise.
6376         * javax/swing/JDialog.java
6377         (serialVersionUID): Likewise.
6378         * javax/swing/JFormattedTextField.java
6379         (serialVersionUID): Fixed value.
6380         * javax/swing/JFrame.java
6381         (serialVersionUID): New member variable.
6382         (getDefaultCloseOpertation): Made public.
6383         * javax/swing/JLayeredPane.java
6384         (serialVersionUID): Likewise.
6385         (LAYER_PROPERTY): Made final, fixed value.
6386         (JLayeredPane): Made public.
6387         * javax/swing/JMenu.java
6388         (AccessibleJMenu.serialVersionUID): New member variable.
6389         (WinListener.serialVersionUID): Likewise.
6390         * javax/swing/JMenuBar.java
6391         (serialVersionUID): Likewise.
6392         (getComponentAtIndex): Added @deprecated tag.
6393         * javax/swing/JMenuItem.java
6394         (serialVersionUID): New member variable.
6395         (AccessibleJMenuItem.serialVersionUID): Likewise.
6396         * javax/swing/JOptionPane.java
6397         (serialVersionUID): Likewise.
6398         (AccessibleJOptionPane.serialVersionUID): Likewise.
6399         * javax/swing/JPopupMenu.java
6400         (serialVersionUID): Likewise.
6401         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6402         (getPopupMenuListeners): New method.
6403         (getComponentAtIndex): Added @deprecated tag.
6404         * javax/swing/JProgressBar.java
6405         (serialVersionUID): New member variable.
6406         (AccessibleJProgressBar.serialVersionUID): Likewise.
6407         * javax/swing/JRadioButton.java
6408         (serialVersionUID): Likewise.
6409         * javax/swing/JRadioButtonMenuItem.java
6410         (serialVersionUID): Likewise.
6411         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6412         * javax/swing/JScrollBar.java
6413         (serialVersionUID): Likewise.
6414         (AccessibleJScrollBar.serialVersionUID): Likewise.
6415         * javax/swing/JSeparator.java
6416         (serialVersionUID): Likewise.
6417         (AccessibleJSeparator.serialVersionUID): Likewise.
6418         * javax/swing/JSlider.java: Fixed javadocs.
6419         (AccessibleJSlider.serialVersionUID): New member variable.
6420         * javax/swing/JSplitPane.java: Added copyright statement.
6421         (serialVersionUID): New member variable.
6422         (AccessibleJSplitPane.serialVersionUID): Likewise.
6423         * javax/swing/JTabbedPane.java
6424         (serialVersionUID): Likewise.
6425         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6426         (ModelListener.serialVersionUID): Likewise.
6427         (ModelListener.ModelListener): New constructor.
6428         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6429         (WRAP_TAB_LAYOUT): Likewise.
6430         * javax/swing/JTable.java
6431         (serialVersionUID): New member variable.
6432         * javax/swing/JToggleButton.java
6433         (serialVersionUID): Likewise.
6434         (ToggleButtonModel): Made static.
6435         (ToggleButtonModel.serialVersionUID): New member variable.
6436         * javax/swing/JToolTip.java
6437         (serialVersionUID): Likewise.
6438         * javax/swing/JTree.java
6439         (serialVersionUID): Likewise.
6440         * javax/swing/JWindow.java
6441         (serialVersionUID): Likewise.
6442         * javax/swing/Timer.java
6443         (serialVersionUID): Likewise.
6444
6445 2004-06-06  Michael Koch  <konqueror@gmx.de>
6446
6447         * javax/swing/SwingConstants.java
6448         (NEXT): New constant.
6449         (PREVIOUS): Likewise.
6450         * javax/swing/UIManager.java
6451         (LookAndFeel): Made public.
6452         (LookAndFeel.getClassName): Likewise.
6453         (LookAndFeel.getName): Likewise.
6454
6455 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6456
6457         * javax/swing/JCheckBoxMenuItem.java:
6458         Removed CVS tags.
6459         * javax/swing/JMenu.java: Likewise.
6460         * javax/swing/JMenuBar.java: Likewise.
6461         * javax/swing/JMenuItem.java: Likewise.
6462         * javax/swing/JPopupMenu.java: Likewise.
6463         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6464         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6465         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6466         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6467         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6468         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6469         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6470
6471 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6472         
6473         * javax/swing/plaf/basic/BasicMenuUI.java:
6474         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6475         Call getPath() from super class instead.
6476
6477 2004-05-31  David Jee  <djee@redhat.com>
6478
6479         * java/awt/Container.java
6480         (remove): Set component visibility to false after removing it.
6481
6482 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6483
6484         * java/awt/Component.java (getForeground): Return SystemColor if
6485         parent is null.
6486         (getBackground): Likewise.
6487
6488         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6489         (item_highlighted): New function.
6490         (connectSignals): Set item_highlighted as list's select
6491         function.
6492
6493         * java/applet/Applet.java: Revert changes from 2004-04-29,
6494         2004-03-15 and 2004-03-14.
6495
6496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6497         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6498         factor.
6499
6500         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6501         "Dialog" as the default font.
6502         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6503         Likewise.
6504         * java/awt/Component.java (getFont): Return "Dialog" font by
6505         default.
6506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6507         Multiply size argument to pango_font_description_set_size by the
6508         DPI conversion factor rather than by PANGO_SCALE.
6509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6511         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6517         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6519         Divide baseline y coordinate by DPI conversion factor rather
6520         than by PANGO_SCALE.
6521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6522         (area_prepared): Fix typo.
6523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6524         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6526         (dpi_conversion_factor): New global variable.
6527         (init_dpi_conversion_factor): New function to calculate and
6528         track DPI conversion factor.
6529         (dpi_changed_cb): New callback.
6530         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6531
6532 2004-05-27  David Jee  <djee@redhat.com>
6533
6534         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6535         (getGraphics): Return a new GdkGraphics instance.
6536         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6537         (getGraphics): Call super.getGraphics().
6538
6539 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6540
6541         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6542         (setNativeBounds): Clamp width and height values to >= 0.
6543
6544         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6545         (find_fg_color_widget): Handle GtkOptionMenu specially.
6546
6547         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6548         (pre_event_handler): Only post configure events to visible
6549         top-level windows.
6550
6551 2004-05-26  David Jee  <djee@redhat.com>
6552
6553         * java/awt/BorderLayout.java
6554         (layoutContainer): Fix size calculations.
6555
6556 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6557
6558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6559         (window_wm_protocols_filter): Remove function.
6560         (create): Remove filter that removes WM_TAKE_FOCUS client
6561         messages.
6562
6563 2004-06-17  Anthony Green  <green@redhat.com>
6564
6565         * java/util/zip/ZipFile.java (getInputStream): Return null if
6566         entry not found.
6567
6568         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6569         directory contents to the class path.
6570
6571 2004-06-15  Andrew Haley  <aph@redhat.com>
6572
6573         * java/lang/natSystem.cc (getenv0): Don't assume environment
6574         variable is Latin 1 coded.
6575
6576 2004-06-14  Andreas Jaeger  <aj@suse.de>
6577
6578         * configure.in: Support --enable-version-specific-runtime-libs.
6579         * configure: Regenerated.
6580
6581 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6582
6583         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6584         to pass ClassLoader argument.
6585         * java/util/GregorianCalendar.java: Likewise.
6586         * java/util/Currency.java: Likewise.
6587         * java/text/BreakIterator.java: Likewise.
6588         * java/text/Collator.java: Likewise.
6589         * java/text/DateFormat.java: Likewise.
6590         * java/text/DateFormatSymbols.java: Likewise.
6591         * java/text/DecimalFormatSymbols.java: Likewise.
6592         * java/text/NumberFormat.java: Likewise.
6593         * java/awt/Window.java: Likewise.
6594
6595 2004-06-14  Andrew Haley  <aph@redhat.com>
6596
6597         * java/lang/System.java: (getenv0): New method.
6598         (getenv): Add security check.  Do the right thing.
6599         * java/lang/natSystem.cc (getenv0): New method.
6600
6601 2004-06-12  Mark Wielaard  <mark@klomp.org>
6602
6603         * javax/swing/RepaintManager.java
6604         (paintDirtyRegions): Use entrySet(), not values().
6605
6606 2004-06-10  Mark Wielaard  <mark@klomp.org>
6607
6608         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6609         NoSuchMethodError.
6610
6611 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6612
6613         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6614         when we already know the answer.
6615         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6616         (setStartRule,setEndRule): Don't take abs of day number.
6617         (getOffset): Clarify docs.  Add argument checks.
6618         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6619         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6620         endTimeMode.
6621
6622 2004-06-10  Tom Tromey  <tromey@redhat.com>
6623
6624         * interpret.cc (run): Handle wide fload.
6625
6626 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6627
6628         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6629
6630 2004-06-05  Michael Koch  <konqueror@gmx.de>
6631
6632         * javax/swing/SwingConstants.java
6633         (NEXT): New constant.
6634         (PREVIOUS): Likewise.
6635
6636 2004-06-05  Michael Koch  <konqueror@gmx.de>
6637
6638         * javax/swing/UIManager.java
6639         (LookAndFeel): Made public.
6640         (LookAndFeel.getName): Likewise.
6641         (LookAndFeel.getClassName): Likewise.
6642
6643 2004-06-03  Michael Koch  <konqueror@gmx.de>
6644
6645         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6646         (requestFocus): Revert last changes.
6647         (gtkRequestFocus): Removed.
6648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6649         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6650         Renamed to ...
6651         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6652         Reverted last patch.
6653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6654         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6655         Reverted comment change.
6656
6657 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6658
6659         * javax/swing/JCheckBoxMenuItem.java:
6660         Removed CVS tags.
6661         * javax/swing/JMenu.java: Likewise.
6662         * javax/swing/JMenuBar.java: Likewise.
6663         * javax/swing/JMenuItem.java: Likewise.
6664         * javax/swing/JPopupMenu.java: Likewise.
6665         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6666         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6667         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6668         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6669         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6670         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6671         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6672
6673 2004-06-01  Tom Tromey  <tromey@redhat.com>
6674
6675         * java/io/ObjectStreamField.java: Cleaned up imports.
6676
6677 2004-06-01  Michael Koch  <konqueror@gmx.de>
6678
6679         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6680       
6681 2004-06-01  Mark Wielaard  <mark@klomp.org>
6682
6683         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6684
6685 2004-06-01  Michael Koch  <konqueror@gmx.de>
6686
6687         * java/security/Security.java
6688         (insertProviderAt): Use equals() instead of ==.
6689         (removeProvicer): Likewise.
6690         (getProvider): Likewise.
6691         * java/security/Signature.java
6692         (sign): Don't set state to UNINITIALIZED.
6693         (verify): Likewise.
6694
6695 2004-06-01  Mark Wielaard  <mark@klomp.org>
6696
6697         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6698         Implement by calling gtkRequestFocus.
6699         (gtkRequestFocus): New native method.
6700         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6701         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6702         Renamed to ...
6703         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6704         New function name.
6705         (filter_expose_event_handler):
6706         Mark static.
6707         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6708         (menu_pos): Mark static.
6709
6710 2004-06-01  Michael Koch  <konqueror@gmx.de>
6711
6712         * java/text/CollationElementIterator.java,
6713         java/text/CollationKey.java,
6714         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6715         * testsuite/libjava.mauve/xfails: Removed all
6716         java.text.CollationElementIterator tests.
6717
6718 2004-06-01  Michael Koch  <konqueror@gmx.de>
6719
6720         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6721         version.
6722         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6723         Java 1.5 keyword usage.
6724
6725 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6726
6727         * javax/swing/plaf/basic/BasicMenuUI.java:
6728         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6729         Call getPath() from super class instead.
6730
6731 2004-05-31  Michael Koch  <konqueror@gmx.de>
6732
6733         * java/io/SequenceInputStream.java:
6734         Rename enum to e because enum is a keyword in Java 1.5.
6735
6736 2004-05-31  Michael Koch  <konqueror@gmx.de>
6737
6738         * gnu/java/rmi/rmic/CompilerProcess.java:
6739         Fixed javadoc to by XHTML compliant.
6740
6741 2004-05-30  Mark Wielaard  <mark@klomp.org>
6742
6743         * java/awt/Toolkit.java (loadSystemColors): Implement.
6744
6745 2004-05-30  Michael Koch  <konqueror@gmx.de>
6746
6747         * java/lang/System.java: Reordered imports.
6748
6749 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6750
6751         * java/text/DecimalFormat.java
6752         (parse): Fixed parsing of decimal strings. Number of maximum
6753         digits to be read should now work.
6754         * java/text/SimpleDateFormat.java
6755         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6756         formatter. This fixes DateFormatTest.
6757
6758 2004-05-30  Michael Koch  <konqueror@gmx.de>
6759
6760         * java/nio/Buffer.java
6761         (limit): Fixed off by one error.
6762         * java/nio/CharBuffer.java
6763         (wrap): Fixed arguments, added javadocs.
6764
6765 2004-05-30  Michael Koch  <konqueror@gmx.de>
6766
6767         * gnu/java/beans/BeanInfoEmbryo.java,
6768         java/awt/im/InputContext.java,
6769         javax/swing/tree/DefaultMutableTreeNode.java:
6770         Rename enum to e because enum is a keyword in Java 1.5.
6771
6772 2004-05-30  Michael Koch  <konqueror@gmx.de>
6773
6774         * gnu/java/math/MPN.java,
6775         java/awt/geom/Arc2D.java:
6776         Fixed javadocs all over.
6777
6778 2004-05-30  Michael Koch  <konqueror@gmx.de>
6779
6780         * java/awt/DefaultKeyboardFocusManager.java
6781         (dispatchEvent): Call method to get key event dispatchers.
6782         (dispatchKeyEvent): Call method to get key event post processors.
6783         * javax/swing/JComponent.java
6784         (listenerList): Made protected.
6785         * javax/swing/JOptionPane.java
6786         (message): Don't initialize.
6787         (JOptionPane): Set message text.
6788         * javax/swing/JPopupMenu.java
6789         (show): Fixed typo in argument name.
6790         * javax/swing/RepaintManager.java
6791         (paintDirtyRegions): Use public API of java.util.Map.
6792         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6793         (positionForMouseEvent): Removed redundant ';'.
6794         (continueDrag): Use method arguments.
6795
6796 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6797
6798         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6799         results.
6800
6801 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6802
6803         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6804         _Jv_AllocBytes.
6805         * gnu/gcj/RawDataManaged.java: New file.
6806         * java/lang/Thread.java (data): Declare as RawDataManaged.
6807         * java/lang/natThread.cc (init_native): Cast natThread data to
6808         RawDataManaged, not jobject.
6809         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6810         * Makefile.in: Rebuilt.
6811
6812 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6813
6814         * java/util/SimpleTimeZone.java: Reverting my last change until I
6815         can fix it properly.
6816
6817 2004-05-27  Michael Koch  <konqueror@gmx.de>
6818
6819         * javax/swing/JPopupMenu.java
6820         (isVisible): Do not use visible directly.
6821         (setVisible): Likewise.
6822         * javax/swing/JWindow.java
6823         (JWindow): call accessible constructor.
6824         * javax/swing/RepaintManager.java
6825         (paintDirtyRegions): Use public methods to obtain iterator.
6826
6827 2004-05-25  David Jee  <djee@redhat.com>
6828
6829         * java/awt/Container.java
6830         (remove): Set component's parent to null only after we removed the
6831         component from its parent's layout manager.
6832
6833 2004-05-25  David Jee  <djee@redhat.com>
6834
6835         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6836         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6837         is valid.
6838         * gnu/java/awt/peer/gtk/GtkListPeer.java
6839         (getSize): Change native method declaration.
6840         (minimumSize): Pass visible row count into getSize().
6841         (preferredSize): Likewise.
6842         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6843         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6844         natural size. Use visible row count to determine the final height
6845         value to return.
6846
6847 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6848
6849         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6850         (setClip): Minor correction to order of operations.
6851
6852         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6853         * javax/swing/ScrollPaneLayout.java: Likewise.
6854         * javax/swing/JViewPort.java: Likewise.
6855         * javax/swing/ViewportLayout.java: Likewise.
6856
6857         * javax/swing/JComponent.java: Rewrite.
6858         * javax/swing/RepaintManager.java: Likewise.
6859
6860         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6861         * javax/swing/JList.java 
6862         (setSelectedIndices):
6863         (getSelectedIndices):
6864         (getSelectedValues): New functions.
6865         (getPreferredScrollableViewportSize): Return preferred size.
6866         (getScrollableUnitIncrement):
6867         (getScrollableBlockIncrement): Initial implementations.
6868         * javax/swing/JRootPane.java: Clean up slightly.
6869         (getUI):
6870         (setUI):
6871         (updateUI):
6872         (getUIClassID):
6873         (isValidateRoot): Add overrides from JComponent.
6874         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6875         * javax/swing/UIManager.java (getDimension): Return the dimension.
6876
6877         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6878         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6879         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6880         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6881         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6882         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6883         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6884         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6885         Likewise, and set background.
6886         * javax/swing/plaf/basic/BasicListUI.java: 
6887         Likewise, and improve a bit.
6888         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6889         Likewise, and adjust calculations.
6890         * javax/swing/plaf/basic/BasicViewportUI.java:
6891         Likewise, and improve a bit.
6892         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6893         (Button.margin): Shrink.
6894
6895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6896         Hack to set horizontal always, workaround pango.
6897
6898         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6900         Synchronize more often, check cairo status after ops,
6901         handle changes to cairo pattern API, check for disposal.
6902
6903 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6904
6905         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6906         (BasicMenuItemUI): Create propertyChangeListener.
6907         (getPath):Implemented.
6908         (installListeners): Add propertyChangeListener to menuItem.
6909         (uninstallListeners): Remove propertyChangeListener from menuItem.
6910         (update): Implemented.
6911         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6912         (mouseEntered): Take insets of popup menu into account when
6913         calculating position of popup menu.     
6914         
6915 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6916
6917         * Makefile.am: Added new file. 
6918         * Makefile.in: Regenerate.
6919         * javax/swing/JMenuBar.java:
6920         Started implementation.
6921         * javax/swing/JPopupMenu.java:
6922         (setVisible): Fixed location of lightweight/mediumweight
6923         popup menu.
6924         (show): Fixed location of PopupMenu.
6925         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6926         New file. UI Delegate for JMenuBar.
6927         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6928         (mouseEntered): Corrected position of the submenu.
6929
6930 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6931
6932         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6933         to _gtk_accel_group_attach.
6934         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6935         Likewise.
6936
6937         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6938         package access.  Don't override setFont.
6939         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6940         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6941         gtkWidgetRequestFocus package access.
6942         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6943         setFont.
6944         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6945         Give gtkWidgetRequestFocus package access.
6946         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6947         gtkWidgetRequestFocus package access.  Don't override setFont.
6948         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6949         setFont.
6950         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6951         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6952         region.
6953         (gtkSetFont): Likewise.
6954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6955         Implement.
6956         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6957         (gtkSetFont): Whitespace fix.
6958
6959         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6960         (gtkWidgetSetUsize): Remove method.
6961
6962 2004-05-18  David Jee  <djee@redhat.com>
6963
6964         * java/awt/image/MemoryImageSource.java
6965         (newPixels(int,int,int,int,boolean)): Set only the specified
6966         rectangle of pixels.
6967         (newPixels(byte[],ColorModel,int,int)): Implement.
6968         (newPixels(int[],ColorModel,int,int)): Implement.
6969
6970 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6971
6972         * Makefile.am: Added new file.
6973         * Makefile.in: Regenerate.
6974         * javax/swing/JMenu.java: Started 
6975         implementation.
6976         * javax/swing/JPopupMenu.java:
6977         (insert): If specified index is -1, then
6978         add component at the end.
6979         (isPopupTrigger): Reimplemented.
6980         (JPopupMenu.LightWeightPopup): setBounds
6981         of the lightWeightPopup before adding it 
6982         to the layeredPane.
6983         (javax/swing/plaf/basic/BasicIconFactory.java):
6984         (getMenuArrowIcon): Implemented.
6985         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6986         (getPreferredSize): Add size of the arrow icon 
6987         if this menu item is instance of JMenu.
6988         (paintMenuItem): Paint arrow icon if this 
6989         menu item is a submenu.
6990         * javax/swing/plaf/basic/BasicMenuUI.java:
6991         New File. UI Delegate for JMenu.
6992
6993 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6994
6995         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6996         Post KEY_TYPED events.
6997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6998         (generates_key_typed_event): Remove function.
6999
7000 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
7001
7002         * javax/swing/JRootPane.java
7003         (JRootPane.RootLayout): Reimplemented to 
7004         set bounds of contentPane and menuBar.
7005         (setJMenuBar): Add menu bar to the layered pane.
7006         (createLayeredPane): Set layout of layeredPane
7007         to null.
7008         * javax/swing/JLayeredPane.java:
7009         (addImpl): Calculate index of the component in the
7010         layeredPane according to the specified position within 
7011         the layer.      
7012
7013 2004-05-17  David Jee  <djee@redhat.com>
7014
7015         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7016         (setPixels): Change color model to the default model after
7017         converting pixels.
7018         * java/awt/image/MemoryImageSource.java
7019         (newPixels): Set only the specified rectangle of pixels.
7020
7021 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
7022
7023         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7024         -l-java-beans -l-javax-accessibility -l-javax-swing.
7025
7026         * java/awt/AWTEvent.java (toString): Print source's name rather
7027         than the source itself.
7028
7029 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
7030
7031         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7032         native.
7033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7034         (gdk_color_to_java_color): New function.
7035         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7036
7037 2004-05-12  David Jee  <djee@redhat.com>
7038
7039         * java/awt/image/RGBImageFilter.java:
7040         Initialize origmodel as null.
7041         (makeColor): Fix pixel component order.
7042         (filterRGBPixels): Fix pixel iteration.
7043         (setPixels): Add extra checks for index color model. Convert pixels
7044         to default color model if necessary.
7045         (convertColorModelToDefault): New override method for byte pixels.
7046         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7047         (makeColorbyDefaultCM): New override method for byte pixels.
7048         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7049         (makeColor): Fix pixel component order.
7050
7051 2004-05-11  Kim Ho  <kho@redhat.com>
7052
7053         * javax/swing/Box.java:
7054         Comment out more parts of Box.Filler.
7055
7056 2004-05-11  Kim Ho  <kho@redhat.com>
7057
7058         * javax/swing/Box.java:
7059         Remove reference to AccessibleAWTComponent so
7060         it compiles again.
7061
7062 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7063
7064         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7065         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7066         implementation of list peer to use GtkTreeView instead of
7067         deprecated GtkCList.
7068
7069 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7070
7071         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7072         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7073         (handleEvent): Remove keyChar argument to
7074         gtkWidgetDispatchKeyEvent calls.
7075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7076         compiler warnings.
7077         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7078         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7079         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7080         Likewise.
7081
7082 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7083
7084         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7085         (gtkWidgetRequestFocus): Mark protected.
7086         (GtkComponentPeer): Only set the peer's bounds if its component
7087         is valid.
7088         * java/awt/Component.java (static): Set the default keyboard
7089         focus manager.
7090         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7091         requestFocusInWindow(temporary)): Don't request focus if the
7092         component is not showing.  Get tree lock before traversing
7093         component hierarchy.
7094         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7095         Only set the global focus owner if it is not a Window.
7096         (processKeyEvent): Consume keystrokes associated with the focus
7097         traversal keystroke.
7098         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7099         downFocusCycle): Call requestFocusInWindow instead of
7100         requestFocus.
7101         * java/awt/EventDispatchThread.java (run): Move setting of
7102         default keyboard focus manager to Component.java.
7103         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7104         (awt_keycode_to_keysym): New function.
7105         (gtkWidgetDispatchKeyEvent): Finish implementation.
7106         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7107         (pre_event_handler): Add FIXME comment.
7108
7109         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7110         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7111         (gtkWidgetRequestFocus): New method.
7112         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7113         disable Tab and Shift-Tab keystrokes.
7114         (addNotify, appendText, insertText, replaceText): Simplify peer
7115         retrieval code.
7116         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7117         (connectSignals): Remove connections to "commit" signals.
7118         Remove C++-style comments.
7119
7120         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7121         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7122         (handleEvent): Activate GTK button when the space bar key is
7123         pressed.
7124         (gtkActivate): New method.
7125
7126 2004-05-06  David Jee  <djee@redhat.com>
7127
7128         * java/awt/image/CropImageFilter.java
7129         (setPixels): Implement for byte array pixels.
7130         * java/awt/image/ReplicateScaleFilter.java
7131         (setPixels): Implement for byte array pixels.
7132         (replicatePixels): Overload for byte array pixels.
7133
7134 2004-05-06  Kim Ho  <kho@redhat.com>
7135
7136         * javax/swing/Box.java:
7137         (getAccessibleContext): Return an instance of the 
7138         correct class.
7139
7140 2004-05-05  David Jee  <djee@redhat.com>
7141
7142         * gnu/java/awt/peer/gtk/GdkGraphics.java
7143         (drawImage): When component is null, use SystemColor.window as
7144         the default bgcolor.
7145         * gnu/java/awt/peer/gtk/GtkImage.java
7146         (setPixels): We can avoid iterating through the pixel rows only
7147         when height is 1.
7148         * java/awt/Image.java
7149         (getScaledInstance): Partially implement.
7150         * java/awt/image/CropImageFilter.java
7151         (setProperties): Fix "filter" property.
7152         (setPixels): Implement.
7153         * java/awt/image/ReplicateScaleFilter.java
7154         (setDimensions): Use scaled dimensions.
7155         (setPixels): Implement.
7156         (replicatePixels): New method.
7157
7158 2004-05-05  David Jee  <djee@redhat.com>
7159
7160         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7161         (convertPixels): If either pixels or model is null, return null.
7162         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7163         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7164         is null, do nothing and return.
7165
7166 2004-05-03  Kim Ho  <kho@redhat.com>
7167
7168         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7169         (getGraphics): Like GtkFramePeer, the Graphics
7170         object needs to be translate to account for
7171         window decorations.
7172         (postMouseEvent): New method. Account for
7173         translation.
7174         (postExposeEvent): ditto.
7175         * javax/swing/Box.java: Stubbed.
7176         * javax/swing/JDialog.java: Ran through jalopy
7177         to fix indentation.
7178         (JDialog): Call SwingUtilities' getOwnerFrame
7179         for null owners.
7180         (setLayout): Check isRootPaneCheckingEnabled
7181         * javax/swing/JOptionPane.java: Re-implemented.
7182         * javax/swing/SwingUtilities.java:
7183         (getOwnerFrame): Static method to grab a default
7184         owner frame for Dialogs that don't specify owners.
7185         * javax/swing/event/SwingPropertyChangeSupport.java:
7186         (firePropertyChange): Fix early exit condition.
7187         * javax/swing/plaf/basic/BasicLabelUI.java:
7188         (paint): Avoid painting text if it is null 
7189         or empty.
7190         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7191         Implement.
7192
7193 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7194
7195         * Makefile.am: Added new file.
7196         * Makefile.in: Regenerate.
7197         * javax/swing/JPopupMenu.java:
7198         Started implementation.
7199         * javax/swing/JWindow.java
7200         (JWindow): call super() if parent for window
7201         is not specified.
7202         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7203         New File. UI Delegate for JPopupMenu.
7204
7205 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7206
7207         * javax/swing/JApplet.java: Indicated that JApplet
7208         implements RootPaneContainer and made method of this
7209         interface public. 
7210         * javax/swing/JFrame.java: Ditto.
7211         * javax/swing/JWindow.java: Ditto.
7212         
7213 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7214
7215         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7216         (nativeSetBounds): Call gdk_window_move in addition to
7217         gtk_window_move.
7218
7219         * java/applet/Applet.java (preferredSize): Call parent's
7220         preferredSize if the applet stub is null.
7221         (minimumSize): Likewise for parent's minimumSize.
7222
7223 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7224
7225         * javax/swing/JMenuItem.java
7226         (createActionPropertyChangeListener): Implemented.
7227         (processMouseEvent): Ditto.
7228         (fireMenuDragMouseEntered): Ditto.
7229         (fireMenuDragMouseExited): Ditto.
7230         (fireMenuDragMouseDragged): Ditto.
7231         (fireMenuDragMouseReleased): Ditto.
7232         (menuSelectionChanged): Ditto.
7233         (getSubElements): Ditto.
7234         (getComponent): Ditto.
7235         (addMenuDragMouseListener): Ditto.
7236         (removeMenuDragMouseListener):Ditto.
7237         (addMenuKeyListener): Ditto.
7238         (removeMenuKeyListener): Ditto.
7239         * javax/swing/plaf/basic/BasicMenuItemUI.java
7240         (doClick): Imlemented.
7241         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7242         Don't handle mouse events here. Pass them to 
7243         MenuSelectionManager.
7244         
7245 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7246         Used correct version of jalopy configuration
7247         file to fix style in the files below.
7248
7249 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7250
7251         * javax/swing/JCheckBoxMenuItem.java: 
7252         Fixed style and removed unnecessary comments.
7253         * javax/swing/JMenuItem.java: Ditto.
7254         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7255         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7256         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7257         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7258
7259 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7260
7261         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7262         C-style.
7263
7264         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7265
7266         * java/awt/ContainerOrderFocusTraversalPolicy.java
7267         (getComponentAfter): Start from current component and work up
7268         the component hierarchy until an acceptable component is found.
7269         Synchronize on tree lock.
7270         (getComponentBefore): Likewise.
7271
7272 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7273
7274         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7275         focus-related debugging messages.
7276         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7277         * java/awt/EventDispatchThread.java: Likewise.
7278         * java/awt/KeyboardFocusManager.java: Likewise.
7279         * java/awt/Window.java: Likewise.
7280         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7282
7283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7284         new C++-style comments to C-style comments.
7285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7286
7287         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7288         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7289         (handleEvent): Dispatch key press and key release events to
7290         backing widget.
7291         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7292         (gtkWidgetRequestFocus): New method.
7293         (gtkWidgetDispatchKeyEvent): Likewise.
7294         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7295         requestFocusInWindow, requestFocusInWindow(boolean),
7296         getFocusCycleRootAncestor, nextFocus, transferFocus,
7297         transferFocusBackward, transferFocusUpCycle, hasFocus,
7298         isFocusOwner): Implement and document focus-handling methods.
7299         (setFocusTraversalKeys): Inherit focus traversal keys when
7300         keystrokes argument is null.  Fix focus-handling documentation
7301         throughout class.
7302         * java/awt/Container.java (setFocusTraversalKeys,
7303         getFocusTraversalKeys, areFocusTraversalKeysSet,
7304         isFocusCycleRoot, setFocusTraversalPolicy,
7305         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7306         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7307         Implement and document focus-handling methods.
7308         (transferFocusBackward): Remove method.
7309         (readObject, writeObject): Implement and document serialization
7310         methods.
7311         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7312         and document.
7313         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7314         document.
7315         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7316         partially document.
7317         * java/awt/EventDispatchThread.java (run): Set default keyboard
7318         focus manager.  Attempt to dispatch each event to the keyboard
7319         focus manager before normal dispatch.
7320         * java/awt/KeyboardFocusManager.java: Implement and partially
7321         document.
7322         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7323         (show): Focus initial component when window is shown for the
7324         first time.
7325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7326         (pre_event_handler): Replace complex key press and key release
7327         logic with simple callbacks into GtkComponentPeer.
7328         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7329
7330 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7331
7332         * javax/swing/MenuSelectionManager.java
7333         (componentForPoint): Added new method. 
7334         (defaultManager): New Method. Implemented.
7335         (getSelectedPath): Ditto.
7336         (isComponentPartOfCurrentMenu): Ditto.
7337         (processKeyEvent): Added new method.
7338         (processMouseEvent): New Method. Implemented.
7339         (setSelectedPath): Ditto.
7340         (getPath): Ditto.
7341
7342 2004-04-19  Kim Ho  <kho@redhat.com>
7343
7344         * java/awt/Container.java: 
7345         (remove): Set the component's parent to null.
7346         (getComponentAt): Implement.
7347         * javax/swing/JComponent.java:
7348         (JComponent): Initialize defaultLocale
7349         (getDefaultLocale): Implement.
7350         (setDefaultLocale): ditto.
7351         * javax/swing/JSlider.java:
7352         (JSlider): Fix calculation of value.
7353         * javax/swing/JSplitPane.java: Implement.
7354         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7355         Change SplitPane's default divider size.
7356         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7357         (paint): Remove unused code.
7358         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7359         Added comments and ran through jalopy.
7360         (setBasicSplitPaneUI): Get reference to hidden divider
7361         and set up one touch buttons if necessary.
7362         (setBorder): Fire propertyChangeEvent only if 
7363         borders are different.
7364         (getPreferredSize): Defer to layout manager.
7365         (propertyChange): Implement.
7366         (oneTouchExpandableChanged): ditto.
7367         (createLeftOneTouchButton): Use BasicArrowButton.
7368         (createRightOneTouchButton): ditto.
7369         (moveDividerTo): New method. Moves the divider
7370         to a set location based on the last divider location.
7371         (BasicSplitPaneDivider::MouseHandler): Implement.
7372         (BasicSplitPaneDivider::OneTouchButton): Removed.
7373         (BasicSplitPaneDivider::DragController): Implement.
7374         (BasicSplitPaneDivider::VerticalDragController):
7375         ditto.
7376         (BasicSplitPaneDivider::DividerLayout): ditto.
7377         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7378         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7379         (calculateLayoutInfo): Don't show component if it's
7380         null.
7381         (paintTab): Fix title paint logic.
7382
7383 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7384
7385         PR libgcj/8321
7386         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7387         (setStartRule,setEndRule): Don't take abs of day number.
7388         (getOffset): Clarify docs.  Add argument checks.
7389         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7390         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7391         endTimeMode.
7392         * testsuite/libjava.mauve/xfails
7393         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7394
7395 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7396
7397         Layout interfaces during preparation, not initialization. 
7398         * java/lang/natClass.cc (initializeClass): Move 
7399         _Jv_LayoutInterfaceMethods call...
7400         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7401
7402 2004-05-19  Anthony Green  <green@localhost.localdomain>
7403
7404         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7405         gnu.javax.rmi code.
7406         * Makefile.in: Rebuilt.
7407         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7408         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7409         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7410         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7411         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7412         gnu/javax/rmi/CORBA/DelegateFactory.java,
7413         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7414         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7415         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7416         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7417         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7418         gnu/javax/rmi/PortableServer.java: Remove files.
7419
7420 2004-05-19  Anthony Green  <green@redhat.com>
7421
7422         * Makefile.am: Define JAVA_EXT_DIRS.
7423         * Makefile.in: Rebuilt.
7424         * java/lang/natRuntime.cc (insertSystemProperties): Set
7425         java.ext.dirs property.
7426
7427 2004-05-16  Mark Wielaard  <mark@klomp.org>
7428
7429         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7430
7431 2004-05-15  Mark Wielaard  <mark@klomp.org>
7432
7433         * doc/cni.sgml: Removed, merged into gcj.texi.
7434
7435 2004-05-15  Mark Wielaard  <mark@klomp.org>
7436
7437         * Makefile.am (ordinary_java_source_files): Add new javax.print
7438         classes.
7439         * Makefile.in: Regenerated.
7440
7441 2004-05-15  Michael Koch  <konqueror@gmx.de>
7442
7443         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7444         javax/print/attribute/standard/DateTimeAtCreation.java,
7445         javax/print/attribute/standard/DateTimeAtProcessing.java,
7446         javax/print/attribute/standard/DocumentName.java,
7447         javax/print/attribute/standard/JobHoldUntil.java,
7448         javax/print/attribute/standard/JobImpressionsCompleted.java,
7449         javax/print/attribute/standard/JobMessageFromOperator.java,
7450         javax/print/attribute/standard/JobName.java,
7451         javax/print/attribute/standard/JobOriginatingUserName.java,
7452         javax/print/attribute/standard/JobPriority.java,
7453         javax/print/attribute/standard/JobPrioritySupported.java,
7454         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7455         javax/print/attribute/standard/OutputDeviceAssigned.java,
7456         javax/print/attribute/standard/PrinterInfo.java,
7457         javax/print/attribute/standard/PrinterLocation.java,
7458         javax/print/attribute/standard/PrinterMakeAndModel.java,
7459         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7460         javax/print/attribute/standard/PrinterName.java,
7461         javax/print/attribute/standard/QueuedJobCount.java,
7462         javax/print/attribute/standard/RequestingUserName.java:
7463         Fixed javadocs all over.
7464
7465 2004-05-15  Michael Koch  <konqueror@gmx.de>
7466
7467         * javax/print/DocFlavor.java,
7468         javax/print/attribute/standard/ColorSupported.java,
7469         javax/print/attribute/standard/Compression.java,
7470         javax/print/attribute/standard/CopiesSupported.java,
7471         javax/print/attribute/standard/Fidelity.java,
7472         javax/print/attribute/standard/Finishings.java,
7473         javax/print/attribute/standard/JobImpressionsSupported.java,
7474         javax/print/attribute/standard/JobKOctetsSupported.java,
7475         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7476         javax/print/attribute/standard/JobSheets.java,
7477         javax/print/attribute/standard/JobState.java,
7478         javax/print/attribute/standard/JobStateReason.java,
7479         javax/print/attribute/standard/JobStateReasons.java,
7480         javax/print/attribute/standard/Media.java,
7481         javax/print/attribute/standard/MediaSizeName.java,
7482         javax/print/attribute/standard/MultipleDocumentHandling.java,
7483         javax/print/attribute/standard/NumberUpSupported.java,
7484         javax/print/attribute/standard/OrientationRequested.java,
7485         javax/print/attribute/standard/PDLOverrideSupported.java,
7486         javax/print/attribute/standard/PageRanges.java,
7487         javax/print/attribute/standard/PresentationDirection.java,
7488         javax/print/attribute/standard/PrintQuality.java,
7489         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7490         javax/print/attribute/standard/PrinterMoreInfo.java,
7491         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7492         javax/print/attribute/standard/PrinterResolution.java,
7493         javax/print/attribute/standard/PrinterState.java,
7494         javax/print/attribute/standard/PrinterStateReason.java,
7495         javax/print/attribute/standard/PrinterStateReasons.java,
7496         javax/print/attribute/standard/PrinterURI.java,
7497         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7498         javax/print/attribute/standard/Severity.java,
7499         javax/print/attribute/standard/SheetCollate.java,
7500         javax/print/attribute/standard/Sides.java:
7501         Added serialVersionUID and removed final keyword where it doenst
7502         belong.
7503
7504 2004-05-15  Michael Koch  <konqueror@gmx.de>
7505
7506         * javax/print/PrintServiceLookup.java: New file.
7507
7508 2004-05-15  Michael Koch  <konqueror@gmx.de>
7509
7510         * javax/print/DocFlavor.java:
7511         Implemented all flavor classes.
7512
7513 2004-05-15  Michael Koch  <konqueror@gmx.de>
7514
7515         * javax/print/attribute/standard/ColorSupported.java,
7516         javax/print/attribute/standard/Compression.java,
7517         javax/print/attribute/standard/CopiesSupported.java,
7518         javax/print/attribute/standard/Fidelity.java,
7519         javax/print/attribute/standard/Finishings.java,
7520         javax/print/attribute/standard/JobImpressionsSupported.java,
7521         javax/print/attribute/standard/JobKOctetsSupported.java,
7522         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7523         javax/print/attribute/standard/JobSheets.java,
7524         javax/print/attribute/standard/JobState.java,
7525         javax/print/attribute/standard/JobStateReason.java,
7526         javax/print/attribute/standard/JobStateReasons.java,
7527         javax/print/attribute/standard/Media.java,
7528         javax/print/attribute/standard/MediaSizeName.java,
7529         javax/print/attribute/standard/MultipleDocumentHandling.java,
7530         javax/print/attribute/standard/NumberUpSupported.java,
7531         javax/print/attribute/standard/OrientationRequested.java,
7532         javax/print/attribute/standard/PDLOverrideSupported.java,
7533         javax/print/attribute/standard/PageRanges.java,
7534         javax/print/attribute/standard/PresentationDirection.java,
7535         javax/print/attribute/standard/PrintQuality.java,
7536         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7537         javax/print/attribute/standard/PrinterMoreInfo.java,
7538         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7539         javax/print/attribute/standard/PrinterResolution.java,
7540         javax/print/attribute/standard/PrinterState.java,
7541         javax/print/attribute/standard/PrinterStateReason.java,
7542         javax/print/attribute/standard/PrinterStateReasons.java,
7543         javax/print/attribute/standard/PrinterURI.java,
7544         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7545         javax/print/attribute/standard/Severity.java,
7546         javax/print/attribute/standard/SheetCollate.java,
7547         javax/print/attribute/standard/Sides.java: New files.
7548
7549 2004-05-15  Michael Koch  <konqueror@gmx.de>
7550
7551         * javax/print/Doc.java
7552         (getPrintData): Throws IOException.
7553         (getReaderForText): Likewise.
7554         (getStreamForBytes): Likewise.
7555         * javax/print/DocFlavor.java:
7556         Fixed filename in copyright.
7557         (serialVersionUID): New field.
7558         * javax/print/ServiceUIFactory.java:
7559         Made all constants final.
7560         * javax/print/AttributeException.java
7561         javax/print/MultiDoc.java
7562         javax/print/MultiDocPrintJob.java
7563         javax/print/MultiDocPrintService.java
7564         javax/print/StreamPrintService.java
7565         javax/print/URIException.java: New files.
7566         * javax/print/Makefile.am
7567         (EXTRA_DIST): Added all new files.
7568
7569 2004-05-15  Michael Koch  <konqueror@gmx.de>
7570
7571         * javax/print/attribute/standard/Copies.java,
7572         javax/print/attribute/standard/DateTimeAtCompleted.java,
7573         javax/print/attribute/standard/DateTimeAtCreation.java,
7574         javax/print/attribute/standard/DateTimeAtProcessing.java,
7575         javax/print/attribute/standard/DocumentName.java,
7576         javax/print/attribute/standard/JobHoldUntil.java,
7577         javax/print/attribute/standard/JobImpressions.java,
7578         javax/print/attribute/standard/JobImpressionsCompleted.java,
7579         javax/print/attribute/standard/JobKOctets.java,
7580         javax/print/attribute/standard/JobKOctetsProcessed.java,
7581         javax/print/attribute/standard/JobMediaSheets.java,
7582         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7583         javax/print/attribute/standard/JobMessageFromOperator.java,
7584         javax/print/attribute/standard/JobName.java,
7585         javax/print/attribute/standard/JobOriginatingUserName.java,
7586         javax/print/attribute/standard/JobPriority.java,
7587         javax/print/attribute/standard/JobPrioritySupported.java,
7588         javax/print/attribute/standard/NumberOfDocuments.java,
7589         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7590         javax/print/attribute/standard/NumberUp.java,
7591         javax/print/attribute/standard/OutputDeviceAssigned.java,
7592         javax/print/attribute/standard/PagesPerMinute.java,
7593         javax/print/attribute/standard/PagesPerMinuteColor.java:
7594         Fixed @return tag all over.
7595
7596 2004-05-15  Michael Koch  <konqueror@gmx.de>
7597
7598         * javax/print/attribute/AttributeSetUtilities.java
7599         (verifyCategoryForValue): Fixed typo in javadoc.
7600         * javax/print/attribute/HashAttributeSet.java
7601         (containsKey): Fixed @return tag.
7602         (comtainsValue): Likewise.
7603         (equals): Likewise.
7604         * javax/print/attribute/IntegerSyntax.java
7605         (equals): Likewise.
7606         * javax/print/attribute/ResolutionSyntax.java
7607         (equals): Likewise.
7608         (getCrossFeedResolution): Removed unused code.
7609         (getFeedResolution): Likewise.
7610         * javax/print/attribute/SetOfIntegerSyntax.java
7611         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7612         (equals): Fixed @return tag.
7613         * javax/print/attribute/TextSyntax.java
7614         (TextSyntax): Take locale into account.
7615         (hashCode): Better implementation.
7616
7617 2004-05-15  Michael Koch  <konqueror@gmx.de>
7618
7619         * javax/print/CancelablePrintJob.java,
7620         javax/print/Doc.java,
7621         javax/print/DocFlavor.java,
7622         javax/print/DocPrintJob.java,
7623         javax/print/FlavorException.java,
7624         javax/print/PrintException.java,
7625         javax/print/PrintService.java,
7626         javax/print/ServiceUIFactory.java: New files.
7627
7628 2004-05-15  Mark Wielaard  <mark@klomp.org>
7629
7630         * gnu/regexp/CharIndexedReader.java: Removed.
7631         * gnu/regexp/REFilterReader.java: Likewise.
7632         * gnu/regexp/RETokenLookAhead.java: Likewise.
7633         * Makefile.am (ordinary_java_source_files): Remove above classes.
7634         * Makefile.in: Regenerated.
7635
7636 2004-05-14  Tom Tromey  <tromey@redhat.com>
7637
7638         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7639         not `XGraphicsConfiguration.XOffScreenImage'.
7640
7641 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7642
7643         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7644
7645 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7646
7647         * include/jni.h (_Jv_func): Removed.
7648         (struct JNINativeInterface): Use `void *' for reserved slots.
7649         (struct JNIInvokeInterface): Likewise.
7650
7651 2004-05-11  Michael Koch  <konqueror@gmx.de>
7652
7653         * gnu/java/net/natPlainSocketImplPosix.cc
7654         (read): Fixed typo in expression.
7655
7656 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7657
7658         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7659         ld_library_additions. Adjust all calls to libjava_invoke to match
7660         the new argument.
7661
7662         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7663         path to cxxflagslist.
7664         Pass path of libstdc++ to libjava_invoke.
7665
7666         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7667         libjava_invoke arguments.
7668
7669 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7670
7671         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7672         reality.
7673
7674 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7675
7676         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7677         main binary against the JNI shared library.
7678
7679 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7680
7681         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7682         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7683         (SimpleTimeZone): Tweak docs.  Add new variation.
7684         (setStartRule,setEndRule): Add new variations.  Use
7685         startTimeMode and endTimeMode.
7686
7687 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7688
7689         * java/util/Calendar.java (getActualMinimum,
7690         getActualMaximum):  Remove abstract.  Implement.
7691
7692 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7693
7694         Run the jni tests using the interpreter.
7695         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7696         options_cxx to shared lib compile command.
7697         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7698         they are used to link the shared lib, not the main binary.
7699         Use libjava_invoke to run gij.
7700
7701 2004-05-06  Michael Koch  <konqueror@gmx.de>
7702
7703         * java/util/logging/Level.java
7704         (parse): Use == instead of String.equals().
7705
7706 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7707
7708         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7709         verify_field_signature and verify_method_signature, not 
7710         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7711         (_Jv_ClassReader::handleField): Likewise.
7712         (_Jv_ClassReader::handleMethod): Likewise.
7713
7714 2004-05-06  Michael Koch  <konqueror@gmx.de>
7715
7716         * javax/swing/table/TableColumn.java:
7717         Reformated.
7718
7719 2004-05-06  Michael Koch  <konqueror@gmx.de>
7720
7721         * javax/imageio/spi/ImageReaderWriterSpi.java
7722         (ImageReaderWriterSpi): Made it public.
7723         * javax/imageio/stream/ImageInputStream.java:
7724         Clean up imports.
7725
7726 2004-05-06  Michael Koch  <konqueror@gmx.de>
7727
7728         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7729         Removed empty line.
7730
7731 2004-05-06  Michael Koch  <konqueror@gmx.de>
7732
7733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7734         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7735         New files.
7736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7737         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7738         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7739         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7740         their own source file.
7741         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7742         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7743         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7745         (create): Define variable on top of function.
7746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7747         (menu_pos): Prototyped.
7748         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7749         (setTitle): Removed.
7750         * jni/gtk-peer/gthread-jni.c
7751         (gdk_threads_wake): Removed.
7752         * Makefile.am (gtk_c_source_files): Added new files
7753         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7754         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7755         * Makefile.in: Regenerated.
7756
7757 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7758
7759         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7760         call.
7761
7762 2004-05-05  Mark Wielaard  <mark@klomp.org>
7763
7764         * javax/swing/AbstractButton.java: Replace special HTML entities with
7765         ASCII equivalent.
7766         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7767         * javax/swing/DefaultButtonModel.java: Likewise.
7768         * javax/swing/DefaultListModel.java: Likewise.
7769         * javax/swing/JList.java: Likewise.
7770         * javax/swing/JSlider.java: Likewise.
7771         * javax/swing/ListModel.java: Likewise.
7772         * javax/swing/Popup.java: Likewise.
7773         * javax/swing/SwingUtilities.java: Likewise.
7774
7775 2004-05-05  Michael Koch  <konqueror@gmx.de>
7776
7777         * javax/swing/AbstractButton.java,
7778         javax/swing/ActionMap.java,
7779         javax/swing/DefaultButtonModel.java,
7780         javax/swing/DefaultListModel.java,
7781         javax/swing/ImageIcon.java,
7782         javax/swing/JComboBox.java,
7783         javax/swing/JComponent.java,
7784         javax/swing/JFrame.java,
7785         javax/swing/JInternalFrame.java,
7786         javax/swing/JMenuBar.java,
7787         javax/swing/JMenuItem.java,
7788         javax/swing/JOptionPane.java,
7789         javax/swing/JProgressBar.java,
7790         javax/swing/JRootPane.java,
7791         javax/swing/JScrollBar.java,
7792         javax/swing/JScrollPane.java,
7793         javax/swing/JSeparator.java,
7794         javax/swing/JSlider.java,
7795         javax/swing/JTabbedPane.java,
7796         javax/swing/JTable.java,
7797         javax/swing/JTextField.java,
7798         javax/swing/JToolBar.java,
7799         javax/swing/JToolTip.java,
7800         javax/swing/JTree.java,
7801         javax/swing/JViewport.java,
7802         javax/swing/JWindow.java,
7803         javax/swing/KeyStroke.java,
7804         javax/swing/LookAndFeel.java,
7805         javax/swing/SwingUtilities.java,
7806         javax/swing/Timer.java,
7807         javax/swing/ToolTipManager.java,
7808         javax/swing/UIDefaults.java,
7809         javax/swing/border/TitledBorder.java,
7810         javax/swing/filechooser/FileSystemView.java,
7811         javax/swing/plaf/basic/BasicButtonListener.java,
7812         javax/swing/plaf/basic/BasicButtonUI.java,
7813         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7814         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7815         javax/swing/plaf/basic/BasicLabelUI.java,
7816         javax/swing/plaf/basic/BasicMenuItemUI.java,
7817         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7818         javax/swing/plaf/basic/BasicRootPaneUI.java,
7819         javax/swing/plaf/basic/BasicScrollBarUI.java,
7820         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7821         javax/swing/plaf/basic/BasicSliderUI.java,
7822         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7823         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7824         javax/swing/table/JTableHeader.java,
7825         javax/swing/text/AbstractDocument.java,
7826         javax/swing/text/DefaultCaret.java,
7827         javax/swing/text/StyledEditorKit.java,
7828         javax/swing/tree/DefaultTreeCellEditor.java:
7829         Cleaned up imports.
7830
7831 2004-05-05  Michael Koch  <konqueror@gmx.de>
7832
7833         * java/util/prefs/AbstractPreferences.java
7834         (AbstractPreferences): Added parenthesis for clarity.
7835         Closes classpath bug #7940.
7836
7837 2004-05-05  Tom Tromey  <tromey@redhat.com>
7838
7839         * javax/naming/CompoundName.java (endsWith): Look at correct
7840         element of source name.
7841
7842 2004-05-05  Mark Wielaard  <mark@klomp.org>
7843
7844         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7845         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7846
7847 2004-05-05  Tom Tromey  <tromey@redhat.com>
7848
7849         * java/io/BufferedReader.java (skip): Removed unused
7850         variable.
7851
7852 2004-05-05  Michael Koch  <konqueror@gmx.de>
7853
7854         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7855
7856 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7857
7858         * java/text/AttributedString.java,
7859         java/text/AttributedStringIterator.java,
7860         java/text/Collator.java,
7861         java/text/DecimalFormatSymbols.java,
7862         java/text/NumberFormat.java,
7863         java/text/RuleBasedCollator.java:
7864         Cleaned up imports.
7865
7866 2004-05-05  Tom Tromey  <tromey@redhat.com>
7867
7868         * java/text/Format.java: Cleaned up imports.
7869         * java/text/DecimalFormat.java: Cleaned up imports.
7870         * java/security/SecureRandom.java: Cleaned up imports.
7871         (SecureRandom): Removed unused variable.
7872         * java/security/UnresolvedPermission.java: Cleaned up imports.
7873         * java/util/Date.java (parse): Removed unused variable.
7874         * java/util/ResourceBundle.java: Cleaned up imports.
7875         (getBundle): Removed unused variable.
7876         (tryBundle): Likewise.
7877         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7878
7879 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7880
7881         * java/text/SimpleDateFormat.java:
7882         (formatWithAttribute): New method. It implements
7883         the formatting process with attributes.
7884         (format): Use formatWithAttribute.
7885         (formatToCharacterIterator): New method. Use
7886         formatWithAttribute.
7887
7888 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7889
7890         * java/text/MessageFormat.java:
7891         (class Field): New class.
7892         (formatToCharacterIterator): New method.
7893         (format): Use formatInternal now.
7894         (formatInternal): New method. String formatter should
7895         be done here (with attributes). Attributes merging supported.
7896         (parse): More documentation.
7897         (getFormatsByArgumentIndex): New method.
7898         (setFormatByArgumentIndex): New method.
7899         (setFormatsByArgumentIndex): New method.
7900
7901 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7902
7903         * java/text/DecimalFormat.java
7904         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7905         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7906         (parse): Fixed handling of exponentiation notation and grouping.
7907
7908 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7909
7910         * java/text/DecimalFormat.java
7911         (scanFix): Build attribute array. Fixed error reporting.
7912         (applyPatternWithSymbols): Store attributes for the prefix and
7913         suffix.
7914         (formatInternal): New method. Changed the way the string is
7915         computed. Implemented attributes. Cleant up rounding in
7916         exponential notation.
7917         (format): Use formatInternal.
7918         (formatToCharacterIterator): New method.
7919         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7920         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7921         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7922         New fields.
7923
7924 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7925
7926         * java/security/interfaces/DSAKeyPairGenerator.java,
7927         java/security/interfaces/DSAPrivateKey.java,
7928         java/security/interfaces/DSAPublicKey.java,
7929         java/security/interfaces/RSAPrivateKey.java,
7930         java/security/interfaces/RSAPublicKey.java:
7931         Cleaned up imports.
7932
7933 2004-05-04  Michael Koch  <konqueror@gmx.de>
7934
7935         * java/nio/ByteBuffer.java,
7936         java/nio/CharBuffer.java,
7937         java/nio/DoubleBuffer.java,
7938         java/nio/FloatBuffer.java,
7939         java/nio/IntBuffer.java,
7940         java/nio/LongBuffer.java,
7941         java/nio/ShortBuffer.java:
7942         (compareTo): Fixed bogus implementation in all buffer classes.
7943
7944 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7945
7946         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7947         32 bit pixels not 8 bit pixels.
7948         (isCompatibleRaster): Added javadoc comment.
7949
7950 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7951
7952         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7953         scanline stride.
7954
7955 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7956
7957         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7958         (getColorModel): Return the actual color model.
7959         (getRaster): Implemented.
7960         (ColorRaster): New inner class.
7961         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7962         a PaintContext.
7963         * java/awt/Color.java (<init>): Make exception more verbose.
7964         (createContext): Use ColorModel when creating a PaintContext.
7965
7966 2004-05-04  Michael Koch  <konqueror@gmx.de>
7967
7968         * gnu/java/text/CharacterBreakIterator.java
7969         (previous): Removed unused variable.
7970
7971 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7972
7973         * gnu/java/text/FormatBuffer.java,
7974         gnu/java/text/AttributedFormatBuffer.java,
7975         gnu/java/text/StringFormatBuffer.java: New classes to implement
7976         attributed iterators in java.text.
7977         * gnu/java/text/FormatCharacterIterator.java: Moved 
7978         from java/text as it is an internal class.
7979         * java/text/FormatCharacterIterator.java: Removed.
7980         * java/text/Format.java:
7981         Import gnu.java.text.FormatCharacterIterator.
7982         * Makefile.am (java_source_files): Added new files.
7983         * Makefile.in: Regenerated.
7984         
7985
7986 2004-05-04  Mark Wielaard  <mark@klomp.org>
7987
7988         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7989
7990 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7991
7992         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7993         * Makefile.in: Rebuilt.
7994
7995 2004-05-03  Mark Wielaard  <mark@klomp.org>
7996
7997         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7998         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7999         * java/net/URL.java
8000         (set(String, String, int, String, String, String, String, String)):
8001         Assign this.file to path or path + "?" + query.
8002         * java/util/Arrays.java: Call static methods staticly.
8003         * java/util/zip/ZipEntry.java: Likewise.
8004         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8005         dir to this.direction.
8006         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8007         Assign static field only once.
8008         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8009
8010 2004-05-03  Mark Wielaard  <mark@klomp.org>
8011
8012         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8013         unused variables hScrollbarHeight and vScrollbarWidth.
8014         (preferredSize): Likewise.
8015         * gnu/java/security/provider/DSAParameters.java (engineToString):
8016         Removed unused call to System.getProperty("line.seperator");
8017         * java/security/Security.java (loadProviders): Return result.
8018
8019 2004-05-03  Tom Tromey  <tromey@redhat.com>
8020
8021         * java/net/URLStreamHandler.java (toExternalForm): Removed
8022         unused variables.
8023         unused constructor.
8024         * java/math/BigDecimal.java (divide): Removed unused variable.
8025         * java/lang/Throwable.java: Cleaned up imports.
8026         * java/lang/ClassLoader.java: Cleaned up imports.
8027         * java/io/FilePermission.java (implies): Removed unused
8028         variable.
8029         * java/awt/TextComponent.java: Removed unused import.
8030         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8031         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8032         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8033         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8034         import.
8035         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8036         * gnu/java/text/CharacterBreakIterator.java: Removed
8037         unused import.
8038         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8039         Cleaned up imports.
8040         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8041         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8042         unused method.
8043         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8044         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8045         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8046         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8047         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8048         (lookupProviders): Removed unused variable.
8049         (loadNextServiceProvider): Likewise.
8050         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8051
8052 2004-05-03  Michael Koch  <konqueror@gmx.de>
8053
8054         Fixes PR libgcj/14695:
8055         * java/net/NetworkInterface.java
8056         (getByName): Return null when no interface was found.
8057
8058 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8059             Tom Tromey  <tromey@redhat.com>
8060
8061         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8062         additional option "-Wmissing-prototypes" for compiling C sources.
8063         Print actual filename for pass/fail rather than $name.c.
8064         * testsuite/libjava.jni/PR15133.java: New testcase file.
8065         * testsuite/libjava.jni/PR15133.c: Likewise.
8066         * testsuite/libjava.jni/PR15133.out: Likewise.
8067
8068 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8069
8070         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8071         ceil and floor.
8072
8073 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8074         
8075         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8076         limit the maximum heap size to avoid unnecessary thrashing.
8077
8078 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8079
8080         * java/text/CollationElementIterator.java (reset): Reset
8081         lookahead variables.
8082
8083 2004-04-23  Mark Wielaard  <mark@klomp.org>
8084
8085         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8086
8087 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8088
8089         * java/sql/DriverManager.java:
8090         Cleaned up imports.
8091
8092 2004-04-23  Michael Koch  <konqueror@gmx.de>
8093
8094         * java/net/URL.java
8095         (hashcode): Don't initialize with default value explicitely.
8096         (getContent): Removed redundant "final" keyword.
8097         (openStream): Likewise.
8098         (getURLStreamHandler): Fixed coding style.
8099         * java/net/URLConnection.java
8100         (defaultAllowUserInteraction): Don't initialize with default value
8101         explicitely.
8102         (connected): Likewise.
8103         (doOutput): Likewise.
8104         (ifModifiedSince): Likewise.
8105         (dateformats_initialized): Likewise.
8106         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8107
8108 2004-04-23  Michael Koch  <konqueror@gmx.de>
8109
8110         * gnu/java/nio/channels/FileChannelImpl.java
8111         (SET, CUR): Unused, removed.
8112         (read): Implement here directly.
8113         (implRead): Removed.
8114         (write): Implement here directly.
8115         (implWrite): Removed.
8116
8117 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8118
8119         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8120         javax/rmi/CORBA/Stub.java,
8121         javax/rmi/CORBA/Util.java,
8122         javax/rmi/CORBA/ValueHandler.java,
8123         javax/rmi/CORBA/ValueHandler.java,
8124         javax/rmi/PortableRemoteObject.java:
8125         Cleaned up imports.
8126
8127 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8128
8129         * java/util/jar/JarFile.java,
8130         java/util/jar/JarInputStream.java,
8131         java/util/jar/JarOutputStream.java,
8132         java/util/jar/Manifest.java:
8133         Cleaned up imports.
8134
8135 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8136
8137         * java/util/ArrayList.java,
8138         java/util/Calendar.java,
8139         java/util/Currency.java,
8140         java/util/HashMap.java,
8141         java/util/HashSet.java,
8142         java/util/Hashtable.java,
8143         java/util/LinkedList.java,
8144         java/util/Properties.java,
8145         java/util/PropertyPermission.java,
8146         java/util/TimeZone.java,
8147         java/util/TreeMap.java,
8148         java/util/TreeSet.java,
8149         java/util/Vector.java,
8150         java/util/WeakHashMap.java:
8151         Cleaned up imports.
8152
8153 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8154
8155         * java/util/logging/FileHandler.java,
8156         java/util/logging/Formatter.java,
8157         java/util/logging/Handler.java,
8158         java/util/logging/Logger.java,
8159         java/util/logging/SimpleFormatter.java,
8160         java/util/logging/XMLFormatter.java:
8161         Cleaned up imports.
8162
8163 2004-04-22  Mark Wielaard  <mark@klomp.org>
8164
8165         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8166         -Wno-long-long flags variable.
8167         (gtk_c_files): Use PEDANTIC_CFLAGS.
8168         * Makefile.in: Regenerated.
8169
8170 2004-04-22  Mark Wielaard  <mark@klomp.org>
8171
8172         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8173         Changed C++ comments into C comments.
8174         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8175         Likewise.
8176
8177 2004-04-22  Michael Koch  <konqueror@gmx.de>
8178
8179         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8180         Merged copyright year with GNU classpath.
8181
8182 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8183
8184         * javax/security/auth/x500/X500Principal.java:
8185         Cleaned up imports.
8186
8187 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8188
8189         * javax/swing/JSlider.java:
8190         Fixed HTML tags in comments.
8191
8192 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8193
8194         * javax/accessibility/AccessibleText.java:
8195         Cleaned up imports.
8196
8197 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8198
8199         * java/net/URLStreamHandler.java
8200         (parseURL): Convert the file path to using '/' instead of native
8201         file separator.
8202
8203 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8204
8205         * java/net/URL.java
8206         (userInfo): New field.
8207         (URL): Set authority to the right value.
8208         (setURL): Fixed authority and file initialization.
8209         * java/net/URLStreamHandler.java
8210         (parseURL): Take care of the query tag. Build authority.
8211         (toExternalForm): Fixed URL building using authority.
8212
8213 2004-04-22  Michael Koch  <konqueror@gmx.de>
8214
8215         * java/net/Socket.java
8216         (impl): Made package-private.
8217         * java/net/ServerSocket.java
8218         (implAccept): Access Socket.impl field directly.
8219
8220 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8221
8222         * java/util/prefs/Preferences.java,
8223         java/util/prefs/InvalidPreferencesFormatException.java,
8224         java/util/prefs/BackingStoreException.java,
8225         java/util/prefs/AbstractPreferences.java:
8226         Cleaned up imports.
8227
8228 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8229
8230         * java/util/regex/Matcher.java,
8231         java/util/regex/Pattern.java:
8232         Cleaned up imports.
8233
8234 2004-04-22  Michael Koch  <konqueror@gmx.de>
8235
8236         * java/nio/charset/IllegalCharsetNameException.java
8237         (charsetName): Made private.
8238         (IllegalCharsetNameException): Added @param tag to javadoc.
8239         (getCharsetName): Added @return tag to javadoc.
8240         * java/nio/charset/MalformedInputException.java
8241         (MalformedInputException): Added @param tag to javadoc.
8242         (getInputLength): Revised method description, added @return tag.
8243         (getMessage): Added @return tag.
8244
8245 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8246
8247         * java/awt/Font.java (deriveFont): Implement missing variants.
8248         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8249         missing variants.
8250
8251 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8252
8253         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8254         Set method->index values for interface methods to their itable index.
8255         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8256
8257 2004-04-21  Michael Koch  <konqueror@gmx.de>
8258
8259         * java/nio/DirectByteBufferImpl.java
8260         (shiftDown): Made static, give address as argument and
8261         provide a convenience method that overwrites shiftDown in
8262         ByteBufferImpl and calls the native shiftDown.
8263         * java/nio/MappedByteBufferImpl.java
8264         (): Use optimized method in DirectByteBufferImpl.
8265         * java/nio/natDirectByteBufferImpl.cc
8266         (shiftDown): Changed method signature. Removed usage of array_offset.
8267
8268 2004-04-21  Michael Koch  <konqueror@gmx.de>
8269
8270         * gnu/java/net/natPlainSocketImplPosix.cc
8271         (SocketInputStream::read): Make sure returned data is a byte value.
8272
8273 2004-04-21  Michael Koch  <konqueror@gmx.de>
8274
8275         * gnu/classpath/ServiceFactory.java,
8276         gnu/classpath/ServiceProviderLoadingAction.java,
8277         javax/imageio/ImageReader.java,
8278         javax/imageio/ImageTranscoder.java,
8279         javax/imageio/ImageWriter.java,
8280         javax/imageio/package.html,
8281         javax/imageio/spi/IIOServiceProvider.java,
8282         javax/imageio/spi/ImageInputStreamSpi.java,
8283         javax/imageio/spi/ImageOutputStreamSpi.java,
8284         javax/imageio/spi/ImageReaderWriterSpi.java,
8285         javax/imageio/spi/ImageTranscoderSpi.java,
8286         javax/imageio/spi/RegisterableService.java,
8287         javax/imageio/spi/ServiceRegistry.java,
8288         javax/imageio/spi/package.html,
8289         javax/imageio/stream/IIOByteBuffer.java,
8290         javax/imageio/stream/ImageInputStream.java,
8291         javax/imageio/stream/ImageOutputStream.java,
8292         javax/imageio/stream/package.html:
8293         New files.
8294         * Makefile.am
8295         (ordinary_java_source_files): Added
8296         gnu/classpath/ServiceFactory.java and
8297         gnu/classpath/ServiceProviderLoadingAction.java.
8298         (javax_source_files): Added
8299         javax/imageio/ImageReader.java,
8300         javax/imageio/ImageTranscoder.java,
8301         javax/imageio/ImageWriter.java,
8302         javax/imageio/spi/IIOServiceProvider.java,
8303         javax/imageio/spi/ImageInputStreamSpi.java,
8304         javax/imageio/spi/ImageOutputStreamSpi.java,
8305         javax/imageio/spi/ImageReaderWriterSpi.java,
8306         javax/imageio/spi/ImageTranscoderSpi.java,
8307         javax/imageio/spi/RegisterableService.java,
8308         javax/imageio/spi/ServiceRegistry.java,
8309         javax/imageio/stream/IIOByteBuffer.java,
8310         javax/imageio/stream/ImageInputStream.java and
8311         javax/imageio/stream/ImageOutputStream.java.
8312         * Makefile.in: Regenerated.
8313
8314 2004-04-21  Michael Koch  <konqueror@gmx.de>
8315
8316         * java/util/Properties.java
8317         (load): Fix wrongly merged fix.
8318
8319 2004-04-21  Mark Wielaard  <mark@klomp.org>
8320
8321         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8322         malloc and free buf.
8323
8324 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8325
8326         * javax/naming/AuthenticationException.java,
8327         javax/naming/AuthenticationNotSupportedException.java,
8328         javax/naming/CannotProceedException.java,
8329         javax/naming/CommunicationException.java,
8330         javax/naming/CompoundName.java,
8331         javax/naming/ConfigurationException.java,
8332         javax/naming/ContextNotEmptyException.java,
8333         javax/naming/InitialContext.java,
8334         javax/naming/InsufficientResourcesException.java,
8335         javax/naming/InterruptedNamingException.java,
8336         javax/naming/LimitExceededException.java,
8337         javax/naming/LinkException.java,
8338         javax/naming/LinkLoopException.java,
8339         javax/naming/LinkRef.java,
8340         javax/naming/MalformedLinkException.java,
8341         javax/naming/Name.java,
8342         javax/naming/NameAlreadyBoundException.java,
8343         javax/naming/NameNotFoundException.java,
8344         javax/naming/NamingSecurityException.java,
8345         javax/naming/NoInitialContextException.java,
8346         javax/naming/NoPermissionException.java,
8347         javax/naming/NotContextException.java,
8348         javax/naming/PartialResultException.java,
8349         javax/naming/ReferralException.java,
8350         javax/naming/ServiceUnavailableException.java,
8351         javax/naming/SizeLimitExceededException.java,
8352         javax/naming/TimeLimitExceededException.java,
8353         javax/naming/directory/Attribute.java,
8354         javax/naming/directory/Attributes.java,
8355         javax/naming/directory/SearchResult.java,
8356         javax/naming/event/NamingExceptionEvent.java,
8357         javax/naming/spi/ResolveResult.java:
8358         Cleaned up imports.
8359
8360 2004-04-21  Mark Wielaard  <mark@klomp.org>
8361
8362         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8363         Changed C++ comments into C comments. Removed commented out code.
8364         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8365         Likewise.
8366         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8367         Likewise.
8368         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8369         Likewise.
8370         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8371         Likewise.
8372         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8373         Likewise.
8374         * native/jni/gtk-peer/gthread-jni.c:
8375         Likewise.
8376
8377 2004-04-21  Mark Wielaard  <mark@klomp.org>
8378
8379         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8380         static fields defined in interface.
8381         * javax/awt/JDialog.java: Likewise.
8382         (JDialog): Make constructors public.
8383         (getDefaultCloseOperation): Make public.
8384         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8385         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8386         * javax/swing/JViewport.java (JViewport): Make constructor public.
8387
8388 2004-04-21  Michael Koch  <konqueror@gmx.de>
8389
8390         * java/util/Map.java
8391         (Entry): Removed redundant "static" modifier.
8392         * java/text/AttributedCharacterIterator.java:
8393         Updated copyright year.
8394
8395 2004-04-20  Michael Koch  <konqueror@gmx.de>
8396
8397         * javax/naming/directory/SearchControls.java:
8398         Don't explicitely extend java.lang.Object.
8399         * javax/naming/spi/DirStateFactory.java:
8400         Merged copyright year with GNU classpath.
8401
8402 2004-04-20  Michael Koch  <konqueror@gmx.de>
8403
8404         * java/nio/channels/Channels.java:
8405         Merged coding style with GNU classpath.
8406
8407 2004-04-20  Michael Koch  <konqueror@gmx.de>
8408
8409         * java/net/ServerSocket.java
8410         Merged coding style from GNU classpath.
8411
8412 2004-04-20  Michael Koch  <konqueror@gmx.de>
8413
8414         * java/io/BufferedWriter.java:
8415         Reordered variables to be at top of the class.
8416         (localFlush): Removed redundant final keyword.
8417
8418 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8419
8420         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8421
8422 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8423
8424         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8425         for percent and permill check.
8426
8427 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8428
8429         * java/text/FieldPosition.java
8430         (FieldPosition) Constructor now behaves as it should according
8431         to the java documentation.
8432
8433 2004-04-20  Mark Wielaard  <mark@klomp.org>
8434
8435         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8436         documentation.
8437
8438 2004-04-20  Michael Koch  <konqueror@gmx.de>
8439
8440         * java/nio/Buffer.java,
8441         java/nio/channels/AlreadyConnectedException.java,
8442         java/nio/channels/AsynchronousCloseException.java,
8443         java/nio/channels/ByteChannel.java,
8444         java/nio/channels/CancelledKeyException.java,
8445         java/nio/channels/Channel.java,
8446         java/nio/channels/Channels.java,
8447         java/nio/channels/ClosedByInterruptException.java,
8448         java/nio/channels/ClosedChannelException.java,
8449         java/nio/channels/ClosedSelectorException.java,
8450         java/nio/channels/ConnectionPendingException.java,
8451         java/nio/channels/DatagramChannel.java,
8452         java/nio/channels/FileChannel.java,
8453         java/nio/channels/FileLock.java,
8454         java/nio/channels/FileLockInterruptionException.java,
8455         java/nio/channels/GatheringByteChannel.java,
8456         java/nio/channels/IllegalBlockingModeException.java,
8457         java/nio/channels/IllegalSelectorException.java,
8458         java/nio/channels/InterruptibleChannel.java,
8459         java/nio/channels/NoConnectionPendingException.java,
8460         java/nio/channels/NonReadableChannelException.java,
8461         java/nio/channels/NonWritableChannelException.java,
8462         java/nio/channels/NotYetBoundException.java,
8463         java/nio/channels/NotYetConnectedException.java,
8464         java/nio/channels/OverlappingFileLockException.java,
8465         java/nio/channels/Pipe.java,
8466         java/nio/channels/ReadableByteChannel.java,
8467         java/nio/channels/ScatteringByteChannel.java,
8468         java/nio/channels/SelectableChannel.java,
8469         java/nio/channels/SelectionKey.java,
8470         java/nio/channels/Selector.java,
8471         java/nio/channels/ServerSocketChannel.java,
8472         java/nio/channels/SocketChannel.java,
8473         java/nio/channels/UnresolvedAddressException.java,
8474         java/nio/channels/UnsupportedAddressTypeException.java,
8475         java/nio/channels/WritableByteChannel.java,
8476         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8477         java/nio/channels/spi/AbstractSelectableChannel.java,
8478         java/nio/channels/spi/AbstractSelectionKey.java,
8479         java/nio/channels/spi/AbstractSelector.java,
8480         java/nio/channels/spi/SelectorProvider.java,
8481         java/nio/charset/spi/CharsetProvider.java:
8482         Fixed javadocs and jalopied all over java.nio.
8483
8484 2004-04-20  Michael Koch  <konqueror@gmx.de>
8485
8486         * java/nio/ByteBufferImpl.java,
8487         java/nio/CharBufferImpl.java,
8488         java/nio/DirectByteBufferImpl.java,
8489         java/nio/DoubleBufferImpl.java,
8490         java/nio/DoubleViewBufferImpl.java,
8491         java/nio/FloatBufferImpl.java,
8492         java/nio/FloatViewBufferImpl.java,
8493         java/nio/IntBufferImpl.java,
8494         java/nio/IntViewBufferImpl.java,
8495         java/nio/LongBufferImpl.java,
8496         java/nio/LongViewBufferImpl.java,
8497         java/nio/MappedByteBufferImpl.java,
8498         java/nio/ShortBufferImpl.java,
8499         java/nio/ShortViewBufferImpl.java:
8500         Made sure all classes are final and removed final keyword from all
8501         methods.
8502
8503 2004-04-20  Michael Koch  <konqueror@gmx.de>
8504
8505         * java/rmi/MarshalledObject.java,
8506         java/rmi/Naming.java,
8507         java/rmi/RemoteException.java,
8508         java/rmi/activation/ActivationException.java,
8509         java/rmi/server/ServerCloneException.java,
8510         java/security/AccessController.java,
8511         java/security/AlgorithmParameterGenerator.java,
8512         java/security/AlgorithmParameters.java,
8513         java/security/CodeSource.java,
8514         java/security/Identity.java,
8515         java/security/IdentityScope.java,
8516         java/security/KeyPairGenerator.java,
8517         java/security/KeyStore.java,
8518         java/security/Security.java,
8519         java/security/Signature.java,
8520         java/security/SignatureSpi.java,
8521         java/security/SignedObject.java,
8522         java/security/spec/DSAParameterSpec.java,
8523         java/security/spec/DSAPrivateKeySpec.java,
8524         java/security/spec/DSAPublicKeySpec.java,
8525         java/sql/Array.java,
8526         java/sql/DatabaseMetaData.java,
8527         java/sql/ResultSet.java,
8528         java/text/ChoiceFormat.java,
8529         java/text/CollationElementIterator.java,
8530         java/text/CollationKey.java,
8531         java/text/Collator.java,
8532         java/text/DateFormat.java,
8533         java/text/DateFormatSymbols.java,
8534         java/text/DecimalFormatSymbols.java,
8535         java/text/Format.java,
8536         java/text/ParsePosition.java,
8537         java/text/RuleBasedCollator.java,
8538         java/text/SimpleDateFormat.java,
8539         java/text/StringCharacterIterator.java,
8540         java/util/Collections.java,
8541         java/util/PropertyResourceBundle.java,
8542         java/util/ResourceBundle.java,
8543         java/util/StringTokenizer.java,
8544         java/util/jar/Attributes.java,
8545         java/util/logging/ConsoleHandler.java,
8546         java/util/logging/LogManager.java,
8547         java/util/logging/MemoryHandler.java,
8548         java/util/logging/SocketHandler.java,
8549         javax/naming/NamingException.java:
8550         Fixed javadoc, coding style and argument names all over.
8551
8552 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8553
8554         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8555         constructor. (valid) Added null check.
8556
8557 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8558
8559         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8560         * java/io/FileOutputStream.java
8561         (FileOutputStream) Reorganized constructors. Constructors now
8562         check whether the given path is directory.
8563
8564 2004-04-20  Michael Koch  <konqueror@gmx.de>
8565
8566         * java/net/Authenticator.java,
8567         java/net/BindException.java,
8568         java/net/ConnectException.java,
8569         java/net/ContentHandler.java,
8570         java/net/ContentHandlerFactory.java,
8571         java/net/DatagramPacket.java,
8572         java/net/DatagramSocket.java,
8573         java/net/DatagramSocketImpl.java,
8574         java/net/DatagramSocketImplFactory.java,
8575         java/net/FileNameMap.java,
8576         java/net/HttpURLConnection.java,
8577         java/net/Inet4Address.java,
8578         java/net/Inet6Address.java,
8579         java/net/InetAddress.java,
8580         java/net/InetSocketAddress.java,
8581         java/net/JarURLConnection.java,
8582         java/net/MalformedURLException.java,
8583         java/net/MulticastSocket.java,
8584         java/net/NetPermission.java,
8585         java/net/NetworkInterface.java,
8586         java/net/NoRouteToHostException.java,
8587         java/net/PasswordAuthentication.java,
8588         java/net/PortUnreachableException.java,
8589         java/net/ProtocolException.java,
8590         java/net/ServerSocket.java,
8591         java/net/Socket.java,
8592         java/net/SocketAddress.java,
8593         java/net/SocketException.java,
8594         java/net/SocketImpl.java,
8595         java/net/SocketImplFactory.java,
8596         java/net/SocketOptions.java,
8597         java/net/SocketPermission.java,
8598         java/net/SocketTimeoutException.java,
8599         java/net/URI.java,
8600         java/net/URISyntaxException.java,
8601         java/net/URL.java,
8602         java/net/URLClassLoader.java,
8603         java/net/URLConnection.java,
8604         java/net/URLDecoder.java,
8605         java/net/URLEncoder.java,
8606         java/net/URLStreamHandler.java,
8607         java/net/URLStreamHandlerFactory.java,
8608         java/net/UnknownHostException.java,
8609         java/net/UnknownServiceException.java:
8610         Fixed javadocs, coding style and argument names all over.
8611
8612 2004-04-20  Michael Koch  <konqueror@gmx.de>
8613
8614         * java/lang/Byte.java,
8615         java/lang/CharSequence.java,
8616         java/lang/ClassLoader.java,
8617         java/lang/Compiler.java,
8618         java/lang/Double.java,
8619         java/lang/Float.java,
8620         java/lang/Integer.java,
8621         java/lang/Long.java,
8622         java/lang/Math.java,
8623         java/lang/Number.java,
8624         java/lang/Package.java,
8625         java/lang/Runtime.java,
8626         java/lang/RuntimePermission.java,
8627         java/lang/SecurityManager.java,
8628         java/lang/Short.java,
8629         java/lang/StringBuffer.java,
8630         java/lang/System.java,
8631         java/lang/ThreadGroup.java,
8632         java/lang/Throwable.java,
8633         java/lang/reflect/InvocationHandler.java,
8634         java/lang/reflect/Proxy.java:
8635         Fixed javadocs, coding style and argument names all over.
8636
8637 2004-04-20  Michael Koch  <konqueror@gmx.de>
8638
8639         * java/io/BufferedWriter.java,
8640         java/io/ByteArrayInputStream.java,
8641         java/io/CharArrayWriter.java,
8642         java/io/DataInput.java,
8643         java/io/DataInputStream.java,
8644         java/io/File.java,
8645         java/io/FilterInputStream.java,
8646         java/io/InputStream.java,
8647         java/io/InputStreamReader.java,
8648         java/io/ObjectInputStream.java,
8649         java/io/ObjectStreamClass.java,
8650         java/io/PipedInputStream.java,
8651         java/io/PipedReader.java,
8652         java/io/PushbackInputStream.java,
8653         java/io/PushbackReader.java,
8654         java/io/RandomAccessFile.java,
8655         java/io/SerializablePermission.java,
8656         java/io/StreamTokenizer.java,
8657         java/io/StringWriter.java,
8658         java/io/WriteAbortedException.java,
8659         java/io/Writer.java:
8660         Fixed javadocs all over, rename arguments to match javadocs,
8661         fixed coding style.
8662
8663 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8664
8665         * java/awt/FontMetrics.java:
8666         (charsWidth): fixed accumulation of total_width
8667         (getWidth): simple default implementation
8668         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8669         in Rectangle constructor.
8670         * java/awt/image/Raster.java (toString): Added method. 
8671         * java/awt/image/SampleModel.java (<init>): Added error cause
8672         information to thrown exception.
8673         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8674         New method.
8675         (setDataElements): New method.
8676         (setPixels): New method.
8677         (toString): New method.
8678
8679 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8680
8681         * java/awt/image/ComponentColorModel.java
8682         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8683         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8684         Mauve tests on this method. Improved documentation.
8685
8686 2004-04-20  Michael Koch  <konqueror@gmx.de>
8687
8688         * javax/swing/JLayeredPane.java,
8689         javax/swing/plaf/BorderUIResource.java,
8690         javax/swing/plaf/ComponentUI.java,
8691         javax/swing/undo/CompoundEdit.java,
8692         javax/swing/undo/StateEdit.java:
8693         Fixed HTML tags in javadocs all over.
8694
8695 2004-04-20  Michael Koch  <konqueror@gmx.de>
8696
8697         * javax/print/attribute/EnumSyntax.java
8698         (getOffset): Made protected.
8699         * javax/print/attribute/HashAttributeSet.java
8700         (HashAttributeSet): Likewise.
8701         * javax/print/attribute/ResolutionSyntax.java
8702         (getFeedResolution): Fixed typo in exception name.
8703         (getCrossFeedResolution): Likewise.
8704         * javax/print/attribute/SetOfIntegerSyntax.java
8705         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8706         * javax/print/attribute/TextSyntax.java
8707         (TextSyntax): Handle locale correctly.
8708         (hashCode): Calc better hashcode value.
8709         (equals): Fixed @return tag.
8710         (toString): New method.
8711
8712 2004-04-20  Michael Koch  <konqueror@gmx.de>
8713
8714         * gnu/java/nio/FileLockImpl.java
8715         (static): Removed, not needed anymore.
8716         * gnu/java/nio/channels/FileChannelImpl.java
8717         (FileChannelImpl): Made final.
8718         (mode): Made private.
8719         (READ, WRITE, APPEND): Made public.
8720         (EXCL, SYNC, DSYNC): Likewise.
8721         (static): Load native JNI library, when needed.
8722         (length): Unused, removed.
8723         (available): Made public.
8724         (implPosition): Throws IOException.
8725         (seek): Likewise.
8726         (implTruncate): Likewise.
8727         (unlock): Likewise.
8728         (lock): Likewise.
8729
8730 2004-04-20  Michael Koch  <konqueror@gmx.de>
8731
8732         * java/awt/AWTPermission.java,
8733         java/awt/Component.java,
8734         java/awt/ComponentOrientation.java,,
8735         java/awt/Dialog.java,
8736         java/awt/FontMetrics.java,
8737         java/awt/Graphics.java,
8738         java/awt/datatransfer/DataFlavor.java,
8739         java/beans/Introspector.java,
8740         java/beans/PropertyEditor.java,
8741         java/beans/PropertyEditorManager.java,
8742         java/beans/beancontext/BeanContextServiceProvider.java:
8743         Fixed HTML tags in javadocs all over.
8744
8745 2004-04-20  Mark Wielaard  <mark@klomp.org>
8746
8747         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8748         MissingResourceException is thrown.
8749         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8750         null when a MissingResourceException is thrown. Should never happen.
8751
8752 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8753
8754         * java/awt/image/DataBufferShort.java,
8755         java/awt/image/DataBufferFloat.java,
8756         java/awt/image/DataBufferDouble.java,
8757         java/awt/image/PixelInterleavedSampleModel.java: New files.
8758         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8759         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8760
8761 2004-04-20  Michael Koch  <konqueror@gmx.de>
8762
8763         * Makefile.am (java_source_files): Added
8764         java/awt/image/DataBufferDouble.java,
8765         java/awt/image/DataBufferFloat.java,
8766         java/awt/image/DataBufferShort.java and
8767         java/awt/image/PixelInterleavedSampleModel.java.
8768         * Makefile.in: Regenerated.
8769
8770 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8771  
8772         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8773         undocumented CNI calls.
8774         * include/java-interp.h (_Jv_InterpClass): No longer
8775         extends java.lang.Class.
8776         * java/lang/Class.h (Class): Add new field `aux_info'.
8777         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8778         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8779         Use Class->aux_info instead.
8780         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8781         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8782         Use Class->aux_info instead.
8783         * java/io/natObjectInputStream.cc (allocateObject): Use
8784         _Jv_AllocObject.
8785         * java/lang/natClass.cc (newInstance): Likewise.
8786         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8787         * java/lang/natObject.cc (clone): Likewise.
8788         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8789         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8790         JvAllocObject. Allocate klass->aux_info here for interpreted
8791         class.
8792         
8793 2004-04-17  Mark Wielaard  <mark@klomp.org>
8794
8795         * javax/swing/JToggleButton.java (ToggleButtonModel):
8796         Make public static inner class.
8797         * javax/swing/JTabbedPane.java (setComponentAt):
8798         Call Page.setComponent().
8799         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8800         (WRAP_TAB_LAYOUT): Make public, value is 0.
8801         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8802         Make private static inner class.
8803
8804 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8805
8806         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8807         arguments to match new signature. Remove FIXME comments.
8808
8809 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8810
8811         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8812         Remove method.
8813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8814         unused code.
8815
8816 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8817
8818         * Makefile.am: Added new file.
8819         * Makefile.in: Regenerate.
8820         * javax/swing/ImageIcon.java: 
8821         (ImageIcon(file)): set description of the icon 
8822         to the file name
8823         * javax/swing/JCheckBoxMenuItem.java:
8824         Mostly Implemented. Work in progress.
8825         * javax/swing/JRadioButtonMenuItem.java:
8826         Reimplement constructors to use JToggleButtonModel.
8827         * javax/swing/plaf/basic/BasicIconFactory.java:
8828         (getCheckBoxMenuItemIcon): return check box
8829         icon.
8830         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8831         paint menu item selected only when it is armed and 
8832         pressed. 
8833  
8834 2004-04-02  David Jee  <djee@redhat.com>
8835
8836         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8837         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8838         * java/awt/Component.java
8839         (add): Set the parent of the popup as this component.
8840         * java/awt/PopupMenu.java
8841         (addNotify): Create popup menu when peer is null.
8842         (show): Call addNotify() if peer is null.
8843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8844         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8845         argument for gtk_menu_popup() as zero. This causes the popup menu to
8846         respond to any mouse button.
8847
8848 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8849
8850         * Makefile.am: Added new file.
8851         * Makefile.in: Regenerate.
8852         * javax/swing/JRadioButtonMenuItem.java:
8853         Implemented.
8854         * javax/swing/plaf/basic/BasicIconFactory.java:
8855         (getRadioButtonMenuItemIcon): Return
8856         radio button icon.
8857         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8858         (getPreferredSize): Add size of checkIcon if it
8859         exists.
8860         (installDefaults): Don't initialize checkIcon.
8861         It's value will be set in subclasses. 
8862         (uninstallDefaults): remove uninstallation of 
8863         checkIcon.
8864         (paint): Moved code to paintMenuItem().
8865         (paintMenuItem): Implemented.
8866         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8867         UI delegate for JRadioButtonMenuItem.
8868         
8869 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8870
8871         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8872         Corrected position of the accelerator.
8873
8874 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8875
8876         * Makefile.am: Added new file. 
8877         * Makefile.in: Regenerate.
8878         * javax/swing/JMenuItem.java: Partly 
8879         implemented. Work in progress
8880         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8881         Changed default value of acceleratorDelimiter.
8882         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8883         New class. Partly implemented.
8884                 
8885 2004-03-26  Mark Wielaard  <mark@klomp.org>
8886
8887         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8888         (item_activate): Declare label before use.
8889         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8890         (gtkSetFont): Removed unused variable label.
8891         (addExposeFilter): Declare variables before use.
8892         (removeExposeFilter): Likewise.
8893         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8894         (ok_clicked): Declare str_fileName before use.
8895
8896 2004-03-26  David Jee  <djee@redhat.com>
8897
8898         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8899         (addSeparator): Remove.
8900         * java/awt/Menu.java
8901         (separator): Remove static final MenuItem field.
8902         (separatorLabel): New static final String field.
8903         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8904         Use separatorLabel to denote that it is a separator.
8905         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8906         of reusing the static separator instance, because a MenuItem instance
8907         can't be added more than once without being cloned.
8908         * java/awt/peer/MenuPeer.java
8909         (addSeparator): Remove from interface.
8910
8911 2004-03-26  David Jee  <djee@redhat.com>
8912
8913         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8914         (connectSignals): New native method declaration.
8915         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8916         * java/awt/MenuItem.java
8917         (getActionCommand): Return the label if the action command is not set.
8918         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8919         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8920         gtk_menu_shell_append().
8921         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8922         (item_activate): Fix argument type.
8923         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8924         signal here.
8925         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8926         method.
8927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8928         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8929         given. Add the menu widget's top-level GtkWindow to the global window
8930         group, so it can grab the pointer.
8931         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8932         gtk_menu_shell_append().
8933
8934 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8935
8936         * java/text/AttributedString.java 
8937         (addAttribute): Fix off-by-one.
8938         (getIterator): Likewise.        
8939         * java/text/AttributedStringIterator.java 
8940         (getRunLimit): Correct logic.
8941         (getRunStart): Likewise.
8942         (getAttribute): Fix inequality.
8943         (getAttributes): Likewise.
8944         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8945
8946 2004-03-23  Kim Ho  <kho@redhat.com>
8947
8948         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8949         (calculateSizes): Return real width and height.
8950
8951 2004-03-23  Kim Ho  <kho@redhat.com>
8952
8953         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8954         (calculateTabRects): Set the selectedRun before
8955         trying to rotate tabs.
8956
8957 2004-03-23  Kim Ho  <kho@redhat.com>
8958
8959         * Makefile.am: New file
8960         * Makefile.in: Regenerate
8961         * java/awt/Graphics.java: (drawRect):
8962         Draw to the correct point.
8963         * javax/swing/DefaultSingleSelectionModel.java
8964         (isSelected): Return true if the selected index
8965         is not -1.
8966         * javax/swing/JLabel.java: Do not change mnemonic
8967         index if text is null.
8968         * javax/swing/JProgressBar.java: Use JComponent's
8969         EventListenerList.
8970         * javax/swing/JScrollBar.java: Ditto.
8971         * javax/swing/JSlider.java: Ditto.
8972         * javax/swing/JTabbedPane.java: Reimplement.
8973         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8974         Add defaults for TabbedPane.
8975         * javax/swing/plaf/basic/BasicArrowButton.java:
8976         Implement
8977         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8978         (paintDeterminate): Don't paint String if it's
8979         empty.
8980         (paintIndeterminate): ditto.
8981         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8982         Reimplement.
8983
8984 2004-03-19  Michael Koch  <konqueror@gmx.de>
8985
8986         * java/awt/image/AffineTransformOp.java
8987         (AffineTransformOp): Made public.
8988         * javax/swing/JComponent.java
8989         (listenerList): Made protected.
8990         (accessibleContext): Likewise.
8991         * javax/swing/JList.java
8992         (valueChanged): Dont use internal fields of ListSelectionEvent.
8993         * javax/swing/JViewport.java
8994         (getView): Dont use internal fields of Component.
8995         (addImpl): Likewise.
8996         * javax/swing/Timer.java
8997         (isRunning): Made public.
8998         (start): Likewise.
8999         (stop): Likewise.
9000         * javax/swing/UIDefaults.java
9001         (getInt): Made public.
9002         * javax/swing/plaf/basic/BasicListUI.java
9003         (mousePressed): Dont use internal fields of MouseEvent.
9004         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9005         * javax/swing/plaf/basic/BasicScrollBarUI.java
9006         (arrowIcon): Made static.
9007         * javax/swing/plaf/basic/BasicViewportUI.java
9008         (stateChanged): Dont use internal field on ChangeEvent.
9009         * javax/swing/text/JTextComponent.java
9010         (getUI): Call UIManager.getUI().
9011         (updateUI): Use getUI().
9012
9013 2004-03-19  Graydon Hoare  <graydon@redhat.com>
9014
9015         * javax/swing/JComponent.java: Turn off double buffer by default.
9016         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9017         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9018         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
9019         Use cairo to copy areas.
9020         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9021         Initialize and set clip region.
9022
9023 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
9024
9025         * java/applet/Applet.java (preferredSize): Override deprecated
9026         variant of getPreferredSize.
9027         (minimumSize): Override deprecated variant of getMinimumSize.
9028
9029 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
9030
9031         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9032         (drawImage(img,xform,bgcolor,obs)): New Method.
9033         Helper function that every drawImage method will
9034         use.
9035         (drawRaster): Added new parameter, bgcolor. All
9036         transparent pixels are changed to bgcolor before 
9037         image is drawn.
9038         (drawRenderedImage): Fixed to use changed drawRaster().
9039         (drawImage(image,xform,obs): Fixed to use new helper function 
9040         (drawImage(image,op,x,y)): Ditto.
9041         (drawImage (img,x,y,observer)): Ditto.
9042         ((PainterThread) bgcolor): New Field.
9043         ((PainterThread) (setPixels)): Changed all transparent pixels 
9044         to bgcolor.     
9045         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9046         Fixed FIXME - all the transparent pixels are 
9047         changed to the specified bgcolor. 
9048         (drawImage(img, x, y, width, height, observer): Changed to 
9049         use function above.
9050         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9051         Fixed FIXME- changed all transparent pixels to bgcolor.
9052         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9053         Changed to use function above. 
9054
9055 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9056
9057         * java/applet/Applet.java (dimensions): New field.
9058         (getDimensions): New method.
9059         (getPreferredSize): Call getDimensions.
9060         (getMinimumSize): Likewise.
9061
9062 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9063
9064         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9065         * jni/classpath/jnilink.c: Likewise.
9066
9067         * java/applet/Applet.java (getPreferredSize): New method.
9068         (getMinimumSize): New method.
9069
9070 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9071
9072         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9073         (_Jv_AllocObjectNoFinalizer): Likewise.
9074         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9075         (_Jv_AllocPtrFreeObject): Likewise.
9076         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9077         directly even in the JVMPI case.        
9078         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9079         _Jv_AllocObject calls.
9080         * gcj/javaprims.h: Update prototypes.
9081         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9082         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9083         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9084
9085 2004-04-14  Andrew Haley  <aph@redhat.com>
9086             Bryce McKinlay  <mckinlay@redhat.com>
9087
9088         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9089         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9090         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9091
9092         * testsuite/libjava.lang/InvokeInterface.java: New file.
9093         * testsuite/libjava.lang/InvokeInterface.out: New file.
9094
9095 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9096         
9097         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9098         modified lookup().
9099         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9100         StackTraceElement directly.
9101         (newElement): New native helper method to create StackTraceElement
9102         bypassing Java access control.
9103         (createStackTraceElement): Use newElement() instead of directly
9104         calling StackTraceElement's constructor.
9105         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9106
9107 2004-04-01  Michael Koch  <konqueror@gmx.de>
9108
9109         * java/lang/SecurityManager.java
9110         (checkAwtEventQueueAccess): Implemented.
9111
9112 2004-04-01  Gary Benson  <gbenson@redhat.com>
9113
9114         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9115         (_Jv_SearchMethodInClass): Likewise.
9116
9117 2004-03-26  Peter Moon  <peterm@miraculum.com>
9118
9119         * java/text/NumberFormat.java: Fix spelling of setCurrency
9120         method.
9121
9122 2004-03-21  Anthony Green  <green@redhat.com>
9123
9124         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9125         recursion when searching for the system ClassLoader.
9126
9127 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9128
9129         * java/net/ServerSocket.java
9130         (accept): Close the socket when error occured.
9131
9132 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9133
9134         * java/net/URI.java (parseURI): Added unquoting.
9135         (unquote): New method.
9136         (quoteAuthority): Implemented.
9137         (quote(String,String)): New method.
9138         (quotePath): Implemented.
9139         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9140         (getSchemeSpecificPart): Removed FIXME comment.
9141         (getRawAuthority): Return new rawAuthority field.
9142         (getAuthority): Removed FIXME comment.
9143         (getRawUserInfo): Return new rawUserInfo field.
9144         (getUserInfo): Removed FIXME comment.
9145         (getRawPath): Return new rawPath field.
9146         (getPath): Removed FIXME comment.
9147         (getRawQuery): Return new rawQuery field.
9148         (getQuery): Removed FIXME comment.
9149         (getRawFragment): Return new rawFragment field.
9150         (getFragment): Removed FIXME comment.
9151
9152 2004-03-20  Michael Koch  <konqueror@gmx.de>
9153
9154         * java/net/URLConnection.java: Merged copyright year with classpath.
9155
9156 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9157
9158         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9159         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9160         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9161         rmi-message.
9162         (getObjectInputStream): Return object reference, throw IOException if null.
9163         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9164         (getObjectOutputStream): Return object reference, throw IOException if null.
9165         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9166         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9167         (UnicastConnectionManager): Throw RemoteException if port is not available.
9168         (getInstance): Throw RemoteException.
9169         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9170         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9171         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9172         Collect Exceptions which are returned by a rmi-call and fix void returns.
9173         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9174         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9175         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9176         (dispatch): Answer ping messages which are sent by other java implementions.
9177         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9178         for every rmi-message and fix void return problems.
9179         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9180         (UnicastServerRef): Throw RemoteException.
9181         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9182         In some situations it is necessary to export a subclass of the class which has the _Stub.
9183         For instance when the class with has the _Stub is abstract.
9184         (findStubSkelClass): New method which looks for the class which has the _Stub.
9185         (getClientHost): Implementated.
9186         * gcc/libjava/java/rmi/server/RemoteServer.java
9187         (getClientHost): Implementated.
9188         * gcc/libjava/Makefile.am (rmi_java_source_files):
9189         Added gnu/java/rmi/server/RMIIncomingThread.java.
9190         * Makefile.in: Regenerated.
9191
9192 2004-03-20  Michael Koch  <konqueror@gmx.de>
9193
9194         * java/net/InetAddress.java
9195         (getLocalHostname): Added javadoc.
9196
9197 2004-03-19  Per Bothner  <per@bothner.com>
9198
9199         * configure.in: FILE variable  overrides FLATFORM when linking
9200         natFileChannelXXX.cc.
9201
9202         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9203         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9204
9205 2004-03-19  Per Bothner  <per@bothner.com>
9206
9207         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9208         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9209         * Makefile.am:  Update accordingly.
9210         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9211         as aliases for UnicodeLittle and UnicodeBig.
9212
9213 2004-03-20  Mark Wielaard  <mark@klomp.org>
9214
9215         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9216         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9217         Don't access ws when it is null.
9218         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9219         Likewise.
9220
9221 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9222
9223         * java/lang/ThreadGroup.java (list): Changed print to println.
9224
9225 2004-03-19  Mark Wielaard  <mark@klomp.org>
9226
9227         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9228         happy.
9229
9230 2004-02-10  Randolph Chung  <tausq@debian.org>
9231  
9232         * configure.in: Build java for hppa target.
9233         * configure: Regenerate.
9234         * libjava/configure.host (hppa-*): Add target.
9235         * libjava/sysdeps/pa/lock.h: New file.
9236
9237 2004-03-19  Mark Wielaard  <mark@klomp.org>
9238
9239         Reported by Stephen Crawley
9240         * java/io/FilePermission.java (implies): Use String.length() -1 to
9241         access last char of String.
9242
9243 2004-03-19  Michael Koch  <konqueror@gmx.de>
9244
9245         * java/awt/image/AffineTransformOp.java
9246         (AffineTransformOp): Made public.
9247         * javax/swing/JComponent.java
9248         (listenerList): Made protected.
9249         (accessibleContext): Likewise.
9250         * javax/swing/JList.java
9251         (valueChanged): Dont use internal fields of ListSelectionEvent.
9252         * javax/swing/JViewport.java
9253         (getView): Dont use internal fields of Component.
9254         (addImpl): Likewise.
9255         * javax/swing/Timer.java
9256         (isRunning): Made public.
9257         (start): Likewise.
9258         (stop): Likewise.
9259         * javax/swing/UIDefaults.java
9260         (getInt): Made public.
9261         * javax/swing/plaf/basic/BasicListUI.java
9262         (mousePressed): Dont use internal fields of MouseEvent.
9263         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9264         * javax/swing/plaf/basic/BasicScrollBarUI.java
9265         (arrowIcon): Made static.
9266         * javax/swing/plaf/basic/BasicViewportUI.java
9267         (stateChanged): Dont use internal field on ChangeEvent.
9268         * javax/swing/text/JTextComponent.java
9269         (getUI): Call UIManager.getUI().
9270         (updateUI): Use getUI().
9271
9272 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9273
9274         * verify.cc: Undef PC.
9275
9276 2004-03-18  Michael Koch  <konqueror@gmx.de>
9277
9278         * java/nio/channels/spi/AbstractSelectableChannel.java
9279         (keys): Initialize at declaration.
9280         (locate): keys cant be null.
9281         (add): Removed.
9282         (addSelectionKey): New method.
9283         (removeSelectionKey): New method.
9284         * java/nio/channels/spi/AbstractSelectionKey.java
9285         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9286         * java/nio/channels/spi/AbstractSelector.java
9287         (provider): Javadoc added.
9288         (cancelledKeys): Javadoc added.
9289         (cancelKey): Javadoc added, add key to cancelledKeys.
9290         (deregister): Implemented.
9291
9292 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9293
9294         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9295         MAP_FAILED to void *.
9296
9297 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9298
9299         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9300         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9301         * javax/swing/JList.java (ListListener): Revalidate on changes.
9302         * javax/swing/JScrollPane.java: Reimplement.
9303         * javax/swing/JViewport.java: Reimplement.
9304         * javax/swing/ScrollPaneLayout.java: Reimplement.
9305         * javax/swing/ViewportLayout.java: Tidy up.
9306         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9307         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9308         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9309         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9310         backing store only.
9311
9312 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9313
9314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9315         (window_wm_protocols_filter): New function.
9316         (window_focus_in_cb): Remove function.
9317         (window_focus_out_cb): Likewise.
9318         (window_focus_or_active_state_change_cb): New function.
9319         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9320         (connectSignals): Don't attach handlers to focus-in-event or
9321         focus-out-event signals.  Handle notify signal.
9322
9323 2004-03-11  David Jee  <djee@redhat.com>
9324
9325         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9326         (gtkSetLabel): New native method declaration.
9327         (setLabel): Use gtkSetLabel.
9328         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9329         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9330
9331 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9332
9333         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9334         black when color argument is null.
9335
9336 2004-03-10  Kim Ho  <kho@redhat.com>
9337
9338         * java/awt/Container.java: Remove check
9339         for drag events.
9340
9341 2004-03-10  Kim Ho  <kho@redhat.com>
9342
9343         * java/awt/Container.java: (visitChild):
9344         Remove candidate clip. Use the component
9345         clip to intersect.
9346         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9347         (handleEvent): Use the PaintEvent's clip.
9348
9349 2004-03-10  Kim Ho  <kho@redhat.com>
9350
9351         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9352         (handleEvent): Don't set the clip for the
9353         Graphics object.
9354
9355 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9356
9357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9358         Fix double <-> fixed macros, reset font transform.
9359         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9360         Likewise.
9361
9362 2004-03-09  Kim Ho  <kho@redhat.com>
9363
9364         * java/awt/Container.java: (visitChild): Move
9365         the x and y coordinate of the component rectangle
9366         to correct position.
9367         (handleEvent): Forward drag events to the pressed
9368         component.
9369         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9370         Fix comments.
9371         (ArrowButtonListener::mousePressed): Stop the
9372         existing timer.
9373         (mouseDragged): Implement.
9374         (TrackListener::mousePressed): Only react if
9375         the press doesn't occur on the thumb, otherwise
9376         just set the offset.
9377         (TrackListener::mouseReleased): Unset the isAdjusting
9378         value.
9379         (createIncreaseIcon): Switch icon.
9380         (createDecreaseIcon): Switch icon.
9381         (calculatePreferredSize): Use width.
9382         (getThumbBounds): Use the top as the lower value.
9383         (layoutVScrollBar): Switch the button locations.
9384         (paintIncreaseHighlight): Paint correct side of thumb.
9385         (paintDecreaseHighlight): ditto.
9386         (valueForYPosition): Use top as the lower value.
9387         * javax/swing/plaf/basic/BasicSliderUI.java:
9388         Fix comments.
9389         (mouseDragged): Implement.
9390         (mousePressed): Only react when the thumb isn't
9391         pressed, otherwise just set offset.
9392         (mouseReleased): Handle a release of the thumb.
9393         (scrollDueToClickInTrack): Stop the timer first.
9394         * javax/swing/JProgressBar.java:
9395         (setString): Fix change condition.
9396         * javax/swing/JSeparator.java:
9397         Remove println's.
9398
9399 2004-03-08  David Jee  <djee@redhat.com>
9400
9401         * java/awt/image/AffineTransformOp.java:
9402         (filter): Use Graphics2D interface instead of directly using the
9403         GdkGraphics2D peer.
9404
9405 2004-03-05  David Jee  <djee@redhat.com>
9406
9407         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9408         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9409         * java/awt/Container.java
9410         (acquireComponentForMouseEvent): Fixed.
9411         (handleEvent): Fixed.
9412         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9413         (state_to_awt_mods_with_button_states): New method.
9414         (pre_event_handler): Fixed mouse event generation.
9415
9416 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9417
9418         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9419         (GdkGraphics2D (BufferedImage)): Initialize
9420         pixmap associated with specified BufferedImage.
9421         (setPaint): Changed implementation of Texture
9422         Paint to use AffineTransformOp.
9423         * java/awt/image/AffineTransformOp.java
9424         (createCompatibleDestRaster): Throw RasterFormatException 
9425         if resulting width or height of raster is 0.
9426
9427 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9428
9429         * java/awt/image/AffineTransformOp.java:
9430         Removed unnecessary field interpolationType.
9431         Formatted some of the lines to be consistent with 
9432         the GNU style.
9433         (AffineTransformOp): Create new RenderingHints 
9434         containing specified interpolation type.
9435         (createCompatibleDestImage): Implemented.
9436         (createCompatibleDestRaster): Implemented.
9437         (filter): Implemented.
9438         (getBounds2D(BufferedImage)): Implemented.
9439         (getBounds2D(Raster)): Implemented.
9440         (getInterpolationType): Get interpolation value from 
9441         rendering hints.
9442
9443 2004-03-04  David Jee  <djee@redhat.com>
9444
9445         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9446         (setFont): Check if child peers are null.
9447
9448 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9449
9450         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9451         .libs in -L option.
9452         (libjava_arguments): Add new libraries to argument list.
9453
9454 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9455
9456         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9457         * Makefile.in: Re-generated.
9458         * java/awt/image/AffineTransformOp.java: New Class.
9459
9460 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9461
9462         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9463         (setPaint): Interpret correctly TexturePaint's
9464         anchor rectangle.
9465         (drawImage): Fixed scale factors of the affine
9466         transform.
9467
9468 2004-02-27  David Jee  <djee@redhat.com>
9469
9470         * gnu/java/awt/peer/gtk/GdkGraphics.java
9471         (GdkGraphics(Component)): Inherit font from component.
9472         (drawString): Use font style.
9473         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9474         (gtkSetFont): New native method declaration.
9475         (setFont): New method.
9476         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9477         (gtkSetFont): New native method declaration.
9478         (setFont): Call new native method gtkSetFont.
9479         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9480         (setFont): For all child components who do not their fonts set,
9481         set their peers' fonts with this container's font.
9482         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9483         Move all native method declarations to the top for readability.
9484         (gtkSetFont): New native method declaration.
9485         (setFont): New method.
9486         * java/awt/Component.java
9487         (setFont): Invalidate after setting the font.
9488         * java/awt/Container.java
9489         (invalidateTree): New method.
9490         (setFont): Invalidate the container tree after setting the font.
9491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9492         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9494         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9496         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9497         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9498         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9499
9500 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9501
9502         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9503         (updateBufferedImage): New helper function.
9504         Updates BufferedImage in memory if it was changed.
9505         (draw): changed to update BufferedImage in memory after
9506         this drawing operation
9507         (fill): Ditto.
9508         (draw3DRect): Ditto.
9509         (fill3DRect): Ditto.
9510         (clearRect): Ditto.
9511         (drawRaster): Ditto.
9512         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9513         no affine transformation.
9514         (drawGlyphVector): Ditto.
9515
9516 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9517
9518         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9519         (isBufferedImageGraphics): New Helper function. 
9520         Returns true if this graphics2d can be used to draw 
9521         into buffered image and false otherwise.
9522         (updateImagePixels): New Helper function. 
9523         Updates pixels in the BufferedImage.
9524         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9525         (getImagePixels): New function. Returns pixels
9526         of the buffered image associated with 
9527         this Graphics2D.
9528
9529 2004-02-26  David Jee  <djee@redhat.com>
9530
9531         * java/awt/BorderLayout.java
9532         (layoutContainer): Fix width and height calculations to ensure
9533         that they're non-negative.
9534         * java/awt/Component.java
9535         (setBackground): If c is null, inherit from closest ancestor whose
9536         background color is set.
9537
9538 2004-02-26  Kim Ho  <kho@redhat.com>
9539
9540         * Makefile.am: Add new files.
9541         * Makefile.in: Re-generate.
9542         * javax/swing/JProgressBar.java: 
9543         (JProgressBar(int, int int)): Throw
9544         IllegalArgumentException if orientation is
9545         invalid.
9546         (JProgressBar(BoundedRangeModel)): Create
9547         ChangeListener and register it. UpdateUI.
9548         (getChangeListeners): Implement.
9549         (setModel): Reset ChangeListener.
9550         * javax/swing/JScrollBar.java: Implement.
9551         * javax/swing/JSeparator.java: Implement.
9552         * javax/swing/JSlider.java:
9553         (JSlider(int, int, int, int)): Throw 
9554         IllegalArgumentException if orientation
9555         is invalid.
9556         (getChangeListeners): Fix method name.
9557         * javax/swing/SwingUtilities.java:
9558         (layoutCompoundLabel): If there is no text,
9559         set the text rectangle dimensions to 0.
9560         * javax/swing/plaf/basic/BasicButtonUI.java:
9561         (paint): If there is no text, don't paint it.
9562         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9563         Implement.
9564         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9565         Implement.
9566         * javax/swing/plaf/basic/BasicSliderUI.java: 
9567         (propertyChange): If the model changes, change
9568         the listeners accordingly.
9569
9570 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9571
9572         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9573         * javax/swing/JList.java: Reimplement.
9574         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9575         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9576         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9577         * javax/swing/ListModel.java: Javadoc.
9578         * javax/swing/ListSelectionModel.java: Add missing methods.
9579         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9580         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9581         * javax/swing/ListModel.java: Javadoc and corrections.
9582         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9583
9584 2004-02-25  David Jee  <djee@redhat.com>
9585
9586         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9587         (GtkFontPeer): Change default size to 12.
9588         * gnu/java/awt/peer/gtk/GtkToolkit.java
9589         (getFontPeer): Change default size to 12.
9590         (getClasspathFontPeer): Likewise. Set default name to "Default".
9591         * java/awt/Font.java
9592         (Font(Map)): Call Font(String,Map).
9593         (Font(String,Map)): If attrs is null, initialize it as an empty
9594         HashMap, which will ensure that the Font will get default attributes.
9595
9596 2004-02-25  David Jee  <djee@redhat.com>
9597
9598         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9599         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9600         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9601         * gnu/java/awt/peer/gtk/GtkToolkit.java
9602         (getFontPeer(String,int)): Call the new overload method with size 1.
9603         (getFontPeer(String,int,int)): New method. Overloaded with size
9604         attribute.
9605         (getClasspathFontPeer): Set the size of the font.
9606
9607 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9608
9609         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9610         (bimage): New field.
9611         (GdkGraphics2D): New Constructor. Constructs Graphics
9612         object that can be used to draw into the Buffered Image.
9613         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9614         (GdkGraphicsEnvironment): Fixed to include public 
9615         keyword.
9616         (createGraphics): Implemented.
9617         * gnu/java/awt/peer/gtk/GtkToolkit.java
9618         (getLocalGraphicsEnvironment): Implemented.
9619         * java/awt/GraphicsEnvironment.java:
9620         (getLocalGraphicsEnvironment): Implemented.
9621         * java/awt/image/BufferedImage.java:
9622         (createGraphics): Implemented.
9623                 
9624 2004-02-24  David Jee  <djee@redhat.com>
9625
9626         * java/awt/Component.java
9627         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9628         * java/awt/Container.java
9629         (addNotifyContainerChildren): Fix event enabling.
9630
9631 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9632
9633         * Makefile.am: Added 
9634         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9635         * Makefile.in: Re-generated.
9636         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9637         New Class. 
9638         
9639 2004-02-19  Kim Ho  <kho@redhat.com>
9640
9641         * Makefile.am: Add BasicProgressBarUI
9642         * Makefile.in: Regenerate.
9643         * javax/swing/JProgressBar.java: 
9644         Re-implement.
9645         * javax/swing/plaf/basic/BasicLookAndFeel.java
9646         Add constants for JProgressBar.
9647         * javax/swing/plaf/basic/BasicProgressBarUI.java
9648         Implement.
9649         * javax/swing/plaf/basic/BasicSliderUI.java
9650         Change comments.
9651         (calculateGeometry): New method
9652         (paint): Remove unnecessary size calculations.
9653
9654 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9655
9656         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9657         (drawRaster): Fixed small error that caused
9658         imageToUser transformation to be set incorrectly.
9659         (toString): Implemented.
9660
9661 2004-02-18  David Jee  <djee@redhat.com>
9662
9663         * java/awt/CardLayout.java
9664         (addLayoutComponent): Show the first component added as the default.
9665         (removeLayoutComponent): After removing, show the next component.
9666         (gotoComponent): If there is only one component, show it and return.
9667
9668 2004-02-18  Kim Ho  <kho@redhat.com>
9669
9670         * javax/swing/JSlider.java: Re-order
9671         modifiers.
9672         * javax/swing/JLabel.java: Re-order
9673         modifiers.
9674         * javax/swing/JComponent.java: 
9675         (addPropertyChangeListener):
9676         Implement.
9677         (removePropertyChangeListener):
9678         ditto.
9679         (firePropertyChangeEvent):
9680         ditto.
9681
9682 2004-02-17  David Jee  <djee@redhat.com>
9683
9684         * java/awt/Component.java
9685         (show): Dispatch ComponentEvent via system event queue.
9686         (hide): Likewise.
9687         (move): Likewise.
9688         (resize): Likewise.
9689         (reshape): Likewise.
9690         * java/awt/Window.java
9691         (setBoundsCallback): Likewise.
9692
9693 2004-02-17  David Jee  <djee@redhat.com>
9694
9695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9696         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9697         Use gtk_widget_set_size_request() instead of the deprecated
9698         gtk_widget_set_usize().
9699
9700 2004-02-17  Kim Ho  <kho@redhat.com>
9701
9702         * javax/swing/JSlider.java: Fix comments and
9703         make property strings constants.
9704         (createStandardLabels): Use the labels
9705         preferred size as bounds.
9706         * javax/swing/plaf/basic/BasicSliderUI.java
9707         Fix comments.
9708         (ScrollHandler::actionPerformed): Don't
9709         calculate the timer stop value. Let the
9710         MouseListeners find the stop location.
9711         (getPreferredHorizontalSize): Re-implement.
9712         (getPreferredVerticalSize): ditto.
9713         (getMinimumHorizontalSize): ditto.
9714         (getMinimumVerticalSize): ditto.
9715         (getPreferredSize): ditto.
9716         (getMinimumSize): ditto.
9717         (getMaximumSize): ditto.
9718         (paintTicks): Use doubles to find the
9719         tick location.
9720         (paintHorizontalLabel):  Use preferredSize
9721         as initial width and height.
9722         (paintVerticalLabel): ditto.
9723
9724 2004-02-17  Kim Ho  <kho@redhat.com>
9725
9726         * javax/swing/JLabel.java: Changed 
9727         property strings to constants.
9728         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9729         New property.
9730         (setText): Change mnemonic index if
9731         text is too short.
9732         (setDisplayedMnemonicIndex): Fire property
9733         change event.
9734         (getDisplayedMnemonicIndex): Remove check
9735         against short text.
9736
9737 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9738
9739         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9740         (drawImage(img,xform,obs)): Invert xform before
9741         passing the xform to cairo.
9742         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9743         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9744         implemented.
9745         (drawImage (img,x,y,w,h,obs)): Implemented.
9746         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9747         bgcolor,obs)): Partly implemented.
9748         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9749         Implemented.
9750         * java/awt/image/BufferedImage.java:
9751         (copyData): if dest is null, create raster with same
9752         dimensions as the current image.
9753
9754 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9755
9756         * javax/swing/plaf/basic/BasicLabelUI.java 
9757         (getPreferredSize): Use layoutCL.
9758         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9759         (getPreferredButtonSize): Start with empty view rect, layout using
9760         component's preferred alignment.
9761         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9762         List defaults.
9763
9764 2004-02-16  David Jee  <djee@redhat.com>
9765
9766         * java/awt/Component.java
9767         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9768         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9769         (move): Erase old bounds and repaint new bounds. Dispatch
9770         COMPONENT_MOVED ComponentEvent.
9771         (resize): Erase old bounds and repaint new bounds. Dispatch
9772         COMPONENT_RESIZED ComponentEvent.
9773         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9774         ComponentEvents.
9775         * java/awt/Window.java
9776         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9777         ComponentEvents.
9778
9779 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9780
9781         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9782         (setRenderingHint): Added implementation of 
9783         Interpolation rendering hints.
9784         (setRenderingHints): Ditto.
9785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9786         (drawPixels): fixed to allow user to choose type 
9787         of filtering that should be used when displaying images.
9788         (cairoSurfaceSetFilter): New method. Sets filter type for 
9789         interpolation of pixel values.
9790
9791 2004-02-16  David Jee  <djee@redhat.com>
9792
9793         * java/awt/GridBagLayout.java
9794         (calcCellSizes): Rows or columns with zero sizes should still be
9795         considered for extra space distribution.
9796
9797 2004-02-16  Kim Ho  <kho@redhat.com>
9798
9799         * javax/swing/JLabel.java: Re-implement.
9800         * javax/swing/plaf/basic/BasicLabelUI.java
9801         Re-implement.
9802         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9803         Added constant.
9804
9805 2004-02-16  Kim Ho  <kho@redhat.com>
9806
9807         * javax/swing/JSlider.java: Fix indentation and comments.
9808         (setModel): Remove null check to conform with Sun's.
9809         (setOrientation): Throw exception if not
9810         HORIZONTAL or VERTICAL.
9811         (getInverted): Use private variable instead of 
9812         ComponentOrientation.
9813         (setInverted): ditto.
9814         * javax/swing/plaf/basic/BasicSliderUI.java:
9815         Fix indentation and comments.
9816         (propertyChange): Remove check for inverted slider, handle
9817         in main paint.
9818         (getMinimumSize): Return preferred size.
9819         (getMaximumSize): ditto.
9820         (calculateFocusRect): Don't relocate rectangle.
9821         (drawInverted): Return XOR of the slider's inversion and 
9822         the component's orientation.
9823         (paint): Update leftToRightCache
9824
9825 2004-02-13  David Jee  <djee@redhat.com>
9826
9827         * java/awt/GridBagLayout.java
9828         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9829         code to helper methods.
9830         (sortBySpan): New helper method.
9831         (distributeSizeAndWeight): Likewise.
9832         (calcCellWeights): Likewise.
9833         (calcCellSizes): Add comments.
9834
9835 2004-02-13  David Jee  <djee@redhat.com>
9836
9837         * java/awt/Component.java
9838         (show): Only do something if component is invisible at the moment.
9839         (hide): Only do something if component is visible at the moment.
9840         (reshape): If lightweight, erase old bounds and repaint new bounds.
9841
9842 2004-02-13  Kim Ho  <kho@redhat.com>
9843
9844         * Makefile.am: Updated for new file.
9845         * Makefile.in: Regenerated.
9846         * javax/swing/JSlider.java: Reimplement.
9847         * javax/swing/SwingUtilities.java
9848         (layoutCompoundLabel): Use icon height
9849         instead of width.
9850         (paintComponent): Implement.
9851         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9852         Add JSlider defaults.
9853         * javax/swing/plaf/basic/BasicSliderUI.java:
9854         Implement. New file.
9855
9856 2004-03-17  Michael Koch  <konqueror@gmx.de>
9857
9858         * gnu/java/net/PlainDatagramSocketImpl.java
9859         (RECEIVE_LOCK): New member field.
9860         (SEND_LOCK): New member field.
9861         (send0): New method.
9862         (send): Synchronize on SEND_LOCK.
9863         (receive0): New method.
9864         (receive): Synchronize on RECEIVE_LOCK.
9865         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9866         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9867         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9868         (send0): Renamed from send.
9869         (receive0): Renamed from receive.
9870 2004-03-17  Michael Koch  <konqueror@gmx.de>
9871
9872         * gnu/java/net/natPlainSocketImplPosix.cc
9873         (write): Just call write(jbyteArray, offset, len).
9874         (read): Just call read(jbyteArray, offset, len).
9875
9876 2004-03-16  Michael Koch  <konqueror@gmx.de>
9877
9878         * javax/swing/JTabbedPane.java
9879         (serialVersionUID): New field.
9880
9881 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9882
9883         * java/net/InetAddress.java
9884         (getByName): Handle hostname == "" case.
9885
9886 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9887
9888         Reported by: Adam Heath <doogie@debian.org>
9889         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9890         class loader.
9891
9892 2004-03-15  Michael Koch  <konqueror@gmx.de>
9893
9894         * java/util/Locale.java: Reverting my last patch
9895         and add a comment why the original version was okay.
9896
9897 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9898
9899         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9900         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9901         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9902         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9903
9904 2004-03-12  Michael Koch  <konqueror@gmx.de>
9905
9906         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9907
9908 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9909
9910         * java/net/URI.java (toURL): Implemented.
9911
9912 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9913
9914         * java/net/URI.java
9915         (URI_REGEXP) updated to contain scheme specific part.
9916         (SCHEME_SPEC_PART_GROUP) new constant.
9917         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9918         updated to make room for SCHEME_SPEC_PART_GROUP.
9919         (parseURI) parse scheme specific part.
9920         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9921         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9922         getQuery, getFragment) implemented.
9923
9924 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9925
9926         * libraries/javalib/java/net/URI.java
9927         partially implemented using java.util.regex.
9928         (URI_REGEXP) new constant. Used to parse URIs.
9929         (SCHEME_GROUP) new constant representing index of scheme group
9930         in parsed URI.
9931         (AUTHORITY_GROUP) new constant representing index of authority
9932         group in parsed URI.
9933         (PATH_GROUP) new constant representing index of path group in
9934         parsed URI.
9935         (QUERY_GROUP) new constant representing index of query group in
9936         parsed URI.
9937         (FRAGMENT_GROUP) new constant representing index of fragment
9938         group in parsed URI.
9939         (getURIGroup) new static utility method.
9940         (parseURI) implemented.
9941         (quote) stub for new static utility method.
9942         (quoteAuthority) stub for new static utility method.
9943         (quoteHost) stub for new static utility method.
9944         (quotePath) stub for new static utility method.
9945         (quoteUserInfo) stub for new static utility method.
9946         (URI) implemented.
9947         (create) don't throw URISyntaxException. Implemented.
9948         (toString) implemented.
9949
9950 2004-03-12  Michael Koch  <konqueror@gmx.de>
9951
9952         * java/net/HttpURLConnection.java
9953         (getResponseCode): Fix another typo in javadoc.
9954
9955 2004-03-11  Michael Koch  <konqueror@gmx.de>
9956
9957         * java/util/logging/Level.java
9958         (parse): Use String.equals() instead of ==.
9959
9960 2004-03-11  Michael Koch  <konqueror@gmx.de>
9961
9962         * gnu/java/net/protocol/jar/Connection.java
9963         (getContentLength): New method.
9964
9965 2004-03-11  Michael Koch  <konqueror@gmx.de>
9966
9967         * gnu/java/net/PlainSocketImpl.java:
9968         Reformated to merge better with classpath's version.
9969
9970 2004-03-11  Michael Koch  <konqueror@gmx.de>
9971
9972         * java/util/Locale.java
9973         (getISO3Language): Use String.equals() instead of ==.
9974         (getISO3Country): Likewise.
9975
9976 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9977
9978         * java/text/AttributedString.java
9979         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9980         Use HashMap instead of Hashtable since value can be null, and
9981         you can not store a null value in a Hashtable.
9982
9983 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9984
9985         * java/text/AttributedStringIterator.java
9986         (getAllAttributesKey): Return only keys concerned
9987         by the current iterator.
9988         (getAttributes): Use strict inequality for
9989         end_index. 
9990
9991 2004-03-11  Michael Koch  <konqueror@gmx.de>
9992
9993         * java/net/HttpURLConnection.java:
9994         Fixed typo in javadoc.
9995
9996 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9997
9998         * java/io/BufferedInputStream.java (marktarget): New field for max
9999         mark limit.
10000         (CHUNKSIZE): New constant for incremental mark buffer allocation.
10001         (mark): Use new fields.
10002         (read): Likewise.
10003         (read(byte[],int,int)): Likewise.
10004         (skip): Likewise.
10005         (refill): Likewise.
10006
10007 2004-03-11  Mark Wielaard  <mark@klomp.org>
10008
10009         * java/beans/BeanDescriptor.java (BeanDescriptor):
10010         Set the FeatureDescriptor programmatic name.
10011
10012 2004-03-11  Michael Koch  <konqueror@gmx.de>
10013
10014         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10015         This file was was just copied form java/io/natFileDescriptorEcos.cc
10016         and never changed to compile correctly.
10017
10018 2004-03-11  Michael Koch  <konqueror@gmx.de>
10019
10020         * gnu/java/nio/PipeImpl.java
10021         (SourceChannelImpl): Made final.
10022         (read): Implemented.
10023         (SinkChannelImpl): Made final.
10024         (write): Implemented.
10025
10026 2004-03-11  Michael Koch  <konqueror@gmx.de>
10027
10028         * gnu/java/net/PlainDatagramSocketImpl.java:
10029         Reformated to match classpath's version more.
10030
10031 2004-03-11  Michael Koch  <konqueror@gmx.de>
10032
10033         * gnu/java/awt/peer/ClasspathFontPeer.java:
10034         Fixed javadoc to be correct xhtml.
10035         * gnu/java/awt/peer/gtk/GtkArgList.java
10036         (add): Use Boolean.valueOf() instead of new Boolean().
10037
10038 2004-03-09  Michael Koch  <konqueror@gmx.de>
10039
10040         * java/lang/Thread.java
10041         (runnable): Moved around.
10042         (daemon): Renamed from daemon_flag.
10043         (contextClassLoader): Renamed from context_class_loader.
10044         (Thread): Reordered constructors.
10045         (activeCount): Use group directly.
10046         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10047         (holdsLock): Reworked javadoc.
10048         (setDaemon): Reworked.
10049         * java/lang/natThread.cc
10050         (destroy): Removed.
10051
10052 2004-03-08  Anthony Green  <green@redhat.com>
10053
10054         * Makefile.am: Build property resource files into libgcj.
10055         * Makefile.in: Rebuilt.
10056         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10057         java/util/regex/PatternSyntaxException.java,
10058         gnu/regexp/CharIndexed.java,
10059         gnu/regexp/CharIndexedCharArray.java,
10060         gnu/regexp/CharIndexedInputStream.java,
10061         gnu/regexp/CharIndexedReader.java,
10062         gnu/regexp/CharIndexedString.java,
10063         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10064         gnu/regexp/REException.java,
10065         gnu/regexp/REFilterInputStream.java,
10066         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10067         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10068         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10069         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10070         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10071         gnu/regexp/RETokenLookAhead.java,
10072         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10073         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10074         gnu/regexp/RETokenStart.java,
10075         gnu/regexp/RETokenWordBoundary.java,
10076         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10077
10078 2004-03-03  Per Bothner  <per@bothner.com>
10079
10080         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10081         Optimize when argument is a FileChannelImpl.
10082         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10083         New native methods.
10084         * java/nio/channels/natChannels.cc:  New file for new native methods.
10085         * Makefile.am:  Update accordingly.
10086
10087 2004-03-02  Jan Hubicka  <jh@suse.cz>
10088
10089         * configure.host: Pass -fno-omit-frame-pointer for i386.
10090         * configure.in: Likewise.
10091         * configure: Regenerate.
10092
10093 2004-03-01  Per Bothner  <per@bothner.com>
10094
10095         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10096
10097 2004-02-29  Per Bothner  <per@bothner.com>
10098
10099         * java/nio/channels/FileChannelImpl.java:  Moved to package
10100         gnu/java/nio/channels, since we need to refer to it from java.io.
10101         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10102         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10103         from java/nio/channels.  Don't depend on FileDescriptor.
10104         (in, out, err):  New static fields.
10105         (mode):  New field.
10106         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10107         from FileDescriptor.
10108         (by):  Removed MappedByteBuffer field.
10109         (map):  New working implementation.
10110         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10111         some code "ported" from natFileDescriptoPosix.cc.
10112         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10113         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10114         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10115         Remove native methods.
10116         * Makefile.am, configure.in:  Updated accordingly.
10117
10118         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10119         (ch):  New FileChannelImpl field.  Update constructor to match.
10120         (releaseImpl):  Remove native method.  Instead ...
10121         (release):  Call unlock on channel.
10122         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10123
10124         * java/io/natFileDescriptorEcos.cc:  Remove file.
10125         * java/io/natFileDescriptorPosix.cc:  Remove file.
10126         * java/io/natFileDescriptorWin32.cc:  Remove file.
10127         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10128         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10129         (<init>(FileChannelImpl)):  New package-private constructor.
10130         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10131         (available, close, read, skip):  Implement using FileChannelImpl.
10132         (getFD):  Allocate FileDescriptor if needed.
10133         (getChannel):  Is now trivial.
10134         * java/io/FileOutputStream.java:  Corresponding changes.
10135         * java/io/RandomAccessFile.java:  Corresponding changes.
10136
10137         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10138         unmapImpl):  New dummy methods, to be overridden by subclass.
10139         (finalize, isLoaded, load, force):  New methods.
10140         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10141         Now works, at least for read mapping.
10142
10143         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10144         streams using FileChannelImpl, not FileDescriptor.
10145         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10146
10147 2004-02-28  Michael Koch  <konqueror@gmx.de>
10148
10149         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10150         wrong code.
10151
10152 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10153
10154         * java/io/ObjectInputStream.java
10155         (readClassDescriptor): Keep elements of the mapping non null.
10156         (checkTypeConsistency): New method.
10157         (readFields): Fixed main loop and base logic. Small reindentation.
10158         * java/io/ObjectStreamField.java
10159         (lookupField): New method to update the field reference.
10160         (checkFieldType): New method.
10161         * java/io/ObjectStreamClass.java
10162         (setClass, setFields): Call lookupField when building the field
10163         database. Check the real field type.
10164
10165 2004-02-28  Michael Koch  <konqueror@gmx.de>
10166
10167         * java/nio/ByteOrder.java
10168         (nativeOrder): Use equals() to compare strings.
10169
10170 2004-02-26  Michael Koch  <konqueror@gmx.de>
10171
10172         * gnu/java/nio/FileLockImpl.java
10173         (finalize): Made protected.
10174         * java/nio/channels/FileChannel.java
10175         (MapMode.READ_ONLY): Made final.
10176         (MapMode.READ_WRITE): Made final.
10177         (MapMode.PRIVATE): Made final.
10178         * java/nio/channels/SocketChannel.java
10179         (open): Simplified code.
10180         * java/nio/channels/spi/AbstractSelectableChannel.java
10181         (registered): Unused, removed.
10182         (keyFor): Check channel is open, only locate key
10183         and not add a new one.
10184         (register): Don't delete attachments.
10185
10186 2004-02-26  Michael Koch  <konqueror@gmx.de>
10187
10188         * gnu/java/awt/ComponentDataBlitOp.java
10189         (INSTANCE): Made final.
10190         * gnu/java/awt/image/ImageDecoder.java:
10191         Reworked imports.
10192         (cm): Unused, removed.
10193
10194 2004-02-26  Michael Koch  <konqueror@gmx.de>
10195
10196         * gnu/java/nio/DatagramChannelImpl.java
10197         (send): Check if target address is resolved.
10198
10199 2004-02-26  Michael Koch  <konqueror@gmx.de>
10200
10201         * Makefile.am: Generate and install headers for inner classes in
10202         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10203         * Makefile.in: Regenerated.
10204
10205 2004-02-24  Anthony Green  <green@redhat.com>
10206
10207         * java/lang/StringBuffer.java: No need to NULL out remainder of
10208         buffer since ensureCapacity_unsynchronized will have done this for
10209         us.
10210
10211 2004-02-20  Michael Koch  <konqueror@gmx.de>
10212
10213         * gnu/java/net/protocol/jar/Handler.java
10214         (): Removed unneeded check for file != null. java.net.URL.getFile()
10215         returns an empty string but never null.
10216
10217 2004-02-20  Michael Koch  <konqueror@gmx.de>
10218
10219         * gnu/gcj/convert/Convert.java
10220         (main): Use equals() to compare strings.
10221
10222 2004-02-20  Michael Koch  <konqueror@gmx.de>
10223
10224         * javax/swing/AbstractButton.java: Made several constants final.
10225         (getRolloverSelectedIcon): Made public.
10226         (getSelectedIcon): Made public.
10227
10228 2004-02-16  Per Bothner  <per@bothner.com>
10229
10230         * java/nio/CharBufferImpl.java:  Inline super constructor.
10231         * java/nio/DoubleBufferImpl.java:  Likewise.
10232         * java/nio/FloatBufferImpl.java:  Likewise.
10233         * java/nio/IntBufferImpl.java:  Likewise.
10234         * java/nio/LongBufferImpl.java:  Likewise.
10235         * java/nio/ShortBufferImpl.java:  Likewise.
10236         * java/nio/CharBuffer.java:  Remove unused constructor.
10237         * java/nio/DoubleBuffer.java:  Likewise.
10238         * java/nio/FloatBuffer.java:  Likewise.
10239         * java/nio/IntBuffer.java:  Likewise.
10240         * java/nio/LongBuffer.java:  Likewise.
10241         * java/nio/ShortBuffer.java:  Likewise.
10242         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10243         Fix buggy call to super constructor.
10244         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10245         * java/nio/FloatViewBufferImpl.java:  Likewise.
10246         * java/nio/IntViewBufferImpl.java:  Likewise.
10247         * java/nio/LongViewBufferImpl.java:  Likewise.
10248         * java/nio/ShortViewBufferImpl.java:  Likewise.
10249         
10250         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10251         java.nio classes can inherit it.
10252         (<init>):  Don't bother clearing array_offset.
10253         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10254         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10255         Remove redundant test.
10256
10257         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10258         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10259         Use new XxxViewBufferImpl constructors.
10260         * java/nio/MappedByteBufferImpl.java:  Likewise.
10261         * java/nio/DirectByteBufferImpl.java:  Likewise.
10262
10263         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10264         Inline super in remaining constructor.
10265         * java/nio/ByteBuffer.java:  Remove unused constructor.
10266
10267         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10268
10269         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10270         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10271         (offset):  Remove unused field.
10272         (<init>):  Modify one and add another constructor.  Change callers.
10273         (allocateDirect):  Removed - not used.
10274         (getImpl, putImpl):  Make static and pass address explicitly,
10275         to make them useful for MappedByteBufferImpl.
10276         (get, put):  Check for underflow.  Modify for new getImpl.
10277         (getImpl):  New native method where target is array.
10278         (get(byte[],int,int)):  Use the above.
10279         (adjustAddress):  New static native method.
10280         (slice, duplicate, asReadOnly):  New implementations.
10281         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10282         adjustAddress):  New or updated native methods.
10283
10284 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10285
10286         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10287         overflow of fieldmapping.
10288
10289 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10290
10291         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10292
10293 2004-02-14  Per Bothner  <per@bothner.com>
10294
10295         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10296         Set closed before calling implCloseChannel, as in the spec.
10297
10298 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10299
10300         * javax/swing/ToggleButtonModel.java: Remove dead class.
10301         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10302         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10303         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10304         * Makefile.am: Update for new and removed files.
10305         * Makefile.in: Regenerate.
10306
10307         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10308         * javax/swing/AbstractButton.java 
10309         (AbstractButton): Initialize fields correctly in ctor.
10310         * javax/swing/JCheckbox.java 
10311         (JCheckBox): Override painting flags.
10312         * javax/swing/DefaultButtonModel.java: Conform to sun.
10313         * javax/swing/JComponent.java (paint): Fill with background color
10314         if available.
10315         (processComponentKeyEvent)
10316         (processFocusEvent)
10317         (processKeyEvent)
10318         (processMouseMotionEvent): Remove event-consuming empty methods.
10319         (getUIClassID): Return "ComponentUI" not "JComponent"
10320         * javax/swing/JFrame.java: Remove some debugging chatter.
10321         (JFrame): Subscribe to window events.
10322         * javax/swing/JRadioButton.java 
10323         (JRadioButton): Override painting flags.
10324         * javax/swing/JRootPane.java 
10325         (JRootPane): Set background from UIDefaults.
10326         * javax/swing/JToggleButton.java 
10327         (ToggleButtonModel): New inner class.
10328         (JToggleButton): Override layout alighment.
10329         * javax/swing/SwingUtilities.java:
10330         (getLocalBounds): Return width and height, not x and y.
10331         (calculateInnerArea): Use local bounds, not bounds.
10332         (layoutCompoundLabel): Provide overridden form.
10333         (layoutCompoundLabel): Correct bugs.
10334         * javax/swing/UIDefaults.java: Correct comment.
10335         * javax/swing/plaf/basic/BasicButtonUI.java: 
10336         Move most logic into defaults, external listener.
10337         (paintIcon): Implement icon painting.
10338         (paint): Fix state painting to conform to changes in model.
10339         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10340         Remove most dead/wrong methods.
10341         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10342         * javax/swing/plaf/basic/BasicIconFactory.java:
10343         (DummyIcon): New class.
10344         (getMenuItemCheckIcon)
10345         (getMenuItemArrowIcon) 
10346         (getMenuArrowIcon)
10347         (getCheckBoxMenuItemIcon)
10348         (getRadioButtonMenuItemIcon)
10349         (createEmptyFrameIcon): Return DummyIcons, not null.
10350         (getCheckBoxIcon): Implement an icon that looks like sun's.
10351         (getRadioButtonIcon): Implement an icon that looks like sun's.
10352         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10353         (initComponentDefaults): Fix impossible values, add some missing.
10354         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10355         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10356         Remove most dead/wrong methods.
10357         (icon): New field.
10358         (getDefaultIcon): New method.
10359         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10360         Remove most dead/wrong methods.
10361         * javax/swing/plaf/metal/MetalLookAndFeel.java
10362         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10363         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10364         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10365         Implement "clearing" as drawing, when on pixmap drawables.
10366
10367         * javax/swing/JButton.java (getUIClassID): 
10368         * javax/swing/JCheckBox.java (getUIClassID):
10369         * javax/swing/JEditorPane.java (getUIClassID):
10370         * javax/swing/JLabel.java (getUIClassID): 
10371         * javax/swing/JList.java (getUIClassID): 
10372         * javax/swing/JOptionPane.java (getUIClassID): 
10373         * javax/swing/JPanel.java (getUIClassID): 
10374         * javax/swing/JPasswordField.java (uiClassID): 
10375         * javax/swing/JRadioButton.java (getUIClassID): 
10376         * javax/swing/JRootPane.java (getUIClassID): 
10377         * javax/swing/JScrollPane.java (getUIClassID): 
10378         * javax/swing/JTabbedPane.java (getUIClassID): 
10379         * javax/swing/JToggleButton.java (getUIClassID): 
10380         * javax/swing/JTree.java (getUIClassID): 
10381         * javax/swing/JViewport.java (getUIClassID): 
10382         * javax/swing/text/JTextComponent.java (getUIClassID):
10383         Return "fooUI" not "Jfoo"
10384
10385 2004-02-11  Michael Koch  <konqueror@gmx.de>
10386
10387         * java/net/DatagramSocket.java
10388         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10389         Boolean object.
10390         (setBroadcast): Likewise.
10391         * java/net/MulticastSocket.java
10392         (setLoopbackMode): Likewise.
10393         * java/net/ServerSocket.java
10394         (setReuseAddress): Likewise.
10395         * java/net/Socket.java
10396         (setTcpNoDelay): Likewise.
10397         (setSoLinger): Likewise.
10398         (setOOBInline): Likewise.
10399         (setKeepAlive): Likewise.
10400         (setReuseAddress): Likewise.
10401         * java/net/URLConnection.java
10402         (setContentHandler): Replace == with equals().
10403         * java/net/URLStreamHandler.java
10404         (hostSEquals): Fix checking host addresses.
10405         (toExternalForm): Dont check protocol for null. We know already its
10406         not null.
10407
10408 2004-02-10  David Jee  <djee@redhat.com>
10409
10410         * java/awt/BorderLayout.java
10411         (calcCompSize): Invisible components get zero dimensions.
10412         * java/awt/Button.java
10413         (setLabel): Set actionCommand.
10414         * java/awt/Component.java
10415         (show): Invalidate component and parent container.
10416         (hide): Likewise.
10417
10418 2004-02-10  David Jee  <djee@redhat.com>
10419
10420         * java/awt/GridBagLayout.java
10421         (GridBagLayout): New private field, internalcomptable.
10422         (lookupInternalConstraints): New method.
10423         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10424         (GetLayoutInfo): Reimplement.
10425         (calcCellSizes): Ignore rows/columns with size 0.
10426
10427 2004-02-10  Michael Koch  <konqueror@gmx.de>
10428
10429         * gnu/java/awt/EmbeddedWindow.java
10430         (setHandle): Use java.awt.Component.getPeer() instead of
10431         java.awt.Component.peer directly.
10432
10433 2004-02-10  David Jee  <djee@redhat.com>
10434
10435         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10436         (gtkSetLabel): New native method definition.
10437         (setLabel): Use gtkSetLabel.
10438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10439         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10440
10441 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10442
10443         * include/powerpc-signal.h: Revert 2004-01-21 change.
10444         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10445         from syscall for ppc32 versions.
10446
10447 2004-02-08  Per Bothner  <per@bothner.com>
10448
10449         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10450         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10451         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10452         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10453         Pass ByteOrder parameter to most methods, since the underlying
10454         ByteBuffer's order isn't always what we should use.
10455         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10456         * java/nio/DirectByteBufferImpl.java:  Likewise.
10457         Use ByteBufferHelper methods.
10458         * java/nio/MappedByteBufferImpl.java:  Likewise.
10459         (compact):  Use shiftDown.
10460         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10461         (get, put):  Use ByteBufferHelper.
10462         (compact):  Use new shiftDown method.
10463         (duplicate(boolean)):  New helper method.
10464         (duplicate, asReadOnlyBuffer):  Use it.
10465         (order):  Return endian field.
10466         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10467         * java/nio/FloatViewBufferImpl.java:  Likewise.
10468         * java/nio/IntViewBufferImpl.java:  Likewise.
10469         * java/nio/LongViewBufferImpl.java:  Likewise.
10470         * java/nio/ShortViewBufferImpl.java:  Likewise.
10471         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10472         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10473         (compact):  Re-implement using shiftDown.
10474
10475 2004-02-08  Andreas Jaeger  <aj@suse.de>
10476
10477         * include/x86_64-signal.h: Fix typo.
10478
10479 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10480
10481         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10482         qualifier to _regs.
10483         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10484
10485 2004-02-06  Michael Koch  <konqueror@gmx.de>
10486
10487         * java/io/ObjectInputStream.java
10488         (currentClassLoader): Reverted to old version of this method.
10489
10490 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10491
10492         * java/io/ObjectInputStream.java: Made all calls
10493         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10494         use cached info from ObjectStreamClass. (readClassDescriptor):
10495         Cache more information in ObjectStreamClass. (processResolution,
10496         readFields): Use cached info from ObjectStreamClass.
10497         (newObject): Throw exception instead of returning null for failure.
10498         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10499         setCharField, setDoubleField, setFloatField, setIntField,
10500         setLongField, setShortField, setObjectField, readObjectParams):
10501         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10502         check.
10503         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10504         (setClass): Added call to cacheMethods() (findMethod): New method.
10505         (cacheMethods): New method. (ObjectStreamClass): Added call to
10506         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10507         AccessController.doPrivileged to invoke setAccessible.
10508         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10509         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10510         New fields.
10511         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10512         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10513         isPrimitive): Made safe for cases where type == null.
10514         (setBooleanField, setByteField, setCharField, setShortField,
10515         setIntField, setLongField, setFloatField, setDoubleField,
10516         setObjectField): New methods.
10517
10518 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10519
10520         * java/awt/Component.java (getFont): Return a default font
10521         instead of null.
10522
10523         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10524         (Scrollbar (int, int, int, int, int)): Make default page
10525         increment 10.
10526         (setValues): Only call peer.setValues if one of the values has
10527         changed.
10528         (generateName): New method.
10529         (getUniqueLong): New method.
10530         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10531         (range_scrollbar): Remove structure.
10532         (post_adjustment_event): Remove function.
10533         (post_change_event): Accept jobject argument.
10534         (create): Cast jints to gdoubles.  Round scrollbar values to the
10535         nearest integer.  Clamp min, max and value settings.
10536         (connectJObject): Connect hook to widget->window.
10537         (connectSignals): Remove range_scrollbar structure variables.
10538         Remove "move-slider" connection.  Pass global peer reference to
10539         "value-changed" callback.
10540         (setLineIncrement): Cast jint value to gdouble.
10541         (setPageIncrement): Likewise.
10542         (setValues): Likewise.  Clamp min, max and value settings.
10543
10544 2004-02-05  Michael Koch  <konqueror@gmx.de>
10545
10546         * javax/swing/AbstractCellEditor.java
10547         (getCellEditorValue): Removed.
10548         * javax/swing/Box.java: Reformated.
10549         (serialVersionUID): New field.
10550         * javax/swing/ButtonGroup.java:
10551         Removed some weird whitespace.
10552         * javax/swing/CellEditor.java: Reformated.
10553         * javax/swing/CellRendererPane.java
10554         (serialVersionUID): New field.
10555         (AccessibleCellRendererPaneserialVersionUID): New field.
10556         * javax/swing/DefaultListModel.java
10557         (serialVersionUID): New field.
10558         * javax/swing/JEditorPane.java
10559         (serialVersionUID): New field.
10560         (setPage): Throws IOException.
10561         (addHyperlinkListener): Implemented.
10562         (removeHyperlinkListener): Implemented.
10563         (getHyperlinkListener): New method.
10564         * javax/swing/JFileChooser.java
10565         (serialVersionUID): New field.
10566         (AccessibleJFileChooser.serialVersionUID): New field.
10567         (addActionListener): Implemented.
10568         (removeActionListener): Implemented.
10569         (getActionListeners): New method.
10570         * javax/swing/JFormattedTextField.java
10571         (serialVersionUID): New field.
10572         (AbstractFormatter.serialVersionUID): New field.
10573         (clone): Throws CloneNotSupportedException
10574         (setEditValid): Add missing argument.
10575         (stringToValue): Throws ParseExcpetion.
10576         (valueToString): Throws ParseException.
10577         (commitEdit): Throws ParseException.
10578         * javax/swing/JLabel.java
10579         (serialVersionUID): New field.
10580         * javax/swing/JList.java
10581         (serialVersionUID): New field.
10582         (addListSelectionListener): Reformated.
10583         (removeListSelectionListener): Reformated.
10584         (getListSelectionListeners): New method.
10585         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10586         Reformated.
10587         (serialVersionUID): New field.
10588         * javax/swing/table/AbstractTableModel.java
10589         (getValueAt): Removed.
10590         (getColumnCount): Removed.
10591         (getRowCount): Removed.
10592
10593 2004-02-05  Michael Koch  <konqueror@gmx.de>
10594
10595         * java/awt/datatransfer/DataFlavor.java
10596         (imageFlavor): Javadoc added.
10597         (javaJVMLocalObjectType): Fixed.
10598
10599 2004-02-05  Michael Koch  <konqueror@gmx.de>
10600
10601         * java/lang/Thread.java
10602         (Thread): Reordered.
10603         (setContextClassLoader): Fixed javadoc comment.
10604         (setPriority): Reordered.
10605         (yield): Reordered.
10606         (initialize_native): Reordered.
10607         (gen_name): Reordered.
10608
10609 2004-02-05  Michael Koch  <konqueror@gmx.de>
10610
10611         * java/lang/Thread.java: Reordered fields, reformated much code,
10612         no functional changes, some variables renamed, javadoc comments
10613         merged.
10614
10615 2004-02-05  Michael Koch  <konqueror@gmx.de>
10616
10617         * java/util/zip/Deflater.java,
10618         java/util/zip/DeflaterOutputStream.java,
10619         java/util/zip/GZIPInputStream.java:
10620         Reformated and javadoc comments merged from classpath.
10621
10622 2004-02-05  Michael Koch  <konqueror@gmx.de>
10623
10624         * gnu/java/nio/NIOServerSocket.java
10625         (impl): Unused, removed.
10626         * gnu/java/nio/SocketChannelImpl.java
10627         (finnishConnect): Don't throw NoConnectionPendingException if not
10628         connected or no connection pending.
10629
10630 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10631
10632         * javax/swing/SwingUtilities.java: Many new functions.
10633         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10634         * javax/swing/basic/BasicGraphicsUtils.java 
10635         (getPreferredButtonSize): Start layout from top-left corner.
10636
10637 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10638
10639         * java/awt/geom/AffineTransform.java: 
10640         Corrected comments on the field definitions for
10641         m11 and m10.
10642         (shear): Fixed few errors that caused shear
10643         transformation to be performed incorrectly.
10644         (createInverse): Fixed to return correct
10645         inverse of the given matrix.
10646
10647 2004-02-03  Tom Tromey  <tromey@redhat.com>
10648
10649         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10650         PATH or LD_LIBRARY_PATH is not set in parent environment.
10651
10652 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10653
10654         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10655         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10656         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10657         java/awt/Component.java, java/awt/Container.java,
10658         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10659         java/awt/LayoutManager2.java, java/awt/List.java,
10660         java/awt/Menu.java, java/awt/MenuBar.java,
10661         java/awt/MenuItem.java, java/awt/Polygon.java,
10662         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10663         java/awt/Scrollbar.java, java/awt/TextArea.java,
10664         java/awt/TextField.java,
10665         java/awt/image/renderable/RenderContext.java,
10666         javax/swing/JApplet.java: Fix handling of alias methods, where a
10667         method has been deprecated in favour of a new one with the same
10668         funtion but a different name.  Put the method implementation in
10669         the deprecated method and have the new method call the
10670         deprecated one.  Make all other code call the new method.
10671
10672 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10673
10674         * gnu/java/nio/DatagramChannelImpl.java
10675         (inChannelOperation): New field.
10676         (isInChannelOperation): New accessor.
10677         (setInChannelOperation): New modifier.
10678         (receive): Use capacity() - position() of destination
10679         buffer instead of remaining(). Set and reset our "in
10680         channel operation indicator" before and after delegating
10681         the receive to our datagram socket. Removed testing code.
10682         Update destination buffer's current position if it is
10683         backed by a byte array (hasArray() is true).
10684         (send): Set and reset our "in channel operation indicator"
10685         before and after delegating the send to our datagram socket.
10686         Removed testing code. Update source buffer's current position
10687         if it is backed by a byte array (hasArray() is true).
10688         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10689         Use capacity() - position() of destination buffer instead
10690         of remaining().
10691         * java/net/DatagramSocket.java (receive): Don't throw an
10692         IllegalBlockingModeException if we have a non-blocking
10693         channel which initiated this operation.
10694         (send): Likewise.
10695
10696 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10697
10698         * configure.in: Add pkgconfig check for glib and gthread.
10699         * configure: Regenerate.
10700
10701 2004-02-01  Michael Koch  <konqueror@gmx.de>
10702
10703         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10704         arguments.
10705         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10706         * verify.cc (debug_print): Mark 'fmt' unused.
10707
10708 2004-01-30  Michael Koch  <konqueror@gmx.de>
10709
10710         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10711         * configure: Regenerated.
10712         * glib-2.0.m4: Removed.
10713         * gtk-2.0.m4: Removed.
10714         * libart.m4: Removed.
10715         * pkg.m4: New file.
10716
10717 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10718
10719         * gnu/java/net/PlainSocketImpl.java 
10720         (inChannelOperation): New field.
10721         (isInChannelOperation): New accessor.
10722         (setInChannelOperation): New modifier.
10723         * gnu/java/nio/ServerSocketChannelImpl.java
10724         (accept): Set and reset our server socket's PlainSocketImpl's
10725         "in channel operation" indicator before and after delegating
10726         the accept to our server socket.
10727         * gnu/java/nio/SocketChannelImpl.java
10728         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10729         operation" indicator before and after delegating the operation to
10730         our socket.
10731         (read): Likewise.
10732         (write): Likewise.
10733         * java/net/ServerSocket.java (implAccept): Don't throw an
10734         IllegalBlockingModeException if we have a non-blocking
10735         channel which initiated this accept operation.
10736         * java/net/Socket.java (connect): Don't throw an
10737         IllegalBlockingModeException if we have a non-blocking
10738         channel which initiated this connect operation.
10739         * java/nio/channels/spi/AbstractSelectableChannel.java
10740         (configureBlocking): Only call implConfigureBlocking() if
10741         the desired blocking mode is different from our current one.
10742
10743 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10744
10745         * java/io/BufferedReader.java (sbuf): New field.
10746         (readLine): Use String.valueOf instead of new String() as per
10747         Per Bothner's suggestion. Use instance sbuf field instead of a
10748         local StringBuffer instance.
10749         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10750         caller's buffer to refill().
10751         (read(void)): Pass our internal work buffer to refill if our
10752         input queue is empty.
10753         (refill): Changed return type to int. Use the specified buffer
10754         instead of our work buffer as per Bryce McKinlay's suggestion.
10755         Return the number of characters read or -1 for EOF.
10756
10757 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10758
10759         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10760
10761 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10762
10763         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10764         * Makefile.in: Re-generated.
10765         * gnu/awt/xlib/XFontPeer.java: New file.
10766         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10767         (setClip): Commented out debug printout.
10768         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10769         (getFontPeer): Return XFontPeer.
10770         (getLocalGraphicsEnvironment): New method.
10771         (getClasspathFontPeer): New method.
10772         (createFont): New method.
10773
10774 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10775
10776         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10777         return null. 
10778
10779 2004-01-29  Kim Ho  <kho@redhat.com>
10780
10781         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10782         (gtkLayoutSetVisible): New method
10783         (setMenuBar): Hide layout before setting MenuBar
10784         and reshow it after.
10785         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10786         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10787
10788 2004-01-28  Michael Koch  <konqueror@gmx.de>
10789
10790         * gnu/java/lang/ClassHelper.java
10791         (getPackagePortion): Removed.
10792
10793 2004-01-28  Michael Koch  <konqueror@gmx.de>
10794
10795         * javax/swing/JComponent.java
10796         (listenerList): Initalize globally.
10797         (ancestor_list): Removed.
10798         (veto_list): Removed.
10799         (change_list): Removed.
10800         (get_veto_list): Removed.
10801         (get_change_list): Removed.
10802         (get_ancestor_list): Removed.
10803         (removeAncestorListener): Reimplemented.
10804         (removePropertyChangeListener): Likewise.
10805         (removeVetoableChangeListener): Likewise.
10806         (addAncestorListener): Likewise.
10807         (addPropertyChangeListener): Likewise.
10808         (addVetoableChangeListener): Likewise.
10809         (getListeners): New method.
10810         (getAncestorListeners): Likewise.
10811         (getVetoableChangeListeners): Likewise.
10812         (fireVetoableChange): Throws PropertyVetoException.
10813         * javax/swing/JEditorPane.java
10814         (JEditorPane): Throws IOException.
10815
10816 2004-01-28  David Jee  <djee@redhat.com>
10817
10818         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10819         (create): Set the default foreground color to
10820         java.awt.SystemColor.windowText.
10821
10822 2004-01-27  Michael Koch  <konqueror@gmx.de>
10823
10824         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10825         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10826         Reindented to merge with classpath.
10827
10828 2004-01-27  David Jee  <djee@redhat.com>
10829
10830         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10831         (addExposeFilter): Handle GtkFramePeer separately.
10832         (removeExposeFilter): Likewise.
10833
10834 2004-01-27  Michael Koch  <konqueror@gmx.de>
10835
10836         * gnu/java/net/protocol/http/Connection.java
10837         (getOutputStream): Fixed typo.
10838
10839 2004-01-27  Michael Koch  <konqueror@gmx.de>
10840
10841         * java/lang/Class.java
10842         (getConstructor): Removed SecurityException from throws clause.
10843         (_getConstructors): Likewise.
10844         (getConstructors): Likewise.
10845         (getDeclaredConstructor): Likewise.
10846         (getDeclaredClasses): Likewise.
10847         (getDeclaredConstructors): Likewise.
10848         (getDeclaredField): Likewise.
10849         (getDeclaredMethod): Likewise.
10850         (getDeclaredMethods): Likewise.
10851         (getField): Likewise.
10852         (getMethod): Likewise.
10853         (getMethods): Likewise.
10854
10855 2004-01-27  Kim Ho  <kho@redhat.com>
10856
10857         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10858         (removeMenuBarPeer): Remove MenuBarPeer argument.
10859         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10860         (dispose): Call native method.
10861         * java/awt/Frame.java (setMenuBar): Create and remove
10862         MenuBar peers only if the Frame has a peer.
10863         (addNotify): Create the MenuBar peer if one exists.
10864         (removeNotify): Remove MenuBar peer if one exists.
10865         * java/awt/Menu.java: Fix imports.
10866         (addNotify): Don't use full class name.
10867         (removeNotify): Call removeNotify on all children.
10868         * java/awt/MenuBar.java (removeNotify): Call
10869         removeNotify on all children.
10870         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10871         (removeMenuBarPeer): Remove MenuBarPeer argument.
10872         Iterate through children to find the Frame's MenuBar.
10873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10874         New file.
10875         (dispose): Remove references to the MenuComponent.
10876
10877 2004-01-27  Michael Koch  <konqueror@gmx.de>
10878
10879         * javax/swing/AbstractCellEditor.java: Reformated.
10880         * javax/swing/DefaultListSelectionModel.java
10881         (listenerList): Made protected.
10882         (addListSelectionListener): Javadoc added.
10883         (removeListSelectionListener): Likewise.
10884         (getListeners): Likewise.
10885         (getListSelectionListeners): Likewise.
10886         * javax/swing/JComboBox.java: Merged copyright year.
10887         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10888
10889 2004-01-26  Andrew Haley  <aph@redhat.com>
10890
10891         * javax/swing/table/JTableHeader.java: Extend JComponent
10892
10893 2004-01-26  Kim Ho  <kho@redhat.com>
10894
10895         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10896         Fix spacing.
10897
10898 2004-01-26  Kim Ho  <kho@redhat.com>
10899
10900         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10901         method.
10902         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10903         height and let the Layout Managers readjust anything that
10904         needs to move.
10905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10906         (moveLayout): New method. Shift everything in the Gtk
10907         layout in the Y direction by an offset.
10908
10909 2004-01-26  David Jee  <djee@redhat.com>
10910
10911         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10912         (handleEvent): Implemented. Handles PaintEvents.
10913         (paint): Implemented. Use GTK native methods to queue updates
10914         for this heavyweight peer.
10915         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10916         (handleEvent): Removed.
10917         * java/awt/Component.java
10918         (paint): Implemented. Explictly paint the heavyweight peer.
10919         (update): Clear the background for heavyweight components.
10920         (paintAll): No need to call peer.paint() anymore.
10921         (processEvent): Don't process PaintEvents here. It's now done in
10922         the peer's handleEvent().
10923         (processPaintEvent): Removed.
10924         * java/awt/Container.java
10925         (paint): No need to call super.paint(). Visit heavyweight
10926         children as well.
10927         (update): Don't clear the background here.  It's done in
10928         Component.update().
10929         (visitChildren): Added check to not recurse into Containers.
10930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10931         (filter_expose_event_handler): New method.  Filter unwanted
10932         expose events while painting heavyweight peers.
10933         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10934         New method. Connect filter and block pre_event_handler.
10935         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10936         New method. Disconnect filter and unblock pre_event_handler.
10937         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10938         New method. Invalidate and update given area.
10939         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10940         (pre_event_handler): Add checks for unwanted expose events.
10941
10942 2004-01-26  David Jee  <djee@redhat.com>
10943
10944         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10945         (find_bg_color_widget): For GtkButton, return its child.
10946
10947 2004-01-26  Kim Ho  <kho@redhat.com>
10948
10949         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10950         private.
10951         (setMenuBar): Grab MenuBar height and change insets.
10952         (setBounds): Account for MenuBar height.
10953         (postInsetsChangedEvent): Ditto.
10954         (postSizeAllocateEvent): Remove.
10955         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10956         (menubar_resize_cb): Remove
10957         (setMenuBarPeer): Remove callback.
10958         (getMenuBarHeight): Use size requisition instead of
10959         allocation.
10960
10961 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10962
10963         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10964         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10965         when peer is null.
10966         (setColumns): Remove FIXME -- peer will retrieve number of
10967         columns by calling getColumns.
10968         (setRows): Likewise for number of rows.
10969         (next_text_number): New field.
10970         (paramString): Fix param string.
10971         (generateName): New method.
10972         (getUniqueLong): New method.
10973
10974 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10975
10976         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10977         image observer of image loading status.
10978         (getImage (String)): Start image production.
10979         (getImage (URL)): Likewise.
10980
10981 2004-01-25  Michael Koch  <konqueror@gmx.de>
10982
10983         * java/lang/Class.java: Imports reworked, reformated.
10984         (Class): Javadoc added.
10985         (forName): Likewise.
10986         (getClasses): Likewise.
10987         (getClassLoader): Likewise.
10988         (getComponentType): Likewise.
10989         (getConstructor): Likewise.
10990         (getConstructors): Likewise.
10991         (getDeclaredConstructor): Likewise.
10992         (getDeclaredClasses): Likewise.
10993         (getDeclaredConstructors): Likewise.
10994         (getDeclaredField): Likewise.
10995         (getDeclaredMethod): Likewise.
10996         (getDeclaredMethods): Likewise.
10997         (getDeclaringClass): Likewise.
10998         (getField): Likewise.
10999         (getInterfaces): Likewise.
11000         (getMethod): Likewise.
11001         (getMethods): Likewise.
11002         (getModifiers): Likewise.
11003         (getName): Likewise.
11004         (getResource): Likewise.
11005         (getResourceAsStream): Likewise.
11006         (getSigners): Likewise.
11007         (setSigners): Likewise.
11008         (getSuperclass): Likewise.
11009         (isArray): Likewise.
11010         (isAssignableFrom): Likewise.
11011         (isInstance): Likewise.
11012         (isInterface): Likewise.
11013         (isPrimitive): Likewise.
11014         (newInstance): Likewise.
11015         (getProtectionDomain): Likewise.
11016         (toString): Likewise.
11017         (Class): Moved.
11018         (initializeClass): Likewise.
11019         (finalize): Likewise.
11020
11021 2004-01-24  Michael Koch  <konqueror@gmx.de>
11022
11023         * gnu/java/net/protocol/jar/Connection.java
11024         (hdrHash): Removed.
11025         (hdrVec): Removed.
11026         (gotHeaders): Removed.
11027         (getHeaderField): Removed.
11028         (getHeaderFields): Removed.
11029         (getHeaderFieldKey): Removed.
11030         (getKey): Removed.
11031         (getField): Removed.
11032         (getHeaders): Removed.
11033
11034 2004-01-24  Michael Koch  <konqueror@gmx.de>
11035
11036         * Makefile.am: Added library version to gtk peer lib.
11037         * Makefile.in: Regenerated.
11038
11039 2004-01-24  Michael Koch  <konqueror@gmx.de>
11040
11041         * java/util/zip/InflaterInputStream.java: Merged class documentation
11042         with classpath.
11043
11044 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11045
11046         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11047         header.  For __powerpc64__ provide the default-signal.h definitions
11048         for now.
11049         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11050         instead of the dummy definitions.
11051         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11052         (powerpc64*-*): Remove with_libffi_default.
11053         Only add -mminimal-toc for 64-bit compilations.
11054         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11055         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11056         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11057         * configure: Rebuilt.
11058
11059 2004-01-23  Michael Koch  <konqueror@gmx.de>
11060
11061         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11062
11063 2004-01-23  Michael Koch  <konqueror@gmx.de>
11064
11065         * java/lang/VMClassLoader.java: Reworked imports.
11066         
11067 2004-01-23  Michael Koch  <konqueror@gmx.de>
11068
11069         * javax/swing/AbstractAction.java: Reformated.
11070
11071 2004-01-23  Michael Koch  <konqueror@gmx.de>
11072
11073         * java/text/CollationElementIterator.java:
11074         (setText): New method.
11075
11076 2004-01-23  Michael Koch  <konqueror@gmx.de>
11077
11078         * gnu/java/nio/FileLockImpl.java:
11079         Fixed filename in copyright.
11080         (released): Removed.
11081         (finalize): New method.
11082         * gnu/java/nio/natFileLockImpl.cc
11083         (releaseImpl): Implemented.
11084         * java/nio/channels/FileChannelImpl.java:
11085         Reworked imports.
11086         (lock): Implemented.
11087         (lockImpl): New method.
11088         (tryLock): Implemented.
11089         (tryLockImpl): New method.
11090         * java/nio/channels/natFileChannelImpl.cc
11091         (lockImpl): New method.
11092         (tryLockImpl): New method.
11093
11094 2004-01-23  Michael Koch  <konqueror@gmx.de>
11095
11096         * java/io/FileDescriptor.java
11097         (lock): New method.
11098         (tryLock): New method.
11099         (unlock): New method.
11100         * java/io/natFileDescriptorEcos.cc
11101         (lock): New method.
11102         (tryLock): New method.
11103         (unlock): New method.
11104         * java/io/natFileDescriptorPosix.cc
11105         (lock): New method.
11106         (tryLock): New method.
11107         (unlock): New method.
11108         * java/io/natFileDescriptorWin32.cc
11109         (lock): New method.
11110         (tryLock): New method.
11111         (unlock): New method.
11112
11113 2004-01-23  Michael Koch  <konqueror@gmx.de>
11114
11115         * java/io/FileDescriptor.java
11116         (sync): Moved around, added javadoc.
11117         (valid): Likewise.
11118         (open): Likewise.
11119         (write): Likewise.
11120         (close): Likewise.
11121         (setLength): Likewise.
11122         (seek): Likewise.
11123         (getLength): Likewise.
11124         (getFilePointer): Likewise.
11125         (read): Likewise.
11126         (available): Likewise.
11127         (finalize): Likewise.
11128
11129 2004-01-23  Michael Koch  <konqueror@gmx.de>
11130
11131         * javax/swing/AbstractAction.java: Reformated.
11132         (getPropertyChangeListeners): New method.
11133         * javax/swing/AbstractCellEditor.java: Reformated.
11134         (getCellEditorListeners): New method.
11135         * javax/swing/DefaultListSelectionModel.java
11136         (listenerList): New field.
11137         (listeners): Removed.
11138         (get_listeners): Removed.
11139         (addListSelectionListener): Rewritten.
11140         (removeListSelectionListener): Rewritten.
11141         (getListSelectionListeners): New method.
11142         (getListeners): New method.
11143         * javax/swing/JComboBox.java: Imports reworked.
11144         (addActionListener): Implemented.
11145         (removeActionListener): Implemented.
11146         (addItemListener): Implemented.
11147         (removeItemListener): Implemented.
11148         (addPopupMenuListener): Implemented.
11149         (removePopupMenuListener): Implemented.
11150         (getActionListeners): New method.
11151         (getItemListeners): New method.
11152         (getPopupMenuListeners): New method.
11153
11154 2004-01-23  Michael Koch  <konqueror@gmx.de>
11155
11156         * gnu/java/net/protocol/http/Connection.java
11157         (connect): Don't initialize bufferedOutputStream if not needed.
11158         (sendRequest): Set property for content length if content is present.
11159         Write content only if present.
11160         (getOutputStream): Check if already connected, dont connect,
11161         initalize bufferedOutputStream if needed.
11162
11163 2004-01-23  Michael Koch  <konqueror@gmx.de>
11164
11165         * java/io/FileDescriptor.java
11166         (in, out, err): Added javadoc.
11167         (static): Merged loading code.
11168         (fd, position): Moved around.
11169
11170 2004-01-23  Michael Koch  <konqueror@gmx.de>
11171
11172         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11173         New file.
11174
11175 2004-01-23  Michael Koch  <konqueror@gmx.de>
11176
11177         * java/lang/Class.java,
11178         java/lang/Object.java,
11179         java/lang/Thread.java: Merged copyright with classpath.
11180
11181 2004-01-23  Michael Koch  <konqueror@gmx.de>
11182
11183         * java/io/FileDescriptor.java: Merged copyright with classpath to
11184         start merging this class.
11185
11186 2004-01-22  Tom Tromey  <tromey@redhat.com>
11187
11188         PR libgcj/13107:
11189         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11190         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11191         * testsuite/libjava.lang/pr13107_3.java: New file.
11192         * testsuite/libjava.lang/pr13107_3.out: New file.
11193         * testsuite/libjava.lang/pr13107_2.java: New file.
11194         * testsuite/libjava.lang/pr13107_2.out: New file.
11195         * testsuite/libjava.lang/pr13107.java: New file.
11196         * testsuite/libjava.lang/pr13107.out: New file.
11197         * verify.cc (jsr_ptrs): Removed.
11198         (entry_points): Likewise.
11199         (struct subr_info): Likewise.
11200         (struct subr_entry_info): Likewise.
11201         (type_val::unused_by_subroutine_type): Likewise.
11202         (type::merge): Don't handle unused_by_subroutine_type.
11203         (type::print): Likewise.
11204         (state::flags): Removed.
11205         (state::subroutine): Likewise.
11206         (state::seen_subrs): Likewise.
11207         (state::NO_STACK): Likewise.
11208         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11209         (state): Updated all methods.
11210         (state::clean_subrs): Removed.
11211         (state::state): Removed `ret_semantics' flag.
11212         (state::copy): Likewise.
11213         (state::add_subr): Removed.
11214         (state::enter_subroutine): Likewise.
11215         (type::set_return_address): New method.
11216         (handle_jsr_insn): Set return address on the type.  Always
11217         invalidate PC after call.
11218         (check_nonrecursive_call): Removed.
11219         (~_Jv_BytecodeVerifier): Updated.
11220         (branch_prepass): Removed special handling of jsr.
11221         (note_branch_target): Likewise.
11222         (get_subroutine): Removed.
11223         (state::merge): Don't merge subroutines and don't handle
11224         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11225         (state::note_variable): Removed.
11226         (state::is_unmerged_ret_state): Likewise.
11227         (state::print): Updated.
11228         (set_variable): Likewise.
11229         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11230         and jsr_semantics arguments.  Updated for new reverification
11231         list.
11232         (pop_jump): Rewrote.
11233         (construct_primitive_array_type): Updated.
11234         (state::next): Removed.
11235         (INVALID_STATE): New define.
11236         (state::INVALID): Removed.
11237         (state::NO_NEXT): New value.
11238         (state::pc, state::next): New fields.
11239         (state::get_pc): New method.
11240         (next_verify_pc): Removed.
11241         (next_verify_state): New field.
11242         (verify_instructions_0): Always check for falling off end.
11243         (linked): New type.
11244         (linked_utf8): Removed.
11245         (states): Changed type.
11246         (type::state_mergeable_p): New method.
11247         (state::state_mergeable_p): Likewise.
11248         (handle_ret_insn): Removed most code.
11249         (state::reverify): New method.
11250         (add_new_state): Likewise.
11251         (state::set_pc): Likewise.
11252
11253 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11254
11255         PR java/13733
11256         * testsuite/libjava.compile/PR13733.java: New file.
11257         * testsuite/libjava.compile/PR13733.xfail: New file.
11258
11259 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11260             Michael Koch  <konqueror@gmx.de>
11261
11262         * javax/swing/table/DefaultTableCellRenderer.java
11263         (DefaultTableCellRenderer): Added javadoc for the class and for
11264         the constructor, Border instance, create an EmptyBorder.
11265         (UIResource): Removed the comment at the end of the class
11266         (setForeground): New method.
11267         (setBackground): New method.
11268         (updateUI): New method.
11269         (getTableCellRendererComponent): Rewritten with the help of
11270         dvholten and Stephane Meslin-Weber.
11271         (validate): New method.
11272         (repaint): New method.
11273         (firePropertyChange): New method.
11274         (setValue): New method.
11275
11276 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11277
11278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11279         (connectJObject): Replace printf calls with g_assert statements.
11280         Move property-notify-event signal connection to ...
11281         (connectSignals): Connect property-notify-event signal.  Iterate
11282         through the vbox's children to find layout.
11283
11284 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11285         
11286         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11287         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11288         Predicate static initialization on GtkToolkit.useGraphics2D().
11289         * java/awt/Component.java (processPaintEvent): Consume event.
11290         * javax/swing/AbstractButton.java: Reimplement, document.
11291         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11292         * javax/swing/JComponent.java (paint): Use double buffer.
11293         (listenerList): Enable member.
11294         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11295         * javax/swing/JToggleButton.java 
11296         (JToggleButton): Modify model constructor.
11297         * javax/swing/SwingUtilities.java 
11298         (layoutCompoundLabel): Adjust arithmetic.
11299         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11300         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11301         (getPreferredButtonSize): Include margins in calculation.
11302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11303         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11304         Receive up events from subordinate layout component.
11305
11306 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11307
11308         * java/awt/Component.java (show): Set visible to true before
11309         showing the peer.
11310
11311 2004-01-21  Kim Ho  <kho@redhat.com>
11312
11313         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11314         Fix comments.
11315         (removeMenuBarPeer): Make package private.
11316         (setMenuBarPeer): Make package private.
11317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11318         (menubar_resize_cb): Mark attributes unused.
11319         (getMenuBarHeight): ditto.
11320
11321 2004-01-21  David Jee  <djee@redhat.com>
11322
11323         * java/awt/Container.java
11324         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11325         dispatching MOUSE_ENTERED event twice. Translate the point for
11326         the mouse event target before dispatching the event.
11327
11328 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11329
11330         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11331         lib_org_w3c_dom_la_LDFLAGS): New.
11332         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11333         * Makefile.in: Rebuilt.
11334
11335 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11336
11337         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11338         Calculate proper offsets for heavyweight components packed in
11339         lightweight containers.
11340
11341         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11342         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11343         (native create): Add width parameter.
11344         (create): Calculate text entry width based on current font's
11345         metrics and number of columns.  Set TextField's font if not
11346         already set.  Call native create.
11347         (gtkEntryGetBorderWidth): New native method.
11348         (gtkEntryGetSize): Remove method.
11349         (getMinimumSize): Call minimumSize.
11350         (getPreferredSize): Call preferredSize.
11351         (minimumSize): Calculate minimum size based on backing
11352         GtkEntry's borders, font metrics and number of columns.
11353         (preferredSize): Likewise for preferred size.
11354         (get_border_width): New static function.
11355
11356         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11357         Override GtkWindowPeer's setResizable method to account for menu
11358         bar height when setting the frame's size.
11359
11360 2004-01-19  Matthias Klose  <doko@debian.org>
11361
11362         * libtool-version: Increased `current' to 6.
11363
11364 2004-01-19  Kim Ho  <kho@redhat.com>
11365
11366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11367         (connectJObject): Iterate through the vbox's children to find layout.
11368
11369 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11370
11371         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11372         isDispatchThread method to replace wrong test condition.
11373
11374 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11375
11376         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11377         events to the queue out of order by acquiring locks in the proper
11378         order and not by releasing one before acquiring the other.
11379
11380 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11381
11382         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11383         visible so that dialog can be reused.
11384
11385 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11386
11387         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11388         events may be handled by any queue in the stack.
11389
11390 2004-01-19  Kim Ho  <kho@redhat.com>
11391
11392         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11393         MenuBarPeer parameter.
11394         (removeMenuBarPeer): New native method.
11395         (setMenuBar): Call remove if menu bar is null. Adjust insets
11396         appropriately.
11397         (postSizeAllocateEvent): New method. Called when menu bar size is
11398         allocated. Adjust insets and redo layout.
11399         (GtkFramePeer): Set menu bar during frame creation.
11400         (postConfigureEvent): Adjust position and size to accomodate
11401         menu bar.
11402         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11403         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11404         (addNotify): Create the peer if it doesn't exist and call addNotify
11405         for the menu's items.
11406         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11407         * java/awt/MenuItem.java (addNotify): Create the peer if it
11408         doesn't exist.
11409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11410         (removeMenuBarPeer): New method. Remove menu bar on the current
11411         frame.
11412         (setMenuBarPeer): Add the menu bar to the current frame and the
11413         callback for size-allocate events on the menu bar.
11414         (getMenuBarHeight): Add menu bar parameter.
11415         (menubar_resize_cb): New callback method for postSizeAllocate events.
11416
11417         Also: Fix indentation on last ChangeLog entry.
11418
11419 2004-01-16  Kim Ho  <kho@redhat.com>
11420
11421         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11422         (gtkWidgetGetDimensions): Remove.
11423         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11424         (gtkWidgetGetDimensions): Remove.
11425
11426 2004-01-16  Tom Tromey  <tromey@redhat.com>
11427
11428         * java/awt/Container.java: Typo and indentation fixes.
11429
11430         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11431         * java/lang/natVMClassLoader.cc: ...here.  New file.
11432         * Makefile.in: Rebuilt.
11433         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11434
11435 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11436
11437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11438         Discard GDK_ENTER_NOTIFY related to ungrabs.
11439
11440 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11441
11442         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11443         is called for an intermediate queue.
11444
11445 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11446
11447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11448         (window_property_changed_cb): Set id_set.
11449
11450 2004-01-16  Kim Ho  <kho@redhat.com>
11451
11452         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11453         it is a FileDialog and has dimensions of 0 by 0, then the initial
11454         size is set to size request plus insets.
11455         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11456         (gtkWidgetGetDimensions): Override method.
11457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11458         (gtkWidgetGetDimensions): Override method. Returns size request plus
11459         insets.
11460
11461 2004-01-16  Andrew Haley  <aph@redhat.com>
11462
11463         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11464         * sysdep/i386/locks.h: Likewise.
11465
11466 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11467
11468         * java/awt/EventDispatchThread.java (run): Stop running when
11469         interrupted.
11470         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11471         Reset the queue after transferring its contents.
11472         (push): Start a new dispatch thread if none is running.
11473
11474 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11475
11476         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11477         (doPolygon): set fill rule of polygon to 
11478         WIND_EVEN_ODD by default.
11479
11480 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11481
11482         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11483         Implemented rendering hints related methods.
11484         (getDefaultHints): New helper method. Returns
11485         default rendering hints.
11486         (walkPath): changed to normalize path if
11487         the KEY_STROKE_CONTROL key is in "normalize" mode.
11488         (draw3DRect): changed coordinates of rectangle by +0.5
11489         if in "normalize" mode.
11490
11491 2004-01-15  Tom Tromey  <tromey@redhat.com>
11492
11493         * Makefile.in: Rebuilt.
11494         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11495         (%.lo: %.java) Filter out StackTrace.lo.
11496
11497 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11498
11499         * configure.in: Add in AC_PREREQ(2.13)
11500         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11501         FIXME comment.
11502
11503 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11504             Tom Tromey  <tromey@redhat.com>
11505
11506         PR libgcj/12001:
11507         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11508         array to superclass.
11509         (init): Changed interface; add URLs here.
11510         (initialize): New static method.
11511         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11512         (_Jv_RunMain): ... not here.
11513
11514 2004-01-14  Michael Koch  <konqueror@gmx.de>
11515
11516         * java/text/MessageFormat.java:
11517         Added descriptions to exceptions.
11518         This fixes PR libgcj/2429.
11519
11520 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11521
11522         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11523         (push): Make sure push is performed at the top of the thread stack.
11524
11525 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11526
11527         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11528         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11529         (native create): Add width and height parameters.  Set text
11530         view's size request according to new parameters.
11531         (create): Calculate text view size based on current font's
11532         metrics and number of rows and columns.  Set TextArea's font if
11533         not already set.  Call native create.
11534         (getMinimumSize): Call minimumSize.
11535         (getPreferredSize): Call preferredSize.
11536         (getHScrollbarHeight): New method.
11537         (getVScrollbarWidth): New method.
11538         (minimumSize): Calculate minimum size based on scrollbar
11539         visibility, scrollbar sizes, font metrics and number of rows and
11540         columns.
11541         (preferredSize): Likewise for preferred size.
11542         (gtkTextGetSize): Remove method.
11543
11544 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11545
11546         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11547         (initializeInsets): Remove method.
11548         (GtkComponentPeer): Initialize insets field.  Remove call to
11549         initializeInsets.
11550         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11551         Remove method.
11552         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11553         Remove method.
11554         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11555         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11556         (latestInsets): Remove field.
11557         (native create): Add insets parameter.  Call
11558         window_get_frame_extents.  Set the window's default size and
11559         size request based on its frame extents.
11560         (create): Initialize insets.
11561         (postInsetsChangedEvent): New method.
11562         (postConfigureEvent): Remove parameters top, left, bottom,
11563         right.  Remove insets-related logic.
11564         (connectJObject): Handle property-notify-event.
11565         (window_get_frame_extents, request_frame_extents,
11566         property_notify_predicate, window_property_changed_cb): New
11567         static functions.
11568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11569         (pre_event_handler): Remove insets-related logic for configure
11570         events.
11571         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11572         Update postConfigureEvent signature.
11573
11574 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11575  
11576         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11577         to handle Window "Closing" events.
11578  
11579 2004-01-13  David Jee  <djee@redhat.com>
11580
11581         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11582         (setBackground): New method. Children with no explicitly-set
11583         background will be repainted with the parent container's new
11584         background color.
11585
11586 2004-01-13  David Jee  <djee@redhat.com>
11587
11588         * Makefile.am: Add BitwiseXORComposite.java.
11589         * Makefile.in: Regenerated.
11590         * gcj/Makefile.in: Regenerated.
11591         * include/Makefile.in: Regenerated.
11592         * testsuite/Makefile.in: Regenerated.
11593
11594 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11595
11596         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11597         not show modal dialogs twice and so that it allows showing a modal
11598         dialog from another modal dialog.
11599
11600 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11601
11602         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11603         and run secondary dispatch thread to process event queue while this
11604         thread is blocked.
11605
11606 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11607
11608         * gnu/java/awt/gtk/GdkGraphics2D.java
11609         (static): Check GtkToolkit before initializing static state.
11610         (Graphics2D): Don't construct transform with 0.5 unit offset.
11611
11612 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11613
11614         * gnu/java/awt/BitwiseXORComposite.java: Add.
11615         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11616         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11617         (BitwiseXORComposite): Remove inner class.
11618
11619 2004-01-11  Michael Koch  <konqueror@gmx.de>
11620
11621         * gnu/java/lang/reflect/TypeSignature.java
11622         (getEncodingOfClass): Documentation fixed.
11623         (getClassForEncoding): Give class loader to Class.forName().
11624         Documentation fixed.
11625
11626 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11627
11628         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11629
11630 2004-01-11  Michael Koch  <konqueror@gmx.de>
11631
11632         * javax/swing/undo/StateEditable.java
11633         (RCSID): Removed redundant modifiers.
11634
11635 2004-01-10  Michael Koch  <konqueror@gmx.de>
11636
11637         * javax/print/attribute/EnumSyntax.java
11638         (getStringTable): Made protected.
11639         (getEnumValueTable): Likewise.
11640         * javax/print/attribute/standard/JobKOctetsProcessed.java
11641         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11642         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11643         (JobMediaSheetsCompleted): Made class final.
11644         * javax/print/attribute/standard/OutputDeviceAssigned.java
11645         (getName): Fixed typo.
11646         * javax/print/attribute/standard/RequestingUserName.java
11647         (serialVersionUID): Fixed value.
11648
11649 2004-01-10  Michael Koch  <konqueror@gmx.de>
11650
11651         * javax/swing/plaf/basic/BasicButtonUI.java,
11652         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11653         javax/swing/plaf/basic/BasicListUI.java,
11654         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11655         javax/swing/plaf/basic/BasicPanelUI.java,
11656         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11657         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11658         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11659         javax/swing/plaf/basic/BasicViewportUI.java:
11660         Fixed import statements.
11661
11662 2004-01-10  Michael Koch  <konqueror@gmx.de>
11663
11664         * gnu/java/awt/image/ImageDecoder.java
11665         (produce): Made public.
11666         * gnu/java/awt/peer/GLightweightPeer.java,
11667         gnu/java/awt/peer/gtk/GtkToolkit.java:
11668         Reformated.
11669
11670 2004-01-10  Michael Koch  <konqueror@gmx.de>
11671
11672         * javax/swing/JRadioButtonMenuItem.java,
11673         javax/swing/JSeparator.java,
11674         javax/swing/JSplitPane.java,
11675         javax/swing/JTextPane.java,
11676         javax/swing/JToolBar.java,
11677         javax/swing/ListCellRenderer.java,
11678         javax/swing/ListModel.java,
11679         javax/swing/MenuElement.java,
11680         javax/swing/OverlayLayout.java,
11681         javax/swing/ProgressMonitor.java,
11682         javax/swing/ProgressMonitorInputStream.java,
11683         javax/swing/Renderer.java,
11684         javax/swing/RootPaneContainer.java,
11685         javax/swing/Scrollable.java,
11686         javax/swing/SingleSelectionModel.java,
11687         javax/swing/ToolTipManager.java,
11688         javax/swing/ViewportLayout.java,
11689         javax/swing/event/DocumentEvent.java,
11690         javax/swing/event/SwingPropertyChangeSupport.java,
11691         javax/swing/event/TreeSelectionEvent.java,
11692         javax/swing/event/UndoableEditEvent.java,
11693         javax/swing/text/AbstractDocument.java,
11694         javax/swing/text/AttributeSet.java,
11695         javax/swing/text/Caret.java,
11696         javax/swing/text/ComponentView.java,
11697         javax/swing/text/DefaultCaret.java,
11698         javax/swing/text/DefaultEditorKit.java,
11699         javax/swing/text/Document.java,
11700         javax/swing/text/EditorKit.java,
11701         javax/swing/text/GapContent.java,
11702         javax/swing/text/Keymap.java,
11703         javax/swing/text/MutableAttributeSet.java,
11704         javax/swing/text/PlainEditorKit.java,
11705         javax/swing/text/Segment.java,
11706         javax/swing/text/Style.java,
11707         javax/swing/text/StyledDocument.java,
11708         javax/swing/text/StyledEditorKit.java,
11709         javax/swing/text/TextAction.java,
11710         javax/swing/text/View.java: Fixed import statements.
11711
11712 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11713
11714         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11715         djee@redhat.com's recent inverse ordering of Container elements.
11716
11717 2004-01-09  Michael Koch  <konqueror@gmx.de>
11718
11719         * gnu/java/lang/ArrayHelper.java
11720         (equalsArray): Removed.
11721
11722 2004-01-09  Andrew Haley  <aph@redhat.com>
11723
11724         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11725         a Utf8Const field before looking at its class.
11726
11727 2004-01-09  Michael Koch  <konqueror@gmx.de>
11728
11729         * javax/print/attribute/standard/DocumentName.java,
11730         javax/print/attribute/standard/JobHoldUntil.java,
11731         javax/print/attribute/standard/JobMessageFromOperator.java,
11732         javax/print/attribute/standard/JobName.java,
11733         javax/print/attribute/standard/JobOriginatingUserName.java,
11734         javax/print/attribute/standard/OutputDeviceAssigned.java,
11735         javax/print/attribute/standard/PrinterInfo.java,
11736         javax/print/attribute/standard/PrinterLocation.java,
11737         javax/print/attribute/standard/PrinterMakeAndModel.java,
11738         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11739         javax/print/attribute/standard/PrinterName.java,
11740         javax/print/attribute/standard/RequestingUserName.java: New files.
11741         * Makefile.am (javax_source_files): Added new files.
11742         * Makefile.in: Regenerated.
11743
11744 2004-01-09  Michael Koch  <konqueror@gmx.de>
11745
11746         * javax/swing/AbstractAction.java,
11747         javax/swing/AbstractSet.java,
11748         javax/swing/Action.java,
11749         javax/swing/ActionMap.java,
11750         javax/swing/BoundedRangeModel.java,
11751         javax/swing/ButtonModel.java,
11752         javax/swing/CellEditor.java,
11753         javax/swing/CellRendererPane.java,
11754         javax/swing/ComboBoxEditor.java,
11755         javax/swing/DebugGraphics.java,
11756         javax/swing/DefaultCellEditor.java,
11757         javax/swing/DefaultCellRenderer.java,
11758         javax/swing/DefaultComboBoxModel.java,
11759         javax/swing/DefaultDesktopManager.java,
11760         javax/swing/DefaultFocusManager.java,
11761         javax/swing/DefaultListCellRenderer.java,
11762         javax/swing/Icon.java,
11763         javax/swing/JButton.java,
11764         javax/swing/JCheckBoxMenuItem.java,
11765         javax/swing/JDesktopPane.java,
11766         javax/swing/JEditorPane.java,
11767         javax/swing/JMenu.java,
11768         javax/swing/JPanel.java,
11769         javax/swing/JPasswordField.java,
11770         javax/swing/JPopupMenu.java,
11771         javax/swing/JProgressBar.java: Reworked imports.
11772
11773 2004-01-09  Michael Koch  <konqueror@gmx.de>
11774
11775         * java/awt/geom/PathIterator.java
11776         (WIND_EVEN_ODD): Removed redundant modifiers.
11777         (WIND_NON_ZERO): Likewise.
11778         (SEG_MOVETO): Likewise.
11779         (SEG_LINETO): Likewise.
11780         (SEG_QUADTO): Likewise.
11781         (SEG_CUBICTO): Likewise.
11782         (SEG_CLOSE): Likewise.
11783         * java/awt/image/SinglePixelPackedSampleModel.java:
11784         Removed redundant semicolon.
11785         * java/io/ObjectInputStream.java
11786         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11787         * java/util/logging/Filter.java
11788         (isLoggable): Removed redundant modifier.
11789         * java/util/logging/LogManager.java:
11790         Removed redundant semicolon.
11791         * java/util/logging/XMLFormatter.java
11792         (format): Removed unused variable "key".
11793
11794 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11795
11796         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11797         New name for the former setFile native method.
11798         (setFile): New method.
11799         (setDirectory): Implemented.
11800         (connectSignals): New native method.
11801         (setFilenameFilter): Improve comment.
11802         (getGraphics): Comment.
11803         (gtkHideFileDialog): New method.
11804         (gtkDisposeFileDialog): New method.
11805         (gtkSetFilename): New method.
11806         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11807         for FileDialog for now.
11808         (hide): New method.
11809         (dispose): New method.
11810         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11811         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11812         deprecated creation functions.  Make dialog modal.  Add it to the
11813         window group.
11814         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11815         function.
11816         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11817         Rename to...
11818         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11819         name.
11820         (window_closed): New function.
11821         (ok_clicked): New function.
11822         (cancel_clicked): New function.
11823
11824 2004-01-08  Michael Koch  <konqueror@gmx.de>
11825
11826         * javax/swing/JLayeredPane.java: Revert changes to standard
11827         boilerplate, reworked imports.
11828
11829 2004-01-07  Tom Tromey  <tromey@redhat.com>
11830
11831         PR libgcj/13439:
11832         * verify.cc (state::merge): Copy changed locals out of subroutine
11833         in NO_STACK case.
11834         (state::FLAG_CHANGED): New const.
11835         (state::FLAG_UNUSED): Likewise.
11836         (state::local_changed): Removed.  Updated all users.
11837         (state::flags): New field.
11838         (state::merge): Added jsr_semantics argument, more logic.
11839         (push_jump_merge): Added jsr_semantics argument.
11840         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11841         merging through the jsr instruction.
11842
11843 2004-01-07  Tom Tromey  <tromey@redhat.com>
11844
11845         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11846         backslash-newline.
11847
11848 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11849
11850         * java/awt/Container.java (LightweightDispatcher): Implement.
11851         (visitChild): Reuse graphics object.
11852         (dispatchEventImpl): Optionally dispatch to lightweight.
11853         (addNotifyContainerChildren): Build LightweightDispatcher.
11854
11855 2004-01-07  David Jee  <djee@redhat.com>
11856
11857         * java/awt/Container.java
11858         (update): Clear only the clipped region, instead of clearing the
11859         entire Container.
11860         (visitChildren): Visit children in descending order.
11861
11862 2004-01-07  Michael Koch  <konqueror@gmx.de>
11863
11864         * java/lang/reflect/Array.java: Merged documentation with classpath.
11865
11866 2004-01-07  Michael Koch  <konqueror@gmx.de>
11867
11868         * java/text/CollationElementIterator.java
11869         (textIndex): Renamed from index.
11870         * java/text/CollationKey.java
11871         (collator): New member.
11872         (CollationKey): New argument for parent collator.
11873         (equals): Check for same collator, source string and key array.
11874         * java/text/RuleBasedCollator.java:
11875         Reformated.
11876         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11877         value.
11878         (getCollationElementIterator): Rewritten.
11879         (getCollationKey): Added new argument to CollationKey constructor.
11880
11881 2004-01-07  Michael Koch  <konqueror@gmx.de>
11882
11883         * gnu/java/nio/DatagramChannelImpl.java
11884         (blocking): Removed.
11885         (DatagramChannelImpl): Call configureBlocking().
11886         (implConfigureBlocking): Dont initialize blocking.
11887         * gnu/java/nio/ServerSocketChannelImpl.java
11888         (blocking): Removed.
11889         (ServerSocketChannelImpl): Call configureBlocking().
11890         (implConfigureBlocking): Dont initialize blocking.
11891         * gnu/java/nio/SocketChannelImpl.java
11892         (blocking): Removed.
11893         (SocketChannelImpl): Call configureBlocking().
11894         (implConfigureBlocking): Dont initialize blocking.
11895         (connect): Use isBlocking().
11896         * java/nio/channels/spi/AbstractSelectableChannel.java
11897         (configureBlocking): Use blockingLock() instead of LOCK.
11898         Set blocking after successfully called implConfigureBlocking().
11899         (register): Use blockingLock() instead of LOCK.
11900
11901 2004-01-07  Michael Koch  <konqueror@gmx.de>
11902
11903         * java/net/ServerSocket.java (isBound): Fixed documentation.
11904
11905 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11906
11907         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11908         (changeEvent): Create event object on demand.
11909         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11910         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11911         fireStateChanged): Re-written.
11912         * javax/swing/event/EventListenerList.java: Reformatted, document
11913         typical usage.
11914         (toString): Implemented.
11915         (getListeners): Re-written.
11916         (remove): Re-written.
11917         (add): Re-written.
11918         (NO_LISTENERS): New singleton field.
11919         (listenerList): Declare as transient; document.
11920         (serialVersionUID): Document.
11921         (getListenerCount(Class)): More efficient implementation,
11922         also accepts null argument.  Improve Javadoc.
11923         (getListenerCount()): Remove unnecessary cast; docfix.
11924         * javax/swing/undo/UndoableEditSupport.java:
11925         Re-format, document.
11926         (UndoableEditSupport): Set realSource field. Improve documentation.
11927         (_postEdit): Iterate over cloned listener vector.
11928         (toString): Don't emit realSource.
11929         (beginUpdate, endUpdate): Support nested updates.
11930         (postEdit): Use compound edit if present.
11931
11932 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11933
11934         * java/awt/Container.java (swapComponents): Add forgotten
11935         function, required for JLayeredPane change.
11936
11937 2004-01-06  Michael Koch  <konqueror@gmx.de>
11938
11939         * java/text/CollationElementIterator.java: Reformated.
11940         (CollationElementIterator): Changed order of arguments.
11941         * java/text/RuleBasedCollator.java
11942         (RuleBasedCollator): Merged class documentation.
11943         (CollationElement): Added documentation.
11944         (compare): Reformated, renamed arguments.
11945         (equals): Likewise.
11946         (getCollationElementIterator): Likewise.
11947         (getCollationKey): Likewise.
11948
11949 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11950
11951         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11952
11953 2004-01-06  Michael Koch  <konqueror@gmx.de>
11954
11955         * gnu/java/net/protocol/file/Connection.java:
11956         Reformated copyright.
11957         (hdrHash): Removed.
11958         (hdrVec): Removed.
11959         (gotHeaders): Removed.
11960         (getHeaderField): Removed.
11961         (getHeaderField): Removed.
11962         (getHeaderFieldKey): Removed.
11963         (getKey): Removed.
11964         (getField): Removed.
11965         (getHeaders): Removed.
11966
11967 2004-01-06  Michael Koch  <konqueror@gmx.de>
11968
11969         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11970         javax/print/attribute/standard/DateTimeAtCreation.java,
11971         javax/print/attribute/standard/DateTimeAtProcessing.java,
11972         javax/print/attribute/standard/JobImpressionsCompleted.java,
11973         javax/print/attribute/standard/JobKOctets.java,
11974         javax/print/attribute/standard/JobKOctetsProcessed.java,
11975         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11976         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11977         * Makefile.am (javax_source_files): Added new files.
11978         * Makefile.in: Regenerated.
11979
11980 2004-01-06  Michael Koch  <konqueror@gmx.de>
11981
11982         * java/net/URLConnection.java
11983         (contentHandler): Removed.
11984         (locale): Removed.
11985         (getHeaderFields): Return an empty map instead of null.
11986         (getContent): Connect if needed, renamed "cType" to "type" and
11987         "contentHandler" to "ch" and made it a local variable.
11988         (getPermission): Don't use package in class name.
11989         (setDefaultRequestProperty): Fixed typo in documentation.
11990         (initializeDateFormats): Made locale a local variable.
11991
11992 2004-01-06  Michael Koch  <konqueror@gmx.de>
11993
11994         * java/lang/Package.java
11995         (getPackage): Get the current class loader directly.
11996         * java/lang/SecurityManager.java
11997         (currentLoadedClass): Dont iterate over class contexts.
11998         (classLoaderDepth): Don't check class loaders if everything is allowed.
11999
12000 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12001
12002         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12003         (pre_event_handler): Set all insets to 0 when a Configure event
12004         is received for a GtkPlug.
12005         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12006         Make handle long, not int.
12007         (EmbeddedWindow()): New constructor.
12008         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
12009         long, not int.
12010         (setHandle): New method.
12011         (getHandle): Return long, not int.
12012         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12013         declaration.
12014         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12015         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12016         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
12017         argument to GdkNativeWindow.
12018         (construct): New method.
12019         (embed): New method.
12020
12021         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12022         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12023         (create(int, int)): New method.
12024         (create): Call new create method.
12025         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12026         methods.
12027         (childResized): Remove native implementation.  Implement in
12028         Java.
12029         (getHScrollbarHeight, getVScrollbarWidth): Call
12030         gtk_widget_size_request to get scrollbar dimensions.
12031         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12032         call getVScrollbarWidth and getHScrollbarHeight when vertical
12033         and horizontal scrollbars respectively are needed.
12034         (doLayout): Enlarge child if it is smaller than the viewport.
12035
12036 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12037
12038         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12039         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12040         argument as per spec.
12041
12042 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12043
12044         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12045         (insert): Ditto.
12046         (remove): Ditto.  Also, Check for valid argument.
12047         (removeAll): Use peer interface method.
12048         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12049         native add function.
12050         (nativeRemove): New name for native remove function.
12051         (getHistory): New native function.
12052         (constructor): Generate ItemEvent.
12053         (add): Ditto, if selection is changed.
12054         (remove): Ditto, ditto.
12055         (removeAll): Add implementation.
12056         (handleEvent): Remove.  Dead code.
12057         (choicePostItemEvent): Add comment.
12058         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12059         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12060         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12061         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12062         comments and fix condition to change selection.
12063         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12064         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12065         remove all capability.
12066         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12067         (item_activate): Add cast to remove compiler warning.
12068
12069 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12070
12071         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12072         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12073         (getPreferredSize): Call preferredSize.
12074         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12075         (getMinimumSize): Call minimumSize.
12076         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12077         (gtkWidgetGetDimensions): Return the peer widget's current size
12078         request.
12079         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12080         natural size request.
12081
12082 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12083
12084         Thanks to Brian Gough <bjg@network-theory.com>
12085         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12086         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12087
12088 2004-01-04  Matthias Klose  <doko@debian.org>
12089
12090         * aclocal.m4: Rebuilt using "aclocal -I .".
12091         * configure: Rebuilt.
12092
12093 2004-01-03  Per Bothner  <per@bothner.com>
12094
12095         * java/util/Date.java (parse):  Fix a number of problems.
12096         (skipParens):  Remove no-longer-needed method.
12097