OSDN Git Service

* java/security/Permissions.java (perms): Now package-private.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-06  Tom Tromey  <tromey@redhat.com>
2
3         * java/security/Permissions.java (perms): Now package-private.
4         * java/security/UnresolvedPermission.java (permissions): Now
5         package-private.
6
7 2004-11-06  Tom Tromey  <tromey@redhat.com>
8
9         * java/io/FilePermission.java: Reindented.
10
11 2004-11-06  Tom Tromey  <tromey@redhat.com>
12
13         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
14         package-private.
15         (setBlockDataMode): Likewise.
16
17 2004-11-06  Tom Tromey  <tromey@redhat.com>
18
19         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
20         package-private.
21         (Encoder): Likewise.
22         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
23         (Encoder): Likewise.
24         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
25         package-private.
26         (Encoder): Likewise.
27
28 2004-11-06  Mark Wielaard  <mark@klomp.org>
29
30         * Makefile.am: Add new javax.imageio files.
31         * Makefile.in: Regenerated.
32
33 2004-11-06  Michael Koch  <konqueror@gmx.de>
34
35         * javax/imageio/event/IIOReadProgressListener.java,
36         javax/imageio/event/IIOReadUpdateListener.java,
37         javax/imageio/event/IIOReadWarningListener.java,
38         javax/imageio/event/IIOWriteProgressListener.java,
39         javax/imageio/event/IIOWriteWarningListener.java,
40         javax/imageio/metadata/IIOMetadataFormat.java,
41         javax/imageio/stream/FileCacheImageInputStream.java,
42         javax/imageio/stream/FileCacheImageOutputStream.java,
43         javax/imageio/stream/ImageInputStreamImpl.java:
44         Import cleanup.
45         * javax/imageio/metadata/package.html: New file.
46
47 2004-11-06  Michael Koch  <konqueror@gmx.de>
48
49         * javax/imageio/spi/ImageReaderSpi.java
50         (isOwnReader): New method.
51         * javax/imageio/spi/ImageWriterSpi.java
52         (isOwnWriter): Likewise.
53
54 2004-11-06  Michael Koch  <konqueror@gmx.de>
55
56         * javax/imageio/ImageWriter.java
57         (convertImageMetadata): New abstract method.
58         (convertStreamMetadata): Likewise.
59         (write): Likewise.
60         * javax/imageio/stream/FileCacheImageInputStream.java
61         (close): Fixed setting of stream to null.
62         (checkStreamClosed): Throws IOException.
63
64 2004-11-06  Michael Koch  <konqueror@gmx.de>
65
66         * javax/imageio/stream/FileCacheImageInputStream.java,
67         javax/imageio/stream/FileCacheImageOutputStream.java,
68         javax/imageio/stream/FileImageInputStream.java,
69         javax/imageio/stream/FileImageOutputStream.java,
70         javax/imageio/stream/MemoryCacheImageInputStream.java,
71         javax/imageio/stream/MemoryCacheImageOutputStream.java:
72         New files.
73
74 2004-11-06  Michael Koch  <konqueror@gmx.de>
75
76         * javax/imageio/metadata/IIOInvalidTreeException.java,
77         javax/imageio/metadata/IIOMetadataFormatImpl.java,
78         javax/imageio/metadata/IIOMetadataNode.java:
79         New stub files.
80
81 2004-11-06  Michael Koch  <konqueror@gmx.de>
82
83         * javax/imageio/stream/ImageInputStreamImpl.java,
84         javax/imageio/stream/ImageOutputStreamImpl.java:
85         New files.
86
87 2004-11-06  Michael Koch  <konqueror@gmx.de>
88
89         * javax/imageio/ImageIO.java:
90         Added much new methods.
91
92 2004-11-06  Michael Koch  <konqueror@gmx.de>
93
94         * javax/imageio/ImageReader.java,
95         javax/imageio/ImageWriter.java,
96         javax/imageio/spi/ImageWriterSpi.java:
97         Add SOME new methods.
98
99 2004-11-06  Michael Koch  <konqueror@gmx.de>
100
101         * javax/imageio/IIOParam.java,
102         javax/imageio/ImageReadParam.java,
103         javax/imageio/ImageReader.java,
104         javax/imageio/ImageWriter.java:
105         Mostly implemented.
106         * javax/imageio/spi/ImageReaderSpi.java,
107         javax/imageio/spi/ImageWriterSpi.java:
108         New files.
109
110 2004-11-06  Michael Koch  <konqueror@gmx.de>
111
112         * javax/imageio/ImageWriteParam.java,
113         javax/imageio/metadata/IIOMetadataFormat.java:
114         Implemented.
115
116 2004-11-06  Michael Koch  <konqueror@gmx.de>
117
118         * javax/imageio/ImageTypeSpecifier.java:
119         Mostly implemented.
120
121 2004-11-06  Michael Koch  <konqueror@gmx.de>
122
123         * javax/imageio/metadata/IIOMetadata.java:
124         Mostly implemented.
125
126 2004-11-06  Michael Koch  <konqueror@gmx.de>
127
128         * javax/imageio/IIOImage.java,
129         javax/imageio/ImageReadParam.java,
130         javax/imageio/metadata/IIOMetadataController.java,
131         javax/imageio/metadata/IIOMetadataFormat.java:
132         New files.
133         * javax/imageio/stream/ImageOutputStream.java:
134         Implemented.
135
136 2004-11-06  Michael Koch  <konqueror@gmx.de>
137
138         * javax/imageio/IIOParam.java,
139         javax/imageio/IIOParamController.java,
140         javax/imageio/ImageTypeSpecifier.java,
141         javax/imageio/ImageWriteParam.java,
142         javax/imageio/metadata/IIOMetadata.java:
143         New files.
144         * javax/imageio/ImageTranscoder.java:
145         Implemented.
146
147 2004-11-06  Michael Koch  <konqueror@gmx.de>
148
149         * javax/imageio/spi/ImageInputStreamSpi.java,
150         javax/imageio/spi/ImageOutputStreamSpi.java:
151         Reworked import startments.
152         * javax/imageio/spi/ServiceRegistry.java:
153         Reworked import startments. Fixed XHTML in javadocs.
154         (ServiceRegistry): Added @param tag to javadoc.
155         * javax/imageio/stream/ImageInputStream.java
156         (mark): Doesn't throws IOException;
157
158 2004-11-06  Michael Koch  <konqueror@gmx.de>
159
160         * javax/imageio/ImageIO.java:
161         New file.
162
163 2004-11-06  Michael Koch  <konqueror@gmx.de>
164
165         * javax/imageio/spi/IIORegistry.java
166         (static): Don't register ImageReaderSpi.class and
167         ImageWriterSpi.class yet.
168
169 2004-11-06  Michael Koch  <konqueror@gmx.de>
170
171         * javax/imageio/spi/IIORegistry.java:
172         New file.
173
174 2004-11-06  Noa Resare  <noa@resare.com>
175
176         * java/net/Socket.java (getPort): Return 0 instead of -1 on
177         unconnected sockets.
178
179 2004-11-06  Michael Koch  <konqueror@gmx.de>
180
181         * java/lang/StringBuffer.java,
182         java/lang/Throwable.java,
183         java/security/spec/DSAParameterSpec.java,
184         java/util/zip/ZipEntry.java,
185         java/util/zip/ZipFile.java,
186         java/util/zip/ZipInputStream.java,
187         java/util/zip/ZipOutputStream.java:
188         Removed redundant and reordered modifiers.
189
190 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
191
192         * java/io/Vector.java
193         (writeObject): New function to serialized output thread safe.
194
195         * java/io/ObjectOutputStream.java
196         (writeObject): Move the assignment of the class handle to after
197         the assignment of class descriptor handle.
198
199 2004-11-06  Robert Schuster <thebohemian@gmx.net>
200
201         Fixes documentation and indentation
202         * java/beans/PropertyEditorSupport.java:
203         reworked initial API doc
204         (value): changed name from val
205
206 2004-11-06  Robert Schuster <thebohemian@gmx.net>
207
208         Updates to 1.5
209         * java/beans/PropertyEditorSupport.java
210         (PropertyEditorSupport()): Changed modifier to public
211         (PropertyEditorSupport(Object): Changed modifier to public
212         (setSource): New method
213         (getSource): New method
214
215 2004-11-06  Robert Schuster <thebohemian@gmx.net>
216
217         Fixes bug #10799
218         * java/beans/PropertyEditorSupport.java
219         (setValue): Fire property change event
220
221 2004-11-03  Tom Tromey  <tromey@redhat.com>
222
223         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
224         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
225         returns jobjectArray.
226         (_Jv_JNIEnv::NewObjectArray): Likewise.
227
228 2004-11-01  Tom Tromey  <tromey@redhat.com>
229
230         * verify.cc (state::check_no_uninitialized_objects): Removed.
231         (push_jump): Updated.
232         (push_exception_jump): Likewise.
233         (handle_ret_insn): Likewise.
234         (handle_jsr_insn): Likewise.
235
236 2004-10-30  Mark Wielaard  <mark@klomp.org>
237
238         PR libgcj/18234
239         * java/lang/Runtime.java (static): Call init().
240         (Runtime): Remove call to init().
241         (init): Make static.
242
243 2004-10-28  David Daney  <ddaney@avtrex.com>
244
245         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
246         * Makefile.am: Build it.
247         * Makefile.in: Regenerate.
248
249 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
250
251         PR libgcj/18104
252         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
253         colon.
254         * Makefile.in: Regenerate.
255         * configure: Regenerate.
256         * configure.ac (CLASSPATH_SEPARATOR): Define.
257         * gcj/Makefile.in: Regenerate.
258         * include/Makefile.in: Regenerate.
259         * testsuite/Makefile.in: Regenerate.
260         * testsuite/lib/libjava.exp (libjava_arguments): Fix
261         CLASSPATH separator handling for Windows.
262
263 2004-10-26  Michael Koch  <konqueror@gmx.de>
264
265         * gnu/java/net/protocol/http/Connection.java
266         (getOutputStream): Implicitely switch to POST method.
267
268 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
269
270         * libjava/java/lang/Class.h
271         (java::lang::Class): Correct friend class declaration.
272
273 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
274
275         * Makefile.am (DARWIN_CRT_SRC): New.
276         (libgcj_la_SOURCES): Use it.
277         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
278         * darwin.cc: New file.
279         * include/jvm.h (_Jv_RegisterClasses): Constify.
280         (_Jv_RegisterClasses_Counted): New prototype.
281         * java/lang/Class.h: Include stddef.h.  
282         (_Jv_RegisterClasses): Constify.
283         (_Jv_RegisterClasses_Counted): New prototype.
284         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
285         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
286         (_Jv_RegisterClasses_Counted): New function.
287         * configure: Regenerate.
288         * Makefile.in: Regenerate.
289         * gcj/Makefile.in: Regenerate.
290         * include/Makefile.in: Regenerate.
291         * testsuite/Makefile.in: Regenerate.
292
293 2004-10-25  Tom Tromey  <tromey@redhat.com>
294
295         * java/util/ResourceBundle.java (tryBundle): Use
296         Class.isAssignableFrom rather than catching ClassCastException.
297
298 2004-10-25  Tom Tromey  <tromey@redhat.com>
299
300         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
301         initialize `iter'.
302         * gnu/java/text/SentenceBreakIterator.java
303         (SentenceBreakIterator): Don't initialize `iter'.
304         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
305         initialize `iter'.
306         * gnu/java/text/CharacterBreakIterator.java
307         (CharacterBreakIterator): Don't initialize `iter'.
308         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
309         constructor.
310         * java/text/BreakIterator.java: Updated documentation.
311
312 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
313
314         PR other/18138
315         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
316
317 2004-10-23  Michael Koch  <konqueror@gmx.de>
318
319         * javax/print/DocFlavor.java,
320         javax/print/attribute/standard/JobStateReason.java,
321         javax/print/attribute/standard/MultipleDocumentHandling.java:
322         Added missing constants.
323
324 2004-10-22  Tom Tromey  <tromey@redhat.com>
325
326         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
327         typo.
328
329 2004-10-22  Michael Koch  <konqueror@gmx.de>
330
331         PR libjava/14009
332         * gnu/java/net/protocol/http/Connection.java
333         (sendRequest): Handle case when url.getFile() returns an empty string.
334
335 2004-10-22  Michael Koch  <konqueror@gmx.de>
336
337         * java/lang/Math.java,
338         java/lang/StackTraceElement.java,
339         java/nio/Buffer.java,
340         java/nio/ByteBuffer.java,
341         java/nio/CharBuffer.java,
342         java/nio/DoubleBuffer.java,
343         java/nio/FloatBuffer.java,
344         java/nio/IntBuffer.java,
345         java/nio/LongBuffer.java,
346         java/nio/ShortBuffer.java,
347         java/nio/charset/Charset.java,
348         java/rmi/server/RMIClassLoader.java,
349         java/rmi/server/RMISocketFactory.java,
350         java/security/Policy.java,
351         java/text/ChoiceFormat.java,
352         java/text/CollationElementIterator.java,
353         java/text/DateFormat.java,
354         java/text/DecimalFormat.java,
355         java/text/DecimalFormatSymbols.java,
356         java/text/MessageFormat.java,
357         java/text/NumberFormat.java,
358         java/text/RuleBasedCollator.java,
359         java/text/SimpleDateFormat.java,
360         java/util/BitSet.java,
361         java/util/Calendar.java,
362         java/util/Collections.java,
363         java/util/IdentityHashMap.java,
364         java/util/Locale.java,
365         java/util/TreeMap.java,
366         java/util/logging/LogRecord.java,
367         java/util/logging/XMLFormatter.java,
368         java/util/prefs/AbstractPreferences.java,
369         java/util/prefs/Preferences.java,
370         javax/crypto/interfaces/DHPrivateKey.java,
371         javax/crypto/interfaces/DHPublicKey.java,
372         javax/crypto/interfaces/PBEKey.java,
373         javax/net/ssl/HandshakeCompletedEvent.java,
374         javax/security/auth/Subject.java:
375         Removed redundant and reordered modifiers.
376
377 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
378
379         * gnu/java/net/natPlainSocketImplPosix.cc
380         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
381         with 'int *' argument instead of 'long *'.
382
383 2004-10-21  Michael Koch  <konqueror@gmx.de>
384
385         * java/net/NetworkInterface.java,
386         java/text/Format.java,
387         javax/security/auth/x500/X500Principal.java,
388         javax/security/auth/x500/X500PrivateCredential.java,
389         javax/security/cert/X509CertBridge.java,
390         javax/security/sasl/Sasl.java,
391         javax/sql/XAConnection.java:
392         Import cleanup.
393
394 2004-10-21  Michael Koch  <konqueror@gmx.de>
395
396         * javax/net/ssl/HandshakeCompletedEvent.java,
397         javax/net/ssl/KeyManagerFactory.java,
398         javax/net/ssl/SSLContext.java,
399         javax/net/ssl/SSLServerSocketFactory.java,
400         javax/net/ssl/SSLSession.java,
401         javax/net/ssl/SSLSocketFactory.java,
402         javax/net/ssl/TrustManagerFactory.java:
403         Import cleanup.
404
405 2004-10-21  Michael Koch  <konqueror@gmx.de>
406
407         * javax/naming/directory/BasicAttribute.java,
408         javax/naming/directory/BasicAttributes.java,
409         javax/naming/directory/InitialDirContext.java,
410         javax/naming/event/NamingEvent.java,
411         javax/naming/ldap/ControlFactory.java,
412         javax/naming/ldap/ExtendedRequest.java,
413         javax/naming/ldap/InitialLdapContext.java,
414         javax/naming/ldap/LdapReferralException.java,
415         javax/naming/spi/DirObjectFactory.java,
416         javax/naming/spi/DirStateFactory.java,
417         javax/naming/spi/DirectoryManager.java,
418         javax/naming/spi/InitialContextFactory.java,
419         javax/naming/spi/InitialContextFactoryBuilder.java,
420         javax/naming/spi/NamingManager.java,
421         javax/naming/spi/ObjectFactory.java,
422         javax/naming/spi/ObjectFactoryBuilder.java,
423         javax/naming/spi/StateFactory.java:
424         Import cleanup.
425
426 2004-10-21  Michael Koch  <konqueror@gmx.de>
427
428         * javax/crypto/Cipher.java,
429         javax/crypto/EncryptedPrivateKeyInfo.java,
430         javax/crypto/ExemptionMechanism.java,
431         javax/crypto/KeyAgreement.java,
432         javax/crypto/KeyGenerator.java,
433         javax/crypto/Mac.java,
434         javax/crypto/SecretKeyFactory.java,
435         javax/crypto/SecretKeyFactorySpi.java,
436         javax/crypto/spec/SecretKeySpec.java:
437         Import cleanup.
438
439 2004-10-21  Michael Koch  <konqueror@gmx.de>
440
441         * java/security/AlgorithmParameterGenerator.java,
442         java/security/AlgorithmParameters.java,
443         java/security/AlgorithmParametersSpi.java,
444         java/security/AllPermission.java,
445         java/security/BasicPermission.java,
446         java/security/Certificate.java,
447         java/security/CodeSource.java,
448         java/security/DigestInputStream.java,
449         java/security/DigestOutputStream.java,
450         java/security/GuardedObject.java,
451         java/security/KeyFactory.java,
452         java/security/KeyFactorySpi.java,
453         java/security/KeyPairGenerator.java,
454         java/security/KeyStore.java,
455         java/security/KeyStoreSpi.java,
456         java/security/Permissions.java,
457         java/security/Security.java,
458         java/security/Signature.java,
459         java/security/UnresolvedPermission.java,
460         java/security/cert/CertPathBuilder.java,
461         java/security/cert/CertPathValidator.java,
462         java/security/cert/CertStore.java,
463         java/security/cert/Certificate.java,
464         java/security/cert/CertificateFactory.java,
465         java/security/cert/PolicyQualifierInfo.java,
466         java/security/cert/TrustAnchor.java,
467         java/security/cert/X509CRL.java,
468         java/security/cert/X509CRLSelector.java,
469         java/security/cert/X509CertSelector.java:
470         Import cleanup.
471
472 2004-10-21  Michael Koch  <konqueror@gmx.de>
473
474         * java/rmi/MarshalledObject.java,
475         java/rmi/Naming.java,
476         java/rmi/activation/Activatable.java,
477         java/rmi/activation/ActivationGroup.java,
478         java/rmi/activation/ActivationGroupDesc.java,
479         java/rmi/activation/ActivationInstantiator.java,
480         java/rmi/activation/ActivationMonitor.java,
481         java/rmi/activation/ActivationSystem.java,
482         java/rmi/activation/Activator.java,
483         java/rmi/registry/LocateRegistry.java,
484         java/rmi/registry/Registry.java,
485         java/rmi/server/LogStream.java,
486         java/rmi/server/ObjID.java,
487         java/rmi/server/RMIClientSocketFactory.java,
488         java/rmi/server/RMIServerSocketFactory.java,
489         java/rmi/server/RMISocketFactory.java,
490         java/rmi/server/RemoteCall.java,
491         java/rmi/server/RemoteServer.java,
492         java/rmi/server/ServerRef.java,
493         java/rmi/server/UID.java,
494         java/rmi/server/UnicastRemoteObject.java:
495         Import cleanup.
496
497 2004-10-21  Tom Tromey  <tromey@redhat.com>
498
499         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
500         exception if we hit EOF of `in'.
501         (read): Handle case where inflating returns -1.
502
503 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
504
505         * gnu/java/nio/channels/natFileChannelPosix.cc
506         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
507         argument instead of 'long *'.
508
509 2004-10-21  Tom Tromey  <tromey@redhat.com>
510
511         * java/util/ResourceBundle.java (tryBundle): Also ignore
512         ClassCastException.
513
514 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
515
516         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
517         for all sh*-*-linux* targets.
518         * configure: Regenerate.
519         * include/sh-signal.h: New file.
520
521 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
522
523         * java/lang/ieeefp.h: Add m32r support.
524
525 2004-10-20  Andreas Schwab  <schwab@suse.de>
526
527         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
528         to uaddr, not int.
529         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
530         Likewise.
531
532 2004-10-20  Michael Koch  <konqueror@gmx.de>
533
534         * javax/print/attribute/standard/ColorSupported.java,
535         javax/print/attribute/standard/Compression.java,
536         javax/print/attribute/standard/Copies.java,
537         javax/print/attribute/standard/CopiesSupported.java,
538         javax/print/attribute/standard/DateTimeAtCompleted.java,
539         javax/print/attribute/standard/DateTimeAtCreation.java,
540         javax/print/attribute/standard/DateTimeAtProcessing.java,
541         javax/print/attribute/standard/DocumentName.java,
542         javax/print/attribute/standard/Fidelity.java,
543         javax/print/attribute/standard/Finishings.java,
544         javax/print/attribute/standard/JobHoldUntil.java,
545         javax/print/attribute/standard/JobImpressions.java,
546         javax/print/attribute/standard/JobImpressionsCompleted.java,
547         javax/print/attribute/standard/JobImpressionsSupported.java,
548         javax/print/attribute/standard/JobKOctets.java,
549         javax/print/attribute/standard/JobKOctetsProcessed.java,
550         javax/print/attribute/standard/JobKOctetsSupported.java,
551         javax/print/attribute/standard/JobMediaSheets.java,
552         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
553         javax/print/attribute/standard/JobMediaSheetsSupported.java,
554         javax/print/attribute/standard/JobMessageFromOperator.java,
555         javax/print/attribute/standard/JobName.java,
556         javax/print/attribute/standard/JobOriginatingUserName.java,
557         javax/print/attribute/standard/JobPriority.java,
558         javax/print/attribute/standard/JobPrioritySupported.java,
559         javax/print/attribute/standard/JobSheets.java,
560         javax/print/attribute/standard/JobState.java,
561         javax/print/attribute/standard/JobStateReason.java,
562         javax/print/attribute/standard/JobStateReasons.java,
563         javax/print/attribute/standard/Media.java,
564         javax/print/attribute/standard/MultipleDocumentHandling.java,
565         javax/print/attribute/standard/NumberOfDocuments.java,
566         javax/print/attribute/standard/NumberOfInterveningJobs.java,
567         javax/print/attribute/standard/NumberUp.java,
568         javax/print/attribute/standard/NumberUpSupported.java,
569         javax/print/attribute/standard/OrientationRequested.java,
570         javax/print/attribute/standard/OutputDeviceAssigned.java,
571         javax/print/attribute/standard/PDLOverrideSupported.java,
572         javax/print/attribute/standard/PageRanges.java,
573         javax/print/attribute/standard/PagesPerMinute.java,
574         javax/print/attribute/standard/PagesPerMinuteColor.java,
575         javax/print/attribute/standard/PrintQuality.java,
576         javax/print/attribute/standard/PrinterInfo.java,
577         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
578         javax/print/attribute/standard/PrinterLocation.java,
579         javax/print/attribute/standard/PrinterMakeAndModel.java,
580         javax/print/attribute/standard/PrinterMessageFromOperator.java,
581         javax/print/attribute/standard/PrinterMoreInfo.java,
582         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
583         javax/print/attribute/standard/PrinterName.java,
584         javax/print/attribute/standard/PrinterStateReason.java,
585         javax/print/attribute/standard/PrinterStateReasons.java,
586         javax/print/attribute/standard/PrinterURI.java,
587         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
588         javax/print/attribute/standard/RequestingUserName.java:
589         Reorganized imports and removed redundant final modifiers.
590
591 2004-10-20  Michael Koch  <konqueror@gmx.de>
592
593         * javax/security/sasl/SaslClient.java,
594         javax/security/sasl/SaslClientFactory.java,
595         javax/security/sasl/SaslException.java,
596         javax/security/sasl/SaslServer.java,
597         javax/security/sasl/SaslServerFactory.java:
598         Remvoed CVS tags.
599
600 2004-10-20  Michael Koch  <konqueror@gmx.de>
601
602         * javax/security/auth/login/NullConfiguration.java,
603         javax/security/auth/x500/X500Principal.java,
604         javax/security/cert/X509Certificate.java,
605         javax/security/sasl/AuthenticationException.java,
606         javax/security/sasl/AuthorizeCallback.java,
607         javax/security/sasl/RealmCallback.java,
608         javax/security/sasl/RealmChoiceCallback.java,
609         javax/security/sasl/Sasl.java,
610         javax/security/sasl/SaslClient.java,
611         javax/security/sasl/SaslClientFactory.java,
612         javax/security/sasl/SaslException.java,
613         javax/security/sasl/SaslServer.java,
614         javax/security/sasl/SaslServerFactory.java:
615         Cleaned up import statements and copyright notices.
616
617 2004-10-20  Michael Koch  <konqueror@gmx.de>
618
619         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
620
621 2004-10-20  Michael Koch  <konqueror@gmx.de>
622
623         * java/sql/Timestamp.java,
624         java/text/AttributedCharacterIterator.java,
625         java/text/AttributedString.java,
626         java/util/zip/CheckedOutputStream.java,
627         java/util/zip/DeflaterOutputStream.java,
628         java/util/zip/ZipFile.java,
629         javax/crypto/Cipher.java,
630         javax/crypto/ExemptionMechanismException.java,
631         javax/crypto/SecretKey.java,
632         javax/crypto/SecretKeyFactory.java,
633         javax/naming/directory/ModificationItem.java,
634         javax/naming/directory/SearchControls.java,
635         javax/naming/event/NamingListener.java,
636         javax/naming/ldap/Control.java,
637         javax/naming/ldap/ExtendedResponse.java,
638         javax/net/ssl/SSLSocketFactory.java:
639         Reorganized imports and fixed copyright headers.
640
641 2004-10-20  Michael Koch  <konqueror@gmx.de>
642
643         * java/util/logging/ConsoleHandler.java,
644         java/util/logging/ErrorManager.java,
645         java/util/logging/FileHandler.java,
646         java/util/logging/Filter.java,
647         java/util/logging/Formatter.java,
648         java/util/logging/Handler.java,
649         java/util/logging/Level.java,
650         java/util/logging/LogManager.java,
651         java/util/logging/LogRecord.java,
652         java/util/logging/Logger.java,
653         java/util/logging/LoggingPermission.java,
654         java/util/logging/MemoryHandler.java,
655         java/util/logging/SimpleFormatter.java,
656         java/util/logging/SocketHandler.java,
657         java/util/logging/StreamHandler.java,
658         java/util/logging/XMLFormatter.java:
659         Standardized copyrigth header.
660
661 2004-10-20  Michael Koch  <konqueror@gmx.de>
662
663         * java/security/AlgorithmParameterGenerator.java,
664         java/security/AlgorithmParameters.java,
665         java/security/DigestInputStream.java,
666         java/security/Identity.java,
667         java/security/KeyFactory.java,
668         java/security/KeyPairGenerator.java,
669         java/security/KeyStore.java,
670         java/security/MessageDigest.java,
671         java/security/MessageDigestSpi.java,
672         java/security/Policy.java,
673         java/security/SecureRandom.java,
674         java/security/Security.java,
675         java/security/Signature.java,
676         java/security/SignatureSpi.java,
677         java/security/cert/CertPathBuilder.java,
678         java/security/cert/CertPathValidator.java,
679         java/security/cert/CertStore.java,
680         java/security/cert/Certificate.java,
681         java/security/cert/CertificateFactory.java,
682         java/security/cert/PolicyQualifierInfo.java,
683         java/security/cert/TrustAnchor.java,
684         java/security/cert/X509CRL.java,
685         java/security/cert/X509CRLEntry.java,
686         java/security/cert/X509Certificate.java,
687         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
688         Import statements reorganized, some little formatting issues,
689         used java-style array declarations, added comments in empty catch
690         blocks.
691
692 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
693
694         * java/security/Security.java
695         (static): Use AccessController.doPrivileged to get system property.
696
697 2004-10-18  Sven de Marothy  <sven@physto.se>
698
699         * java/nio/ByteBufferHelper.java
700         (putDouble): Use Double.toRawLongBits instead.
701
702 2004-10-18  Mark Wielaard  <mark@klomp.org>
703         Andrew Haley  <aph@redhat.com>
704
705         * testsuite/libjava.lang/ExtraClassLoader.java: New.
706
707 2004-10-18  Andrew Haley  <aph@redhat.com>
708
709         PR java/18036:
710         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
711         and correct logic used to find interpreter.
712         
713 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
714
715         * java/util/logging/LogManager.java
716         (findAncestor): Fixed IndexOutOfBoundsException.
717
718 2004-10-18  Michael Koch  <konqueror@gmx.de>
719
720         * java/io/BufferedInputStream.java: Fixed @author tag.
721         (read): Simplified expression.
722         (read): Merged javadoc a bit more.
723         (read): Renamed 'remain' to 'totalBytesRead'.
724         * java/io/DataInputStream.java,
725         java/io/DataOutputStream.java,
726         java/io/ObjectInputStream.java,
727         java/io/ObjectOutputStream.java:
728         Reworked modifier order.
729
730 2004-10-18  Michael Koch  <konqueror@gmx.de>
731
732         * java/net/Inet4Address.java: Merged file header and javadocs.
733         * java/net/Inet6Address.java: Likewise.
734         * java/net/InetAddress.java
735         (getCanonicalHostName): Create Inet4Address object instead of
736         InetAddress and add comment regarding IPv6.
737         (toString): Simplified.
738
739 2004-10-18  Michael Koch  <konqueror@gmx.de>
740
741         * gnu/java/net/protocol/http/Connection.java,
742         java/nio/MappedByteBufferImpl.java,
743         java/text/RuleBasedCollator.java,
744         java/util/ResourceBundle.java:
745         Reworked import statements.
746
747 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
748
749         * java/security/IdentityScope.java
750         (systemScope): Removed useless initializer.
751         * java/security/Policy.java
752         (currentPolicy): Likewise.
753
754 2004-10-18  Michael Koch  <konqueror@gmx.de>
755
756         * java/lang/System.java: Revert accidential change.
757
758 2004-10-18  Michael Koch  <konqueror@gmx.de>
759
760         * java/lang/Math.java,
761         java/lang/Package.java,
762         java/lang/Runtime.java,
763         java/lang/StrictMath.java,
764         java/lang/System.java,
765         java/lang/Thread.java,
766         java/lang/ThreadLocal.java,
767         java/lang/Void.java:
768         Reworked import statements, HTML in javadocs and modifier orders.
769
770 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
771
772         * java/util/Timer.java
773         (nr): Removed useless initializer.
774         * java/util/logging/LogRecord.java
775         (lastSeqNum): Likewise.
776         * javax/naming/spi/NamingManager.java
777         (icfb, ofb): Likewise.
778
779 2004-10-18  Michael Koch  <konqueror@gmx.de>
780
781         * gnu/java/net/PlainDatagramSocketImpl.java:
782         Reworked import statements.
783         * gnu/java/security/provider/DSAParameters.java:
784         Fixed copyrigth years.
785         * java/net/JarURLConnection.java:
786         Fixed HTML in @author tags.
787         
788
789 2004-10-18  Michael Koch  <konqueror@gmx.de>
790
791         * java/rmi/activation/ActivationSystem.java
792         (SYSTEM_PORT): Initialize with correct port number.
793
794 2004-10-18  Michael Koch  <konqueror@gmx.de>
795
796         * java/lang/reflect/Proxy.java: Improved javadocs.
797
798 2004-10-18  Michael Koch  <konqueror@gmx.de>
799
800         * java/lang/reflect/AccessibleObject.java
801         (checkPermission): Removed redundant final modifier.
802         (secureSetAccessible): Likewise.
803         * java/lang/reflect/Proxy.java:
804         Reworked import statements.
805         (generate): Removed redundant final modifier.
806         * java/lang/reflect/ReflectPermission.java:
807         Reorder package declaration and import statement.
808
809 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
810
811         * java/lang/reflect/Proxy.java
812         (count): Removed useless initializer.
813
814 2004-10-17  Michael Koch  <konqueror@gmx.de>
815
816         * java/net/BindException.java,
817         java/net/ConnectException.java,
818         java/net/ContentHandler.java,
819         java/net/ContentHandlerFactory.java,
820         java/net/DatagramPacket.java,
821         java/net/DatagramSocket.java,
822         java/net/DatagramSocketImpl.java,
823         java/net/DatagramSocketImplFactory.java,
824         java/net/FileNameMap.java,
825         java/net/HttpURLConnection.java,
826         java/net/MalformedURLException.java,
827         java/net/MulticastSocket.java,
828         java/net/NetworkInterface.java,
829         java/net/NoRouteToHostException.java,
830         java/net/PasswordAuthentication.java,
831         java/net/PortUnreachableException.java,
832         java/net/ProtocolException.java,
833         java/net/ServerSocket.java,
834         java/net/Socket.java,
835         java/net/SocketException.java,
836         java/net/SocketImpl.java,
837         java/net/SocketImplFactory.java,
838         java/net/SocketOptions.java,
839         java/net/SocketPermission.java,
840         java/net/SocketTimeoutException.java,
841         java/net/URI.java,
842         java/net/URISyntaxException.java,
843         java/net/URL.java,
844         java/net/URLDecoder.java,
845         java/net/URLEncoder.java,
846         java/net/URLStreamHandler.java,
847         java/net/URLStreamHandlerFactory.java,
848         java/net/UnknownHostException.java,
849         java/net/UnknownServiceException.java:
850         Big import statement and @author tag cleanup.
851
852 2004-10-17  Michael Koch  <konqueror@gmx.de>
853
854         * gnu/java/security/OID.java,
855         gnu/java/security/provider/DSAParameters.java,
856         gnu/java/security/provider/DSASignature.java,
857         gnu/java/security/x509/X500DistinguishedName.java,
858         gnu/java/security/x509/X509CRL.java:
859         Import statements cleaned up.
860
861 2004-10-16  Michael Koch  <konqueror@gmx.de>
862
863         * gnu/java/nio/NIODatagramSocket.java,
864         gnu/java/nio/ServerSocketChannelImpl.java:
865         Reorganized import statements.
866
867 2004-10-16  Michael Koch  <konqueror@gmx.de>
868
869         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
870         gnu/java/rmi/rmic/RMIC.java,
871         gnu/java/rmi/server/RMIHashes.java,
872         gnu/java/rmi/server/RMIObjectInputStream.java,
873         gnu/java/rmi/server/RMIObjectOutputStream.java,
874         gnu/java/rmi/server/UnicastConnection.java,
875         gnu/java/rmi/server/UnicastConnectionManager.java,
876         gnu/java/rmi/server/UnicastRemoteCall.java,
877         gnu/java/rmi/server/UnicastServer.java,
878         gnu/java/rmi/server/UnicastServerRef.java,
879         java/rmi/MarshalledObject.java,
880         java/rmi/Naming.java,
881         java/rmi/RMISecurityManager.java,
882         java/rmi/Remote.java,
883         java/rmi/activation/Activatable.java,
884         java/rmi/activation/ActivationDesc.java,
885         java/rmi/activation/ActivationGroup.java,
886         java/rmi/activation/ActivationGroupDesc.java,
887         java/rmi/activation/ActivationGroupID.java,
888         java/rmi/activation/ActivationID.java,
889         java/rmi/activation/ActivationInstantiator.java,
890         java/rmi/activation/ActivationMonitor.java,
891         java/rmi/activation/ActivationSystem.java,
892         java/rmi/activation/Activator.java,
893         java/rmi/dgc/DGC.java,
894         java/rmi/dgc/Lease.java,
895         java/rmi/dgc/VMID.java,
896         java/rmi/registry/LocateRegistry.java,
897         java/rmi/registry/Registry.java,
898         java/rmi/registry/RegistryHandler.java,
899         java/rmi/server/LoaderHandler.java,
900         java/rmi/server/LogStream.java,
901         java/rmi/server/ObjID.java,
902         java/rmi/server/Operation.java,
903         java/rmi/server/RMIClassLoader.java,
904         java/rmi/server/RMIClassLoaderSpi.java,
905         java/rmi/server/RMIClientSocketFactory.java,
906         java/rmi/server/RMIFailureHandler.java,
907         java/rmi/server/RMIServerSocketFactory.java,
908         java/rmi/server/RMISocketFactory.java,
909         java/rmi/server/RemoteCall.java,
910         java/rmi/server/RemoteObject.java,
911         java/rmi/server/RemoteRef.java,
912         java/rmi/server/RemoteServer.java,
913         java/rmi/server/RemoteStub.java,
914         java/rmi/server/ServerRef.java,
915         java/rmi/server/Skeleton.java,
916         java/rmi/server/SkeletonMismatchException.java,
917         java/rmi/server/UID.java,
918         java/rmi/server/UnicastRemoteObject.java,
919         java/rmi/server/Unreferenced.java:
920         File headers and import statements cleaned up.
921
922 2004-10-16  Michael Koch  <konqueror@gmx.de>
923
924         * libjava/gnu/java/nio/charset/UTF_16.java,
925         libjava/gnu/java/nio/charset/UTF_16BE.java,
926         libjava/gnu/java/nio/charset/UTF_16LE.java,
927         libjava/java/nio/ByteOrder.java,
928         libjava/java/nio/MappedByteBuffer.java,
929         libjava/java/nio/channels/Channels.java,
930         libjava/java/nio/channels/spi/SelectorProvider.java,
931         libjava/java/nio/charset/Charset.java:
932         Cleanup.
933
934 2004-10-16  Michael Koch  <konqueror@gmx.de>
935
936         * gnu/java/nio/charset/UTF_16Encoder.java
937         (UTF_16Encoder): Fixed maxBytesPerChar handling.
938
939 2004-10-16  Michael Koch  <konqueror@gmx.de>
940
941         * java/math/BigDecimal.java, java/math/BigInteger.java:
942         Reorganized import statements, removed redundant and
943         reorganized modifiers.
944
945 2004-10-16  Michael Koch  <konqueror@gmx.de>
946
947         * gnu/java/beans/ExplicitBeanInfo.java:
948         Explicitely import java.awt.Image.
949         (getIcon): Fixed off-by-one error.
950
951 2004-10-15  Andrew Haley  <aph@redhat.com>
952
953         * Makefile.am (nat_files, xlib_nat_files): New.
954         * Makefile.in: Regenerate.
955
956 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
957
958         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
959         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
960
961 2004-10-13  Andrew Haley  <aph@redhat.com>
962
963         * interpret.cc (_Jv_InterpMethod::run): Initialize
964         _Jv_StartOfInterpreter.
965         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
966         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
967         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
968         _Unwind_FindEnclosingFunction to discover whether PC is within the
969         interpreter.
970
971 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
972
973         PR libgcj/17903:
974         * testsuite/libjava.lang/md5test.java: New file.
975         * testsuite/libjava.lang/md5test.out: Likewise.
976         * testsuite/libjava.lang/shatest.java: Likewise.
977         * testsuite/libjava.lang/shatest.out: Likewise.
978
979 2004-10-11  Richard Henderson  <rth@redhat.com>
980
981         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
982         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
983
984 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
985
986         * java/util/Calendar.java (set): Invalidate DST_OFFSET
987         field as a DST boundary may have been crossed.
988         * java/util/GregorianCalendar.java (add): Throw 
989         IllegalArgumentException on attempt to add to DST_OFFSET or 
990         ZONE_OFFSET fields. Update javadoc.
991
992 2004-10-09  Michael Koch  <konqueror@gmx.de>
993
994         * java/io/CharArrayWriter.java
995         (resize): Removed redundant 'final' modifier.
996         * java/io/DataInputStream.java
997         (readFully): Throw IndexOutOfBoundsException of len < 0.
998         * java/io/FileDescriptor.java,
999         java/io/FileInputStream.java,
1000         java/io/FileOutputStream.java,
1001         java/io/ObjectOutputStream.java,
1002         java/io/ObjectStreamClass.java,
1003         java/io/PipedInputStream.java,
1004         java/io/RandomAccessFile.java:
1005         Reorganized import statements.
1006
1007 2004-10-09  Michael Koch  <konqueror@gmx.de>
1008
1009         * gnu/java/rmi/rmic/RMIC.java,
1010         gnu/java/rmi/server/RMIHashes.java,
1011         gnu/java/rmi/server/RMIObjectInputStream.java,
1012         gnu/java/rmi/server/UnicastConnection.java,
1013         gnu/java/rmi/server/UnicastConnectionManager.java,
1014         gnu/java/rmi/server/UnicastRemoteCall.java,
1015         gnu/java/rmi/server/UnicastServerRef.java:
1016         Reworked import statements and fixed file headers.
1017
1018 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1019
1020         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1021         emission rule.
1022         * configure: Rebuilt.
1023
1024 2004-09-30  Tom Tromey  <tromey@redhat.com>
1025
1026         * java/text/MessageFormat.java (Field): Constructor now
1027         protected.
1028
1029 2004-09-30  Tom Tromey  <tromey@redhat.com>
1030
1031         * javax/crypto/MacSpi.java: Fixed typo.
1032
1033 2004-09-30  Michael Koch  <konqueror@gmx.de>
1034
1035         * java/net/InetAddress.java: Reformatted.
1036         (loopback): Initialize with Inet4Address object.
1037         (static): Initialize ANY_IF with Inet4Address object.
1038         (InetAddress): Removed unused package-private constructor.
1039
1040 2004-09-30  Michael Koch  <konqueror@gmx.de>
1041
1042         * java/beans/Beans.java,
1043         java/beans/EventHandler.java,
1044         java/beans/EventSetDescriptor.java,
1045         java/beans/Introspector.java,
1046         java/beans/PropertyEditorManager.java,
1047         java/beans/beancontext/BeanContext.java,
1048         java/beans/beancontext/BeanContextChild.java,
1049         java/beans/beancontext/BeanContextChildSupport.java,
1050         java/beans/beancontext/BeanContextMembershipEvent.java:
1051         Reordered import statements and removed redundant modifiers.
1052
1053 2004-09-29  Tom Tromey  <tromey@redhat.com>
1054
1055         PR libgcj/17715:
1056         * Makefile.in: Rebuilt.
1057         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1058         files.
1059         (all_property_files): New macro.
1060
1061         * Makefile.in: Rebuilt.
1062         * Makefile.am (ordinary_java_source_files): Re-sorted.
1063         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1064
1065 2004-09-28  Tom Tromey  <tromey@redhat.com>
1066
1067         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1068
1069         PR libgcj/17222:
1070         * Makefile.am (libgcj.la): Restored.
1071         * Makefile.in: Rebuilt.
1072
1073 2004-09-28  Michael Koch  <konqueror@gmx.de>
1074
1075         * java/net/URLConnection.java: Reformatted.
1076         * java/net/URLClassLoader.java: Reformatted.
1077         (getContent): Reordered return of content.
1078         (getContentHandler): Don't check for null explicitely.
1079
1080 2004-09-27  Michael Koch  <konqueror@gmx.de>
1081
1082         * java/io/BufferedInputStream.java
1083         (BufferedInputStream): Added Jeroen Frijters to authors.
1084         (count): Don't explicitely initialize with default value.
1085         (pos): Likewise.
1086         (marklimit): Likewise.
1087         (read): Changed boolean expression to match GNU classpath' version.
1088         (reset): Add proper message to exception.
1089         (skip): Check for closed stream.
1090         (refill): Likewise.
1091
1092 2004-09-26  Per Bothner  <per@bothner.com>
1093
1094         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1095         avoid warnings in the non-POSIX_VERSION case.
1096         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1097         so place it inside an #if block.
1098         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1099         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1100         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1101         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1102
1103 2004-09-26  Per Bothner  <per@bothner.com>
1104
1105         * prims.cc (process_gcj_properties):  Optimization.
1106
1107 2004-09-26  Per Bothner  <per@bothner.com>
1108
1109         * java/util/Collections.java (sort):  Copy from array in forwards
1110         order, rather than reverse order which may be much less efficient.
1111
1112 2004-09-26  Mark Wielaard  <mark@klomp.org>
1113
1114         * java/lang/System.java (properties): Make package private.
1115         * java/lang/Throwable.java (StaticData.nl): Initialize through
1116         directly accessing System.properties.getProperty().
1117
1118         * java/lang/Throwable.java (nl): Remove static field.
1119         (StaticData): New private static inner class.
1120         (stackTraceStringBuffer): Use StaticData.nl.
1121
1122 2004-09-26  Casey Marshall <csm@gnu.org>
1123
1124         * java/security/ProtectionDomain.java
1125         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1126         `true'.
1127
1128         * java/security/SecureClassLoader.java
1129         (defineClass): make protection domain dynamically bound.
1130         (getPermissions): call `getCurrentPolicy' to avoid permission
1131         check.
1132
1133 2004-09-25  Mark Wielaard  <mark@klomp.org>
1134
1135         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1136         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1137         * Makefile.in: Regenerated.
1138
1139         * gcj/javaprims.h: Regenerated.
1140
1141         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1142         (getDefaultTimeZone): Make package private. Check that GMToffset
1143         contains at least one digit.
1144         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1145         VMTimeZone.
1146         * util/VMTimeZone.java: New file with above methods.
1147
1148         * java/util/natTimeZone.cc: Removed (renamed).
1149         * java/util/natVMTimeZone.cc: Added (renamed).
1150
1151 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1152
1153         * java/util/TimeZone.java
1154         (getDefaultTimeZone): Fixed test to distinguish between hours and
1155         minutes in specified timezone.
1156
1157 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1158
1159         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1160         handling of default package. (generate): Removed confused comments
1161         and code about making Method and Field accessible.
1162
1163 2004-09-25  Tom Tromey  <tromey@redhat.com>
1164
1165         PR java/17500:
1166         * testsuite/libjava.compile/pr17500.java: New file.
1167
1168 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1169             Mark Wielaard  <mark@klomp.org>
1170
1171         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1172         * gnu/regexp/RETokenLookAhead.java: New file.
1173
1174         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1175         * Makefile.in: Regenerated.
1176
1177 2004-09-25  Michael Koch  <konqueror@gmx.de>
1178
1179         * java/io/ObjectStreamField.java:
1180         Removed unused import statement.
1181
1182 2004-09-24  Tom Tromey  <tromey@redhat.com>
1183
1184         PR java/15656:
1185         * testsuite/libjava.compile/pr15656.xfail: New file.
1186         * testsuite/libjava.compile/pr15656.java: new file.
1187
1188         PR java/16789:
1189         * testsuite/libjava.lang/pr16789.out: New file.
1190         * testsuite/libjava.lang/pr16789.java: New file.
1191
1192 2004-09-24  Andrew Haley  <aph@redhat.com>
1193
1194         PR java/16927
1195         * testsuite/libjava.compile/AssertBug.java: New file.
1196
1197 2004-09-24  Casey Marshall <csm@gnu.org>
1198
1199         * java/util/PropertyPermissionCollection.java
1200         (implies): avoid infinite loop.
1201
1202 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1203
1204         * javax/security/auth/PrivateCredentialPermission.java
1205         (PrivateCredentialPermission): added serialization UID
1206
1207
1208 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1209
1210         * gnu/java/rmi/server/UnicastServer.java
1211         (incomingMessageCall): Added code to handle Errors.
1212         * gnu/java/rmi/server/UnicastServerRef.java
1213         (incomingMessageCall): Added code to handle Errors.
1214
1215
1216 2004-09-24  Tom Tromey  <tromey@redhat.com>
1217
1218         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1219         (definedPackages): Likewise.
1220
1221 2004-09-24  Michael Koch  <konqueror@gmx.de>
1222
1223         * java/io/ObjectInputStream.java:
1224         Re-ordered imports.
1225
1226 2004-09-24  Casey Marshall <csm@gnu.org>
1227
1228         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1229         `ClassNotFoundException'.
1230
1231 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1232
1233         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1234         of Externalizable classes to ObjectStreamClass.
1235         * java/io/ObjectStreamClass.java (newInstance): New method to
1236         instantiate Externalizable (while ignoring the accessibility of
1237         the constructor). (constructor): New field to cache the constructor.
1238
1239 2004-09-24  Mark Wielaard  <mark@klomp.org>
1240
1241         * java/net/URL.java (systemClassLoader): New static field.
1242         (getURLStreamHandler): Always use system/application classloader
1243         for finding URLStreamhandler. Remove unecessary instanceof checks.
1244
1245 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1246
1247         * java/net/URL.java
1248         (set): This method now matches the behaviour of the JDK.
1249         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1250
1251 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1252
1253         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1254
1255 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1256
1257         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1258         Don't set authority if host isn't specified.
1259
1260 2004-09-24  Michael Koch  <konqueror@gmx.de>
1261
1262         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1263         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1264         * gnu/java/nio/VMPipe.java,
1265         gnu/java/nio/VMSelector.java:
1266         New files.
1267         * gnu/java/nio/natPipeImplEcos.cc,
1268         gnu/java/nio/natPipeImplPosix.cc,
1269         gnu/java/nio/natPipeImplWin32.cc:
1270         Ported to VMPipe.
1271         * gnu/java/nio/natSelectorImplEcos.cc,
1272         gnu/java/nio/natSelectorImplPosix.cc,
1273         gnu/java/nio/natSelectorImplWin32.cc:
1274         Ported to VMSelector.
1275         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1276         gnu/java/nio/VMSelector.java.
1277         * Makefile.in: Regenerated.
1278
1279 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1280
1281         * java/lang/StackTraceElement.java
1282         (className): Renamed field to declaringClass to be compatible
1283         with Sun serialization format.
1284
1285 2004-09-23  Michael Koch  <konqueror@gmx.de>
1286
1287         * java/applet/AppletContext.java,
1288         java/applet/Applet.java,
1289         java/applet/AppletStub.java,
1290         java/applet/AudioClip.java:
1291         Jalopied and checkstyle clean.
1292
1293 2004-09-23  Mark Wielaard  <mark@klomp.org>
1294
1295         * java/util/Collections.java
1296         (binarySearch(List, Object, Comparator)): Explicitly
1297         reverse direction in list iterator.
1298         (rotate): Just return when list is empty.
1299
1300 2004-09-23  Tom Tromey  <tromey@redhat.com>
1301
1302         PR java/17329:
1303         * testsuite/libjava.compile/pr17329.java: New file.
1304
1305         PR java/17380:
1306         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1307         9.2-implicit-7.
1308
1309 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1310
1311         * Makefile.am: Run aclocal with -I ../config
1312         * acinclude.m4: Delete macros picked up from ../config and tidy.
1313         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1314         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1315         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1316
1317 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1318
1319         * aclocal.m4: Regenerate with aclocal 1.9.2.
1320         * configure: Regenerate.
1321         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1322         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1323
1324 2004-09-22  David Daney  <ddaney@avtrex.com>
1325
1326         PR libgcj/17623
1327         * java/net/URL.java (URL): Copy userInfo from context.
1328         (getUserInfo): Return cached userInfo if present.
1329
1330 2004-09-22  Tom Tromey  <tromey@redhat.com>
1331
1332         PR libgcj/6182:
1333         * mauve-libgcj: Enable java.lang.Character tests.
1334
1335 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1336
1337         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1338         dependencies.
1339         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1340         * Makefile.in: Regenerated.
1341
1342 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1343
1344         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1345         * configure: Regenerate.
1346         * include/config.h.in: Likewise.
1347         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1349         macro to gtkpeer.h.
1350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1351         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1352         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1353         architectures.
1354         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1355         Likewise.
1356
1357 2004-09-22  Tom Tromey  <tromey@redhat.com>
1358
1359         PR libgcj/14446:
1360         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1361         when comparing CRCs.
1362         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1363         field.
1364         (read()): New overload.
1365
1366 2004-09-21  Tom Tromey  <tromey@redhat.com>
1367
1368         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1369         Indentation fix.
1370
1371 2004-09-21  Michael Koch  <konqueror@gmx.de>
1372
1373         * java/net/Socket.java
1374         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1375
1376 2004-09-21  Casey Marshall  <csm@gnu.org>
1377
1378         * javax/crypto/MacSpi.java (clone): Provide meaningful
1379         implementation.
1380
1381 2004-09-21  Tom Tromey  <tromey@redhat.com>
1382
1383         PR libgcj/16869:
1384         * Makefile.in: Rebuilt.
1385         * Makefile.am (MOSTLYCLEANFILES): Removed.
1386         (mostlyclean-local): Remove header files.
1387
1388 2004-09-21  Casey Marshall  <csm@gnu.org>
1389
1390         * java/security/cert/X509CRLSelector.java:
1391         (match): remove unreachable try-catch clauses.
1392         Reported by: Dalibor Topic <robilad@kaffe.org>
1393
1394 2004-09-21  Mark Wielaard  <mark@klomp.org>
1395
1396         * java/util/TreeMap.java (root): Don't initialize.
1397         (TreeMap(Comparator)): Call fabricateTree(0).
1398         (fabricateTree): Initialize root and size when count is 0.
1399
1400 2004-09-21  Sven de Marothy <sven@physto.se>
1401
1402         * java/nio/ByteBuffer.java (hashCode): Implemented.
1403         * java/nio/CharBuffer.java: Likewise.
1404         * java/nio/DoubleBuffer.java: Likewise.
1405         * java/nio/FloatBuffer.java: Likewise.
1406         * java/nio/LongBuffer.java: Likewise.
1407         * java/nio/IntBuffer.java: Likewise.
1408         * java/nio/ShortBuffer.java: Likewise.
1409
1410 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1411
1412         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1413
1414 2004-09-21  Michael Koch  <konqueror@gmx.de>
1415
1416         * javax/net/ssl/SSLServerSocket.java:
1417         Removed comment about "Do not edit this file, it's generated.".
1418
1419 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1420
1421         Import the big Crypto/Jessie/Security merge from Classpath.
1422
1423         * Makefile.am: Add imported files.
1424         * Makefile.in: Regenerate.
1425
1426         2004-08-14  Casey Marshall <csm@gnu.org>
1427
1428         The Big Crypto Merge of 2004.
1429
1430         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1431         Crypto's version.
1432
1433         Files imported from GNU Crypto.
1434         * javax/crypto/BadPaddingException.java
1435         * javax/crypto/Cipher.java
1436         * javax/crypto/CipherInputStream.java
1437         * javax/crypto/CipherOutputStream.java
1438         * javax/crypto/CipherSpi.java
1439         * javax/crypto/EncryptedPrivateKeyInfo.java
1440         * javax/crypto/ExemptionMechanism.java
1441         * javax/crypto/ExemptionMechanismException.java
1442         * javax/crypto/ExemptionMechanismSpi.java
1443         * javax/crypto/IllegalBlockSizeException.java
1444         * javax/crypto/KeyAgreement.java
1445         * javax/crypto/KeyAgreementSpi.java
1446         * javax/crypto/KeyGenerator.java
1447         * javax/crypto/KeyGeneratorSpi.java
1448         * javax/crypto/Mac.java
1449         * javax/crypto/MacSpi.java
1450         * javax/crypto/Makefile.am
1451         * javax/crypto/NoSuchPaddingException.java
1452         * javax/crypto/NullCipher.java
1453         * javax/crypto/NullCipherImpl.java
1454         * javax/crypto/SealedObject.java
1455         * javax/crypto/SecretKey.java
1456         * javax/crypto/SecretKeyFactory.java
1457         * javax/crypto/SecretKeyFactorySpi.java
1458         * javax/crypto/ShortBufferException.java
1459         * javax/crypto/interfaces/DHKey.java
1460         * javax/crypto/interfaces/DHPrivateKey.java
1461         * javax/crypto/interfaces/DHPublicKey.java
1462         * javax/crypto/interfaces/PBEKey.java
1463         * javax/crypto/spec/DESKeySpec.java
1464         * javax/crypto/spec/DESedeKeySpec.java
1465         * javax/crypto/spec/DHGenParameterSpec.java
1466         * javax/crypto/spec/DHParameterSpec.java
1467         * javax/crypto/spec/DHPrivateKeySpec.java
1468         * javax/crypto/spec/DHPublicKeySpec.java
1469         * javax/crypto/spec/IvParameterSpec.java
1470         * javax/crypto/spec/PBEKeySpec.java
1471         * javax/crypto/spec/PBEParameterSpec.java
1472         * javax/crypto/spec/RC2ParameterSpec.java
1473         * javax/crypto/spec/RC5ParameterSpec.java
1474         * javax/crypto/spec/SecretKeySpec.java
1475         * javax/security/auth/AuthPermission.java
1476         * javax/security/auth/DestroyFailedException.java
1477         * javax/security/auth/Destroyable.java
1478         * javax/security/auth/Policy.java
1479         * javax/security/auth/PrivateCredentialPermission.java
1480         * javax/security/auth/RefreshFailedException.java
1481         * javax/security/auth/Refreshable.java
1482         * javax/security/auth/Subject.java
1483         * javax/security/auth/SubjectDomainCombiner.java
1484         * javax/security/auth/callback/Callback.java
1485         * javax/security/auth/callback/CallbackHandler.java
1486         * javax/security/auth/callback/ChoiceCallback.java
1487         * javax/security/auth/callback/ConfirmationCallback.java
1488         * javax/security/auth/callback/LanguageCallback.java
1489         * javax/security/auth/callback/NameCallback.java
1490         * javax/security/auth/callback/PasswordCallback.java
1491         * javax/security/auth/callback/TextInputCallback.java
1492         * javax/security/auth/callback/TextOutputCallback.java
1493         * javax/security/auth/callback/UnsupportedCallbackException.java
1494         * javax/security/auth/login/AccountExpiredException.java
1495         * javax/security/auth/login/AppConfigurationEntry.java
1496         * javax/security/auth/login/Configuration.java
1497         * javax/security/auth/login/CredentialExpiredException.java
1498         * javax/security/auth/login/FailedLoginException.java
1499         * javax/security/auth/login/LoginContext.java
1500         * javax/security/auth/login/LoginException.java
1501         * javax/security/auth/login/NullConfiguration.java
1502         * javax/security/auth/x500/X500PrivateCredential.java
1503         * javax/security/sasl/AuthenticationException.java
1504         * javax/security/sasl/AuthorizeCallback.java
1505         * javax/security/sasl/RealmCallback.java
1506         * javax/security/sasl/RealmChoiceCallback.java
1507         * javax/security/sasl/Sasl.java
1508         * javax/security/sasl/SaslClient.java
1509         * javax/security/sasl/SaslClientFactory.java
1510         * javax/security/sasl/SaslException.java
1511         * javax/security/sasl/SaslServer.java
1512         * javax/security/sasl/SaslServerFactory.java
1513         * org/ietf/jgss/ChannelBinding.java
1514         * org/ietf/jgss/GSSContext.java
1515         * org/ietf/jgss/GSSCredential.java
1516         * org/ietf/jgss/GSSException.java
1517         * org/ietf/jgss/GSSManager.java
1518         * org/ietf/jgss/GSSName.java
1519         * org/ietf/jgss/MessageProp.java
1520         * org/ietf/jgss/Oid.java
1521         * org/ietf/jgss/MessagesBundle.properties
1522
1523         Files imported from Jessie <http://www.nongnu.org/jessie/>
1524         * javax/net/ServerSocketFactory.java
1525         * javax/net/SocketFactory.java
1526         * javax/net/VanillaServerSocketFactory.java
1527         * javax/net/VanillaSocketFactory.java
1528         * javax/net/ssl/HandshakeCompletedEvent.java
1529         * javax/net/ssl/HandshakeCompletedListener.java
1530         * javax/net/ssl/HostnameVerifier.java
1531         * javax/net/ssl/HttpsURLConnection.java
1532         * javax/net/ssl/KeyManager.java
1533         * javax/net/ssl/KeyManagerFactory.java
1534         * javax/net/ssl/KeyManagerFactorySpi.java
1535         * javax/net/ssl/ManagerFactoryParameters.java
1536         * javax/net/ssl/SSLContext.java
1537         * javax/net/ssl/SSLContextSpi.java
1538         * javax/net/ssl/SSLException.java
1539         * javax/net/ssl/SSLHandshakeException.java
1540         * javax/net/ssl/SSLKeyException.java
1541         * javax/net/ssl/SSLPeerUnverifiedException.java
1542         * javax/net/ssl/SSLPermission.java
1543         * javax/net/ssl/SSLProtocolException.java
1544         * javax/net/ssl/SSLServerSocket.java
1545         * javax/net/ssl/SSLServerSocketFactory.java
1546         * javax/net/ssl/SSLSession.java
1547         * javax/net/ssl/SSLSessionBindingEvent.java
1548         * javax/net/ssl/SSLSessionBindingListener.java
1549         * javax/net/ssl/SSLSessionContext.java
1550         * javax/net/ssl/SSLSocket.java
1551         * javax/net/ssl/SSLSocketFactory.java
1552         * javax/net/ssl/TrivialHostnameVerifier.java
1553         * javax/net/ssl/TrustManager.java
1554         * javax/net/ssl/TrustManagerFactory.java
1555         * javax/net/ssl/TrustManagerFactorySpi.java
1556         * javax/net/ssl/X509KeyManager.java
1557         * javax/net/ssl/X509TrustManager.java
1558         * javax/security/cert/Certificate.java
1559         * javax/security/cert/CertificateEncodingException.java
1560         * javax/security/cert/CertificateException.java
1561         * javax/security/cert/CertificateExpiredException.java
1562         * javax/security/cert/CertificateNotYetValidException.java
1563         * javax/security/cert/CertificateParsingException.java
1564         * javax/security/cert/X509CertBridge.java
1565         * javax/security/cert/X509Certificate.java
1566
1567         2004-08-20  Casey Marshall  <csm@gnu.org>
1568
1569         * java/security/cert/X509CRLSelector.java: New file.
1570         * java/security/cert/X509CertSelector.java: New file.
1571
1572 2004-09-15  Michael Koch  <konqueror@gmx.de>
1573
1574         * gnu/java/net/protocol/file/Handler.java
1575         (openConnection): Don't throw exception if host part for file: URI is
1576         present. setURL() keeps file: protocol if ftp: protocol is not
1577         available.
1578
1579 2004-09-14  Richard Henderson  <rth@redhat.com>
1580
1581         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1582         value of sigsuspend.
1583
1584 2004-09-12  Tom Tromey  <tromey@redhat.com>
1585
1586         * javax/naming/CompoundName.java (CompoundName): Don't check for
1587         separator in "flat" case.
1588
1589 2004-09-12  Michael Koch  <konqueror@gmx.de>
1590
1591         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1592         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1593         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1594         Regenerate.
1595
1596 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1597
1598         PR libgcj/14751
1599         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1600         handle in newly-allocated _Jv_Thread_t.
1601         (_Jv_ThreadDestroyData): Close thread handle.
1602         (_Jv_ThreadStart): Remove obsolete comment.
1603         Store handle of newly-created thread in _Jv_Thread_t.
1604         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1605         before including <windows.h>
1606         #define _Jv_HaveCondDestroy
1607
1608 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1609
1610         * java/lang/natThread.cc (finalize_native): Destroy
1611         join conditional variable and mutex if these destroy
1612         operations are supported.
1613
1614 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1615
1616         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1617         (DEFAULT_PERMISSION): New constant.
1618         (Connection): Create a FilePermission with permission to read file.
1619
1620 2004-09-10  Michael Koch  <konqueror@gmx.de>
1621
1622         * gnu/java/net/protocol/file/Connection.java
1623         (getLastModified): Moved around.
1624         (getPermission): Return stored permission.
1625
1626 2004-09-10  Michael Koch  <konqueror@gmx.de>
1627
1628         * Makefile.in: Regenerate.
1629
1630 2004-09-10  Michael Koch  <konqueror@gmx.de>
1631
1632         * Makefile.am: Reverted accidently commited stuff.
1633         * configure: Regenerated.
1634
1635 2004-09-10  Michael Koch  <konqueror@gmx.de>
1636
1637         * gnu/java/net/protocol/file/Connection.java
1638         (lineSeparator): Made non-final.
1639         (static): Removed.
1640         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1641         instead of StringBufferInputStream.
1642
1643 2004-09-10  Michael Koch  <konqueror@gmx.de>
1644
1645         * gnu/java/net/protocol/file/Connection.java
1646         (connect): Handle file is a directory case.
1647
1648 2004-09-10  Michael Koch  <konqueror@gmx.de>
1649
1650         * Makefile.am
1651         (xlib_includes): Removed.
1652         (AM_CPPFLAGS): Renamed from INCLUDES.
1653         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1654         * Makefile.in: Regenerate.
1655
1656 2004-09-09  Michael Koch  <konqueror@gmx.de>
1657
1658         * java/security/ProtectionDomain.java,
1659         * java/util/PropertyPermissionCollection.java:
1660         Fixed javadocs all over.
1661
1662 2004-09-09  Sven de Marothy  <sven@physto.se>
1663
1664         Patch from David Gilbert <david.gilbert@object-refinery.com>
1665         * java/lang/Comparable.java: Fixed documentation errors.
1666         * java/util/Arrays.java: Likewise.
1667
1668 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1669
1670         * java/net/Inet4Address.java
1671         (Inet4Address): Added comment to serialization UID.
1672         * java/text/Format.java
1673         (Format): Added comment to serialization UID.
1674
1675 2004-09-09  Michael Koch  <konqueror@gmx.de>
1676
1677         * java/lang/System.java
1678         (err): Fixed javadoci to point to setErr() and not setOut().
1679
1680 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1681
1682         (normalizePath): Added special case for windows systems.
1683
1684 2004-09-09  Michael Koch  <konqueror@gmx.de>
1685
1686         * java/io/File.java
1687         (dupSeparator): Made private.
1688         (File(URI)): New constructor.
1689         (getParentFile): Fixed javadoc.
1690         (createTempFile): Reformated.
1691         (setReadOnly): Added comment.
1692         (deleteOnExit): Merged javadoc with classpath version.
1693
1694 2004-09-09  Michael Koch  <konqueror@gmx.de>
1695
1696         * Makefile.am: Don't try to include deps.mk.
1697         * Makefile.in: Regenerated.
1698
1699 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1700
1701         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1702         .d files.
1703         * configure: Rebuilt.
1704
1705 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1706
1707         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1708         Changed pfn from static local to local.
1709
1710 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1711             H.J. Lu  <hongjiu.lu@intel.com>
1712
1713         PR libgcj/17290
1714         * Makefile.am (GCJCOMPILE): Remove definition.
1715         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1716         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1717         * Makefile.in: Rebuilt.
1718
1719 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1720
1721         * configure.ac (enable-gc-debug): Update help for new syntax.
1722         * configure: Regenerate.
1723
1724 2004-09-03  David Daney  <ddaney@avtrex.com>
1725
1726         * include/mips-signal.h: Update copyright.
1727
1728 2004-09-03  David Daney  <ddaney@avtrex.com>
1729
1730         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1731         * include/mips-signal.h: Added HANDLE_FPE support.
1732         
1733 2004-08-31  Michael Koch  <konqueror@gmx.de>
1734
1735         * javax/swing/plaf/basic/BasicTextAreaUI.java
1736         (create): New method.
1737         * javax/swing/text/DefaultHighlighter.java
1738         (DefaultHighlightPainter.debugRect): Removed.
1739         * javax/swing/text/StyleContext.java
1740         (DEFAULT_STYLE): New field.
1741
1742 2004-08-31  Michael Koch  <konqueror@gmx.de>
1743
1744         * javax/swing/plaf/basic/BasicLookAndFeel.java
1745         (initComponentDefaults): Add keybindings for selection.backward and
1746         selection-forward for text components.
1747         * javax/swing/plaf/basic/BasicTextUI.java
1748         (paintSafely): Paint highlight only when something is actually
1749         selected.
1750         * javax/swing/text/DefaultCaret.java
1751         (handleHighlight): New method.
1752         (setSelectionVisible): Don't do anything when nothing changes.
1753         Handle highlight.
1754         (moveDot): Reimplemented. Handle highlight.
1755         (setDot): Set mark too. Handle highlight.
1756         (getSelectionPainter): New method.
1757         * javax/swing/text/DefaultEditorKit.java
1758         (defaultActions): Added new actions for text selection.
1759         * javax/swing/text/DefaultHighlighter.java
1760         (DefaultHighlightPainter): New inner class.
1761         (DefaultPainter): New field.
1762         (paint): Implemented.
1763         * javax/swing/text/PlainView.java
1764         (paint): Don't draw background here again.
1765         * javax/swing/text/Utilities.java
1766         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1767         (drawTabbedText): Likewise.
1768
1769 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1770
1771         * javax/swing/JComponent.java
1772         (resetKeyboardActions): Add null checks.
1773
1774 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1775
1776         * javax/swing/DefaultButtonModel.java:
1777         Skip group notification when no group is set.
1778
1779 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1780
1781         * javax/swing/JColorChooser.java: 
1782         Make a couple inner classes static, for jikes.
1783
1784 2004-08-31  Michael Koch  <konqueror@gmx.de>
1785
1786         * javax/swing/plaf/basic/BasicTextUI.java
1787         (RottView.modelToView): New method.
1788         (UpdateHandler): Renamed from EventHandler.
1789         (updateHandler): Renamed from eventHandler.
1790         (modelToView): Implemented.
1791         * javax/swing/text/AbstractDocument.java
1792         (BranchElement.getElement): Return null for non-existing indeces.
1793         (BranchElement.getElementIndex): Return 0 in some corner cases.
1794         * javax/swing/text/FieldView.java
1795         (modelToView): New method.
1796         * javax/swing/text/PlainView.java
1797         (modelToView): Made public.
1798
1799 2004-08-31  Kim Ho  <kho@redhat.com>
1800
1801         * Makefile.am: New files.
1802         * Makefile.in: Regenerate.
1803         * gcj/Makefile.in: Regenerate.
1804         * include/Makefile.in: Regenerate.
1805         * java/awt/Color.java: Fix documentation.
1806         (RGBtoHSB): Use floats for conversions.
1807         * javax/swing/ButtonGroup.java: Run Jalopy.
1808         (setSelected): Reimplement.
1809         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1810         (changeState): Let ButtonGroup know that the button 
1811         is changing state.
1812         * javax/swing/JColorChooser.java: Implement.
1813         * javax/swing/JLabel.java: Run Jalopy.
1814         * javax/swing/JSpinner.java: Run Jalopy.
1815         (setValue): New method.
1816         * javax/swing/JTabbedPane.java: Run Jalopy.
1817         (removeTabAt): Call correct remove method.
1818         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1819         (getPreviousValue): Compare minimum value.
1820         * javax/swing/Timer.java: Run Jalopy.
1821         (run): Comment out println.
1822         * javax/swing/ToolTipManager.java:
1823         (mouseMoved): Get new tooltip text for location.
1824         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1825         Jalopy and Javadoc.
1826         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1827         Implement.
1828         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1829         Run Jalopy.
1830         (setSelectedColor): Fire ChangeEvent.
1831         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1832         New file. Implement.
1833         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1834         Ditto.
1835         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1836         Ditto.
1837         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1838         Ditto.
1839         * javax/swing/plaf/basic/BasicArrowButton.java:
1840         (getArrow): Fix size of upward pointing button.
1841         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1842         Implement.
1843         * javax/swing/plaf/basic/BasicSliderUI.java:
1844         (getWidthOfWidestLabel): Use preferred dimensions.
1845         (getHeightOfTallestLabel): Ditto.
1846         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1847         Run Jalopy.
1848         (mousePressed): Disable changes to spinner if it is not enabled.
1849         * testsuite/Makefile.in: Regenerate.
1850
1851
1852 2004-08-31  Michael Koch  <konqueror@gmx.de>
1853
1854         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1855         javax/swing/plaf/basic/BasicTableUI.java:
1856         Added copyright notice.
1857
1858 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1859
1860         * Makefile.am: Added new files.
1861         * Makefile.in: Regenerate.
1862         * javax/swing/ComboBoxEditor.java: Added javadocs.
1863         * javax/swing/ComboBoxModel.java: Likewise.
1864         * javax/swing/DefaultComboBoxModel.java: Implemented.
1865         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1866         and ran through jalopy to fix formatting style.
1867         (getListCellRendererComponent): Use appropriate border
1868         if renderer has focus and use noFocusBorder when it doesn't.
1869         * javax/swing/JComboBox.java: Implemented.
1870         * javax/swing/JList.java:
1871         (locationToIndex): New Method. Implemented.
1872         (indexToLocation): New Method.
1873         * javax/swing/JPopupMenu.java: 
1874         (visible): New field.
1875         (isVisible): Changed to use new field above.
1876         (setVisible): Likewise.
1877         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1878         * javax/swing/plaf/basic/BasicArrowButton.java: 
1879         (shadow): Changed default color to Color.gray.
1880         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1881         UI delegate for JComboBox.
1882         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1883         Popup menu containing list of JComboBox's items.
1884         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1885         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1886         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1887         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1888         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1889         (popupMenuWillBecomeVisible): Set selected path to the first
1890         element only if it is of type MenuElement. Also fix formatting
1891         style.
1892         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1893         methods signatures.
1894         
1895 2004-08-31  Michael Koch  <konqueror@gmx.de>
1896
1897         * javax/swing/text/AbstractDocument.java
1898         (createBranchElement): Use new constructor of BranchElement.
1899         (createLeafElement): Renamed arguments.
1900         (getRootElements): Implemented.
1901         (BranchElement.start): Removed.
1902         (BranchElement.end): Likewise.
1903         (BranchElement.BranchElement): Fixed arguments.
1904         (BranchElement.getEndOffset): Reimplemented.
1905         (BranchElement.getStartOffset): Likewis.
1906         * javax/swing/text/DefaultCaret.java
1907         (paint): Draw simple vertical line as caret instead of a rectangle.
1908         * javax/swing/text/JTextComponent.java
1909         (setText): Use doc directly.
1910         * javax/swing/text/PlainView.java
1911         (nextTabStop): Implemented.
1912         * javax/swing/text/Utilities.java
1913         (drawTabbedText): nextTabStop() returns an absolute x position.
1914         (getTabbedTextWidth): Likewise.
1915
1916 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1917
1918         * java/awt/Component.java 
1919         (isFocusTraversable): Predicate on isLightweight()
1920         (setFocusable): Set isFocusTraversableOverridden.
1921         (requestFocus): Predicate peer dispatch on !isLightweight()
1922         (requestFocusInWindow): Likewise.
1923         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1924         * java/awt/Container.java
1925         (dispatchEventImpl): Predicate on event mask.
1926         (LightweightDispatcher): Remove focus machinery.
1927         * java/awt/DefaultFocusTraversalPolicy.java
1928         (accept): Expand predicate to include isFocusable(). 
1929         * java/awt/DefaultKeyboardFocusManager.java:
1930         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1931         * java/awt/KeyboardFocusManager.java
1932         (redispatchEvent): Synchronize on event to prevent feedback.
1933         * javax/swing/AbstractButton.java
1934         (ButtonFocusListener): Remove class.
1935         (init): Set focusPainted, focusable.
1936         * javax/swing/ActionMap.java (get): Check parent for null. 
1937         * javax/swing/InputMap.java (get): Likewise. 
1938         * javax/swing/JComponent.java
1939         (inputMap_whenFocused): New InputMap.
1940         (inputMap_whenAncestorOfFocused): Likewise.
1941         (inputMap_whenInFocusedWindow): Likewise.
1942         (getActionForKeyStroke): Rewrite.
1943         (getConditionForKeystroke): Likewise.
1944         (ActionListenerProxy): New private class.
1945         (setInputMap): Implement.
1946         (getInputMap): Likewise.
1947         (setActionMap): Likewise.
1948         (getActionMap): Likewise.
1949         (processComponentKeyEvent): New empty method.
1950         (processKeyEvent): Implement.
1951         (processKeyBinding): Likewise.
1952         (resetKeyboardActions): Rewrite.
1953         * javax/swing/KeyStroke.java: Rewrite.
1954         * javax/swing/SwingUtilities.java
1955         (notifyAction): Implement.
1956         (replaceUIActionMap): Likewise.
1957         (replaceUIInputMap): Likewise.
1958         * javax/swing/plaf/basic/BasicButtonListener.java
1959         (focusGained): Implement.
1960         (focusLost): Repaint if focusPainted().
1961         (installKeyboardActions): Install pressed / released actions.
1962         (uninstallKeyboardActions): Implement.
1963         * javax/swing/plaf/basic/BasicButtonUI.java
1964         (focusColor): New field.
1965         (installDefaults): Load focus color, install input map.
1966         (installKeyboardActions): Implement.
1967         (uninstallKeyboardActions): Likewise.
1968         (paintFocus): Rewrite.
1969         * javax/swing/plaf/basic/BasicLookAndFeel.java
1970         (Button.focus): New default, midPurple. 
1971         * javax/swing/plaf/basic/BasicTextUI.java
1972         (kit): Make static.
1973         (installUI): Get doc from kit, load defaults.
1974         (getKeymapName): Implement.
1975         (createKeymap): Likewise.
1976         (installKeyboardActions): Likewise.
1977         (getInputMap): Likewise.
1978         (getActionMap): Likewise.
1979         (createActionMap): Likewise.
1980         * javax/swing/text/AbstractDocument.java
1981         (getStartPosition): Implement.
1982         (getEndPosition): Likewise.
1983         * javax/swing/text/DefaultEditorKit.java
1984         (CopyAction): New class.
1985         (CutAction): Likewise.
1986         (DefaultKeyTypedAction): Likewise.
1987         (InsertBreakAction): Likewise.
1988         (InsertContentAction): Likewise.
1989         (InsertTabAction): Likewise.
1990         (PasteAction): Likewise.
1991         (defaultActions): New static table.
1992         (createCaret): Implement.
1993         (getActions): Likewise.
1994         * javax/swing/text/JTextComponent.java
1995         (KeymapWrapper): New private class.
1996         (KeymapActionMap): Likewise.
1997         (DefaultKeymap): New class.
1998         (keymaps): New static table.
1999         (keymap): New field.
2000         (getKeymap): Implement.
2001         (removeKeymap): Likewise.
2002         (addKeymap): Likewise.
2003         (setKeymap): Likewise.
2004         (loadKeymap): Likewise.
2005         (getActions): Likewise.
2006         (margin): New field.
2007         (JTextComponent): Build and install default keymap.
2008         * javax/swing/text/TextAction.java
2009         (textAction): Call super properly.
2010         (getTextComponent): Implement.
2011         * javax/swing/text/Utilities.java
2012         (drawTabbedText): Adjust position by ascent.
2013
2014 2004-08-31  David Jee  <djee@redhat.com>
2015
2016         PR AWT/17156
2017
2018         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2019         (setEnabled): Make it a native method.
2020         * java/awt/DefaultKeyboardFocusManager.java
2021         (postProcessKeyEvent): Only post event if the menu item
2022         is active.
2023         * java/awt/MenuItem.java:
2024         Private field 'enabled' should be true by default.
2025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2026         (setEnabled): New function.
2027
2028 2004-08-31  David Jee  <djee@redhat.com>
2029
2030         PR AWT/17059
2031
2032         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2033         (nativeSetHelpMenu): New native method declaration.
2034         (addHelpMenu): Call nativeSetHelpMenu().
2035         (addMenu): Remove.
2036         * java/awt/MenuBar.java
2037         (setHelpMenu): Call addNotify() on the new help menu.
2038         (add): Call addNotify() on the new menu.
2039         (addNotify): Set the help menu if one exists.
2040         * java/awt/peer/MenuBarPeer.java
2041         (addMenu): Remove.
2042         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2043         (nativeSetHelpMenu): New method.
2044
2045 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2046
2047         * Makefile.am: Add new files.
2048         * Makefile.in: Regenerate.
2049         * javax/swing/Box.java: Fix setting of layout in ctor.
2050         * javax/swing/JScrollPane.java: Scroll headers as well.
2051         * javax/swing/JTable.java: Reimplement.
2052         * javax/swing/JViewPort.java: Only add non-null children.
2053         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2054         * javax/swing/Timer.java: Fix stopping null waker.
2055         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2056         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2057         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2058         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2059         * javax/swing/table/DefaultTableModel.java: Clean up.
2060         * javax/swing/table/JTableHeader.java: Implement.
2061
2062 2004-08-31  Mark Wielaard  <mark@klomp.org>
2063
2064         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2065         semi-colon.
2066
2067 2004-08-31  Mark Wielaard  <mark@klomp.org>
2068
2069         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2070         Declare variables at top of functions/block.
2071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2072
2073 2004-08-31  Mark Wielaard  <mark@klomp.org>
2074
2075         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2076         first.
2077
2078 2004-08-31  Michael Koch  <konqueror@gmx.de>
2079
2080         * javax/swing/text/PlainView.java
2081         (selectedColor): New field.
2082         (unselectedColor): Likewise.
2083         (font): Likewise.
2084         (updateMetrics): New method.
2085         (lineToRect): Likewise.
2086         (modelToView): Likewise.
2087         (drawSelectedText): Use color from JTextComponent ad draw with
2088         Utilities class.
2089         (drawUnselectedText): Likewise.
2090         (paint): Initialize helper fields.
2091         * javax/swing/text/View.java
2092         (getChildAllocation): New method.
2093         (getViewIndex): Likewise.
2094         (getToolTipText): Likewise.
2095
2096 2004-08-31  Michael Koch  <konqueror@gmx.de>
2097
2098         * javax/swing/text/Utilities.java
2099         (drawTabbedText): Reimplemented.
2100         (getTabbedTextWidth): Likewise.
2101
2102 2004-08-31  Michael Koch  <konqueror@gmx.de>
2103
2104         * javax/swing/plaf/basic/BasicTextUI.java
2105         (installDefaults): Install caret and highlighter.
2106         (modelToView): Use Bias.Forward when calling sibling.
2107         * javax/swing/text/AbstractDocument.java
2108         (ElementEdit): Implements DocumentEvent.ElementChange.
2109         (ElementEdit.ElementEdit): New method.
2110         (ElementEdit.getChildrenAdded): Likewise.
2111         (ElementEdit.getChildrenRemoved): Likewise.
2112         (ElementEdit.getElement): Likewise.
2113         (ElementEdit.getIndex): Likewise.
2114         * javax/swing/text/DefaultCaret.java
2115         (color): Removed.
2116         (textComponent): Renamed from parent, made private.
2117         (selectionVisible): Renamed from vis_sel, made private.
2118         (blinkRate): Renamed from blink, made private.
2119         (magicCaretPosition): Renamed from magic, made private.
2120         (visible): Renamed from vis, made private.
2121         (dot): Made private.
2122         (mark): Likewise.
2123         (deinstall): Remove as MouseMotionListener.
2124         (install): Initialize textComponent first. Add as MouseMotionListener.
2125         (paint): Reimplemented.
2126         * javax/swing/text/JTextComponent.java
2127         (setCaret): Deinstall old caret, install new one and fire property
2128         change after setting property.
2129         (setHighlighter): Deinstall old highlighter, install new one and fire
2130         property change after setting property.
2131         (setCaretColor): Fire property change after setting property.
2132         (setDisabledTextColor): Likewise.
2133         (setSelectedTextColor): Likewise.
2134         (setSelectionColor): Likewise.
2135         (modelToView): New method.
2136
2137 2004-08-31  Michael Koch  <konqueror@gmx.de>
2138
2139         * javax/swing/text/AbstractDocument.java
2140         (getText): Simplified.
2141         * javax/swing/text/Segment.java
2142         (current): New field.
2143         (current): Reimplemented.
2144         (first): Likewise.
2145         (getIndex): Likewise.
2146         (last): Likewise.
2147         (next): Likewise.
2148         (previous): Likewise.
2149         (setIndex): Likewise.
2150
2151 2004-08-31  Michael Koch  <konqueror@gmx.de>
2152
2153         * javax/swing/plaf/basic/BasicButtonUI.java
2154         (defaultTextIconGap): Made protected.
2155         (defaultTextShiftOffset): Likewise.
2156         (textShiftOffset): New field.
2157         (clearTextShiftOffset): New method.
2158         (getTextShiftOffset): Likewise.
2159         (setTextShiftOffset): Likewise.
2160
2161 2004-08-31  Michael Koch  <konqueror@gmx.de>
2162
2163         * javax/swing/plaf/basic/BasicTextUI.java
2164         (installUI): Add eventHandler as property listener.
2165         (uninstallUI): remove eventHandler as propert listener.
2166         (installDefaults): Added comment.
2167         (installListeners): Likewise.
2168         (installKeyboardActions): Likewise.
2169         (uninstallDefaults): Likewise.
2170         (uninstallListeners): Likewise.
2171         (uninstallKeyboardActions): Likewise.
2172
2173 2004-08-31  Michael Koch  <konqueror@gmx.de>
2174
2175         * javax/swing/text/AbstractDocument.java:
2176         Fixed some typos in comments.
2177         (insertString): Reimplemented.
2178         (remove): Likewise.
2179         (replace): New method.
2180         (children): Dont use fully qualified class name.
2181         (DefaultDocumentEvent.offset): Renamed from off.
2182         (DefaultDocumentEvent.length): Renamed from len.
2183         (DefaultDocumentEvent.type): New field.
2184         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2185         (DefaultDocumentEvent.getType): Implemented.
2186
2187 2004-08-31  Michael Koch  <konqueror@gmx.de>
2188
2189         * javax/swing/plaf/basic/BasicTextUI.java
2190         (RootView.textComponent): Removed.
2191         (RootView.RootView): Don't initialize textComponent.
2192         (RootView.getViewFactory): New method.
2193         (EventHandler): New inner class.
2194         (rootView): Initialize at instance creation.
2195         (eventHandler): New field.
2196         (installUI): Don't create view hierarchy directly,
2197         call modelChanged() instead.
2198         (modelChanged): New method.
2199         * javax/swing/text/JTextComponent.java
2200         (setDocument): Fire property change event.
2201
2202 2004-08-31  Michael Koch  <konqueror@gmx.de>
2203
2204         * javax/swing/plaf/basic/BasicTextUI.java
2205         (RootView.paint): Removed debug output.
2206         (paintSafely): Draw highlighter before text.
2207         (paintBackground): Use background color of text component.
2208         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2209         Reformatted.
2210
2211 2004-08-31  Michael Koch  <konqueror@gmx.de>
2212
2213         * javax/swing/plaf/basic/BasicToolBarUI.java
2214         (BasicToolBarUI): Fixed arguments for constructor.
2215         (createUI): Fixed creation of object.
2216
2217 2004-08-31  Michael Koch  <konqueror@gmx.de>
2218
2219         * javax/swing/DefaultListSelectionModel.java
2220         (fireValueChanged): Renamed from fireSelectionValueChanged,
2221         made protected.
2222
2223 2004-08-31  Michael Koch  <konqueror@gmx.de>
2224
2225         * javax/swing/text/TabSet.java
2226         (TabSet): Implements java.io.Serializable.
2227         * javax/swing/text/TabStop.java
2228         (TabStop): Implements java.io.Serializable.
2229         (TabStop): Made public.
2230
2231 2004-08-31  Michael Koch  <konqueror@gmx.de>
2232
2233         * javax/swing/JComponent.java
2234         (setUI): Fire PropertyChange.
2235         * javax/swing/JLabel.java
2236         (text): Renamed from labelText.
2237         (horizontalAlignment): New default vlaue.
2238         (icon): Renamed from activeIcon.
2239         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2240         (displayedMnemonicIndex): Renamed from underlineChar.
2241         (setDisplayedMnemonic): Reimplemented.
2242         * javax/swing/JRadioButton.java
2243         (JRadioButton): New constructors.
2244         * javax/swing/JTextField.java
2245         (JTextField): Throw exception if colums < 0, initialitialz
2246         this.columns directly and initialize document with text conditionally.
2247
2248 2004-08-31  Michael Koch  <konqueror@gmx.de>
2249
2250         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2251         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2252         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2253         * javax/swing/text/FieldView.java
2254         (paint): Just call super method for now.
2255         * Makefile.am: Added new files.
2256         * Makefile.in: Regenerated.
2257
2258 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2259
2260         * javax/swing/AbstractSpinnerModel.java,
2261         javax/swing/JSpinner.java,
2262         javax/swing/SpinnerNumberModel.java,
2263         javax/swing/plaf/basic/BasicSpinnerUI.java:
2264         New files.
2265         * javax/swing/plaf/basic/BasicLookAndFeel.java
2266         (initClassDefaults): Added defaults for BasicSpinnerUI.
2267
2268 2004-08-31  Michael Koch  <konqueror@gmx.de>
2269
2270         * Makefile.am: Added new files.
2271         * Makefile.in: Regenerated.
2272
2273 2004-08-31  Michael Koch  <konqueror@gmx.de>
2274
2275         * javax/swing/TransferHandler.java,
2276         javax/swing/plaf/basic/ComboPopup.java: New files
2277         * Makefile.am: Added javax/swing/TransferHandler.java and
2278         javax/swing/plaf/basic/ComboPopup.java
2279         * Makefile.in: Regenerated.
2280
2281 2004-08-31  Roman Kennke  <roman@ontographics.com>
2282
2283         * javax/swing/text/Utilities.java: New file.
2284
2285 2004-08-31  Michael Koch  <konqueror@gmx.de>
2286
2287         * Makefile.am: Added javax/swing/text/Utilities.java.
2288         * Makefile.in: Regenerated.
2289
2290 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2291
2292         * javax/swing/text/SimpleAttributeSet.java: New file.
2293         * javax/swing/text/StyleConstants.java: New file.
2294         * javax/swing/text/StyleContext.java: New file.
2295         * javax/swing/text/TabSet.java: New file.
2296         * javax/swing/text/TabStop.java: New file.
2297         * javax/swing/text/AbstactDocument.java:
2298         (AbstractElement): Implement attribute support.
2299         * javax/swing/text/AttributeSet.java
2300         (NameAttribute): New static field.
2301         (ResolveAttribute): New static field.
2302         * Makefile.am: Update for new files.
2303         * Makefile.in: Regenerate.
2304
2305 2004-08-31  Craig Black  <craig.black@aonix.com>
2306
2307         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2308         (drawImage): Add support for scaling pixmaps.
2309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2310         (copyAndScalePixmap): New native method.
2311  
2312 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2313
2314         PR AWT/16121
2315         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2316         type-punning compiler warnings using unions.
2317         (throw): Replace bzero with memset.
2318
2319 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2320             Thomas Fitzsimmons  <fitzsim@redhat.com>
2321
2322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2323         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2324         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2326         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2327
2328 2004-08-31  Mark Wielaard  <mark@klomp.org>
2329
2330         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2331         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2332         and stdlib.h, not gtkpeer.h.
2333         (*vm): New static variable.
2334         (areaPreparedID): Make static.
2335         (areaUpdatedID): Likewise.
2336         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2337         (area_prepared): Likewise.
2338         (area_updated): Likewise.
2339         (closed): Likewise.
2340         (initStaticState): Initialize *vm javaVM.
2341         (pumpBytes): Use given env, not global gdk_env.
2342
2343 2004-08-31  Mark Wielaard  <mark@klomp.org>
2344
2345         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2346         comments.
2347
2348 2004-08-31  Sven de Marothy  <sven@physto.se>
2349
2350         * java/awt/geom/CubicCurve2D.java: Reindent.
2351         (contains): Implemented.
2352         (intersects): Implemented.
2353         * java/awt/geom/QuadCurve2D.java: Likewise.
2354         * java/awt/geom/GeneralPath.java: Reindent and document.
2355         Fully (re)implemented using separate xpoints and ypoints
2356         float[] coords.
2357         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2358
2359 2004-08-31  Michael Koch  <konqueror@gmx.de>
2360
2361         * javax/swing/JMenuItem.java
2362         (getMenuDragMouseListeners): New method.
2363         (getMenuKeyListeners): Likewise.
2364
2365 2004-08-31  Michael Koch  <konqueror@gmx.de>
2366
2367         * javax/swing/AbstractButton.java
2368         (model): Made protected.
2369         (actionListener): Likewise.
2370         (changeListener): Likewise.
2371         (itemListener): Likewise.
2372         (multiClickThreshhold): New field.
2373         (getActionListeners): New method.
2374         (getChangeListeners): Likewise.
2375         (getItemListeners): Likewise.
2376         (fireItemStateChanged): Simplified implementation.
2377         (fireActionPerformed): Likewise.
2378         (fireStateChanged): Likewise.
2379         (getMultiClickThreshhold): New method.
2380         (setMultiClickThreshhold): Likewise.
2381
2382 2004-08-31  Tom Tromey  <tromey@redhat.com>
2383
2384         * java/awt/image/Kernel.java (clone): Use super.clone().
2385
2386 2004-08-31  David Jee  <djee@redhat.com>
2387
2388         PR AWT/16682
2389         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2390         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2391         (nativeSetIconImageFromData): New native method declaration.
2392         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2393         * gnu/java/awt/peer/gtk/GtkImage.java
2394         (getPixelCache): New method.
2395         (getColorModel): New method.
2396         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2397         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2398         (free_pixbuf_data): New helper function.
2399         (nativeSetIconImageFromData): New function.
2400
2401 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2402
2403         PR SWING/16576
2404         * javax/swing/JLayeredPane.java 
2405         (setLayer): Permit changing layer after addition.
2406         (setPosition): Permit over-length positions.
2407         (layerToRange): Compare intValue()s.
2408         * javax/swing/Box.java (createHorizontalBox): Implement.
2409         (createRigidArea): Likewise.
2410         (createVerticalBox): Likewise.
2411
2412 2004-08-31  Kim Ho  <kho@redhat.com>
2413
2414         * java/awt/Component.java:
2415         (processMouseEvent): Consume event after
2416         listeners process it.
2417         (processMouseMotionEvent): ditto.
2418         (processMouseWheelEvent): ditto.
2419         * java/awt/Container.java:
2420         (acquireComponentForMouseEvent):
2421         Do not dispatch to events that have been
2422         removed from the Container.
2423         (handleEvent): Consume the MouseEvents.
2424         * javax/swing/RepaintManager.java:
2425         (paintDirtyRegions): Do not add to list of 
2426         damaged areas if the component has no root.
2427
2428 2004-08-31  Michael Koch  <konqueror@gmx.de>
2429
2430         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2431
2432 2004-08-31  Mark Wielaard  <mark@klomp.org>
2433
2434         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2435         null when a MissingResourceException is thrown. Should never happen.
2436
2437 2004-08-31  Mark Wielaard  <mark@klomp.org>
2438
2439         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2440         when argument is null.
2441
2442 2004-08-31  Mark Wielaard  <mark@klomp.org>
2443
2444         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2445         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2446         Define hid at start of function.
2447         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2448         Likewise.
2449
2450 2004-08-31  Mark Wielaard  <mark@klomp.org>
2451
2452         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2453         * javax/swing/JButton.java: Reindent.
2454         * javax/swing/JCheckBox.java: Reindent.
2455
2456 2004-08-31  Mark Wielaard  <mark@klomp.org>
2457
2458         * Makefile.am (gtk_c_source_files): Added
2459         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2460         (gtk_awt_peer_sources): Added
2461         gnu/java/awt/peer/gtk/GThreadMutex.java and
2462         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2463         * Makefile.in: Regenerated.
2464
2465 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2466
2467         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2468
2469 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2470
2471         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2472         Added jfieldID, jmethodID.
2473
2474 2004-08-31  Mark Wielaard  <mark@klomp.org>
2475
2476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2477         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2478         gdk_env before calling any gdk or gtk function.
2479
2480         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2481         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2482         (run): Set gtkInitCalled.
2483
2484 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2485
2486         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2487         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2488
2489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2490         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2491         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2492         init_glib_threads. 
2493         (init_glib_threads): New function.
2494
2495 2004-08-31  Mark Wielaard  <mark@klomp.org>
2496
2497         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2498         PRIORITY when not already defined in header file.
2499
2500 2004-08-31  Mark Wielaard  <mark@klomp.org>
2501
2502         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2503         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2504
2505 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2506
2507         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2508         Implemented missing functions for GTK2.
2509         Added error handling.
2510         Renamed static functions out of the g_ namespace.
2511         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2512         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2513         Rewrote global-reference code.
2514         Eliminated cascading errors.
2515         (mutex_trylock_jni_impl) Fully implemented.
2516         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2517         resolution.
2518         (setup_cache) New function.
2519         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2520         bug where they were not unlocking the GMutex associated with the
2521         condition variable during the wait on that condition variable.
2522
2523         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2524         native/jni/gtk-peer/gthread-jni.c,
2525         native/jni/gtk-peer/gthread-jni.h
2526         (g_thread_jni_functions): Renamed to ...
2527         (portable_native_sync_jni_functions): this name.
2528         (gdk_vm): Renamed to...
2529         (the_vm): this name.
2530
2531         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2532         (gdk_vm): Removed duplicate definition.
2533         (gtkInit): Removed stray message to stdout.
2534         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2535         (gtkInit): Fix a const assignment bug.
2536         (gtkInit): Simplified code.
2537
2538         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2539         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2540         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2541         gnu/java/awt/peer/gtk/GThreadMutex.java:
2542         New files.
2543
2544 2004-08-31  Mark Wielaard  <mark@klomp.org>
2545
2546         * javax/swing/Box.java: Put FIXME comment above class declaration.
2547         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2548         * javax/swing/JCheckBox.java: Likewise.
2549         * javax/swing/JDialog.java: Likewise.
2550         * javax/swing/JRadioButton.java: Likewise.
2551         * javax/swing/JToggleButton.java: Likewise.
2552         * javax/swing/UIManager.java: Likewise.
2553         * javax/swing/border/TitledBorder.java: Likewise.
2554         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2555         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2556         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2557         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2558         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2559         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2560         * javax/swing/text/JTextComponent.java: Likewise.
2561
2562 2004-08-31  David Jee  <djee@redhat.com>
2563
2564         PR AWT/16682
2565         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2566         (setIconImage): Add a FIXME for unhandled cases.
2567
2568 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2569
2570         PR AWT/16040
2571         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2572         getModifiers.  Replace old button masks with new ones.
2573         * gnu/awt/xlib/XEventLoop.java: Likewise.
2574         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2575         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2576         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2577         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2578         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2579         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2580         * java/awt/Component.java: Replace old modifier masks with new
2581         ones.
2582         * java/awt/Container.java: Call getModifiersEx, not
2583         getModifiers.
2584         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2585         old modifier masks.
2586         * javax/swing/JMenuItem.java: Replace old button masks with new
2587         ones.
2588         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2589         getModifiers.
2590         * javax/swing/SwingUtilities.java: Likewise.
2591         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2592         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2594         mask macros with new ones.
2595         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2596         macros with new ones representing new masks.
2597
2598 2004-08-31  Craig Black  <craig.black@aonix.com>
2599
2600         * gnu/java/awt/peer/gtk/GdkGraphics.java
2601         (drawRoundRect): Implemented.
2602         (fillRoundRect): Implemented.
2603         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2604         (drawRoundRect): Reimplemented to match GdkGraphics.
2605         (fillRoundRect): Reimplemented to match GdkGraphics.
2606
2607 2004-08-31  Mark Wielaard  <mark@klomp.org>
2608
2609         * Makefile.in: Regenerated.
2610
2611 2004-08-31  Michael Koch  <konqueror@gmx.de>
2612
2613         * gnu/java/awt/EmbeddedWindow.java
2614         (addNotify): Use AccessController to allow execution of privileged
2615         code.
2616
2617 2004-08-31  Michael Koch  <konqueror@gmx.de>
2618
2619         * gnu/java/awt/EmbeddedWindow.java
2620         (static): Removed.
2621         (addNotify): Set peer via reflection.
2622         (setWindowPeer): Removed.
2623         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2624         * Makefile.am (nat_source_files):
2625         Removed gnu/java/awt/natEmbeddedWindow.cc.
2626
2627 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2628
2629         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2630         and gnu/java/security/action/SetAccessibleAction.java.
2631
2632 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2633
2634         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2635         Renamed from 'setName'. New 2-argument form with default value.
2636         (run): Pass default 'value' parameter to System.getProperty().
2637         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2638         typos.
2639
2640 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2641
2642         * gnu/java/security/action/GetPropertyAction.java: New class.
2643         * gnu/java/security/action/SetAccessibleAction.java: New class.
2644
2645 2004-08-31  David Jee  <djee@redhat.com>
2646
2647         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2648         (setIconImage): Check if image is null.
2649
2650 2004-08-31  David Jee  <djee@redhat.com>
2651
2652         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2653         (create): Set the icon image.
2654         (nativeSetIconImage): New native method declaration.
2655         (setIconImage): Implement.
2656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2657         (nativeSetIconImage): New function.
2658
2659 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2660
2661         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2662         (filenameFilterCallback): Declare local variable accepted before use.
2663
2664 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2665
2666         * gnu/java/awt/ComponentDataBlitOp.java:
2667         Cleaned up imports.
2668
2669 2004-08-31  Tom Tromey  <tromey@redhat.com>
2670
2671         * gnu/java/awt/peer/GLightweightPeer.java,
2672         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2673         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2674         javax/swing/JScrollPane.java: Removed
2675         redundant imports.
2676
2677 2004-08-31  David Jee  <djee@redhat.com>
2678
2679         * java/awt/DefaultKeyboardFocusManager.java
2680         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2681         event.  Fix shift modifier checking.
2682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2683         (accel_attach): Remove.
2684         (setupAccelGroup): Remove calls to accel_attach.
2685
2686 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2687
2688         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2689         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2690
2691         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2692         GtkArgList.java.
2693         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2694         * Makefile.in: Regenerate.
2695         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2696         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2697         (create(String)): New method.
2698         (create): Call new create method.
2699         (getArgs): Remove method.
2700         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2701         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2702         (nativeCreate): Rename to create.
2703         (gtkSetLabel): Rename to gtkButtonSetLabel.
2704         (gtkToggleButtonSetActive): New method.
2705         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2706         (setState): Replace set call with gtkToggleButtonSetActive.
2707         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2708         (getArgs): Remove method.
2709         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2710         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2711         (gtkWidgetSetSensitive): New method.
2712         (gtkWidgetSetParent): Likewise.
2713         (GtkComponentPeer): Call setParent, setComponentBounds and
2714         setVisibleAndEnabled.
2715         (setParent): New method.
2716         (setComponentBounds): New method.
2717         (setVisibleAndEnabled): New method.
2718         (setEnabled): Call gtkWidgetSetSensitive.
2719         (getArgs): Remove method.
2720         Remove all set methods.
2721         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2722         gtkWindowSetModal, setTitle and setResizable.
2723         (getArgs): Remove method.
2724         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2725         (setComponentBounds): New method.
2726         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2727         Replace set call with gtkWindowSetResizable.
2728         (getArgs): Remove method.
2729         (create): Call setTitle and setResizable.
2730         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2731         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2732         (gtkWindowSetTitle): New method.
2733         (gtkWindowSetResizable): New method.
2734         (gtkWindowSetModal): New method.
2735         (setParent): New method.
2736         (setVisibleAndEnabled): New method.
2737         (getArgs): Remove method.
2738         (setTitle): Call gtkWindowSetTitle.
2739         (setResizable): Call gtkWindowSetResizable.
2740         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2741         and off locking instrumentation.
2742
2743 2004-08-31  Kim Ho  <kho@redhat.com>
2744
2745         * Makefile.am: Add new file.
2746         * Makefile.in: Regenerate.
2747         * gcj/Makefile.in: Regenerate
2748         * include/Makefile.in:
2749         * java/awt/Container.java:
2750         (acquireComponentForMouseEvent): Respect 
2751         the event mask when looking for candidate.
2752         * javax/swing/JComponent.java:
2753         Remove toolTip field.
2754         (createToolTip): Create a tooltip on demand.
2755         (setToolTipText): Register with the ToolTipManager.
2756         (getToolTipText(MouseEvent)): Return getToolTipText().
2757         * javax/swing/JToolTip.java: Implement.
2758         * javax/swing/Timer.java: Jalopy.
2759         (restart): Call stop, then start.
2760         (stop): Interrupt the timer rather than wait for
2761         the timer to come to a stop naturally.
2762         * javax/swing/ToolTipManager.java: Implement.
2763         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2764         Change ToolTip.background color.
2765         * javax/swing/plaf/basic/BasicToolTipUI.java:
2766         Implement.
2767         * testsuite/Makefile.in: Regenerate
2768
2769 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2770
2771         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2772         constructor param comments.
2773
2774 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2775
2776         * java/awt/Component.java: Document AWT 1.0 event handler
2777         methods.
2778
2779 2004-08-31  Roman Kennke  <roman@ontographics.com>
2780
2781         * javax/swing/Box.java:
2782         (createGlue): Implemented
2783         (createHorizontalGlue): Implemented
2784         (createHorizontalStrut): Implemented
2785         (createVerticalGlue): Implemented
2786         (createVerticalStrut): Implemented
2787
2788 2004-08-31  David Jee  <djee@redhat.com>
2789
2790         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2791         (GtkChoicePeer): Do not automatically select first item.
2792         (getHistory): Remove.
2793         (nativeGetSelected): New method.
2794         (nativeRemoveAll): New method.
2795         (add): Use nativeGetSelected() instead of getHistory().
2796         (remove): Likewise.
2797         (removeAll): Call nativeRemoveAll().
2798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2799         (create): Migrate to GtkComboBox.
2800         (append): Likewise.
2801         (nativeAdd): Likewise.
2802         (nativeRemove): Likewise.
2803         (select): Likewise.
2804         (nativeRemoveAll): New method.
2805         (nativeGetSelected): New method.
2806         (selection_changed): New method.
2807         (getHistory): Remove.
2808         (item_activate): Remove.
2809         (item_removed): Remove.
2810         (connect_choice_item_selectable_hook): Remove.
2811
2812 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2813
2814         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2815         variable in setEditable call.
2816
2817         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2818         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2819         (gtkWidgetSetBackground): New method.
2820         (gtkWidgetSetForeground): Likewise.
2821         (create): Set peer's editable state based on awtComponent's.
2822
2823         * java/awt/Button.java (Button()): Use empty string rather than
2824         null in no-label constructor.
2825
2826 2004-08-31  Roman Kennke  <roman@ontographics.com>
2827
2828         * javax/swing/BoxLayout.java: Reimplement.
2829
2830 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2831
2832         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2833         gnu_java_awt_peer_gtk_GdkGraphics.c
2834         (initState(GtkComponentPeer)): Don't return array of colour
2835         values.
2836         (GdkGraphics(int,int)): Set default font to size 12.
2837         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2838         component's foreground colour.
2839         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2840         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2841         (initState(GtkComponentPeer)): Don't return array of colour
2842         values.
2843         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2844         colours to component's colours.
2845         (current_colors_of_widget): Remove function.
2846         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2847         Return a new graphics object.
2848         * java/awt/Font.java (toString): Fix format.
2849         * java/awt/Graphics.java (toString): Likewise.
2850
2851 2004-08-31  Craig Black  <craig.black@aonix.com>
2852
2853         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2854         (addTearOff): New function.
2855         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2856         New native method.
2857         (init): Call addTearOff() when menu.isTearOff().
2858
2859 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2860
2861         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2862         Default implementation.
2863         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2864         Implement using GdkPixbufDecoder.
2865
2866 2004-08-31  David Jee  <djee@redhat.com>
2867
2868         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2869         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2870         setting the size of GtkFileDialogPeers.
2871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2872         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2873         use their default sizes rather than their natural requisitions.
2874
2875 2004-08-31  Michael Koch  <konqueror@gmx.de>
2876
2877         * javax/swing/JFormattedTextField.java
2878         (JFormattedTextField): Implemented.
2879         * javax/swing/text/DefaultEditorKit.java
2880         (BeepAction): New inner class.
2881         * javax/swing/text/Segment.java
2882         (partialReturn): New field.
2883         (setPartialReturn): New method.
2884         (isPartialReturn): Likewise.
2885         * javax/swing/text/View.java
2886         (createFragment): Fixed typo.
2887         (getStartOffset): New method.
2888         (getEndOffset): Likewise.
2889
2890 2004-08-31  Michael Koch  <konqueror@gmx.de>
2891
2892         * javax/swing/table/DefaultTableColumnModel.java
2893         (serialVersionUID): Made private.
2894         (listenerList): Initialize.
2895         (changeEvent): Initialize.
2896         * javax/swing/table/JTableHeader.java
2897         (JTableHeader): New constructors.
2898         (createDefaultColumnModel): New method.
2899         * javax/swing/table/TableColumn.java
2900         (setHeaderRenderer): Simplified code.
2901         (setCellRenderer): Likewise.
2902         (setWidth): Likewise.
2903
2904 2004-08-31  Tom Tromey  <tromey@redhat.com>
2905
2906         * java/text/AttributedString.java (AttributedString): Use
2907         ArrayList to build array of attribute ranges.  Don't use
2908         `attribs' before it is set.
2909
2910 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2911
2912         * HACKING: Remove reference to special automake. No longer needed.
2913
2914 2004-08-30  Tom Tromey  <tromey@redhat.com>
2915
2916         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2917         return result from `add'.
2918
2919 2004-08-30  Tom Tromey  <tromey@redhat.com>
2920
2921         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2922
2923 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2924
2925         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2926
2927 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2928
2929         * java/io/File.java File(String,String): Fixed handling of empty
2930         path.
2931
2932 2004-08-30  Casey Marshall  <csm@gnu.org>
2933
2934         Author e-mail updated for all files.
2935         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2936         instance of OID.
2937         (compareTo): Use `equals'.
2938         * gnu/java/security/der/BitString.java (equals): Test if the
2939         argument is an instance of BitString.
2940         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2941         class final. Made fields private.
2942         (<init>): New constructor.
2943         (skip): New method.
2944         (makeString): Made static; don't use NIO.
2945         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2946         * gnu/java/security/der/DERWriter.java: Fixed imports.
2947         (writeString): Don't use NIO.
2948         (toIso88591, toUtf16Be, toUtf8): New methods.
2949         * gnu/java/security/der/DERValue.java: Formatting changes only.
2950         * gnu/java/security/der/DER.java: Likewise.
2951
2952 2004-08-30  Tom Tromey  <tromey@redhat.com>
2953
2954         * java/nio/CharBuffer.java (put): Fix typo.
2955         * java/nio/DoubleBuffer.java (put): Fix typo.
2956         * java/nio/FloatBuffer.java (put): Fix typo.
2957         * java/nio/IntBuffer.java (put): Fix typo.
2958         * java/nio/LongBuffer.java (put): Fix typo.
2959         * java/nio/ShortBuffer.java (put): Fix typo.
2960
2961 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2962
2963         * java/nio/ByteBuffer.java (put): Fix typo.
2964
2965 2004-08-30  Casey Marshall  <csm@gnu.org>
2966
2967         * java/security/DummyKeyPairGenerator.java (clone): Removed
2968         useless instanceof check.
2969         * java/security/DummyMessageDigest.java (clone): Likewise.
2970         * java/security/DummySignature.java (clone): Likewise.
2971         * java/security/MessageDigest.java (clone): Remove useless
2972         instanceof check.
2973         * java/security/MessageDigestSpi.java (clone): Likewise.
2974         * java/security/Signature.java (clone): Provide meaningful
2975         implementation.
2976         * java/security/SignatureSpi.java (clone): Likewise.
2977
2978 2004-08-29  Mark Wielaard  <mark@klomp.org>
2979
2980         * java/util/Arrays.java
2981         (sort(byte[], int, int)): Check fromIndex < 0.
2982         (sort(char[], int, int)): Likewise.
2983         (sort(short[], int, int)): Likewise.
2984         (sort(int[], int, int)): Likewise.
2985         (sort(long[], int, int)): Likewise.
2986         (sort(float[], int, int)): Likewise.
2987         (sort(double[], int, int)): Likewise.
2988         (sort(Object[], int, int, Comparator)): Likewise.
2989         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2990         (qsort(char[], int, int)): Likewise.
2991         (qsort(short[], int, int)): Likewise.
2992         (qsort(int[], int, int)): Likewise.
2993         (qsort(long[], int, int)): Likewise.
2994         (qsort(float[], int, int)): Likewise.
2995         (qsort(double[], int, int)): Likewise.
2996
2997 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2998
2999         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3000         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3001         java/util/ArrayList.java, java/util/Arrays.java,
3002         java/util/BitSet.java, java/util/Calendar.java,
3003         java/util/Collection.java, java/util/ListIterator.java,
3004         java/util/Map.java, java/util/SortedSet.java:
3005         Added additional exceptions to documentation, along
3006         with some additions and corrections.
3007
3008 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3009
3010         * configure.ac: Handle --enable-gc-debug.
3011         * configure: Regenerate.
3012         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3013         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3014         Rearrange include file order.
3015         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3016         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3017         (disable_gc_mutex): Delete along with all references.
3018         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3019         adjust for debug header size.
3020         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3021         debug case.
3022         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3023         (gcj_describe_type_fn): New.
3024         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3025         Register gcj_describe_type_fn.
3026         * include/boehm-gc.h:
3027         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3028         Don't define, but declare, for debug case.
3029         * java/lang/natObject.cc:
3030         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3031
3032 2004-08-26  Mark Wielaard  <mark@klomp.org>
3033
3034         Fixes PR libgcj/17002:
3035         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3036         a TimeZoneId string and then try to convert that to a TimeZone with
3037         getDefaultSystemTimeZone(String).
3038         (timezones0): Changed type from Hashtable to HashMap.
3039         (timezones): Create HashMap, not Hashtable.
3040         (getDefaultTimeZone): New method, rewritten from CNI version.
3041         (readTimeZoneFile): New method.
3042         (readtzFile): Likewise.
3043         (skipFully): Likewise.
3044         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3045         getDefaultTimeZoneId and rewritten.
3046         (getDefaultTimeZoneId): Rewritten in java.
3047         
3048 2004-08-25  David Daney  <daney@avtrex.com>
3049
3050         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3051         * Makefile.in: Regenerated.
3052
3053 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3054
3055         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3056         only if jvmpi is enabled.
3057         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3058         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3059         (_Jv_AllocString): Likewise.
3060         (_Jv_AllocPtrFreeObject): Likewise.     
3061
3062 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3063
3064         * defineclass.cc: Include <stdio.h>.
3065         * java/lang/natClassLoader.cc: Include <stdio.h>.
3066
3067 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3068             Michael Koch  <konqueror@gmx.de>
3069
3070         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3071         * Makefile.in: Regenerated.
3072
3073 2004-08-20  Michael Koch  <konqueror@gmx.de>
3074
3075         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3076         AC_COMPILE_IFELSE macros.
3077
3078 2004-08-20  Michael Koch  <konqueror@gmx.de>
3079
3080         * configure.in: Renamed to configure.ac.
3081         * configure.ac: New file.
3082         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3083         include/config.h.in, testsuite/Makefile.in: Regenerated.
3084
3085 2004-08-20  Michael Koch  <konqueror@gmx.de>
3086
3087         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3088         * aclocal.m4, configure: Regenerated.
3089
3090 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3091             Michael Koch  <konqueror@gmx.de>
3092
3093         * configure.in, Makefile.am: Ported to automake 1.9.
3094         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3095         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3096         Regenerated.
3097
3098 2004-08-19  Tom Tromey  <tromey@redhat.com>
3099
3100         * java/net/DatagramSocket.java: Fixed typo.
3101
3102 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3103
3104         PR libgcj/17081
3105         * java/net/URI.java (string): New field. Make all other fields
3106         transient.
3107         (readObject): Implemented.
3108         (writeObject): Implemented.
3109         (URI): Set 'string'.
3110
3111 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3112
3113         PR libgcj/17079
3114         * java/util/logging/Handler.java (isLoggable): Accept record if its
3115         log level equals the threshold level. From Robin Green.
3116
3117 2004-08-18  David Daney  <ddaney@avtrex.com>
3118
3119         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3120         instead of sigwait.
3121
3122 2004-08-17  Michael Koch  <konqueror@gmx.de>
3123
3124         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3125         * Makefile.in: Regenerated.
3126
3127 2004-08-16  Tom Tromey  <tromey@redhat.com>
3128
3129         PR java/8473:
3130         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3131
3132 2004-08-16  Michael Koch  <konqueror@gmx.de>
3133
3134         * Makefile.am
3135         (math_c_files): Renamed from c_files.
3136         (math_c_source_files): Renamed from c_source_files.
3137         * Makefile.in,
3138         gcj/Makefile.in,
3139         include/Makefile.in,
3140         testsuite/Makefile.in: Regenerated.
3141
3142 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3143
3144         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3145         to avoid autoconf warning.
3146         * configure: Rebuilt.
3147
3148 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3149
3150         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3151         localhostAddress to loopbackAddress.
3152         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3153
3154 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3155
3156         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3157         boehm-gc's include dirs.
3158         * configure: Rebuilt.
3159         * include/boehm-gc.h: Include gc_config.h.
3160
3161 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3162
3163         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3164         localhostAddress.
3165         (getByName): Return loopback address for null hostname, without
3166         security check. Use lookup(), not getAllByName.
3167         (getAllByName): Return loopback address for null hostname, without
3168         security check.
3169         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3170         check here.
3171
3172 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3173
3174         PR libgcj/17020
3175         Reported by Robin Green.
3176         * defineclass.cc (handleField): Don't throw exception on unrecognised
3177         modifier. Add FIXME comments for spec compliance.
3178         (handleMethod): Likewise.
3179
3180 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3181
3182         PR libgcj/16662
3183         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3184         (Almost everywhere): add LOG calls, fix, add comments.
3185         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3186         Add explicit check for LOCKED bit in slow case (PR 16662).
3187         (_Jv_MonitorExit): Add casts in debug-only code.
3188         Always release LOCKED bit before throwing exception.
3189         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3190         isn't.  Handle easy cases without lock acquisition.
3191         (Object::wait): Use NotifyAll for lock inflation.
3192
3193 2004-08-12  David Daney  <ddaney@avtrex.com>
3194
3195         * testsuite/libjava.lang/Process_1.java: New test.
3196         * testsuite/libjava.lang/Process_2.java: New test.
3197         * testsuite/libjava.lang/Process_3.java: New test.
3198         * testsuite/libjava.lang/Process_4.java: New test.
3199         * testsuite/libjava.lang/Process_5.java: New test.
3200         * testsuite/libjava.lang/Process_6.java: New test.
3201         * testsuite/libjava.lang/Process_1.out: Expected result.
3202         * testsuite/libjava.lang/Process_2.out: Expected result.
3203         * testsuite/libjava.lang/Process_3.out: Expected result.
3204         * testsuite/libjava.lang/Process_4.out: Expected result.
3205         * testsuite/libjava.lang/Process_5.out: Expected result.
3206         * testsuite/libjava.lang/Process_6.out: Expected result.
3207
3208 2004-08-12  David Daney  <ddaney@avtrex.com>
3209
3210         PR libgcj/11801
3211         * java/lang/PosixProcess.java: Rewrote.
3212         * java/lang/natPosixProcess.cc: Rewrote.
3213         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3214         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3215         * posix-threads.cc (block_sigchld) New function.
3216         (_Jv_ThreadRegister) Use it.
3217         (_Jv_ThreadStart) Use it.
3218         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3219         * Makefile.am: ... to specify extra native headers.
3220         * configure: Regenerated.
3221         * include/config.h: Regenerated.
3222         * Makefile.in: Regenerated.
3223         * gcj/Makefile.in: Regenerated.
3224         * include/Makefile.in: Regenerated.
3225         * testsuite/Makefile.in: Regenerated.
3226
3227 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3228
3229         PR tree-optimization/16867
3230         * testsuite/libjava.lang/PR16867.java: New test.
3231
3232 2004-08-09  Per Bothner  <per@bothner.com>
3233
3234         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3235         with private fields and access methods.
3236         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3237         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3238         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3239         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3240         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3241         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3242         * jni.cc: Likewise.
3243         * resolve.cc: Likewise.
3244         * gcj/field.h: Likewise.
3245         * include/jvm.h: Likewise.
3246         * java/lang/Class.h: Likewise.
3247         * java/lang/natClass.cc: Likwise.
3248         * java/lang/natClassLoader.cc: Likewise
3249         * java/lang/reflect/natMethod.cc: Likewise
3250         * verify.cc: Likewise.
3251         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3252         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3253
3254 2004-08-10  Andrew Haley  <aph@redhat.com>
3255
3256         * testsuite/libjava.lang/err14.java: New file.
3257         * testsuite/libjava.lang/err14.out: New file.
3258
3259 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3260
3261         * Makefile.am: Fix missing rename from x_nat_headers to 
3262         xlib_nat_headers.
3263         * Makefile.in: Regenerated.
3264
3265 2004-08-04  Andrew Haley  <aph@redhat.com>
3266
3267         * java/security/BasicPermission.java: Don't check wildcards.
3268
3269 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3270             Michael Koch  <konqueror@gmx.de>
3271
3272         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3273         * configure.in: Replaced all usages of AC_LINK_FILES by
3274         AC_CONFIG_LINKS.
3275         * aclocal.m4,
3276         configure: Regenerated.
3277
3278 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3279             Michael Koch  <konqueror@gmx.de>
3280
3281         * acconfig.h: Removed.
3282         * Makefile.am: Rename variables for xlib peer to include xlib and
3283         gtk_c_headers to gtk_jni_headers.
3284         * Makefile.in: Regenerated.
3285
3286 2004-08-04  Andrew Haley  <aph@redhat.com>
3287
3288         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3289         debugging.
3290
3291 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3292
3293         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3294         Replace most top level 'dnl' comments with '#' comments, conforming
3295         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3296         help strings.
3297         * configure: Rebuilt.
3298
3299 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3300
3301         * acinclude.m4: Include no-executables.m4.
3302         * aclocal.m4: Rebuild.
3303         * configure.in: Convert to the autoconf 2.59 version of
3304         of the no-executables hack, and also of the nonstandard CXX
3305         hack and the multilibbed CC and CXX hack.  Change prerequisite
3306         to autoconf 2.59.
3307         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3308         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3309         testsuite/Makefile.in: Regenerate.
3310
3311 2004-08-03  Tom Tromey  <tromey@redhat.com>
3312
3313         * jni.cc: Reindented.
3314
3315 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3316
3317         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3318
3319 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3320
3321         * testsuite/libjava.compile/PR16701.java: New test.
3322
3323 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3324
3325         * java/util/Collection.java, java/util/List.java,
3326         java/util/Map.java, java/util/Set.java,
3327         java/util/SortedMap.java, java/util/SortedSet.java:
3328         Added additional exceptions to documentation.
3329
3330 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3331
3332         PR libgcj/16814
3333         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3334         * configure. Regenerate.
3335         * include/win32.h: Explicitly include winsock2.h
3336         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3337         Winsock api.
3338
3339 2004-07-30  Michael Koch  <konqueror@gmx.de>
3340
3341         * java/util/zip/GZIPInputStream.java
3342         (GZIPInputStream): Increase buffer size to 4k.
3343         * java/util/zip/GZIPOutputStream.java
3344         (GZIPOutputStream): Likewise.
3345         * java/util/zip/Inflater.java
3346         (setInput): Merged formating with GNU classpath.
3347         * java/util/zip/InflaterInputStream.java
3348         (InflaterInputStream): Increase buffer size to 4k.
3349         (fill): Throw exception if stream ends early.
3350         (read): Merged endless-loop with GNU classpath.
3351         (skip): Increase buffer size to 2k.
3352
3353 2004-07-30  Michael Koch  <konqueror@gmx.de>
3354
3355         * gnu/java/awt/EmbeddedWindow.java
3356         (addNotify): Use AccessController to allow execution of privileged
3357         code.
3358
3359 2004-07-29  Michael Koch  <konqueror@gmx.de>
3360
3361         * gnu/java/lang/MainThread.java:
3362         Explicitely import used classes.
3363         (args): Make it type String[].
3364
3365 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3366
3367         * gnu/java/awt/ComponentDataBlitOp.java,
3368         gnu/java/beans/ExplicitBeanInfo.java,
3369         gnu/java/beans/IntrospectionIncubator.java,
3370         gnu/java/beans/editors/ColorEditor.java,
3371         gnu/java/beans/editors/FontEditor.java,
3372         gnu/java/beans/editors/NativeBooleanEditor.java,
3373         gnu/java/beans/editors/NativeByteEditor.java,
3374         gnu/java/beans/editors/NativeDoubleEditor.java,
3375         gnu/java/beans/editors/NativeFloatEditor.java,
3376         gnu/java/beans/editors/NativeIntEditor.java,
3377         gnu/java/beans/editors/NativeLongEditor.java,
3378         gnu/java/beans/editors/NativeShortEditor.java,
3379         gnu/java/beans/editors/StringEditor.java,
3380         gnu/java/io/ClassLoaderObjectInputStream.java,
3381         gnu/java/io/decode/Decoder.java,
3382         gnu/java/io/encode/Encoder.java,
3383         gnu/java/lang/ClassHelper.java,
3384         gnu/java/locale/Calendar.java,
3385         gnu/java/locale/Calendar_de.java,
3386         gnu/java/locale/Calendar_en.java,
3387         gnu/java/locale/Calendar_nl.java,
3388         gnu/java/locale/LocaleInformation_de.java,
3389         gnu/java/locale/LocaleInformation_en.java,
3390         gnu/java/locale/LocaleInformation_nl.java:
3391         Cleaned up imports.
3392
3393 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3394
3395         * README: Remove obsolete info. Update bug URL.
3396         * THANKS: Updated.
3397         * NEWS: Updated with news up to GCC 3.4 release.
3398
3399 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3400
3401         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3402         Renamed from 'setName'. New 2-argument form with default value.
3403         (run): Pass default 'value' parameter to System.getProperty().
3404         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3405         typos.
3406         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3407         not 'setName'.
3408
3409 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3410
3411         * configure.in: Check for minimum GTK version 2.4 requirement.
3412         * configure: Rebuilt.
3413
3414 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3415
3416         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3417         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3418         Reduce sleep time.
3419         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3420         compiler bug.
3421         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3422         address. Reduce sleep times. Synchronize with target threads before
3423         attempting to interrupt them. Don't try to calibrate yeild count,
3424         instead, always loop for a fixed time.
3425         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3426         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3427         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3428         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3429         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3430         * testsuite/libjava.lang/pr179.java: Likewise.
3431         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3432         time. Remove upper bounds check on sleep time. 
3433
3434 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3435
3436         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3437         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3438
3439 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3440
3441         * java/io/File.java (toURI): Throw RuntimeException, not 
3442         InternalError.
3443         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3444         class name, not instance.
3445
3446 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3447
3448         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3449         and gnu/java/security/action/SetAccessibleAction.java.
3450         * Makefile.in: Rebuilt.
3451
3452 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3453
3454         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3455         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3456         _Jv_InitPrimClass.
3457         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3458         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3459         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3460
3461 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3462
3463         * Makefile.am: Replace jar, rmic and rmiregistry references with
3464         gjar, grmic and grmiregistry.
3465         * configure.in: Likewise.
3466         * Makefile.in: Regenerate.
3467         * configure: Likewise.
3468         * gcj/Makefile.in: Likewise.
3469         * include/Makefile.in: Likewise.
3470         * testsuite/Makefile.in: Likewise.
3471
3472 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3473
3474         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3475         for privileged getProperty calls.
3476         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3477         SetAccessibleAction instead of anonymous class for doPrivileged call.
3478         (getMethod): Likewise.
3479         (setAccessible): New field. PrivilegedAction object to use when
3480         calling setAccessible.
3481         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3482         SetAccessibleAction instead of anonymous class for diPrivileged call.
3483         (setFields): Likewise.
3484         (getClassUID): Likewise.
3485         (findMethod): Likewise.
3486         * gnu/java/security/action/GetPropertyAction.java: New class.
3487         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3488
3489 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3490
3491         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3492         for final fields.
3493         * testsuite/libjava.lang/Serialization.java: New test.
3494         * testsuite/libjava.lang/Serialization.out: New.
3495
3496 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3497
3498         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3499         missed in last commit.
3500
3501 2004-07-23  Mark Wielaard  <mark@klomp.org>
3502
3503         * java/lang/System.java (static): Set http.agent system property when
3504         not yet set.
3505         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3506         from system property inside AccessController.doPrivileged() call.
3507         (proxyPort): Made package private.
3508         (proxyInUse): Likewise.
3509         (proxyHost): Likewise.
3510         (userAgent): Likewise.
3511
3512 2004-07-23  Mark Wielaard  <mark@klomp.org>
3513
3514         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3515         implementation.
3516
3517 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3518
3519         * Makefile.am (ordinary_java_source_files): Add
3520         DefaultContentHandlerFactory.java.
3521         * Makefile.in: Rebuilt.
3522         * java/net/URLConnection.java (defaultFactory): New field.
3523         (getContent): 
3524         (getContentHandler): Renamed from 'setContentHandler'. Try 
3525         defaultFactory after user-set factory, if any. Search for content 
3526         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3527         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3528         Implemented.
3529         (getLastModified): Implemented.
3530         (getPermission): Create file permission here, instead of in
3531         constructor.
3532         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3533         Implemented.
3534         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3535         Implemented.
3536         (getLastModified): Implemented.
3537         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3538         Default implementation.
3539         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3540         Implement using GdkPixbufDecoder.
3541         
3542 2004-07-21  Michael Koch  <konqueror@gmx.de>
3543
3544         * javax/swing/JTextArea.java
3545         (setLineWrap): Fire property change event after new value is set.
3546         (setTabSize): Likewise.
3547
3548 2004-07-21  Michael Koch  <konqueror@gmx.de>
3549
3550         * javax/swing/JTable.java
3551         (autoCreateColumnsFromModel): New field.
3552         (autoResizeMode): Likewise.
3553         (cellEditor): Likewise.
3554         (cellSelectionEnabled): Likewise.
3555         (columnModel): Likewise.
3556         (dataModel): Likewise.
3557         (defaultEditorsByColumnClass): Likewise.
3558         (defaultRenderersByColumnClass): Likewise.
3559         (editingColumn): Likewise.
3560         (editingRow): Likewise.
3561         (gridColor): Likewise.
3562         (preferredViewportSize): Likewise.
3563         (rowHeight): Likewise.
3564         (rowMargin): Likewise.
3565         (rowSelectionAllowed): Likewise.
3566         (selectionBackground): Likewise.
3567         (selectionForeground): Likewise.
3568         (selectionModel): Likewise.
3569         (showHorizontalLines): Likewise.
3570         (showVerticalLines): Likewise.
3571         (tableHeader): Likewise.
3572         (JTable): Implemented.
3573         (getColumnModel): Likewise.
3574         (getSelectedRow): Likewise.
3575         (getSelectionModel): Likewise.
3576         (setModel): Likewise.
3577         (setSelectionModel): Likewise.
3578         (createScrollPaneForTable): New method.
3579         (createDefaultDataModel): Likewise.
3580         (createDefaultListSelectionModel): Likewise.
3581         (getModel): Likewise.
3582         (getTableHeader): Likewise.
3583         (setTableHeader): Likewise.
3584         (getColumnSelectionAllowed): Likewise.
3585         (setColumnSelectionAllowed): Likewise.
3586         (getRowSelectionAllowed): Likewise.
3587         (setRowSelectionAllowed): Likewise.
3588         (getAutoResizeMode): Likewise.
3589         (setAutoResizeMode): Likewise.
3590         (getColumnCount): Likewise.
3591         (getRowCount): Likewise.
3592         (getCellRenderer): Likewise.
3593         * javax/swing/JTree.java
3594         (cellRenderer): New field.
3595         (editable): Likewise.
3596         (rootVisible): Likewise.
3597         (showsRootHandles): Likewise.
3598         (getModel): New method.
3599         (setModel): Likewise.
3600         (isEditable): Likewise.
3601         (setEditable): Likewise.
3602         (isRootVisbile): Likewise.
3603         (setRootVisible): Likewise.
3604         (getShowsRootHandles): Likewise.
3605         (setShowRootHandles): Likewise.
3606         (getCellRenderer): Likewise.
3607         (setCellRenderer): Likewise.
3608
3609 2004-07-21  Michael Koch  <konqueror@gmx.de>
3610
3611         * javax/swing/JFormattedTextField.java
3612         (setDocument): Implemented.
3613         * javax/swing/JRootPane.java:
3614         Fixed javadocs.
3615         * javax/swing/JTable.java
3616         (getDefaultRenderer): New method.
3617         * javax/swing/JTextField.java
3618         (setFont): Likewise.
3619         (getPreferredSize): Likewise.
3620         * javax/swing/JToggleButton.java
3621         (getAccessibleContext): Fix javadoc.
3622         * javax/swing/JTree.java:
3623         Add some javadocs.
3624         * javax/swing/JViewport.java:
3625         Likewise.
3626
3627 2004-07-21  David Jee  <djee@redhat.com>
3628
3629         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3630         Collect all native method declaration at the top.
3631         (create): Set the filename filter if necessary.
3632         (setDirectory): Call nativeSetDirectory().
3633         (setFilenameFilter): Implement.
3634         (filenameFilterCallback): New method.
3635         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3636         (create): Configure dialog to show hidden files.
3637         (filenameFilterCallback): New function. 
3638         (nativeSetFilenameFilter): New function.
3639         (nativeSetDirectory): New function.
3640
3641 2004-07-21  Kim Ho  <kho@redhat.com>
3642
3643         * javax/swing/plaf/basic/BasicSliderUI.java:
3644         Ran Jalopy.
3645         (paintTrack): Fill the track before painting
3646         the borders.
3647
3648 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3649
3650         patch from Roman Kennke <roman@ontographics.com>
3651         * javax/swing/Spring.java: New file.
3652         * javax/swing/SpringLayout.java: New file.
3653         * Makefile.am: Add new files.
3654         * Makefile.in: Regenerate.
3655
3656 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3657
3658         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3659         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3660         * javax/swing/ScrollPaneLayout.java: Likewise.
3661
3662 2004-07-21  Kim Ho  <kho@redhat.com>
3663
3664         * javax/swing/DefaultDesktopManager.java:
3665         (findMinimum): Removed.
3666         (resizeFrame): Trust the UI to pass valid 
3667         bounds.
3668         * javax/swing/JOptionPane.java:
3669         Implemented showInternalXXXDialog methods.
3670         (startModal): New method.
3671         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3672         (BorderListener::mouseDragged): Verify that the new 
3673         bounds are valid before passing them to the DesktopManager.
3674         (preferredLayoutSize): Delegate
3675         to getSize.
3676         (minimumLayoutSize): Ditto.
3677         (getSize): New method.
3678         (GlassPaneDispatcher): Reimplemented by copying 
3679         a stripped down LightweightDispatcher from Container.
3680         (getMinimumSize): Call minimumLayoutSize.
3681         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3682         Ran Jalopy.
3683         (mousePressed): Add ability to properly close 
3684         JInternalFrames.
3685         * javax/swing/plaf/basic/BasicToolBarUI.java:
3686         (DragWindow): Set owner for DragWindow.
3687
3688 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3689
3690         * java/awt/image/ShortLookupTable.java: New file.
3691         * java/awt/image/ByteLookupTable.java: New file.
3692         * Makefile.am: Added new files.
3693         * Makefile.in: Regenerated.
3694
3695 2004-07-21  David Jee  <djee@redhat.com>
3696
3697         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3698         (create(GtkContainerPeer)): New native method.
3699         (create()): Call native create(), passing in the parent frame
3700         as the paramter. Natively set the current file and directory.
3701         (setFile): Construct an absolute filename before passing it to
3702         the native peer.
3703         (nativeGetDirectory): New method.
3704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3705         (window_closed): Removed.
3706         (ok_clicked): Likewise.
3707         (cancel_clicked): Likewise.
3708         (handle_response): New method.
3709         (create): Use GtkFileChooserDialog.
3710         (connectSignals): Connect to handle_response.
3711         (nativeGetDirectory): New method.
3712         (nativeSetFile): Use GtkFileChooserDialog.
3713
3714 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3715
3716         * java/awt/image/LookupTable.java: New file.
3717         * Makefile.am: Added new file.
3718         * Makefile.in: Regenerated.
3719
3720 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3721
3722         * java/awt/image/Kernel.java: New file.
3723         * Makefile.am: Added new file.
3724         * Makefile.in: Regenerated.
3725
3726 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3727
3728         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3729         * javax/swing/JMenu.java: Likewise.
3730         * javax/swing/JMenuBar.java: Likewise.
3731         (MARGIN_CHANGED_PROPERTY): New property.
3732         (setMargin): Implemented.
3733         * javax/swing/JMenuItem.java: Fixed javadocs.
3734         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3735         (LABEL_CHANGED_PROPERTY): New property.
3736         (add): changed to use createActionComponent.
3737         (createActionComponent): Implemented.   
3738         (setLabel): Fire PropertyChangeEvent if label property
3739         changes.
3740         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3741         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3742         (ContainerHandler): Repaint if margin property has changed.
3743         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3744         (installUI): Call installComponents().
3745         (uninstallUI): Call uinstallComponents().
3746         * javax/swing/plaf/basic/BasicMenuUI.java:
3747         Fixed javadocs.
3748         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3749         Likewise.
3750
3751 2004-07-21  Kim Ho  <kho@redhat.com>
3752
3753         * javax/swing/plaf/basic/BasicToolBarUI.java:
3754         (DragWindow): Use the right constructor.
3755
3756 2004-07-21  Kim Ho  <kho@redhat.com>
3757
3758         * javax/swing/JToolBar.java:
3759         (layoutContainer): Use getComponents.
3760         * javax/swing/plaf/basic/BasicToolBarUI.java:
3761         (DragWindow): Don't use SwingUtilities' 
3762         getOwnerFrame
3763         (ToolBarDialog): ditto.
3764
3765 2004-07-21  Kim Ho  <kho@redhat.com>
3766
3767         * javax/swing/JRootPane.java:
3768         Ran jalopy.
3769         (layoutContainer): Set the glasspane's size to 
3770         be the same as the content pane.
3771         (createGlassPane): Set opaque property to false.
3772
3773 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3774
3775         * java/awt/Component.java (requestFocus()): Don't handle Panels
3776         specially.
3777         (requestFocus(boolean)): Likewise.
3778         (requestFocusInWindow(boolean)): Likewise.
3779         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3780         Set GTK_CAN_FOCUS flag.
3781
3782 2004-07-21  Kim Ho  <kho@redhat.com>
3783
3784         * Makefile.am: Added new file.
3785         * Makefile.in: Regenerated.
3786         * gcj/Makefile.in: Regenerated.
3787         * include/Makefile.in: Regenerated.
3788         * javax/swing/AbstractButton.java:
3789         Add rollOverEnabled property.
3790         (setRolloverEnabled): Use new property.
3791         (isRolloverEnabled): Use new property.
3792         * javax/swing/JTabbedPane.java:
3793         (setComponent): Remove useless JTabbedPane.this.
3794         * javax/swing/JToolBar.java: Finish implementation.
3795         * javax/swing/plaf/basic/BasicArrowButton.java:
3796         (paint): Moved border painting to a border.
3797         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3798         Change JToolBar look and feel defaults.
3799         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3800         (actionPerformed): Return Integer index instead of name.
3801         (addButtonComponents): Check to see if component is
3802         JButton last.
3803         (createMessageArea): Don't use components that are not
3804         completed yet.
3805         (getIconForType): Use temporary icons.
3806         * javax/swing/plaf/basic/BasicSliderUI.java:
3807         (mousePressed): Do not return if it's on thumb.
3808         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3809         (paintMinorTickForVertSlider): ditto.
3810         (paintMajorTickForHorizSlider): ditto.
3811         (paintMajorTickForVertSlider): ditto.
3812         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3813         Add a border around the SplitPaneDivider.
3814         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3815         Remove comments.
3816         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3817         New file. Implemented.
3818         * javax/swing/plaf/basic/BasicToolBarUI.java:
3819         Implemented.
3820         * testsuite/Makefile.in: Regenerated.
3821
3822 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3823
3824         * javax/swing/Timer.java (run): Queue events each time cycle.
3825
3826 2004-07-21  David Jee  <djee@redhat.com>
3827
3828         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3829         (imageComplete): Call image.imageComplete().
3830         * java/awt/image/MemoryImageSource.java:
3831         Reimplement consumers as a Vector instead of a Hashtable.  This is
3832         because enumeration on a Hashtable is not thread-safe.
3833         (addConsumer): Adapt to Vector consumers.
3834         (isConsumer): Adapt to Vector consumers.
3835         (removeConsumer): Adapt to Vector consumers.
3836         (startProduction): Adapt to Vector consumers. Call imageComplete()
3837         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3838         (newPixels): Adapt to Vector consumers.
3839         (sendPicture): Set the color model of the image consumer.
3840         (newPixels(IIII)): Adapt to Vector consumers.
3841         (newPixels(IIIIB)): Adapt to Vector consumers.
3842
3843 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3844
3845         * java/awt/Component.java (deliverEvent): Implement.
3846         (postEvent): Implement.
3847         (handleEvent): Implement.
3848         (translateEvent): New method.
3849         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3850         * java/awt/Container.java (deliverEvent): Implement.
3851         * java/awt/Event.java (paramString): Fix formatting.
3852         * java/awt/Font.java (toString): Likewise.
3853         * java/awt/Window.java (postEvent): Implement.
3854
3855 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3856
3857         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3858         Set window's focus owner upon receiving a FOCUS_LOST event.
3859         * java/awt/Window.java (Window()): Refocus the previously
3860         focused component within the window when the window regains the
3861         top-level focus.
3862         (setFocusOwner): New method.
3863         * java/awt/Component.java (requestFocus): Add FIXME.
3864
3865         * libgcj.pc.in: Remove library flags.
3866
3867 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3868
3869         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3870         MOUSE_PRESSED event.
3871         * java/awt/Component.java (requestFocus()): Handle Panel
3872         specially.  Post FOCUS_LOST event on opposite component.
3873         (requestFocus(boolean)): Likewise.
3874         (requestFocusInWindow(boolean)): Likewise.
3875         (paramString): Reorder dimension fields.
3876         * java/awt/Container.java (paramString): Fix string format.
3877         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3878         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3879         process key events if the focus owner is non-null.
3880         (dispatchKeyEvent): Likewise.
3881         * java/awt/Frame.java (paramString): Fix formatting.
3882         (generateName): New method.
3883         (getUniqueLong): Likewise.
3884         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3885         the temporary focus owner is null.  If so, return the permanent
3886         focus owner.
3887         * java/awt/Panel.java (generateName): New method.
3888         (getUniqueLong): Likewise.
3889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3890         signal handling to make callbacks more specific.
3891
3892 2004-07-21  Michael Koch  <konqueror@gmx.de>
3893
3894         * javax/swing/text/Position.java
3895         (Bias): Implemented.
3896
3897 2004-07-21  Michael Koch  <konqueror@gmx.de>
3898
3899         * javax/swing/LookAndFeel.java
3900         (provideErrorFeedback): New method.
3901
3902 2004-07-21  Michael Koch  <konqueror@gmx.de>
3903
3904         * javax/swing/JTextArea.java
3905         (tabSize): New field.
3906         (getTabSize): New method.
3907         (setTabSize): Likewise.
3908
3909 2004-07-21  Michael Koch  <konqueror@gmx.de>
3910
3911         * javax/swing/ActionMap.java:
3912         Fixed javadocs all over.
3913         (serialVersionUID): Made private.
3914         (parent): Don't explicitely initialize with default value.
3915         (get): SImplified.
3916         (keys): Reimplemented.
3917         (allKeys): Likewise.
3918         (convertSet): Removed.
3919         * javax/swing/ComponentInputMap.java:
3920         Fixed javadocs all over.
3921         (ComponentInputMap): Implemented.
3922         (put): Likewise.
3923         (clear): Likewise.
3924         (remove): Likewise.
3925         (SetParent): Likewise.
3926         (getComponent): Likewise.
3927         * javax/swing/InputMap.java:
3928         Fixed javadocs all over.
3929         (serialVersionUID): Made private.
3930         (parent): Don't explicitely initialize with default value.
3931         (get): SImplified.
3932         (keys): Reimplemented.
3933         (allKeys): Likewise.
3934         (convertSet): Removed.
3935
3936 2004-07-21  Michael Koch  <konqueror@gmx.de>
3937
3938         * javax/swing/ActionMap.java,
3939         javax/swing/ComponentInputMap.java,
3940         javax/swing/InputMap.java,
3941         javax/swing/table/DefaultTableColumnModel.java,
3942         javax/swing/table/TableColumn.java,
3943         javax/swing/table/TableColumnModel.java,
3944         javax/swing/table/TableModel.java,
3945         javax/swing/text/AbstractDocument.java,
3946         javax/swing/text/TextAction.java:
3947         Reformated.
3948
3949 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3950
3951         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3952         Make method non-static.
3953         * javax/swing/AbstractButton.java:
3954         Rename fields to match property names where possible.
3955         (iconTextGap): New property.
3956         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3957         (init) New method, call from after various constructors.
3958         * javax/swing/JComponent.java (revalidate): 
3959         Invalidate before queueing repair.
3960         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3961         Reimplement in terms of visibleRowCount property.
3962         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3963         * javax/swing/JScrollPane.java (createScrollListener): 
3964         Remove tracing chatter.
3965         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3966         * javax/swing/RepaintManager.java (addInvalidComponent): 
3967         Don't invalidate.
3968         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3969         calculations.
3970         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3971         Mimic sun behavior on top left/right positioning.
3972         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3973         Remove mistaken use of preferredScrollableViewportSize here.
3974         (layoutContainer): Use view's preferred size as basis.
3975         * javax/swing/plaf/basic/BasicButtonUI.java:
3976         Set, get, and use textIconGap property.
3977         (paint) Paint text returned from layout (with ellipsis).
3978         * javax/swing/plaf/basic/BasicListUI.java:
3979         Remove tracing chatter, correct various minor calculations.
3980         (getCellBounds): Update layout state before calculating.
3981         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3982         Use margin default similar to sun's.    
3983         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3984         (createIncreaseIcon): Center icon, minimize margins.
3985         (createDecreaseIcon): Likewise.
3986         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3987         Implement.
3988         (installUI): Call it.
3989         (uninstallDefaults): Implement.
3990         (uninstallUI): Call it.
3991         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3992         Call existing Window constructor.
3993         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3994         Set clip before painting.
3995
3996 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3997         
3998         * javax/swing/JMenuItem.java:
3999         (processMouseEvent): Reimplemented to deal with
4000         mouse drag events.
4001         (createMenuDragMouseEvent): New private helper method.
4002         Creates MenuDragMouseEvent.
4003         * javax/swing/MenuSelectionManager.java
4004         (componentForPoint): Implemented.
4005         (isComponentPartOfCurrentMenu): Made public.
4006         (processMouseEvent): Reimplemented to deal with 
4007         mouse drag events.
4008         (setSelectedPath): Corrected small mistake that caused
4009         path to be set incorrectly.
4010         (getPath): If given component is JMenu then also add this
4011         menu's popup menu to the selected path.
4012         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4013         (getPath): Ditto.
4014         (getPreferredSize): Call getPreferredMenuItemSize().
4015         (getPreferredItemSize): Moved code from getPreferredSize to here.
4016         (installListeners): Install MouseMotionListeners.
4017         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
4018         if mouse wasn't released in the bounds of this menu item.
4019         (MenuDragMouseHandler): Implemented.
4020         * javax/swing/plaf/basic/BasicMenuUI.java:
4021         (installListeners): Install MouseMotionListener and 
4022         MenuDrageMouseListener.
4023         (MenuDragMouseHandler): Implemented.
4024         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4025         (uninstallListeners): Implemented.
4026         
4027 2004-07-21  Michael Koch  <konqueror@gmx.de>
4028
4029         * javax/swing/JCheckBox.java: Reformated.
4030         (JCheckBox): Fixed all constructors.
4031         (isBorderPaintedFlat): New method.
4032         (setBorderPaintedFlat): New method.
4033         * javax/swing/JEditorPane.java
4034         (createEditorKitForContentType): Made public.
4035         (scrollToReference): Likewise.
4036         * javax/swing/JTextArea.java
4037         (setLineWrap): Fire property change.
4038         * javax/swing/JToggleButton.java
4039         (JToggleButton): New constructor.
4040         (JToggleButton): Simplified.
4041         * javax/swing/text/AttributeSet.java
4042         (FontAttribute): Renamed from FontCharacterAttribute.
4043         * javax/swing/text/JTextComponent.java
4044         (KeyBinBinding): Added javadoc.
4045         (JTextComponent): Likewise.
4046         (getAccessibleContext): Fixed javadoc.
4047         * javax/swing/text/View.java
4048         (View): Added javadoc.
4049         * javax/swing/text/TabableView.java: New file.
4050         * Makefile.am: Added javax/swing/text/TabableView.java.
4051         * Makefile.in: Regenerated.
4052
4053 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4054
4055         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4056         * gnu/java/awt/peer/gtk/GtkToolkit.java 
4057         (GtkErrorImage): New helper class.
4058         (bufferedImageOrError): New helper method.
4059         (createImage): Use it.
4060
4061 2004-07-21  David Jee  <djee@redhat.com>
4062
4063         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4064         (setCaretPosition): Scroll the text view so the new caret position
4065         is visible on screen.
4066
4067 2004-07-21  David Jee  <djee@redhat.com>
4068
4069         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4070         (setBounds): Do not validate awtComponent here.
4071         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4072         (getPreferredSize): New method.
4073         * java/awt/ScrollPane.java
4074         (ScrollPane): Set default size to 100x100.
4075         (addNotify): If child is not a Panel, wrap it with a new Panel.
4076         (paramString): Implement.
4077
4078 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4079
4080         * javax/swing/JMenu.java:
4081         (setSelected): Display popup menu only if this menu 
4082         is showing on the screen.
4083         * javax/swing/JPopupMenu.java:
4084         (processMouseEvent): Added comment.
4085         (processKeyEvent): Likewise.
4086         * javax/swing/MenuSelectionManager.java:
4087         (clearSelectedPath): Only fireStateChanged() after
4088         selected path was changed, not before.
4089         (setSelectedPath): Likewise.
4090         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4091         (paintMenuItem): Corrected position of menu item's
4092         icon.
4093         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4094         (installUI): Correct setDefaultLightWeightPopupEnabled call.
4095         (popupMenuCanceled): Reimplemented.
4096         (popupMenuWillBecomeVisible): Select first menu item by default 
4097         when displaying free floating popup menus.
4098         (TopWindowListener): Reimplemented.
4099
4100 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4101
4102         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4103         Panel from being painted twice when it is first shown.
4104
4105 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4106
4107         * java/awt/Window.java: Reverted changes from my 
4108         previous patch for creating window without an owner.
4109         * javax/swing/SwingUtilities.java: 
4110         (SwingUtilities.OwnerFrame): made static.
4111         (OwnerFrame.setVisible): New method. Overridden with
4112         empty implementation.
4113         (OwnerFrame.isShowing): New method. Ovverridden
4114         to return always true.
4115
4116 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4117
4118         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4119         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4120         (GtkComponentPeer): Remove temporary try/catch block.
4121         (setVisible): Call show and hide.
4122         (show): Make native.
4123         (hide): Likewise.
4124         (getArgs): Don't add "visible" argument.
4125         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4126         (property_notify_predicate): Return Bool instead of int.
4127         (find_layout): New function.
4128         (connectJObject): Call find_layout.
4129         (connectSignals): Likewise.
4130         (moveLayout): Likewise.
4131         (gtkLayoutSetVisible): Likewise.
4132
4133 2004-07-21  Mark Wielaard  <mark@klomp.org>
4134
4135         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4136         on notifier object before calling notifyAll().
4137
4138 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4139
4140         * java/awt/Window.java: Changed constructors to use new
4141         method that is described below. Constructors call this
4142         methods only if newly created window should have an owner.
4143         (setWindowOwner): New method. Implementation for
4144         this method is moved from this(owner,configuration).
4145         * javax/swing/JWindow.java:
4146         (JWindow): Reimplement to use SwingUtilities.ownerFrame
4147         instead of owner.
4148         * javax/swing/SwingUtilities.java:
4149         (ownerFrame): Change type of this field to OwnerFrame.
4150         (getOwnerFrame): Changed to return object of type OwnerFrame.
4151         (SwingUtilities.OwnerFrame): New class. Represents owner
4152         of a Window that is not provided with one.
4153
4154 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4155
4156         *  javax/swing/AbstractButton.java: 
4157         (configurePropertiesFromAction): Set action command
4158         to button's text by default if action command is not 
4159         explicitely specified.
4160         * javax/swing/JMenu.java: Remove unnecessary listener
4161         and methods relevant to it.
4162         (setSelected): Reimplemented.
4163         (menuSelectionChanged): Moved most part of implementation to
4164         setSelected() and call it instead.
4165         * javax/swing/JMenuItem.java: 
4166         (init): Comment out statement that sets paint_border to false.
4167         (configurePropertiesFromAction): Do not set accelerator
4168         for JMenu.
4169         (menuSelectionChanged): Change selected index in the selection
4170         model of menu item's parent.
4171         * javax/swing/JPopupMenu.java:
4172         (remove): Set constraints.fill field to GridBagConstraints.BOTH
4173         instead of GridBagConstraints.HORIZONTAL.
4174         (insert): Likewise.
4175         (createActionChangeListener): Implemented.
4176         (setVisible): Correct location of HeavyWeightMenu and 
4177         don't firePopupMenuCanceled().
4178         (menuSelectionChanged): Implemented.
4179         (ActionChangeListener): New Listener. Implemented.
4180         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4181         (BasicMenuBarUI.ContainerHandler): Implemented.
4182         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4183         (paintMenuItem): Uncommented out code that paints 
4184         icon, now that icons are working properly.
4185         (PropertyChangeListener): Implemented.
4186         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4187         Added javadocs.
4188         (topWindowListener): New field.
4189         (Constructor): initialize topWindowListener.
4190         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4191         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4192         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4193         Implemented.
4194
4195 2004-07-21  Michael Koch  <konqueror@gmx.de>
4196
4197         * javax/swing/plaf/basic/BasicButtonUI.java
4198         (paintFocus): Fixed method signature.
4199         (paintButtonPressed): Likewise.
4200         (paintButtonNormal): Likewise.
4201         (paintText): New method.
4202         * javax/swing/plaf/basic/BasicLabelUI.java
4203         (paint): Re-indented.
4204         * javax/swing/plaf/basic/BasicTextUI.java
4205         (installUI): Set parent textComponent to opaque.
4206         * javax/swing/text/DefaultHighlighter.java
4207         (checkPositions): New helper method.
4208         (addHighlight): Throws BadLocationException, check positions.
4209         (changeHighlight): Likewise.
4210         * javax/swing/text/EditorKit.java
4211         (EditorKit): Implements Serializable.
4212         * javax/swing/text/JTextComponent.java
4213         (getUI): Added javadoc.
4214         (setUI): Likewise.
4215         (upadteUI): Added javadoc, don't revalidate and repaint.
4216
4217 2004-07-21  David Jee  <djee@redhat.com>
4218
4219         * java/awt/GridBagLayout.java
4220         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4221         * javax/swing/AbstractButton.java
4222         (setText): Reindent.
4223         * javax/swing/RepaintManager.java
4224         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4225
4226 2004-07-21  Michael Koch  <konqueror@gmx.de>
4227
4228         * javax/swing/JFormattedTextField.java
4229         (value): New field.
4230         (JFormattedTextField): Implemented.
4231         (getValue): Likewise.
4232         (setValue): Likewise.
4233         * javax/swing/LookAndFeel.java
4234         (getSupportsWindowDecorations): New method.
4235         * javax/swing/UIDefaults.java:
4236         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4237         (addPropertyChangeListener): Made public.
4238         (addResourceBundle): Likewise.
4239         (removeResourceBundle): Likewise.
4240         (setDefaultLocale): Likewise.
4241         * javax/swing/plaf/basic/BasicRootPaneUI.java
4242         (BasicRootPaneUI): Implements PropertyChangeListener.
4243         (propertyChange): New method.
4244         * javax/swing/plaf/basic/BasicTextUI.java
4245         (BasicHighlighter): New inner class.
4246         (createHighlighter): New method.
4247         * javax/swing/plaf/basic/BasicToolBarUI.java
4248         (DragWindow): Extends java.awt.Window.
4249         * javax/swing/text/JTextComponent.java
4250         (getDocument): Removed debug output.
4251         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4252         javax/swing/text/DefaultHighlighter.java,
4253         javax/swing/text/FieldView.java,
4254         javax/swing/text/PlainView.java: New files.
4255         * Makefile.am: Added new files.
4256         * Makefile.in: Regenerated.
4257
4258 2004-07-21  Michael Koch  <konqueror@gmx.de>
4259
4260         * javax/swing/JEditorPane.java
4261         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4262         (createEditorKitForContentType): Likewise.
4263         * javax/swing/text/DefaultEditorKit.java
4264         (serialVersionUID): Added constant field.
4265         (EndOfLineStringPropery): Fixed typo.
4266         (DefaultEditorKit): New constructor.
4267         * javax/swing/text/Segment.java:
4268         Import java.text.CharacterIterator.
4269         * javax/swing/text/CharacterIterator.java,
4270         javax/swing/text/PlainEditorKit.java: Removed.
4271         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4272         javax/swing/text/PlainEditorKit.java.
4273         * Makefile.in: Regenerated.
4274
4275 2004-07-21  Michael Koch  <konqueror@gmx.de>
4276
4277         * javax/swing/JButton.java,
4278         javax/swing/text/DefaultEditorKit.java,
4279         javax/swing/text/EditorKit.java,
4280         javax/swing/text/Segment.java,
4281         javax/swing/text/StyledEditorKit.java:
4282         Reformatted.
4283
4284 2004-07-21  Michael Koch  <konqueror@gmx.de>
4285
4286         * javax/swing/ImageIcon.java
4287         (file): Removed.
4288         (description): Renamed from descr.
4289         (ImageIcon): Added missing constructors.
4290         (setParent): Removed.
4291         (setImageObserver): New method.
4292         (getImageObserver): New method.
4293         (paintIcon): Handle observer = null.
4294         * javax/swing/JButton.java
4295         (removeNotify): Fixed javadoc.
4296         (updateUI): Simplified.
4297         * javax/swing/JRootPane.java
4298         (serialVersionUID): New constant field.
4299         * javax/swing/UIManager.java:
4300         Fixed javadocs all over.
4301         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4302         * javax/swing/text/AbstractDocument.java
4303         (createPosition): Throws BadLocationException.
4304         (getText): Likewise.
4305         (remove): Likewise.
4306         * javax/swing/text/ComponentView.java
4307         (modelToView): Likewise.
4308         * javax/swing/text/DefaultEditorKit.java:
4309         Made all public methods public.
4310         (read): Throws BadLocationException and IOException.
4311         (write): Likewise.
4312         * javax/swing/text/EditorKit.java:
4313         Made all public methods public.
4314         (serialVersionUID): New constant field.
4315         (clone): New method.
4316         (read): Throws BadLocationException and IOException.
4317         (write): Likewise.
4318         * javax/swing/text/Segment.java
4319         (array): Made public.
4320         (count): Likewise.
4321         (offset): Likewise.
4322         (Segment): New constructors.
4323         (clone): Reimplemented.
4324         * javax/swing/text/StyledEditorKit.java
4325         (serialVersionUID): New constant field.
4326
4327 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4328
4329         * java/awt/image/BufferedImage.java 
4330         (getSource): Implement.
4331         * javax/swing/ImageIcon.java 
4332         (ImageIcon): Implement ctor.
4333         * javax/swing/ScrollPaneLayout.java 
4334         (preferredLayoutSize): Be more careful about nulls.
4335
4336 2004-07-21  Michael Koch  <konqueror@gmx.de>
4337
4338         * javax/swing/text/AttributeSet.java
4339         (CharacterAttribute): New interface
4340         (ColorAttribute): Likewise.
4341         (FontCharacterAttribute): Likewise.
4342         (ParagraphAttribute): Likewise.
4343         * javax/swing/text/DefaultCaret.java
4344         (moveCaret): New method.
4345         (positionCaret): Likewise.
4346         (repaint): Made protected.
4347         * javax/swing/text/JTextComponent.java
4348         (KeyBinding): Made it static.
4349         * javax/swing/text/View.java
4350         (getContainer): Honor parent == null.
4351
4352 2004-07-21  Michael Koch  <konqueror@gmx.de>
4353
4354         * javax/swing/text/AbstractDocument.java:
4355         Reformatted.
4356
4357 2004-07-21  Michael Koch  <konqueror@gmx.de>
4358
4359         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4360         Import javax.swing.UIManager explicitely.
4361         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4362         (ScrollingButton): Made it static.
4363
4364 2004-07-21  Michael Koch  <konqueror@gmx.de>
4365
4366         * javax/swing/UIDefaults.java
4367         (ActiveValue): Made public.
4368         (LazyValue): Likewise.
4369         * javax/swing/plaf/basic/BasicTextUI.java
4370         (RootView): Reintroduced.
4371         (view): Removed.
4372         (rootView): New field.
4373         (installUI): Create document if needed, initialize rootView.
4374         (uninstallUI): Hanle rootView.
4375         (paint): Likewise.
4376         (getRootView): Likewise.
4377         (setView): Likewise.
4378         * javax/swing/text/DefaultCaret.java:
4379         Renamed all "evt" variables to "event".
4380
4381 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4382
4383         * libgcj.spec.in: Add -l-java-util-logging.
4384
4385 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4386
4387         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4388         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4389         gtk-xft-dpi can no calculate the right value.
4390         (dpi_changed_cb): Mark *pspec as unsused.
4391
4392 2004-07-21  David Jee  <djee@redhat.com>
4393
4394         * java/awt/Component.java
4395         (move): Delegate to setBounds().
4396         (resize): Likewise.
4397         (reshape): Fix so it repaints parent and self only when necessary.
4398
4399 2004-07-21  David Jee  <djee@redhat.com>
4400
4401         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4402         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4403         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4404         (setVisible): Likewise.
4405         (show): Likewise.
4406         (hide): Likewise.
4407         (getArgs): Likewise.
4408         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4409         (property_notify_predicate): Likewise.
4410         (find_layout): Likewise.
4411         (connectJObject): Likewise.
4412         (connectSignals): Likewise.
4413         (moveLayout): Likewise.
4414         (gtkLayoutSetVisible): Likewise.
4415
4416 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4417
4418         * Makefile.am
4419         (jv_convert_LDADD):
4420         (gij_LDADD):
4421         (rmic_LDADD):
4422         (rmiregistry_LDADD): Add lib-java-util-logging.la
4423         * Makefile.in: Regenerate.
4424
4425 2004-07-21  Michael Koch  <konqueror@gmx.de>
4426
4427         * javax/swing/text/AbstractDocument.java
4428         (replace): Dont use protected method of java.util.Vector directly.
4429
4430 2004-07-21  Michael Koch  <konqueror@gmx.de>
4431
4432         * javax/swing/plaf/basic/BasicTextUI.java
4433         (installUI): Call specialized install methods.
4434         (installDefaults): New method.
4435         (installListeners): Likewise.
4436         (installKeyboardActions): Likewise.
4437         (uninstallUI): Likewise.
4438         (uninstallDefaults): New method.
4439         (uninstallListeners): Likewise.
4440         (uninstallKeyboardActions): Likewise.
4441         (getPropertyPrefix): New abstract method.
4442         (paint): Made final, just call paintSafely().
4443         (paintSavely): New method.
4444         (paintBackground): Likewise.
4445         (getVisibleEditorRect): Likewise.
4446         * javax/swing/text/LayeredHighlighter.java,
4447         javax/swing/text/TabExpander.java: New files.
4448         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4449         and javax/swing/text/TabExpander.java.
4450         * Makefile.in: Regenerated.
4451
4452 2004-07-21  Michael Koch  <konqueror@gmx.de>
4453
4454         * javax/swing/plaf/basic/BasicTextUI.java
4455         (BasicTextUI): Made abstract.
4456         (BasicCaret): New inner class.
4457         (view): Don't explicitely initialize with "null".
4458         (textComponent): New field.
4459         (textColor): Removed.
4460         (disabledTextColor): Removed.
4461         (normalBackgroundColor): Removed.
4462         (RootView): Removed commented out inner class.
4463         (createUI): Removed.
4464         (createCaret): New method.
4465         (getComponent): Likewise.
4466         (installUI): Initialize textComponent only.
4467         (getPreferredSize): Use installed JTextComponent.
4468         (setView): New method.
4469         (create): Likewise.
4470         * javax/swing/text/JTextComponent.java
4471         (highlighter): New field.
4472         (caretColor): Likewise.
4473         (disabledTextColor): Likewise.
4474         (seletedTextColor): Likewise.
4475         (selectionColor): Likewise.
4476         (setUI): New method.
4477         (getCaretColor): Likewise.
4478         (setCaretColor): Likewise.
4479         (getDisabledColor): Likewise.
4480         (setDisabledColor): Likewise.
4481         (getSelectedTextColor): Likewise.
4482         (setSelectedTextColor): Likewise.
4483         (getSelectionColor): Likewise.
4484         (setSelectionColor): Likewise.
4485         (getHighlighter): Likewise.
4486         (setHighlighter): Likewise.
4487         (replaceSelection): Likewise.
4488
4489 2004-07-21  Michael Koch  <konqueror@gmx.de>
4490
4491         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4492         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4493         * javax/swing/plaf/basic/BasicToolBarUI.java
4494         (BasicToolBarUI): Implements SwingConstants.
4495
4496 2004-07-21  Michael Koch  <konqueror@gmx.de>
4497
4498         * javax/swing/JPopupMenu.java: Removed CVS tags.
4499         * javax/swing/UIDefaults.java: Reformatted.
4500         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4501         Explicitely import used classes.
4502
4503 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4504
4505         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4506         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4507         (GtkComponentPeer): Remove temporary try/catch block.
4508         (setVisible): Call show and hide.
4509         (show): Make native.
4510         (hide): Likewise.
4511         (getArgs): Don't add "visible" argument.
4512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4513         (property_notify_predicate): Return Bool instead of int.
4514         (find_layout): New function.
4515         (connectJObject): Call find_layout.
4516         (connectSignals): Likewise.
4517         (moveLayout): Likewise.
4518         (gtkLayoutSetVisible): Likewise.
4519
4520 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4521
4522         * javax/swing/AbstractButton.java:
4523         (setDisplayedMnemonicIndex): Check if button
4524         text is not null before checking its length.
4525         * javax/swing/JMenuItem.java:
4526         (processMouseEvent): Disarm menu item if mouse has
4527         exited it.
4528         * javax/swing/plaf/basic/BasicMenuUI.java:
4529         (MouseInputHandler.mouseEntered): Do not raise
4530         popup menu if this menu is already selected.
4531         (MouseInputHandler.mousePressed): Do not fire 
4532         MenuEvents.
4533         (MenuHandler): Implemented.     
4534
4535 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4536
4537         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4538         (getSelectedObjects): Implemented.
4539         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4540         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4541         Added javadoc for few methods.
4542         (processMouseEvent): Made public.
4543         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4544         (processMouseEvent): Likewise.
4545
4546 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4547
4548         * javax/swing/AbstractButton.java:
4549         (init): Set display mnemonic index to -1.
4550         (setMnemonic(char)): Use setMnemonic(int).
4551         (setMnemonic(int)): Set display mnemonic index.
4552         (getDisplayedMnemonicIndex): Change method signature
4553         by removing 'index' parameter.
4554         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4555         Added default for Menu.selectionBackground.     
4556         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4557         (paintMenuItem): Change background color of the selected
4558         menu item.
4559         (paintText): Paint differently when menu item is disabled.
4560         Also paint mnemonic if it appears in the menu item's label.
4561         (paintAccelerator): Paint accelerator differently
4562         if menu item is disabled.
4563         * javax/swing/plaf/basic/BasicMenuUI.java:
4564         (installDefaults): Install defaults for 
4565         selectionForeground and selectionBackground.
4566         (uninstallDefaults): Uninstall defauls for 
4567         selectionForeground and selectionBackground.
4568
4569 2004-07-21  Michael Koch  <konqueror@gmx.de>
4570
4571         * javax/swing/text/AbstractDocument.java
4572         (BranchElement): Implemented.
4573         (LeafElement): Implemented.
4574         * javax/swing/text/DefaultCaret.java:
4575         Import used classes.
4576         (serialVersionUID): New constant.
4577         * javax/swing/text/JTextComponent.java
4578         (AccessibleJTextComponent): Removed dead declaration.
4579         (caretPos): Removed.
4580         (setCaret): New method.
4581         * javax/swing/text/PlainDocument.java
4582         (rootElement): New field.
4583         (PlainDocument): Initialize rootElement.
4584         (createDefaultRoot): New method.
4585         (getDefaultRootElement): Implemented.
4586         * javax/swing/text/View.java: Reformatted.
4587         * javax/swing/text/ViewFactory.java
4588         (create): Added javadoc.
4589
4590 2004-07-21  Michael Koch  <konqueror@gmx.de>
4591
4592         * javax/swing/ToolTipManager.java: Reformatted.
4593
4594 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4595
4596         * javax/swing/AbstractButton.java
4597         (changeEvent): New field.
4598         (fireItemStateChanged): Change source of the event
4599         to 'this' before firing it to button listeners.
4600         (fireActionPerformed): Likewise.
4601         (fireStateChanged): Likewise.
4602         (createActionListener): Do not set source 
4603         of the event to AbstractButton.                                  
4604         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4605         (ContainerHandler.componentAdded): Removed 
4606         print out statement.
4607         (ContainerHandler.componentRemoved): Likewise.
4608
4609 2004-07-21  Michael Koch  <konqueror@gmx.de>
4610
4611         * javax/swing/text/Highlighter.java: New file.
4612         * Makefile.am: Added javax/swing/text/Highlighter.java.
4613         * Makefile.in: Regenerated.
4614
4615 2004-07-21  Michael Koch  <konqueror@gmx.de>
4616
4617         * javax/swing/ToolTipManager.java
4618         (stillInsideTimerAction): Fixed constructor arguments.
4619         (outsideTimerAction): Likewise.
4620         (insideTimerAction): Likewise.
4621
4622 2004-07-21  Michael Koch  <konqueror@gmx.de>
4623
4624         * javax/swing/JButton.java: Reformatted.
4625         * javax/swing/JFormattedTextField.java
4626         (getUIClassID): Implemented.
4627         * javax/swing/JRootPane.java
4628         (serialVersionUID): New constant.
4629         * javax/swing/JTextField.java
4630         (align): New field.
4631         (JTextField): Simplified.
4632         (getUIClassID): New method.
4633         (getActionListeners): Added @since tag.
4634         (setColumns): Invalidate layout and repaint.
4635         (getHorizontalAlignment): New method.
4636         (setHorizontalAlignment): New method.
4637         (selectAll): Removed.
4638         * javax/swing/SwingUtilities.java
4639         (getAncestorOfClass): Removed redundant @see tag.
4640         (isLeftMouseButton): Fixed implementation.
4641         (isMiddleMouseButton): Likewise.
4642         (isRightMouseButton): Likewise.
4643         * javax/swing/text/AbstractDocument.java
4644         (AttributeContext.addAttribute): New method.
4645         (AttributeContext.addAttributes): New method.
4646         (AttributeContext.getEmptySet): New method.
4647         (AttributeContext.reclaim): New method.
4648         (AttributeContext.removeAttribute): New method.
4649         (AttributeContext.removeAttributes): New method.
4650         * javax/swing/text/Document.java
4651         (createPosition): Throws BadLocationException.
4652         (getText): Likewise.
4653         (remove): Likewise.
4654         * javax/swing/text/JTextComponent.java
4655         (getText): Return null if no document is set. Catch
4656         BadLocationException.
4657         (getUI): Return ui.
4658         (updateUI): Simplified.
4659
4660 2004-07-21  Michael Koch  <konqueror@gmx.de>
4661
4662         * javax/swing/JButton.java
4663         (removeNotify): Fixed javadoc.
4664         (updateUI): Simplified.
4665
4666 2004-07-21  David Jee  <djee@redhat.com>
4667
4668         * gnu/java/awt/image/ImageDecoder.java
4669         (startProduction): Only add consumer if it's not added yet.
4670         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4671         (GdkPixbufDecoder): Don't call initState() here.
4672         (produce): Call initState() here, to ensure area_prepared and
4673         area_updated signals are properly connected.
4674         * gnu/java/awt/peer/gtk/GtkImage.java
4675         (setColorModel): Use equals() to compare ColorModel objects.
4676         (setPixels): Likewise.
4677         * java/awt/image/ColorModel.java
4678         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4679         * java/awt/image/RGBImageFilter.java
4680         (setColorModel): Set consumer's color model.
4681         (setPixels): Use equals() to compare ColorModel objects.
4682
4683 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4684
4685         * java/net/URLConnection.java (position): New field.
4686         (dateFormat1, dateFormat2, dateFormat3): Removed.
4687         (dateFormats): New field.
4688         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4689         each time instead of re-allocating.
4690         (initializeDateFormats): Initialize 'dateFormats'.
4691
4692 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4693
4694         PR libgcj/16591
4695         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4696         is defined.
4697
4698 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4699
4700         * java/net/Socket.java (getImpl): Now private. Remove comment.
4701
4702 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4703
4704         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4705         of chained Writer when calling super-constructor.
4706         * java/io/FilterWriter.java (FilterWriter): Likewise.
4707         * java/io/PrintWriter.java (PrintWriter): Likewise.
4708
4709 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4710
4711         * prims.cc (process_gcj_properties): Don't increment i within LHS
4712         of assignment.
4713
4714 2004-07-19  Per Bothner  <per@bothner.com>
4715
4716         Print -verbose:message on "loading", not initialization.
4717         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4718         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4719         gcj::verbose_class_flag.
4720         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4721         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4722         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4723         (_Jv_PrepareCompiledClass):  Likewise.
4724
4725 2004-07-18  Matthias Klose  <doko@debian.org>
4726
4727         * configure.in: Substitute target_noncanonical.
4728         * configure: Regenerate
4729
4730 2004-07-17  Michael Koch  <konqueror@gmx.de>
4731
4732         * java/lang/String.java: Fixed javadocs all over.
4733
4734 2004-07-17  Mark Wielaard  <mark@klomp.org>
4735
4736         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4737         when size is smaller.
4738         * java/io/RandomAccessFile.java (setLength): Use truncate for
4739         shrinking the file and seek plus write for expanding the file.
4740
4741 2004-07-17  Michael Koch  <konqueror@gmx.de>
4742
4743         * gnu/java/nio/channels/natFileChannelPosix.cc
4744         (implTruncate): Always save current position. Only reposition file
4745         pointer to where we started if not beyond new lenght. Reposition file
4746         pointer to file length if it points beyond the end of file.
4747
4748 2004-07-17  Mark Wielaard  <mark@klomp.org>
4749
4750         * javax/swing/Box.java: Put FIXME comment above class declaration.
4751         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4752         * javax/swing/JCheckBox.java: Likewise.
4753         * javax/swing/JDialog.java: Likewise.
4754         * javax/swing/JRadioButton.java: Likewise.
4755         * javax/swing/JToggleButton.java: Likewise.
4756         * javax/swing/UIManager.java: Likewise.
4757         * javax/swing/border/TitledBorder.java: Likewise.
4758         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4759         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4760         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4761         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4762         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4763         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4764         * javax/swing/text/JTextComponent.java: Likewise.
4765
4766 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4767
4768         * java/net/DatagramPacket.java (setAddress): Removed check for
4769         null address.
4770
4771 2004-07-17  Michael Koch  <konqueror@gmx.de>
4772
4773         * java/net/DatagramSocket.java
4774         (getLocalAddress): Check if socket is bound or not.
4775         * java/net/Socket.java
4776         (getLocalAddrss): Check if socket is bound or not.
4777         (getPort): Return -1 when not connected. Dont check getImpl() for
4778         null.
4779         (setReuseAddress): Check if socket is closed.
4780         (isConnected): Check if getImpl() returns null.
4781
4782 2004-07-17  Mark Wielaard  <mark@klomp.org>
4783
4784         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4785         on notifier object before calling notifyAll().
4786
4787 2004-07-17  Michael Koch  <konqueror@gmx.de>
4788
4789         * gnu/java/nio/channels/FileChannelImpl.java
4790         (finalize): Added javadoc.
4791
4792 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4793
4794         * java/text/CollationElementIterator.java
4795         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4796         (setText): Use ArrayList instead of Vector.
4797
4798 2004-07-17  Michael Koch  <konqueror@gmx.de>
4799
4800         * java/nio/ByteOrder.java
4801         (static): Removed. Not needed.
4802         Thanks to Patrick Reali for noticing.
4803         * java/nio/charset/CharsetDecoder.java
4804         (decode): Fix for classpath bug #9177: Reset state before flipping.
4805
4806 2004-07-17  Michael Koch  <konqueror@gmx.de>
4807
4808         * java/security/Security.java: Fixed javadocs all over.
4809
4810 2004-07-17  Michael Koch  <konqueror@gmx.de>
4811
4812         * gnu/java/awt/EmbeddedWindow.java
4813         (static): Removed.
4814         (addNotify): Set peer via reflection.
4815         (setWindowPeer): Removed.
4816         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4817         * Makefile.am (nat_source_files):
4818         Removed gnu/java/awt/natEmbeddedWindow.cc.
4819         * Makefile.in: Regenerated.
4820
4821 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4822
4823         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4824         assignment.
4825         * configure: Regenerated.
4826
4827 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4828
4829         * configure.in: Use build_noncanonical rather than build_alias.
4830         * configure: Rebuild.
4831
4832         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4833         by logic refactoring.  Move default definition of NATIVE closer
4834         to first alternate definition.
4835         * configure: Regenerate.
4836
4837         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4838         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4839         gcj/Makefile.in: Regenerate.
4840         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4841         in AM_CONDITIONAL(NATIVE,...)
4842         * configure: Regenerate.
4843
4844 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4845
4846         * configure.in: Use target_noncanonical rather than
4847         target_alias for forward-compatibility with autoconf 2.59.
4848         * configure: Regenerate.
4849         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4850         testsuite/Makefile.am: Substitute target_noncanonical.
4851         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4852         testsuite/Makefile.in: Regenerate.
4853
4854         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4855         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4856         * acinclude.m4: Include acx.m4.
4857         * aclocal.m4: Regenerate.
4858         * configure: Regenerate.
4859
4860 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4861
4862         PR libgcj/16574
4863         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4864         (decimalFormat): New static variable.
4865         (sbuf): Likewise.
4866         (getTime): New. Override Date.getTime().
4867         (toString): Synchronize. Use decimalFormat to format nanos value
4868         correctly. Truncate extra zeros.
4869         (before): Compare getNanos() only if getTime() is equal.
4870         (after): Likewise.
4871         
4872 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4873
4874         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4875         * configure.in: ...here.
4876         * aclocal.m4: Regenerate.
4877         * configure: Regenerate.
4878
4879         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4880         * configure: Rebuilt with autoconf 2.13.
4881         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4882         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4883
4884 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4885
4886         PR libgcj/16204
4887         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4888         large file support.
4889         * Makefile.in: Rebuilt.
4890         * testsuite/libjava.lang/LargeFile.java: New test case.
4891         * testsuite/libjava.lang/LargeFile.out: New file.
4892
4893 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4894
4895         * java/beans/EventHandler.java: Remove debugging statements.
4896
4897 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4898
4899         * java/beans/EventHandler.java: New file.
4900         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4901         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4902         testsuite/Makefile.in: Regenerate.
4903
4904 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4905
4906         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4907         flag to the gcj_setup.
4908         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4909         the tclsh.
4910         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4911         deprecation flag change. 58 XFAILS removed.
4912
4913 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4914
4915         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4916         -fno-use-divide-subroutine.
4917         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4918         (HANDLE_FPE): Define.
4919         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4920         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4921         (HANDLE_DIVIDE_OVERFLOW): Define.
4922
4923 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4924             Matthias Klose  <doko@debian.org> 
4925
4926         * java/awt/im/InputContext.java: Initialize in, line.
4927
4928 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4929
4930         * interpret.cc (run): Correctly access libffi return values of
4931         integral smaller-than-int type; these are implicitly promoted.
4932
4933 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4934
4935         PR libgcj/7587
4936         * interpret.cc (compile_mutex): New.
4937         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4938         (run): Lock compile_mutex before calling compile() if compilation is
4939         required.
4940         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4941         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4942
4943 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4944
4945         PR libgcj/15713
4946         * include/jvm.h (_Jv_value): New union type.
4947         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4948         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4949         union members.
4950
4951 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4952
4953         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4954         * gnu/awt/xlib/XOffScreenImage.java
4955           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4956           constructor argument. Add constructor using ImageProducer.
4957           (getSource): Implement.
4958           (imageComplete): New method.
4959           (setColorModel): New method.
4960           (setDimensions): New method.
4961           (setHints): New method.
4962           (setPixels): New method.
4963           (setProperties): New method.
4964         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4965         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4966
4967 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4968
4969         PR libgcj/16478 
4970         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4971         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4972         (finalizerReady): Now native.
4973         (run): Likewise.
4974         (runFinalizers): Removed.
4975         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4976         a primitive lock, and don't hold it while running the finalizers.
4977         (runFinalizers): Implement. Don't aquire any Java lock.
4978         (finalizerReady): Use lock primitives to signal finalizer thread.
4979
4980 2004-07-11  Mark Wielaard  <mark@klomp.org>
4981
4982         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4983         * java/net/URLStreamHandler.java (parseURL): When url file part
4984         doesn't contain a '/' just ignore context.
4985
4986 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4987
4988         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4989         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4990         (MAKE_THROW_FRAME): Do not modify PSW address.
4991         (INIT_SEGV): Install SIGINFO-style signal handler.
4992         (INIT_FPE): Likewise.
4993
4994 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4995
4996         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4997         status. 21 xfail's removed, 1 added.
4998
4999 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
5000
5001         * gcj/javaprims.h: Regenerate CNI namespace definitions.
5002
5003 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
5004
5005         * java/text/MessageFormat.java
5006         (formatInternal): Append "{n}" if argument n is unavailable.
5007         (format(Object, StringBuffer, FieldPosition)): This
5008         should be equivalent to format(Object[],
5009         StringBuffer, FieldPosition).
5010
5011 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5012
5013         * java.util.Calendar.java (cache): New private static field. Cached
5014         mappings of locales->calendar classes.
5015         (ctorArgTypes): New private static field. Singleton argument for
5016         calendar class constructor lookup.
5017         (getInstance): Cache Locale->Calendar class mappings using HashMap.
5018         Optimize by bypassing reflection instantiation for the 
5019         GregorianCalendar case.
5020
5021 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5022
5023         * java/util/Calendar.java: Use getSystemClassLoader as argument for
5024         ResourceBundle.getBundle() calls.
5025         * java/util/GregorianCalendar.java: Likewise.
5026         * java/util/Currency.java: Likewise.
5027         * java/text/BreakIterator.java: Likewise.
5028         * java/text/Collator.java: Likewise.
5029         * java/text/DateFormat.java: Likewise.
5030         * java/text/DateFormatSymbols.java: Likewise.
5031         * java/text/DecimalFormatSymbols.java: Likewise.
5032         * java/text/NumberFormat.java: Likewise.
5033         * java/awt/Window.java: Likewise.       
5034
5035 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5036
5037         * java/util/ResourceBundle.java (bundleCache): Renamed from
5038         resourceBundleCache. Update comments.
5039         (getObject): Don't catch MissingResourceException.
5040         (getBundle(String)): Remove 'final'. Use system classloader if
5041         getCallingClassLoader returned null.
5042         (getBundle(String, Locale)): Likewise.
5043         (BundleKey): New private class. HashMap key for bundle cache lookup.
5044         (lookupKey): New. Singleton instance of BundleKey.
5045         (nullEntry): New. Cache entry to represent failed lookups.
5046         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
5047         caching strategy, no-allocation lookup, and new tryBundle methods.
5048         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
5049         name using given classloader.
5050         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
5051         baseName for given Locale and attempt to load bundle.
5052
5053 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5054
5055         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
5056         illegal protected method calls.
5057
5058 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
5059
5060         Fix or remove some bogus test cases.
5061         * testsuite/libjava.compile/pr10459_2.java: Removed.
5062         * testsuite/libjava.compile/pr10459.java: Test using its own method,
5063         not Object.clone().
5064         * testsuite/libjava.compile/inner_data.java: Test against its own
5065         protected field.
5066
5067 2004-07-09  Michael Koch  <konqueror@gmx.de>
5068
5069         * scripts/unicode-muncher.pl: Updated to version 2.1
5070         from GNU classpath. Added some clarifications on where to find the
5071         needed files from www.unicode.org.
5072         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5073         gnu/gcj/convert/UnicodeData-3.0.0.txt:
5074         Removed, these can directly be downloaded from www.unicode.org if
5075         needed. 
5076         * gnu/java/lang/CharData.java: Regenerated.
5077         * include/java-chartables.h: Regenerated.
5078         * Makefile.am (ordinary_java_source_files):
5079         Removed gnu/java/lang/CharData.java.
5080         * Makefile.in: Regenerated.
5081
5082 2004-07-09  Michael Koch  <konqueror@gmx.de>
5083
5084         * java/security/AccessControlContext.java,
5085         java/security/SecureClassLoader.java:
5086         Fixed javadocs.
5087
5088 2004-07-09  Michael Koch  <konqueror@gmx.de>
5089
5090         * java/io/ObjectInputStream.java (readFields): Use long datatype
5091         when shifting byte values more then 24 bits left.
5092
5093 2004-07-09  Michael Koch  <konqueror@gmx.de>
5094
5095         * java/util/zip/DeflaterOutputStream.java,
5096         java/util/zip/GZIPInputStream.java,
5097         java/util/zip/GZIPOutputStream.java,
5098         java/util/zip/InflaterInputStream.java:
5099         Reformatted. Added javadocs. Reordered all stuff.
5100         Renamed variables to be more clear.
5101
5102 2004-07-09  Michael Koch  <konqueror@gmx.de>
5103
5104         * javax/imageio/IIOException.java,
5105         javax/imageio/event/IIOReadProgressListener.java,
5106         javax/imageio/event/IIOReadUpdateListener.java,
5107         javax/imageio/event/IIOReadWarningListener.java,
5108         javax/imageio/event/IIOWriteProgressListener.java,
5109         javax/imageio/event/IIOWriteWarningListener.java:
5110         New files.
5111         * Makefile.am: Added new files.
5112         * Makefile.in: Regenerated.
5113
5114 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
5115
5116         * java/text/RuleBasedCollator.java
5117         (mergeRules): Use ArrayList instead of Vector.
5118         (subParseString): likewise.
5119         (parseString): likewise.
5120         (buildCollationVector): likewise.
5121         (getCollationKey): likewise.
5122
5123 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5124
5125         * java/text/DateFormat.java (parse):
5126         Improved javadoc. Improved exception message.
5127
5128 2004-07-09  Mark Wielaard  <mark@klomp.org>
5129
5130         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5131         interrupted() method to clear interupt flag of our Thread.
5132
5133 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
5134
5135         * java/nio/Buffer.java,
5136         java/nio/ByteBuffer.java,
5137         java/nio/ByteBufferHelper.java,
5138         java/nio/ByteBufferImpl.java,
5139         java/nio/CharBuffer.java,
5140         java/nio/CharBufferImpl.java,
5141         java/nio/CharViewBufferImpl.java,
5142         java/nio/DirectByteBufferImpl.java,
5143         java/nio/DoubleBuffer.java,
5144         java/nio/DoubleBufferImpl.java,
5145         java/nio/DoubleViewBufferImpl.java,
5146         java/nio/FloatBuffer.java,
5147         java/nio/FloatBufferImpl.java,
5148         java/nio/FloatViewBufferImpl.java,
5149         java/nio/IntBuffer.java,
5150         java/nio/IntBufferImpl.java,
5151         java/nio/IntViewBufferImpl.java,
5152         java/nio/LongBuffer.java,
5153         java/nio/LongBufferImpl.java,
5154         java/nio/LongViewBufferImpl.java,
5155         java/nio/MappedByteBufferImpl.java,
5156         java/nio/ShortBuffer.java,
5157         java/nio/ShortBufferImpl.java,
5158         java/nio/ShortViewBufferImpl.java:
5159         Fixed javadocs all over. Improved input error
5160         checking.
5161
5162         * java/nio/Buffer.java
5163         (checkForUnderflow, checkForOverflow, checkIndex,
5164         checkIfReadOnly, checkArraySize): New helper methods
5165         for error checking.
5166
5167         * java/nio/ByteBufferHelper.java
5168         (checkRemainingForRead, checkRemainingForWrite,
5169         checkAvailableForRead, checkAvailableForWrite): Removed
5170         no longer needed methods.
5171
5172 2004-07-09  Michael Koch  <konqueror@gmx.de>
5173
5174         * gnu/regexp/CharIndexedInputStream.java:
5175         Reordered imports to match classpath.
5176
5177 2004-07-09  Michael Koch  <konqueror@gmx.de>
5178
5179         * gnu/java/awt/EmbeddedWindow.java:
5180         Load native library for setWindowPeer method.
5181
5182 2004-07-08  Randolph Chung  <tausq@debian.org>
5183
5184         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5185         * configure: Regenerate.
5186         * configure.host: Set can_unwind_signal for hppa*-linux.
5187         * include/pa-signal.h: New file.
5188
5189 2004-07-07  Per Bothner  <per@bothner.com>
5190
5191         * Makefile.am:  Add rules to build libgij from just gij.cc.
5192
5193         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5194         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5195         (initializeClass):  If verbose_class_flag, print message.
5196         * gij.cc (main):  Handle -verbose:class flag.
5197
5198 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5199
5200         * configure.host: Enable hash synchronization on Darwin.
5201         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5202         ';', since this is a comment on Darwin.
5203         (compare_and_swap_release): Likewise.
5204
5205 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5206
5207         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5208         file portion of URL in addition to spec for file: protocol.
5209
5210 2004-07-05  Anthony Green  <green@redhat.com>
5211
5212         * java/io/File.java (toURI): Merge from Classpath.
5213
5214 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5215
5216         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5217         before passing to URL constructor. Rethrow any MalformedURLException
5218         as a RuntimeException. Catch MalformedURLException specifically, not
5219         all exceptions.
5220
5221 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5222
5223         * java/util/Locale.java (readObject): Intern strings read from object
5224         stream.
5225
5226 2004-07-04  Michael Koch  <konqueror@gmx.de>
5227
5228         * gnu/gcj/runtime/FirstThread.java,
5229         gnu/gcj/runtime/natFirstThread.cc: Removed.
5230         * gnu/java/lang/MainThread.java,
5231         gnu/java/lang/natMainThread.cc: New files.
5232         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5233         * Makefile.am: Added new files and removed deleted ones.
5234         * Makefile.in: Regenerated.
5235
5236 2004-07-03  Mark Wielaard  <mark@klomp.org>
5237             Anthony Green  <green@redhat.com>
5238
5239         * java/net/URL.java (getFile): Clarify return value doc.
5240         (getPath): Return null if file is empty - not empty String.
5241         (set): Convert protocol to lower case before doing anything.
5242         Only change the protocol handler if it's different.
5243
5244 2004-07-03  Anthony Green  <green@redhat.com>
5245
5246         * java/net/URL.java (URL): Convert protocol to lower case before
5247         doing anything, so we getURLStreamHandler() with the proper value.
5248
5249 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5250
5251         * java/util/Locale.java (hashcode): Made transient.
5252         (hashCode): No longer synchronized.
5253         (equals): Remove comment.
5254         (writeObject): No longer synchronized. Implement using writeObject 
5255         calls instead of tweaking hashCode field. Update doc.
5256         (readObject): Implement using readObject calls.
5257
5258 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5259             Andreas Tobler  <a.tobler@schweiz.ch>
5260
5261         * configure.host (powerpc-*-darwin*): New case, define
5262         can_unwind_signal.
5263         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5264         * configure: Regenerate.
5265         * include/darwin-signal.h: New.
5266
5267 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5268
5269         * java/beans/Statement.java (doExecute): Fix formatting.
5270
5271 2004-06-29  Per Bothner  <per@bothner.com>
5272
5273         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5274         etc etc):  Remove needless parenthesis, which causes __stdcall__
5275         attribute on MinGW to get ignored.
5276
5277 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5278
5279         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5280
5281 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5282
5283         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5284
5285 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5286
5287         * java/beans/Expression.java: New file.
5288         * java/beans/Statement.java: New file.
5289         * Makefile.am: Added new files.
5290         * Makefile.in: Re-generate.
5291
5292 2004-06-27 Mark Wielaard  <mark@klomp.org>
5293
5294         * java/io/FilePermission.java (usingPerms): Removed.
5295         (actionsString): Made final.
5296         (cachePerms): Renamed to checkPerms.
5297         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5298         on action String.
5299         (FilePermission): Check arguments, call checkPerms().
5300         (equals): Remove cachePerms() call.
5301         (implies): Likewise.
5302
5303 2004-06-27  Mark Wielaard  <mark@klomp.org>
5304
5305         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5306         final field.
5307         (sendRequest): Use new field in user-agent http agent.
5308
5309 2004-06-27  Mark Wielaard  <mark@klomp.org>
5310
5311         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5312         when argument is null.
5313
5314 2004-06-26  Mark Wielaard  <mark@klomp.org>
5315
5316         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5317         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5318         GetMethodID call.
5319         (cancel_clicked): Likewise.
5320
5321 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5322
5323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5324         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5325         can not calculate the right value.
5326         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5327
5328 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5329
5330         * testsuite/libjava.jacks/jacks.xfail: Remove
5331         15.9.1-qualified-concrete-20.
5332
5333 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5334
5335         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5336         encoding name to iconv.
5337         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5338
5339 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5340
5341         PR libgcj/16134:
5342         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5343         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5344         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5345
5346 2004-06-21  Andrew Haley  <aph@redhat.com>
5347
5348         * java/io/ObjectOutputStream.java: Add DEBUG statements
5349         everywhere.
5350         (dumpElementln): New method.
5351         (depth): New field.
5352         * java/io/ObjectInputStream.java
5353         (currentClassLoader): Make native.
5354         (callersClassLoader): New field.
5355         (depth): New field.
5356         (readObject): ENDBLOCKDATA is generated if the class has a write
5357         method, not if it has a read method.
5358         (readObject): Save and restore this.currentObject and
5359         this.currentObjectStreamClass around calls to callReadMethod().
5360         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5361         method.
5362
5363 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5364
5365         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5366         darwin.
5367
5368 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5369
5370         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5371         if desired, before the default class loader is initialised.
5372         Call INIT_SEGV only if HANDLE_SEGV is defined.
5373
5374 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5375
5376         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5377         directory only if it actually exists.
5378
5379 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5380
5381         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5382         Fix up non-ansi comments.
5383
5384 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5385
5386         * javax/swing/text/AbstractDocument.java: Adding missing import
5387         for javax.swing.event.EventListenerList.
5388         * javax/swing/text/DefaultCaret.java: Likewise.
5389
5390 2004-06-17  Michael Koch  <konqueror@gmx.de>
5391
5392         * javax/swing/JToolBar.java
5393         (name): Removed.
5394         (JToolBar): Use Component.setName(String) instead of doing it all
5395         alone.
5396         * javax/swing/Timer.java
5397         (queueEvent): Added missing modifier.
5398
5399 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5400
5401         * Makefile.am: Added new file.
5402         * Makefile.in: Re-generate.
5403         * javax/swing/JMenu.java:
5404         (insertSeparator): Implemented.
5405         * javax/swing/JPopupMenu.java:
5406         (JPopupMenu.Separator): Implemented.
5407         * javax/swing/MenuSelectionManager.java:
5408         (processMouseEvent): Use java.awt.Component 
5409         for event source instead of javax.swing.JComponent. 
5410         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5411         New File. Implemented.
5412         
5413 2004-06-16  David Jee  <djee@redhat.com>
5414
5415         * java/awt/GridBagLayout.java
5416         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5417         Make sure pos_x and pos_y are never negative.
5418
5419 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5420
5421         * Makefile.am: Add new file.
5422         * Makefile.in: Re-generate.     
5423         * javax/swing/JToolBar.java
5424         Partially implemented.
5425         * javax/swing/plaf/basic/BasicToolBarUI.java
5426         New file. Partially implemented.
5427
5428 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5429
5430         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5431         (setComposite): Accept AlphaComposite arguments.
5432         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5433         (createBufferedImage): Add new overloads.
5434         * gnu/java/awt/peer/gtk/GtkToolkit.java
5435         (createImage): Use GdkPixbufDecoder.createBufferedImage
5436         when useGraphics2D() is true.
5437         (getImage): Delegate to createImage.
5438         * javax/swing/JList.java
5439         (isSelectionEmpty):
5440         (getFirstVisibleIndex):
5441         (getLastVisibleIndex):
5442         (setSelectedValue):
5443         (ensureIndexIsVisible): New methods.
5444         * javax/swing/Timer.java: Reimplement.
5445
5446 2004-06-16  Michael Koch  <konqueror@gmx.de>
5447
5448         * javax/swing/text/AbstractDocument.java
5449         (AbstracElement): Made public, implements java.io.Serializable.
5450         (AttributeContext): Made public.
5451         (BranchElement): Likewise.
5452         (Content): Likewise.
5453         (DefaultDocumentEvent): Made public, extends
5454         javax.swing.undo.CompoundEdit.
5455         (ElementEdit): Made public, extends
5456         javax.swing.undo.AbstractUndoableEdit.
5457         (LeafElement): Made public.
5458         (LeafElement.LeafElement): Made public.
5459
5460 2004-06-16  Michael Koch  <konqueror@gmx.de>
5461
5462         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5463         methods (that were obviously never be intended to get included hi this
5464         class. Added some methods too.
5465
5466 2004-06-16  Michael Koch  <konqueror@gmx.de>
5467
5468         * javax/swing/text/PlainDocument.java
5469         (serialVersionUID): New constant.
5470         (lineLimitAttribute): Likewise.
5471         (tabSizeAttribute): Likewise.
5472         (tabSize): New field.
5473         (PlainDocument): Made public.
5474         (PlainDocument): New constructor.
5475
5476 2004-06-16  Michael Koch  <konqueror@gmx.de>
5477
5478         * javax/swing/text/AbstractDocument.java
5479         (insertString): Throws BadLocationException.
5480         * javax/swing/text/Document.java
5481         (insertString): Likewise.
5482         * javax/swing/text/JTextComponent.java:
5483         Javadocs and comments cleaned up.
5484
5485 2004-06-16  Michael Koch  <konqueror@gmx.de>
5486
5487         * javax/swing/event/UndoableEditListener.java: Reformatted.
5488         * javax/swing/text/AbstractDocument.java
5489         (AbstractDocument): Implements java.io.Serializable.
5490         (doc_list): Removed.
5491         (undo_list): Removed.
5492         (AbstractElement.serialVerionUID): New field.
5493         (BranchElement.serialVerionUID): Likewise.
5494         (DefaultDocumentEvent.serialVerionUID): Likewise.
5495         (ElementEdit.serialVerionUID): Likewise.
5496         (LeafElement.serialVerionUID): Likewise.
5497         (serialVerionUID): Likewise.
5498         (BAD_LOCATION): New constant.
5499         (BidiElementName): Likewise.
5500         (ContentElementName): Likewise.
5501         (ParagraphElementName): Likewise.
5502         (SectionElementName): Likewise.
5503         (ElementNameAttribute): Likewise.
5504         (AbstractDocument): Made protected.
5505         (AbstractDocument): New construtor.
5506         (listenerList): New field.
5507         (fireChangedUpdate): Implemented.
5508         (fireInsertUpdate): Likewise.
5509         (fireRemoveUpdate): Likewise.
5510         (fireUndoableEditUpdate): Likewise.
5511         (getListeners): Likewise.
5512         (addDocumentListener): Likewise.
5513         (removeDocumentListener): Likewise.
5514         (addUndoableEditListener): Likewise.
5515         (removeUndoableEditListener): Likewise.
5516         (getDocumentListeners): New method.
5517         (getUndoableEditListeners): Likewise.
5518         (getAsynchronousLoadPriority): Made public.
5519         (getBidiRootElement): Likewise.
5520         (setAsynchronousLoadPriority): Likewise.
5521         (setDocumentProperties): Likewise.
5522         * javax/swing/text/BadLocationException.java
5523         (serialVerionUID): New field.
5524         * javax/swing/text/DefaultCaret.java
5525         (changeEvent): New field.
5526         (listenerList): Likewise.
5527         (changes): Removed.
5528         (addChangeListener): Reimplemented.
5529         (removeChangeListener): Likewise.
5530         (getListeners): New method.
5531         (getChangeListeners): Likwise.
5532         (getComponent): Likewise.
5533         * javax/swing/text/GapContent.java
5534         (GapContent): Implements java.io.Serializable.
5535         (serialVerionUID): New field.
5536
5537 2004-06-16  Michael Koch  <konqueror@gmx.de>
5538
5539         * javax/swing/JTree.java
5540         (treeModel): New field.
5541         (JTree): New constructors, one existing one made public.
5542         (createTreeModel): New method.
5543         (addTreeExpansionListener): Likewise.
5544         (removeTreeExpansionListener): Likewise.
5545         (getTreeExpansionListeners): Likewise.
5546         (fireTreeCollapsed): Likewise.
5547         (fireTreeExpanded): Likewise.
5548         (addTreeSelectionListener): Likewise.
5549         (removeTreeSelectionListener): Likewise.
5550         (getTreeSelectionListeners): Likewise.
5551         (fireValueChanged): Likewise.
5552         (addTreeWillExpandListener): Likewise.
5553         (removeTreeWillExpandListener): Likewise.
5554         (getTreeWillExpandListeners): Likewise.
5555         (fireTreeWillCollapse): Likewise.
5556         (fireTreeWillExpand): Likewise.
5557
5558 2004-06-16  Michael Koch  <konqueror@gmx.de>
5559
5560         * javax/swing/JTree.java: Reformatted.
5561
5562 2004-06-16  Michael Koch  <konqueror@gmx.de>
5563
5564         * javax/swing/JTextArea.java: New file.
5565         * javax/swing/JTextField.java
5566         (actions): Removed.
5567         (notifyAction): New constant.
5568         (columns): New field.
5569         (JTextField): New constructors.
5570         (createDefaultModel): New method.
5571         (addActionListener): Reimplmemented.
5572         (removeActionListener): Reimplemented.
5573         (getActionListeners): New method.
5574         (fireActionPerformed): New method.
5575         (getColumns): New method.
5576         (setColumne): New method.
5577         * javax/swing/text/JTextComponent.java
5578         (AccessibleJTextComponent.serialVersionUID): New field.
5579         (serialVersionUID): Likewise.
5580         (DEFAULT_KEYMAP): Likewise.
5581         (FOCUS_ACCELERATOR_KEY): Likewise.
5582         (doc): Made private.
5583         (icon_gap): Likewise.
5584         (icon): Likewise.
5585         (align): Likewise.
5586         (JTextComponent): Some constructors removed.
5587         (getScrollableTracksViewportHeight): New method.
5588         (getScrollableTracksViewportWidth): Likewise.
5589         * Makefile.am: Added javax/swing/JTextArea.java.
5590         * Makefile.in: Regenerated.
5591
5592 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5593
5594         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5595         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5596         * javax/swing/JViewport.java 
5597         (getExtentSize): Return size rather than preferred size.
5598         (toViewCoordinates): New methods.
5599         (getViewSize): Return size rather than preferred size.
5600         (setViewSize): Note view size as set.
5601         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5602         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5603         (getPreferredSize): Don't redo layout.
5604         * javax/swing/plaf/basic/BasicViewportUI.java 
5605         (paint): Translate image properly and eat exceptions.
5606
5607 2004-06-15  Kim Ho  <kho@redhat.com>
5608
5609         * javax/swing/JTabbedPane.java
5610         (setComponent): Remove old component and
5611         add new component.
5612         (setSelectedIndex): Don't operate on the 
5613         components if they're null. Don't set index
5614         on the model if the index is the same.
5615         (insertTab): Don't add or hide the component
5616         if it's null. Repaint the container.
5617         * javax/swing/plaf/basic/BasicLookAndFeel.java
5618         Change colors for TabbedPane.
5619         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5620         (mousePressed): Re-layout and paint the component.
5621         (layoutContainer): Don't set location on the view.
5622         (ScrollingViewport::paint): Remove.
5623
5624 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5625
5626         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5627         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5628
5629         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5630         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5631         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5632         critical region.
5633         (drawLine): Call gdk_flush before leaving GDK critical region.
5634         (fillRect): Likewise.
5635         (drawRect): Likewise.
5636         (copyArea): Likewise.
5637         (copyPixmap): Likewise.
5638         (clearRect): Likewise.
5639         (drawArc): Likewise.
5640         (drawPolyline): Likewise.
5641         (drawPolygon): Likewise.
5642         (fillPolygon): Likewise.
5643         (fillArc): Likewise.
5644         (drawOval): Likewise.
5645         (fillOval): Likewise.
5646
5647         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5648         style parameter.
5649         (GdkFontMetrics): Add style argument to initState call.
5650         (stringWidth(String,int,int,String)): Add style parameter.
5651         (stringWidth(String)): Add style argument to stringWidth call.
5652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5653         (initState): Set pango font style and weight based on AWT style
5654         parameter.  Pass default GTK language to
5655         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5656         simply dividing by PANGO_SCALE.
5657         (stringWidth): Set pango font style and weight based on AWT style
5658         parameter.
5659
5660         * java/awt/Button.java (next_button_number): New field.
5661         (paramString): Change output.
5662         (generateName): New method.
5663         (getUniqueLong): New method.
5664
5665 2004-06-14  Kim Ho  <kho@redhat.com>
5666
5667         * javax/swing/JTabbedPane.java:
5668         (setComponentAt): Set the component, not
5669         the enabled status.
5670         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5671         (actionPerformed): Let deiconize catch exception.
5672
5673 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5674
5675         * javax/swing/JPopupMenu.java:
5676         (setVisible): Corrected location of a 
5677         heavyweight popup menu.
5678
5679 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5680
5681         * javax/swing/MenuSelectionManager.java: 
5682         Ran through jalopy to fix formatting style.
5683
5684 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5685         
5686         * javax/swing/JLayeredPane.java: 
5687         (remove): Revalidate and repaint layered pane after
5688         the component was removed.
5689         javax/swing/JMenu.java:
5690         (setVisible): Display popup menu at the user location,
5691         if one was set by the user.
5692         (setMenuLocation): Reimplemented. Fixed javadoc.
5693         * javax/swing/JMenuBar.java: Added javadoc.
5694         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5695         (MODEL_CHANGED_PROPERTY): New Property.
5696         (isSelected): Implemented.
5697         (setBorderPainted): Fire PropertyChangeEvent
5698         if paintBorder property changes.
5699         (setSelected): Implemented.
5700         (setSelectionModel): Implemented.
5701         * javax/swing/JPopupMenu.java: Added Javadoc
5702         (pack): Implemented.
5703         (setVisible): Reimplemented.
5704         (show): Fixed location.
5705         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5706         Container instead of JPanel.
5707         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5708         (clearSelectedPath): Reimplemented to clear selectedPath
5709         in reverse order.
5710         (processMouseEvent): Reimplemented.
5711         (setSelectedPath): Fire stateChange event indicating that
5712         selected menu path has changed.
5713         (getPath): Change to use ArrayList instead of Vector.
5714         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5715         (installUI): call installKeyboardActions().
5716         (uninstallUI): call uninstallKeyboardActions().
5717
5718 2004-06-13  Michael Koch  <konqueror@gmx.de>
5719
5720         * javax/swing/text/DefaultCaret.java,
5721         javax/swing/text/BadLocationException.java:
5722         Reformatted.
5723
5724 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5725
5726         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5727         DEFAULT_COLS): New variables.
5728         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5729         values to DEFAULT_ROWS or DEFAULT_COLS.
5730         (getMinimumSize): Likewise.
5731         (getPreferredSize): Likewise.
5732         (minimumSize): Likewise.
5733         (preferredSize): Likewise.
5734         (create): Set peer's editable state.
5735         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5736         zero.  Update javadocs.
5737         (TextArea(String)): Likewise.
5738         (TextArea(int,int)): Fix javadocs.
5739         (TextArea(String,int,int,int)): Only throw exception if one of
5740         rows or columns is zero.  Fix javadocs.
5741
5742 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5743
5744         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5745         addition to Components.
5746
5747         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5748         wasn't consumed by normal processing, send it to the parent
5749         menu.
5750
5751         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5752         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5753         translation.
5754
5755 2004-06-11  David Jee  <djee@redhat.com>
5756
5757         * java/awt/MediaTracker.java
5758         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5759         (addImage(Image,int,int,int)): Likewise.
5760
5761 2004-06-11  Michael Koch  <konqueror@gmx.de>
5762
5763         * javax/swing/text/AbstractDocument.java,
5764         javax/swing/text/Document.java,
5765         javax/swing/text/GapContent.java,
5766         javax/swing/text/JTextComponent.java,
5767         javax/swing/text/PlainDocument.java:
5768         Reformatted.
5769
5770 2004-06-11  Michael Koch  <konqueror@gmx.de>
5771
5772         * javax/swing/JRootPane.java
5773         (AccessibleJRootPane.serialVersionUID): New field.
5774         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5775         (AccessibleJRootPane.getAccessibleRole): New method.
5776         (RootLayout): Implements Serializable.
5777         (RootLayout.serialVersionUID): New field.
5778         (RootLayout.RootLayout): New constructor.
5779         (setJMenuBar): Made public.
5780         (getJMenuBar): Likewise.
5781         (JRootPane): Likewise.
5782         (createContentPane): Likewise.
5783         (createGlassPane): Likewise.
5784         (createLayeredPane): Likewise.
5785
5786 2004-06-11  Michael Koch  <konqueror@gmx.de>
5787
5788         * javax/swing/SwingUtilities.java
5789         (isLeftMouseButton): Fixed javadoc.
5790         (isMiddleMouseButton): Likewise.
5791         (isRightMouseButton): Likewise.
5792
5793 2004-06-11  Michael Koch  <konqueror@gmx.de>
5794
5795         * javax/swing/JScrollPane.java
5796         (serialVersionUID): New field.
5797         (columnHeader): Made protected.
5798         (rowHeader): Likewise.
5799         (lowerLeft): Likewise.
5800         (lowerRight): Likewise.
5801         (upperLeft): Likewise.
5802         (upperRight): Likewise.
5803         (horizontalScrollBar): Likewise.
5804         (horizontalScrollBarPolicy): Likewise.
5805         (verticalScrollBar): Likewise.
5806         (verticalScrollBarPolicy): Likewise.
5807         (viewport): Likewise.
5808
5809 2004-06-11  Michael Koch  <konqueror@gmx.de>
5810
5811         * javax/swing/LookAndFeel.java: Fixed javadocs.
5812
5813 2004-06-11  Michael Koch  <konqueror@gmx.de>
5814
5815         * javax/swing/JEditorPane.java: Fixed javadocs.
5816         (JEditorPane): Removed redundant call to to this().
5817         (fireHyperlinkUpdate): Implemented.
5818
5819 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5820
5821         * javax/swing/JMenu.java: Fixed file name 
5822         in the file comment.
5823
5824 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5825
5826         * javax/swing/JMenu.java: Added javadoc.
5827         (JMenu): Added MenuChangeListener to listen to 
5828         ChangeEvents occuring in menu's model. 
5829         (insert): Throw IllegalArgumentException if 
5830         index is less than 0
5831         (setSelected): Reimplement.
5832         (setPopupMenuVisible): Call menu's model isEnabled()
5833         (setDelay): Throw IllegalArgumentException if 
5834         given amount of delay is less than 0.
5835         (createActionComponent): Implemented.
5836         (createActionChangeListener): Implemented.
5837         (addSeparator): Implemented.
5838         (getItem): Throw IllegalArgumentException if index is 
5839         less than 0.
5840         (getItemCount): Implemented.
5841         (fireMenuSelected): Changed to use menuEvent.
5842         (fireMenuDeselected): Likewise.
5843         (fireMenuCanceled): Likewise.
5844         (setAccelerator): Changed to throw an error if this 
5845         method is used. 
5846         (doClick): Implemented.
5847         (JMenu.ActionChangedListener): New inner class to handle
5848         PropertyChangeEvents occuring in the actions associated with menu.
5849         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5850         (BasicMenuUI): Added PropertyChangeListener to the menu.
5851         (createChangeListener): Implemented.
5852         (createMenuDragMouseListener): Likewise.
5853         (createMenuKeyListener): Likewise.
5854         (createPropertyChangeListener): Likewise.
5855         (uninstallListeners): Likewise.
5856         (BasicMenuUI.MouseInputHandler): Reimplemented.
5857         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5858         (BasicMenuUI.ChangeHandler): Likewise.
5859         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5860         (BasicMenuUI.MenuKeyHandler): Likewise.
5861
5862 2004-06-10  David Jee  <djee@redhat.com>
5863
5864         * java/awt/MediaTracker.java
5865         (imageUpdate): Only do notifyAll() if the image is complete.
5866
5867 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5868
5869         * javax/swing/JApplet.java:
5870         (getJMenuBar): Made public.
5871         (setJMenuBar): Likewise.
5872         * javax/swing/JFrame.java:
5873         (getJMenuBar): Made public.
5874         (setJMenuBar): Likewise.
5875         * javax/swing/JWindow.java:
5876         (getJMenuBar): Removed.
5877         (setJMenuBar): Removed.
5878
5879 2004-06-10  Michael Koch  <konqueror@gmx.de>
5880
5881         * javax/swing/JEditorPane.java
5882         (createEditorKitForContentType): Fixed visibility.
5883         (fireHyperlinkUpdate): Likewise.
5884         (getContentType): Likewise.
5885         (getEditorKit): Likewise.
5886         (getEditorKitForContentType): Likewise.
5887         (getPage): Likewise.
5888         (read): Likewise.
5889         (registerEditorKitForContentTyoe): Likewise.
5890         (replaceSelection): Likewise.
5891         (setContentType): Likewise.
5892         (setEditorKit): Likewise.
5893         (setPage): Likewise.
5894
5895 2004-06-10  Michael Koch  <konqueror@gmx.de>
5896
5897         * javax/swing/Timer.java
5898         (Timer): New constructor.
5899         * javax/swing/plaf/basic/BasicProgressBarUI.java
5900         (animationTimer): Don't initialize at construction.
5901         (startAnimationTimer): Added since tag.
5902         (stopAnimationTimer): Likewise.
5903         (installUI): Use new Timer constructor.
5904         * javax/swing/plaf/basic/BasicScrollBarUI.java
5905         (installUI): Likewise.
5906         * javax/swing/plaf/basic/BasicSliderUI.java
5907         (installUI): Likewise.
5908
5909 2004-06-10  Michael Koch  <konqueror@gmx.de>
5910
5911         * javax/swing/ButtonGroup.java
5912         (serialVersionUID): Made private.
5913         (buttons): Renamed from v, added javadoc.
5914         (sel): Added javadoc.
5915         (ButtonGroup): Likewise.
5916         (add): Likewise.
5917         (remove): Likewise.
5918         (getElements): Likewise.
5919         (getSelection): Likewise.
5920         (setSelected): Likewise.
5921         (isSelected): Likewise.
5922         (getButtonCount): Likewise.
5923
5924 2004-06-10  Michael Koch  <konqueror@gmx.de>
5925
5926         * javax/swing/ButtonGroup.java,
5927         javax/swing/ImageIcon.java,
5928         javax/swing/JEditorPane.java,
5929         javax/swing/JRootPane.java,
5930         javax/swing/JTextField.java,
5931         javax/swing/LookAndFeel.java,
5932         javax/swing/plaf/basic/BasicTextUI.java:
5933         Reindented.
5934
5935 2004-06-10  Michael Koch  <konqueror@gmx.de>
5936
5937         * javax/swing/text/Style.java: Added javadocs.
5938
5939 2004-06-10  Michael Koch  <konqueror@gmx.de>
5940
5941         * javax/swing/JComponent.java
5942         (fireVetoableChange): Removed redundant cast.
5943         * javax/swing/JLabel.java
5944         (getDisabledIcon): Save icon for next call.
5945
5946 2004-06-10  Michael Koch  <konqueror@gmx.de>
5947
5948         * javax/swing/KeyStroke.java
5949         (getKeyStroke(char,boolean)): Marked deprecated.
5950
5951 2004-06-10  Michael Koch  <konqueror@gmx.de>
5952
5953         * javax/swing/DefaultCellEditor.java,
5954         javax/swing/GrayFilter.java,
5955         javax/swing/event/DocumentEvent.java,
5956         javax/swing/text/JTextComponent.java,
5957         javax/swing/text/MutableAttributeSet.java:
5958         Reindented.
5959
5960 2004-06-10  Michael Koch  <konqueror@gmx.de>
5961
5962         * javax/swing/plaf/BorderUIResource.java:
5963         Added serialVersionUID all over.
5964
5965 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5966
5967         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5968
5969 2004-06-10  Michael Koch  <konqueror@gmx.de>
5970
5971         * javax/swing/table/DefaultTableCellRenderer.java
5972         (noFocusBorder): Initialize directly.
5973
5974 2004-06-10  Michael Koch  <konqueror@gmx.de>
5975
5976         * javax/swing/plaf/basic/BasicArrowButton.java
5977         (setDirection): Use method argument.
5978
5979 2004-06-10  Michael Koch  <konqueror@gmx.de>
5980
5981         * javax/swing/plaf/BorderUIResource.java,
5982         javax/swing/plaf/ComponentUI.java,
5983         javax/swing/undo/CompoundEdit.java,
5984         javax/swing/undo/StateEdit.java:
5985         Fixed javadocs all over.
5986
5987 2004-06-10  Michael Koch  <konqueror@gmx.de>
5988
5989         * javax/swing/DefaultButtonModel.java
5990         (ARMED): Made public final, fixed value.
5991         (ENABLED): Likewise.
5992         (PRESSED): Likewise.
5993         (ROLLOVER): Likewise.
5994         (SELECTED): Likewise.
5995         (stateMask): Initialize directly.
5996         (listenerList): Likewise.
5997         (mnemonic): Likewise.
5998         (fireStateChanged): Removed argument, use changeEvent as event.
5999         All places where this method is called are fixed too.
6000         (getActionCommant): Fixed javadoc.
6001         (setGroup): Fixed javadoc.
6002         (getGroup): New method.
6003
6004 2004-06-09  Olga Rodimina <rodimina@redhat.com>
6005
6006         * javax/swing/AbstractButton.java
6007         (AbstractButton): Use init() to initialize the button.
6008         (init): New Method. Initializes AbstractButton.
6009         * javax/swing/JMenuItem.java: Documented.
6010         (JMenuItem): Reimplemented.
6011         (init): Implemented.
6012         (setEnabled): Changed to call super.setEnabled()
6013         (processMouseEvent): Reimplemented.
6014         (fireMenuKeyPressed): Implemented.
6015         (fireMenuKeyReleased): Implemented.
6016         (fireMenuKeyTyped): Implemented.
6017         (menuSelectionChanged): disarm the model if the menu item was
6018         deselected.
6019         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6020         (getPath): Change to use ArrayList instead of Vector.
6021         (getPreferredSize): Renamed variable.
6022         (paintMenuItem): Paint margin area of menu item.
6023         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6024         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6025         menu item's bounds before clearing the selection.       
6026
6027 2004-06-09  David Jee  <djee@redhat.com>
6028
6029         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6030         (GtkTextComponentPeer): Set caret position to 0.
6031         * java/awt/TextComponent.java
6032         (setText): Set caret position to 0.
6033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6034         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6035         Handle GtkScrolledWindow separately. Fix signal handler blocking.
6036         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6037         Likewise.
6038         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6039         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6040         visible.
6041
6042 2004-06-09  Kim Ho  <kho@redhat.com>
6043
6044         * Makefile.am: New files
6045         * Makefile.in: Regenerated
6046         * java/awt/Container.java
6047         (getComponentAt): Removed.
6048         * javax/swing/AbstractAction.java
6049         (ENABLED_PROPERTY): New property.
6050         (putValue): Fire PropertyChangeEvents.
6051         (setEnabled): ditto.
6052         (firePropertyChange): Javadoc and implement
6053         convenience method.
6054         * javax/swing/AbstractButton.java
6055         (setAction): Don't create PropertyChangeListener
6056         if new Action is null.
6057         (setIcon): Don't set icon till after comparing
6058         it.
6059         (configurePropertiesFromAction): Check mnemonic
6060         key before calling intValue().
6061         (createActionPropertyChangeListener): Check
6062         properties rather than bulk change.
6063         * javax/swing/DefaultDesktopManager.java:
6064         Implement.
6065         * javax/swing/DesktopManager.java:
6066         Jalopy and javadoc.
6067         * javax/swing/JComponent.java
6068         (fireVetoableChange): Implement.
6069         (paintImmediately): Use root component.
6070         * javax/swing/JDesktopPane.java: Implement
6071         * javax/swing/JInternalFrame.java: Implement
6072         * javax/swing/JLabel.java
6073         (getDisabledIcon): Return grayscaled icon if
6074         no disabled icon specified.
6075         * javax/swing/JMenuBar.java
6076         (getComponentAtIndex): Use getComponent
6077         * javax/swing/JOptionPane.java
6078         (getDesktopPaneForComponent): Use SwingUtilities'
6079         getAncestorOfClass
6080         (getFrameForComponent): ditto.
6081         * javax/swing/JSplitPane.java
6082         (remove): Use getComponent.
6083         * javax/swing/SwingUtilities.java
6084         (convertPoint): Implement.
6085         * javax/swing/plaf/basic/BasicButtonUI.java
6086         (paintButtonNormal): Check opaqueness before
6087         filling background.
6088         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6089         Implement
6090         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6091         Implement.
6092         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6093         Implement.
6094         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6095         Implement.
6096         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6097         Change InternalFrame and Desktop colors.
6098
6099 2004-06-09  David Jee  <djee@redhat.com>
6100
6101         * java/awt/Container.java
6102         (remove): Do not set component to invisible.
6103
6104 2004-06-09  Michael Koch  <konqueror@gmx.de>
6105
6106         * javax/swing/tree/DefaultMutableTreeNode.java
6107         (getLeafCount): Renamed enum to e.
6108
6109 2004-06-09  Michael Koch  <konqueror@gmx.de>
6110
6111         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6112         (positionForMouseEvent): Removed redundant semicolon.
6113         (continueDrag): Use method arguments.
6114
6115 2004-06-09  Michael Koch  <konqueror@gmx.de>
6116
6117         * javax/swing/border/TitledBorder.java,
6118         javax/swing/filechooser/FileSystemView.java,
6119         javax/swing/plaf/basic/BasicButtonListener.java,
6120         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6121         javax/swing/plaf/basic/BasicLabelUI.java,
6122         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6123         javax/swing/plaf/basic/BasicScrollBarUI.java,
6124         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6125         javax/swing/plaf/basic/BasicSliderUI.java,
6126         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6127         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6128         javax/swing/table/JTableHeader.java,
6129         javax/swing/text/AbstractDocument.java,
6130         javax/swing/text/DefaultCaret.java,
6131         javax/swing/text/StyledEditorKit.java,
6132         javax/swing/tree/DefaultTreeCellEditor.java:
6133         Reworked import statements.
6134
6135 2004-06-08  Graydon Hoare  <graydon@redhat.com>
6136
6137         * javax/swing/Box.java: Temporarily comment out code
6138         broken due to visibility bug.
6139
6140 2004-06-09  Michael Koch  <konqueror@gmx.de>
6141
6142         * javax/swing/ImageIcon.java
6143         (ImageIcon): Added missing constructor.
6144
6145 2004-06-08  Michael Koch  <konqueror@gmx.de>
6146
6147         * javax/swing/JToggleButton.java
6148         (JToggleButton): New constructor.
6149         (getAccessibleContext): Moved documentation into javadoc.
6150         (getUIClassID): Likewise.
6151
6152 2004-06-08  Michael Koch  <konqueror@gmx.de>
6153
6154         * javax/swing/AbstractButton.java
6155         (getDisabledIcon): Create disabled icon if none exists yet.
6156
6157 2004-06-08  Michael Koch  <konqueror@gmx.de>
6158
6159         * javax/swing/plaf/basic/BasicLookAndFeel.java
6160         (initClassDefaults): Added FormattedTextFieldUI.
6161         (loadResourceBundle): Renamed enum to e.
6162
6163 2004-06-08  Michael Koch  <konqueror@gmx.de>
6164
6165         * javax/swing/plaf/basic/BasicButtonUI.java
6166         (paintIcon): Simplified.
6167         (paintText): Paint disabled button correctly.
6168
6169 2004-06-08  Michael Koch  <konqueror@gmx.de>
6170
6171         * javax/swing/JComponent.java
6172         (createToolTip): Use official JToolTip API.
6173
6174 2004-06-08  Michael Koch  <konqueror@gmx.de>
6175
6176         * javax/swing/JToolTip.java
6177         (JToolTip): No arguments in API.
6178         (setTipText): New method.
6179
6180 2004-06-08  Michael Koch  <konqueror@gmx.de>
6181
6182         * javax/swing/SwingUtilities.java
6183         (isLeftMouseButton): New method.
6184         (isMiddleMouseButton): New method.
6185         (isRightMouseButton): New method.
6186
6187 2004-06-08  Michael Koch  <konqueror@gmx.de>
6188
6189         * javax/swing/AbstractButton.java,
6190         javax/swing/CellRendererPane.java,
6191         javax/swing/JCheckBoxMenuItem.java,
6192         javax/swing/JColorChooser.java,
6193         javax/swing/JComboBox.java,
6194         javax/swing/JComponent.java,
6195         javax/swing/JDesktopPane.java,
6196         javax/swing/JFileChooser.java,
6197         javax/swing/JMenu.java,
6198         javax/swing/JMenuItem.java,
6199         javax/swing/JOptionPane.java,
6200         javax/swing/JPasswordField.java,
6201         javax/swing/JPopupMenu.java,
6202         javax/swing/JProgressBar.java,
6203         javax/swing/JRadioButtonMenuItem.java,
6204         javax/swing/JScrollBar.java,
6205         javax/swing/JSeparator.java,
6206         javax/swing/JSlider.java,
6207         javax/swing/JSplitPane.java,
6208         javax/swing/JTabbedPane.java,
6209         javax/swing/JTextField.java,
6210         javax/swing/JToolBar.java,
6211         javax/swing/text/JTextComponent.java:
6212         Fixed all constructors of accessibility classes.
6213
6214 2004-06-08  Michael Koch  <konqueror@gmx.de>
6215
6216         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6217         over.
6218
6219 2004-06-08  Michael Koch  <konqueror@gmx.de>
6220
6221         * javax/swing/Box.java
6222         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6223         (AccessibleBoxFiller.serialVersionUID): New member variable.
6224         * javax/swing/DefaultButtonModel.java
6225         (stateMask): Made protected.
6226         (listenerList): Likewise.
6227         (changeEvent): Likewise.
6228         (group): Likewise.
6229         (mnemonic): Likewise.
6230         (actionCommand): Likewise.
6231         (getListeners): New method.
6232         (getActionListeners): New method.
6233         (getItemListeners): New method.
6234         (getChangeListeners): New method.
6235         (fireItemStateChanged): Simplified.
6236         (fireActionPerformed): Simplified.
6237         (fireStateChanged): Simplified.
6238         * javax/swing/JFrame.java
6239         (JFrame): Implements WindowContants.
6240         (HIDE_ON_CLOSE): Removed.
6241         (EXIT_ON_CLOSE): Removed.
6242         (DISPOSE_ON_CLOSE): Removed.
6243         (DO_NOTHING_ON_CLOSE): Removed.
6244         (processWindowEvent): Exit with code 0.
6245         (setDefaultCloseOperation): Do security check before setting value.
6246         * javax/swing/JOptionPane.java
6247         (message): Initialize only in constructor.
6248         * javax/swing/JToolTip.java: Removed unused imports.
6249         * javax/swing/JViewport.java
6250         (serialVersionUID): New member variable.
6251         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6252         (BLIT_SCROLL_MODE): Likewise.
6253         (BACKINGSTORE_SCROLL_MODE): Likewise.
6254         (scrollUnderway): Made protected.
6255         (isViewSizeSet): Likewise.
6256         * javax/swing/ListModel.java: Fixed javadoc.
6257         * javax/swing/Popup.java: Likewise.
6258         * javax/swing/RepaintManager.java
6259         (paintDirtyRegions): Don't use internal classes of
6260         java.util.AbstractMap.
6261         * javax/swing/ScrollPaneConstants.java: Reindented.
6262         * javax/swing/ScrollPaneLayout.java
6263         (viewport): Made protected.
6264         (verticalScrollBar): Made protected, renamed to vsb.
6265         (horizontalScrollBar): Made protected, renamed to hsb.
6266         (rowHeader): Made protected, renamed to rowHead.
6267         (columnHeader): Made protected, renamed to colHead.
6268         (lowerLeft): Made protected.
6269         (lowerRight): Made protected.
6270         (upperLeft): Made protected.
6271         (upperRight): Made protected.
6272         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6273         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6274
6275 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6276
6277         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6278         LOADING if flags has SOMEBITS set.
6279
6280 2004-06-07  Michael Koch  <konqueror@gmx.de>
6281
6282         * javax/swing/AbstractButton.java: Reorganized imports.
6283         * javax/swing/ActionMap.java: Likewise.
6284         * javax/swing/DefaultButtonModel.java: Likewise.
6285         * javax/swing/DefaultListModel.java: Likewise.
6286         * javax/swing/ImageIcon.java: Likewise.
6287         (serialVersionUID): New member variable.
6288         * javax/swing/JComboBox.java: Reorganized imports.
6289         * javax/swing/JComponent.java: Likewise.
6290         (ui): Made protected.
6291         (listenerList): Made protected.
6292         (TOOL_TIP_TEXT_KEY): New constant.
6293         (scrollRectToVisible): Removed redundant null check.
6294         * javax/swing/JFrame.java: Reorganized imports.
6295         * javax/swing/JInternalFrame.java: Reorganized imports.
6296         * javax/swing/JProgressBar.java: Likewise.
6297         * javax/swing/JRootPane.java: Likewise.
6298         * javax/swing/JScrollBar.java: Likewise.
6299         * javax/swing/JSeparator.java: Likewise.
6300         * javax/swing/JSlider.java: Likewise.
6301         * javax/swing/JTabbedPane.java: Likewise.
6302         * javax/swing/JTextField.java: Likewise.
6303         * javax/swing/JToolBar.java: Likewise.
6304         * javax/swing/JTree.java: Likewise.
6305         * javax/swing/JViewport.java: Likewise.
6306         * javax/swing/JWindow.java: Likewise.
6307         * javax/swing/KeyStroke.java: Likewise.
6308         * javax/swing/LookAndFeel.java: Likewise.
6309         * javax/swing/MenuSelectionManager.java: Likewise.
6310         * javax/swing/SwingUtilities.java: Likewise.
6311         * javax/swing/Timer.java: Likewise.
6312         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6313         * javax/swing/JList.java
6314         (HORIZONTAL_WRAP): Made final, fixed value.
6315         (VERTICAL): Likewise.
6316         (VERTICAL_WRAP): Likewise.
6317
6318 2004-06-07  Michael Koch  <konqueror@gmx.de>
6319
6320         * javax/swing/AbstractButton.java
6321         (serialVersionUID): New member variable.
6322         (AccessibleAbstractButton.serialVersionUID): Likewise.
6323         (AbstractButton): Made public.
6324         * javax/swing/Box.java
6325         (AccessibleBox.serialVersionUID): New member variable.
6326         (Filler.serialVersionUID): Likewise.
6327         * javax/swing/DefaultListSelectionModel.java
6328         (serialVersionUID): Likewise.
6329         * javax/swing/JApplet.java
6330         (serialVersionUID): Likewise.
6331         * javax/swing/JCheckBox.java
6332         (serialVersionUID): Likewise.
6333         * javax/swing/JCheckBoxMenuItem.java
6334         (serialVersionUID): Likewise.
6335         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6336         * javax/swing/JColorChooser.java
6337         (serialVersionUID): Likewise.
6338         (AccessibleJColorChooser.serialVersionUID): Likewise.
6339         * javax/swing/JComponent.java
6340         (serialVersionUID): Made private.
6341         (AccessibleJComponent.serialVersionUID): New member variable.
6342         * javax/swing/JDesktopPane.java
6343         (serialVersionUID): Likewise.
6344         * javax/swing/JDialog.java
6345         (serialVersionUID): Likewise.
6346         * javax/swing/JFormattedTextField.java
6347         (serialVersionUID): Fixed value.
6348         * javax/swing/JFrame.java
6349         (serialVersionUID): New member variable.
6350         (getDefaultCloseOpertation): Made public.
6351         * javax/swing/JLayeredPane.java
6352         (serialVersionUID): Likewise.
6353         (LAYER_PROPERTY): Made final, fixed value.
6354         (JLayeredPane): Made public.
6355         * javax/swing/JMenu.java
6356         (AccessibleJMenu.serialVersionUID): New member variable.
6357         (WinListener.serialVersionUID): Likewise.
6358         * javax/swing/JMenuBar.java
6359         (serialVersionUID): Likewise.
6360         (getComponentAtIndex): Added @deprecated tag.
6361         * javax/swing/JMenuItem.java
6362         (serialVersionUID): New member variable.
6363         (AccessibleJMenuItem.serialVersionUID): Likewise.
6364         * javax/swing/JOptionPane.java
6365         (serialVersionUID): Likewise.
6366         (AccessibleJOptionPane.serialVersionUID): Likewise.
6367         * javax/swing/JPopupMenu.java
6368         (serialVersionUID): Likewise.
6369         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6370         (getPopupMenuListeners): New method.
6371         (getComponentAtIndex): Added @deprecated tag.
6372         * javax/swing/JProgressBar.java
6373         (serialVersionUID): New member variable.
6374         (AccessibleJProgressBar.serialVersionUID): Likewise.
6375         * javax/swing/JRadioButton.java
6376         (serialVersionUID): Likewise.
6377         * javax/swing/JRadioButtonMenuItem.java
6378         (serialVersionUID): Likewise.
6379         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6380         * javax/swing/JScrollBar.java
6381         (serialVersionUID): Likewise.
6382         (AccessibleJScrollBar.serialVersionUID): Likewise.
6383         * javax/swing/JSeparator.java
6384         (serialVersionUID): Likewise.
6385         (AccessibleJSeparator.serialVersionUID): Likewise.
6386         * javax/swing/JSlider.java: Fixed javadocs.
6387         (AccessibleJSlider.serialVersionUID): New member variable.
6388         * javax/swing/JSplitPane.java: Added copyright statement.
6389         (serialVersionUID): New member variable.
6390         (AccessibleJSplitPane.serialVersionUID): Likewise.
6391         * javax/swing/JTabbedPane.java
6392         (serialVersionUID): Likewise.
6393         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6394         (ModelListener.serialVersionUID): Likewise.
6395         (ModelListener.ModelListener): New constructor.
6396         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6397         (WRAP_TAB_LAYOUT): Likewise.
6398         * javax/swing/JTable.java
6399         (serialVersionUID): New member variable.
6400         * javax/swing/JToggleButton.java
6401         (serialVersionUID): Likewise.
6402         (ToggleButtonModel): Made static.
6403         (ToggleButtonModel.serialVersionUID): New member variable.
6404         * javax/swing/JToolTip.java
6405         (serialVersionUID): Likewise.
6406         * javax/swing/JTree.java
6407         (serialVersionUID): Likewise.
6408         * javax/swing/JWindow.java
6409         (serialVersionUID): Likewise.
6410         * javax/swing/Timer.java
6411         (serialVersionUID): Likewise.
6412
6413 2004-06-06  Michael Koch  <konqueror@gmx.de>
6414
6415         * javax/swing/SwingConstants.java
6416         (NEXT): New constant.
6417         (PREVIOUS): Likewise.
6418         * javax/swing/UIManager.java
6419         (LookAndFeel): Made public.
6420         (LookAndFeel.getClassName): Likewise.
6421         (LookAndFeel.getName): Likewise.
6422
6423 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6424
6425         * javax/swing/JCheckBoxMenuItem.java:
6426         Removed CVS tags.
6427         * javax/swing/JMenu.java: Likewise.
6428         * javax/swing/JMenuBar.java: Likewise.
6429         * javax/swing/JMenuItem.java: Likewise.
6430         * javax/swing/JPopupMenu.java: Likewise.
6431         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6432         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6433         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6434         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6435         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6436         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6437         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6438
6439 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6440         
6441         * javax/swing/plaf/basic/BasicMenuUI.java:
6442         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6443         Call getPath() from super class instead.
6444
6445 2004-05-31  David Jee  <djee@redhat.com>
6446
6447         * java/awt/Container.java
6448         (remove): Set component visibility to false after removing it.
6449
6450 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6451
6452         * java/awt/Component.java (getForeground): Return SystemColor if
6453         parent is null.
6454         (getBackground): Likewise.
6455
6456         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6457         (item_highlighted): New function.
6458         (connectSignals): Set item_highlighted as list's select
6459         function.
6460
6461         * java/applet/Applet.java: Revert changes from 2004-04-29,
6462         2004-03-15 and 2004-03-14.
6463
6464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6465         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6466         factor.
6467
6468         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6469         "Dialog" as the default font.
6470         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6471         Likewise.
6472         * java/awt/Component.java (getFont): Return "Dialog" font by
6473         default.
6474         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6475         Multiply size argument to pango_font_description_set_size by the
6476         DPI conversion factor rather than by PANGO_SCALE.
6477         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6478         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6479         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6481         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6487         Divide baseline y coordinate by DPI conversion factor rather
6488         than by PANGO_SCALE.
6489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6490         (area_prepared): Fix typo.
6491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6492         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6494         (dpi_conversion_factor): New global variable.
6495         (init_dpi_conversion_factor): New function to calculate and
6496         track DPI conversion factor.
6497         (dpi_changed_cb): New callback.
6498         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6499
6500 2004-05-27  David Jee  <djee@redhat.com>
6501
6502         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6503         (getGraphics): Return a new GdkGraphics instance.
6504         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6505         (getGraphics): Call super.getGraphics().
6506
6507 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6508
6509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6510         (setNativeBounds): Clamp width and height values to >= 0.
6511
6512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6513         (find_fg_color_widget): Handle GtkOptionMenu specially.
6514
6515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6516         (pre_event_handler): Only post configure events to visible
6517         top-level windows.
6518
6519 2004-05-26  David Jee  <djee@redhat.com>
6520
6521         * java/awt/BorderLayout.java
6522         (layoutContainer): Fix size calculations.
6523
6524 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6525
6526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6527         (window_wm_protocols_filter): Remove function.
6528         (create): Remove filter that removes WM_TAKE_FOCUS client
6529         messages.
6530
6531 2004-06-17  Anthony Green  <green@redhat.com>
6532
6533         * java/util/zip/ZipFile.java (getInputStream): Return null if
6534         entry not found.
6535
6536         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6537         directory contents to the class path.
6538
6539 2004-06-15  Andrew Haley  <aph@redhat.com>
6540
6541         * java/lang/natSystem.cc (getenv0): Don't assume environment
6542         variable is Latin 1 coded.
6543
6544 2004-06-14  Andreas Jaeger  <aj@suse.de>
6545
6546         * configure.in: Support --enable-version-specific-runtime-libs.
6547         * configure: Regenerated.
6548
6549 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6550
6551         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6552         to pass ClassLoader argument.
6553         * java/util/GregorianCalendar.java: Likewise.
6554         * java/util/Currency.java: Likewise.
6555         * java/text/BreakIterator.java: Likewise.
6556         * java/text/Collator.java: Likewise.
6557         * java/text/DateFormat.java: Likewise.
6558         * java/text/DateFormatSymbols.java: Likewise.
6559         * java/text/DecimalFormatSymbols.java: Likewise.
6560         * java/text/NumberFormat.java: Likewise.
6561         * java/awt/Window.java: Likewise.
6562
6563 2004-06-14  Andrew Haley  <aph@redhat.com>
6564
6565         * java/lang/System.java: (getenv0): New method.
6566         (getenv): Add security check.  Do the right thing.
6567         * java/lang/natSystem.cc (getenv0): New method.
6568
6569 2004-06-12  Mark Wielaard  <mark@klomp.org>
6570
6571         * javax/swing/RepaintManager.java
6572         (paintDirtyRegions): Use entrySet(), not values().
6573
6574 2004-06-10  Mark Wielaard  <mark@klomp.org>
6575
6576         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6577         NoSuchMethodError.
6578
6579 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6580
6581         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6582         when we already know the answer.
6583         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6584         (setStartRule,setEndRule): Don't take abs of day number.
6585         (getOffset): Clarify docs.  Add argument checks.
6586         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6587         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6588         endTimeMode.
6589
6590 2004-06-10  Tom Tromey  <tromey@redhat.com>
6591
6592         * interpret.cc (run): Handle wide fload.
6593
6594 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6595
6596         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6597
6598 2004-06-05  Michael Koch  <konqueror@gmx.de>
6599
6600         * javax/swing/SwingConstants.java
6601         (NEXT): New constant.
6602         (PREVIOUS): Likewise.
6603
6604 2004-06-05  Michael Koch  <konqueror@gmx.de>
6605
6606         * javax/swing/UIManager.java
6607         (LookAndFeel): Made public.
6608         (LookAndFeel.getName): Likewise.
6609         (LookAndFeel.getClassName): Likewise.
6610
6611 2004-06-03  Michael Koch  <konqueror@gmx.de>
6612
6613         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6614         (requestFocus): Revert last changes.
6615         (gtkRequestFocus): Removed.
6616         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6617         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6618         Renamed to ...
6619         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6620         Reverted last patch.
6621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6622         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6623         Reverted comment change.
6624
6625 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6626
6627         * javax/swing/JCheckBoxMenuItem.java:
6628         Removed CVS tags.
6629         * javax/swing/JMenu.java: Likewise.
6630         * javax/swing/JMenuBar.java: Likewise.
6631         * javax/swing/JMenuItem.java: Likewise.
6632         * javax/swing/JPopupMenu.java: Likewise.
6633         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6634         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6635         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6636         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6637         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6638         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6639         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6640
6641 2004-06-01  Tom Tromey  <tromey@redhat.com>
6642
6643         * java/io/ObjectStreamField.java: Cleaned up imports.
6644
6645 2004-06-01  Michael Koch  <konqueror@gmx.de>
6646
6647         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6648       
6649 2004-06-01  Mark Wielaard  <mark@klomp.org>
6650
6651         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6652
6653 2004-06-01  Michael Koch  <konqueror@gmx.de>
6654
6655         * java/security/Security.java
6656         (insertProviderAt): Use equals() instead of ==.
6657         (removeProvicer): Likewise.
6658         (getProvider): Likewise.
6659         * java/security/Signature.java
6660         (sign): Don't set state to UNINITIALIZED.
6661         (verify): Likewise.
6662
6663 2004-06-01  Mark Wielaard  <mark@klomp.org>
6664
6665         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6666         Implement by calling gtkRequestFocus.
6667         (gtkRequestFocus): New native method.
6668         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6669         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6670         Renamed to ...
6671         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6672         New function name.
6673         (filter_expose_event_handler):
6674         Mark static.
6675         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6676         (menu_pos): Mark static.
6677
6678 2004-06-01  Michael Koch  <konqueror@gmx.de>
6679
6680         * java/text/CollationElementIterator.java,
6681         java/text/CollationKey.java,
6682         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6683         * testsuite/libjava.mauve/xfails: Removed all
6684         java.text.CollationElementIterator tests.
6685
6686 2004-06-01  Michael Koch  <konqueror@gmx.de>
6687
6688         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6689         version.
6690         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6691         Java 1.5 keyword usage.
6692
6693 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6694
6695         * javax/swing/plaf/basic/BasicMenuUI.java:
6696         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6697         Call getPath() from super class instead.
6698
6699 2004-05-31  Michael Koch  <konqueror@gmx.de>
6700
6701         * java/io/SequenceInputStream.java:
6702         Rename enum to e because enum is a keyword in Java 1.5.
6703
6704 2004-05-31  Michael Koch  <konqueror@gmx.de>
6705
6706         * gnu/java/rmi/rmic/CompilerProcess.java:
6707         Fixed javadoc to by XHTML compliant.
6708
6709 2004-05-30  Mark Wielaard  <mark@klomp.org>
6710
6711         * java/awt/Toolkit.java (loadSystemColors): Implement.
6712
6713 2004-05-30  Michael Koch  <konqueror@gmx.de>
6714
6715         * java/lang/System.java: Reordered imports.
6716
6717 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6718
6719         * java/text/DecimalFormat.java
6720         (parse): Fixed parsing of decimal strings. Number of maximum
6721         digits to be read should now work.
6722         * java/text/SimpleDateFormat.java
6723         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6724         formatter. This fixes DateFormatTest.
6725
6726 2004-05-30  Michael Koch  <konqueror@gmx.de>
6727
6728         * java/nio/Buffer.java
6729         (limit): Fixed off by one error.
6730         * java/nio/CharBuffer.java
6731         (wrap): Fixed arguments, added javadocs.
6732
6733 2004-05-30  Michael Koch  <konqueror@gmx.de>
6734
6735         * gnu/java/beans/BeanInfoEmbryo.java,
6736         java/awt/im/InputContext.java,
6737         javax/swing/tree/DefaultMutableTreeNode.java:
6738         Rename enum to e because enum is a keyword in Java 1.5.
6739
6740 2004-05-30  Michael Koch  <konqueror@gmx.de>
6741
6742         * gnu/java/math/MPN.java,
6743         java/awt/geom/Arc2D.java:
6744         Fixed javadocs all over.
6745
6746 2004-05-30  Michael Koch  <konqueror@gmx.de>
6747
6748         * java/awt/DefaultKeyboardFocusManager.java
6749         (dispatchEvent): Call method to get key event dispatchers.
6750         (dispatchKeyEvent): Call method to get key event post processors.
6751         * javax/swing/JComponent.java
6752         (listenerList): Made protected.
6753         * javax/swing/JOptionPane.java
6754         (message): Don't initialize.
6755         (JOptionPane): Set message text.
6756         * javax/swing/JPopupMenu.java
6757         (show): Fixed typo in argument name.
6758         * javax/swing/RepaintManager.java
6759         (paintDirtyRegions): Use public API of java.util.Map.
6760         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6761         (positionForMouseEvent): Removed redundant ';'.
6762         (continueDrag): Use method arguments.
6763
6764 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6765
6766         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6767         results.
6768
6769 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6770
6771         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6772         _Jv_AllocBytes.
6773         * gnu/gcj/RawDataManaged.java: New file.
6774         * java/lang/Thread.java (data): Declare as RawDataManaged.
6775         * java/lang/natThread.cc (init_native): Cast natThread data to
6776         RawDataManaged, not jobject.
6777         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6778         * Makefile.in: Rebuilt.
6779
6780 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6781
6782         * java/util/SimpleTimeZone.java: Reverting my last change until I
6783         can fix it properly.
6784
6785 2004-05-27  Michael Koch  <konqueror@gmx.de>
6786
6787         * javax/swing/JPopupMenu.java
6788         (isVisible): Do not use visible directly.
6789         (setVisible): Likewise.
6790         * javax/swing/JWindow.java
6791         (JWindow): call accessible constructor.
6792         * javax/swing/RepaintManager.java
6793         (paintDirtyRegions): Use public methods to obtain iterator.
6794
6795 2004-05-25  David Jee  <djee@redhat.com>
6796
6797         * java/awt/Container.java
6798         (remove): Set component's parent to null only after we removed the
6799         component from its parent's layout manager.
6800
6801 2004-05-25  David Jee  <djee@redhat.com>
6802
6803         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6804         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6805         is valid.
6806         * gnu/java/awt/peer/gtk/GtkListPeer.java
6807         (getSize): Change native method declaration.
6808         (minimumSize): Pass visible row count into getSize().
6809         (preferredSize): Likewise.
6810         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6811         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6812         natural size. Use visible row count to determine the final height
6813         value to return.
6814
6815 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6816
6817         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6818         (setClip): Minor correction to order of operations.
6819
6820         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6821         * javax/swing/ScrollPaneLayout.java: Likewise.
6822         * javax/swing/JViewPort.java: Likewise.
6823         * javax/swing/ViewportLayout.java: Likewise.
6824
6825         * javax/swing/JComponent.java: Rewrite.
6826         * javax/swing/RepaintManager.java: Likewise.
6827
6828         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6829         * javax/swing/JList.java 
6830         (setSelectedIndices):
6831         (getSelectedIndices):
6832         (getSelectedValues): New functions.
6833         (getPreferredScrollableViewportSize): Return preferred size.
6834         (getScrollableUnitIncrement):
6835         (getScrollableBlockIncrement): Initial implementations.
6836         * javax/swing/JRootPane.java: Clean up slightly.
6837         (getUI):
6838         (setUI):
6839         (updateUI):
6840         (getUIClassID):
6841         (isValidateRoot): Add overrides from JComponent.
6842         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6843         * javax/swing/UIManager.java (getDimension): Return the dimension.
6844
6845         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6846         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6847         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6848         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6849         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6850         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6851         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6852         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6853         Likewise, and set background.
6854         * javax/swing/plaf/basic/BasicListUI.java: 
6855         Likewise, and improve a bit.
6856         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6857         Likewise, and adjust calculations.
6858         * javax/swing/plaf/basic/BasicViewportUI.java:
6859         Likewise, and improve a bit.
6860         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6861         (Button.margin): Shrink.
6862
6863         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6864         Hack to set horizontal always, workaround pango.
6865
6866         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6868         Synchronize more often, check cairo status after ops,
6869         handle changes to cairo pattern API, check for disposal.
6870
6871 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6872
6873         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6874         (BasicMenuItemUI): Create propertyChangeListener.
6875         (getPath):Implemented.
6876         (installListeners): Add propertyChangeListener to menuItem.
6877         (uninstallListeners): Remove propertyChangeListener from menuItem.
6878         (update): Implemented.
6879         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6880         (mouseEntered): Take insets of popup menu into account when
6881         calculating position of popup menu.     
6882         
6883 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6884
6885         * Makefile.am: Added new file. 
6886         * Makefile.in: Regenerate.
6887         * javax/swing/JMenuBar.java:
6888         Started implementation.
6889         * javax/swing/JPopupMenu.java:
6890         (setVisible): Fixed location of lightweight/mediumweight
6891         popup menu.
6892         (show): Fixed location of PopupMenu.
6893         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6894         New file. UI Delegate for JMenuBar.
6895         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6896         (mouseEntered): Corrected position of the submenu.
6897
6898 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6899
6900         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6901         to _gtk_accel_group_attach.
6902         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6903         Likewise.
6904
6905         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6906         package access.  Don't override setFont.
6907         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6908         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6909         gtkWidgetRequestFocus package access.
6910         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6911         setFont.
6912         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6913         Give gtkWidgetRequestFocus package access.
6914         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6915         gtkWidgetRequestFocus package access.  Don't override setFont.
6916         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6917         setFont.
6918         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6919         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6920         region.
6921         (gtkSetFont): Likewise.
6922         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6923         Implement.
6924         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6925         (gtkSetFont): Whitespace fix.
6926
6927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6928         (gtkWidgetSetUsize): Remove method.
6929
6930 2004-05-18  David Jee  <djee@redhat.com>
6931
6932         * java/awt/image/MemoryImageSource.java
6933         (newPixels(int,int,int,int,boolean)): Set only the specified
6934         rectangle of pixels.
6935         (newPixels(byte[],ColorModel,int,int)): Implement.
6936         (newPixels(int[],ColorModel,int,int)): Implement.
6937
6938 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6939
6940         * Makefile.am: Added new file.
6941         * Makefile.in: Regenerate.
6942         * javax/swing/JMenu.java: Started 
6943         implementation.
6944         * javax/swing/JPopupMenu.java:
6945         (insert): If specified index is -1, then
6946         add component at the end.
6947         (isPopupTrigger): Reimplemented.
6948         (JPopupMenu.LightWeightPopup): setBounds
6949         of the lightWeightPopup before adding it 
6950         to the layeredPane.
6951         (javax/swing/plaf/basic/BasicIconFactory.java):
6952         (getMenuArrowIcon): Implemented.
6953         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6954         (getPreferredSize): Add size of the arrow icon 
6955         if this menu item is instance of JMenu.
6956         (paintMenuItem): Paint arrow icon if this 
6957         menu item is a submenu.
6958         * javax/swing/plaf/basic/BasicMenuUI.java:
6959         New File. UI Delegate for JMenu.
6960
6961 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6962
6963         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6964         Post KEY_TYPED events.
6965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6966         (generates_key_typed_event): Remove function.
6967
6968 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6969
6970         * javax/swing/JRootPane.java
6971         (JRootPane.RootLayout): Reimplemented to 
6972         set bounds of contentPane and menuBar.
6973         (setJMenuBar): Add menu bar to the layered pane.
6974         (createLayeredPane): Set layout of layeredPane
6975         to null.
6976         * javax/swing/JLayeredPane.java:
6977         (addImpl): Calculate index of the component in the
6978         layeredPane according to the specified position within 
6979         the layer.      
6980
6981 2004-05-17  David Jee  <djee@redhat.com>
6982
6983         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6984         (setPixels): Change color model to the default model after
6985         converting pixels.
6986         * java/awt/image/MemoryImageSource.java
6987         (newPixels): Set only the specified rectangle of pixels.
6988
6989 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6990
6991         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6992         -l-java-beans -l-javax-accessibility -l-javax-swing.
6993
6994         * java/awt/AWTEvent.java (toString): Print source's name rather
6995         than the source itself.
6996
6997 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6998
6999         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7000         native.
7001         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7002         (gdk_color_to_java_color): New function.
7003         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7004
7005 2004-05-12  David Jee  <djee@redhat.com>
7006
7007         * java/awt/image/RGBImageFilter.java:
7008         Initialize origmodel as null.
7009         (makeColor): Fix pixel component order.
7010         (filterRGBPixels): Fix pixel iteration.
7011         (setPixels): Add extra checks for index color model. Convert pixels
7012         to default color model if necessary.
7013         (convertColorModelToDefault): New override method for byte pixels.
7014         (convertColorModelToDefault): For int pixels, fix pixel iteration.
7015         (makeColorbyDefaultCM): New override method for byte pixels.
7016         (makeColorbyDefaultCM): For int pixel, add color model as argument.
7017         (makeColor): Fix pixel component order.
7018
7019 2004-05-11  Kim Ho  <kho@redhat.com>
7020
7021         * javax/swing/Box.java:
7022         Comment out more parts of Box.Filler.
7023
7024 2004-05-11  Kim Ho  <kho@redhat.com>
7025
7026         * javax/swing/Box.java:
7027         Remove reference to AccessibleAWTComponent so
7028         it compiles again.
7029
7030 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
7031
7032         * gnu/java/awt/peer/gtk/GtkListPeer.java,
7033         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7034         implementation of list peer to use GtkTreeView instead of
7035         deprecated GtkCList.
7036
7037 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
7038
7039         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7040         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7041         (handleEvent): Remove keyChar argument to
7042         gtkWidgetDispatchKeyEvent calls.
7043         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7044         compiler warnings.
7045         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7046         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7047         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7048         Likewise.
7049
7050 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
7051
7052         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7053         (gtkWidgetRequestFocus): Mark protected.
7054         (GtkComponentPeer): Only set the peer's bounds if its component
7055         is valid.
7056         * java/awt/Component.java (static): Set the default keyboard
7057         focus manager.
7058         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7059         requestFocusInWindow(temporary)): Don't request focus if the
7060         component is not showing.  Get tree lock before traversing
7061         component hierarchy.
7062         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7063         Only set the global focus owner if it is not a Window.
7064         (processKeyEvent): Consume keystrokes associated with the focus
7065         traversal keystroke.
7066         (focusPreviousComponent, focusNextComponent, upFocusCycle,
7067         downFocusCycle): Call requestFocusInWindow instead of
7068         requestFocus.
7069         * java/awt/EventDispatchThread.java (run): Move setting of
7070         default keyboard focus manager to Component.java.
7071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7072         (awt_keycode_to_keysym): New function.
7073         (gtkWidgetDispatchKeyEvent): Finish implementation.
7074         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7075         (pre_event_handler): Add FIXME comment.
7076
7077         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7078         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7079         (gtkWidgetRequestFocus): New method.
7080         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7081         disable Tab and Shift-Tab keystrokes.
7082         (addNotify, appendText, insertText, replaceText): Simplify peer
7083         retrieval code.
7084         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7085         (connectSignals): Remove connections to "commit" signals.
7086         Remove C++-style comments.
7087
7088         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7089         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7090         (handleEvent): Activate GTK button when the space bar key is
7091         pressed.
7092         (gtkActivate): New method.
7093
7094 2004-05-06  David Jee  <djee@redhat.com>
7095
7096         * java/awt/image/CropImageFilter.java
7097         (setPixels): Implement for byte array pixels.
7098         * java/awt/image/ReplicateScaleFilter.java
7099         (setPixels): Implement for byte array pixels.
7100         (replicatePixels): Overload for byte array pixels.
7101
7102 2004-05-06  Kim Ho  <kho@redhat.com>
7103
7104         * javax/swing/Box.java:
7105         (getAccessibleContext): Return an instance of the 
7106         correct class.
7107
7108 2004-05-05  David Jee  <djee@redhat.com>
7109
7110         * gnu/java/awt/peer/gtk/GdkGraphics.java
7111         (drawImage): When component is null, use SystemColor.window as
7112         the default bgcolor.
7113         * gnu/java/awt/peer/gtk/GtkImage.java
7114         (setPixels): We can avoid iterating through the pixel rows only
7115         when height is 1.
7116         * java/awt/Image.java
7117         (getScaledInstance): Partially implement.
7118         * java/awt/image/CropImageFilter.java
7119         (setProperties): Fix "filter" property.
7120         (setPixels): Implement.
7121         * java/awt/image/ReplicateScaleFilter.java
7122         (setDimensions): Use scaled dimensions.
7123         (setPixels): Implement.
7124         (replicatePixels): New method.
7125
7126 2004-05-05  David Jee  <djee@redhat.com>
7127
7128         * gnu/java/awt/peer/gtk/GtkImagePainter.java
7129         (convertPixels): If either pixels or model is null, return null.
7130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7131         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7132         is null, do nothing and return.
7133
7134 2004-05-03  Kim Ho  <kho@redhat.com>
7135
7136         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7137         (getGraphics): Like GtkFramePeer, the Graphics
7138         object needs to be translate to account for
7139         window decorations.
7140         (postMouseEvent): New method. Account for
7141         translation.
7142         (postExposeEvent): ditto.
7143         * javax/swing/Box.java: Stubbed.
7144         * javax/swing/JDialog.java: Ran through jalopy
7145         to fix indentation.
7146         (JDialog): Call SwingUtilities' getOwnerFrame
7147         for null owners.
7148         (setLayout): Check isRootPaneCheckingEnabled
7149         * javax/swing/JOptionPane.java: Re-implemented.
7150         * javax/swing/SwingUtilities.java:
7151         (getOwnerFrame): Static method to grab a default
7152         owner frame for Dialogs that don't specify owners.
7153         * javax/swing/event/SwingPropertyChangeSupport.java:
7154         (firePropertyChange): Fix early exit condition.
7155         * javax/swing/plaf/basic/BasicLabelUI.java:
7156         (paint): Avoid painting text if it is null 
7157         or empty.
7158         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7159         Implement.
7160
7161 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
7162
7163         * Makefile.am: Added new file.
7164         * Makefile.in: Regenerate.
7165         * javax/swing/JPopupMenu.java:
7166         Started implementation.
7167         * javax/swing/JWindow.java
7168         (JWindow): call super() if parent for window
7169         is not specified.
7170         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7171         New File. UI Delegate for JPopupMenu.
7172
7173 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
7174
7175         * javax/swing/JApplet.java: Indicated that JApplet
7176         implements RootPaneContainer and made method of this
7177         interface public. 
7178         * javax/swing/JFrame.java: Ditto.
7179         * javax/swing/JWindow.java: Ditto.
7180         
7181 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7182
7183         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7184         (nativeSetBounds): Call gdk_window_move in addition to
7185         gtk_window_move.
7186
7187         * java/applet/Applet.java (preferredSize): Call parent's
7188         preferredSize if the applet stub is null.
7189         (minimumSize): Likewise for parent's minimumSize.
7190
7191 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7192
7193         * javax/swing/JMenuItem.java
7194         (createActionPropertyChangeListener): Implemented.
7195         (processMouseEvent): Ditto.
7196         (fireMenuDragMouseEntered): Ditto.
7197         (fireMenuDragMouseExited): Ditto.
7198         (fireMenuDragMouseDragged): Ditto.
7199         (fireMenuDragMouseReleased): Ditto.
7200         (menuSelectionChanged): Ditto.
7201         (getSubElements): Ditto.
7202         (getComponent): Ditto.
7203         (addMenuDragMouseListener): Ditto.
7204         (removeMenuDragMouseListener):Ditto.
7205         (addMenuKeyListener): Ditto.
7206         (removeMenuKeyListener): Ditto.
7207         * javax/swing/plaf/basic/BasicMenuItemUI.java
7208         (doClick): Imlemented.
7209         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7210         Don't handle mouse events here. Pass them to 
7211         MenuSelectionManager.
7212         
7213 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7214         Used correct version of jalopy configuration
7215         file to fix style in the files below.
7216
7217 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7218
7219         * javax/swing/JCheckBoxMenuItem.java: 
7220         Fixed style and removed unnecessary comments.
7221         * javax/swing/JMenuItem.java: Ditto.
7222         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7223         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7224         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7225         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7226
7227 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7228
7229         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7230         C-style.
7231
7232         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7233
7234         * java/awt/ContainerOrderFocusTraversalPolicy.java
7235         (getComponentAfter): Start from current component and work up
7236         the component hierarchy until an acceptable component is found.
7237         Synchronize on tree lock.
7238         (getComponentBefore): Likewise.
7239
7240 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7241
7242         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7243         focus-related debugging messages.
7244         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7245         * java/awt/EventDispatchThread.java: Likewise.
7246         * java/awt/KeyboardFocusManager.java: Likewise.
7247         * java/awt/Window.java: Likewise.
7248         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7249         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7250
7251         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7252         new C++-style comments to C-style comments.
7253         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7254
7255         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7256         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7257         (handleEvent): Dispatch key press and key release events to
7258         backing widget.
7259         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7260         (gtkWidgetRequestFocus): New method.
7261         (gtkWidgetDispatchKeyEvent): Likewise.
7262         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7263         requestFocusInWindow, requestFocusInWindow(boolean),
7264         getFocusCycleRootAncestor, nextFocus, transferFocus,
7265         transferFocusBackward, transferFocusUpCycle, hasFocus,
7266         isFocusOwner): Implement and document focus-handling methods.
7267         (setFocusTraversalKeys): Inherit focus traversal keys when
7268         keystrokes argument is null.  Fix focus-handling documentation
7269         throughout class.
7270         * java/awt/Container.java (setFocusTraversalKeys,
7271         getFocusTraversalKeys, areFocusTraversalKeysSet,
7272         isFocusCycleRoot, setFocusTraversalPolicy,
7273         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7274         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7275         Implement and document focus-handling methods.
7276         (transferFocusBackward): Remove method.
7277         (readObject, writeObject): Implement and document serialization
7278         methods.
7279         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7280         and document.
7281         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7282         document.
7283         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7284         partially document.
7285         * java/awt/EventDispatchThread.java (run): Set default keyboard
7286         focus manager.  Attempt to dispatch each event to the keyboard
7287         focus manager before normal dispatch.
7288         * java/awt/KeyboardFocusManager.java: Implement and partially
7289         document.
7290         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7291         (show): Focus initial component when window is shown for the
7292         first time.
7293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7294         (pre_event_handler): Replace complex key press and key release
7295         logic with simple callbacks into GtkComponentPeer.
7296         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7297
7298 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7299
7300         * javax/swing/MenuSelectionManager.java
7301         (componentForPoint): Added new method. 
7302         (defaultManager): New Method. Implemented.
7303         (getSelectedPath): Ditto.
7304         (isComponentPartOfCurrentMenu): Ditto.
7305         (processKeyEvent): Added new method.
7306         (processMouseEvent): New Method. Implemented.
7307         (setSelectedPath): Ditto.
7308         (getPath): Ditto.
7309
7310 2004-04-19  Kim Ho  <kho@redhat.com>
7311
7312         * java/awt/Container.java: 
7313         (remove): Set the component's parent to null.
7314         (getComponentAt): Implement.
7315         * javax/swing/JComponent.java:
7316         (JComponent): Initialize defaultLocale
7317         (getDefaultLocale): Implement.
7318         (setDefaultLocale): ditto.
7319         * javax/swing/JSlider.java:
7320         (JSlider): Fix calculation of value.
7321         * javax/swing/JSplitPane.java: Implement.
7322         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7323         Change SplitPane's default divider size.
7324         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7325         (paint): Remove unused code.
7326         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7327         Added comments and ran through jalopy.
7328         (setBasicSplitPaneUI): Get reference to hidden divider
7329         and set up one touch buttons if necessary.
7330         (setBorder): Fire propertyChangeEvent only if 
7331         borders are different.
7332         (getPreferredSize): Defer to layout manager.
7333         (propertyChange): Implement.
7334         (oneTouchExpandableChanged): ditto.
7335         (createLeftOneTouchButton): Use BasicArrowButton.
7336         (createRightOneTouchButton): ditto.
7337         (moveDividerTo): New method. Moves the divider
7338         to a set location based on the last divider location.
7339         (BasicSplitPaneDivider::MouseHandler): Implement.
7340         (BasicSplitPaneDivider::OneTouchButton): Removed.
7341         (BasicSplitPaneDivider::DragController): Implement.
7342         (BasicSplitPaneDivider::VerticalDragController):
7343         ditto.
7344         (BasicSplitPaneDivider::DividerLayout): ditto.
7345         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7346         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7347         (calculateLayoutInfo): Don't show component if it's
7348         null.
7349         (paintTab): Fix title paint logic.
7350
7351 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7352
7353         PR libgcj/8321
7354         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7355         (setStartRule,setEndRule): Don't take abs of day number.
7356         (getOffset): Clarify docs.  Add argument checks.
7357         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7358         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7359         endTimeMode.
7360         * testsuite/libjava.mauve/xfails
7361         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7362
7363 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7364
7365         Layout interfaces during preparation, not initialization. 
7366         * java/lang/natClass.cc (initializeClass): Move 
7367         _Jv_LayoutInterfaceMethods call...
7368         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7369
7370 2004-05-19  Anthony Green  <green@localhost.localdomain>
7371
7372         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7373         gnu.javax.rmi code.
7374         * Makefile.in: Rebuilt.
7375         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7376         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7377         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7378         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7379         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7380         gnu/javax/rmi/CORBA/DelegateFactory.java,
7381         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7382         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7383         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7384         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7385         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7386         gnu/javax/rmi/PortableServer.java: Remove files.
7387
7388 2004-05-19  Anthony Green  <green@redhat.com>
7389
7390         * Makefile.am: Define JAVA_EXT_DIRS.
7391         * Makefile.in: Rebuilt.
7392         * java/lang/natRuntime.cc (insertSystemProperties): Set
7393         java.ext.dirs property.
7394
7395 2004-05-16  Mark Wielaard  <mark@klomp.org>
7396
7397         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7398
7399 2004-05-15  Mark Wielaard  <mark@klomp.org>
7400
7401         * doc/cni.sgml: Removed, merged into gcj.texi.
7402
7403 2004-05-15  Mark Wielaard  <mark@klomp.org>
7404
7405         * Makefile.am (ordinary_java_source_files): Add new javax.print
7406         classes.
7407         * Makefile.in: Regenerated.
7408
7409 2004-05-15  Michael Koch  <konqueror@gmx.de>
7410
7411         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7412         javax/print/attribute/standard/DateTimeAtCreation.java,
7413         javax/print/attribute/standard/DateTimeAtProcessing.java,
7414         javax/print/attribute/standard/DocumentName.java,
7415         javax/print/attribute/standard/JobHoldUntil.java,
7416         javax/print/attribute/standard/JobImpressionsCompleted.java,
7417         javax/print/attribute/standard/JobMessageFromOperator.java,
7418         javax/print/attribute/standard/JobName.java,
7419         javax/print/attribute/standard/JobOriginatingUserName.java,
7420         javax/print/attribute/standard/JobPriority.java,
7421         javax/print/attribute/standard/JobPrioritySupported.java,
7422         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7423         javax/print/attribute/standard/OutputDeviceAssigned.java,
7424         javax/print/attribute/standard/PrinterInfo.java,
7425         javax/print/attribute/standard/PrinterLocation.java,
7426         javax/print/attribute/standard/PrinterMakeAndModel.java,
7427         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7428         javax/print/attribute/standard/PrinterName.java,
7429         javax/print/attribute/standard/QueuedJobCount.java,
7430         javax/print/attribute/standard/RequestingUserName.java:
7431         Fixed javadocs all over.
7432
7433 2004-05-15  Michael Koch  <konqueror@gmx.de>
7434
7435         * javax/print/DocFlavor.java,
7436         javax/print/attribute/standard/ColorSupported.java,
7437         javax/print/attribute/standard/Compression.java,
7438         javax/print/attribute/standard/CopiesSupported.java,
7439         javax/print/attribute/standard/Fidelity.java,
7440         javax/print/attribute/standard/Finishings.java,
7441         javax/print/attribute/standard/JobImpressionsSupported.java,
7442         javax/print/attribute/standard/JobKOctetsSupported.java,
7443         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7444         javax/print/attribute/standard/JobSheets.java,
7445         javax/print/attribute/standard/JobState.java,
7446         javax/print/attribute/standard/JobStateReason.java,
7447         javax/print/attribute/standard/JobStateReasons.java,
7448         javax/print/attribute/standard/Media.java,
7449         javax/print/attribute/standard/MediaSizeName.java,
7450         javax/print/attribute/standard/MultipleDocumentHandling.java,
7451         javax/print/attribute/standard/NumberUpSupported.java,
7452         javax/print/attribute/standard/OrientationRequested.java,
7453         javax/print/attribute/standard/PDLOverrideSupported.java,
7454         javax/print/attribute/standard/PageRanges.java,
7455         javax/print/attribute/standard/PresentationDirection.java,
7456         javax/print/attribute/standard/PrintQuality.java,
7457         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7458         javax/print/attribute/standard/PrinterMoreInfo.java,
7459         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7460         javax/print/attribute/standard/PrinterResolution.java,
7461         javax/print/attribute/standard/PrinterState.java,
7462         javax/print/attribute/standard/PrinterStateReason.java,
7463         javax/print/attribute/standard/PrinterStateReasons.java,
7464         javax/print/attribute/standard/PrinterURI.java,
7465         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7466         javax/print/attribute/standard/Severity.java,
7467         javax/print/attribute/standard/SheetCollate.java,
7468         javax/print/attribute/standard/Sides.java:
7469         Added serialVersionUID and removed final keyword where it doenst
7470         belong.
7471
7472 2004-05-15  Michael Koch  <konqueror@gmx.de>
7473
7474         * javax/print/PrintServiceLookup.java: New file.
7475
7476 2004-05-15  Michael Koch  <konqueror@gmx.de>
7477
7478         * javax/print/DocFlavor.java:
7479         Implemented all flavor classes.
7480
7481 2004-05-15  Michael Koch  <konqueror@gmx.de>
7482
7483         * javax/print/attribute/standard/ColorSupported.java,
7484         javax/print/attribute/standard/Compression.java,
7485         javax/print/attribute/standard/CopiesSupported.java,
7486         javax/print/attribute/standard/Fidelity.java,
7487         javax/print/attribute/standard/Finishings.java,
7488         javax/print/attribute/standard/JobImpressionsSupported.java,
7489         javax/print/attribute/standard/JobKOctetsSupported.java,
7490         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7491         javax/print/attribute/standard/JobSheets.java,
7492         javax/print/attribute/standard/JobState.java,
7493         javax/print/attribute/standard/JobStateReason.java,
7494         javax/print/attribute/standard/JobStateReasons.java,
7495         javax/print/attribute/standard/Media.java,
7496         javax/print/attribute/standard/MediaSizeName.java,
7497         javax/print/attribute/standard/MultipleDocumentHandling.java,
7498         javax/print/attribute/standard/NumberUpSupported.java,
7499         javax/print/attribute/standard/OrientationRequested.java,
7500         javax/print/attribute/standard/PDLOverrideSupported.java,
7501         javax/print/attribute/standard/PageRanges.java,
7502         javax/print/attribute/standard/PresentationDirection.java,
7503         javax/print/attribute/standard/PrintQuality.java,
7504         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7505         javax/print/attribute/standard/PrinterMoreInfo.java,
7506         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7507         javax/print/attribute/standard/PrinterResolution.java,
7508         javax/print/attribute/standard/PrinterState.java,
7509         javax/print/attribute/standard/PrinterStateReason.java,
7510         javax/print/attribute/standard/PrinterStateReasons.java,
7511         javax/print/attribute/standard/PrinterURI.java,
7512         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7513         javax/print/attribute/standard/Severity.java,
7514         javax/print/attribute/standard/SheetCollate.java,
7515         javax/print/attribute/standard/Sides.java: New files.
7516
7517 2004-05-15  Michael Koch  <konqueror@gmx.de>
7518
7519         * javax/print/Doc.java
7520         (getPrintData): Throws IOException.
7521         (getReaderForText): Likewise.
7522         (getStreamForBytes): Likewise.
7523         * javax/print/DocFlavor.java:
7524         Fixed filename in copyright.
7525         (serialVersionUID): New field.
7526         * javax/print/ServiceUIFactory.java:
7527         Made all constants final.
7528         * javax/print/AttributeException.java
7529         javax/print/MultiDoc.java
7530         javax/print/MultiDocPrintJob.java
7531         javax/print/MultiDocPrintService.java
7532         javax/print/StreamPrintService.java
7533         javax/print/URIException.java: New files.
7534         * javax/print/Makefile.am
7535         (EXTRA_DIST): Added all new files.
7536
7537 2004-05-15  Michael Koch  <konqueror@gmx.de>
7538
7539         * javax/print/attribute/standard/Copies.java,
7540         javax/print/attribute/standard/DateTimeAtCompleted.java,
7541         javax/print/attribute/standard/DateTimeAtCreation.java,
7542         javax/print/attribute/standard/DateTimeAtProcessing.java,
7543         javax/print/attribute/standard/DocumentName.java,
7544         javax/print/attribute/standard/JobHoldUntil.java,
7545         javax/print/attribute/standard/JobImpressions.java,
7546         javax/print/attribute/standard/JobImpressionsCompleted.java,
7547         javax/print/attribute/standard/JobKOctets.java,
7548         javax/print/attribute/standard/JobKOctetsProcessed.java,
7549         javax/print/attribute/standard/JobMediaSheets.java,
7550         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7551         javax/print/attribute/standard/JobMessageFromOperator.java,
7552         javax/print/attribute/standard/JobName.java,
7553         javax/print/attribute/standard/JobOriginatingUserName.java,
7554         javax/print/attribute/standard/JobPriority.java,
7555         javax/print/attribute/standard/JobPrioritySupported.java,
7556         javax/print/attribute/standard/NumberOfDocuments.java,
7557         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7558         javax/print/attribute/standard/NumberUp.java,
7559         javax/print/attribute/standard/OutputDeviceAssigned.java,
7560         javax/print/attribute/standard/PagesPerMinute.java,
7561         javax/print/attribute/standard/PagesPerMinuteColor.java:
7562         Fixed @return tag all over.
7563
7564 2004-05-15  Michael Koch  <konqueror@gmx.de>
7565
7566         * javax/print/attribute/AttributeSetUtilities.java
7567         (verifyCategoryForValue): Fixed typo in javadoc.
7568         * javax/print/attribute/HashAttributeSet.java
7569         (containsKey): Fixed @return tag.
7570         (comtainsValue): Likewise.
7571         (equals): Likewise.
7572         * javax/print/attribute/IntegerSyntax.java
7573         (equals): Likewise.
7574         * javax/print/attribute/ResolutionSyntax.java
7575         (equals): Likewise.
7576         (getCrossFeedResolution): Removed unused code.
7577         (getFeedResolution): Likewise.
7578         * javax/print/attribute/SetOfIntegerSyntax.java
7579         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7580         (equals): Fixed @return tag.
7581         * javax/print/attribute/TextSyntax.java
7582         (TextSyntax): Take locale into account.
7583         (hashCode): Better implementation.
7584
7585 2004-05-15  Michael Koch  <konqueror@gmx.de>
7586
7587         * javax/print/CancelablePrintJob.java,
7588         javax/print/Doc.java,
7589         javax/print/DocFlavor.java,
7590         javax/print/DocPrintJob.java,
7591         javax/print/FlavorException.java,
7592         javax/print/PrintException.java,
7593         javax/print/PrintService.java,
7594         javax/print/ServiceUIFactory.java: New files.
7595
7596 2004-05-15  Mark Wielaard  <mark@klomp.org>
7597
7598         * gnu/regexp/CharIndexedReader.java: Removed.
7599         * gnu/regexp/REFilterReader.java: Likewise.
7600         * gnu/regexp/RETokenLookAhead.java: Likewise.
7601         * Makefile.am (ordinary_java_source_files): Remove above classes.
7602         * Makefile.in: Regenerated.
7603
7604 2004-05-14  Tom Tromey  <tromey@redhat.com>
7605
7606         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7607         not `XGraphicsConfiguration.XOffScreenImage'.
7608
7609 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7610
7611         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7612
7613 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7614
7615         * include/jni.h (_Jv_func): Removed.
7616         (struct JNINativeInterface): Use `void *' for reserved slots.
7617         (struct JNIInvokeInterface): Likewise.
7618
7619 2004-05-11  Michael Koch  <konqueror@gmx.de>
7620
7621         * gnu/java/net/natPlainSocketImplPosix.cc
7622         (read): Fixed typo in expression.
7623
7624 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7625
7626         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7627         ld_library_additions. Adjust all calls to libjava_invoke to match
7628         the new argument.
7629
7630         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7631         path to cxxflagslist.
7632         Pass path of libstdc++ to libjava_invoke.
7633
7634         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7635         libjava_invoke arguments.
7636
7637 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7638
7639         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7640         reality.
7641
7642 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7643
7644         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7645         main binary against the JNI shared library.
7646
7647 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7648
7649         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7650         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7651         (SimpleTimeZone): Tweak docs.  Add new variation.
7652         (setStartRule,setEndRule): Add new variations.  Use
7653         startTimeMode and endTimeMode.
7654
7655 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7656
7657         * java/util/Calendar.java (getActualMinimum,
7658         getActualMaximum):  Remove abstract.  Implement.
7659
7660 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7661
7662         Run the jni tests using the interpreter.
7663         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7664         options_cxx to shared lib compile command.
7665         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7666         they are used to link the shared lib, not the main binary.
7667         Use libjava_invoke to run gij.
7668
7669 2004-05-06  Michael Koch  <konqueror@gmx.de>
7670
7671         * java/util/logging/Level.java
7672         (parse): Use == instead of String.equals().
7673
7674 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7675
7676         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7677         verify_field_signature and verify_method_signature, not 
7678         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7679         (_Jv_ClassReader::handleField): Likewise.
7680         (_Jv_ClassReader::handleMethod): Likewise.
7681
7682 2004-05-06  Michael Koch  <konqueror@gmx.de>
7683
7684         * javax/swing/table/TableColumn.java:
7685         Reformated.
7686
7687 2004-05-06  Michael Koch  <konqueror@gmx.de>
7688
7689         * javax/imageio/spi/ImageReaderWriterSpi.java
7690         (ImageReaderWriterSpi): Made it public.
7691         * javax/imageio/stream/ImageInputStream.java:
7692         Clean up imports.
7693
7694 2004-05-06  Michael Koch  <konqueror@gmx.de>
7695
7696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7697         Removed empty line.
7698
7699 2004-05-06  Michael Koch  <konqueror@gmx.de>
7700
7701         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7702         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7703         New files.
7704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7705         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7707         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7708         their own source file.
7709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7710         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7711         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7713         (create): Define variable on top of function.
7714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7715         (menu_pos): Prototyped.
7716         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7717         (setTitle): Removed.
7718         * jni/gtk-peer/gthread-jni.c
7719         (gdk_threads_wake): Removed.
7720         * Makefile.am (gtk_c_source_files): Added new files
7721         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7722         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7723         * Makefile.in: Regenerated.
7724
7725 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7726
7727         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7728         call.
7729
7730 2004-05-05  Mark Wielaard  <mark@klomp.org>
7731
7732         * javax/swing/AbstractButton.java: Replace special HTML entities with
7733         ASCII equivalent.
7734         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7735         * javax/swing/DefaultButtonModel.java: Likewise.
7736         * javax/swing/DefaultListModel.java: Likewise.
7737         * javax/swing/JList.java: Likewise.
7738         * javax/swing/JSlider.java: Likewise.
7739         * javax/swing/ListModel.java: Likewise.
7740         * javax/swing/Popup.java: Likewise.
7741         * javax/swing/SwingUtilities.java: Likewise.
7742
7743 2004-05-05  Michael Koch  <konqueror@gmx.de>
7744
7745         * javax/swing/AbstractButton.java,
7746         javax/swing/ActionMap.java,
7747         javax/swing/DefaultButtonModel.java,
7748         javax/swing/DefaultListModel.java,
7749         javax/swing/ImageIcon.java,
7750         javax/swing/JComboBox.java,
7751         javax/swing/JComponent.java,
7752         javax/swing/JFrame.java,
7753         javax/swing/JInternalFrame.java,
7754         javax/swing/JMenuBar.java,
7755         javax/swing/JMenuItem.java,
7756         javax/swing/JOptionPane.java,
7757         javax/swing/JProgressBar.java,
7758         javax/swing/JRootPane.java,
7759         javax/swing/JScrollBar.java,
7760         javax/swing/JScrollPane.java,
7761         javax/swing/JSeparator.java,
7762         javax/swing/JSlider.java,
7763         javax/swing/JTabbedPane.java,
7764         javax/swing/JTable.java,
7765         javax/swing/JTextField.java,
7766         javax/swing/JToolBar.java,
7767         javax/swing/JToolTip.java,
7768         javax/swing/JTree.java,
7769         javax/swing/JViewport.java,
7770         javax/swing/JWindow.java,
7771         javax/swing/KeyStroke.java,
7772         javax/swing/LookAndFeel.java,
7773         javax/swing/SwingUtilities.java,
7774         javax/swing/Timer.java,
7775         javax/swing/ToolTipManager.java,
7776         javax/swing/UIDefaults.java,
7777         javax/swing/border/TitledBorder.java,
7778         javax/swing/filechooser/FileSystemView.java,
7779         javax/swing/plaf/basic/BasicButtonListener.java,
7780         javax/swing/plaf/basic/BasicButtonUI.java,
7781         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7782         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7783         javax/swing/plaf/basic/BasicLabelUI.java,
7784         javax/swing/plaf/basic/BasicMenuItemUI.java,
7785         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7786         javax/swing/plaf/basic/BasicRootPaneUI.java,
7787         javax/swing/plaf/basic/BasicScrollBarUI.java,
7788         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7789         javax/swing/plaf/basic/BasicSliderUI.java,
7790         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7791         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7792         javax/swing/table/JTableHeader.java,
7793         javax/swing/text/AbstractDocument.java,
7794         javax/swing/text/DefaultCaret.java,
7795         javax/swing/text/StyledEditorKit.java,
7796         javax/swing/tree/DefaultTreeCellEditor.java:
7797         Cleaned up imports.
7798
7799 2004-05-05  Michael Koch  <konqueror@gmx.de>
7800
7801         * java/util/prefs/AbstractPreferences.java
7802         (AbstractPreferences): Added parenthesis for clarity.
7803         Closes classpath bug #7940.
7804
7805 2004-05-05  Tom Tromey  <tromey@redhat.com>
7806
7807         * javax/naming/CompoundName.java (endsWith): Look at correct
7808         element of source name.
7809
7810 2004-05-05  Mark Wielaard  <mark@klomp.org>
7811
7812         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7813         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7814
7815 2004-05-05  Tom Tromey  <tromey@redhat.com>
7816
7817         * java/io/BufferedReader.java (skip): Removed unused
7818         variable.
7819
7820 2004-05-05  Michael Koch  <konqueror@gmx.de>
7821
7822         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7823
7824 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7825
7826         * java/text/AttributedString.java,
7827         java/text/AttributedStringIterator.java,
7828         java/text/Collator.java,
7829         java/text/DecimalFormatSymbols.java,
7830         java/text/NumberFormat.java,
7831         java/text/RuleBasedCollator.java:
7832         Cleaned up imports.
7833
7834 2004-05-05  Tom Tromey  <tromey@redhat.com>
7835
7836         * java/text/Format.java: Cleaned up imports.
7837         * java/text/DecimalFormat.java: Cleaned up imports.
7838         * java/security/SecureRandom.java: Cleaned up imports.
7839         (SecureRandom): Removed unused variable.
7840         * java/security/UnresolvedPermission.java: Cleaned up imports.
7841         * java/util/Date.java (parse): Removed unused variable.
7842         * java/util/ResourceBundle.java: Cleaned up imports.
7843         (getBundle): Removed unused variable.
7844         (tryBundle): Likewise.
7845         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7846
7847 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7848
7849         * java/text/SimpleDateFormat.java:
7850         (formatWithAttribute): New method. It implements
7851         the formatting process with attributes.
7852         (format): Use formatWithAttribute.
7853         (formatToCharacterIterator): New method. Use
7854         formatWithAttribute.
7855
7856 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7857
7858         * java/text/MessageFormat.java:
7859         (class Field): New class.
7860         (formatToCharacterIterator): New method.
7861         (format): Use formatInternal now.
7862         (formatInternal): New method. String formatter should
7863         be done here (with attributes). Attributes merging supported.
7864         (parse): More documentation.
7865         (getFormatsByArgumentIndex): New method.
7866         (setFormatByArgumentIndex): New method.
7867         (setFormatsByArgumentIndex): New method.
7868
7869 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7870
7871         * java/text/DecimalFormat.java
7872         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7873         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7874         (parse): Fixed handling of exponentiation notation and grouping.
7875
7876 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7877
7878         * java/text/DecimalFormat.java
7879         (scanFix): Build attribute array. Fixed error reporting.
7880         (applyPatternWithSymbols): Store attributes for the prefix and
7881         suffix.
7882         (formatInternal): New method. Changed the way the string is
7883         computed. Implemented attributes. Cleant up rounding in
7884         exponential notation.
7885         (format): Use formatInternal.
7886         (formatToCharacterIterator): New method.
7887         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7888         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7889         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7890         New fields.
7891
7892 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7893
7894         * java/security/interfaces/DSAKeyPairGenerator.java,
7895         java/security/interfaces/DSAPrivateKey.java,
7896         java/security/interfaces/DSAPublicKey.java,
7897         java/security/interfaces/RSAPrivateKey.java,
7898         java/security/interfaces/RSAPublicKey.java:
7899         Cleaned up imports.
7900
7901 2004-05-04  Michael Koch  <konqueror@gmx.de>
7902
7903         * java/nio/ByteBuffer.java,
7904         java/nio/CharBuffer.java,
7905         java/nio/DoubleBuffer.java,
7906         java/nio/FloatBuffer.java,
7907         java/nio/IntBuffer.java,
7908         java/nio/LongBuffer.java,
7909         java/nio/ShortBuffer.java:
7910         (compareTo): Fixed bogus implementation in all buffer classes.
7911
7912 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7913
7914         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7915         32 bit pixels not 8 bit pixels.
7916         (isCompatibleRaster): Added javadoc comment.
7917
7918 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7919
7920         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7921         scanline stride.
7922
7923 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7924
7925         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7926         (getColorModel): Return the actual color model.
7927         (getRaster): Implemented.
7928         (ColorRaster): New inner class.
7929         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7930         a PaintContext.
7931         * java/awt/Color.java (<init>): Make exception more verbose.
7932         (createContext): Use ColorModel when creating a PaintContext.
7933
7934 2004-05-04  Michael Koch  <konqueror@gmx.de>
7935
7936         * gnu/java/text/CharacterBreakIterator.java
7937         (previous): Removed unused variable.
7938
7939 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7940
7941         * gnu/java/text/FormatBuffer.java,
7942         gnu/java/text/AttributedFormatBuffer.java,
7943         gnu/java/text/StringFormatBuffer.java: New classes to implement
7944         attributed iterators in java.text.
7945         * gnu/java/text/FormatCharacterIterator.java: Moved 
7946         from java/text as it is an internal class.
7947         * java/text/FormatCharacterIterator.java: Removed.
7948         * java/text/Format.java:
7949         Import gnu.java.text.FormatCharacterIterator.
7950         * Makefile.am (java_source_files): Added new files.
7951         * Makefile.in: Regenerated.
7952         
7953
7954 2004-05-04  Mark Wielaard  <mark@klomp.org>
7955
7956         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7957
7958 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7959
7960         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7961         * Makefile.in: Rebuilt.
7962
7963 2004-05-03  Mark Wielaard  <mark@klomp.org>
7964
7965         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7966         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7967         * java/net/URL.java
7968         (set(String, String, int, String, String, String, String, String)):
7969         Assign this.file to path or path + "?" + query.
7970         * java/util/Arrays.java: Call static methods staticly.
7971         * java/util/zip/ZipEntry.java: Likewise.
7972         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7973         dir to this.direction.
7974         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7975         Assign static field only once.
7976         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7977
7978 2004-05-03  Mark Wielaard  <mark@klomp.org>
7979
7980         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7981         unused variables hScrollbarHeight and vScrollbarWidth.
7982         (preferredSize): Likewise.
7983         * gnu/java/security/provider/DSAParameters.java (engineToString):
7984         Removed unused call to System.getProperty("line.seperator");
7985         * java/security/Security.java (loadProviders): Return result.
7986
7987 2004-05-03  Tom Tromey  <tromey@redhat.com>
7988
7989         * java/net/URLStreamHandler.java (toExternalForm): Removed
7990         unused variables.
7991         unused constructor.
7992         * java/math/BigDecimal.java (divide): Removed unused variable.
7993         * java/lang/Throwable.java: Cleaned up imports.
7994         * java/lang/ClassLoader.java: Cleaned up imports.
7995         * java/io/FilePermission.java (implies): Removed unused
7996         variable.
7997         * java/awt/TextComponent.java: Removed unused import.
7998         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7999         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8000         * gnu/java/text/WordBreakIterator.java: Removed unused import.
8001         * gnu/java/text/SentenceBreakIterator.java: Removed unused
8002         import.
8003         * gnu/java/text/LineBreakIterator.java: Removed unused import.
8004         * gnu/java/text/CharacterBreakIterator.java: Removed
8005         unused import.
8006         * gnu/java/security/provider/DSAKeyPairGenerator.java:
8007         Cleaned up imports.
8008         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8009         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8010         unused method.
8011         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8012         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8013         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8014         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8015         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8016         (lookupProviders): Removed unused variable.
8017         (loadNextServiceProvider): Likewise.
8018         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8019
8020 2004-05-03  Michael Koch  <konqueror@gmx.de>
8021
8022         Fixes PR libgcj/14695:
8023         * java/net/NetworkInterface.java
8024         (getByName): Return null when no interface was found.
8025
8026 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
8027             Tom Tromey  <tromey@redhat.com>
8028
8029         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8030         additional option "-Wmissing-prototypes" for compiling C sources.
8031         Print actual filename for pass/fail rather than $name.c.
8032         * testsuite/libjava.jni/PR15133.java: New testcase file.
8033         * testsuite/libjava.jni/PR15133.c: Likewise.
8034         * testsuite/libjava.jni/PR15133.out: Likewise.
8035
8036 2004-04-30  Roger Sayle  <roger@eyesopen.com>
8037
8038         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8039         ceil and floor.
8040
8041 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
8042         
8043         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8044         limit the maximum heap size to avoid unnecessary thrashing.
8045
8046 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
8047
8048         * java/text/CollationElementIterator.java (reset): Reset
8049         lookahead variables.
8050
8051 2004-04-23  Mark Wielaard  <mark@klomp.org>
8052
8053         * jni/classpath/jcl.c: Changed C++ comments into C comments.
8054
8055 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8056
8057         * java/sql/DriverManager.java:
8058         Cleaned up imports.
8059
8060 2004-04-23  Michael Koch  <konqueror@gmx.de>
8061
8062         * java/net/URL.java
8063         (hashcode): Don't initialize with default value explicitely.
8064         (getContent): Removed redundant "final" keyword.
8065         (openStream): Likewise.
8066         (getURLStreamHandler): Fixed coding style.
8067         * java/net/URLConnection.java
8068         (defaultAllowUserInteraction): Don't initialize with default value
8069         explicitely.
8070         (connected): Likewise.
8071         (doOutput): Likewise.
8072         (ifModifiedSince): Likewise.
8073         (dateformats_initialized): Likewise.
8074         (setURLStreamHander): Use StreamTokenizer where it belongs to.
8075
8076 2004-04-23  Michael Koch  <konqueror@gmx.de>
8077
8078         * gnu/java/nio/channels/FileChannelImpl.java
8079         (SET, CUR): Unused, removed.
8080         (read): Implement here directly.
8081         (implRead): Removed.
8082         (write): Implement here directly.
8083         (implWrite): Removed.
8084
8085 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8086
8087         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8088         javax/rmi/CORBA/Stub.java,
8089         javax/rmi/CORBA/Util.java,
8090         javax/rmi/CORBA/ValueHandler.java,
8091         javax/rmi/CORBA/ValueHandler.java,
8092         javax/rmi/PortableRemoteObject.java:
8093         Cleaned up imports.
8094
8095 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8096
8097         * java/util/jar/JarFile.java,
8098         java/util/jar/JarInputStream.java,
8099         java/util/jar/JarOutputStream.java,
8100         java/util/jar/Manifest.java:
8101         Cleaned up imports.
8102
8103 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8104
8105         * java/util/ArrayList.java,
8106         java/util/Calendar.java,
8107         java/util/Currency.java,
8108         java/util/HashMap.java,
8109         java/util/HashSet.java,
8110         java/util/Hashtable.java,
8111         java/util/LinkedList.java,
8112         java/util/Properties.java,
8113         java/util/PropertyPermission.java,
8114         java/util/TimeZone.java,
8115         java/util/TreeMap.java,
8116         java/util/TreeSet.java,
8117         java/util/Vector.java,
8118         java/util/WeakHashMap.java:
8119         Cleaned up imports.
8120
8121 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
8122
8123         * java/util/logging/FileHandler.java,
8124         java/util/logging/Formatter.java,
8125         java/util/logging/Handler.java,
8126         java/util/logging/Logger.java,
8127         java/util/logging/SimpleFormatter.java,
8128         java/util/logging/XMLFormatter.java:
8129         Cleaned up imports.
8130
8131 2004-04-22  Mark Wielaard  <mark@klomp.org>
8132
8133         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8134         -Wno-long-long flags variable.
8135         (gtk_c_files): Use PEDANTIC_CFLAGS.
8136         * Makefile.in: Regenerated.
8137
8138 2004-04-22  Mark Wielaard  <mark@klomp.org>
8139
8140         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8141         Changed C++ comments into C comments.
8142         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8143         Likewise.
8144
8145 2004-04-22  Michael Koch  <konqueror@gmx.de>
8146
8147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8148         Merged copyright year with GNU classpath.
8149
8150 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8151
8152         * javax/security/auth/x500/X500Principal.java:
8153         Cleaned up imports.
8154
8155 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8156
8157         * javax/swing/JSlider.java:
8158         Fixed HTML tags in comments.
8159
8160 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8161
8162         * javax/accessibility/AccessibleText.java:
8163         Cleaned up imports.
8164
8165 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
8166
8167         * java/net/URLStreamHandler.java
8168         (parseURL): Convert the file path to using '/' instead of native
8169         file separator.
8170
8171 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
8172
8173         * java/net/URL.java
8174         (userInfo): New field.
8175         (URL): Set authority to the right value.
8176         (setURL): Fixed authority and file initialization.
8177         * java/net/URLStreamHandler.java
8178         (parseURL): Take care of the query tag. Build authority.
8179         (toExternalForm): Fixed URL building using authority.
8180
8181 2004-04-22  Michael Koch  <konqueror@gmx.de>
8182
8183         * java/net/Socket.java
8184         (impl): Made package-private.
8185         * java/net/ServerSocket.java
8186         (implAccept): Access Socket.impl field directly.
8187
8188 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8189
8190         * java/util/prefs/Preferences.java,
8191         java/util/prefs/InvalidPreferencesFormatException.java,
8192         java/util/prefs/BackingStoreException.java,
8193         java/util/prefs/AbstractPreferences.java:
8194         Cleaned up imports.
8195
8196 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8197
8198         * java/util/regex/Matcher.java,
8199         java/util/regex/Pattern.java:
8200         Cleaned up imports.
8201
8202 2004-04-22  Michael Koch  <konqueror@gmx.de>
8203
8204         * java/nio/charset/IllegalCharsetNameException.java
8205         (charsetName): Made private.
8206         (IllegalCharsetNameException): Added @param tag to javadoc.
8207         (getCharsetName): Added @return tag to javadoc.
8208         * java/nio/charset/MalformedInputException.java
8209         (MalformedInputException): Added @param tag to javadoc.
8210         (getInputLength): Revised method description, added @return tag.
8211         (getMessage): Added @return tag.
8212
8213 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8214
8215         * java/awt/Font.java (deriveFont): Implement missing variants.
8216         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8217         missing variants.
8218
8219 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8220
8221         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8222         Set method->index values for interface methods to their itable index.
8223         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8224
8225 2004-04-21  Michael Koch  <konqueror@gmx.de>
8226
8227         * java/nio/DirectByteBufferImpl.java
8228         (shiftDown): Made static, give address as argument and
8229         provide a convenience method that overwrites shiftDown in
8230         ByteBufferImpl and calls the native shiftDown.
8231         * java/nio/MappedByteBufferImpl.java
8232         (): Use optimized method in DirectByteBufferImpl.
8233         * java/nio/natDirectByteBufferImpl.cc
8234         (shiftDown): Changed method signature. Removed usage of array_offset.
8235
8236 2004-04-21  Michael Koch  <konqueror@gmx.de>
8237
8238         * gnu/java/net/natPlainSocketImplPosix.cc
8239         (SocketInputStream::read): Make sure returned data is a byte value.
8240
8241 2004-04-21  Michael Koch  <konqueror@gmx.de>
8242
8243         * gnu/classpath/ServiceFactory.java,
8244         gnu/classpath/ServiceProviderLoadingAction.java,
8245         javax/imageio/ImageReader.java,
8246         javax/imageio/ImageTranscoder.java,
8247         javax/imageio/ImageWriter.java,
8248         javax/imageio/package.html,
8249         javax/imageio/spi/IIOServiceProvider.java,
8250         javax/imageio/spi/ImageInputStreamSpi.java,
8251         javax/imageio/spi/ImageOutputStreamSpi.java,
8252         javax/imageio/spi/ImageReaderWriterSpi.java,
8253         javax/imageio/spi/ImageTranscoderSpi.java,
8254         javax/imageio/spi/RegisterableService.java,
8255         javax/imageio/spi/ServiceRegistry.java,
8256         javax/imageio/spi/package.html,
8257         javax/imageio/stream/IIOByteBuffer.java,
8258         javax/imageio/stream/ImageInputStream.java,
8259         javax/imageio/stream/ImageOutputStream.java,
8260         javax/imageio/stream/package.html:
8261         New files.
8262         * Makefile.am
8263         (ordinary_java_source_files): Added
8264         gnu/classpath/ServiceFactory.java and
8265         gnu/classpath/ServiceProviderLoadingAction.java.
8266         (javax_source_files): Added
8267         javax/imageio/ImageReader.java,
8268         javax/imageio/ImageTranscoder.java,
8269         javax/imageio/ImageWriter.java,
8270         javax/imageio/spi/IIOServiceProvider.java,
8271         javax/imageio/spi/ImageInputStreamSpi.java,
8272         javax/imageio/spi/ImageOutputStreamSpi.java,
8273         javax/imageio/spi/ImageReaderWriterSpi.java,
8274         javax/imageio/spi/ImageTranscoderSpi.java,
8275         javax/imageio/spi/RegisterableService.java,
8276         javax/imageio/spi/ServiceRegistry.java,
8277         javax/imageio/stream/IIOByteBuffer.java,
8278         javax/imageio/stream/ImageInputStream.java and
8279         javax/imageio/stream/ImageOutputStream.java.
8280         * Makefile.in: Regenerated.
8281
8282 2004-04-21  Michael Koch  <konqueror@gmx.de>
8283
8284         * java/util/Properties.java
8285         (load): Fix wrongly merged fix.
8286
8287 2004-04-21  Mark Wielaard  <mark@klomp.org>
8288
8289         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8290         malloc and free buf.
8291
8292 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8293
8294         * javax/naming/AuthenticationException.java,
8295         javax/naming/AuthenticationNotSupportedException.java,
8296         javax/naming/CannotProceedException.java,
8297         javax/naming/CommunicationException.java,
8298         javax/naming/CompoundName.java,
8299         javax/naming/ConfigurationException.java,
8300         javax/naming/ContextNotEmptyException.java,
8301         javax/naming/InitialContext.java,
8302         javax/naming/InsufficientResourcesException.java,
8303         javax/naming/InterruptedNamingException.java,
8304         javax/naming/LimitExceededException.java,
8305         javax/naming/LinkException.java,
8306         javax/naming/LinkLoopException.java,
8307         javax/naming/LinkRef.java,
8308         javax/naming/MalformedLinkException.java,
8309         javax/naming/Name.java,
8310         javax/naming/NameAlreadyBoundException.java,
8311         javax/naming/NameNotFoundException.java,
8312         javax/naming/NamingSecurityException.java,
8313         javax/naming/NoInitialContextException.java,
8314         javax/naming/NoPermissionException.java,
8315         javax/naming/NotContextException.java,
8316         javax/naming/PartialResultException.java,
8317         javax/naming/ReferralException.java,
8318         javax/naming/ServiceUnavailableException.java,
8319         javax/naming/SizeLimitExceededException.java,
8320         javax/naming/TimeLimitExceededException.java,
8321         javax/naming/directory/Attribute.java,
8322         javax/naming/directory/Attributes.java,
8323         javax/naming/directory/SearchResult.java,
8324         javax/naming/event/NamingExceptionEvent.java,
8325         javax/naming/spi/ResolveResult.java:
8326         Cleaned up imports.
8327
8328 2004-04-21  Mark Wielaard  <mark@klomp.org>
8329
8330         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8331         Changed C++ comments into C comments. Removed commented out code.
8332         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8333         Likewise.
8334         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8335         Likewise.
8336         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8337         Likewise.
8338         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8339         Likewise.
8340         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8341         Likewise.
8342         * native/jni/gtk-peer/gthread-jni.c:
8343         Likewise.
8344
8345 2004-04-21  Mark Wielaard  <mark@klomp.org>
8346
8347         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8348         static fields defined in interface.
8349         * javax/awt/JDialog.java: Likewise.
8350         (JDialog): Make constructors public.
8351         (getDefaultCloseOperation): Make public.
8352         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8353         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8354         * javax/swing/JViewport.java (JViewport): Make constructor public.
8355
8356 2004-04-21  Michael Koch  <konqueror@gmx.de>
8357
8358         * java/util/Map.java
8359         (Entry): Removed redundant "static" modifier.
8360         * java/text/AttributedCharacterIterator.java:
8361         Updated copyright year.
8362
8363 2004-04-20  Michael Koch  <konqueror@gmx.de>
8364
8365         * javax/naming/directory/SearchControls.java:
8366         Don't explicitely extend java.lang.Object.
8367         * javax/naming/spi/DirStateFactory.java:
8368         Merged copyright year with GNU classpath.
8369
8370 2004-04-20  Michael Koch  <konqueror@gmx.de>
8371
8372         * java/nio/channels/Channels.java:
8373         Merged coding style with GNU classpath.
8374
8375 2004-04-20  Michael Koch  <konqueror@gmx.de>
8376
8377         * java/net/ServerSocket.java
8378         Merged coding style from GNU classpath.
8379
8380 2004-04-20  Michael Koch  <konqueror@gmx.de>
8381
8382         * java/io/BufferedWriter.java:
8383         Reordered variables to be at top of the class.
8384         (localFlush): Removed redundant final keyword.
8385
8386 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8387
8388         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8389
8390 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8391
8392         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8393         for percent and permill check.
8394
8395 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8396
8397         * java/text/FieldPosition.java
8398         (FieldPosition) Constructor now behaves as it should according
8399         to the java documentation.
8400
8401 2004-04-20  Mark Wielaard  <mark@klomp.org>
8402
8403         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8404         documentation.
8405
8406 2004-04-20  Michael Koch  <konqueror@gmx.de>
8407
8408         * java/nio/Buffer.java,
8409         java/nio/channels/AlreadyConnectedException.java,
8410         java/nio/channels/AsynchronousCloseException.java,
8411         java/nio/channels/ByteChannel.java,
8412         java/nio/channels/CancelledKeyException.java,
8413         java/nio/channels/Channel.java,
8414         java/nio/channels/Channels.java,
8415         java/nio/channels/ClosedByInterruptException.java,
8416         java/nio/channels/ClosedChannelException.java,
8417         java/nio/channels/ClosedSelectorException.java,
8418         java/nio/channels/ConnectionPendingException.java,
8419         java/nio/channels/DatagramChannel.java,
8420         java/nio/channels/FileChannel.java,
8421         java/nio/channels/FileLock.java,
8422         java/nio/channels/FileLockInterruptionException.java,
8423         java/nio/channels/GatheringByteChannel.java,
8424         java/nio/channels/IllegalBlockingModeException.java,
8425         java/nio/channels/IllegalSelectorException.java,
8426         java/nio/channels/InterruptibleChannel.java,
8427         java/nio/channels/NoConnectionPendingException.java,
8428         java/nio/channels/NonReadableChannelException.java,
8429         java/nio/channels/NonWritableChannelException.java,
8430         java/nio/channels/NotYetBoundException.java,
8431         java/nio/channels/NotYetConnectedException.java,
8432         java/nio/channels/OverlappingFileLockException.java,
8433         java/nio/channels/Pipe.java,
8434         java/nio/channels/ReadableByteChannel.java,
8435         java/nio/channels/ScatteringByteChannel.java,
8436         java/nio/channels/SelectableChannel.java,
8437         java/nio/channels/SelectionKey.java,
8438         java/nio/channels/Selector.java,
8439         java/nio/channels/ServerSocketChannel.java,
8440         java/nio/channels/SocketChannel.java,
8441         java/nio/channels/UnresolvedAddressException.java,
8442         java/nio/channels/UnsupportedAddressTypeException.java,
8443         java/nio/channels/WritableByteChannel.java,
8444         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8445         java/nio/channels/spi/AbstractSelectableChannel.java,
8446         java/nio/channels/spi/AbstractSelectionKey.java,
8447         java/nio/channels/spi/AbstractSelector.java,
8448         java/nio/channels/spi/SelectorProvider.java,
8449         java/nio/charset/spi/CharsetProvider.java:
8450         Fixed javadocs and jalopied all over java.nio.
8451
8452 2004-04-20  Michael Koch  <konqueror@gmx.de>
8453
8454         * java/nio/ByteBufferImpl.java,
8455         java/nio/CharBufferImpl.java,
8456         java/nio/DirectByteBufferImpl.java,
8457         java/nio/DoubleBufferImpl.java,
8458         java/nio/DoubleViewBufferImpl.java,
8459         java/nio/FloatBufferImpl.java,
8460         java/nio/FloatViewBufferImpl.java,
8461         java/nio/IntBufferImpl.java,
8462         java/nio/IntViewBufferImpl.java,
8463         java/nio/LongBufferImpl.java,
8464         java/nio/LongViewBufferImpl.java,
8465         java/nio/MappedByteBufferImpl.java,
8466         java/nio/ShortBufferImpl.java,
8467         java/nio/ShortViewBufferImpl.java:
8468         Made sure all classes are final and removed final keyword from all
8469         methods.
8470
8471 2004-04-20  Michael Koch  <konqueror@gmx.de>
8472
8473         * java/rmi/MarshalledObject.java,
8474         java/rmi/Naming.java,
8475         java/rmi/RemoteException.java,
8476         java/rmi/activation/ActivationException.java,
8477         java/rmi/server/ServerCloneException.java,
8478         java/security/AccessController.java,
8479         java/security/AlgorithmParameterGenerator.java,
8480         java/security/AlgorithmParameters.java,
8481         java/security/CodeSource.java,
8482         java/security/Identity.java,
8483         java/security/IdentityScope.java,
8484         java/security/KeyPairGenerator.java,
8485         java/security/KeyStore.java,
8486         java/security/Security.java,
8487         java/security/Signature.java,
8488         java/security/SignatureSpi.java,
8489         java/security/SignedObject.java,
8490         java/security/spec/DSAParameterSpec.java,
8491         java/security/spec/DSAPrivateKeySpec.java,
8492         java/security/spec/DSAPublicKeySpec.java,
8493         java/sql/Array.java,
8494         java/sql/DatabaseMetaData.java,
8495         java/sql/ResultSet.java,
8496         java/text/ChoiceFormat.java,
8497         java/text/CollationElementIterator.java,
8498         java/text/CollationKey.java,
8499         java/text/Collator.java,
8500         java/text/DateFormat.java,
8501         java/text/DateFormatSymbols.java,
8502         java/text/DecimalFormatSymbols.java,
8503         java/text/Format.java,
8504         java/text/ParsePosition.java,
8505         java/text/RuleBasedCollator.java,
8506         java/text/SimpleDateFormat.java,
8507         java/text/StringCharacterIterator.java,
8508         java/util/Collections.java,
8509         java/util/PropertyResourceBundle.java,
8510         java/util/ResourceBundle.java,
8511         java/util/StringTokenizer.java,
8512         java/util/jar/Attributes.java,
8513         java/util/logging/ConsoleHandler.java,
8514         java/util/logging/LogManager.java,
8515         java/util/logging/MemoryHandler.java,
8516         java/util/logging/SocketHandler.java,
8517         javax/naming/NamingException.java:
8518         Fixed javadoc, coding style and argument names all over.
8519
8520 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8521
8522         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8523         constructor. (valid) Added null check.
8524
8525 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8526
8527         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8528         * java/io/FileOutputStream.java
8529         (FileOutputStream) Reorganized constructors. Constructors now
8530         check whether the given path is directory.
8531
8532 2004-04-20  Michael Koch  <konqueror@gmx.de>
8533
8534         * java/net/Authenticator.java,
8535         java/net/BindException.java,
8536         java/net/ConnectException.java,
8537         java/net/ContentHandler.java,
8538         java/net/ContentHandlerFactory.java,
8539         java/net/DatagramPacket.java,
8540         java/net/DatagramSocket.java,
8541         java/net/DatagramSocketImpl.java,
8542         java/net/DatagramSocketImplFactory.java,
8543         java/net/FileNameMap.java,
8544         java/net/HttpURLConnection.java,
8545         java/net/Inet4Address.java,
8546         java/net/Inet6Address.java,
8547         java/net/InetAddress.java,
8548         java/net/InetSocketAddress.java,
8549         java/net/JarURLConnection.java,
8550         java/net/MalformedURLException.java,
8551         java/net/MulticastSocket.java,
8552         java/net/NetPermission.java,
8553         java/net/NetworkInterface.java,
8554         java/net/NoRouteToHostException.java,
8555         java/net/PasswordAuthentication.java,
8556         java/net/PortUnreachableException.java,
8557         java/net/ProtocolException.java,
8558         java/net/ServerSocket.java,
8559         java/net/Socket.java,
8560         java/net/SocketAddress.java,
8561         java/net/SocketException.java,
8562         java/net/SocketImpl.java,
8563         java/net/SocketImplFactory.java,
8564         java/net/SocketOptions.java,
8565         java/net/SocketPermission.java,
8566         java/net/SocketTimeoutException.java,
8567         java/net/URI.java,
8568         java/net/URISyntaxException.java,
8569         java/net/URL.java,
8570         java/net/URLClassLoader.java,
8571         java/net/URLConnection.java,
8572         java/net/URLDecoder.java,
8573         java/net/URLEncoder.java,
8574         java/net/URLStreamHandler.java,
8575         java/net/URLStreamHandlerFactory.java,
8576         java/net/UnknownHostException.java,
8577         java/net/UnknownServiceException.java:
8578         Fixed javadocs, coding style and argument names all over.
8579
8580 2004-04-20  Michael Koch  <konqueror@gmx.de>
8581
8582         * java/lang/Byte.java,
8583         java/lang/CharSequence.java,
8584         java/lang/ClassLoader.java,
8585         java/lang/Compiler.java,
8586         java/lang/Double.java,
8587         java/lang/Float.java,
8588         java/lang/Integer.java,
8589         java/lang/Long.java,
8590         java/lang/Math.java,
8591         java/lang/Number.java,
8592         java/lang/Package.java,
8593         java/lang/Runtime.java,
8594         java/lang/RuntimePermission.java,
8595         java/lang/SecurityManager.java,
8596         java/lang/Short.java,
8597         java/lang/StringBuffer.java,
8598         java/lang/System.java,
8599         java/lang/ThreadGroup.java,
8600         java/lang/Throwable.java,
8601         java/lang/reflect/InvocationHandler.java,
8602         java/lang/reflect/Proxy.java:
8603         Fixed javadocs, coding style and argument names all over.
8604
8605 2004-04-20  Michael Koch  <konqueror@gmx.de>
8606
8607         * java/io/BufferedWriter.java,
8608         java/io/ByteArrayInputStream.java,
8609         java/io/CharArrayWriter.java,
8610         java/io/DataInput.java,
8611         java/io/DataInputStream.java,
8612         java/io/File.java,
8613         java/io/FilterInputStream.java,
8614         java/io/InputStream.java,
8615         java/io/InputStreamReader.java,
8616         java/io/ObjectInputStream.java,
8617         java/io/ObjectStreamClass.java,
8618         java/io/PipedInputStream.java,
8619         java/io/PipedReader.java,
8620         java/io/PushbackInputStream.java,
8621         java/io/PushbackReader.java,
8622         java/io/RandomAccessFile.java,
8623         java/io/SerializablePermission.java,
8624         java/io/StreamTokenizer.java,
8625         java/io/StringWriter.java,
8626         java/io/WriteAbortedException.java,
8627         java/io/Writer.java:
8628         Fixed javadocs all over, rename arguments to match javadocs,
8629         fixed coding style.
8630
8631 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8632
8633         * java/awt/FontMetrics.java:
8634         (charsWidth): fixed accumulation of total_width
8635         (getWidth): simple default implementation
8636         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8637         in Rectangle constructor.
8638         * java/awt/image/Raster.java (toString): Added method. 
8639         * java/awt/image/SampleModel.java (<init>): Added error cause
8640         information to thrown exception.
8641         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8642         New method.
8643         (setDataElements): New method.
8644         (setPixels): New method.
8645         (toString): New method.
8646
8647 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8648
8649         * java/awt/image/ComponentColorModel.java
8650         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8651         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8652         Mauve tests on this method. Improved documentation.
8653
8654 2004-04-20  Michael Koch  <konqueror@gmx.de>
8655
8656         * javax/swing/JLayeredPane.java,
8657         javax/swing/plaf/BorderUIResource.java,
8658         javax/swing/plaf/ComponentUI.java,
8659         javax/swing/undo/CompoundEdit.java,
8660         javax/swing/undo/StateEdit.java:
8661         Fixed HTML tags in javadocs all over.
8662
8663 2004-04-20  Michael Koch  <konqueror@gmx.de>
8664
8665         * javax/print/attribute/EnumSyntax.java
8666         (getOffset): Made protected.
8667         * javax/print/attribute/HashAttributeSet.java
8668         (HashAttributeSet): Likewise.
8669         * javax/print/attribute/ResolutionSyntax.java
8670         (getFeedResolution): Fixed typo in exception name.
8671         (getCrossFeedResolution): Likewise.
8672         * javax/print/attribute/SetOfIntegerSyntax.java
8673         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8674         * javax/print/attribute/TextSyntax.java
8675         (TextSyntax): Handle locale correctly.
8676         (hashCode): Calc better hashcode value.
8677         (equals): Fixed @return tag.
8678         (toString): New method.
8679
8680 2004-04-20  Michael Koch  <konqueror@gmx.de>
8681
8682         * gnu/java/nio/FileLockImpl.java
8683         (static): Removed, not needed anymore.
8684         * gnu/java/nio/channels/FileChannelImpl.java
8685         (FileChannelImpl): Made final.
8686         (mode): Made private.
8687         (READ, WRITE, APPEND): Made public.
8688         (EXCL, SYNC, DSYNC): Likewise.
8689         (static): Load native JNI library, when needed.
8690         (length): Unused, removed.
8691         (available): Made public.
8692         (implPosition): Throws IOException.
8693         (seek): Likewise.
8694         (implTruncate): Likewise.
8695         (unlock): Likewise.
8696         (lock): Likewise.
8697
8698 2004-04-20  Michael Koch  <konqueror@gmx.de>
8699
8700         * java/awt/AWTPermission.java,
8701         java/awt/Component.java,
8702         java/awt/ComponentOrientation.java,,
8703         java/awt/Dialog.java,
8704         java/awt/FontMetrics.java,
8705         java/awt/Graphics.java,
8706         java/awt/datatransfer/DataFlavor.java,
8707         java/beans/Introspector.java,
8708         java/beans/PropertyEditor.java,
8709         java/beans/PropertyEditorManager.java,
8710         java/beans/beancontext/BeanContextServiceProvider.java:
8711         Fixed HTML tags in javadocs all over.
8712
8713 2004-04-20  Mark Wielaard  <mark@klomp.org>
8714
8715         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8716         MissingResourceException is thrown.
8717         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8718         null when a MissingResourceException is thrown. Should never happen.
8719
8720 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8721
8722         * java/awt/image/DataBufferShort.java,
8723         java/awt/image/DataBufferFloat.java,
8724         java/awt/image/DataBufferDouble.java,
8725         java/awt/image/PixelInterleavedSampleModel.java: New files.
8726         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8727         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8728
8729 2004-04-20  Michael Koch  <konqueror@gmx.de>
8730
8731         * Makefile.am (java_source_files): Added
8732         java/awt/image/DataBufferDouble.java,
8733         java/awt/image/DataBufferFloat.java,
8734         java/awt/image/DataBufferShort.java and
8735         java/awt/image/PixelInterleavedSampleModel.java.
8736         * Makefile.in: Regenerated.
8737
8738 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8739  
8740         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8741         undocumented CNI calls.
8742         * include/java-interp.h (_Jv_InterpClass): No longer
8743         extends java.lang.Class.
8744         * java/lang/Class.h (Class): Add new field `aux_info'.
8745         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8746         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8747         Use Class->aux_info instead.
8748         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8749         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8750         Use Class->aux_info instead.
8751         * java/io/natObjectInputStream.cc (allocateObject): Use
8752         _Jv_AllocObject.
8753         * java/lang/natClass.cc (newInstance): Likewise.
8754         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8755         * java/lang/natObject.cc (clone): Likewise.
8756         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8757         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8758         JvAllocObject. Allocate klass->aux_info here for interpreted
8759         class.
8760         
8761 2004-04-17  Mark Wielaard  <mark@klomp.org>
8762
8763         * javax/swing/JToggleButton.java (ToggleButtonModel):
8764         Make public static inner class.
8765         * javax/swing/JTabbedPane.java (setComponentAt):
8766         Call Page.setComponent().
8767         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8768         (WRAP_TAB_LAYOUT): Make public, value is 0.
8769         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8770         Make private static inner class.
8771
8772 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8773
8774         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8775         arguments to match new signature. Remove FIXME comments.
8776
8777 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8778
8779         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8780         Remove method.
8781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8782         unused code.
8783
8784 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8785
8786         * Makefile.am: Added new file.
8787         * Makefile.in: Regenerate.
8788         * javax/swing/ImageIcon.java: 
8789         (ImageIcon(file)): set description of the icon 
8790         to the file name
8791         * javax/swing/JCheckBoxMenuItem.java:
8792         Mostly Implemented. Work in progress.
8793         * javax/swing/JRadioButtonMenuItem.java:
8794         Reimplement constructors to use JToggleButtonModel.
8795         * javax/swing/plaf/basic/BasicIconFactory.java:
8796         (getCheckBoxMenuItemIcon): return check box
8797         icon.
8798         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8799         paint menu item selected only when it is armed and 
8800         pressed. 
8801  
8802 2004-04-02  David Jee  <djee@redhat.com>
8803
8804         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8805         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8806         * java/awt/Component.java
8807         (add): Set the parent of the popup as this component.
8808         * java/awt/PopupMenu.java
8809         (addNotify): Create popup menu when peer is null.
8810         (show): Call addNotify() if peer is null.
8811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8812         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8813         argument for gtk_menu_popup() as zero. This causes the popup menu to
8814         respond to any mouse button.
8815
8816 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8817
8818         * Makefile.am: Added new file.
8819         * Makefile.in: Regenerate.
8820         * javax/swing/JRadioButtonMenuItem.java:
8821         Implemented.
8822         * javax/swing/plaf/basic/BasicIconFactory.java:
8823         (getRadioButtonMenuItemIcon): Return
8824         radio button icon.
8825         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8826         (getPreferredSize): Add size of checkIcon if it
8827         exists.
8828         (installDefaults): Don't initialize checkIcon.
8829         It's value will be set in subclasses. 
8830         (uninstallDefaults): remove uninstallation of 
8831         checkIcon.
8832         (paint): Moved code to paintMenuItem().
8833         (paintMenuItem): Implemented.
8834         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8835         UI delegate for JRadioButtonMenuItem.
8836         
8837 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8838
8839         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8840         Corrected position of the accelerator.
8841
8842 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8843
8844         * Makefile.am: Added new file. 
8845         * Makefile.in: Regenerate.
8846         * javax/swing/JMenuItem.java: Partly 
8847         implemented. Work in progress
8848         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8849         Changed default value of acceleratorDelimiter.
8850         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8851         New class. Partly implemented.
8852                 
8853 2004-03-26  Mark Wielaard  <mark@klomp.org>
8854
8855         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8856         (item_activate): Declare label before use.
8857         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8858         (gtkSetFont): Removed unused variable label.
8859         (addExposeFilter): Declare variables before use.
8860         (removeExposeFilter): Likewise.
8861         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8862         (ok_clicked): Declare str_fileName before use.
8863
8864 2004-03-26  David Jee  <djee@redhat.com>
8865
8866         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8867         (addSeparator): Remove.
8868         * java/awt/Menu.java
8869         (separator): Remove static final MenuItem field.
8870         (separatorLabel): New static final String field.
8871         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8872         Use separatorLabel to denote that it is a separator.
8873         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8874         of reusing the static separator instance, because a MenuItem instance
8875         can't be added more than once without being cloned.
8876         * java/awt/peer/MenuPeer.java
8877         (addSeparator): Remove from interface.
8878
8879 2004-03-26  David Jee  <djee@redhat.com>
8880
8881         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8882         (connectSignals): New native method declaration.
8883         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8884         * java/awt/MenuItem.java
8885         (getActionCommand): Return the label if the action command is not set.
8886         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8887         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8888         gtk_menu_shell_append().
8889         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8890         (item_activate): Fix argument type.
8891         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8892         signal here.
8893         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8894         method.
8895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8896         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8897         given. Add the menu widget's top-level GtkWindow to the global window
8898         group, so it can grab the pointer.
8899         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8900         gtk_menu_shell_append().
8901
8902 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8903
8904         * java/text/AttributedString.java 
8905         (addAttribute): Fix off-by-one.
8906         (getIterator): Likewise.        
8907         * java/text/AttributedStringIterator.java 
8908         (getRunLimit): Correct logic.
8909         (getRunStart): Likewise.
8910         (getAttribute): Fix inequality.
8911         (getAttributes): Likewise.
8912         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8913
8914 2004-03-23  Kim Ho  <kho@redhat.com>
8915
8916         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8917         (calculateSizes): Return real width and height.
8918
8919 2004-03-23  Kim Ho  <kho@redhat.com>
8920
8921         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8922         (calculateTabRects): Set the selectedRun before
8923         trying to rotate tabs.
8924
8925 2004-03-23  Kim Ho  <kho@redhat.com>
8926
8927         * Makefile.am: New file
8928         * Makefile.in: Regenerate
8929         * java/awt/Graphics.java: (drawRect):
8930         Draw to the correct point.
8931         * javax/swing/DefaultSingleSelectionModel.java
8932         (isSelected): Return true if the selected index
8933         is not -1.
8934         * javax/swing/JLabel.java: Do not change mnemonic
8935         index if text is null.
8936         * javax/swing/JProgressBar.java: Use JComponent's
8937         EventListenerList.
8938         * javax/swing/JScrollBar.java: Ditto.
8939         * javax/swing/JSlider.java: Ditto.
8940         * javax/swing/JTabbedPane.java: Reimplement.
8941         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8942         Add defaults for TabbedPane.
8943         * javax/swing/plaf/basic/BasicArrowButton.java:
8944         Implement
8945         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8946         (paintDeterminate): Don't paint String if it's
8947         empty.
8948         (paintIndeterminate): ditto.
8949         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8950         Reimplement.
8951
8952 2004-03-19  Michael Koch  <konqueror@gmx.de>
8953
8954         * java/awt/image/AffineTransformOp.java
8955         (AffineTransformOp): Made public.
8956         * javax/swing/JComponent.java
8957         (listenerList): Made protected.
8958         (accessibleContext): Likewise.
8959         * javax/swing/JList.java
8960         (valueChanged): Dont use internal fields of ListSelectionEvent.
8961         * javax/swing/JViewport.java
8962         (getView): Dont use internal fields of Component.
8963         (addImpl): Likewise.
8964         * javax/swing/Timer.java
8965         (isRunning): Made public.
8966         (start): Likewise.
8967         (stop): Likewise.
8968         * javax/swing/UIDefaults.java
8969         (getInt): Made public.
8970         * javax/swing/plaf/basic/BasicListUI.java
8971         (mousePressed): Dont use internal fields of MouseEvent.
8972         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8973         * javax/swing/plaf/basic/BasicScrollBarUI.java
8974         (arrowIcon): Made static.
8975         * javax/swing/plaf/basic/BasicViewportUI.java
8976         (stateChanged): Dont use internal field on ChangeEvent.
8977         * javax/swing/text/JTextComponent.java
8978         (getUI): Call UIManager.getUI().
8979         (updateUI): Use getUI().
8980
8981 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8982
8983         * javax/swing/JComponent.java: Turn off double buffer by default.
8984         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8986         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8987         Use cairo to copy areas.
8988         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8989         Initialize and set clip region.
8990
8991 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8992
8993         * java/applet/Applet.java (preferredSize): Override deprecated
8994         variant of getPreferredSize.
8995         (minimumSize): Override deprecated variant of getMinimumSize.
8996
8997 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8998
8999         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9000         (drawImage(img,xform,bgcolor,obs)): New Method.
9001         Helper function that every drawImage method will
9002         use.
9003         (drawRaster): Added new parameter, bgcolor. All
9004         transparent pixels are changed to bgcolor before 
9005         image is drawn.
9006         (drawRenderedImage): Fixed to use changed drawRaster().
9007         (drawImage(image,xform,obs): Fixed to use new helper function 
9008         (drawImage(image,op,x,y)): Ditto.
9009         (drawImage (img,x,y,observer)): Ditto.
9010         ((PainterThread) bgcolor): New Field.
9011         ((PainterThread) (setPixels)): Changed all transparent pixels 
9012         to bgcolor.     
9013         (drawImage(img,x,y,width,height,bgcolor,observer)): 
9014         Fixed FIXME - all the transparent pixels are 
9015         changed to the specified bgcolor. 
9016         (drawImage(img, x, y, width, height, observer): Changed to 
9017         use function above.
9018         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
9019         Fixed FIXME- changed all transparent pixels to bgcolor.
9020         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9021         Changed to use function above. 
9022
9023 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
9024
9025         * java/applet/Applet.java (dimensions): New field.
9026         (getDimensions): New method.
9027         (getPreferredSize): Call getDimensions.
9028         (getMinimumSize): Likewise.
9029
9030 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
9031
9032         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9033         * jni/classpath/jnilink.c: Likewise.
9034
9035         * java/applet/Applet.java (getPreferredSize): New method.
9036         (getMinimumSize): New method.
9037
9038 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
9039
9040         * prims.cc (_Jv_AllocObject): Remove `size' argument.
9041         (_Jv_AllocObjectNoFinalizer): Likewise.
9042         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9043         (_Jv_AllocPtrFreeObject): Likewise.
9044         (_Jv_AllocString): Moved from natString.cc. Call collector interface
9045         directly even in the JVMPI case.        
9046         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
9047         _Jv_AllocObject calls.
9048         * gcj/javaprims.h: Update prototypes.
9049         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9050         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9051         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9052
9053 2004-04-14  Andrew Haley  <aph@redhat.com>
9054             Bryce McKinlay  <mckinlay@redhat.com>
9055
9056         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9057         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9058         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9059
9060         * testsuite/libjava.lang/InvokeInterface.java: New file.
9061         * testsuite/libjava.lang/InvokeInterface.out: New file.
9062
9063 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
9064         
9065         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9066         modified lookup().
9067         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9068         StackTraceElement directly.
9069         (newElement): New native helper method to create StackTraceElement
9070         bypassing Java access control.
9071         (createStackTraceElement): Use newElement() instead of directly
9072         calling StackTraceElement's constructor.
9073         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9074
9075 2004-04-01  Michael Koch  <konqueror@gmx.de>
9076
9077         * java/lang/SecurityManager.java
9078         (checkAwtEventQueueAccess): Implemented.
9079
9080 2004-04-01  Gary Benson  <gbenson@redhat.com>
9081
9082         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9083         (_Jv_SearchMethodInClass): Likewise.
9084
9085 2004-03-26  Peter Moon  <peterm@miraculum.com>
9086
9087         * java/text/NumberFormat.java: Fix spelling of setCurrency
9088         method.
9089
9090 2004-03-21  Anthony Green  <green@redhat.com>
9091
9092         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9093         recursion when searching for the system ClassLoader.
9094
9095 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
9096
9097         * java/net/ServerSocket.java
9098         (accept): Close the socket when error occured.
9099
9100 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
9101
9102         * java/net/URI.java (parseURI): Added unquoting.
9103         (unquote): New method.
9104         (quoteAuthority): Implemented.
9105         (quote(String,String)): New method.
9106         (quotePath): Implemented.
9107         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9108         (getSchemeSpecificPart): Removed FIXME comment.
9109         (getRawAuthority): Return new rawAuthority field.
9110         (getAuthority): Removed FIXME comment.
9111         (getRawUserInfo): Return new rawUserInfo field.
9112         (getUserInfo): Removed FIXME comment.
9113         (getRawPath): Return new rawPath field.
9114         (getPath): Removed FIXME comment.
9115         (getRawQuery): Return new rawQuery field.
9116         (getQuery): Removed FIXME comment.
9117         (getRawFragment): Return new rawFragment field.
9118         (getFragment): Removed FIXME comment.
9119
9120 2004-03-20  Michael Koch  <konqueror@gmx.de>
9121
9122         * java/net/URLConnection.java: Merged copyright year with classpath.
9123
9124 2004-03-20  Norbert Frese  <postfach@nfrese.net>
9125
9126         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9127         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9128         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9129         rmi-message.
9130         (getObjectInputStream): Return object reference, throw IOException if null.
9131         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9132         (getObjectOutputStream): Return object reference, throw IOException if null.
9133         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9134         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9135         (UnicastConnectionManager): Throw RemoteException if port is not available.
9136         (getInstance): Throw RemoteException.
9137         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9138         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9139         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9140         Collect Exceptions which are returned by a rmi-call and fix void returns.
9141         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9142         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9143         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9144         (dispatch): Answer ping messages which are sent by other java implementions.
9145         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9146         for every rmi-message and fix void return problems.
9147         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9148         (UnicastServerRef): Throw RemoteException.
9149         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9150         In some situations it is necessary to export a subclass of the class which has the _Stub.
9151         For instance when the class with has the _Stub is abstract.
9152         (findStubSkelClass): New method which looks for the class which has the _Stub.
9153         (getClientHost): Implementated.
9154         * gcc/libjava/java/rmi/server/RemoteServer.java
9155         (getClientHost): Implementated.
9156         * gcc/libjava/Makefile.am (rmi_java_source_files):
9157         Added gnu/java/rmi/server/RMIIncomingThread.java.
9158         * Makefile.in: Regenerated.
9159
9160 2004-03-20  Michael Koch  <konqueror@gmx.de>
9161
9162         * java/net/InetAddress.java
9163         (getLocalHostname): Added javadoc.
9164
9165 2004-03-19  Per Bothner  <per@bothner.com>
9166
9167         * configure.in: FILE variable  overrides FLATFORM when linking
9168         natFileChannelXXX.cc.
9169
9170         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
9171         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
9172
9173 2004-03-19  Per Bothner  <per@bothner.com>
9174
9175         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
9176         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
9177         * Makefile.am:  Update accordingly.
9178         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9179         as aliases for UnicodeLittle and UnicodeBig.
9180
9181 2004-03-20  Mark Wielaard  <mark@klomp.org>
9182
9183         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9184         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9185         Don't access ws when it is null.
9186         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9187         Likewise.
9188
9189 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9190
9191         * java/lang/ThreadGroup.java (list): Changed print to println.
9192
9193 2004-03-19  Mark Wielaard  <mark@klomp.org>
9194
9195         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9196         happy.
9197
9198 2004-02-10  Randolph Chung  <tausq@debian.org>
9199  
9200         * configure.in: Build java for hppa target.
9201         * configure: Regenerate.
9202         * libjava/configure.host (hppa-*): Add target.
9203         * libjava/sysdeps/pa/lock.h: New file.
9204
9205 2004-03-19  Mark Wielaard  <mark@klomp.org>
9206
9207         Reported by Stephen Crawley
9208         * java/io/FilePermission.java (implies): Use String.length() -1 to
9209         access last char of String.
9210
9211 2004-03-19  Michael Koch  <konqueror@gmx.de>
9212
9213         * java/awt/image/AffineTransformOp.java
9214         (AffineTransformOp): Made public.
9215         * javax/swing/JComponent.java
9216         (listenerList): Made protected.
9217         (accessibleContext): Likewise.
9218         * javax/swing/JList.java
9219         (valueChanged): Dont use internal fields of ListSelectionEvent.
9220         * javax/swing/JViewport.java
9221         (getView): Dont use internal fields of Component.
9222         (addImpl): Likewise.
9223         * javax/swing/Timer.java
9224         (isRunning): Made public.
9225         (start): Likewise.
9226         (stop): Likewise.
9227         * javax/swing/UIDefaults.java
9228         (getInt): Made public.
9229         * javax/swing/plaf/basic/BasicListUI.java
9230         (mousePressed): Dont use internal fields of MouseEvent.
9231         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9232         * javax/swing/plaf/basic/BasicScrollBarUI.java
9233         (arrowIcon): Made static.
9234         * javax/swing/plaf/basic/BasicViewportUI.java
9235         (stateChanged): Dont use internal field on ChangeEvent.
9236         * javax/swing/text/JTextComponent.java
9237         (getUI): Call UIManager.getUI().
9238         (updateUI): Use getUI().
9239
9240 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9241
9242         * verify.cc: Undef PC.
9243
9244 2004-03-18  Michael Koch  <konqueror@gmx.de>
9245
9246         * java/nio/channels/spi/AbstractSelectableChannel.java
9247         (keys): Initialize at declaration.
9248         (locate): keys cant be null.
9249         (add): Removed.
9250         (addSelectionKey): New method.
9251         (removeSelectionKey): New method.
9252         * java/nio/channels/spi/AbstractSelectionKey.java
9253         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9254         * java/nio/channels/spi/AbstractSelector.java
9255         (provider): Javadoc added.
9256         (cancelledKeys): Javadoc added.
9257         (cancelKey): Javadoc added, add key to cancelledKeys.
9258         (deregister): Implemented.
9259
9260 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9261
9262         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9263         MAP_FAILED to void *.
9264
9265 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9266
9267         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9268         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9269         * javax/swing/JList.java (ListListener): Revalidate on changes.
9270         * javax/swing/JScrollPane.java: Reimplement.
9271         * javax/swing/JViewport.java: Reimplement.
9272         * javax/swing/ScrollPaneLayout.java: Reimplement.
9273         * javax/swing/ViewportLayout.java: Tidy up.
9274         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9275         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9276         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9277         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9278         backing store only.
9279
9280 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9281
9282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9283         (window_wm_protocols_filter): New function.
9284         (window_focus_in_cb): Remove function.
9285         (window_focus_out_cb): Likewise.
9286         (window_focus_or_active_state_change_cb): New function.
9287         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9288         (connectSignals): Don't attach handlers to focus-in-event or
9289         focus-out-event signals.  Handle notify signal.
9290
9291 2004-03-11  David Jee  <djee@redhat.com>
9292
9293         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9294         (gtkSetLabel): New native method declaration.
9295         (setLabel): Use gtkSetLabel.
9296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9297         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9298
9299 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9300
9301         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9302         black when color argument is null.
9303
9304 2004-03-10  Kim Ho  <kho@redhat.com>
9305
9306         * java/awt/Container.java: Remove check
9307         for drag events.
9308
9309 2004-03-10  Kim Ho  <kho@redhat.com>
9310
9311         * java/awt/Container.java: (visitChild):
9312         Remove candidate clip. Use the component
9313         clip to intersect.
9314         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9315         (handleEvent): Use the PaintEvent's clip.
9316
9317 2004-03-10  Kim Ho  <kho@redhat.com>
9318
9319         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9320         (handleEvent): Don't set the clip for the
9321         Graphics object.
9322
9323 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9324
9325         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9326         Fix double <-> fixed macros, reset font transform.
9327         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9328         Likewise.
9329
9330 2004-03-09  Kim Ho  <kho@redhat.com>
9331
9332         * java/awt/Container.java: (visitChild): Move
9333         the x and y coordinate of the component rectangle
9334         to correct position.
9335         (handleEvent): Forward drag events to the pressed
9336         component.
9337         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9338         Fix comments.
9339         (ArrowButtonListener::mousePressed): Stop the
9340         existing timer.
9341         (mouseDragged): Implement.
9342         (TrackListener::mousePressed): Only react if
9343         the press doesn't occur on the thumb, otherwise
9344         just set the offset.
9345         (TrackListener::mouseReleased): Unset the isAdjusting
9346         value.
9347         (createIncreaseIcon): Switch icon.
9348         (createDecreaseIcon): Switch icon.
9349         (calculatePreferredSize): Use width.
9350         (getThumbBounds): Use the top as the lower value.
9351         (layoutVScrollBar): Switch the button locations.
9352         (paintIncreaseHighlight): Paint correct side of thumb.
9353         (paintDecreaseHighlight): ditto.
9354         (valueForYPosition): Use top as the lower value.
9355         * javax/swing/plaf/basic/BasicSliderUI.java:
9356         Fix comments.
9357         (mouseDragged): Implement.
9358         (mousePressed): Only react when the thumb isn't
9359         pressed, otherwise just set offset.
9360         (mouseReleased): Handle a release of the thumb.
9361         (scrollDueToClickInTrack): Stop the timer first.
9362         * javax/swing/JProgressBar.java:
9363         (setString): Fix change condition.
9364         * javax/swing/JSeparator.java:
9365         Remove println's.
9366
9367 2004-03-08  David Jee  <djee@redhat.com>
9368
9369         * java/awt/image/AffineTransformOp.java:
9370         (filter): Use Graphics2D interface instead of directly using the
9371         GdkGraphics2D peer.
9372
9373 2004-03-05  David Jee  <djee@redhat.com>
9374
9375         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9376         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9377         * java/awt/Container.java
9378         (acquireComponentForMouseEvent): Fixed.
9379         (handleEvent): Fixed.
9380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9381         (state_to_awt_mods_with_button_states): New method.
9382         (pre_event_handler): Fixed mouse event generation.
9383
9384 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9385
9386         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9387         (GdkGraphics2D (BufferedImage)): Initialize
9388         pixmap associated with specified BufferedImage.
9389         (setPaint): Changed implementation of Texture
9390         Paint to use AffineTransformOp.
9391         * java/awt/image/AffineTransformOp.java
9392         (createCompatibleDestRaster): Throw RasterFormatException 
9393         if resulting width or height of raster is 0.
9394
9395 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9396
9397         * java/awt/image/AffineTransformOp.java:
9398         Removed unnecessary field interpolationType.
9399         Formatted some of the lines to be consistent with 
9400         the GNU style.
9401         (AffineTransformOp): Create new RenderingHints 
9402         containing specified interpolation type.
9403         (createCompatibleDestImage): Implemented.
9404         (createCompatibleDestRaster): Implemented.
9405         (filter): Implemented.
9406         (getBounds2D(BufferedImage)): Implemented.
9407         (getBounds2D(Raster)): Implemented.
9408         (getInterpolationType): Get interpolation value from 
9409         rendering hints.
9410
9411 2004-03-04  David Jee  <djee@redhat.com>
9412
9413         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9414         (setFont): Check if child peers are null.
9415
9416 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9417
9418         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9419         .libs in -L option.
9420         (libjava_arguments): Add new libraries to argument list.
9421
9422 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9423
9424         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9425         * Makefile.in: Re-generated.
9426         * java/awt/image/AffineTransformOp.java: New Class.
9427
9428 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9429
9430         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9431         (setPaint): Interpret correctly TexturePaint's
9432         anchor rectangle.
9433         (drawImage): Fixed scale factors of the affine
9434         transform.
9435
9436 2004-02-27  David Jee  <djee@redhat.com>
9437
9438         * gnu/java/awt/peer/gtk/GdkGraphics.java
9439         (GdkGraphics(Component)): Inherit font from component.
9440         (drawString): Use font style.
9441         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9442         (gtkSetFont): New native method declaration.
9443         (setFont): New method.
9444         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9445         (gtkSetFont): New native method declaration.
9446         (setFont): Call new native method gtkSetFont.
9447         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9448         (setFont): For all child components who do not their fonts set,
9449         set their peers' fonts with this container's font.
9450         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9451         Move all native method declarations to the top for readability.
9452         (gtkSetFont): New native method declaration.
9453         (setFont): New method.
9454         * java/awt/Component.java
9455         (setFont): Invalidate after setting the font.
9456         * java/awt/Container.java
9457         (invalidateTree): New method.
9458         (setFont): Invalidate the container tree after setting the font.
9459         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9460         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9461         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9462         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9464         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9465         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9466         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9467
9468 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9469
9470         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9471         (updateBufferedImage): New helper function.
9472         Updates BufferedImage in memory if it was changed.
9473         (draw): changed to update BufferedImage in memory after
9474         this drawing operation
9475         (fill): Ditto.
9476         (draw3DRect): Ditto.
9477         (fill3DRect): Ditto.
9478         (clearRect): Ditto.
9479         (drawRaster): Ditto.
9480         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9481         no affine transformation.
9482         (drawGlyphVector): Ditto.
9483
9484 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9485
9486         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9487         (isBufferedImageGraphics): New Helper function. 
9488         Returns true if this graphics2d can be used to draw 
9489         into buffered image and false otherwise.
9490         (updateImagePixels): New Helper function. 
9491         Updates pixels in the BufferedImage.
9492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9493         (getImagePixels): New function. Returns pixels
9494         of the buffered image associated with 
9495         this Graphics2D.
9496
9497 2004-02-26  David Jee  <djee@redhat.com>
9498
9499         * java/awt/BorderLayout.java
9500         (layoutContainer): Fix width and height calculations to ensure
9501         that they're non-negative.
9502         * java/awt/Component.java
9503         (setBackground): If c is null, inherit from closest ancestor whose
9504         background color is set.
9505
9506 2004-02-26  Kim Ho  <kho@redhat.com>
9507
9508         * Makefile.am: Add new files.
9509         * Makefile.in: Re-generate.
9510         * javax/swing/JProgressBar.java: 
9511         (JProgressBar(int, int int)): Throw
9512         IllegalArgumentException if orientation is
9513         invalid.
9514         (JProgressBar(BoundedRangeModel)): Create
9515         ChangeListener and register it. UpdateUI.
9516         (getChangeListeners): Implement.
9517         (setModel): Reset ChangeListener.
9518         * javax/swing/JScrollBar.java: Implement.
9519         * javax/swing/JSeparator.java: Implement.
9520         * javax/swing/JSlider.java:
9521         (JSlider(int, int, int, int)): Throw 
9522         IllegalArgumentException if orientation
9523         is invalid.
9524         (getChangeListeners): Fix method name.
9525         * javax/swing/SwingUtilities.java:
9526         (layoutCompoundLabel): If there is no text,
9527         set the text rectangle dimensions to 0.
9528         * javax/swing/plaf/basic/BasicButtonUI.java:
9529         (paint): If there is no text, don't paint it.
9530         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9531         Implement.
9532         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9533         Implement.
9534         * javax/swing/plaf/basic/BasicSliderUI.java: 
9535         (propertyChange): If the model changes, change
9536         the listeners accordingly.
9537
9538 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9539
9540         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9541         * javax/swing/JList.java: Reimplement.
9542         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9543         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9544         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9545         * javax/swing/ListModel.java: Javadoc.
9546         * javax/swing/ListSelectionModel.java: Add missing methods.
9547         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9548         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9549         * javax/swing/ListModel.java: Javadoc and corrections.
9550         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9551
9552 2004-02-25  David Jee  <djee@redhat.com>
9553
9554         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9555         (GtkFontPeer): Change default size to 12.
9556         * gnu/java/awt/peer/gtk/GtkToolkit.java
9557         (getFontPeer): Change default size to 12.
9558         (getClasspathFontPeer): Likewise. Set default name to "Default".
9559         * java/awt/Font.java
9560         (Font(Map)): Call Font(String,Map).
9561         (Font(String,Map)): If attrs is null, initialize it as an empty
9562         HashMap, which will ensure that the Font will get default attributes.
9563
9564 2004-02-25  David Jee  <djee@redhat.com>
9565
9566         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9567         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9568         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9569         * gnu/java/awt/peer/gtk/GtkToolkit.java
9570         (getFontPeer(String,int)): Call the new overload method with size 1.
9571         (getFontPeer(String,int,int)): New method. Overloaded with size
9572         attribute.
9573         (getClasspathFontPeer): Set the size of the font.
9574
9575 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9576
9577         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9578         (bimage): New field.
9579         (GdkGraphics2D): New Constructor. Constructs Graphics
9580         object that can be used to draw into the Buffered Image.
9581         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9582         (GdkGraphicsEnvironment): Fixed to include public 
9583         keyword.
9584         (createGraphics): Implemented.
9585         * gnu/java/awt/peer/gtk/GtkToolkit.java
9586         (getLocalGraphicsEnvironment): Implemented.
9587         * java/awt/GraphicsEnvironment.java:
9588         (getLocalGraphicsEnvironment): Implemented.
9589         * java/awt/image/BufferedImage.java:
9590         (createGraphics): Implemented.
9591                 
9592 2004-02-24  David Jee  <djee@redhat.com>
9593
9594         * java/awt/Component.java
9595         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9596         * java/awt/Container.java
9597         (addNotifyContainerChildren): Fix event enabling.
9598
9599 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9600
9601         * Makefile.am: Added 
9602         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9603         * Makefile.in: Re-generated.
9604         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9605         New Class. 
9606         
9607 2004-02-19  Kim Ho  <kho@redhat.com>
9608
9609         * Makefile.am: Add BasicProgressBarUI
9610         * Makefile.in: Regenerate.
9611         * javax/swing/JProgressBar.java: 
9612         Re-implement.
9613         * javax/swing/plaf/basic/BasicLookAndFeel.java
9614         Add constants for JProgressBar.
9615         * javax/swing/plaf/basic/BasicProgressBarUI.java
9616         Implement.
9617         * javax/swing/plaf/basic/BasicSliderUI.java
9618         Change comments.
9619         (calculateGeometry): New method
9620         (paint): Remove unnecessary size calculations.
9621
9622 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9623
9624         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9625         (drawRaster): Fixed small error that caused
9626         imageToUser transformation to be set incorrectly.
9627         (toString): Implemented.
9628
9629 2004-02-18  David Jee  <djee@redhat.com>
9630
9631         * java/awt/CardLayout.java
9632         (addLayoutComponent): Show the first component added as the default.
9633         (removeLayoutComponent): After removing, show the next component.
9634         (gotoComponent): If there is only one component, show it and return.
9635
9636 2004-02-18  Kim Ho  <kho@redhat.com>
9637
9638         * javax/swing/JSlider.java: Re-order
9639         modifiers.
9640         * javax/swing/JLabel.java: Re-order
9641         modifiers.
9642         * javax/swing/JComponent.java: 
9643         (addPropertyChangeListener):
9644         Implement.
9645         (removePropertyChangeListener):
9646         ditto.
9647         (firePropertyChangeEvent):
9648         ditto.
9649
9650 2004-02-17  David Jee  <djee@redhat.com>
9651
9652         * java/awt/Component.java
9653         (show): Dispatch ComponentEvent via system event queue.
9654         (hide): Likewise.
9655         (move): Likewise.
9656         (resize): Likewise.
9657         (reshape): Likewise.
9658         * java/awt/Window.java
9659         (setBoundsCallback): Likewise.
9660
9661 2004-02-17  David Jee  <djee@redhat.com>
9662
9663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9664         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9665         Use gtk_widget_set_size_request() instead of the deprecated
9666         gtk_widget_set_usize().
9667
9668 2004-02-17  Kim Ho  <kho@redhat.com>
9669
9670         * javax/swing/JSlider.java: Fix comments and
9671         make property strings constants.
9672         (createStandardLabels): Use the labels
9673         preferred size as bounds.
9674         * javax/swing/plaf/basic/BasicSliderUI.java
9675         Fix comments.
9676         (ScrollHandler::actionPerformed): Don't
9677         calculate the timer stop value. Let the
9678         MouseListeners find the stop location.
9679         (getPreferredHorizontalSize): Re-implement.
9680         (getPreferredVerticalSize): ditto.
9681         (getMinimumHorizontalSize): ditto.
9682         (getMinimumVerticalSize): ditto.
9683         (getPreferredSize): ditto.
9684         (getMinimumSize): ditto.
9685         (getMaximumSize): ditto.
9686         (paintTicks): Use doubles to find the
9687         tick location.
9688         (paintHorizontalLabel):  Use preferredSize
9689         as initial width and height.
9690         (paintVerticalLabel): ditto.
9691
9692 2004-02-17  Kim Ho  <kho@redhat.com>
9693
9694         * javax/swing/JLabel.java: Changed 
9695         property strings to constants.
9696         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9697         New property.
9698         (setText): Change mnemonic index if
9699         text is too short.
9700         (setDisplayedMnemonicIndex): Fire property
9701         change event.
9702         (getDisplayedMnemonicIndex): Remove check
9703         against short text.
9704
9705 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9706
9707         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9708         (drawImage(img,xform,obs)): Invert xform before
9709         passing the xform to cairo.
9710         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9711         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9712         implemented.
9713         (drawImage (img,x,y,w,h,obs)): Implemented.
9714         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9715         bgcolor,obs)): Partly implemented.
9716         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9717         Implemented.
9718         * java/awt/image/BufferedImage.java:
9719         (copyData): if dest is null, create raster with same
9720         dimensions as the current image.
9721
9722 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9723
9724         * javax/swing/plaf/basic/BasicLabelUI.java 
9725         (getPreferredSize): Use layoutCL.
9726         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9727         (getPreferredButtonSize): Start with empty view rect, layout using
9728         component's preferred alignment.
9729         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9730         List defaults.
9731
9732 2004-02-16  David Jee  <djee@redhat.com>
9733
9734         * java/awt/Component.java
9735         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9736         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9737         (move): Erase old bounds and repaint new bounds. Dispatch
9738         COMPONENT_MOVED ComponentEvent.
9739         (resize): Erase old bounds and repaint new bounds. Dispatch
9740         COMPONENT_RESIZED ComponentEvent.
9741         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9742         ComponentEvents.
9743         * java/awt/Window.java
9744         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9745         ComponentEvents.
9746
9747 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9748
9749         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9750         (setRenderingHint): Added implementation of 
9751         Interpolation rendering hints.
9752         (setRenderingHints): Ditto.
9753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9754         (drawPixels): fixed to allow user to choose type 
9755         of filtering that should be used when displaying images.
9756         (cairoSurfaceSetFilter): New method. Sets filter type for 
9757         interpolation of pixel values.
9758
9759 2004-02-16  David Jee  <djee@redhat.com>
9760
9761         * java/awt/GridBagLayout.java
9762         (calcCellSizes): Rows or columns with zero sizes should still be
9763         considered for extra space distribution.
9764
9765 2004-02-16  Kim Ho  <kho@redhat.com>
9766
9767         * javax/swing/JLabel.java: Re-implement.
9768         * javax/swing/plaf/basic/BasicLabelUI.java
9769         Re-implement.
9770         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9771         Added constant.
9772
9773 2004-02-16  Kim Ho  <kho@redhat.com>
9774
9775         * javax/swing/JSlider.java: Fix indentation and comments.
9776         (setModel): Remove null check to conform with Sun's.
9777         (setOrientation): Throw exception if not
9778         HORIZONTAL or VERTICAL.
9779         (getInverted): Use private variable instead of 
9780         ComponentOrientation.
9781         (setInverted): ditto.
9782         * javax/swing/plaf/basic/BasicSliderUI.java:
9783         Fix indentation and comments.
9784         (propertyChange): Remove check for inverted slider, handle
9785         in main paint.
9786         (getMinimumSize): Return preferred size.
9787         (getMaximumSize): ditto.
9788         (calculateFocusRect): Don't relocate rectangle.
9789         (drawInverted): Return XOR of the slider's inversion and 
9790         the component's orientation.
9791         (paint): Update leftToRightCache
9792
9793 2004-02-13  David Jee  <djee@redhat.com>
9794
9795         * java/awt/GridBagLayout.java
9796         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9797         code to helper methods.
9798         (sortBySpan): New helper method.
9799         (distributeSizeAndWeight): Likewise.
9800         (calcCellWeights): Likewise.
9801         (calcCellSizes): Add comments.
9802
9803 2004-02-13  David Jee  <djee@redhat.com>
9804
9805         * java/awt/Component.java
9806         (show): Only do something if component is invisible at the moment.
9807         (hide): Only do something if component is visible at the moment.
9808         (reshape): If lightweight, erase old bounds and repaint new bounds.
9809
9810 2004-02-13  Kim Ho  <kho@redhat.com>
9811
9812         * Makefile.am: Updated for new file.
9813         * Makefile.in: Regenerated.
9814         * javax/swing/JSlider.java: Reimplement.
9815         * javax/swing/SwingUtilities.java
9816         (layoutCompoundLabel): Use icon height
9817         instead of width.
9818         (paintComponent): Implement.
9819         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9820         Add JSlider defaults.
9821         * javax/swing/plaf/basic/BasicSliderUI.java:
9822         Implement. New file.
9823
9824 2004-03-17  Michael Koch  <konqueror@gmx.de>
9825
9826         * gnu/java/net/PlainDatagramSocketImpl.java
9827         (RECEIVE_LOCK): New member field.
9828         (SEND_LOCK): New member field.
9829         (send0): New method.
9830         (send): Synchronize on SEND_LOCK.
9831         (receive0): New method.
9832         (receive): Synchronize on RECEIVE_LOCK.
9833         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9834         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9835         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9836         (send0): Renamed from send.
9837         (receive0): Renamed from receive.
9838 2004-03-17  Michael Koch  <konqueror@gmx.de>
9839
9840         * gnu/java/net/natPlainSocketImplPosix.cc
9841         (write): Just call write(jbyteArray, offset, len).
9842         (read): Just call read(jbyteArray, offset, len).
9843
9844 2004-03-16  Michael Koch  <konqueror@gmx.de>
9845
9846         * javax/swing/JTabbedPane.java
9847         (serialVersionUID): New field.
9848
9849 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9850
9851         * java/net/InetAddress.java
9852         (getByName): Handle hostname == "" case.
9853
9854 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9855
9856         Reported by: Adam Heath <doogie@debian.org>
9857         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9858         class loader.
9859
9860 2004-03-15  Michael Koch  <konqueror@gmx.de>
9861
9862         * java/util/Locale.java: Reverting my last patch
9863         and add a comment why the original version was okay.
9864
9865 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9866
9867         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9868         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9869         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9870         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9871
9872 2004-03-12  Michael Koch  <konqueror@gmx.de>
9873
9874         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9875
9876 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9877
9878         * java/net/URI.java (toURL): Implemented.
9879
9880 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9881
9882         * java/net/URI.java
9883         (URI_REGEXP) updated to contain scheme specific part.
9884         (SCHEME_SPEC_PART_GROUP) new constant.
9885         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9886         updated to make room for SCHEME_SPEC_PART_GROUP.
9887         (parseURI) parse scheme specific part.
9888         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9889         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9890         getQuery, getFragment) implemented.
9891
9892 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9893
9894         * libraries/javalib/java/net/URI.java
9895         partially implemented using java.util.regex.
9896         (URI_REGEXP) new constant. Used to parse URIs.
9897         (SCHEME_GROUP) new constant representing index of scheme group
9898         in parsed URI.
9899         (AUTHORITY_GROUP) new constant representing index of authority
9900         group in parsed URI.
9901         (PATH_GROUP) new constant representing index of path group in
9902         parsed URI.
9903         (QUERY_GROUP) new constant representing index of query group in
9904         parsed URI.
9905         (FRAGMENT_GROUP) new constant representing index of fragment
9906         group in parsed URI.
9907         (getURIGroup) new static utility method.
9908         (parseURI) implemented.
9909         (quote) stub for new static utility method.
9910         (quoteAuthority) stub for new static utility method.
9911         (quoteHost) stub for new static utility method.
9912         (quotePath) stub for new static utility method.
9913         (quoteUserInfo) stub for new static utility method.
9914         (URI) implemented.
9915         (create) don't throw URISyntaxException. Implemented.
9916         (toString) implemented.
9917
9918 2004-03-12  Michael Koch  <konqueror@gmx.de>
9919
9920         * java/net/HttpURLConnection.java
9921         (getResponseCode): Fix another typo in javadoc.
9922
9923 2004-03-11  Michael Koch  <konqueror@gmx.de>
9924
9925         * java/util/logging/Level.java
9926         (parse): Use String.equals() instead of ==.
9927
9928 2004-03-11  Michael Koch  <konqueror@gmx.de>
9929
9930         * gnu/java/net/protocol/jar/Connection.java
9931         (getContentLength): New method.
9932
9933 2004-03-11  Michael Koch  <konqueror@gmx.de>
9934
9935         * gnu/java/net/PlainSocketImpl.java:
9936         Reformated to merge better with classpath's version.
9937
9938 2004-03-11  Michael Koch  <konqueror@gmx.de>
9939
9940         * java/util/Locale.java
9941         (getISO3Language): Use String.equals() instead of ==.
9942         (getISO3Country): Likewise.
9943
9944 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9945
9946         * java/text/AttributedString.java
9947         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9948         Use HashMap instead of Hashtable since value can be null, and
9949         you can not store a null value in a Hashtable.
9950
9951 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9952
9953         * java/text/AttributedStringIterator.java
9954         (getAllAttributesKey): Return only keys concerned
9955         by the current iterator.
9956         (getAttributes): Use strict inequality for
9957         end_index. 
9958
9959 2004-03-11  Michael Koch  <konqueror@gmx.de>
9960
9961         * java/net/HttpURLConnection.java:
9962         Fixed typo in javadoc.
9963
9964 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9965
9966         * java/io/BufferedInputStream.java (marktarget): New field for max
9967         mark limit.
9968         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9969         (mark): Use new fields.
9970         (read): Likewise.
9971         (read(byte[],int,int)): Likewise.
9972         (skip): Likewise.
9973         (refill): Likewise.
9974
9975 2004-03-11  Mark Wielaard  <mark@klomp.org>
9976
9977         * java/beans/BeanDescriptor.java (BeanDescriptor):
9978         Set the FeatureDescriptor programmatic name.
9979
9980 2004-03-11  Michael Koch  <konqueror@gmx.de>
9981
9982         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9983         This file was was just copied form java/io/natFileDescriptorEcos.cc
9984         and never changed to compile correctly.
9985
9986 2004-03-11  Michael Koch  <konqueror@gmx.de>
9987
9988         * gnu/java/nio/PipeImpl.java
9989         (SourceChannelImpl): Made final.
9990         (read): Implemented.
9991         (SinkChannelImpl): Made final.
9992         (write): Implemented.
9993
9994 2004-03-11  Michael Koch  <konqueror@gmx.de>
9995
9996         * gnu/java/net/PlainDatagramSocketImpl.java:
9997         Reformated to match classpath's version more.
9998
9999 2004-03-11  Michael Koch  <konqueror@gmx.de>
10000
10001         * gnu/java/awt/peer/ClasspathFontPeer.java:
10002         Fixed javadoc to be correct xhtml.
10003         * gnu/java/awt/peer/gtk/GtkArgList.java
10004         (add): Use Boolean.valueOf() instead of new Boolean().
10005
10006 2004-03-09  Michael Koch  <konqueror@gmx.de>
10007
10008         * java/lang/Thread.java
10009         (runnable): Moved around.
10010         (daemon): Renamed from daemon_flag.
10011         (contextClassLoader): Renamed from context_class_loader.
10012         (Thread): Reordered constructors.
10013         (activeCount): Use group directly.
10014         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10015         (holdsLock): Reworked javadoc.
10016         (setDaemon): Reworked.
10017         * java/lang/natThread.cc
10018         (destroy): Removed.
10019
10020 2004-03-08  Anthony Green  <green@redhat.com>
10021
10022         * Makefile.am: Build property resource files into libgcj.
10023         * Makefile.in: Rebuilt.
10024         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10025         java/util/regex/PatternSyntaxException.java,
10026         gnu/regexp/CharIndexed.java,
10027         gnu/regexp/CharIndexedCharArray.java,
10028         gnu/regexp/CharIndexedInputStream.java,
10029         gnu/regexp/CharIndexedReader.java,
10030         gnu/regexp/CharIndexedString.java,
10031         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10032         gnu/regexp/REException.java,
10033         gnu/regexp/REFilterInputStream.java,
10034         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10035         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10036         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10037         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10038         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10039         gnu/regexp/RETokenLookAhead.java,
10040         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10041         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10042         gnu/regexp/RETokenStart.java,
10043         gnu/regexp/RETokenWordBoundary.java,
10044         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10045
10046 2004-03-03  Per Bothner  <per@bothner.com>
10047
10048         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10049         Optimize when argument is a FileChannelImpl.
10050         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10051         New native methods.
10052         * java/nio/channels/natChannels.cc:  New file for new native methods.
10053         * Makefile.am:  Update accordingly.
10054
10055 2004-03-02  Jan Hubicka  <jh@suse.cz>
10056
10057         * configure.host: Pass -fno-omit-frame-pointer for i386.
10058         * configure.in: Likewise.
10059         * configure: Regenerate.
10060
10061 2004-03-01  Per Bothner  <per@bothner.com>
10062
10063         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
10064
10065 2004-02-29  Per Bothner  <per@bothner.com>
10066
10067         * java/nio/channels/FileChannelImpl.java:  Moved to package
10068         gnu/java/nio/channels, since we need to refer to it from java.io.
10069         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
10070         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
10071         from java/nio/channels.  Don't depend on FileDescriptor.
10072         (in, out, err):  New static fields.
10073         (mode):  New field.
10074         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
10075         from FileDescriptor.
10076         (by):  Removed MappedByteBuffer field.
10077         (map):  New working implementation.
10078         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
10079         some code "ported" from natFileDescriptoPosix.cc.
10080         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
10081         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
10082         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
10083         Remove native methods.
10084         * Makefile.am, configure.in:  Updated accordingly.
10085
10086         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
10087         (ch):  New FileChannelImpl field.  Update constructor to match.
10088         (releaseImpl):  Remove native method.  Instead ...
10089         (release):  Call unlock on channel.
10090         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
10091
10092         * java/io/natFileDescriptorEcos.cc:  Remove file.
10093         * java/io/natFileDescriptorPosix.cc:  Remove file.
10094         * java/io/natFileDescriptorWin32.cc:  Remove file.
10095         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
10096         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
10097         (<init>(FileChannelImpl)):  New package-private constructor.
10098         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
10099         (available, close, read, skip):  Implement using FileChannelImpl.
10100         (getFD):  Allocate FileDescriptor if needed.
10101         (getChannel):  Is now trivial.
10102         * java/io/FileOutputStream.java:  Corresponding changes.
10103         * java/io/RandomAccessFile.java:  Corresponding changes.
10104
10105         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10106         unmapImpl):  New dummy methods, to be overridden by subclass.
10107         (finalize, isLoaded, load, force):  New methods.
10108         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
10109         Now works, at least for read mapping.
10110
10111         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
10112         streams using FileChannelImpl, not FileDescriptor.
10113         * java/lang/natWin32Process.cc (startProcess):  Likewise.
10114
10115 2004-02-28  Michael Koch  <konqueror@gmx.de>
10116
10117         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10118         wrong code.
10119
10120 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
10121
10122         * java/io/ObjectInputStream.java
10123         (readClassDescriptor): Keep elements of the mapping non null.
10124         (checkTypeConsistency): New method.
10125         (readFields): Fixed main loop and base logic. Small reindentation.
10126         * java/io/ObjectStreamField.java
10127         (lookupField): New method to update the field reference.
10128         (checkFieldType): New method.
10129         * java/io/ObjectStreamClass.java
10130         (setClass, setFields): Call lookupField when building the field
10131         database. Check the real field type.
10132
10133 2004-02-28  Michael Koch  <konqueror@gmx.de>
10134
10135         * java/nio/ByteOrder.java
10136         (nativeOrder): Use equals() to compare strings.
10137
10138 2004-02-26  Michael Koch  <konqueror@gmx.de>
10139
10140         * gnu/java/nio/FileLockImpl.java
10141         (finalize): Made protected.
10142         * java/nio/channels/FileChannel.java
10143         (MapMode.READ_ONLY): Made final.
10144         (MapMode.READ_WRITE): Made final.
10145         (MapMode.PRIVATE): Made final.
10146         * java/nio/channels/SocketChannel.java
10147         (open): Simplified code.
10148         * java/nio/channels/spi/AbstractSelectableChannel.java
10149         (registered): Unused, removed.
10150         (keyFor): Check channel is open, only locate key
10151         and not add a new one.
10152         (register): Don't delete attachments.
10153
10154 2004-02-26  Michael Koch  <konqueror@gmx.de>
10155
10156         * gnu/java/awt/ComponentDataBlitOp.java
10157         (INSTANCE): Made final.
10158         * gnu/java/awt/image/ImageDecoder.java:
10159         Reworked imports.
10160         (cm): Unused, removed.
10161
10162 2004-02-26  Michael Koch  <konqueror@gmx.de>
10163
10164         * gnu/java/nio/DatagramChannelImpl.java
10165         (send): Check if target address is resolved.
10166
10167 2004-02-26  Michael Koch  <konqueror@gmx.de>
10168
10169         * Makefile.am: Generate and install headers for inner classes in
10170         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10171         * Makefile.in: Regenerated.
10172
10173 2004-02-24  Anthony Green  <green@redhat.com>
10174
10175         * java/lang/StringBuffer.java: No need to NULL out remainder of
10176         buffer since ensureCapacity_unsynchronized will have done this for
10177         us.
10178
10179 2004-02-20  Michael Koch  <konqueror@gmx.de>
10180
10181         * gnu/java/net/protocol/jar/Handler.java
10182         (): Removed unneeded check for file != null. java.net.URL.getFile()
10183         returns an empty string but never null.
10184
10185 2004-02-20  Michael Koch  <konqueror@gmx.de>
10186
10187         * gnu/gcj/convert/Convert.java
10188         (main): Use equals() to compare strings.
10189
10190 2004-02-20  Michael Koch  <konqueror@gmx.de>
10191
10192         * javax/swing/AbstractButton.java: Made several constants final.
10193         (getRolloverSelectedIcon): Made public.
10194         (getSelectedIcon): Made public.
10195
10196 2004-02-16  Per Bothner  <per@bothner.com>
10197
10198         * java/nio/CharBufferImpl.java:  Inline super constructor.
10199         * java/nio/DoubleBufferImpl.java:  Likewise.
10200         * java/nio/FloatBufferImpl.java:  Likewise.
10201         * java/nio/IntBufferImpl.java:  Likewise.
10202         * java/nio/LongBufferImpl.java:  Likewise.
10203         * java/nio/ShortBufferImpl.java:  Likewise.
10204         * java/nio/CharBuffer.java:  Remove unused constructor.
10205         * java/nio/DoubleBuffer.java:  Likewise.
10206         * java/nio/FloatBuffer.java:  Likewise.
10207         * java/nio/IntBuffer.java:  Likewise.
10208         * java/nio/LongBuffer.java:  Likewise.
10209         * java/nio/ShortBuffer.java:  Likewise.
10210         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10211         Fix buggy call to super constructor.
10212         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10213         * java/nio/FloatViewBufferImpl.java:  Likewise.
10214         * java/nio/IntViewBufferImpl.java:  Likewise.
10215         * java/nio/LongViewBufferImpl.java:  Likewise.
10216         * java/nio/ShortViewBufferImpl.java:  Likewise.
10217         
10218         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10219         java.nio classes can inherit it.
10220         (<init>):  Don't bother clearing array_offset.
10221         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10222         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10223         Remove redundant test.
10224
10225         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10226         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10227         Use new XxxViewBufferImpl constructors.
10228         * java/nio/MappedByteBufferImpl.java:  Likewise.
10229         * java/nio/DirectByteBufferImpl.java:  Likewise.
10230
10231         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10232         Inline super in remaining constructor.
10233         * java/nio/ByteBuffer.java:  Remove unused constructor.
10234
10235         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10236
10237         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10238         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10239         (offset):  Remove unused field.
10240         (<init>):  Modify one and add another constructor.  Change callers.
10241         (allocateDirect):  Removed - not used.
10242         (getImpl, putImpl):  Make static and pass address explicitly,
10243         to make them useful for MappedByteBufferImpl.
10244         (get, put):  Check for underflow.  Modify for new getImpl.
10245         (getImpl):  New native method where target is array.
10246         (get(byte[],int,int)):  Use the above.
10247         (adjustAddress):  New static native method.
10248         (slice, duplicate, asReadOnly):  New implementations.
10249         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10250         adjustAddress):  New or updated native methods.
10251
10252 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10253
10254         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10255         overflow of fieldmapping.
10256
10257 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10258
10259         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10260
10261 2004-02-14  Per Bothner  <per@bothner.com>
10262
10263         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10264         Set closed before calling implCloseChannel, as in the spec.
10265
10266 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10267
10268         * javax/swing/ToggleButtonModel.java: Remove dead class.
10269         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10270         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10271         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10272         * Makefile.am: Update for new and removed files.
10273         * Makefile.in: Regenerate.
10274
10275         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10276         * javax/swing/AbstractButton.java 
10277         (AbstractButton): Initialize fields correctly in ctor.
10278         * javax/swing/JCheckbox.java 
10279         (JCheckBox): Override painting flags.
10280         * javax/swing/DefaultButtonModel.java: Conform to sun.
10281         * javax/swing/JComponent.java (paint): Fill with background color
10282         if available.
10283         (processComponentKeyEvent)
10284         (processFocusEvent)
10285         (processKeyEvent)
10286         (processMouseMotionEvent): Remove event-consuming empty methods.
10287         (getUIClassID): Return "ComponentUI" not "JComponent"
10288         * javax/swing/JFrame.java: Remove some debugging chatter.
10289         (JFrame): Subscribe to window events.
10290         * javax/swing/JRadioButton.java 
10291         (JRadioButton): Override painting flags.
10292         * javax/swing/JRootPane.java 
10293         (JRootPane): Set background from UIDefaults.
10294         * javax/swing/JToggleButton.java 
10295         (ToggleButtonModel): New inner class.
10296         (JToggleButton): Override layout alighment.
10297         * javax/swing/SwingUtilities.java:
10298         (getLocalBounds): Return width and height, not x and y.
10299         (calculateInnerArea): Use local bounds, not bounds.
10300         (layoutCompoundLabel): Provide overridden form.
10301         (layoutCompoundLabel): Correct bugs.
10302         * javax/swing/UIDefaults.java: Correct comment.
10303         * javax/swing/plaf/basic/BasicButtonUI.java: 
10304         Move most logic into defaults, external listener.
10305         (paintIcon): Implement icon painting.
10306         (paint): Fix state painting to conform to changes in model.
10307         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10308         Remove most dead/wrong methods.
10309         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10310         * javax/swing/plaf/basic/BasicIconFactory.java:
10311         (DummyIcon): New class.
10312         (getMenuItemCheckIcon)
10313         (getMenuItemArrowIcon) 
10314         (getMenuArrowIcon)
10315         (getCheckBoxMenuItemIcon)
10316         (getRadioButtonMenuItemIcon)
10317         (createEmptyFrameIcon): Return DummyIcons, not null.
10318         (getCheckBoxIcon): Implement an icon that looks like sun's.
10319         (getRadioButtonIcon): Implement an icon that looks like sun's.
10320         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10321         (initComponentDefaults): Fix impossible values, add some missing.
10322         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10323         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10324         Remove most dead/wrong methods.
10325         (icon): New field.
10326         (getDefaultIcon): New method.
10327         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10328         Remove most dead/wrong methods.
10329         * javax/swing/plaf/metal/MetalLookAndFeel.java
10330         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10332         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10333         Implement "clearing" as drawing, when on pixmap drawables.
10334
10335         * javax/swing/JButton.java (getUIClassID): 
10336         * javax/swing/JCheckBox.java (getUIClassID):
10337         * javax/swing/JEditorPane.java (getUIClassID):
10338         * javax/swing/JLabel.java (getUIClassID): 
10339         * javax/swing/JList.java (getUIClassID): 
10340         * javax/swing/JOptionPane.java (getUIClassID): 
10341         * javax/swing/JPanel.java (getUIClassID): 
10342         * javax/swing/JPasswordField.java (uiClassID): 
10343         * javax/swing/JRadioButton.java (getUIClassID): 
10344         * javax/swing/JRootPane.java (getUIClassID): 
10345         * javax/swing/JScrollPane.java (getUIClassID): 
10346         * javax/swing/JTabbedPane.java (getUIClassID): 
10347         * javax/swing/JToggleButton.java (getUIClassID): 
10348         * javax/swing/JTree.java (getUIClassID): 
10349         * javax/swing/JViewport.java (getUIClassID): 
10350         * javax/swing/text/JTextComponent.java (getUIClassID):
10351         Return "fooUI" not "Jfoo"
10352
10353 2004-02-11  Michael Koch  <konqueror@gmx.de>
10354
10355         * java/net/DatagramSocket.java
10356         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10357         Boolean object.
10358         (setBroadcast): Likewise.
10359         * java/net/MulticastSocket.java
10360         (setLoopbackMode): Likewise.
10361         * java/net/ServerSocket.java
10362         (setReuseAddress): Likewise.
10363         * java/net/Socket.java
10364         (setTcpNoDelay): Likewise.
10365         (setSoLinger): Likewise.
10366         (setOOBInline): Likewise.
10367         (setKeepAlive): Likewise.
10368         (setReuseAddress): Likewise.
10369         * java/net/URLConnection.java
10370         (setContentHandler): Replace == with equals().
10371         * java/net/URLStreamHandler.java
10372         (hostSEquals): Fix checking host addresses.
10373         (toExternalForm): Dont check protocol for null. We know already its
10374         not null.
10375
10376 2004-02-10  David Jee  <djee@redhat.com>
10377
10378         * java/awt/BorderLayout.java
10379         (calcCompSize): Invisible components get zero dimensions.
10380         * java/awt/Button.java
10381         (setLabel): Set actionCommand.
10382         * java/awt/Component.java
10383         (show): Invalidate component and parent container.
10384         (hide): Likewise.
10385
10386 2004-02-10  David Jee  <djee@redhat.com>
10387
10388         * java/awt/GridBagLayout.java
10389         (GridBagLayout): New private field, internalcomptable.
10390         (lookupInternalConstraints): New method.
10391         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10392         (GetLayoutInfo): Reimplement.
10393         (calcCellSizes): Ignore rows/columns with size 0.
10394
10395 2004-02-10  Michael Koch  <konqueror@gmx.de>
10396
10397         * gnu/java/awt/EmbeddedWindow.java
10398         (setHandle): Use java.awt.Component.getPeer() instead of
10399         java.awt.Component.peer directly.
10400
10401 2004-02-10  David Jee  <djee@redhat.com>
10402
10403         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10404         (gtkSetLabel): New native method definition.
10405         (setLabel): Use gtkSetLabel.
10406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10407         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10408
10409 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10410
10411         * include/powerpc-signal.h: Revert 2004-01-21 change.
10412         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10413         from syscall for ppc32 versions.
10414
10415 2004-02-08  Per Bothner  <per@bothner.com>
10416
10417         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10418         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10419         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10420         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10421         Pass ByteOrder parameter to most methods, since the underlying
10422         ByteBuffer's order isn't always what we should use.
10423         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10424         * java/nio/DirectByteBufferImpl.java:  Likewise.
10425         Use ByteBufferHelper methods.
10426         * java/nio/MappedByteBufferImpl.java:  Likewise.
10427         (compact):  Use shiftDown.
10428         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10429         (get, put):  Use ByteBufferHelper.
10430         (compact):  Use new shiftDown method.
10431         (duplicate(boolean)):  New helper method.
10432         (duplicate, asReadOnlyBuffer):  Use it.
10433         (order):  Return endian field.
10434         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10435         * java/nio/FloatViewBufferImpl.java:  Likewise.
10436         * java/nio/IntViewBufferImpl.java:  Likewise.
10437         * java/nio/LongViewBufferImpl.java:  Likewise.
10438         * java/nio/ShortViewBufferImpl.java:  Likewise.
10439         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10440         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10441         (compact):  Re-implement using shiftDown.
10442
10443 2004-02-08  Andreas Jaeger  <aj@suse.de>
10444
10445         * include/x86_64-signal.h: Fix typo.
10446
10447 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10448
10449         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10450         qualifier to _regs.
10451         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10452
10453 2004-02-06  Michael Koch  <konqueror@gmx.de>
10454
10455         * java/io/ObjectInputStream.java
10456         (currentClassLoader): Reverted to old version of this method.
10457
10458 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10459
10460         * java/io/ObjectInputStream.java: Made all calls
10461         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10462         use cached info from ObjectStreamClass. (readClassDescriptor):
10463         Cache more information in ObjectStreamClass. (processResolution,
10464         readFields): Use cached info from ObjectStreamClass.
10465         (newObject): Throw exception instead of returning null for failure.
10466         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10467         setCharField, setDoubleField, setFloatField, setIntField,
10468         setLongField, setShortField, setObjectField, readObjectParams):
10469         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10470         check.
10471         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10472         (setClass): Added call to cacheMethods() (findMethod): New method.
10473         (cacheMethods): New method. (ObjectStreamClass): Added call to
10474         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10475         AccessController.doPrivileged to invoke setAccessible.
10476         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10477         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10478         New fields.
10479         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10480         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10481         isPrimitive): Made safe for cases where type == null.
10482         (setBooleanField, setByteField, setCharField, setShortField,
10483         setIntField, setLongField, setFloatField, setDoubleField,
10484         setObjectField): New methods.
10485
10486 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10487
10488         * java/awt/Component.java (getFont): Return a default font
10489         instead of null.
10490
10491         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10492         (Scrollbar (int, int, int, int, int)): Make default page
10493         increment 10.
10494         (setValues): Only call peer.setValues if one of the values has
10495         changed.
10496         (generateName): New method.
10497         (getUniqueLong): New method.
10498         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10499         (range_scrollbar): Remove structure.
10500         (post_adjustment_event): Remove function.
10501         (post_change_event): Accept jobject argument.
10502         (create): Cast jints to gdoubles.  Round scrollbar values to the
10503         nearest integer.  Clamp min, max and value settings.
10504         (connectJObject): Connect hook to widget->window.
10505         (connectSignals): Remove range_scrollbar structure variables.
10506         Remove "move-slider" connection.  Pass global peer reference to
10507         "value-changed" callback.
10508         (setLineIncrement): Cast jint value to gdouble.
10509         (setPageIncrement): Likewise.
10510         (setValues): Likewise.  Clamp min, max and value settings.
10511
10512 2004-02-05  Michael Koch  <konqueror@gmx.de>
10513
10514         * javax/swing/AbstractCellEditor.java
10515         (getCellEditorValue): Removed.
10516         * javax/swing/Box.java: Reformated.
10517         (serialVersionUID): New field.
10518         * javax/swing/ButtonGroup.java:
10519         Removed some weird whitespace.
10520         * javax/swing/CellEditor.java: Reformated.
10521         * javax/swing/CellRendererPane.java
10522         (serialVersionUID): New field.
10523         (AccessibleCellRendererPaneserialVersionUID): New field.
10524         * javax/swing/DefaultListModel.java
10525         (serialVersionUID): New field.
10526         * javax/swing/JEditorPane.java
10527         (serialVersionUID): New field.
10528         (setPage): Throws IOException.
10529         (addHyperlinkListener): Implemented.
10530         (removeHyperlinkListener): Implemented.
10531         (getHyperlinkListener): New method.
10532         * javax/swing/JFileChooser.java
10533         (serialVersionUID): New field.
10534         (AccessibleJFileChooser.serialVersionUID): New field.
10535         (addActionListener): Implemented.
10536         (removeActionListener): Implemented.
10537         (getActionListeners): New method.
10538         * javax/swing/JFormattedTextField.java
10539         (serialVersionUID): New field.
10540         (AbstractFormatter.serialVersionUID): New field.
10541         (clone): Throws CloneNotSupportedException
10542         (setEditValid): Add missing argument.
10543         (stringToValue): Throws ParseExcpetion.
10544         (valueToString): Throws ParseException.
10545         (commitEdit): Throws ParseException.
10546         * javax/swing/JLabel.java
10547         (serialVersionUID): New field.
10548         * javax/swing/JList.java
10549         (serialVersionUID): New field.
10550         (addListSelectionListener): Reformated.
10551         (removeListSelectionListener): Reformated.
10552         (getListSelectionListeners): New method.
10553         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10554         Reformated.
10555         (serialVersionUID): New field.
10556         * javax/swing/table/AbstractTableModel.java
10557         (getValueAt): Removed.
10558         (getColumnCount): Removed.
10559         (getRowCount): Removed.
10560
10561 2004-02-05  Michael Koch  <konqueror@gmx.de>
10562
10563         * java/awt/datatransfer/DataFlavor.java
10564         (imageFlavor): Javadoc added.
10565         (javaJVMLocalObjectType): Fixed.
10566
10567 2004-02-05  Michael Koch  <konqueror@gmx.de>
10568
10569         * java/lang/Thread.java
10570         (Thread): Reordered.
10571         (setContextClassLoader): Fixed javadoc comment.
10572         (setPriority): Reordered.
10573         (yield): Reordered.
10574         (initialize_native): Reordered.
10575         (gen_name): Reordered.
10576
10577 2004-02-05  Michael Koch  <konqueror@gmx.de>
10578
10579         * java/lang/Thread.java: Reordered fields, reformated much code,
10580         no functional changes, some variables renamed, javadoc comments
10581         merged.
10582
10583 2004-02-05  Michael Koch  <konqueror@gmx.de>
10584
10585         * java/util/zip/Deflater.java,
10586         java/util/zip/DeflaterOutputStream.java,
10587         java/util/zip/GZIPInputStream.java:
10588         Reformated and javadoc comments merged from classpath.
10589
10590 2004-02-05  Michael Koch  <konqueror@gmx.de>
10591
10592         * gnu/java/nio/NIOServerSocket.java
10593         (impl): Unused, removed.
10594         * gnu/java/nio/SocketChannelImpl.java
10595         (finnishConnect): Don't throw NoConnectionPendingException if not
10596         connected or no connection pending.
10597
10598 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10599
10600         * javax/swing/SwingUtilities.java: Many new functions.
10601         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10602         * javax/swing/basic/BasicGraphicsUtils.java 
10603         (getPreferredButtonSize): Start layout from top-left corner.
10604
10605 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10606
10607         * java/awt/geom/AffineTransform.java: 
10608         Corrected comments on the field definitions for
10609         m11 and m10.
10610         (shear): Fixed few errors that caused shear
10611         transformation to be performed incorrectly.
10612         (createInverse): Fixed to return correct
10613         inverse of the given matrix.
10614
10615 2004-02-03  Tom Tromey  <tromey@redhat.com>
10616
10617         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10618         PATH or LD_LIBRARY_PATH is not set in parent environment.
10619
10620 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10621
10622         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10623         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10624         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10625         java/awt/Component.java, java/awt/Container.java,
10626         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10627         java/awt/LayoutManager2.java, java/awt/List.java,
10628         java/awt/Menu.java, java/awt/MenuBar.java,
10629         java/awt/MenuItem.java, java/awt/Polygon.java,
10630         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10631         java/awt/Scrollbar.java, java/awt/TextArea.java,
10632         java/awt/TextField.java,
10633         java/awt/image/renderable/RenderContext.java,
10634         javax/swing/JApplet.java: Fix handling of alias methods, where a
10635         method has been deprecated in favour of a new one with the same
10636         funtion but a different name.  Put the method implementation in
10637         the deprecated method and have the new method call the
10638         deprecated one.  Make all other code call the new method.
10639
10640 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10641
10642         * gnu/java/nio/DatagramChannelImpl.java
10643         (inChannelOperation): New field.
10644         (isInChannelOperation): New accessor.
10645         (setInChannelOperation): New modifier.
10646         (receive): Use capacity() - position() of destination
10647         buffer instead of remaining(). Set and reset our "in
10648         channel operation indicator" before and after delegating
10649         the receive to our datagram socket. Removed testing code.
10650         Update destination buffer's current position if it is
10651         backed by a byte array (hasArray() is true).
10652         (send): Set and reset our "in channel operation indicator"
10653         before and after delegating the send to our datagram socket.
10654         Removed testing code. Update source buffer's current position
10655         if it is backed by a byte array (hasArray() is true).
10656         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10657         Use capacity() - position() of destination buffer instead
10658         of remaining().
10659         * java/net/DatagramSocket.java (receive): Don't throw an
10660         IllegalBlockingModeException if we have a non-blocking
10661         channel which initiated this operation.
10662         (send): Likewise.
10663
10664 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10665
10666         * configure.in: Add pkgconfig check for glib and gthread.
10667         * configure: Regenerate.
10668
10669 2004-02-01  Michael Koch  <konqueror@gmx.de>
10670
10671         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10672         arguments.
10673         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10674         * verify.cc (debug_print): Mark 'fmt' unused.
10675
10676 2004-01-30  Michael Koch  <konqueror@gmx.de>
10677
10678         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10679         * configure: Regenerated.
10680         * glib-2.0.m4: Removed.
10681         * gtk-2.0.m4: Removed.
10682         * libart.m4: Removed.
10683         * pkg.m4: New file.
10684
10685 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10686
10687         * gnu/java/net/PlainSocketImpl.java 
10688         (inChannelOperation): New field.
10689         (isInChannelOperation): New accessor.
10690         (setInChannelOperation): New modifier.
10691         * gnu/java/nio/ServerSocketChannelImpl.java
10692         (accept): Set and reset our server socket's PlainSocketImpl's
10693         "in channel operation" indicator before and after delegating
10694         the accept to our server socket.
10695         * gnu/java/nio/SocketChannelImpl.java
10696         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10697         operation" indicator before and after delegating the operation to
10698         our socket.
10699         (read): Likewise.
10700         (write): Likewise.
10701         * java/net/ServerSocket.java (implAccept): Don't throw an
10702         IllegalBlockingModeException if we have a non-blocking
10703         channel which initiated this accept operation.
10704         * java/net/Socket.java (connect): Don't throw an
10705         IllegalBlockingModeException if we have a non-blocking
10706         channel which initiated this connect operation.
10707         * java/nio/channels/spi/AbstractSelectableChannel.java
10708         (configureBlocking): Only call implConfigureBlocking() if
10709         the desired blocking mode is different from our current one.
10710
10711 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10712
10713         * java/io/BufferedReader.java (sbuf): New field.
10714         (readLine): Use String.valueOf instead of new String() as per
10715         Per Bothner's suggestion. Use instance sbuf field instead of a
10716         local StringBuffer instance.
10717         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10718         caller's buffer to refill().
10719         (read(void)): Pass our internal work buffer to refill if our
10720         input queue is empty.
10721         (refill): Changed return type to int. Use the specified buffer
10722         instead of our work buffer as per Bryce McKinlay's suggestion.
10723         Return the number of characters read or -1 for EOF.
10724
10725 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10726
10727         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10728
10729 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10730
10731         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10732         * Makefile.in: Re-generated.
10733         * gnu/awt/xlib/XFontPeer.java: New file.
10734         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10735         (setClip): Commented out debug printout.
10736         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10737         (getFontPeer): Return XFontPeer.
10738         (getLocalGraphicsEnvironment): New method.
10739         (getClasspathFontPeer): New method.
10740         (createFont): New method.
10741
10742 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10743
10744         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10745         return null. 
10746
10747 2004-01-29  Kim Ho  <kho@redhat.com>
10748
10749         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10750         (gtkLayoutSetVisible): New method
10751         (setMenuBar): Hide layout before setting MenuBar
10752         and reshow it after.
10753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10754         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10755
10756 2004-01-28  Michael Koch  <konqueror@gmx.de>
10757
10758         * gnu/java/lang/ClassHelper.java
10759         (getPackagePortion): Removed.
10760
10761 2004-01-28  Michael Koch  <konqueror@gmx.de>
10762
10763         * javax/swing/JComponent.java
10764         (listenerList): Initalize globally.
10765         (ancestor_list): Removed.
10766         (veto_list): Removed.
10767         (change_list): Removed.
10768         (get_veto_list): Removed.
10769         (get_change_list): Removed.
10770         (get_ancestor_list): Removed.
10771         (removeAncestorListener): Reimplemented.
10772         (removePropertyChangeListener): Likewise.
10773         (removeVetoableChangeListener): Likewise.
10774         (addAncestorListener): Likewise.
10775         (addPropertyChangeListener): Likewise.
10776         (addVetoableChangeListener): Likewise.
10777         (getListeners): New method.
10778         (getAncestorListeners): Likewise.
10779         (getVetoableChangeListeners): Likewise.
10780         (fireVetoableChange): Throws PropertyVetoException.
10781         * javax/swing/JEditorPane.java
10782         (JEditorPane): Throws IOException.
10783
10784 2004-01-28  David Jee  <djee@redhat.com>
10785
10786         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10787         (create): Set the default foreground color to
10788         java.awt.SystemColor.windowText.
10789
10790 2004-01-27  Michael Koch  <konqueror@gmx.de>
10791
10792         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10793         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10794         Reindented to merge with classpath.
10795
10796 2004-01-27  David Jee  <djee@redhat.com>
10797
10798         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10799         (addExposeFilter): Handle GtkFramePeer separately.
10800         (removeExposeFilter): Likewise.
10801
10802 2004-01-27  Michael Koch  <konqueror@gmx.de>
10803
10804         * gnu/java/net/protocol/http/Connection.java
10805         (getOutputStream): Fixed typo.
10806
10807 2004-01-27  Michael Koch  <konqueror@gmx.de>
10808
10809         * java/lang/Class.java
10810         (getConstructor): Removed SecurityException from throws clause.
10811         (_getConstructors): Likewise.
10812         (getConstructors): Likewise.
10813         (getDeclaredConstructor): Likewise.
10814         (getDeclaredClasses): Likewise.
10815         (getDeclaredConstructors): Likewise.
10816         (getDeclaredField): Likewise.
10817         (getDeclaredMethod): Likewise.
10818         (getDeclaredMethods): Likewise.
10819         (getField): Likewise.
10820         (getMethod): Likewise.
10821         (getMethods): Likewise.
10822
10823 2004-01-27  Kim Ho  <kho@redhat.com>
10824
10825         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10826         (removeMenuBarPeer): Remove MenuBarPeer argument.
10827         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10828         (dispose): Call native method.
10829         * java/awt/Frame.java (setMenuBar): Create and remove
10830         MenuBar peers only if the Frame has a peer.
10831         (addNotify): Create the MenuBar peer if one exists.
10832         (removeNotify): Remove MenuBar peer if one exists.
10833         * java/awt/Menu.java: Fix imports.
10834         (addNotify): Don't use full class name.
10835         (removeNotify): Call removeNotify on all children.
10836         * java/awt/MenuBar.java (removeNotify): Call
10837         removeNotify on all children.
10838         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10839         (removeMenuBarPeer): Remove MenuBarPeer argument.
10840         Iterate through children to find the Frame's MenuBar.
10841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10842         New file.
10843         (dispose): Remove references to the MenuComponent.
10844
10845 2004-01-27  Michael Koch  <konqueror@gmx.de>
10846
10847         * javax/swing/AbstractCellEditor.java: Reformated.
10848         * javax/swing/DefaultListSelectionModel.java
10849         (listenerList): Made protected.
10850         (addListSelectionListener): Javadoc added.
10851         (removeListSelectionListener): Likewise.
10852         (getListeners): Likewise.
10853         (getListSelectionListeners): Likewise.
10854         * javax/swing/JComboBox.java: Merged copyright year.
10855         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10856
10857 2004-01-26  Andrew Haley  <aph@redhat.com>
10858
10859         * javax/swing/table/JTableHeader.java: Extend JComponent
10860
10861 2004-01-26  Kim Ho  <kho@redhat.com>
10862
10863         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10864         Fix spacing.
10865
10866 2004-01-26  Kim Ho  <kho@redhat.com>
10867
10868         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10869         method.
10870         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10871         height and let the Layout Managers readjust anything that
10872         needs to move.
10873         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10874         (moveLayout): New method. Shift everything in the Gtk
10875         layout in the Y direction by an offset.
10876
10877 2004-01-26  David Jee  <djee@redhat.com>
10878
10879         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10880         (handleEvent): Implemented. Handles PaintEvents.
10881         (paint): Implemented. Use GTK native methods to queue updates
10882         for this heavyweight peer.
10883         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10884         (handleEvent): Removed.
10885         * java/awt/Component.java
10886         (paint): Implemented. Explictly paint the heavyweight peer.
10887         (update): Clear the background for heavyweight components.
10888         (paintAll): No need to call peer.paint() anymore.
10889         (processEvent): Don't process PaintEvents here. It's now done in
10890         the peer's handleEvent().
10891         (processPaintEvent): Removed.
10892         * java/awt/Container.java
10893         (paint): No need to call super.paint(). Visit heavyweight
10894         children as well.
10895         (update): Don't clear the background here.  It's done in
10896         Component.update().
10897         (visitChildren): Added check to not recurse into Containers.
10898         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10899         (filter_expose_event_handler): New method.  Filter unwanted
10900         expose events while painting heavyweight peers.
10901         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10902         New method. Connect filter and block pre_event_handler.
10903         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10904         New method. Disconnect filter and unblock pre_event_handler.
10905         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10906         New method. Invalidate and update given area.
10907         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10908         (pre_event_handler): Add checks for unwanted expose events.
10909
10910 2004-01-26  David Jee  <djee@redhat.com>
10911
10912         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10913         (find_bg_color_widget): For GtkButton, return its child.
10914
10915 2004-01-26  Kim Ho  <kho@redhat.com>
10916
10917         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10918         private.
10919         (setMenuBar): Grab MenuBar height and change insets.
10920         (setBounds): Account for MenuBar height.
10921         (postInsetsChangedEvent): Ditto.
10922         (postSizeAllocateEvent): Remove.
10923         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10924         (menubar_resize_cb): Remove
10925         (setMenuBarPeer): Remove callback.
10926         (getMenuBarHeight): Use size requisition instead of
10927         allocation.
10928
10929 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10930
10931         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10932         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10933         when peer is null.
10934         (setColumns): Remove FIXME -- peer will retrieve number of
10935         columns by calling getColumns.
10936         (setRows): Likewise for number of rows.
10937         (next_text_number): New field.
10938         (paramString): Fix param string.
10939         (generateName): New method.
10940         (getUniqueLong): New method.
10941
10942 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10943
10944         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10945         image observer of image loading status.
10946         (getImage (String)): Start image production.
10947         (getImage (URL)): Likewise.
10948
10949 2004-01-25  Michael Koch  <konqueror@gmx.de>
10950
10951         * java/lang/Class.java: Imports reworked, reformated.
10952         (Class): Javadoc added.
10953         (forName): Likewise.
10954         (getClasses): Likewise.
10955         (getClassLoader): Likewise.
10956         (getComponentType): Likewise.
10957         (getConstructor): Likewise.
10958         (getConstructors): Likewise.
10959         (getDeclaredConstructor): Likewise.
10960         (getDeclaredClasses): Likewise.
10961         (getDeclaredConstructors): Likewise.
10962         (getDeclaredField): Likewise.
10963         (getDeclaredMethod): Likewise.
10964         (getDeclaredMethods): Likewise.
10965         (getDeclaringClass): Likewise.
10966         (getField): Likewise.
10967         (getInterfaces): Likewise.
10968         (getMethod): Likewise.
10969         (getMethods): Likewise.
10970         (getModifiers): Likewise.
10971         (getName): Likewise.
10972         (getResource): Likewise.
10973         (getResourceAsStream): Likewise.
10974         (getSigners): Likewise.
10975         (setSigners): Likewise.
10976         (getSuperclass): Likewise.
10977         (isArray): Likewise.
10978         (isAssignableFrom): Likewise.
10979         (isInstance): Likewise.
10980         (isInterface): Likewise.
10981         (isPrimitive): Likewise.
10982         (newInstance): Likewise.
10983         (getProtectionDomain): Likewise.
10984         (toString): Likewise.
10985         (Class): Moved.
10986         (initializeClass): Likewise.
10987         (finalize): Likewise.
10988
10989 2004-01-24  Michael Koch  <konqueror@gmx.de>
10990
10991         * gnu/java/net/protocol/jar/Connection.java
10992         (hdrHash): Removed.
10993         (hdrVec): Removed.
10994         (gotHeaders): Removed.
10995         (getHeaderField): Removed.
10996         (getHeaderFields): Removed.
10997         (getHeaderFieldKey): Removed.
10998         (getKey): Removed.
10999         (getField): Removed.
11000         (getHeaders): Removed.
11001
11002 2004-01-24  Michael Koch  <konqueror@gmx.de>
11003
11004         * Makefile.am: Added library version to gtk peer lib.
11005         * Makefile.in: Regenerated.
11006
11007 2004-01-24  Michael Koch  <konqueror@gmx.de>
11008
11009         * java/util/zip/InflaterInputStream.java: Merged class documentation
11010         with classpath.
11011
11012 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
11013
11014         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11015         header.  For __powerpc64__ provide the default-signal.h definitions
11016         for now.
11017         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11018         instead of the dummy definitions.
11019         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11020         (powerpc64*-*): Remove with_libffi_default.
11021         Only add -mminimal-toc for 64-bit compilations.
11022         * configure.in: Use powerpc-signal.h on powerpc64 as well.
11023         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11024         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11025         * configure: Rebuilt.
11026
11027 2004-01-23  Michael Koch  <konqueror@gmx.de>
11028
11029         * gnu/java/nio/FileLockImpl.java: Compile fixes.
11030
11031 2004-01-23  Michael Koch  <konqueror@gmx.de>
11032
11033         * java/lang/VMClassLoader.java: Reworked imports.
11034         
11035 2004-01-23  Michael Koch  <konqueror@gmx.de>
11036
11037         * javax/swing/AbstractAction.java: Reformated.
11038
11039 2004-01-23  Michael Koch  <konqueror@gmx.de>
11040
11041         * java/text/CollationElementIterator.java:
11042         (setText): New method.
11043
11044 2004-01-23  Michael Koch  <konqueror@gmx.de>
11045
11046         * gnu/java/nio/FileLockImpl.java:
11047         Fixed filename in copyright.
11048         (released): Removed.
11049         (finalize): New method.
11050         * gnu/java/nio/natFileLockImpl.cc
11051         (releaseImpl): Implemented.
11052         * java/nio/channels/FileChannelImpl.java:
11053         Reworked imports.
11054         (lock): Implemented.
11055         (lockImpl): New method.
11056         (tryLock): Implemented.
11057         (tryLockImpl): New method.
11058         * java/nio/channels/natFileChannelImpl.cc
11059         (lockImpl): New method.
11060         (tryLockImpl): New method.
11061
11062 2004-01-23  Michael Koch  <konqueror@gmx.de>
11063
11064         * java/io/FileDescriptor.java
11065         (lock): New method.
11066         (tryLock): New method.
11067         (unlock): New method.
11068         * java/io/natFileDescriptorEcos.cc
11069         (lock): New method.
11070         (tryLock): New method.
11071         (unlock): New method.
11072         * java/io/natFileDescriptorPosix.cc
11073         (lock): New method.
11074         (tryLock): New method.
11075         (unlock): New method.
11076         * java/io/natFileDescriptorWin32.cc
11077         (lock): New method.
11078         (tryLock): New method.
11079         (unlock): New method.
11080
11081 2004-01-23  Michael Koch  <konqueror@gmx.de>
11082
11083         * java/io/FileDescriptor.java
11084         (sync): Moved around, added javadoc.
11085         (valid): Likewise.
11086         (open): Likewise.
11087         (write): Likewise.
11088         (close): Likewise.
11089         (setLength): Likewise.
11090         (seek): Likewise.
11091         (getLength): Likewise.
11092         (getFilePointer): Likewise.
11093         (read): Likewise.
11094         (available): Likewise.
11095         (finalize): Likewise.
11096
11097 2004-01-23  Michael Koch  <konqueror@gmx.de>
11098
11099         * javax/swing/AbstractAction.java: Reformated.
11100         (getPropertyChangeListeners): New method.
11101         * javax/swing/AbstractCellEditor.java: Reformated.
11102         (getCellEditorListeners): New method.
11103         * javax/swing/DefaultListSelectionModel.java
11104         (listenerList): New field.
11105         (listeners): Removed.
11106         (get_listeners): Removed.
11107         (addListSelectionListener): Rewritten.
11108         (removeListSelectionListener): Rewritten.
11109         (getListSelectionListeners): New method.
11110         (getListeners): New method.
11111         * javax/swing/JComboBox.java: Imports reworked.
11112         (addActionListener): Implemented.
11113         (removeActionListener): Implemented.
11114         (addItemListener): Implemented.
11115         (removeItemListener): Implemented.
11116         (addPopupMenuListener): Implemented.
11117         (removePopupMenuListener): Implemented.
11118         (getActionListeners): New method.
11119         (getItemListeners): New method.
11120         (getPopupMenuListeners): New method.
11121
11122 2004-01-23  Michael Koch  <konqueror@gmx.de>
11123
11124         * gnu/java/net/protocol/http/Connection.java
11125         (connect): Don't initialize bufferedOutputStream if not needed.
11126         (sendRequest): Set property for content length if content is present.
11127         Write content only if present.
11128         (getOutputStream): Check if already connected, dont connect,
11129         initalize bufferedOutputStream if needed.
11130
11131 2004-01-23  Michael Koch  <konqueror@gmx.de>
11132
11133         * java/io/FileDescriptor.java
11134         (in, out, err): Added javadoc.
11135         (static): Merged loading code.
11136         (fd, position): Moved around.
11137
11138 2004-01-23  Michael Koch  <konqueror@gmx.de>
11139
11140         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11141         New file.
11142
11143 2004-01-23  Michael Koch  <konqueror@gmx.de>
11144
11145         * java/lang/Class.java,
11146         java/lang/Object.java,
11147         java/lang/Thread.java: Merged copyright with classpath.
11148
11149 2004-01-23  Michael Koch  <konqueror@gmx.de>
11150
11151         * java/io/FileDescriptor.java: Merged copyright with classpath to
11152         start merging this class.
11153
11154 2004-01-22  Tom Tromey  <tromey@redhat.com>
11155
11156         PR libgcj/13107:
11157         * testsuite/libjava.lang/pr13107_2.xfail: New file.
11158         * testsuite/libjava.lang/pr13107_3.xfail: New file.
11159         * testsuite/libjava.lang/pr13107_3.java: New file.
11160         * testsuite/libjava.lang/pr13107_3.out: New file.
11161         * testsuite/libjava.lang/pr13107_2.java: New file.
11162         * testsuite/libjava.lang/pr13107_2.out: New file.
11163         * testsuite/libjava.lang/pr13107.java: New file.
11164         * testsuite/libjava.lang/pr13107.out: New file.
11165         * verify.cc (jsr_ptrs): Removed.
11166         (entry_points): Likewise.
11167         (struct subr_info): Likewise.
11168         (struct subr_entry_info): Likewise.
11169         (type_val::unused_by_subroutine_type): Likewise.
11170         (type::merge): Don't handle unused_by_subroutine_type.
11171         (type::print): Likewise.
11172         (state::flags): Removed.
11173         (state::subroutine): Likewise.
11174         (state::seen_subrs): Likewise.
11175         (state::NO_STACK): Likewise.
11176         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11177         (state): Updated all methods.
11178         (state::clean_subrs): Removed.
11179         (state::state): Removed `ret_semantics' flag.
11180         (state::copy): Likewise.
11181         (state::add_subr): Removed.
11182         (state::enter_subroutine): Likewise.
11183         (type::set_return_address): New method.
11184         (handle_jsr_insn): Set return address on the type.  Always
11185         invalidate PC after call.
11186         (check_nonrecursive_call): Removed.
11187         (~_Jv_BytecodeVerifier): Updated.
11188         (branch_prepass): Removed special handling of jsr.
11189         (note_branch_target): Likewise.
11190         (get_subroutine): Removed.
11191         (state::merge): Don't merge subroutines and don't handle
11192         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11193         (state::note_variable): Removed.
11194         (state::is_unmerged_ret_state): Likewise.
11195         (state::print): Updated.
11196         (set_variable): Likewise.
11197         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11198         and jsr_semantics arguments.  Updated for new reverification
11199         list.
11200         (pop_jump): Rewrote.
11201         (construct_primitive_array_type): Updated.
11202         (state::next): Removed.
11203         (INVALID_STATE): New define.
11204         (state::INVALID): Removed.
11205         (state::NO_NEXT): New value.
11206         (state::pc, state::next): New fields.
11207         (state::get_pc): New method.
11208         (next_verify_pc): Removed.
11209         (next_verify_state): New field.
11210         (verify_instructions_0): Always check for falling off end.
11211         (linked): New type.
11212         (linked_utf8): Removed.
11213         (states): Changed type.
11214         (type::state_mergeable_p): New method.
11215         (state::state_mergeable_p): Likewise.
11216         (handle_ret_insn): Removed most code.
11217         (state::reverify): New method.
11218         (add_new_state): Likewise.
11219         (state::set_pc): Likewise.
11220
11221 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11222
11223         PR java/13733
11224         * testsuite/libjava.compile/PR13733.java: New file.
11225         * testsuite/libjava.compile/PR13733.xfail: New file.
11226
11227 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11228             Michael Koch  <konqueror@gmx.de>
11229
11230         * javax/swing/table/DefaultTableCellRenderer.java
11231         (DefaultTableCellRenderer): Added javadoc for the class and for
11232         the constructor, Border instance, create an EmptyBorder.
11233         (UIResource): Removed the comment at the end of the class
11234         (setForeground): New method.
11235         (setBackground): New method.
11236         (updateUI): New method.
11237         (getTableCellRendererComponent): Rewritten with the help of
11238         dvholten and Stephane Meslin-Weber.
11239         (validate): New method.
11240         (repaint): New method.
11241         (firePropertyChange): New method.
11242         (setValue): New method.
11243
11244 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11245
11246         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11247         (connectJObject): Replace printf calls with g_assert statements.
11248         Move property-notify-event signal connection to ...
11249         (connectSignals): Connect property-notify-event signal.  Iterate
11250         through the vbox's children to find layout.
11251
11252 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11253         
11254         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11255         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11256         Predicate static initialization on GtkToolkit.useGraphics2D().
11257         * java/awt/Component.java (processPaintEvent): Consume event.
11258         * javax/swing/AbstractButton.java: Reimplement, document.
11259         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11260         * javax/swing/JComponent.java (paint): Use double buffer.
11261         (listenerList): Enable member.
11262         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11263         * javax/swing/JToggleButton.java 
11264         (JToggleButton): Modify model constructor.
11265         * javax/swing/SwingUtilities.java 
11266         (layoutCompoundLabel): Adjust arithmetic.
11267         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11268         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11269         (getPreferredButtonSize): Include margins in calculation.
11270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11271         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11272         Receive up events from subordinate layout component.
11273
11274 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11275
11276         * java/awt/Component.java (show): Set visible to true before
11277         showing the peer.
11278
11279 2004-01-21  Kim Ho  <kho@redhat.com>
11280
11281         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11282         Fix comments.
11283         (removeMenuBarPeer): Make package private.
11284         (setMenuBarPeer): Make package private.
11285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11286         (menubar_resize_cb): Mark attributes unused.
11287         (getMenuBarHeight): ditto.
11288
11289 2004-01-21  David Jee  <djee@redhat.com>
11290
11291         * java/awt/Container.java
11292         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11293         dispatching MOUSE_ENTERED event twice. Translate the point for
11294         the mouse event target before dispatching the event.
11295
11296 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11297
11298         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11299         lib_org_w3c_dom_la_LDFLAGS): New.
11300         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11301         * Makefile.in: Rebuilt.
11302
11303 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11304
11305         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11306         Calculate proper offsets for heavyweight components packed in
11307         lightweight containers.
11308
11309         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11310         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11311         (native create): Add width parameter.
11312         (create): Calculate text entry width based on current font's
11313         metrics and number of columns.  Set TextField's font if not
11314         already set.  Call native create.
11315         (gtkEntryGetBorderWidth): New native method.
11316         (gtkEntryGetSize): Remove method.
11317         (getMinimumSize): Call minimumSize.
11318         (getPreferredSize): Call preferredSize.
11319         (minimumSize): Calculate minimum size based on backing
11320         GtkEntry's borders, font metrics and number of columns.
11321         (preferredSize): Likewise for preferred size.
11322         (get_border_width): New static function.
11323
11324         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11325         Override GtkWindowPeer's setResizable method to account for menu
11326         bar height when setting the frame's size.
11327
11328 2004-01-19  Matthias Klose  <doko@debian.org>
11329
11330         * libtool-version: Increased `current' to 6.
11331
11332 2004-01-19  Kim Ho  <kho@redhat.com>
11333
11334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11335         (connectJObject): Iterate through the vbox's children to find layout.
11336
11337 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11338
11339         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11340         isDispatchThread method to replace wrong test condition.
11341
11342 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11343
11344         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11345         events to the queue out of order by acquiring locks in the proper
11346         order and not by releasing one before acquiring the other.
11347
11348 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11349
11350         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11351         visible so that dialog can be reused.
11352
11353 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11354
11355         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11356         events may be handled by any queue in the stack.
11357
11358 2004-01-19  Kim Ho  <kho@redhat.com>
11359
11360         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11361         MenuBarPeer parameter.
11362         (removeMenuBarPeer): New native method.
11363         (setMenuBar): Call remove if menu bar is null. Adjust insets
11364         appropriately.
11365         (postSizeAllocateEvent): New method. Called when menu bar size is
11366         allocated. Adjust insets and redo layout.
11367         (GtkFramePeer): Set menu bar during frame creation.
11368         (postConfigureEvent): Adjust position and size to accomodate
11369         menu bar.
11370         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11371         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11372         (addNotify): Create the peer if it doesn't exist and call addNotify
11373         for the menu's items.
11374         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11375         * java/awt/MenuItem.java (addNotify): Create the peer if it
11376         doesn't exist.
11377         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11378         (removeMenuBarPeer): New method. Remove menu bar on the current
11379         frame.
11380         (setMenuBarPeer): Add the menu bar to the current frame and the
11381         callback for size-allocate events on the menu bar.
11382         (getMenuBarHeight): Add menu bar parameter.
11383         (menubar_resize_cb): New callback method for postSizeAllocate events.
11384
11385         Also: Fix indentation on last ChangeLog entry.
11386
11387 2004-01-16  Kim Ho  <kho@redhat.com>
11388
11389         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11390         (gtkWidgetGetDimensions): Remove.
11391         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11392         (gtkWidgetGetDimensions): Remove.
11393
11394 2004-01-16  Tom Tromey  <tromey@redhat.com>
11395
11396         * java/awt/Container.java: Typo and indentation fixes.
11397
11398         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11399         * java/lang/natVMClassLoader.cc: ...here.  New file.
11400         * Makefile.in: Rebuilt.
11401         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11402
11403 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11404
11405         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11406         Discard GDK_ENTER_NOTIFY related to ungrabs.
11407
11408 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11409
11410         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11411         is called for an intermediate queue.
11412
11413 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11414
11415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11416         (window_property_changed_cb): Set id_set.
11417
11418 2004-01-16  Kim Ho  <kho@redhat.com>
11419
11420         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11421         it is a FileDialog and has dimensions of 0 by 0, then the initial
11422         size is set to size request plus insets.
11423         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11424         (gtkWidgetGetDimensions): Override method.
11425         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11426         (gtkWidgetGetDimensions): Override method. Returns size request plus
11427         insets.
11428
11429 2004-01-16  Andrew Haley  <aph@redhat.com>
11430
11431         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11432         * sysdep/i386/locks.h: Likewise.
11433
11434 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11435
11436         * java/awt/EventDispatchThread.java (run): Stop running when
11437         interrupted.
11438         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11439         Reset the queue after transferring its contents.
11440         (push): Start a new dispatch thread if none is running.
11441
11442 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11443
11444         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11445         (doPolygon): set fill rule of polygon to 
11446         WIND_EVEN_ODD by default.
11447
11448 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11449
11450         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11451         Implemented rendering hints related methods.
11452         (getDefaultHints): New helper method. Returns
11453         default rendering hints.
11454         (walkPath): changed to normalize path if
11455         the KEY_STROKE_CONTROL key is in "normalize" mode.
11456         (draw3DRect): changed coordinates of rectangle by +0.5
11457         if in "normalize" mode.
11458
11459 2004-01-15  Tom Tromey  <tromey@redhat.com>
11460
11461         * Makefile.in: Rebuilt.
11462         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11463         (%.lo: %.java) Filter out StackTrace.lo.
11464
11465 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11466
11467         * configure.in: Add in AC_PREREQ(2.13)
11468         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11469         FIXME comment.
11470
11471 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11472             Tom Tromey  <tromey@redhat.com>
11473
11474         PR libgcj/12001:
11475         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11476         array to superclass.
11477         (init): Changed interface; add URLs here.
11478         (initialize): New static method.
11479         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11480         (_Jv_RunMain): ... not here.
11481
11482 2004-01-14  Michael Koch  <konqueror@gmx.de>
11483
11484         * java/text/MessageFormat.java:
11485         Added descriptions to exceptions.
11486         This fixes PR libgcj/2429.
11487
11488 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11489
11490         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11491         (push): Make sure push is performed at the top of the thread stack.
11492
11493 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11494
11495         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11496         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11497         (native create): Add width and height parameters.  Set text
11498         view's size request according to new parameters.
11499         (create): Calculate text view size based on current font's
11500         metrics and number of rows and columns.  Set TextArea's font if
11501         not already set.  Call native create.
11502         (getMinimumSize): Call minimumSize.
11503         (getPreferredSize): Call preferredSize.
11504         (getHScrollbarHeight): New method.
11505         (getVScrollbarWidth): New method.
11506         (minimumSize): Calculate minimum size based on scrollbar
11507         visibility, scrollbar sizes, font metrics and number of rows and
11508         columns.
11509         (preferredSize): Likewise for preferred size.
11510         (gtkTextGetSize): Remove method.
11511
11512 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11513
11514         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11515         (initializeInsets): Remove method.
11516         (GtkComponentPeer): Initialize insets field.  Remove call to
11517         initializeInsets.
11518         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11519         Remove method.
11520         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11521         Remove method.
11522         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11523         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11524         (latestInsets): Remove field.
11525         (native create): Add insets parameter.  Call
11526         window_get_frame_extents.  Set the window's default size and
11527         size request based on its frame extents.
11528         (create): Initialize insets.
11529         (postInsetsChangedEvent): New method.
11530         (postConfigureEvent): Remove parameters top, left, bottom,
11531         right.  Remove insets-related logic.
11532         (connectJObject): Handle property-notify-event.
11533         (window_get_frame_extents, request_frame_extents,
11534         property_notify_predicate, window_property_changed_cb): New
11535         static functions.
11536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11537         (pre_event_handler): Remove insets-related logic for configure
11538         events.
11539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11540         Update postConfigureEvent signature.
11541
11542 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11543  
11544         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11545         to handle Window "Closing" events.
11546  
11547 2004-01-13  David Jee  <djee@redhat.com>
11548
11549         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11550         (setBackground): New method. Children with no explicitly-set
11551         background will be repainted with the parent container's new
11552         background color.
11553
11554 2004-01-13  David Jee  <djee@redhat.com>
11555
11556         * Makefile.am: Add BitwiseXORComposite.java.
11557         * Makefile.in: Regenerated.
11558         * gcj/Makefile.in: Regenerated.
11559         * include/Makefile.in: Regenerated.
11560         * testsuite/Makefile.in: Regenerated.
11561
11562 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11563
11564         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11565         not show modal dialogs twice and so that it allows showing a modal
11566         dialog from another modal dialog.
11567
11568 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11569
11570         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11571         and run secondary dispatch thread to process event queue while this
11572         thread is blocked.
11573
11574 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11575
11576         * gnu/java/awt/gtk/GdkGraphics2D.java
11577         (static): Check GtkToolkit before initializing static state.
11578         (Graphics2D): Don't construct transform with 0.5 unit offset.
11579
11580 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11581
11582         * gnu/java/awt/BitwiseXORComposite.java: Add.
11583         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11584         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11585         (BitwiseXORComposite): Remove inner class.
11586
11587 2004-01-11  Michael Koch  <konqueror@gmx.de>
11588
11589         * gnu/java/lang/reflect/TypeSignature.java
11590         (getEncodingOfClass): Documentation fixed.
11591         (getClassForEncoding): Give class loader to Class.forName().
11592         Documentation fixed.
11593
11594 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11595
11596         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11597
11598 2004-01-11  Michael Koch  <konqueror@gmx.de>
11599
11600         * javax/swing/undo/StateEditable.java
11601         (RCSID): Removed redundant modifiers.
11602
11603 2004-01-10  Michael Koch  <konqueror@gmx.de>
11604
11605         * javax/print/attribute/EnumSyntax.java
11606         (getStringTable): Made protected.
11607         (getEnumValueTable): Likewise.
11608         * javax/print/attribute/standard/JobKOctetsProcessed.java
11609         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11610         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11611         (JobMediaSheetsCompleted): Made class final.
11612         * javax/print/attribute/standard/OutputDeviceAssigned.java
11613         (getName): Fixed typo.
11614         * javax/print/attribute/standard/RequestingUserName.java
11615         (serialVersionUID): Fixed value.
11616
11617 2004-01-10  Michael Koch  <konqueror@gmx.de>
11618
11619         * javax/swing/plaf/basic/BasicButtonUI.java,
11620         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11621         javax/swing/plaf/basic/BasicListUI.java,
11622         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11623         javax/swing/plaf/basic/BasicPanelUI.java,
11624         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11625         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11626         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11627         javax/swing/plaf/basic/BasicViewportUI.java:
11628         Fixed import statements.
11629
11630 2004-01-10  Michael Koch  <konqueror@gmx.de>
11631
11632         * gnu/java/awt/image/ImageDecoder.java
11633         (produce): Made public.
11634         * gnu/java/awt/peer/GLightweightPeer.java,
11635         gnu/java/awt/peer/gtk/GtkToolkit.java:
11636         Reformated.
11637
11638 2004-01-10  Michael Koch  <konqueror@gmx.de>
11639
11640         * javax/swing/JRadioButtonMenuItem.java,
11641         javax/swing/JSeparator.java,
11642         javax/swing/JSplitPane.java,
11643         javax/swing/JTextPane.java,
11644         javax/swing/JToolBar.java,
11645         javax/swing/ListCellRenderer.java,
11646         javax/swing/ListModel.java,
11647         javax/swing/MenuElement.java,
11648         javax/swing/OverlayLayout.java,
11649         javax/swing/ProgressMonitor.java,
11650         javax/swing/ProgressMonitorInputStream.java,
11651         javax/swing/Renderer.java,
11652         javax/swing/RootPaneContainer.java,
11653         javax/swing/Scrollable.java,
11654         javax/swing/SingleSelectionModel.java,
11655         javax/swing/ToolTipManager.java,
11656         javax/swing/ViewportLayout.java,
11657         javax/swing/event/DocumentEvent.java,
11658         javax/swing/event/SwingPropertyChangeSupport.java,
11659         javax/swing/event/TreeSelectionEvent.java,
11660         javax/swing/event/UndoableEditEvent.java,
11661         javax/swing/text/AbstractDocument.java,
11662         javax/swing/text/AttributeSet.java,
11663         javax/swing/text/Caret.java,
11664         javax/swing/text/ComponentView.java,
11665         javax/swing/text/DefaultCaret.java,
11666         javax/swing/text/DefaultEditorKit.java,
11667         javax/swing/text/Document.java,
11668         javax/swing/text/EditorKit.java,
11669         javax/swing/text/GapContent.java,
11670         javax/swing/text/Keymap.java,
11671         javax/swing/text/MutableAttributeSet.java,
11672         javax/swing/text/PlainEditorKit.java,
11673         javax/swing/text/Segment.java,
11674         javax/swing/text/Style.java,
11675         javax/swing/text/StyledDocument.java,
11676         javax/swing/text/StyledEditorKit.java,
11677         javax/swing/text/TextAction.java,
11678         javax/swing/text/View.java: Fixed import statements.
11679
11680 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11681
11682         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11683         djee@redhat.com's recent inverse ordering of Container elements.
11684
11685 2004-01-09  Michael Koch  <konqueror@gmx.de>
11686
11687         * gnu/java/lang/ArrayHelper.java
11688         (equalsArray): Removed.
11689
11690 2004-01-09  Andrew Haley  <aph@redhat.com>
11691
11692         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11693         a Utf8Const field before looking at its class.
11694
11695 2004-01-09  Michael Koch  <konqueror@gmx.de>
11696
11697         * javax/print/attribute/standard/DocumentName.java,
11698         javax/print/attribute/standard/JobHoldUntil.java,
11699         javax/print/attribute/standard/JobMessageFromOperator.java,
11700         javax/print/attribute/standard/JobName.java,
11701         javax/print/attribute/standard/JobOriginatingUserName.java,
11702         javax/print/attribute/standard/OutputDeviceAssigned.java,
11703         javax/print/attribute/standard/PrinterInfo.java,
11704         javax/print/attribute/standard/PrinterLocation.java,
11705         javax/print/attribute/standard/PrinterMakeAndModel.java,
11706         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11707         javax/print/attribute/standard/PrinterName.java,
11708         javax/print/attribute/standard/RequestingUserName.java: New files.
11709         * Makefile.am (javax_source_files): Added new files.
11710         * Makefile.in: Regenerated.
11711
11712 2004-01-09  Michael Koch  <konqueror@gmx.de>
11713
11714         * javax/swing/AbstractAction.java,
11715         javax/swing/AbstractSet.java,
11716         javax/swing/Action.java,
11717         javax/swing/ActionMap.java,
11718         javax/swing/BoundedRangeModel.java,
11719         javax/swing/ButtonModel.java,
11720         javax/swing/CellEditor.java,
11721         javax/swing/CellRendererPane.java,
11722         javax/swing/ComboBoxEditor.java,
11723         javax/swing/DebugGraphics.java,
11724         javax/swing/DefaultCellEditor.java,
11725         javax/swing/DefaultCellRenderer.java,
11726         javax/swing/DefaultComboBoxModel.java,
11727         javax/swing/DefaultDesktopManager.java,
11728         javax/swing/DefaultFocusManager.java,
11729         javax/swing/DefaultListCellRenderer.java,
11730         javax/swing/Icon.java,
11731         javax/swing/JButton.java,
11732         javax/swing/JCheckBoxMenuItem.java,
11733         javax/swing/JDesktopPane.java,
11734         javax/swing/JEditorPane.java,
11735         javax/swing/JMenu.java,
11736         javax/swing/JPanel.java,
11737         javax/swing/JPasswordField.java,
11738         javax/swing/JPopupMenu.java,
11739         javax/swing/JProgressBar.java: Reworked imports.
11740
11741 2004-01-09  Michael Koch  <konqueror@gmx.de>
11742
11743         * java/awt/geom/PathIterator.java
11744         (WIND_EVEN_ODD): Removed redundant modifiers.
11745         (WIND_NON_ZERO): Likewise.
11746         (SEG_MOVETO): Likewise.
11747         (SEG_LINETO): Likewise.
11748         (SEG_QUADTO): Likewise.
11749         (SEG_CUBICTO): Likewise.
11750         (SEG_CLOSE): Likewise.
11751         * java/awt/image/SinglePixelPackedSampleModel.java:
11752         Removed redundant semicolon.
11753         * java/io/ObjectInputStream.java
11754         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11755         * java/util/logging/Filter.java
11756         (isLoggable): Removed redundant modifier.
11757         * java/util/logging/LogManager.java:
11758         Removed redundant semicolon.
11759         * java/util/logging/XMLFormatter.java
11760         (format): Removed unused variable "key".
11761
11762 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11763
11764         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11765         New name for the former setFile native method.
11766         (setFile): New method.
11767         (setDirectory): Implemented.
11768         (connectSignals): New native method.
11769         (setFilenameFilter): Improve comment.
11770         (getGraphics): Comment.
11771         (gtkHideFileDialog): New method.
11772         (gtkDisposeFileDialog): New method.
11773         (gtkSetFilename): New method.
11774         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11775         for FileDialog for now.
11776         (hide): New method.
11777         (dispose): New method.
11778         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11779         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11780         deprecated creation functions.  Make dialog modal.  Add it to the
11781         window group.
11782         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11783         function.
11784         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11785         Rename to...
11786         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11787         name.
11788         (window_closed): New function.
11789         (ok_clicked): New function.
11790         (cancel_clicked): New function.
11791
11792 2004-01-08  Michael Koch  <konqueror@gmx.de>
11793
11794         * javax/swing/JLayeredPane.java: Revert changes to standard
11795         boilerplate, reworked imports.
11796
11797 2004-01-07  Tom Tromey  <tromey@redhat.com>
11798
11799         PR libgcj/13439:
11800         * verify.cc (state::merge): Copy changed locals out of subroutine
11801         in NO_STACK case.
11802         (state::FLAG_CHANGED): New const.
11803         (state::FLAG_UNUSED): Likewise.
11804         (state::local_changed): Removed.  Updated all users.
11805         (state::flags): New field.
11806         (state::merge): Added jsr_semantics argument, more logic.
11807         (push_jump_merge): Added jsr_semantics argument.
11808         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11809         merging through the jsr instruction.
11810
11811 2004-01-07  Tom Tromey  <tromey@redhat.com>
11812
11813         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11814         backslash-newline.
11815
11816 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11817
11818         * java/awt/Container.java (LightweightDispatcher): Implement.
11819         (visitChild): Reuse graphics object.
11820         (dispatchEventImpl): Optionally dispatch to lightweight.
11821         (addNotifyContainerChildren): Build LightweightDispatcher.
11822
11823 2004-01-07  David Jee  <djee@redhat.com>
11824
11825         * java/awt/Container.java
11826         (update): Clear only the clipped region, instead of clearing the
11827         entire Container.
11828         (visitChildren): Visit children in descending order.
11829
11830 2004-01-07  Michael Koch  <konqueror@gmx.de>
11831
11832         * java/lang/reflect/Array.java: Merged documentation with classpath.
11833
11834 2004-01-07  Michael Koch  <konqueror@gmx.de>
11835
11836         * java/text/CollationElementIterator.java
11837         (textIndex): Renamed from index.
11838         * java/text/CollationKey.java
11839         (collator): New member.
11840         (CollationKey): New argument for parent collator.
11841         (equals): Check for same collator, source string and key array.
11842         * java/text/RuleBasedCollator.java:
11843         Reformated.
11844         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11845         value.
11846         (getCollationElementIterator): Rewritten.
11847         (getCollationKey): Added new argument to CollationKey constructor.
11848
11849 2004-01-07  Michael Koch  <konqueror@gmx.de>
11850
11851         * gnu/java/nio/DatagramChannelImpl.java
11852         (blocking): Removed.
11853         (DatagramChannelImpl): Call configureBlocking().
11854         (implConfigureBlocking): Dont initialize blocking.
11855         * gnu/java/nio/ServerSocketChannelImpl.java
11856         (blocking): Removed.
11857         (ServerSocketChannelImpl): Call configureBlocking().
11858         (implConfigureBlocking): Dont initialize blocking.
11859         * gnu/java/nio/SocketChannelImpl.java
11860         (blocking): Removed.
11861         (SocketChannelImpl): Call configureBlocking().
11862         (implConfigureBlocking): Dont initialize blocking.
11863         (connect): Use isBlocking().
11864         * java/nio/channels/spi/AbstractSelectableChannel.java
11865         (configureBlocking): Use blockingLock() instead of LOCK.
11866         Set blocking after successfully called implConfigureBlocking().
11867         (register): Use blockingLock() instead of LOCK.
11868
11869 2004-01-07  Michael Koch  <konqueror@gmx.de>
11870
11871         * java/net/ServerSocket.java (isBound): Fixed documentation.
11872
11873 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11874
11875         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11876         (changeEvent): Create event object on demand.
11877         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11878         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11879         fireStateChanged): Re-written.
11880         * javax/swing/event/EventListenerList.java: Reformatted, document
11881         typical usage.
11882         (toString): Implemented.
11883         (getListeners): Re-written.
11884         (remove): Re-written.
11885         (add): Re-written.
11886         (NO_LISTENERS): New singleton field.
11887         (listenerList): Declare as transient; document.
11888         (serialVersionUID): Document.
11889         (getListenerCount(Class)): More efficient implementation,
11890         also accepts null argument.  Improve Javadoc.
11891         (getListenerCount()): Remove unnecessary cast; docfix.
11892         * javax/swing/undo/UndoableEditSupport.java:
11893         Re-format, document.
11894         (UndoableEditSupport): Set realSource field. Improve documentation.
11895         (_postEdit): Iterate over cloned listener vector.
11896         (toString): Don't emit realSource.
11897         (beginUpdate, endUpdate): Support nested updates.
11898         (postEdit): Use compound edit if present.
11899
11900 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11901
11902         * java/awt/Container.java (swapComponents): Add forgotten
11903         function, required for JLayeredPane change.
11904
11905 2004-01-06  Michael Koch  <konqueror@gmx.de>
11906
11907         * java/text/CollationElementIterator.java: Reformated.
11908         (CollationElementIterator): Changed order of arguments.
11909         * java/text/RuleBasedCollator.java
11910         (RuleBasedCollator): Merged class documentation.
11911         (CollationElement): Added documentation.
11912         (compare): Reformated, renamed arguments.
11913         (equals): Likewise.
11914         (getCollationElementIterator): Likewise.
11915         (getCollationKey): Likewise.
11916
11917 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11918
11919         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11920
11921 2004-01-06  Michael Koch  <konqueror@gmx.de>
11922
11923         * gnu/java/net/protocol/file/Connection.java:
11924         Reformated copyright.
11925         (hdrHash): Removed.
11926         (hdrVec): Removed.
11927         (gotHeaders): Removed.
11928         (getHeaderField): Removed.
11929         (getHeaderField): Removed.
11930         (getHeaderFieldKey): Removed.
11931         (getKey): Removed.
11932         (getField): Removed.
11933         (getHeaders): Removed.
11934
11935 2004-01-06  Michael Koch  <konqueror@gmx.de>
11936
11937         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11938         javax/print/attribute/standard/DateTimeAtCreation.java,
11939         javax/print/attribute/standard/DateTimeAtProcessing.java,
11940         javax/print/attribute/standard/JobImpressionsCompleted.java,
11941         javax/print/attribute/standard/JobKOctets.java,
11942         javax/print/attribute/standard/JobKOctetsProcessed.java,
11943         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11944         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11945         * Makefile.am (javax_source_files): Added new files.
11946         * Makefile.in: Regenerated.
11947
11948 2004-01-06  Michael Koch  <konqueror@gmx.de>
11949
11950         * java/net/URLConnection.java
11951         (contentHandler): Removed.
11952         (locale): Removed.
11953         (getHeaderFields): Return an empty map instead of null.
11954         (getContent): Connect if needed, renamed "cType" to "type" and
11955         "contentHandler" to "ch" and made it a local variable.
11956         (getPermission): Don't use package in class name.
11957         (setDefaultRequestProperty): Fixed typo in documentation.
11958         (initializeDateFormats): Made locale a local variable.
11959
11960 2004-01-06  Michael Koch  <konqueror@gmx.de>
11961
11962         * java/lang/Package.java
11963         (getPackage): Get the current class loader directly.
11964         * java/lang/SecurityManager.java
11965         (currentLoadedClass): Dont iterate over class contexts.
11966         (classLoaderDepth): Don't check class loaders if everything is allowed.
11967
11968 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11969
11970         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11971         (pre_event_handler): Set all insets to 0 when a Configure event
11972         is received for a GtkPlug.
11973         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11974         Make handle long, not int.
11975         (EmbeddedWindow()): New constructor.
11976         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11977         long, not int.
11978         (setHandle): New method.
11979         (getHandle): Return long, not int.
11980         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11981         declaration.
11982         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11983         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11984         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11985         argument to GdkNativeWindow.
11986         (construct): New method.
11987         (embed): New method.
11988
11989         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11990         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11991         (create(int, int)): New method.
11992         (create): Call new create method.
11993         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11994         methods.
11995         (childResized): Remove native implementation.  Implement in
11996         Java.
11997         (getHScrollbarHeight, getVScrollbarWidth): Call
11998         gtk_widget_size_request to get scrollbar dimensions.
11999         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
12000         call getVScrollbarWidth and getHScrollbarHeight when vertical
12001         and horizontal scrollbars respectively are needed.
12002         (doLayout): Enlarge child if it is smaller than the viewport.
12003
12004 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12005
12006         * java/awt/Dialog.java (constructor): Accept null title as per spec.
12007         * java/awt/FileDialog.java (constructor): Throw exception on invalid
12008         argument as per spec.
12009
12010 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
12011
12012         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12013         (insert): Ditto.
12014         (remove): Ditto.  Also, Check for valid argument.
12015         (removeAll): Use peer interface method.
12016         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12017         native add function.
12018         (nativeRemove): New name for native remove function.
12019         (getHistory): New native function.
12020         (constructor): Generate ItemEvent.
12021         (add): Ditto, if selection is changed.
12022         (remove): Ditto, ditto.
12023         (removeAll): Add implementation.
12024         (handleEvent): Remove.  Dead code.
12025         (choicePostItemEvent): Add comment.
12026         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12027         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12028         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12029         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
12030         comments and fix condition to change selection.
12031         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12032         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
12033         remove all capability.
12034         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12035         (item_activate): Add cast to remove compiler warning.
12036
12037 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
12038
12039         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12040         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12041         (getPreferredSize): Call preferredSize.
12042         (preferredSize): Call gtkWidgetGetPreferredDimensions.
12043         (getMinimumSize): Call minimumSize.
12044         (minimumSize): Call gtkWidgetGetPreferredDimensions.
12045         (gtkWidgetGetDimensions): Return the peer widget's current size
12046         request.
12047         (gtkWidgetGetPreferredDimensions): Return the peer widget's
12048         natural size request.
12049
12050 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
12051
12052         Thanks to Brian Gough <bjg@network-theory.com>
12053         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12054         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12055
12056 2004-01-04  Matthias Klose  <doko@debian.org>
12057
12058         * aclocal.m4: Rebuilt using "aclocal -I .".
12059         * configure: Rebuilt.
12060
12061 2004-01-03  Per Bothner  <per@bothner.com>
12062
12063         * java/util/Date.java (parse):  Fix a number of problems.
12064         (skipParens):  Remove no-longer-needed method.
12065