OSDN Git Service

7a6759d723afce55ecc21f4c408d54da7360d52d
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-11-16  Michael Koch  <konqueror@gmx.de>
2
3         * java/net/InetAddress.java
4         (toString): Merged from GNU classpath.
5
6 2004-11-16  Michael Koch  <konqueror@gmx.de>
7
8         * java/awt/geom/doc-files/Area-1.png,
9         java/awt/geom/doc-files/Ellipse-1.png,
10         java/awt/geom/doc-files/GeneralPath-1.png:
11         New files.
12
13 2004-11-16  Michael Koch  <konqueror@gmx.de>
14
15         * java/util/Currency.java (cache): Fix modifier order.
16
17 2004-11-16  Michael Koch  <konqueror@gmx.de>
18
19         * java/io/BufferedReader.java,
20         java/io/FileInputStream.java,
21         java/io/FileOutputStream.java,
22         java/io/FileWriter.java,
23         java/io/OutputStreamWriter.java,
24         java/io/PipedInputStream.java,
25         java/io/PipedOutputStream.java,
26         java/io/PipedReader.java,
27         java/io/PipedWriter.java,
28         java/io/PrintStream.java,
29         java/io/PushbackInputStream.java,
30         java/io/RandomAccessFile.java,
31         java/io/Reader.java,
32         java/io/StreamTokenizer.java,
33         java/io/StringReader.java,
34         java/net/NetworkInterface.java,
35         java/net/URLClassLoader.java,
36         java/nio/ByteOrder.java,
37         java/nio/channels/Channel.java:
38         Fixed javadocs all over.
39
40 2004-11-16  Andreas Tobler  <a.tobler@schweiz.ch>
41
42         * Makefile.am: Add imported files.
43         * Makefile.in: Regenerate.
44
45         2004-10-24  Casey Marshall  <csm@gnu.org>
46
47         * javax/security/auth/login/LoginContext.java: Implemented.
48         * javax/security/auth/login/Configuration.java (getConfig): New method.
49         * javax/security/auth/spi/LoginModule.java,
50         * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
51
52 2004-11-15  Andreas Tobler  <a.tobler@schweiz.ch>
53
54         Import/Merge the X.509 certificate code from Classpath.
55
56         * Makefile.am: Add imported files.
57         * Makefile.in: Regenerate.
58
59         2004-11-07  Casey Marshall  <csm@gnu.org>
60
61         * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
62         priviliged action. Add new algorithms.
63         * gnu/java/security/provider/X509CertificateFactory.java
64         (engineGenerateCertificate): Chain exceptions.
65         (engineGenerateCertificates): Likewise.
66         (engineGenerateCRL): Likewise.
67         (engineGenerateCRLs): Likewise.
68         (engineGenerateCertPath): New methods.
69         (generateCert): Throw exception if 'inStream' is null.
70         (generateCRL): Likewise.
71         * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
72         version from GNU Crypto CVS.
73         * gnu/java/security/x509/X509CRL.java: Likewise.
74         * gnu/java/security/x509/X509CRLEntry.java: Likewise.
75         * gnu/java/security/x509/X509Certificate.java: Likewise.
76         * java/security/cert/TrustAnchor.java: Call 'toString' and not
77         toRFC2253.
78         * gnu/java/security/provider/CollectionCertStoreImpl.java,
79         * gnu/java/security/provider/EncodedKeyFactory.java,
80         * gnu/java/security/provider/GnuDHPublicKey.java,
81         * gnu/java/security/provider/GnuRSAPrivateKey.java,
82         * gnu/java/security/provider/GnuRSAPublicKey.java,
83         * gnu/java/security/provider/MD2withRSA.java,
84         * gnu/java/security/provider/MD4withRSA.java,
85         * gnu/java/security/provider/MD5withRSA.java,
86         * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
87         * gnu/java/security/provider/RSA.java,
88         * gnu/java/security/provider/RSAKeyFactory.java,
89         * gnu/java/security/provider/SHA1withRSA.java,
90         * gnu/java/security/x509/GnuPKIExtension.java,
91         * gnu/java/security/x509/PolicyNodeImpl.java,
92         * gnu/java/security/x509/Util.java,
93         * gnu/java/security/x509/X509CRLSelectorImpl.java,
94         * gnu/java/security/x509/X509CertPath.java,
95         * gnu/java/security/x509/X509CertSelectorImpl.java,
96         * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
97         * gnu/java/security/x509/ext/BasicConstraints.java,
98         * gnu/java/security/x509/ext/CRLNumber.java,
99         * gnu/java/security/x509/ext/CertificatePolicies.java,
100         * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
101         * gnu/java/security/x509/ext/Extension.java,
102         * gnu/java/security/x509/ext/GeneralNames.java,
103         * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
104         * gnu/java/security/x509/ext/KeyUsage.java,
105         * gnu/java/security/x509/ext/PolicyConstraint.java,
106         * gnu/java/security/x509/ext/PolicyMappings.java,
107         * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
108         * gnu/java/security/x509/ext/ReasonCode.java,
109         * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
110         * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
111
112         2004-11-07  Casey Marshall  <csm@gnu.org>
113
114         * gnu/java/security/x509/X509CRL.java:
115         Missed import statements in previous checkin.
116
117         2004-11-07  Casey Marshall  <csm@gnu.org>
118
119         * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
120         to 'X509CertificateImpl' from previous checkin.
121
122 2004-11-12  Andrew Pinski  <pinskia@physics.uc.edu>
123
124         PR other/14264
125         * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
126
127 2004-11-11  Casey Marshall  <csm@gnu.org>
128
129         * gnu/java/nio/FileLock.java (isValid): locks are valid if the
130         channel is open.
131         * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
132         'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
133
134 2004-11-11  Robert Schuster <thebohemian@gmx.net>
135
136         Fixed regression:
137         * gnu/java/beans/IntrospectionIncubator.java:
138         (addMethod): Corrected classification of normal and property methods.
139         (capitalize): Added documentation.
140         (DoubleKey): [class] Added documentation.
141
142 2004-11-09  Tom Tromey  <tromey@redhat.com>
143
144         * include/jni.h: Added FIXME.
145
146 2004-11-08  Tom Tromey  <tromey@redhat.com>
147
148         * java/util/GregorianCalendar.java: Removed unused imports.
149         * java/util/Vector.java: Removed unused import.
150
151 2004-11-07  Michael Koch  <konqueror@gmx.de>
152
153         * java/lang/Process.java:
154         Import cleanups.
155
156 2004-11-07  Jeroen Frijters  <jeroen@frijters.net>
157
158         * java/util/zip/ZipEntry.java
159         (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
160
161 2004-11-07  Robert Schuster  <theBohemian@gmx.net>
162
163         Fixes bug #10908
164         * gnu/java/beans/IntrospectionIncubator.java:
165         (addMethod): static methods are discarded now, too.
166
167 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
168
169         * java/util/GregorianCalendar.java
170         Added/amended documentation.
171
172 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
173
174         * java/util/Collections.java
175         Added documentation.
176         * java/util/SortedMap.java
177         Clarified some method examples.
178         * java/util/SortedSet.java
179         Clarified some method examples.
180
181 2004-11-07  Andrew John Hughes <gnu_andrew@member.fsf.org>
182
183         * java/util/Currency.java
184         Documented variables and methods more fully.
185         Caches the currency instances, so that a request
186         for a locale, l, only ever returns the same
187         instance (i.e. successive calls to getInstance(l)
188         are reference equivalent (==)).
189
190 2004-11-07  Andrew John Hughes  <gnu_andrew@member.fsf.org>
191
192         * java/util/Date.java
193         Added missing documentation.
194
195 2004-11-06  Michael Koch  <konqueror@gmx.de>
196
197         * java/util/zip/CheckedInputStream.java,
198         java/util/zip/InflaterInputStream.java,
199         java/util/zip/ZipFile.java,
200         java/util/zip/ZipInputStream.java:
201         Import cleanups.
202
203 2004-11-06  Tom Tromey  <tromey@redhat.com>
204
205         * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
206         package-private.
207         (connections): Likewise.
208         (scavenger): Likewise.
209         * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
210         package-private.
211         * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
212         package-private.
213         (ptr): Likewise.
214         * gnu/classpath/ServiceFactory.java (log): Now package-private.
215
216 2004-11-06  Tom Tromey  <tromey@redhat.com>
217
218         * javax/naming/directory/BasicAttributes.java (attributes): Now
219         package-private.
220         * javax/imageio/spi/ServiceRegistry.java (categories): Now
221         package-private.
222
223 2004-11-06  Tom Tromey  <tromey@redhat.com>
224
225         * java/net/URLClassLoader.java (URLClassLoader): Now
226         package-private.
227         * java/nio/charset/CoderResult.java (CoderResult): Now
228         package-private.
229         (get): Likewise.
230         (Cache): Likewise.  Don't synchronize on `this'.
231         * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
232         package-private.
233         * java/util/TimeZone.java (timezones): Now package-private.
234
235 2004-11-06  Tom Tromey  <tromey@redhat.com>
236
237         * java/security/Permissions.java (perms): Now package-private.
238         * java/security/UnresolvedPermission.java (permissions): Now
239         package-private.
240
241 2004-11-06  Tom Tromey  <tromey@redhat.com>
242
243         * java/io/FilePermission.java: Reindented.
244
245 2004-11-06  Tom Tromey  <tromey@redhat.com>
246
247         * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
248         package-private.
249         (setBlockDataMode): Likewise.
250
251 2004-11-06  Tom Tromey  <tromey@redhat.com>
252
253         * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
254         package-private.
255         (Encoder): Likewise.
256         * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
257         (Encoder): Likewise.
258         * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
259         package-private.
260         (Encoder): Likewise.
261
262 2004-11-06  Mark Wielaard  <mark@klomp.org>
263
264         * Makefile.am: Add new javax.imageio files.
265         * Makefile.in: Regenerated.
266
267 2004-11-06  Michael Koch  <konqueror@gmx.de>
268
269         * javax/imageio/event/IIOReadProgressListener.java,
270         javax/imageio/event/IIOReadUpdateListener.java,
271         javax/imageio/event/IIOReadWarningListener.java,
272         javax/imageio/event/IIOWriteProgressListener.java,
273         javax/imageio/event/IIOWriteWarningListener.java,
274         javax/imageio/metadata/IIOMetadataFormat.java,
275         javax/imageio/stream/FileCacheImageInputStream.java,
276         javax/imageio/stream/FileCacheImageOutputStream.java,
277         javax/imageio/stream/ImageInputStreamImpl.java:
278         Import cleanup.
279         * javax/imageio/metadata/package.html: New file.
280
281 2004-11-06  Michael Koch  <konqueror@gmx.de>
282
283         * javax/imageio/spi/ImageReaderSpi.java
284         (isOwnReader): New method.
285         * javax/imageio/spi/ImageWriterSpi.java
286         (isOwnWriter): Likewise.
287
288 2004-11-06  Michael Koch  <konqueror@gmx.de>
289
290         * javax/imageio/ImageWriter.java
291         (convertImageMetadata): New abstract method.
292         (convertStreamMetadata): Likewise.
293         (write): Likewise.
294         * javax/imageio/stream/FileCacheImageInputStream.java
295         (close): Fixed setting of stream to null.
296         (checkStreamClosed): Throws IOException.
297
298 2004-11-06  Michael Koch  <konqueror@gmx.de>
299
300         * javax/imageio/stream/FileCacheImageInputStream.java,
301         javax/imageio/stream/FileCacheImageOutputStream.java,
302         javax/imageio/stream/FileImageInputStream.java,
303         javax/imageio/stream/FileImageOutputStream.java,
304         javax/imageio/stream/MemoryCacheImageInputStream.java,
305         javax/imageio/stream/MemoryCacheImageOutputStream.java:
306         New files.
307
308 2004-11-06  Michael Koch  <konqueror@gmx.de>
309
310         * javax/imageio/metadata/IIOInvalidTreeException.java,
311         javax/imageio/metadata/IIOMetadataFormatImpl.java,
312         javax/imageio/metadata/IIOMetadataNode.java:
313         New stub files.
314
315 2004-11-06  Michael Koch  <konqueror@gmx.de>
316
317         * javax/imageio/stream/ImageInputStreamImpl.java,
318         javax/imageio/stream/ImageOutputStreamImpl.java:
319         New files.
320
321 2004-11-06  Michael Koch  <konqueror@gmx.de>
322
323         * javax/imageio/ImageIO.java:
324         Added much new methods.
325
326 2004-11-06  Michael Koch  <konqueror@gmx.de>
327
328         * javax/imageio/ImageReader.java,
329         javax/imageio/ImageWriter.java,
330         javax/imageio/spi/ImageWriterSpi.java:
331         Add SOME new methods.
332
333 2004-11-06  Michael Koch  <konqueror@gmx.de>
334
335         * javax/imageio/IIOParam.java,
336         javax/imageio/ImageReadParam.java,
337         javax/imageio/ImageReader.java,
338         javax/imageio/ImageWriter.java:
339         Mostly implemented.
340         * javax/imageio/spi/ImageReaderSpi.java,
341         javax/imageio/spi/ImageWriterSpi.java:
342         New files.
343
344 2004-11-06  Michael Koch  <konqueror@gmx.de>
345
346         * javax/imageio/ImageWriteParam.java,
347         javax/imageio/metadata/IIOMetadataFormat.java:
348         Implemented.
349
350 2004-11-06  Michael Koch  <konqueror@gmx.de>
351
352         * javax/imageio/ImageTypeSpecifier.java:
353         Mostly implemented.
354
355 2004-11-06  Michael Koch  <konqueror@gmx.de>
356
357         * javax/imageio/metadata/IIOMetadata.java:
358         Mostly implemented.
359
360 2004-11-06  Michael Koch  <konqueror@gmx.de>
361
362         * javax/imageio/IIOImage.java,
363         javax/imageio/ImageReadParam.java,
364         javax/imageio/metadata/IIOMetadataController.java,
365         javax/imageio/metadata/IIOMetadataFormat.java:
366         New files.
367         * javax/imageio/stream/ImageOutputStream.java:
368         Implemented.
369
370 2004-11-06  Michael Koch  <konqueror@gmx.de>
371
372         * javax/imageio/IIOParam.java,
373         javax/imageio/IIOParamController.java,
374         javax/imageio/ImageTypeSpecifier.java,
375         javax/imageio/ImageWriteParam.java,
376         javax/imageio/metadata/IIOMetadata.java:
377         New files.
378         * javax/imageio/ImageTranscoder.java:
379         Implemented.
380
381 2004-11-06  Michael Koch  <konqueror@gmx.de>
382
383         * javax/imageio/spi/ImageInputStreamSpi.java,
384         javax/imageio/spi/ImageOutputStreamSpi.java:
385         Reworked import startments.
386         * javax/imageio/spi/ServiceRegistry.java:
387         Reworked import startments. Fixed XHTML in javadocs.
388         (ServiceRegistry): Added @param tag to javadoc.
389         * javax/imageio/stream/ImageInputStream.java
390         (mark): Doesn't throws IOException;
391
392 2004-11-06  Michael Koch  <konqueror@gmx.de>
393
394         * javax/imageio/ImageIO.java:
395         New file.
396
397 2004-11-06  Michael Koch  <konqueror@gmx.de>
398
399         * javax/imageio/spi/IIORegistry.java
400         (static): Don't register ImageReaderSpi.class and
401         ImageWriterSpi.class yet.
402
403 2004-11-06  Michael Koch  <konqueror@gmx.de>
404
405         * javax/imageio/spi/IIORegistry.java:
406         New file.
407
408 2004-11-06  Noa Resare  <noa@resare.com>
409
410         * java/net/Socket.java (getPort): Return 0 instead of -1 on
411         unconnected sockets.
412
413 2004-11-06  Michael Koch  <konqueror@gmx.de>
414
415         * java/lang/StringBuffer.java,
416         java/lang/Throwable.java,
417         java/security/spec/DSAParameterSpec.java,
418         java/util/zip/ZipEntry.java,
419         java/util/zip/ZipFile.java,
420         java/util/zip/ZipInputStream.java,
421         java/util/zip/ZipOutputStream.java:
422         Removed redundant and reordered modifiers.
423
424 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
425
426         * java/io/Vector.java
427         (writeObject): New function to serialized output thread safe.
428
429         * java/io/ObjectOutputStream.java
430         (writeObject): Move the assignment of the class handle to after
431         the assignment of class descriptor handle.
432
433 2004-11-06  Robert Schuster <thebohemian@gmx.net>
434
435         Fixes documentation and indentation
436         * java/beans/PropertyEditorSupport.java:
437         reworked initial API doc
438         (value): changed name from val
439
440 2004-11-06  Robert Schuster <thebohemian@gmx.net>
441
442         Updates to 1.5
443         * java/beans/PropertyEditorSupport.java
444         (PropertyEditorSupport()): Changed modifier to public
445         (PropertyEditorSupport(Object): Changed modifier to public
446         (setSource): New method
447         (getSource): New method
448
449 2004-11-06  Robert Schuster <thebohemian@gmx.net>
450
451         Fixes bug #10799
452         * java/beans/PropertyEditorSupport.java
453         (setValue): Fire property change event
454
455 2004-11-03  Tom Tromey  <tromey@redhat.com>
456
457         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
458         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
459         returns jobjectArray.
460         (_Jv_JNIEnv::NewObjectArray): Likewise.
461
462 2004-11-01  Tom Tromey  <tromey@redhat.com>
463
464         * verify.cc (state::check_no_uninitialized_objects): Removed.
465         (push_jump): Updated.
466         (push_exception_jump): Likewise.
467         (handle_ret_insn): Likewise.
468         (handle_jsr_insn): Likewise.
469
470 2004-10-30  Mark Wielaard  <mark@klomp.org>
471
472         PR libgcj/18234
473         * java/lang/Runtime.java (static): Call init().
474         (Runtime): Remove call to init().
475         (init): Make static.
476
477 2004-10-28  David Daney  <ddaney@avtrex.com>
478
479         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
480         * Makefile.am: Build it.
481         * Makefile.in: Regenerate.
482
483 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
484
485         PR libgcj/18104
486         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
487         colon.
488         * Makefile.in: Regenerate.
489         * configure: Regenerate.
490         * configure.ac (CLASSPATH_SEPARATOR): Define.
491         * gcj/Makefile.in: Regenerate.
492         * include/Makefile.in: Regenerate.
493         * testsuite/Makefile.in: Regenerate.
494         * testsuite/lib/libjava.exp (libjava_arguments): Fix
495         CLASSPATH separator handling for Windows.
496
497 2004-10-26  Michael Koch  <konqueror@gmx.de>
498
499         * gnu/java/net/protocol/http/Connection.java
500         (getOutputStream): Implicitely switch to POST method.
501
502 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
503
504         * libjava/java/lang/Class.h
505         (java::lang::Class): Correct friend class declaration.
506
507 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
508
509         * Makefile.am (DARWIN_CRT_SRC): New.
510         (libgcj_la_SOURCES): Use it.
511         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
512         * darwin.cc: New file.
513         * include/jvm.h (_Jv_RegisterClasses): Constify.
514         (_Jv_RegisterClasses_Counted): New prototype.
515         * java/lang/Class.h: Include stddef.h.  
516         (_Jv_RegisterClasses): Constify.
517         (_Jv_RegisterClasses_Counted): New prototype.
518         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
519         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
520         (_Jv_RegisterClasses_Counted): New function.
521         * configure: Regenerate.
522         * Makefile.in: Regenerate.
523         * gcj/Makefile.in: Regenerate.
524         * include/Makefile.in: Regenerate.
525         * testsuite/Makefile.in: Regenerate.
526
527 2004-10-25  Tom Tromey  <tromey@redhat.com>
528
529         * java/util/ResourceBundle.java (tryBundle): Use
530         Class.isAssignableFrom rather than catching ClassCastException.
531
532 2004-10-25  Tom Tromey  <tromey@redhat.com>
533
534         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
535         initialize `iter'.
536         * gnu/java/text/SentenceBreakIterator.java
537         (SentenceBreakIterator): Don't initialize `iter'.
538         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
539         initialize `iter'.
540         * gnu/java/text/CharacterBreakIterator.java
541         (CharacterBreakIterator): Don't initialize `iter'.
542         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
543         constructor.
544         * java/text/BreakIterator.java: Updated documentation.
545
546 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
547
548         PR other/18138
549         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
550
551 2004-10-23  Michael Koch  <konqueror@gmx.de>
552
553         * javax/print/DocFlavor.java,
554         javax/print/attribute/standard/JobStateReason.java,
555         javax/print/attribute/standard/MultipleDocumentHandling.java:
556         Added missing constants.
557
558 2004-10-22  Tom Tromey  <tromey@redhat.com>
559
560         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
561         typo.
562
563 2004-10-22  Michael Koch  <konqueror@gmx.de>
564
565         PR libjava/14009
566         * gnu/java/net/protocol/http/Connection.java
567         (sendRequest): Handle case when url.getFile() returns an empty string.
568
569 2004-10-22  Michael Koch  <konqueror@gmx.de>
570
571         * java/lang/Math.java,
572         java/lang/StackTraceElement.java,
573         java/nio/Buffer.java,
574         java/nio/ByteBuffer.java,
575         java/nio/CharBuffer.java,
576         java/nio/DoubleBuffer.java,
577         java/nio/FloatBuffer.java,
578         java/nio/IntBuffer.java,
579         java/nio/LongBuffer.java,
580         java/nio/ShortBuffer.java,
581         java/nio/charset/Charset.java,
582         java/rmi/server/RMIClassLoader.java,
583         java/rmi/server/RMISocketFactory.java,
584         java/security/Policy.java,
585         java/text/ChoiceFormat.java,
586         java/text/CollationElementIterator.java,
587         java/text/DateFormat.java,
588         java/text/DecimalFormat.java,
589         java/text/DecimalFormatSymbols.java,
590         java/text/MessageFormat.java,
591         java/text/NumberFormat.java,
592         java/text/RuleBasedCollator.java,
593         java/text/SimpleDateFormat.java,
594         java/util/BitSet.java,
595         java/util/Calendar.java,
596         java/util/Collections.java,
597         java/util/IdentityHashMap.java,
598         java/util/Locale.java,
599         java/util/TreeMap.java,
600         java/util/logging/LogRecord.java,
601         java/util/logging/XMLFormatter.java,
602         java/util/prefs/AbstractPreferences.java,
603         java/util/prefs/Preferences.java,
604         javax/crypto/interfaces/DHPrivateKey.java,
605         javax/crypto/interfaces/DHPublicKey.java,
606         javax/crypto/interfaces/PBEKey.java,
607         javax/net/ssl/HandshakeCompletedEvent.java,
608         javax/security/auth/Subject.java:
609         Removed redundant and reordered modifiers.
610
611 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
612
613         * gnu/java/net/natPlainSocketImplPosix.cc
614         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
615         with 'int *' argument instead of 'long *'.
616
617 2004-10-21  Michael Koch  <konqueror@gmx.de>
618
619         * java/net/NetworkInterface.java,
620         java/text/Format.java,
621         javax/security/auth/x500/X500Principal.java,
622         javax/security/auth/x500/X500PrivateCredential.java,
623         javax/security/cert/X509CertBridge.java,
624         javax/security/sasl/Sasl.java,
625         javax/sql/XAConnection.java:
626         Import cleanup.
627
628 2004-10-21  Michael Koch  <konqueror@gmx.de>
629
630         * javax/net/ssl/HandshakeCompletedEvent.java,
631         javax/net/ssl/KeyManagerFactory.java,
632         javax/net/ssl/SSLContext.java,
633         javax/net/ssl/SSLServerSocketFactory.java,
634         javax/net/ssl/SSLSession.java,
635         javax/net/ssl/SSLSocketFactory.java,
636         javax/net/ssl/TrustManagerFactory.java:
637         Import cleanup.
638
639 2004-10-21  Michael Koch  <konqueror@gmx.de>
640
641         * javax/naming/directory/BasicAttribute.java,
642         javax/naming/directory/BasicAttributes.java,
643         javax/naming/directory/InitialDirContext.java,
644         javax/naming/event/NamingEvent.java,
645         javax/naming/ldap/ControlFactory.java,
646         javax/naming/ldap/ExtendedRequest.java,
647         javax/naming/ldap/InitialLdapContext.java,
648         javax/naming/ldap/LdapReferralException.java,
649         javax/naming/spi/DirObjectFactory.java,
650         javax/naming/spi/DirStateFactory.java,
651         javax/naming/spi/DirectoryManager.java,
652         javax/naming/spi/InitialContextFactory.java,
653         javax/naming/spi/InitialContextFactoryBuilder.java,
654         javax/naming/spi/NamingManager.java,
655         javax/naming/spi/ObjectFactory.java,
656         javax/naming/spi/ObjectFactoryBuilder.java,
657         javax/naming/spi/StateFactory.java:
658         Import cleanup.
659
660 2004-10-21  Michael Koch  <konqueror@gmx.de>
661
662         * javax/crypto/Cipher.java,
663         javax/crypto/EncryptedPrivateKeyInfo.java,
664         javax/crypto/ExemptionMechanism.java,
665         javax/crypto/KeyAgreement.java,
666         javax/crypto/KeyGenerator.java,
667         javax/crypto/Mac.java,
668         javax/crypto/SecretKeyFactory.java,
669         javax/crypto/SecretKeyFactorySpi.java,
670         javax/crypto/spec/SecretKeySpec.java:
671         Import cleanup.
672
673 2004-10-21  Michael Koch  <konqueror@gmx.de>
674
675         * java/security/AlgorithmParameterGenerator.java,
676         java/security/AlgorithmParameters.java,
677         java/security/AlgorithmParametersSpi.java,
678         java/security/AllPermission.java,
679         java/security/BasicPermission.java,
680         java/security/Certificate.java,
681         java/security/CodeSource.java,
682         java/security/DigestInputStream.java,
683         java/security/DigestOutputStream.java,
684         java/security/GuardedObject.java,
685         java/security/KeyFactory.java,
686         java/security/KeyFactorySpi.java,
687         java/security/KeyPairGenerator.java,
688         java/security/KeyStore.java,
689         java/security/KeyStoreSpi.java,
690         java/security/Permissions.java,
691         java/security/Security.java,
692         java/security/Signature.java,
693         java/security/UnresolvedPermission.java,
694         java/security/cert/CertPathBuilder.java,
695         java/security/cert/CertPathValidator.java,
696         java/security/cert/CertStore.java,
697         java/security/cert/Certificate.java,
698         java/security/cert/CertificateFactory.java,
699         java/security/cert/PolicyQualifierInfo.java,
700         java/security/cert/TrustAnchor.java,
701         java/security/cert/X509CRL.java,
702         java/security/cert/X509CRLSelector.java,
703         java/security/cert/X509CertSelector.java:
704         Import cleanup.
705
706 2004-10-21  Michael Koch  <konqueror@gmx.de>
707
708         * java/rmi/MarshalledObject.java,
709         java/rmi/Naming.java,
710         java/rmi/activation/Activatable.java,
711         java/rmi/activation/ActivationGroup.java,
712         java/rmi/activation/ActivationGroupDesc.java,
713         java/rmi/activation/ActivationInstantiator.java,
714         java/rmi/activation/ActivationMonitor.java,
715         java/rmi/activation/ActivationSystem.java,
716         java/rmi/activation/Activator.java,
717         java/rmi/registry/LocateRegistry.java,
718         java/rmi/registry/Registry.java,
719         java/rmi/server/LogStream.java,
720         java/rmi/server/ObjID.java,
721         java/rmi/server/RMIClientSocketFactory.java,
722         java/rmi/server/RMIServerSocketFactory.java,
723         java/rmi/server/RMISocketFactory.java,
724         java/rmi/server/RemoteCall.java,
725         java/rmi/server/RemoteServer.java,
726         java/rmi/server/ServerRef.java,
727         java/rmi/server/UID.java,
728         java/rmi/server/UnicastRemoteObject.java:
729         Import cleanup.
730
731 2004-10-21  Tom Tromey  <tromey@redhat.com>
732
733         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
734         exception if we hit EOF of `in'.
735         (read): Handle case where inflating returns -1.
736
737 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
738
739         * gnu/java/nio/channels/natFileChannelPosix.cc
740         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
741         argument instead of 'long *'.
742
743 2004-10-21  Tom Tromey  <tromey@redhat.com>
744
745         * java/util/ResourceBundle.java (tryBundle): Also ignore
746         ClassCastException.
747
748 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
749
750         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
751         for all sh*-*-linux* targets.
752         * configure: Regenerate.
753         * include/sh-signal.h: New file.
754
755 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
756
757         * java/lang/ieeefp.h: Add m32r support.
758
759 2004-10-20  Andreas Schwab  <schwab@suse.de>
760
761         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
762         to uaddr, not int.
763         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
764         Likewise.
765
766 2004-10-20  Michael Koch  <konqueror@gmx.de>
767
768         * javax/print/attribute/standard/ColorSupported.java,
769         javax/print/attribute/standard/Compression.java,
770         javax/print/attribute/standard/Copies.java,
771         javax/print/attribute/standard/CopiesSupported.java,
772         javax/print/attribute/standard/DateTimeAtCompleted.java,
773         javax/print/attribute/standard/DateTimeAtCreation.java,
774         javax/print/attribute/standard/DateTimeAtProcessing.java,
775         javax/print/attribute/standard/DocumentName.java,
776         javax/print/attribute/standard/Fidelity.java,
777         javax/print/attribute/standard/Finishings.java,
778         javax/print/attribute/standard/JobHoldUntil.java,
779         javax/print/attribute/standard/JobImpressions.java,
780         javax/print/attribute/standard/JobImpressionsCompleted.java,
781         javax/print/attribute/standard/JobImpressionsSupported.java,
782         javax/print/attribute/standard/JobKOctets.java,
783         javax/print/attribute/standard/JobKOctetsProcessed.java,
784         javax/print/attribute/standard/JobKOctetsSupported.java,
785         javax/print/attribute/standard/JobMediaSheets.java,
786         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
787         javax/print/attribute/standard/JobMediaSheetsSupported.java,
788         javax/print/attribute/standard/JobMessageFromOperator.java,
789         javax/print/attribute/standard/JobName.java,
790         javax/print/attribute/standard/JobOriginatingUserName.java,
791         javax/print/attribute/standard/JobPriority.java,
792         javax/print/attribute/standard/JobPrioritySupported.java,
793         javax/print/attribute/standard/JobSheets.java,
794         javax/print/attribute/standard/JobState.java,
795         javax/print/attribute/standard/JobStateReason.java,
796         javax/print/attribute/standard/JobStateReasons.java,
797         javax/print/attribute/standard/Media.java,
798         javax/print/attribute/standard/MultipleDocumentHandling.java,
799         javax/print/attribute/standard/NumberOfDocuments.java,
800         javax/print/attribute/standard/NumberOfInterveningJobs.java,
801         javax/print/attribute/standard/NumberUp.java,
802         javax/print/attribute/standard/NumberUpSupported.java,
803         javax/print/attribute/standard/OrientationRequested.java,
804         javax/print/attribute/standard/OutputDeviceAssigned.java,
805         javax/print/attribute/standard/PDLOverrideSupported.java,
806         javax/print/attribute/standard/PageRanges.java,
807         javax/print/attribute/standard/PagesPerMinute.java,
808         javax/print/attribute/standard/PagesPerMinuteColor.java,
809         javax/print/attribute/standard/PrintQuality.java,
810         javax/print/attribute/standard/PrinterInfo.java,
811         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
812         javax/print/attribute/standard/PrinterLocation.java,
813         javax/print/attribute/standard/PrinterMakeAndModel.java,
814         javax/print/attribute/standard/PrinterMessageFromOperator.java,
815         javax/print/attribute/standard/PrinterMoreInfo.java,
816         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
817         javax/print/attribute/standard/PrinterName.java,
818         javax/print/attribute/standard/PrinterStateReason.java,
819         javax/print/attribute/standard/PrinterStateReasons.java,
820         javax/print/attribute/standard/PrinterURI.java,
821         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
822         javax/print/attribute/standard/RequestingUserName.java:
823         Reorganized imports and removed redundant final modifiers.
824
825 2004-10-20  Michael Koch  <konqueror@gmx.de>
826
827         * javax/security/sasl/SaslClient.java,
828         javax/security/sasl/SaslClientFactory.java,
829         javax/security/sasl/SaslException.java,
830         javax/security/sasl/SaslServer.java,
831         javax/security/sasl/SaslServerFactory.java:
832         Remvoed CVS tags.
833
834 2004-10-20  Michael Koch  <konqueror@gmx.de>
835
836         * javax/security/auth/login/NullConfiguration.java,
837         javax/security/auth/x500/X500Principal.java,
838         javax/security/cert/X509Certificate.java,
839         javax/security/sasl/AuthenticationException.java,
840         javax/security/sasl/AuthorizeCallback.java,
841         javax/security/sasl/RealmCallback.java,
842         javax/security/sasl/RealmChoiceCallback.java,
843         javax/security/sasl/Sasl.java,
844         javax/security/sasl/SaslClient.java,
845         javax/security/sasl/SaslClientFactory.java,
846         javax/security/sasl/SaslException.java,
847         javax/security/sasl/SaslServer.java,
848         javax/security/sasl/SaslServerFactory.java:
849         Cleaned up import statements and copyright notices.
850
851 2004-10-20  Michael Koch  <konqueror@gmx.de>
852
853         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
854
855 2004-10-20  Michael Koch  <konqueror@gmx.de>
856
857         * java/sql/Timestamp.java,
858         java/text/AttributedCharacterIterator.java,
859         java/text/AttributedString.java,
860         java/util/zip/CheckedOutputStream.java,
861         java/util/zip/DeflaterOutputStream.java,
862         java/util/zip/ZipFile.java,
863         javax/crypto/Cipher.java,
864         javax/crypto/ExemptionMechanismException.java,
865         javax/crypto/SecretKey.java,
866         javax/crypto/SecretKeyFactory.java,
867         javax/naming/directory/ModificationItem.java,
868         javax/naming/directory/SearchControls.java,
869         javax/naming/event/NamingListener.java,
870         javax/naming/ldap/Control.java,
871         javax/naming/ldap/ExtendedResponse.java,
872         javax/net/ssl/SSLSocketFactory.java:
873         Reorganized imports and fixed copyright headers.
874
875 2004-10-20  Michael Koch  <konqueror@gmx.de>
876
877         * java/util/logging/ConsoleHandler.java,
878         java/util/logging/ErrorManager.java,
879         java/util/logging/FileHandler.java,
880         java/util/logging/Filter.java,
881         java/util/logging/Formatter.java,
882         java/util/logging/Handler.java,
883         java/util/logging/Level.java,
884         java/util/logging/LogManager.java,
885         java/util/logging/LogRecord.java,
886         java/util/logging/Logger.java,
887         java/util/logging/LoggingPermission.java,
888         java/util/logging/MemoryHandler.java,
889         java/util/logging/SimpleFormatter.java,
890         java/util/logging/SocketHandler.java,
891         java/util/logging/StreamHandler.java,
892         java/util/logging/XMLFormatter.java:
893         Standardized copyrigth header.
894
895 2004-10-20  Michael Koch  <konqueror@gmx.de>
896
897         * java/security/AlgorithmParameterGenerator.java,
898         java/security/AlgorithmParameters.java,
899         java/security/DigestInputStream.java,
900         java/security/Identity.java,
901         java/security/KeyFactory.java,
902         java/security/KeyPairGenerator.java,
903         java/security/KeyStore.java,
904         java/security/MessageDigest.java,
905         java/security/MessageDigestSpi.java,
906         java/security/Policy.java,
907         java/security/SecureRandom.java,
908         java/security/Security.java,
909         java/security/Signature.java,
910         java/security/SignatureSpi.java,
911         java/security/cert/CertPathBuilder.java,
912         java/security/cert/CertPathValidator.java,
913         java/security/cert/CertStore.java,
914         java/security/cert/Certificate.java,
915         java/security/cert/CertificateFactory.java,
916         java/security/cert/PolicyQualifierInfo.java,
917         java/security/cert/TrustAnchor.java,
918         java/security/cert/X509CRL.java,
919         java/security/cert/X509CRLEntry.java,
920         java/security/cert/X509Certificate.java,
921         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
922         Import statements reorganized, some little formatting issues,
923         used java-style array declarations, added comments in empty catch
924         blocks.
925
926 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
927
928         * java/security/Security.java
929         (static): Use AccessController.doPrivileged to get system property.
930
931 2004-10-18  Sven de Marothy  <sven@physto.se>
932
933         * java/nio/ByteBufferHelper.java
934         (putDouble): Use Double.toRawLongBits instead.
935
936 2004-10-18  Mark Wielaard  <mark@klomp.org>
937         Andrew Haley  <aph@redhat.com>
938
939         * testsuite/libjava.lang/ExtraClassLoader.java: New.
940
941 2004-10-18  Andrew Haley  <aph@redhat.com>
942
943         PR java/18036:
944         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
945         and correct logic used to find interpreter.
946         
947 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
948
949         * java/util/logging/LogManager.java
950         (findAncestor): Fixed IndexOutOfBoundsException.
951
952 2004-10-18  Michael Koch  <konqueror@gmx.de>
953
954         * java/io/BufferedInputStream.java: Fixed @author tag.
955         (read): Simplified expression.
956         (read): Merged javadoc a bit more.
957         (read): Renamed 'remain' to 'totalBytesRead'.
958         * java/io/DataInputStream.java,
959         java/io/DataOutputStream.java,
960         java/io/ObjectInputStream.java,
961         java/io/ObjectOutputStream.java:
962         Reworked modifier order.
963
964 2004-10-18  Michael Koch  <konqueror@gmx.de>
965
966         * java/net/Inet4Address.java: Merged file header and javadocs.
967         * java/net/Inet6Address.java: Likewise.
968         * java/net/InetAddress.java
969         (getCanonicalHostName): Create Inet4Address object instead of
970         InetAddress and add comment regarding IPv6.
971         (toString): Simplified.
972
973 2004-10-18  Michael Koch  <konqueror@gmx.de>
974
975         * gnu/java/net/protocol/http/Connection.java,
976         java/nio/MappedByteBufferImpl.java,
977         java/text/RuleBasedCollator.java,
978         java/util/ResourceBundle.java:
979         Reworked import statements.
980
981 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
982
983         * java/security/IdentityScope.java
984         (systemScope): Removed useless initializer.
985         * java/security/Policy.java
986         (currentPolicy): Likewise.
987
988 2004-10-18  Michael Koch  <konqueror@gmx.de>
989
990         * java/lang/System.java: Revert accidential change.
991
992 2004-10-18  Michael Koch  <konqueror@gmx.de>
993
994         * java/lang/Math.java,
995         java/lang/Package.java,
996         java/lang/Runtime.java,
997         java/lang/StrictMath.java,
998         java/lang/System.java,
999         java/lang/Thread.java,
1000         java/lang/ThreadLocal.java,
1001         java/lang/Void.java:
1002         Reworked import statements, HTML in javadocs and modifier orders.
1003
1004 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1005
1006         * java/util/Timer.java
1007         (nr): Removed useless initializer.
1008         * java/util/logging/LogRecord.java
1009         (lastSeqNum): Likewise.
1010         * javax/naming/spi/NamingManager.java
1011         (icfb, ofb): Likewise.
1012
1013 2004-10-18  Michael Koch  <konqueror@gmx.de>
1014
1015         * gnu/java/net/PlainDatagramSocketImpl.java:
1016         Reworked import statements.
1017         * gnu/java/security/provider/DSAParameters.java:
1018         Fixed copyrigth years.
1019         * java/net/JarURLConnection.java:
1020         Fixed HTML in @author tags.
1021         
1022
1023 2004-10-18  Michael Koch  <konqueror@gmx.de>
1024
1025         * java/rmi/activation/ActivationSystem.java
1026         (SYSTEM_PORT): Initialize with correct port number.
1027
1028 2004-10-18  Michael Koch  <konqueror@gmx.de>
1029
1030         * java/lang/reflect/Proxy.java: Improved javadocs.
1031
1032 2004-10-18  Michael Koch  <konqueror@gmx.de>
1033
1034         * java/lang/reflect/AccessibleObject.java
1035         (checkPermission): Removed redundant final modifier.
1036         (secureSetAccessible): Likewise.
1037         * java/lang/reflect/Proxy.java:
1038         Reworked import statements.
1039         (generate): Removed redundant final modifier.
1040         * java/lang/reflect/ReflectPermission.java:
1041         Reorder package declaration and import statement.
1042
1043 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
1044
1045         * java/lang/reflect/Proxy.java
1046         (count): Removed useless initializer.
1047
1048 2004-10-17  Michael Koch  <konqueror@gmx.de>
1049
1050         * java/net/BindException.java,
1051         java/net/ConnectException.java,
1052         java/net/ContentHandler.java,
1053         java/net/ContentHandlerFactory.java,
1054         java/net/DatagramPacket.java,
1055         java/net/DatagramSocket.java,
1056         java/net/DatagramSocketImpl.java,
1057         java/net/DatagramSocketImplFactory.java,
1058         java/net/FileNameMap.java,
1059         java/net/HttpURLConnection.java,
1060         java/net/MalformedURLException.java,
1061         java/net/MulticastSocket.java,
1062         java/net/NetworkInterface.java,
1063         java/net/NoRouteToHostException.java,
1064         java/net/PasswordAuthentication.java,
1065         java/net/PortUnreachableException.java,
1066         java/net/ProtocolException.java,
1067         java/net/ServerSocket.java,
1068         java/net/Socket.java,
1069         java/net/SocketException.java,
1070         java/net/SocketImpl.java,
1071         java/net/SocketImplFactory.java,
1072         java/net/SocketOptions.java,
1073         java/net/SocketPermission.java,
1074         java/net/SocketTimeoutException.java,
1075         java/net/URI.java,
1076         java/net/URISyntaxException.java,
1077         java/net/URL.java,
1078         java/net/URLDecoder.java,
1079         java/net/URLEncoder.java,
1080         java/net/URLStreamHandler.java,
1081         java/net/URLStreamHandlerFactory.java,
1082         java/net/UnknownHostException.java,
1083         java/net/UnknownServiceException.java:
1084         Big import statement and @author tag cleanup.
1085
1086 2004-10-17  Michael Koch  <konqueror@gmx.de>
1087
1088         * gnu/java/security/OID.java,
1089         gnu/java/security/provider/DSAParameters.java,
1090         gnu/java/security/provider/DSASignature.java,
1091         gnu/java/security/x509/X500DistinguishedName.java,
1092         gnu/java/security/x509/X509CRL.java:
1093         Import statements cleaned up.
1094
1095 2004-10-16  Michael Koch  <konqueror@gmx.de>
1096
1097         * gnu/java/nio/NIODatagramSocket.java,
1098         gnu/java/nio/ServerSocketChannelImpl.java:
1099         Reorganized import statements.
1100
1101 2004-10-16  Michael Koch  <konqueror@gmx.de>
1102
1103         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1104         gnu/java/rmi/rmic/RMIC.java,
1105         gnu/java/rmi/server/RMIHashes.java,
1106         gnu/java/rmi/server/RMIObjectInputStream.java,
1107         gnu/java/rmi/server/RMIObjectOutputStream.java,
1108         gnu/java/rmi/server/UnicastConnection.java,
1109         gnu/java/rmi/server/UnicastConnectionManager.java,
1110         gnu/java/rmi/server/UnicastRemoteCall.java,
1111         gnu/java/rmi/server/UnicastServer.java,
1112         gnu/java/rmi/server/UnicastServerRef.java,
1113         java/rmi/MarshalledObject.java,
1114         java/rmi/Naming.java,
1115         java/rmi/RMISecurityManager.java,
1116         java/rmi/Remote.java,
1117         java/rmi/activation/Activatable.java,
1118         java/rmi/activation/ActivationDesc.java,
1119         java/rmi/activation/ActivationGroup.java,
1120         java/rmi/activation/ActivationGroupDesc.java,
1121         java/rmi/activation/ActivationGroupID.java,
1122         java/rmi/activation/ActivationID.java,
1123         java/rmi/activation/ActivationInstantiator.java,
1124         java/rmi/activation/ActivationMonitor.java,
1125         java/rmi/activation/ActivationSystem.java,
1126         java/rmi/activation/Activator.java,
1127         java/rmi/dgc/DGC.java,
1128         java/rmi/dgc/Lease.java,
1129         java/rmi/dgc/VMID.java,
1130         java/rmi/registry/LocateRegistry.java,
1131         java/rmi/registry/Registry.java,
1132         java/rmi/registry/RegistryHandler.java,
1133         java/rmi/server/LoaderHandler.java,
1134         java/rmi/server/LogStream.java,
1135         java/rmi/server/ObjID.java,
1136         java/rmi/server/Operation.java,
1137         java/rmi/server/RMIClassLoader.java,
1138         java/rmi/server/RMIClassLoaderSpi.java,
1139         java/rmi/server/RMIClientSocketFactory.java,
1140         java/rmi/server/RMIFailureHandler.java,
1141         java/rmi/server/RMIServerSocketFactory.java,
1142         java/rmi/server/RMISocketFactory.java,
1143         java/rmi/server/RemoteCall.java,
1144         java/rmi/server/RemoteObject.java,
1145         java/rmi/server/RemoteRef.java,
1146         java/rmi/server/RemoteServer.java,
1147         java/rmi/server/RemoteStub.java,
1148         java/rmi/server/ServerRef.java,
1149         java/rmi/server/Skeleton.java,
1150         java/rmi/server/SkeletonMismatchException.java,
1151         java/rmi/server/UID.java,
1152         java/rmi/server/UnicastRemoteObject.java,
1153         java/rmi/server/Unreferenced.java:
1154         File headers and import statements cleaned up.
1155
1156 2004-10-16  Michael Koch  <konqueror@gmx.de>
1157
1158         * libjava/gnu/java/nio/charset/UTF_16.java,
1159         libjava/gnu/java/nio/charset/UTF_16BE.java,
1160         libjava/gnu/java/nio/charset/UTF_16LE.java,
1161         libjava/java/nio/ByteOrder.java,
1162         libjava/java/nio/MappedByteBuffer.java,
1163         libjava/java/nio/channels/Channels.java,
1164         libjava/java/nio/channels/spi/SelectorProvider.java,
1165         libjava/java/nio/charset/Charset.java:
1166         Cleanup.
1167
1168 2004-10-16  Michael Koch  <konqueror@gmx.de>
1169
1170         * gnu/java/nio/charset/UTF_16Encoder.java
1171         (UTF_16Encoder): Fixed maxBytesPerChar handling.
1172
1173 2004-10-16  Michael Koch  <konqueror@gmx.de>
1174
1175         * java/math/BigDecimal.java, java/math/BigInteger.java:
1176         Reorganized import statements, removed redundant and
1177         reorganized modifiers.
1178
1179 2004-10-16  Michael Koch  <konqueror@gmx.de>
1180
1181         * gnu/java/beans/ExplicitBeanInfo.java:
1182         Explicitely import java.awt.Image.
1183         (getIcon): Fixed off-by-one error.
1184
1185 2004-10-15  Andrew Haley  <aph@redhat.com>
1186
1187         * Makefile.am (nat_files, xlib_nat_files): New.
1188         * Makefile.in: Regenerate.
1189
1190 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
1191
1192         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1193         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1194
1195 2004-10-13  Andrew Haley  <aph@redhat.com>
1196
1197         * interpret.cc (_Jv_InterpMethod::run): Initialize
1198         _Jv_StartOfInterpreter.
1199         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1200         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1201         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1202         _Unwind_FindEnclosingFunction to discover whether PC is within the
1203         interpreter.
1204
1205 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
1206
1207         PR libgcj/17903:
1208         * testsuite/libjava.lang/md5test.java: New file.
1209         * testsuite/libjava.lang/md5test.out: Likewise.
1210         * testsuite/libjava.lang/shatest.java: Likewise.
1211         * testsuite/libjava.lang/shatest.out: Likewise.
1212
1213 2004-10-11  Richard Henderson  <rth@redhat.com>
1214
1215         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1216         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1217
1218 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
1219
1220         * java/util/Calendar.java (set): Invalidate DST_OFFSET
1221         field as a DST boundary may have been crossed.
1222         * java/util/GregorianCalendar.java (add): Throw 
1223         IllegalArgumentException on attempt to add to DST_OFFSET or 
1224         ZONE_OFFSET fields. Update javadoc.
1225
1226 2004-10-09  Michael Koch  <konqueror@gmx.de>
1227
1228         * java/io/CharArrayWriter.java
1229         (resize): Removed redundant 'final' modifier.
1230         * java/io/DataInputStream.java
1231         (readFully): Throw IndexOutOfBoundsException of len < 0.
1232         * java/io/FileDescriptor.java,
1233         java/io/FileInputStream.java,
1234         java/io/FileOutputStream.java,
1235         java/io/ObjectOutputStream.java,
1236         java/io/ObjectStreamClass.java,
1237         java/io/PipedInputStream.java,
1238         java/io/RandomAccessFile.java:
1239         Reorganized import statements.
1240
1241 2004-10-09  Michael Koch  <konqueror@gmx.de>
1242
1243         * gnu/java/rmi/rmic/RMIC.java,
1244         gnu/java/rmi/server/RMIHashes.java,
1245         gnu/java/rmi/server/RMIObjectInputStream.java,
1246         gnu/java/rmi/server/UnicastConnection.java,
1247         gnu/java/rmi/server/UnicastConnectionManager.java,
1248         gnu/java/rmi/server/UnicastRemoteCall.java,
1249         gnu/java/rmi/server/UnicastServerRef.java:
1250         Reworked import statements and fixed file headers.
1251
1252 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
1253
1254         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1255         emission rule.
1256         * configure: Rebuilt.
1257
1258 2004-09-30  Tom Tromey  <tromey@redhat.com>
1259
1260         * java/text/MessageFormat.java (Field): Constructor now
1261         protected.
1262
1263 2004-09-30  Tom Tromey  <tromey@redhat.com>
1264
1265         * javax/crypto/MacSpi.java: Fixed typo.
1266
1267 2004-09-30  Michael Koch  <konqueror@gmx.de>
1268
1269         * java/net/InetAddress.java: Reformatted.
1270         (loopback): Initialize with Inet4Address object.
1271         (static): Initialize ANY_IF with Inet4Address object.
1272         (InetAddress): Removed unused package-private constructor.
1273
1274 2004-09-30  Michael Koch  <konqueror@gmx.de>
1275
1276         * java/beans/Beans.java,
1277         java/beans/EventHandler.java,
1278         java/beans/EventSetDescriptor.java,
1279         java/beans/Introspector.java,
1280         java/beans/PropertyEditorManager.java,
1281         java/beans/beancontext/BeanContext.java,
1282         java/beans/beancontext/BeanContextChild.java,
1283         java/beans/beancontext/BeanContextChildSupport.java,
1284         java/beans/beancontext/BeanContextMembershipEvent.java:
1285         Reordered import statements and removed redundant modifiers.
1286
1287 2004-09-29  Tom Tromey  <tromey@redhat.com>
1288
1289         PR libgcj/17715:
1290         * Makefile.in: Rebuilt.
1291         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1292         files.
1293         (all_property_files): New macro.
1294
1295         * Makefile.in: Rebuilt.
1296         * Makefile.am (ordinary_java_source_files): Re-sorted.
1297         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1298
1299 2004-09-28  Tom Tromey  <tromey@redhat.com>
1300
1301         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1302
1303         PR libgcj/17222:
1304         * Makefile.am (libgcj.la): Restored.
1305         * Makefile.in: Rebuilt.
1306
1307 2004-09-28  Michael Koch  <konqueror@gmx.de>
1308
1309         * java/net/URLConnection.java: Reformatted.
1310         * java/net/URLClassLoader.java: Reformatted.
1311         (getContent): Reordered return of content.
1312         (getContentHandler): Don't check for null explicitely.
1313
1314 2004-09-27  Michael Koch  <konqueror@gmx.de>
1315
1316         * java/io/BufferedInputStream.java
1317         (BufferedInputStream): Added Jeroen Frijters to authors.
1318         (count): Don't explicitely initialize with default value.
1319         (pos): Likewise.
1320         (marklimit): Likewise.
1321         (read): Changed boolean expression to match GNU classpath' version.
1322         (reset): Add proper message to exception.
1323         (skip): Check for closed stream.
1324         (refill): Likewise.
1325
1326 2004-09-26  Per Bothner  <per@bothner.com>
1327
1328         * prims.cc (unblock_signal): Annotate signum with __unused__ to
1329         avoid warnings in the non-POSIX_VERSION case.
1330         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1331         so place it inside an #if block.
1332         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1333         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
1334         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
1335         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
1336
1337 2004-09-26  Per Bothner  <per@bothner.com>
1338
1339         * prims.cc (process_gcj_properties):  Optimization.
1340
1341 2004-09-26  Per Bothner  <per@bothner.com>
1342
1343         * java/util/Collections.java (sort):  Copy from array in forwards
1344         order, rather than reverse order which may be much less efficient.
1345
1346 2004-09-26  Mark Wielaard  <mark@klomp.org>
1347
1348         * java/lang/System.java (properties): Make package private.
1349         * java/lang/Throwable.java (StaticData.nl): Initialize through
1350         directly accessing System.properties.getProperty().
1351
1352         * java/lang/Throwable.java (nl): Remove static field.
1353         (StaticData): New private static inner class.
1354         (stackTraceStringBuffer): Use StaticData.nl.
1355
1356 2004-09-26  Casey Marshall <csm@gnu.org>
1357
1358         * java/security/ProtectionDomain.java
1359         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1360         `true'.
1361
1362         * java/security/SecureClassLoader.java
1363         (defineClass): make protection domain dynamically bound.
1364         (getPermissions): call `getCurrentPolicy' to avoid permission
1365         check.
1366
1367 2004-09-25  Mark Wielaard  <mark@klomp.org>
1368
1369         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1370         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1371         * Makefile.in: Regenerated.
1372
1373         * gcj/javaprims.h: Regenerated.
1374
1375         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1376         (getDefaultTimeZone): Make package private. Check that GMToffset
1377         contains at least one digit.
1378         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1379         VMTimeZone.
1380         * util/VMTimeZone.java: New file with above methods.
1381
1382         * java/util/natTimeZone.cc: Removed (renamed).
1383         * java/util/natVMTimeZone.cc: Added (renamed).
1384
1385 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1386
1387         * java/util/TimeZone.java
1388         (getDefaultTimeZone): Fixed test to distinguish between hours and
1389         minutes in specified timezone.
1390
1391 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
1392
1393         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1394         handling of default package. (generate): Removed confused comments
1395         and code about making Method and Field accessible.
1396
1397 2004-09-25  Tom Tromey  <tromey@redhat.com>
1398
1399         PR java/17500:
1400         * testsuite/libjava.compile/pr17500.java: New file.
1401
1402 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
1403             Mark Wielaard  <mark@klomp.org>
1404
1405         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1406         * gnu/regexp/RETokenLookAhead.java: New file.
1407
1408         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1409         * Makefile.in: Regenerated.
1410
1411 2004-09-25  Michael Koch  <konqueror@gmx.de>
1412
1413         * java/io/ObjectStreamField.java:
1414         Removed unused import statement.
1415
1416 2004-09-24  Tom Tromey  <tromey@redhat.com>
1417
1418         PR java/15656:
1419         * testsuite/libjava.compile/pr15656.xfail: New file.
1420         * testsuite/libjava.compile/pr15656.java: new file.
1421
1422         PR java/16789:
1423         * testsuite/libjava.lang/pr16789.out: New file.
1424         * testsuite/libjava.lang/pr16789.java: New file.
1425
1426 2004-09-24  Andrew Haley  <aph@redhat.com>
1427
1428         PR java/16927
1429         * testsuite/libjava.compile/AssertBug.java: New file.
1430
1431 2004-09-24  Casey Marshall <csm@gnu.org>
1432
1433         * java/util/PropertyPermissionCollection.java
1434         (implies): avoid infinite loop.
1435
1436 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1437
1438         * javax/security/auth/PrivateCredentialPermission.java
1439         (PrivateCredentialPermission): added serialization UID
1440
1441
1442 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1443
1444         * gnu/java/rmi/server/UnicastServer.java
1445         (incomingMessageCall): Added code to handle Errors.
1446         * gnu/java/rmi/server/UnicastServerRef.java
1447         (incomingMessageCall): Added code to handle Errors.
1448
1449
1450 2004-09-24  Tom Tromey  <tromey@redhat.com>
1451
1452         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1453         (definedPackages): Likewise.
1454
1455 2004-09-24  Michael Koch  <konqueror@gmx.de>
1456
1457         * java/io/ObjectInputStream.java:
1458         Re-ordered imports.
1459
1460 2004-09-24  Casey Marshall <csm@gnu.org>
1461
1462         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1463         `ClassNotFoundException'.
1464
1465 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1466
1467         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1468         of Externalizable classes to ObjectStreamClass.
1469         * java/io/ObjectStreamClass.java (newInstance): New method to
1470         instantiate Externalizable (while ignoring the accessibility of
1471         the constructor). (constructor): New field to cache the constructor.
1472
1473 2004-09-24  Mark Wielaard  <mark@klomp.org>
1474
1475         * java/net/URL.java (systemClassLoader): New static field.
1476         (getURLStreamHandler): Always use system/application classloader
1477         for finding URLStreamhandler. Remove unecessary instanceof checks.
1478
1479 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1480
1481         * java/net/URL.java
1482         (set): This method now matches the behaviour of the JDK.
1483         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1484
1485 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1486
1487         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1488
1489 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1490
1491         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1492         Don't set authority if host isn't specified.
1493
1494 2004-09-24  Michael Koch  <konqueror@gmx.de>
1495
1496         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1497         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1498         * gnu/java/nio/VMPipe.java,
1499         gnu/java/nio/VMSelector.java:
1500         New files.
1501         * gnu/java/nio/natPipeImplEcos.cc,
1502         gnu/java/nio/natPipeImplPosix.cc,
1503         gnu/java/nio/natPipeImplWin32.cc:
1504         Ported to VMPipe.
1505         * gnu/java/nio/natSelectorImplEcos.cc,
1506         gnu/java/nio/natSelectorImplPosix.cc,
1507         gnu/java/nio/natSelectorImplWin32.cc:
1508         Ported to VMSelector.
1509         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1510         gnu/java/nio/VMSelector.java.
1511         * Makefile.in: Regenerated.
1512
1513 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1514
1515         * java/lang/StackTraceElement.java
1516         (className): Renamed field to declaringClass to be compatible
1517         with Sun serialization format.
1518
1519 2004-09-23  Michael Koch  <konqueror@gmx.de>
1520
1521         * java/applet/AppletContext.java,
1522         java/applet/Applet.java,
1523         java/applet/AppletStub.java,
1524         java/applet/AudioClip.java:
1525         Jalopied and checkstyle clean.
1526
1527 2004-09-23  Mark Wielaard  <mark@klomp.org>
1528
1529         * java/util/Collections.java
1530         (binarySearch(List, Object, Comparator)): Explicitly
1531         reverse direction in list iterator.
1532         (rotate): Just return when list is empty.
1533
1534 2004-09-23  Tom Tromey  <tromey@redhat.com>
1535
1536         PR java/17329:
1537         * testsuite/libjava.compile/pr17329.java: New file.
1538
1539         PR java/17380:
1540         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1541         9.2-implicit-7.
1542
1543 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1544
1545         * Makefile.am: Run aclocal with -I ../config
1546         * acinclude.m4: Delete macros picked up from ../config and tidy.
1547         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1548         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1549         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1550
1551 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1552
1553         * aclocal.m4: Regenerate with aclocal 1.9.2.
1554         * configure: Regenerate.
1555         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1556         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1557
1558 2004-09-22  David Daney  <ddaney@avtrex.com>
1559
1560         PR libgcj/17623
1561         * java/net/URL.java (URL): Copy userInfo from context.
1562         (getUserInfo): Return cached userInfo if present.
1563
1564 2004-09-22  Tom Tromey  <tromey@redhat.com>
1565
1566         PR libgcj/6182:
1567         * mauve-libgcj: Enable java.lang.Character tests.
1568
1569 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1570
1571         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1572         dependencies.
1573         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1574         * Makefile.in: Regenerated.
1575
1576 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1577
1578         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1579         * configure: Regenerate.
1580         * include/config.h.in: Likewise.
1581         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1582         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1583         macro to gtkpeer.h.
1584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1585         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1586         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1587         architectures.
1588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1589         Likewise.
1590
1591 2004-09-22  Tom Tromey  <tromey@redhat.com>
1592
1593         PR libgcj/14446:
1594         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1595         when comparing CRCs.
1596         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1597         field.
1598         (read()): New overload.
1599
1600 2004-09-21  Tom Tromey  <tromey@redhat.com>
1601
1602         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1603         Indentation fix.
1604
1605 2004-09-21  Michael Koch  <konqueror@gmx.de>
1606
1607         * java/net/Socket.java
1608         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1609
1610 2004-09-21  Casey Marshall  <csm@gnu.org>
1611
1612         * javax/crypto/MacSpi.java (clone): Provide meaningful
1613         implementation.
1614
1615 2004-09-21  Tom Tromey  <tromey@redhat.com>
1616
1617         PR libgcj/16869:
1618         * Makefile.in: Rebuilt.
1619         * Makefile.am (MOSTLYCLEANFILES): Removed.
1620         (mostlyclean-local): Remove header files.
1621
1622 2004-09-21  Casey Marshall  <csm@gnu.org>
1623
1624         * java/security/cert/X509CRLSelector.java:
1625         (match): remove unreachable try-catch clauses.
1626         Reported by: Dalibor Topic <robilad@kaffe.org>
1627
1628 2004-09-21  Mark Wielaard  <mark@klomp.org>
1629
1630         * java/util/TreeMap.java (root): Don't initialize.
1631         (TreeMap(Comparator)): Call fabricateTree(0).
1632         (fabricateTree): Initialize root and size when count is 0.
1633
1634 2004-09-21  Sven de Marothy <sven@physto.se>
1635
1636         * java/nio/ByteBuffer.java (hashCode): Implemented.
1637         * java/nio/CharBuffer.java: Likewise.
1638         * java/nio/DoubleBuffer.java: Likewise.
1639         * java/nio/FloatBuffer.java: Likewise.
1640         * java/nio/LongBuffer.java: Likewise.
1641         * java/nio/IntBuffer.java: Likewise.
1642         * java/nio/ShortBuffer.java: Likewise.
1643
1644 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1645
1646         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1647
1648 2004-09-21  Michael Koch  <konqueror@gmx.de>
1649
1650         * javax/net/ssl/SSLServerSocket.java:
1651         Removed comment about "Do not edit this file, it's generated.".
1652
1653 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1654
1655         Import the big Crypto/Jessie/Security merge from Classpath.
1656
1657         * Makefile.am: Add imported files.
1658         * Makefile.in: Regenerate.
1659
1660         2004-08-14  Casey Marshall <csm@gnu.org>
1661
1662         The Big Crypto Merge of 2004.
1663
1664         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1665         Crypto's version.
1666
1667         Files imported from GNU Crypto.
1668         * javax/crypto/BadPaddingException.java
1669         * javax/crypto/Cipher.java
1670         * javax/crypto/CipherInputStream.java
1671         * javax/crypto/CipherOutputStream.java
1672         * javax/crypto/CipherSpi.java
1673         * javax/crypto/EncryptedPrivateKeyInfo.java
1674         * javax/crypto/ExemptionMechanism.java
1675         * javax/crypto/ExemptionMechanismException.java
1676         * javax/crypto/ExemptionMechanismSpi.java
1677         * javax/crypto/IllegalBlockSizeException.java
1678         * javax/crypto/KeyAgreement.java
1679         * javax/crypto/KeyAgreementSpi.java
1680         * javax/crypto/KeyGenerator.java
1681         * javax/crypto/KeyGeneratorSpi.java
1682         * javax/crypto/Mac.java
1683         * javax/crypto/MacSpi.java
1684         * javax/crypto/Makefile.am
1685         * javax/crypto/NoSuchPaddingException.java
1686         * javax/crypto/NullCipher.java
1687         * javax/crypto/NullCipherImpl.java
1688         * javax/crypto/SealedObject.java
1689         * javax/crypto/SecretKey.java
1690         * javax/crypto/SecretKeyFactory.java
1691         * javax/crypto/SecretKeyFactorySpi.java
1692         * javax/crypto/ShortBufferException.java
1693         * javax/crypto/interfaces/DHKey.java
1694         * javax/crypto/interfaces/DHPrivateKey.java
1695         * javax/crypto/interfaces/DHPublicKey.java
1696         * javax/crypto/interfaces/PBEKey.java
1697         * javax/crypto/spec/DESKeySpec.java
1698         * javax/crypto/spec/DESedeKeySpec.java
1699         * javax/crypto/spec/DHGenParameterSpec.java
1700         * javax/crypto/spec/DHParameterSpec.java
1701         * javax/crypto/spec/DHPrivateKeySpec.java
1702         * javax/crypto/spec/DHPublicKeySpec.java
1703         * javax/crypto/spec/IvParameterSpec.java
1704         * javax/crypto/spec/PBEKeySpec.java
1705         * javax/crypto/spec/PBEParameterSpec.java
1706         * javax/crypto/spec/RC2ParameterSpec.java
1707         * javax/crypto/spec/RC5ParameterSpec.java
1708         * javax/crypto/spec/SecretKeySpec.java
1709         * javax/security/auth/AuthPermission.java
1710         * javax/security/auth/DestroyFailedException.java
1711         * javax/security/auth/Destroyable.java
1712         * javax/security/auth/Policy.java
1713         * javax/security/auth/PrivateCredentialPermission.java
1714         * javax/security/auth/RefreshFailedException.java
1715         * javax/security/auth/Refreshable.java
1716         * javax/security/auth/Subject.java
1717         * javax/security/auth/SubjectDomainCombiner.java
1718         * javax/security/auth/callback/Callback.java
1719         * javax/security/auth/callback/CallbackHandler.java
1720         * javax/security/auth/callback/ChoiceCallback.java
1721         * javax/security/auth/callback/ConfirmationCallback.java
1722         * javax/security/auth/callback/LanguageCallback.java
1723         * javax/security/auth/callback/NameCallback.java
1724         * javax/security/auth/callback/PasswordCallback.java
1725         * javax/security/auth/callback/TextInputCallback.java
1726         * javax/security/auth/callback/TextOutputCallback.java
1727         * javax/security/auth/callback/UnsupportedCallbackException.java
1728         * javax/security/auth/login/AccountExpiredException.java
1729         * javax/security/auth/login/AppConfigurationEntry.java
1730         * javax/security/auth/login/Configuration.java
1731         * javax/security/auth/login/CredentialExpiredException.java
1732         * javax/security/auth/login/FailedLoginException.java
1733         * javax/security/auth/login/LoginContext.java
1734         * javax/security/auth/login/LoginException.java
1735         * javax/security/auth/login/NullConfiguration.java
1736         * javax/security/auth/x500/X500PrivateCredential.java
1737         * javax/security/sasl/AuthenticationException.java
1738         * javax/security/sasl/AuthorizeCallback.java
1739         * javax/security/sasl/RealmCallback.java
1740         * javax/security/sasl/RealmChoiceCallback.java
1741         * javax/security/sasl/Sasl.java
1742         * javax/security/sasl/SaslClient.java
1743         * javax/security/sasl/SaslClientFactory.java
1744         * javax/security/sasl/SaslException.java
1745         * javax/security/sasl/SaslServer.java
1746         * javax/security/sasl/SaslServerFactory.java
1747         * org/ietf/jgss/ChannelBinding.java
1748         * org/ietf/jgss/GSSContext.java
1749         * org/ietf/jgss/GSSCredential.java
1750         * org/ietf/jgss/GSSException.java
1751         * org/ietf/jgss/GSSManager.java
1752         * org/ietf/jgss/GSSName.java
1753         * org/ietf/jgss/MessageProp.java
1754         * org/ietf/jgss/Oid.java
1755         * org/ietf/jgss/MessagesBundle.properties
1756
1757         Files imported from Jessie <http://www.nongnu.org/jessie/>
1758         * javax/net/ServerSocketFactory.java
1759         * javax/net/SocketFactory.java
1760         * javax/net/VanillaServerSocketFactory.java
1761         * javax/net/VanillaSocketFactory.java
1762         * javax/net/ssl/HandshakeCompletedEvent.java
1763         * javax/net/ssl/HandshakeCompletedListener.java
1764         * javax/net/ssl/HostnameVerifier.java
1765         * javax/net/ssl/HttpsURLConnection.java
1766         * javax/net/ssl/KeyManager.java
1767         * javax/net/ssl/KeyManagerFactory.java
1768         * javax/net/ssl/KeyManagerFactorySpi.java
1769         * javax/net/ssl/ManagerFactoryParameters.java
1770         * javax/net/ssl/SSLContext.java
1771         * javax/net/ssl/SSLContextSpi.java
1772         * javax/net/ssl/SSLException.java
1773         * javax/net/ssl/SSLHandshakeException.java
1774         * javax/net/ssl/SSLKeyException.java
1775         * javax/net/ssl/SSLPeerUnverifiedException.java
1776         * javax/net/ssl/SSLPermission.java
1777         * javax/net/ssl/SSLProtocolException.java
1778         * javax/net/ssl/SSLServerSocket.java
1779         * javax/net/ssl/SSLServerSocketFactory.java
1780         * javax/net/ssl/SSLSession.java
1781         * javax/net/ssl/SSLSessionBindingEvent.java
1782         * javax/net/ssl/SSLSessionBindingListener.java
1783         * javax/net/ssl/SSLSessionContext.java
1784         * javax/net/ssl/SSLSocket.java
1785         * javax/net/ssl/SSLSocketFactory.java
1786         * javax/net/ssl/TrivialHostnameVerifier.java
1787         * javax/net/ssl/TrustManager.java
1788         * javax/net/ssl/TrustManagerFactory.java
1789         * javax/net/ssl/TrustManagerFactorySpi.java
1790         * javax/net/ssl/X509KeyManager.java
1791         * javax/net/ssl/X509TrustManager.java
1792         * javax/security/cert/Certificate.java
1793         * javax/security/cert/CertificateEncodingException.java
1794         * javax/security/cert/CertificateException.java
1795         * javax/security/cert/CertificateExpiredException.java
1796         * javax/security/cert/CertificateNotYetValidException.java
1797         * javax/security/cert/CertificateParsingException.java
1798         * javax/security/cert/X509CertBridge.java
1799         * javax/security/cert/X509Certificate.java
1800
1801         2004-08-20  Casey Marshall  <csm@gnu.org>
1802
1803         * java/security/cert/X509CRLSelector.java: New file.
1804         * java/security/cert/X509CertSelector.java: New file.
1805
1806 2004-09-15  Michael Koch  <konqueror@gmx.de>
1807
1808         * gnu/java/net/protocol/file/Handler.java
1809         (openConnection): Don't throw exception if host part for file: URI is
1810         present. setURL() keeps file: protocol if ftp: protocol is not
1811         available.
1812
1813 2004-09-14  Richard Henderson  <rth@redhat.com>
1814
1815         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1816         value of sigsuspend.
1817
1818 2004-09-12  Tom Tromey  <tromey@redhat.com>
1819
1820         * javax/naming/CompoundName.java (CompoundName): Don't check for
1821         separator in "flat" case.
1822
1823 2004-09-12  Michael Koch  <konqueror@gmx.de>
1824
1825         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1826         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1827         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1828         Regenerate.
1829
1830 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1831
1832         PR libgcj/14751
1833         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1834         handle in newly-allocated _Jv_Thread_t.
1835         (_Jv_ThreadDestroyData): Close thread handle.
1836         (_Jv_ThreadStart): Remove obsolete comment.
1837         Store handle of newly-created thread in _Jv_Thread_t.
1838         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1839         before including <windows.h>
1840         #define _Jv_HaveCondDestroy
1841
1842 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1843
1844         * java/lang/natThread.cc (finalize_native): Destroy
1845         join conditional variable and mutex if these destroy
1846         operations are supported.
1847
1848 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1849
1850         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1851         (DEFAULT_PERMISSION): New constant.
1852         (Connection): Create a FilePermission with permission to read file.
1853
1854 2004-09-10  Michael Koch  <konqueror@gmx.de>
1855
1856         * gnu/java/net/protocol/file/Connection.java
1857         (getLastModified): Moved around.
1858         (getPermission): Return stored permission.
1859
1860 2004-09-10  Michael Koch  <konqueror@gmx.de>
1861
1862         * Makefile.in: Regenerate.
1863
1864 2004-09-10  Michael Koch  <konqueror@gmx.de>
1865
1866         * Makefile.am: Reverted accidently commited stuff.
1867         * configure: Regenerated.
1868
1869 2004-09-10  Michael Koch  <konqueror@gmx.de>
1870
1871         * gnu/java/net/protocol/file/Connection.java
1872         (lineSeparator): Made non-final.
1873         (static): Removed.
1874         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1875         instead of StringBufferInputStream.
1876
1877 2004-09-10  Michael Koch  <konqueror@gmx.de>
1878
1879         * gnu/java/net/protocol/file/Connection.java
1880         (connect): Handle file is a directory case.
1881
1882 2004-09-10  Michael Koch  <konqueror@gmx.de>
1883
1884         * Makefile.am
1885         (xlib_includes): Removed.
1886         (AM_CPPFLAGS): Renamed from INCLUDES.
1887         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1888         * Makefile.in: Regenerate.
1889
1890 2004-09-09  Michael Koch  <konqueror@gmx.de>
1891
1892         * java/security/ProtectionDomain.java,
1893         * java/util/PropertyPermissionCollection.java:
1894         Fixed javadocs all over.
1895
1896 2004-09-09  Sven de Marothy  <sven@physto.se>
1897
1898         Patch from David Gilbert <david.gilbert@object-refinery.com>
1899         * java/lang/Comparable.java: Fixed documentation errors.
1900         * java/util/Arrays.java: Likewise.
1901
1902 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1903
1904         * java/net/Inet4Address.java
1905         (Inet4Address): Added comment to serialization UID.
1906         * java/text/Format.java
1907         (Format): Added comment to serialization UID.
1908
1909 2004-09-09  Michael Koch  <konqueror@gmx.de>
1910
1911         * java/lang/System.java
1912         (err): Fixed javadoci to point to setErr() and not setOut().
1913
1914 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1915
1916         (normalizePath): Added special case for windows systems.
1917
1918 2004-09-09  Michael Koch  <konqueror@gmx.de>
1919
1920         * java/io/File.java
1921         (dupSeparator): Made private.
1922         (File(URI)): New constructor.
1923         (getParentFile): Fixed javadoc.
1924         (createTempFile): Reformated.
1925         (setReadOnly): Added comment.
1926         (deleteOnExit): Merged javadoc with classpath version.
1927
1928 2004-09-09  Michael Koch  <konqueror@gmx.de>
1929
1930         * Makefile.am: Don't try to include deps.mk.
1931         * Makefile.in: Regenerated.
1932
1933 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1934
1935         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1936         .d files.
1937         * configure: Rebuilt.
1938
1939 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1940
1941         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1942         Changed pfn from static local to local.
1943
1944 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1945             H.J. Lu  <hongjiu.lu@intel.com>
1946
1947         PR libgcj/17290
1948         * Makefile.am (GCJCOMPILE): Remove definition.
1949         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1950         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1951         * Makefile.in: Rebuilt.
1952
1953 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1954
1955         * configure.ac (enable-gc-debug): Update help for new syntax.
1956         * configure: Regenerate.
1957
1958 2004-09-03  David Daney  <ddaney@avtrex.com>
1959
1960         * include/mips-signal.h: Update copyright.
1961
1962 2004-09-03  David Daney  <ddaney@avtrex.com>
1963
1964         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1965         * include/mips-signal.h: Added HANDLE_FPE support.
1966         
1967 2004-08-31  Michael Koch  <konqueror@gmx.de>
1968
1969         * javax/swing/plaf/basic/BasicTextAreaUI.java
1970         (create): New method.
1971         * javax/swing/text/DefaultHighlighter.java
1972         (DefaultHighlightPainter.debugRect): Removed.
1973         * javax/swing/text/StyleContext.java
1974         (DEFAULT_STYLE): New field.
1975
1976 2004-08-31  Michael Koch  <konqueror@gmx.de>
1977
1978         * javax/swing/plaf/basic/BasicLookAndFeel.java
1979         (initComponentDefaults): Add keybindings for selection.backward and
1980         selection-forward for text components.
1981         * javax/swing/plaf/basic/BasicTextUI.java
1982         (paintSafely): Paint highlight only when something is actually
1983         selected.
1984         * javax/swing/text/DefaultCaret.java
1985         (handleHighlight): New method.
1986         (setSelectionVisible): Don't do anything when nothing changes.
1987         Handle highlight.
1988         (moveDot): Reimplemented. Handle highlight.
1989         (setDot): Set mark too. Handle highlight.
1990         (getSelectionPainter): New method.
1991         * javax/swing/text/DefaultEditorKit.java
1992         (defaultActions): Added new actions for text selection.
1993         * javax/swing/text/DefaultHighlighter.java
1994         (DefaultHighlightPainter): New inner class.
1995         (DefaultPainter): New field.
1996         (paint): Implemented.
1997         * javax/swing/text/PlainView.java
1998         (paint): Don't draw background here again.
1999         * javax/swing/text/Utilities.java
2000         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2001         (drawTabbedText): Likewise.
2002
2003 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2004
2005         * javax/swing/JComponent.java
2006         (resetKeyboardActions): Add null checks.
2007
2008 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2009
2010         * javax/swing/DefaultButtonModel.java:
2011         Skip group notification when no group is set.
2012
2013 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2014
2015         * javax/swing/JColorChooser.java: 
2016         Make a couple inner classes static, for jikes.
2017
2018 2004-08-31  Michael Koch  <konqueror@gmx.de>
2019
2020         * javax/swing/plaf/basic/BasicTextUI.java
2021         (RottView.modelToView): New method.
2022         (UpdateHandler): Renamed from EventHandler.
2023         (updateHandler): Renamed from eventHandler.
2024         (modelToView): Implemented.
2025         * javax/swing/text/AbstractDocument.java
2026         (BranchElement.getElement): Return null for non-existing indeces.
2027         (BranchElement.getElementIndex): Return 0 in some corner cases.
2028         * javax/swing/text/FieldView.java
2029         (modelToView): New method.
2030         * javax/swing/text/PlainView.java
2031         (modelToView): Made public.
2032
2033 2004-08-31  Kim Ho  <kho@redhat.com>
2034
2035         * Makefile.am: New files.
2036         * Makefile.in: Regenerate.
2037         * gcj/Makefile.in: Regenerate.
2038         * include/Makefile.in: Regenerate.
2039         * java/awt/Color.java: Fix documentation.
2040         (RGBtoHSB): Use floats for conversions.
2041         * javax/swing/ButtonGroup.java: Run Jalopy.
2042         (setSelected): Reimplement.
2043         * javax/swing/DefaultButtonModel.java: Run Jalopy.
2044         (changeState): Let ButtonGroup know that the button 
2045         is changing state.
2046         * javax/swing/JColorChooser.java: Implement.
2047         * javax/swing/JLabel.java: Run Jalopy.
2048         * javax/swing/JSpinner.java: Run Jalopy.
2049         (setValue): New method.
2050         * javax/swing/JTabbedPane.java: Run Jalopy.
2051         (removeTabAt): Call correct remove method.
2052         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2053         (getPreviousValue): Compare minimum value.
2054         * javax/swing/Timer.java: Run Jalopy.
2055         (run): Comment out println.
2056         * javax/swing/ToolTipManager.java:
2057         (mouseMoved): Get new tooltip text for location.
2058         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2059         Jalopy and Javadoc.
2060         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2061         Implement.
2062         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2063         Run Jalopy.
2064         (setSelectedColor): Fire ChangeEvent.
2065         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2066         New file. Implement.
2067         * javax/swing/colorchooser/DefaultPreviewPanel.java:
2068         Ditto.
2069         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2070         Ditto.
2071         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2072         Ditto.
2073         * javax/swing/plaf/basic/BasicArrowButton.java:
2074         (getArrow): Fix size of upward pointing button.
2075         * javax/swing/plaf/basic/BasicColorChooserUI.java:
2076         Implement.
2077         * javax/swing/plaf/basic/BasicSliderUI.java:
2078         (getWidthOfWidestLabel): Use preferred dimensions.
2079         (getHeightOfTallestLabel): Ditto.
2080         * javax/swing/plaf/basic/BasicSpinnerUI.java:
2081         Run Jalopy.
2082         (mousePressed): Disable changes to spinner if it is not enabled.
2083         * testsuite/Makefile.in: Regenerate.
2084
2085
2086 2004-08-31  Michael Koch  <konqueror@gmx.de>
2087
2088         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2089         javax/swing/plaf/basic/BasicTableUI.java:
2090         Added copyright notice.
2091
2092 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
2093
2094         * Makefile.am: Added new files.
2095         * Makefile.in: Regenerate.
2096         * javax/swing/ComboBoxEditor.java: Added javadocs.
2097         * javax/swing/ComboBoxModel.java: Likewise.
2098         * javax/swing/DefaultComboBoxModel.java: Implemented.
2099         * javax/swing/DefaultListCellRenderer.java: Added javadocs
2100         and ran through jalopy to fix formatting style.
2101         (getListCellRendererComponent): Use appropriate border
2102         if renderer has focus and use noFocusBorder when it doesn't.
2103         * javax/swing/JComboBox.java: Implemented.
2104         * javax/swing/JList.java:
2105         (locationToIndex): New Method. Implemented.
2106         (indexToLocation): New Method.
2107         * javax/swing/JPopupMenu.java: 
2108         (visible): New field.
2109         (isVisible): Changed to use new field above.
2110         (setVisible): Likewise.
2111         * javax/swing/MutableComboBoxModel.java: Added javadocs.
2112         * javax/swing/plaf/basic/BasicArrowButton.java: 
2113         (shadow): Changed default color to Color.gray.
2114         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2115         UI delegate for JComboBox.
2116         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2117         Popup menu containing list of JComboBox's items.
2118         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2119         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2120         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2121         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2122         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2123         (popupMenuWillBecomeVisible): Set selected path to the first
2124         element only if it is of type MenuElement. Also fix formatting
2125         style.
2126         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2127         methods signatures.
2128         
2129 2004-08-31  Michael Koch  <konqueror@gmx.de>
2130
2131         * javax/swing/text/AbstractDocument.java
2132         (createBranchElement): Use new constructor of BranchElement.
2133         (createLeafElement): Renamed arguments.
2134         (getRootElements): Implemented.
2135         (BranchElement.start): Removed.
2136         (BranchElement.end): Likewise.
2137         (BranchElement.BranchElement): Fixed arguments.
2138         (BranchElement.getEndOffset): Reimplemented.
2139         (BranchElement.getStartOffset): Likewis.
2140         * javax/swing/text/DefaultCaret.java
2141         (paint): Draw simple vertical line as caret instead of a rectangle.
2142         * javax/swing/text/JTextComponent.java
2143         (setText): Use doc directly.
2144         * javax/swing/text/PlainView.java
2145         (nextTabStop): Implemented.
2146         * javax/swing/text/Utilities.java
2147         (drawTabbedText): nextTabStop() returns an absolute x position.
2148         (getTabbedTextWidth): Likewise.
2149
2150 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2151
2152         * java/awt/Component.java 
2153         (isFocusTraversable): Predicate on isLightweight()
2154         (setFocusable): Set isFocusTraversableOverridden.
2155         (requestFocus): Predicate peer dispatch on !isLightweight()
2156         (requestFocusInWindow): Likewise.
2157         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2158         * java/awt/Container.java
2159         (dispatchEventImpl): Predicate on event mask.
2160         (LightweightDispatcher): Remove focus machinery.
2161         * java/awt/DefaultFocusTraversalPolicy.java
2162         (accept): Expand predicate to include isFocusable(). 
2163         * java/awt/DefaultKeyboardFocusManager.java:
2164         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2165         * java/awt/KeyboardFocusManager.java
2166         (redispatchEvent): Synchronize on event to prevent feedback.
2167         * javax/swing/AbstractButton.java
2168         (ButtonFocusListener): Remove class.
2169         (init): Set focusPainted, focusable.
2170         * javax/swing/ActionMap.java (get): Check parent for null. 
2171         * javax/swing/InputMap.java (get): Likewise. 
2172         * javax/swing/JComponent.java
2173         (inputMap_whenFocused): New InputMap.
2174         (inputMap_whenAncestorOfFocused): Likewise.
2175         (inputMap_whenInFocusedWindow): Likewise.
2176         (getActionForKeyStroke): Rewrite.
2177         (getConditionForKeystroke): Likewise.
2178         (ActionListenerProxy): New private class.
2179         (setInputMap): Implement.
2180         (getInputMap): Likewise.
2181         (setActionMap): Likewise.
2182         (getActionMap): Likewise.
2183         (processComponentKeyEvent): New empty method.
2184         (processKeyEvent): Implement.
2185         (processKeyBinding): Likewise.
2186         (resetKeyboardActions): Rewrite.
2187         * javax/swing/KeyStroke.java: Rewrite.
2188         * javax/swing/SwingUtilities.java
2189         (notifyAction): Implement.
2190         (replaceUIActionMap): Likewise.
2191         (replaceUIInputMap): Likewise.
2192         * javax/swing/plaf/basic/BasicButtonListener.java
2193         (focusGained): Implement.
2194         (focusLost): Repaint if focusPainted().
2195         (installKeyboardActions): Install pressed / released actions.
2196         (uninstallKeyboardActions): Implement.
2197         * javax/swing/plaf/basic/BasicButtonUI.java
2198         (focusColor): New field.
2199         (installDefaults): Load focus color, install input map.
2200         (installKeyboardActions): Implement.
2201         (uninstallKeyboardActions): Likewise.
2202         (paintFocus): Rewrite.
2203         * javax/swing/plaf/basic/BasicLookAndFeel.java
2204         (Button.focus): New default, midPurple. 
2205         * javax/swing/plaf/basic/BasicTextUI.java
2206         (kit): Make static.
2207         (installUI): Get doc from kit, load defaults.
2208         (getKeymapName): Implement.
2209         (createKeymap): Likewise.
2210         (installKeyboardActions): Likewise.
2211         (getInputMap): Likewise.
2212         (getActionMap): Likewise.
2213         (createActionMap): Likewise.
2214         * javax/swing/text/AbstractDocument.java
2215         (getStartPosition): Implement.
2216         (getEndPosition): Likewise.
2217         * javax/swing/text/DefaultEditorKit.java
2218         (CopyAction): New class.
2219         (CutAction): Likewise.
2220         (DefaultKeyTypedAction): Likewise.
2221         (InsertBreakAction): Likewise.
2222         (InsertContentAction): Likewise.
2223         (InsertTabAction): Likewise.
2224         (PasteAction): Likewise.
2225         (defaultActions): New static table.
2226         (createCaret): Implement.
2227         (getActions): Likewise.
2228         * javax/swing/text/JTextComponent.java
2229         (KeymapWrapper): New private class.
2230         (KeymapActionMap): Likewise.
2231         (DefaultKeymap): New class.
2232         (keymaps): New static table.
2233         (keymap): New field.
2234         (getKeymap): Implement.
2235         (removeKeymap): Likewise.
2236         (addKeymap): Likewise.
2237         (setKeymap): Likewise.
2238         (loadKeymap): Likewise.
2239         (getActions): Likewise.
2240         (margin): New field.
2241         (JTextComponent): Build and install default keymap.
2242         * javax/swing/text/TextAction.java
2243         (textAction): Call super properly.
2244         (getTextComponent): Implement.
2245         * javax/swing/text/Utilities.java
2246         (drawTabbedText): Adjust position by ascent.
2247
2248 2004-08-31  David Jee  <djee@redhat.com>
2249
2250         PR AWT/17156
2251
2252         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2253         (setEnabled): Make it a native method.
2254         * java/awt/DefaultKeyboardFocusManager.java
2255         (postProcessKeyEvent): Only post event if the menu item
2256         is active.
2257         * java/awt/MenuItem.java:
2258         Private field 'enabled' should be true by default.
2259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2260         (setEnabled): New function.
2261
2262 2004-08-31  David Jee  <djee@redhat.com>
2263
2264         PR AWT/17059
2265
2266         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2267         (nativeSetHelpMenu): New native method declaration.
2268         (addHelpMenu): Call nativeSetHelpMenu().
2269         (addMenu): Remove.
2270         * java/awt/MenuBar.java
2271         (setHelpMenu): Call addNotify() on the new help menu.
2272         (add): Call addNotify() on the new menu.
2273         (addNotify): Set the help menu if one exists.
2274         * java/awt/peer/MenuBarPeer.java
2275         (addMenu): Remove.
2276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2277         (nativeSetHelpMenu): New method.
2278
2279 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2280
2281         * Makefile.am: Add new files.
2282         * Makefile.in: Regenerate.
2283         * javax/swing/Box.java: Fix setting of layout in ctor.
2284         * javax/swing/JScrollPane.java: Scroll headers as well.
2285         * javax/swing/JTable.java: Reimplement.
2286         * javax/swing/JViewPort.java: Only add non-null children.
2287         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2288         * javax/swing/Timer.java: Fix stopping null waker.
2289         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2290         * javax/swing/plaf/basic/BasicTableUI.java: New file.
2291         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2292         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2293         * javax/swing/table/DefaultTableModel.java: Clean up.
2294         * javax/swing/table/JTableHeader.java: Implement.
2295
2296 2004-08-31  Mark Wielaard  <mark@klomp.org>
2297
2298         * javax/swing/JSpinner.java (getChangeListeners): Remove double
2299         semi-colon.
2300
2301 2004-08-31  Mark Wielaard  <mark@klomp.org>
2302
2303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2304         Declare variables at top of functions/block.
2305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2306
2307 2004-08-31  Mark Wielaard  <mark@klomp.org>
2308
2309         * java/lang/Rectangle.java (intersects): Check r.width and r.height
2310         first.
2311
2312 2004-08-31  Michael Koch  <konqueror@gmx.de>
2313
2314         * javax/swing/text/PlainView.java
2315         (selectedColor): New field.
2316         (unselectedColor): Likewise.
2317         (font): Likewise.
2318         (updateMetrics): New method.
2319         (lineToRect): Likewise.
2320         (modelToView): Likewise.
2321         (drawSelectedText): Use color from JTextComponent ad draw with
2322         Utilities class.
2323         (drawUnselectedText): Likewise.
2324         (paint): Initialize helper fields.
2325         * javax/swing/text/View.java
2326         (getChildAllocation): New method.
2327         (getViewIndex): Likewise.
2328         (getToolTipText): Likewise.
2329
2330 2004-08-31  Michael Koch  <konqueror@gmx.de>
2331
2332         * javax/swing/text/Utilities.java
2333         (drawTabbedText): Reimplemented.
2334         (getTabbedTextWidth): Likewise.
2335
2336 2004-08-31  Michael Koch  <konqueror@gmx.de>
2337
2338         * javax/swing/plaf/basic/BasicTextUI.java
2339         (installDefaults): Install caret and highlighter.
2340         (modelToView): Use Bias.Forward when calling sibling.
2341         * javax/swing/text/AbstractDocument.java
2342         (ElementEdit): Implements DocumentEvent.ElementChange.
2343         (ElementEdit.ElementEdit): New method.
2344         (ElementEdit.getChildrenAdded): Likewise.
2345         (ElementEdit.getChildrenRemoved): Likewise.
2346         (ElementEdit.getElement): Likewise.
2347         (ElementEdit.getIndex): Likewise.
2348         * javax/swing/text/DefaultCaret.java
2349         (color): Removed.
2350         (textComponent): Renamed from parent, made private.
2351         (selectionVisible): Renamed from vis_sel, made private.
2352         (blinkRate): Renamed from blink, made private.
2353         (magicCaretPosition): Renamed from magic, made private.
2354         (visible): Renamed from vis, made private.
2355         (dot): Made private.
2356         (mark): Likewise.
2357         (deinstall): Remove as MouseMotionListener.
2358         (install): Initialize textComponent first. Add as MouseMotionListener.
2359         (paint): Reimplemented.
2360         * javax/swing/text/JTextComponent.java
2361         (setCaret): Deinstall old caret, install new one and fire property
2362         change after setting property.
2363         (setHighlighter): Deinstall old highlighter, install new one and fire
2364         property change after setting property.
2365         (setCaretColor): Fire property change after setting property.
2366         (setDisabledTextColor): Likewise.
2367         (setSelectedTextColor): Likewise.
2368         (setSelectionColor): Likewise.
2369         (modelToView): New method.
2370
2371 2004-08-31  Michael Koch  <konqueror@gmx.de>
2372
2373         * javax/swing/text/AbstractDocument.java
2374         (getText): Simplified.
2375         * javax/swing/text/Segment.java
2376         (current): New field.
2377         (current): Reimplemented.
2378         (first): Likewise.
2379         (getIndex): Likewise.
2380         (last): Likewise.
2381         (next): Likewise.
2382         (previous): Likewise.
2383         (setIndex): Likewise.
2384
2385 2004-08-31  Michael Koch  <konqueror@gmx.de>
2386
2387         * javax/swing/plaf/basic/BasicButtonUI.java
2388         (defaultTextIconGap): Made protected.
2389         (defaultTextShiftOffset): Likewise.
2390         (textShiftOffset): New field.
2391         (clearTextShiftOffset): New method.
2392         (getTextShiftOffset): Likewise.
2393         (setTextShiftOffset): Likewise.
2394
2395 2004-08-31  Michael Koch  <konqueror@gmx.de>
2396
2397         * javax/swing/plaf/basic/BasicTextUI.java
2398         (installUI): Add eventHandler as property listener.
2399         (uninstallUI): remove eventHandler as propert listener.
2400         (installDefaults): Added comment.
2401         (installListeners): Likewise.
2402         (installKeyboardActions): Likewise.
2403         (uninstallDefaults): Likewise.
2404         (uninstallListeners): Likewise.
2405         (uninstallKeyboardActions): Likewise.
2406
2407 2004-08-31  Michael Koch  <konqueror@gmx.de>
2408
2409         * javax/swing/text/AbstractDocument.java:
2410         Fixed some typos in comments.
2411         (insertString): Reimplemented.
2412         (remove): Likewise.
2413         (replace): New method.
2414         (children): Dont use fully qualified class name.
2415         (DefaultDocumentEvent.offset): Renamed from off.
2416         (DefaultDocumentEvent.length): Renamed from len.
2417         (DefaultDocumentEvent.type): New field.
2418         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2419         (DefaultDocumentEvent.getType): Implemented.
2420
2421 2004-08-31  Michael Koch  <konqueror@gmx.de>
2422
2423         * javax/swing/plaf/basic/BasicTextUI.java
2424         (RootView.textComponent): Removed.
2425         (RootView.RootView): Don't initialize textComponent.
2426         (RootView.getViewFactory): New method.
2427         (EventHandler): New inner class.
2428         (rootView): Initialize at instance creation.
2429         (eventHandler): New field.
2430         (installUI): Don't create view hierarchy directly,
2431         call modelChanged() instead.
2432         (modelChanged): New method.
2433         * javax/swing/text/JTextComponent.java
2434         (setDocument): Fire property change event.
2435
2436 2004-08-31  Michael Koch  <konqueror@gmx.de>
2437
2438         * javax/swing/plaf/basic/BasicTextUI.java
2439         (RootView.paint): Removed debug output.
2440         (paintSafely): Draw highlighter before text.
2441         (paintBackground): Use background color of text component.
2442         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2443         Reformatted.
2444
2445 2004-08-31  Michael Koch  <konqueror@gmx.de>
2446
2447         * javax/swing/plaf/basic/BasicToolBarUI.java
2448         (BasicToolBarUI): Fixed arguments for constructor.
2449         (createUI): Fixed creation of object.
2450
2451 2004-08-31  Michael Koch  <konqueror@gmx.de>
2452
2453         * javax/swing/DefaultListSelectionModel.java
2454         (fireValueChanged): Renamed from fireSelectionValueChanged,
2455         made protected.
2456
2457 2004-08-31  Michael Koch  <konqueror@gmx.de>
2458
2459         * javax/swing/text/TabSet.java
2460         (TabSet): Implements java.io.Serializable.
2461         * javax/swing/text/TabStop.java
2462         (TabStop): Implements java.io.Serializable.
2463         (TabStop): Made public.
2464
2465 2004-08-31  Michael Koch  <konqueror@gmx.de>
2466
2467         * javax/swing/JComponent.java
2468         (setUI): Fire PropertyChange.
2469         * javax/swing/JLabel.java
2470         (text): Renamed from labelText.
2471         (horizontalAlignment): New default vlaue.
2472         (icon): Renamed from activeIcon.
2473         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2474         (displayedMnemonicIndex): Renamed from underlineChar.
2475         (setDisplayedMnemonic): Reimplemented.
2476         * javax/swing/JRadioButton.java
2477         (JRadioButton): New constructors.
2478         * javax/swing/JTextField.java
2479         (JTextField): Throw exception if colums < 0, initialitialz
2480         this.columns directly and initialize document with text conditionally.
2481
2482 2004-08-31  Michael Koch  <konqueror@gmx.de>
2483
2484         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2485         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2486         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2487         * javax/swing/text/FieldView.java
2488         (paint): Just call super method for now.
2489         * Makefile.am: Added new files.
2490         * Makefile.in: Regenerated.
2491
2492 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2493
2494         * javax/swing/AbstractSpinnerModel.java,
2495         javax/swing/JSpinner.java,
2496         javax/swing/SpinnerNumberModel.java,
2497         javax/swing/plaf/basic/BasicSpinnerUI.java:
2498         New files.
2499         * javax/swing/plaf/basic/BasicLookAndFeel.java
2500         (initClassDefaults): Added defaults for BasicSpinnerUI.
2501
2502 2004-08-31  Michael Koch  <konqueror@gmx.de>
2503
2504         * Makefile.am: Added new files.
2505         * Makefile.in: Regenerated.
2506
2507 2004-08-31  Michael Koch  <konqueror@gmx.de>
2508
2509         * javax/swing/TransferHandler.java,
2510         javax/swing/plaf/basic/ComboPopup.java: New files
2511         * Makefile.am: Added javax/swing/TransferHandler.java and
2512         javax/swing/plaf/basic/ComboPopup.java
2513         * Makefile.in: Regenerated.
2514
2515 2004-08-31  Roman Kennke  <roman@ontographics.com>
2516
2517         * javax/swing/text/Utilities.java: New file.
2518
2519 2004-08-31  Michael Koch  <konqueror@gmx.de>
2520
2521         * Makefile.am: Added javax/swing/text/Utilities.java.
2522         * Makefile.in: Regenerated.
2523
2524 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2525
2526         * javax/swing/text/SimpleAttributeSet.java: New file.
2527         * javax/swing/text/StyleConstants.java: New file.
2528         * javax/swing/text/StyleContext.java: New file.
2529         * javax/swing/text/TabSet.java: New file.
2530         * javax/swing/text/TabStop.java: New file.
2531         * javax/swing/text/AbstactDocument.java:
2532         (AbstractElement): Implement attribute support.
2533         * javax/swing/text/AttributeSet.java
2534         (NameAttribute): New static field.
2535         (ResolveAttribute): New static field.
2536         * Makefile.am: Update for new files.
2537         * Makefile.in: Regenerate.
2538
2539 2004-08-31  Craig Black  <craig.black@aonix.com>
2540
2541         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2542         (drawImage): Add support for scaling pixmaps.
2543         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2544         (copyAndScalePixmap): New native method.
2545  
2546 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2547
2548         PR AWT/16121
2549         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2550         type-punning compiler warnings using unions.
2551         (throw): Replace bzero with memset.
2552
2553 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2554             Thomas Fitzsimmons  <fitzsim@redhat.com>
2555
2556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2557         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2558         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2560         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2561
2562 2004-08-31  Mark Wielaard  <mark@klomp.org>
2563
2564         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2565         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2566         and stdlib.h, not gtkpeer.h.
2567         (*vm): New static variable.
2568         (areaPreparedID): Make static.
2569         (areaUpdatedID): Likewise.
2570         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2571         (area_prepared): Likewise.
2572         (area_updated): Likewise.
2573         (closed): Likewise.
2574         (initStaticState): Initialize *vm javaVM.
2575         (pumpBytes): Use given env, not global gdk_env.
2576
2577 2004-08-31  Mark Wielaard  <mark@klomp.org>
2578
2579         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2580         comments.
2581
2582 2004-08-31  Sven de Marothy  <sven@physto.se>
2583
2584         * java/awt/geom/CubicCurve2D.java: Reindent.
2585         (contains): Implemented.
2586         (intersects): Implemented.
2587         * java/awt/geom/QuadCurve2D.java: Likewise.
2588         * java/awt/geom/GeneralPath.java: Reindent and document.
2589         Fully (re)implemented using separate xpoints and ypoints
2590         float[] coords.
2591         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2592
2593 2004-08-31  Michael Koch  <konqueror@gmx.de>
2594
2595         * javax/swing/JMenuItem.java
2596         (getMenuDragMouseListeners): New method.
2597         (getMenuKeyListeners): Likewise.
2598
2599 2004-08-31  Michael Koch  <konqueror@gmx.de>
2600
2601         * javax/swing/AbstractButton.java
2602         (model): Made protected.
2603         (actionListener): Likewise.
2604         (changeListener): Likewise.
2605         (itemListener): Likewise.
2606         (multiClickThreshhold): New field.
2607         (getActionListeners): New method.
2608         (getChangeListeners): Likewise.
2609         (getItemListeners): Likewise.
2610         (fireItemStateChanged): Simplified implementation.
2611         (fireActionPerformed): Likewise.
2612         (fireStateChanged): Likewise.
2613         (getMultiClickThreshhold): New method.
2614         (setMultiClickThreshhold): Likewise.
2615
2616 2004-08-31  Tom Tromey  <tromey@redhat.com>
2617
2618         * java/awt/image/Kernel.java (clone): Use super.clone().
2619
2620 2004-08-31  David Jee  <djee@redhat.com>
2621
2622         PR AWT/16682
2623         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2624         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2625         (nativeSetIconImageFromData): New native method declaration.
2626         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2627         * gnu/java/awt/peer/gtk/GtkImage.java
2628         (getPixelCache): New method.
2629         (getColorModel): New method.
2630         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2631         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2632         (free_pixbuf_data): New helper function.
2633         (nativeSetIconImageFromData): New function.
2634
2635 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2636
2637         PR SWING/16576
2638         * javax/swing/JLayeredPane.java 
2639         (setLayer): Permit changing layer after addition.
2640         (setPosition): Permit over-length positions.
2641         (layerToRange): Compare intValue()s.
2642         * javax/swing/Box.java (createHorizontalBox): Implement.
2643         (createRigidArea): Likewise.
2644         (createVerticalBox): Likewise.
2645
2646 2004-08-31  Kim Ho  <kho@redhat.com>
2647
2648         * java/awt/Component.java:
2649         (processMouseEvent): Consume event after
2650         listeners process it.
2651         (processMouseMotionEvent): ditto.
2652         (processMouseWheelEvent): ditto.
2653         * java/awt/Container.java:
2654         (acquireComponentForMouseEvent):
2655         Do not dispatch to events that have been
2656         removed from the Container.
2657         (handleEvent): Consume the MouseEvents.
2658         * javax/swing/RepaintManager.java:
2659         (paintDirtyRegions): Do not add to list of 
2660         damaged areas if the component has no root.
2661
2662 2004-08-31  Michael Koch  <konqueror@gmx.de>
2663
2664         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2665
2666 2004-08-31  Mark Wielaard  <mark@klomp.org>
2667
2668         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2669         null when a MissingResourceException is thrown. Should never happen.
2670
2671 2004-08-31  Mark Wielaard  <mark@klomp.org>
2672
2673         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2674         when argument is null.
2675
2676 2004-08-31  Mark Wielaard  <mark@klomp.org>
2677
2678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2679         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2680         Define hid at start of function.
2681         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2682         Likewise.
2683
2684 2004-08-31  Mark Wielaard  <mark@klomp.org>
2685
2686         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2687         * javax/swing/JButton.java: Reindent.
2688         * javax/swing/JCheckBox.java: Reindent.
2689
2690 2004-08-31  Mark Wielaard  <mark@klomp.org>
2691
2692         * Makefile.am (gtk_c_source_files): Added
2693         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2694         (gtk_awt_peer_sources): Added
2695         gnu/java/awt/peer/gtk/GThreadMutex.java and
2696         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2697         * Makefile.in: Regenerated.
2698
2699 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2700
2701         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2702
2703 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2704
2705         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2706         Added jfieldID, jmethodID.
2707
2708 2004-08-31  Mark Wielaard  <mark@klomp.org>
2709
2710         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2711         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2712         gdk_env before calling any gdk or gtk function.
2713
2714         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2715         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2716         (run): Set gtkInitCalled.
2717
2718 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2719
2720         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2721         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2722
2723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2724         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2725         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2726         init_glib_threads. 
2727         (init_glib_threads): New function.
2728
2729 2004-08-31  Mark Wielaard  <mark@klomp.org>
2730
2731         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2732         PRIORITY when not already defined in header file.
2733
2734 2004-08-31  Mark Wielaard  <mark@klomp.org>
2735
2736         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2737         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2738
2739 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2740
2741         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2742         Implemented missing functions for GTK2.
2743         Added error handling.
2744         Renamed static functions out of the g_ namespace.
2745         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2746         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2747         Rewrote global-reference code.
2748         Eliminated cascading errors.
2749         (mutex_trylock_jni_impl) Fully implemented.
2750         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2751         resolution.
2752         (setup_cache) New function.
2753         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2754         bug where they were not unlocking the GMutex associated with the
2755         condition variable during the wait on that condition variable.
2756
2757         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2758         native/jni/gtk-peer/gthread-jni.c,
2759         native/jni/gtk-peer/gthread-jni.h
2760         (g_thread_jni_functions): Renamed to ...
2761         (portable_native_sync_jni_functions): this name.
2762         (gdk_vm): Renamed to...
2763         (the_vm): this name.
2764
2765         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2766         (gdk_vm): Removed duplicate definition.
2767         (gtkInit): Removed stray message to stdout.
2768         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2769         (gtkInit): Fix a const assignment bug.
2770         (gtkInit): Simplified code.
2771
2772         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2773         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2774         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2775         gnu/java/awt/peer/gtk/GThreadMutex.java:
2776         New files.
2777
2778 2004-08-31  Mark Wielaard  <mark@klomp.org>
2779
2780         * javax/swing/Box.java: Put FIXME comment above class declaration.
2781         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2782         * javax/swing/JCheckBox.java: Likewise.
2783         * javax/swing/JDialog.java: Likewise.
2784         * javax/swing/JRadioButton.java: Likewise.
2785         * javax/swing/JToggleButton.java: Likewise.
2786         * javax/swing/UIManager.java: Likewise.
2787         * javax/swing/border/TitledBorder.java: Likewise.
2788         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2789         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2790         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2791         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2792         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2793         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2794         * javax/swing/text/JTextComponent.java: Likewise.
2795
2796 2004-08-31  David Jee  <djee@redhat.com>
2797
2798         PR AWT/16682
2799         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2800         (setIconImage): Add a FIXME for unhandled cases.
2801
2802 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2803
2804         PR AWT/16040
2805         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2806         getModifiers.  Replace old button masks with new ones.
2807         * gnu/awt/xlib/XEventLoop.java: Likewise.
2808         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2809         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2810         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2811         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2812         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2813         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2814         * java/awt/Component.java: Replace old modifier masks with new
2815         ones.
2816         * java/awt/Container.java: Call getModifiersEx, not
2817         getModifiers.
2818         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2819         old modifier masks.
2820         * javax/swing/JMenuItem.java: Replace old button masks with new
2821         ones.
2822         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2823         getModifiers.
2824         * javax/swing/SwingUtilities.java: Likewise.
2825         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2826         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2828         mask macros with new ones.
2829         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2830         macros with new ones representing new masks.
2831
2832 2004-08-31  Craig Black  <craig.black@aonix.com>
2833
2834         * gnu/java/awt/peer/gtk/GdkGraphics.java
2835         (drawRoundRect): Implemented.
2836         (fillRoundRect): Implemented.
2837         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2838         (drawRoundRect): Reimplemented to match GdkGraphics.
2839         (fillRoundRect): Reimplemented to match GdkGraphics.
2840
2841 2004-08-31  Mark Wielaard  <mark@klomp.org>
2842
2843         * Makefile.in: Regenerated.
2844
2845 2004-08-31  Michael Koch  <konqueror@gmx.de>
2846
2847         * gnu/java/awt/EmbeddedWindow.java
2848         (addNotify): Use AccessController to allow execution of privileged
2849         code.
2850
2851 2004-08-31  Michael Koch  <konqueror@gmx.de>
2852
2853         * gnu/java/awt/EmbeddedWindow.java
2854         (static): Removed.
2855         (addNotify): Set peer via reflection.
2856         (setWindowPeer): Removed.
2857         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2858         * Makefile.am (nat_source_files):
2859         Removed gnu/java/awt/natEmbeddedWindow.cc.
2860
2861 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2862
2863         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2864         and gnu/java/security/action/SetAccessibleAction.java.
2865
2866 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2867
2868         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2869         Renamed from 'setName'. New 2-argument form with default value.
2870         (run): Pass default 'value' parameter to System.getProperty().
2871         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2872         typos.
2873
2874 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2875
2876         * gnu/java/security/action/GetPropertyAction.java: New class.
2877         * gnu/java/security/action/SetAccessibleAction.java: New class.
2878
2879 2004-08-31  David Jee  <djee@redhat.com>
2880
2881         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2882         (setIconImage): Check if image is null.
2883
2884 2004-08-31  David Jee  <djee@redhat.com>
2885
2886         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2887         (create): Set the icon image.
2888         (nativeSetIconImage): New native method declaration.
2889         (setIconImage): Implement.
2890         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2891         (nativeSetIconImage): New function.
2892
2893 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2894
2895         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2896         (filenameFilterCallback): Declare local variable accepted before use.
2897
2898 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2899
2900         * gnu/java/awt/ComponentDataBlitOp.java:
2901         Cleaned up imports.
2902
2903 2004-08-31  Tom Tromey  <tromey@redhat.com>
2904
2905         * gnu/java/awt/peer/GLightweightPeer.java,
2906         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2907         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2908         javax/swing/JScrollPane.java: Removed
2909         redundant imports.
2910
2911 2004-08-31  David Jee  <djee@redhat.com>
2912
2913         * java/awt/DefaultKeyboardFocusManager.java
2914         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2915         event.  Fix shift modifier checking.
2916         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2917         (accel_attach): Remove.
2918         (setupAccelGroup): Remove calls to accel_attach.
2919
2920 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2921
2922         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2923         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2924
2925         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2926         GtkArgList.java.
2927         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2928         * Makefile.in: Regenerate.
2929         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2930         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2931         (create(String)): New method.
2932         (create): Call new create method.
2933         (getArgs): Remove method.
2934         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2935         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2936         (nativeCreate): Rename to create.
2937         (gtkSetLabel): Rename to gtkButtonSetLabel.
2938         (gtkToggleButtonSetActive): New method.
2939         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2940         (setState): Replace set call with gtkToggleButtonSetActive.
2941         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2942         (getArgs): Remove method.
2943         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2944         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2945         (gtkWidgetSetSensitive): New method.
2946         (gtkWidgetSetParent): Likewise.
2947         (GtkComponentPeer): Call setParent, setComponentBounds and
2948         setVisibleAndEnabled.
2949         (setParent): New method.
2950         (setComponentBounds): New method.
2951         (setVisibleAndEnabled): New method.
2952         (setEnabled): Call gtkWidgetSetSensitive.
2953         (getArgs): Remove method.
2954         Remove all set methods.
2955         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2956         gtkWindowSetModal, setTitle and setResizable.
2957         (getArgs): Remove method.
2958         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2959         (setComponentBounds): New method.
2960         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2961         Replace set call with gtkWindowSetResizable.
2962         (getArgs): Remove method.
2963         (create): Call setTitle and setResizable.
2964         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2965         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2966         (gtkWindowSetTitle): New method.
2967         (gtkWindowSetResizable): New method.
2968         (gtkWindowSetModal): New method.
2969         (setParent): New method.
2970         (setVisibleAndEnabled): New method.
2971         (getArgs): Remove method.
2972         (setTitle): Call gtkWindowSetTitle.
2973         (setResizable): Call gtkWindowSetResizable.
2974         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2975         and off locking instrumentation.
2976
2977 2004-08-31  Kim Ho  <kho@redhat.com>
2978
2979         * Makefile.am: Add new file.
2980         * Makefile.in: Regenerate.
2981         * gcj/Makefile.in: Regenerate
2982         * include/Makefile.in:
2983         * java/awt/Container.java:
2984         (acquireComponentForMouseEvent): Respect 
2985         the event mask when looking for candidate.
2986         * javax/swing/JComponent.java:
2987         Remove toolTip field.
2988         (createToolTip): Create a tooltip on demand.
2989         (setToolTipText): Register with the ToolTipManager.
2990         (getToolTipText(MouseEvent)): Return getToolTipText().
2991         * javax/swing/JToolTip.java: Implement.
2992         * javax/swing/Timer.java: Jalopy.
2993         (restart): Call stop, then start.
2994         (stop): Interrupt the timer rather than wait for
2995         the timer to come to a stop naturally.
2996         * javax/swing/ToolTipManager.java: Implement.
2997         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2998         Change ToolTip.background color.
2999         * javax/swing/plaf/basic/BasicToolTipUI.java:
3000         Implement.
3001         * testsuite/Makefile.in: Regenerate
3002
3003 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
3004
3005         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3006         constructor param comments.
3007
3008 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3009
3010         * java/awt/Component.java: Document AWT 1.0 event handler
3011         methods.
3012
3013 2004-08-31  Roman Kennke  <roman@ontographics.com>
3014
3015         * javax/swing/Box.java:
3016         (createGlue): Implemented
3017         (createHorizontalGlue): Implemented
3018         (createHorizontalStrut): Implemented
3019         (createVerticalGlue): Implemented
3020         (createVerticalStrut): Implemented
3021
3022 2004-08-31  David Jee  <djee@redhat.com>
3023
3024         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3025         (GtkChoicePeer): Do not automatically select first item.
3026         (getHistory): Remove.
3027         (nativeGetSelected): New method.
3028         (nativeRemoveAll): New method.
3029         (add): Use nativeGetSelected() instead of getHistory().
3030         (remove): Likewise.
3031         (removeAll): Call nativeRemoveAll().
3032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3033         (create): Migrate to GtkComboBox.
3034         (append): Likewise.
3035         (nativeAdd): Likewise.
3036         (nativeRemove): Likewise.
3037         (select): Likewise.
3038         (nativeRemoveAll): New method.
3039         (nativeGetSelected): New method.
3040         (selection_changed): New method.
3041         (getHistory): Remove.
3042         (item_activate): Remove.
3043         (item_removed): Remove.
3044         (connect_choice_item_selectable_hook): Remove.
3045
3046 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3047
3048         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3049         variable in setEditable call.
3050
3051         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3052         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3053         (gtkWidgetSetBackground): New method.
3054         (gtkWidgetSetForeground): Likewise.
3055         (create): Set peer's editable state based on awtComponent's.
3056
3057         * java/awt/Button.java (Button()): Use empty string rather than
3058         null in no-label constructor.
3059
3060 2004-08-31  Roman Kennke  <roman@ontographics.com>
3061
3062         * javax/swing/BoxLayout.java: Reimplement.
3063
3064 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
3065
3066         * gnu/java/awt/peer/gtk/GdkGraphics.java,
3067         gnu_java_awt_peer_gtk_GdkGraphics.c
3068         (initState(GtkComponentPeer)): Don't return array of colour
3069         values.
3070         (GdkGraphics(int,int)): Set default font to size 12.
3071         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3072         component's foreground colour.
3073         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3074         gnu_java_awt_peer_gtk_GdkGraphics2D.c
3075         (initState(GtkComponentPeer)): Don't return array of colour
3076         values.
3077         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3078         colours to component's colours.
3079         (current_colors_of_widget): Remove function.
3080         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3081         Return a new graphics object.
3082         * java/awt/Font.java (toString): Fix format.
3083         * java/awt/Graphics.java (toString): Likewise.
3084
3085 2004-08-31  Craig Black  <craig.black@aonix.com>
3086
3087         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3088         (addTearOff): New function.
3089         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3090         New native method.
3091         (init): Call addTearOff() when menu.isTearOff().
3092
3093 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
3094
3095         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3096         Default implementation.
3097         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3098         Implement using GdkPixbufDecoder.
3099
3100 2004-08-31  David Jee  <djee@redhat.com>
3101
3102         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3103         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3104         setting the size of GtkFileDialogPeers.
3105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3106         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3107         use their default sizes rather than their natural requisitions.
3108
3109 2004-08-31  Michael Koch  <konqueror@gmx.de>
3110
3111         * javax/swing/JFormattedTextField.java
3112         (JFormattedTextField): Implemented.
3113         * javax/swing/text/DefaultEditorKit.java
3114         (BeepAction): New inner class.
3115         * javax/swing/text/Segment.java
3116         (partialReturn): New field.
3117         (setPartialReturn): New method.
3118         (isPartialReturn): Likewise.
3119         * javax/swing/text/View.java
3120         (createFragment): Fixed typo.
3121         (getStartOffset): New method.
3122         (getEndOffset): Likewise.
3123
3124 2004-08-31  Michael Koch  <konqueror@gmx.de>
3125
3126         * javax/swing/table/DefaultTableColumnModel.java
3127         (serialVersionUID): Made private.
3128         (listenerList): Initialize.
3129         (changeEvent): Initialize.
3130         * javax/swing/table/JTableHeader.java
3131         (JTableHeader): New constructors.
3132         (createDefaultColumnModel): New method.
3133         * javax/swing/table/TableColumn.java
3134         (setHeaderRenderer): Simplified code.
3135         (setCellRenderer): Likewise.
3136         (setWidth): Likewise.
3137
3138 2004-08-31  Tom Tromey  <tromey@redhat.com>
3139
3140         * java/text/AttributedString.java (AttributedString): Use
3141         ArrayList to build array of attribute ranges.  Don't use
3142         `attribs' before it is set.
3143
3144 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3145
3146         * HACKING: Remove reference to special automake. No longer needed.
3147
3148 2004-08-30  Tom Tromey  <tromey@redhat.com>
3149
3150         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3151         return result from `add'.
3152
3153 2004-08-30  Tom Tromey  <tromey@redhat.com>
3154
3155         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3156
3157 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
3158
3159         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3160
3161 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
3162
3163         * java/io/File.java File(String,String): Fixed handling of empty
3164         path.
3165
3166 2004-08-30  Casey Marshall  <csm@gnu.org>
3167
3168         Author e-mail updated for all files.
3169         * gnu/java/security/OID.java (equals): Test if the aurgment is an
3170         instance of OID.
3171         (compareTo): Use `equals'.
3172         * gnu/java/security/der/BitString.java (equals): Test if the
3173         argument is an instance of BitString.
3174         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
3175         class final. Made fields private.
3176         (<init>): New constructor.
3177         (skip): New method.
3178         (makeString): Made static; don't use NIO.
3179         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3180         * gnu/java/security/der/DERWriter.java: Fixed imports.
3181         (writeString): Don't use NIO.
3182         (toIso88591, toUtf16Be, toUtf8): New methods.
3183         * gnu/java/security/der/DERValue.java: Formatting changes only.
3184         * gnu/java/security/der/DER.java: Likewise.
3185
3186 2004-08-30  Tom Tromey  <tromey@redhat.com>
3187
3188         * java/nio/CharBuffer.java (put): Fix typo.
3189         * java/nio/DoubleBuffer.java (put): Fix typo.
3190         * java/nio/FloatBuffer.java (put): Fix typo.
3191         * java/nio/IntBuffer.java (put): Fix typo.
3192         * java/nio/LongBuffer.java (put): Fix typo.
3193         * java/nio/ShortBuffer.java (put): Fix typo.
3194
3195 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
3196
3197         * java/nio/ByteBuffer.java (put): Fix typo.
3198
3199 2004-08-30  Casey Marshall  <csm@gnu.org>
3200
3201         * java/security/DummyKeyPairGenerator.java (clone): Removed
3202         useless instanceof check.
3203         * java/security/DummyMessageDigest.java (clone): Likewise.
3204         * java/security/DummySignature.java (clone): Likewise.
3205         * java/security/MessageDigest.java (clone): Remove useless
3206         instanceof check.
3207         * java/security/MessageDigestSpi.java (clone): Likewise.
3208         * java/security/Signature.java (clone): Provide meaningful
3209         implementation.
3210         * java/security/SignatureSpi.java (clone): Likewise.
3211
3212 2004-08-29  Mark Wielaard  <mark@klomp.org>
3213
3214         * java/util/Arrays.java
3215         (sort(byte[], int, int)): Check fromIndex < 0.
3216         (sort(char[], int, int)): Likewise.
3217         (sort(short[], int, int)): Likewise.
3218         (sort(int[], int, int)): Likewise.
3219         (sort(long[], int, int)): Likewise.
3220         (sort(float[], int, int)): Likewise.
3221         (sort(double[], int, int)): Likewise.
3222         (sort(Object[], int, int, Comparator)): Likewise.
3223         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3224         (qsort(char[], int, int)): Likewise.
3225         (qsort(short[], int, int)): Likewise.
3226         (qsort(int[], int, int)): Likewise.
3227         (qsort(long[], int, int)): Likewise.
3228         (qsort(float[], int, int)): Likewise.
3229         (qsort(double[], int, int)): Likewise.
3230
3231 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3232
3233         * java/util/AbstractCollection.java, java/util/AbstractList.java,
3234         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3235         java/util/ArrayList.java, java/util/Arrays.java,
3236         java/util/BitSet.java, java/util/Calendar.java,
3237         java/util/Collection.java, java/util/ListIterator.java,
3238         java/util/Map.java, java/util/SortedSet.java:
3239         Added additional exceptions to documentation, along
3240         with some additions and corrections.
3241
3242 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
3243
3244         * configure.ac: Handle --enable-gc-debug.
3245         * configure: Regenerate.
3246         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3247         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3248         Rearrange include file order.
3249         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3250         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3251         (disable_gc_mutex): Delete along with all references.
3252         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3253         adjust for debug header size.
3254         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3255         debug case.
3256         (_Jv_AllocArray): Declare min_heap_addr only if needed.
3257         (gcj_describe_type_fn): New.
3258         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3259         Register gcj_describe_type_fn.
3260         * include/boehm-gc.h:
3261         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3262         Don't define, but declare, for debug case.
3263         * java/lang/natObject.cc:
3264         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3265
3266 2004-08-26  Mark Wielaard  <mark@klomp.org>
3267
3268         Fixes PR libgcj/17002:
3269         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3270         a TimeZoneId string and then try to convert that to a TimeZone with
3271         getDefaultSystemTimeZone(String).
3272         (timezones0): Changed type from Hashtable to HashMap.
3273         (timezones): Create HashMap, not Hashtable.
3274         (getDefaultTimeZone): New method, rewritten from CNI version.
3275         (readTimeZoneFile): New method.
3276         (readtzFile): Likewise.
3277         (skipFully): Likewise.
3278         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3279         getDefaultTimeZoneId and rewritten.
3280         (getDefaultTimeZoneId): Rewritten in java.
3281         
3282 2004-08-25  David Daney  <daney@avtrex.com>
3283
3284         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
3285         * Makefile.in: Regenerated.
3286
3287 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
3288
3289         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3290         only if jvmpi is enabled.
3291         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3292         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3293         (_Jv_AllocString): Likewise.
3294         (_Jv_AllocPtrFreeObject): Likewise.     
3295
3296 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
3297
3298         * defineclass.cc: Include <stdio.h>.
3299         * java/lang/natClassLoader.cc: Include <stdio.h>.
3300
3301 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
3302             Michael Koch  <konqueror@gmx.de>
3303
3304         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3305         * Makefile.in: Regenerated.
3306
3307 2004-08-20  Michael Koch  <konqueror@gmx.de>
3308
3309         * configure.ac: Replaced all AC_TRY_COMPILE macros with
3310         AC_COMPILE_IFELSE macros.
3311
3312 2004-08-20  Michael Koch  <konqueror@gmx.de>
3313
3314         * configure.in: Renamed to configure.ac.
3315         * configure.ac: New file.
3316         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3317         include/config.h.in, testsuite/Makefile.in: Regenerated.
3318
3319 2004-08-20  Michael Koch  <konqueror@gmx.de>
3320
3321         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3322         * aclocal.m4, configure: Regenerated.
3323
3324 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
3325             Michael Koch  <konqueror@gmx.de>
3326
3327         * configure.in, Makefile.am: Ported to automake 1.9.
3328         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
3329         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3330         Regenerated.
3331
3332 2004-08-19  Tom Tromey  <tromey@redhat.com>
3333
3334         * java/net/DatagramSocket.java: Fixed typo.
3335
3336 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3337
3338         PR libgcj/17081
3339         * java/net/URI.java (string): New field. Make all other fields
3340         transient.
3341         (readObject): Implemented.
3342         (writeObject): Implemented.
3343         (URI): Set 'string'.
3344
3345 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
3346
3347         PR libgcj/17079
3348         * java/util/logging/Handler.java (isLoggable): Accept record if its
3349         log level equals the threshold level. From Robin Green.
3350
3351 2004-08-18  David Daney  <ddaney@avtrex.com>
3352
3353         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
3354         instead of sigwait.
3355
3356 2004-08-17  Michael Koch  <konqueror@gmx.de>
3357
3358         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3359         * Makefile.in: Regenerated.
3360
3361 2004-08-16  Tom Tromey  <tromey@redhat.com>
3362
3363         PR java/8473:
3364         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3365
3366 2004-08-16  Michael Koch  <konqueror@gmx.de>
3367
3368         * Makefile.am
3369         (math_c_files): Renamed from c_files.
3370         (math_c_source_files): Renamed from c_source_files.
3371         * Makefile.in,
3372         gcj/Makefile.in,
3373         include/Makefile.in,
3374         testsuite/Makefile.in: Regenerated.
3375
3376 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
3377
3378         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3379         to avoid autoconf warning.
3380         * configure: Rebuilt.
3381
3382 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
3383
3384         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
3385         localhostAddress to loopbackAddress.
3386         * java/net/natInetAddressWin32.cc (lookup): Likewise.
3387
3388 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3389
3390         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
3391         boehm-gc's include dirs.
3392         * configure: Rebuilt.
3393         * include/boehm-gc.h: Include gc_config.h.
3394
3395 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3396
3397         * java/net/InetAddress.java (loopbackAddress): Renamed from 
3398         localhostAddress.
3399         (getByName): Return loopback address for null hostname, without
3400         security check. Use lookup(), not getAllByName.
3401         (getAllByName): Return loopback address for null hostname, without
3402         security check.
3403         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3404         check here.
3405
3406 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
3407
3408         PR libgcj/17020
3409         Reported by Robin Green.
3410         * defineclass.cc (handleField): Don't throw exception on unrecognised
3411         modifier. Add FIXME comments for spec compliance.
3412         (handleMethod): Likewise.
3413
3414 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3415
3416         PR libgcj/16662
3417         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3418         (Almost everywhere): add LOG calls, fix, add comments.
3419         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3420         Add explicit check for LOCKED bit in slow case (PR 16662).
3421         (_Jv_MonitorExit): Add casts in debug-only code.
3422         Always release LOCKED bit before throwing exception.
3423         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3424         isn't.  Handle easy cases without lock acquisition.
3425         (Object::wait): Use NotifyAll for lock inflation.
3426
3427 2004-08-12  David Daney  <ddaney@avtrex.com>
3428
3429         * testsuite/libjava.lang/Process_1.java: New test.
3430         * testsuite/libjava.lang/Process_2.java: New test.
3431         * testsuite/libjava.lang/Process_3.java: New test.
3432         * testsuite/libjava.lang/Process_4.java: New test.
3433         * testsuite/libjava.lang/Process_5.java: New test.
3434         * testsuite/libjava.lang/Process_6.java: New test.
3435         * testsuite/libjava.lang/Process_1.out: Expected result.
3436         * testsuite/libjava.lang/Process_2.out: Expected result.
3437         * testsuite/libjava.lang/Process_3.out: Expected result.
3438         * testsuite/libjava.lang/Process_4.out: Expected result.
3439         * testsuite/libjava.lang/Process_5.out: Expected result.
3440         * testsuite/libjava.lang/Process_6.out: Expected result.
3441
3442 2004-08-12  David Daney  <ddaney@avtrex.com>
3443
3444         PR libgcj/11801
3445         * java/lang/PosixProcess.java: Rewrote.
3446         * java/lang/natPosixProcess.cc: Rewrote.
3447         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3448         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3449         * posix-threads.cc (block_sigchld) New function.
3450         (_Jv_ThreadRegister) Use it.
3451         (_Jv_ThreadStart) Use it.
3452         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3453         * Makefile.am: ... to specify extra native headers.
3454         * configure: Regenerated.
3455         * include/config.h: Regenerated.
3456         * Makefile.in: Regenerated.
3457         * gcj/Makefile.in: Regenerated.
3458         * include/Makefile.in: Regenerated.
3459         * testsuite/Makefile.in: Regenerated.
3460
3461 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3462
3463         PR tree-optimization/16867
3464         * testsuite/libjava.lang/PR16867.java: New test.
3465
3466 2004-08-09  Per Bothner  <per@bothner.com>
3467
3468         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3469         with private fields and access methods.
3470         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3471         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3472         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3473         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3474         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3475         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3476         * jni.cc: Likewise.
3477         * resolve.cc: Likewise.
3478         * gcj/field.h: Likewise.
3479         * include/jvm.h: Likewise.
3480         * java/lang/Class.h: Likewise.
3481         * java/lang/natClass.cc: Likwise.
3482         * java/lang/natClassLoader.cc: Likewise
3483         * java/lang/reflect/natMethod.cc: Likewise
3484         * verify.cc: Likewise.
3485         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3486         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3487
3488 2004-08-10  Andrew Haley  <aph@redhat.com>
3489
3490         * testsuite/libjava.lang/err14.java: New file.
3491         * testsuite/libjava.lang/err14.out: New file.
3492
3493 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3494
3495         * Makefile.am: Fix missing rename from x_nat_headers to 
3496         xlib_nat_headers.
3497         * Makefile.in: Regenerated.
3498
3499 2004-08-04  Andrew Haley  <aph@redhat.com>
3500
3501         * java/security/BasicPermission.java: Don't check wildcards.
3502
3503 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3504             Michael Koch  <konqueror@gmx.de>
3505
3506         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3507         * configure.in: Replaced all usages of AC_LINK_FILES by
3508         AC_CONFIG_LINKS.
3509         * aclocal.m4,
3510         configure: Regenerated.
3511
3512 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3513             Michael Koch  <konqueror@gmx.de>
3514
3515         * acconfig.h: Removed.
3516         * Makefile.am: Rename variables for xlib peer to include xlib and
3517         gtk_c_headers to gtk_jni_headers.
3518         * Makefile.in: Regenerated.
3519
3520 2004-08-04  Andrew Haley  <aph@redhat.com>
3521
3522         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3523         debugging.
3524
3525 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3526
3527         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3528         Replace most top level 'dnl' comments with '#' comments, conforming
3529         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3530         help strings.
3531         * configure: Rebuilt.
3532
3533 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3534
3535         * acinclude.m4: Include no-executables.m4.
3536         * aclocal.m4: Rebuild.
3537         * configure.in: Convert to the autoconf 2.59 version of
3538         of the no-executables hack, and also of the nonstandard CXX
3539         hack and the multilibbed CC and CXX hack.  Change prerequisite
3540         to autoconf 2.59.
3541         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3542         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3543         testsuite/Makefile.in: Regenerate.
3544
3545 2004-08-03  Tom Tromey  <tromey@redhat.com>
3546
3547         * jni.cc: Reindented.
3548
3549 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3550
3551         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3552
3553 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3554
3555         * testsuite/libjava.compile/PR16701.java: New test.
3556
3557 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3558
3559         * java/util/Collection.java, java/util/List.java,
3560         java/util/Map.java, java/util/Set.java,
3561         java/util/SortedMap.java, java/util/SortedSet.java:
3562         Added additional exceptions to documentation.
3563
3564 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3565
3566         PR libgcj/16814
3567         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3568         * configure. Regenerate.
3569         * include/win32.h: Explicitly include winsock2.h
3570         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3571         Winsock api.
3572
3573 2004-07-30  Michael Koch  <konqueror@gmx.de>
3574
3575         * java/util/zip/GZIPInputStream.java
3576         (GZIPInputStream): Increase buffer size to 4k.
3577         * java/util/zip/GZIPOutputStream.java
3578         (GZIPOutputStream): Likewise.
3579         * java/util/zip/Inflater.java
3580         (setInput): Merged formating with GNU classpath.
3581         * java/util/zip/InflaterInputStream.java
3582         (InflaterInputStream): Increase buffer size to 4k.
3583         (fill): Throw exception if stream ends early.
3584         (read): Merged endless-loop with GNU classpath.
3585         (skip): Increase buffer size to 2k.
3586
3587 2004-07-30  Michael Koch  <konqueror@gmx.de>
3588
3589         * gnu/java/awt/EmbeddedWindow.java
3590         (addNotify): Use AccessController to allow execution of privileged
3591         code.
3592
3593 2004-07-29  Michael Koch  <konqueror@gmx.de>
3594
3595         * gnu/java/lang/MainThread.java:
3596         Explicitely import used classes.
3597         (args): Make it type String[].
3598
3599 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3600
3601         * gnu/java/awt/ComponentDataBlitOp.java,
3602         gnu/java/beans/ExplicitBeanInfo.java,
3603         gnu/java/beans/IntrospectionIncubator.java,
3604         gnu/java/beans/editors/ColorEditor.java,
3605         gnu/java/beans/editors/FontEditor.java,
3606         gnu/java/beans/editors/NativeBooleanEditor.java,
3607         gnu/java/beans/editors/NativeByteEditor.java,
3608         gnu/java/beans/editors/NativeDoubleEditor.java,
3609         gnu/java/beans/editors/NativeFloatEditor.java,
3610         gnu/java/beans/editors/NativeIntEditor.java,
3611         gnu/java/beans/editors/NativeLongEditor.java,
3612         gnu/java/beans/editors/NativeShortEditor.java,
3613         gnu/java/beans/editors/StringEditor.java,
3614         gnu/java/io/ClassLoaderObjectInputStream.java,
3615         gnu/java/io/decode/Decoder.java,
3616         gnu/java/io/encode/Encoder.java,
3617         gnu/java/lang/ClassHelper.java,
3618         gnu/java/locale/Calendar.java,
3619         gnu/java/locale/Calendar_de.java,
3620         gnu/java/locale/Calendar_en.java,
3621         gnu/java/locale/Calendar_nl.java,
3622         gnu/java/locale/LocaleInformation_de.java,
3623         gnu/java/locale/LocaleInformation_en.java,
3624         gnu/java/locale/LocaleInformation_nl.java:
3625         Cleaned up imports.
3626
3627 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3628
3629         * README: Remove obsolete info. Update bug URL.
3630         * THANKS: Updated.
3631         * NEWS: Updated with news up to GCC 3.4 release.
3632
3633 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3634
3635         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3636         Renamed from 'setName'. New 2-argument form with default value.
3637         (run): Pass default 'value' parameter to System.getProperty().
3638         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3639         typos.
3640         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3641         not 'setName'.
3642
3643 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3644
3645         * configure.in: Check for minimum GTK version 2.4 requirement.
3646         * configure: Rebuilt.
3647
3648 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3649
3650         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3651         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3652         Reduce sleep time.
3653         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3654         compiler bug.
3655         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3656         address. Reduce sleep times. Synchronize with target threads before
3657         attempting to interrupt them. Don't try to calibrate yeild count,
3658         instead, always loop for a fixed time.
3659         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3660         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3661         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3662         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3663         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3664         * testsuite/libjava.lang/pr179.java: Likewise.
3665         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3666         time. Remove upper bounds check on sleep time. 
3667
3668 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3669
3670         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3671         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3672
3673 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3674
3675         * java/io/File.java (toURI): Throw RuntimeException, not 
3676         InternalError.
3677         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3678         class name, not instance.
3679
3680 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3681
3682         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3683         and gnu/java/security/action/SetAccessibleAction.java.
3684         * Makefile.in: Rebuilt.
3685
3686 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3687
3688         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3689         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3690         _Jv_InitPrimClass.
3691         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3692         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3693         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3694
3695 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3696
3697         * Makefile.am: Replace jar, rmic and rmiregistry references with
3698         gjar, grmic and grmiregistry.
3699         * configure.in: Likewise.
3700         * Makefile.in: Regenerate.
3701         * configure: Likewise.
3702         * gcj/Makefile.in: Likewise.
3703         * include/Makefile.in: Likewise.
3704         * testsuite/Makefile.in: Likewise.
3705
3706 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3707
3708         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3709         for privileged getProperty calls.
3710         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3711         SetAccessibleAction instead of anonymous class for doPrivileged call.
3712         (getMethod): Likewise.
3713         (setAccessible): New field. PrivilegedAction object to use when
3714         calling setAccessible.
3715         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3716         SetAccessibleAction instead of anonymous class for diPrivileged call.
3717         (setFields): Likewise.
3718         (getClassUID): Likewise.
3719         (findMethod): Likewise.
3720         * gnu/java/security/action/GetPropertyAction.java: New class.
3721         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3722
3723 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3724
3725         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3726         for final fields.
3727         * testsuite/libjava.lang/Serialization.java: New test.
3728         * testsuite/libjava.lang/Serialization.out: New.
3729
3730 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3731
3732         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3733         missed in last commit.
3734
3735 2004-07-23  Mark Wielaard  <mark@klomp.org>
3736
3737         * java/lang/System.java (static): Set http.agent system property when
3738         not yet set.
3739         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3740         from system property inside AccessController.doPrivileged() call.
3741         (proxyPort): Made package private.
3742         (proxyInUse): Likewise.
3743         (proxyHost): Likewise.
3744         (userAgent): Likewise.
3745
3746 2004-07-23  Mark Wielaard  <mark@klomp.org>
3747
3748         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3749         implementation.
3750
3751 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3752
3753         * Makefile.am (ordinary_java_source_files): Add
3754         DefaultContentHandlerFactory.java.
3755         * Makefile.in: Rebuilt.
3756         * java/net/URLConnection.java (defaultFactory): New field.
3757         (getContent): 
3758         (getContentHandler): Renamed from 'setContentHandler'. Try 
3759         defaultFactory after user-set factory, if any. Search for content 
3760         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3761         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3762         Implemented.
3763         (getLastModified): Implemented.
3764         (getPermission): Create file permission here, instead of in
3765         constructor.
3766         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3767         Implemented.
3768         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3769         Implemented.
3770         (getLastModified): Implemented.
3771         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3772         Default implementation.
3773         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3774         Implement using GdkPixbufDecoder.
3775         
3776 2004-07-21  Michael Koch  <konqueror@gmx.de>
3777
3778         * javax/swing/JTextArea.java
3779         (setLineWrap): Fire property change event after new value is set.
3780         (setTabSize): Likewise.
3781
3782 2004-07-21  Michael Koch  <konqueror@gmx.de>
3783
3784         * javax/swing/JTable.java
3785         (autoCreateColumnsFromModel): New field.
3786         (autoResizeMode): Likewise.
3787         (cellEditor): Likewise.
3788         (cellSelectionEnabled): Likewise.
3789         (columnModel): Likewise.
3790         (dataModel): Likewise.
3791         (defaultEditorsByColumnClass): Likewise.
3792         (defaultRenderersByColumnClass): Likewise.
3793         (editingColumn): Likewise.
3794         (editingRow): Likewise.
3795         (gridColor): Likewise.
3796         (preferredViewportSize): Likewise.
3797         (rowHeight): Likewise.
3798         (rowMargin): Likewise.
3799         (rowSelectionAllowed): Likewise.
3800         (selectionBackground): Likewise.
3801         (selectionForeground): Likewise.
3802         (selectionModel): Likewise.
3803         (showHorizontalLines): Likewise.
3804         (showVerticalLines): Likewise.
3805         (tableHeader): Likewise.
3806         (JTable): Implemented.
3807         (getColumnModel): Likewise.
3808         (getSelectedRow): Likewise.
3809         (getSelectionModel): Likewise.
3810         (setModel): Likewise.
3811         (setSelectionModel): Likewise.
3812         (createScrollPaneForTable): New method.
3813         (createDefaultDataModel): Likewise.
3814         (createDefaultListSelectionModel): Likewise.
3815         (getModel): Likewise.
3816         (getTableHeader): Likewise.
3817         (setTableHeader): Likewise.
3818         (getColumnSelectionAllowed): Likewise.
3819         (setColumnSelectionAllowed): Likewise.
3820         (getRowSelectionAllowed): Likewise.
3821         (setRowSelectionAllowed): Likewise.
3822         (getAutoResizeMode): Likewise.
3823         (setAutoResizeMode): Likewise.
3824         (getColumnCount): Likewise.
3825         (getRowCount): Likewise.
3826         (getCellRenderer): Likewise.
3827         * javax/swing/JTree.java
3828         (cellRenderer): New field.
3829         (editable): Likewise.
3830         (rootVisible): Likewise.
3831         (showsRootHandles): Likewise.
3832         (getModel): New method.
3833         (setModel): Likewise.
3834         (isEditable): Likewise.
3835         (setEditable): Likewise.
3836         (isRootVisbile): Likewise.
3837         (setRootVisible): Likewise.
3838         (getShowsRootHandles): Likewise.
3839         (setShowRootHandles): Likewise.
3840         (getCellRenderer): Likewise.
3841         (setCellRenderer): Likewise.
3842
3843 2004-07-21  Michael Koch  <konqueror@gmx.de>
3844
3845         * javax/swing/JFormattedTextField.java
3846         (setDocument): Implemented.
3847         * javax/swing/JRootPane.java:
3848         Fixed javadocs.
3849         * javax/swing/JTable.java
3850         (getDefaultRenderer): New method.
3851         * javax/swing/JTextField.java
3852         (setFont): Likewise.
3853         (getPreferredSize): Likewise.
3854         * javax/swing/JToggleButton.java
3855         (getAccessibleContext): Fix javadoc.
3856         * javax/swing/JTree.java:
3857         Add some javadocs.
3858         * javax/swing/JViewport.java:
3859         Likewise.
3860
3861 2004-07-21  David Jee  <djee@redhat.com>
3862
3863         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3864         Collect all native method declaration at the top.
3865         (create): Set the filename filter if necessary.
3866         (setDirectory): Call nativeSetDirectory().
3867         (setFilenameFilter): Implement.
3868         (filenameFilterCallback): New method.
3869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3870         (create): Configure dialog to show hidden files.
3871         (filenameFilterCallback): New function. 
3872         (nativeSetFilenameFilter): New function.
3873         (nativeSetDirectory): New function.
3874
3875 2004-07-21  Kim Ho  <kho@redhat.com>
3876
3877         * javax/swing/plaf/basic/BasicSliderUI.java:
3878         Ran Jalopy.
3879         (paintTrack): Fill the track before painting
3880         the borders.
3881
3882 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3883
3884         patch from Roman Kennke <roman@ontographics.com>
3885         * javax/swing/Spring.java: New file.
3886         * javax/swing/SpringLayout.java: New file.
3887         * Makefile.am: Add new files.
3888         * Makefile.in: Regenerate.
3889
3890 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3891
3892         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3893         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3894         * javax/swing/ScrollPaneLayout.java: Likewise.
3895
3896 2004-07-21  Kim Ho  <kho@redhat.com>
3897
3898         * javax/swing/DefaultDesktopManager.java:
3899         (findMinimum): Removed.
3900         (resizeFrame): Trust the UI to pass valid 
3901         bounds.
3902         * javax/swing/JOptionPane.java:
3903         Implemented showInternalXXXDialog methods.
3904         (startModal): New method.
3905         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3906         (BorderListener::mouseDragged): Verify that the new 
3907         bounds are valid before passing them to the DesktopManager.
3908         (preferredLayoutSize): Delegate
3909         to getSize.
3910         (minimumLayoutSize): Ditto.
3911         (getSize): New method.
3912         (GlassPaneDispatcher): Reimplemented by copying 
3913         a stripped down LightweightDispatcher from Container.
3914         (getMinimumSize): Call minimumLayoutSize.
3915         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3916         Ran Jalopy.
3917         (mousePressed): Add ability to properly close 
3918         JInternalFrames.
3919         * javax/swing/plaf/basic/BasicToolBarUI.java:
3920         (DragWindow): Set owner for DragWindow.
3921
3922 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3923
3924         * java/awt/image/ShortLookupTable.java: New file.
3925         * java/awt/image/ByteLookupTable.java: New file.
3926         * Makefile.am: Added new files.
3927         * Makefile.in: Regenerated.
3928
3929 2004-07-21  David Jee  <djee@redhat.com>
3930
3931         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3932         (create(GtkContainerPeer)): New native method.
3933         (create()): Call native create(), passing in the parent frame
3934         as the paramter. Natively set the current file and directory.
3935         (setFile): Construct an absolute filename before passing it to
3936         the native peer.
3937         (nativeGetDirectory): New method.
3938         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3939         (window_closed): Removed.
3940         (ok_clicked): Likewise.
3941         (cancel_clicked): Likewise.
3942         (handle_response): New method.
3943         (create): Use GtkFileChooserDialog.
3944         (connectSignals): Connect to handle_response.
3945         (nativeGetDirectory): New method.
3946         (nativeSetFile): Use GtkFileChooserDialog.
3947
3948 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3949
3950         * java/awt/image/LookupTable.java: New file.
3951         * Makefile.am: Added new file.
3952         * Makefile.in: Regenerated.
3953
3954 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3955
3956         * java/awt/image/Kernel.java: New file.
3957         * Makefile.am: Added new file.
3958         * Makefile.in: Regenerated.
3959
3960 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3961
3962         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3963         * javax/swing/JMenu.java: Likewise.
3964         * javax/swing/JMenuBar.java: Likewise.
3965         (MARGIN_CHANGED_PROPERTY): New property.
3966         (setMargin): Implemented.
3967         * javax/swing/JMenuItem.java: Fixed javadocs.
3968         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3969         (LABEL_CHANGED_PROPERTY): New property.
3970         (add): changed to use createActionComponent.
3971         (createActionComponent): Implemented.   
3972         (setLabel): Fire PropertyChangeEvent if label property
3973         changes.
3974         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3975         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3976         (ContainerHandler): Repaint if margin property has changed.
3977         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3978         (installUI): Call installComponents().
3979         (uninstallUI): Call uinstallComponents().
3980         * javax/swing/plaf/basic/BasicMenuUI.java:
3981         Fixed javadocs.
3982         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3983         Likewise.
3984
3985 2004-07-21  Kim Ho  <kho@redhat.com>
3986
3987         * javax/swing/plaf/basic/BasicToolBarUI.java:
3988         (DragWindow): Use the right constructor.
3989
3990 2004-07-21  Kim Ho  <kho@redhat.com>
3991
3992         * javax/swing/JToolBar.java:
3993         (layoutContainer): Use getComponents.
3994         * javax/swing/plaf/basic/BasicToolBarUI.java:
3995         (DragWindow): Don't use SwingUtilities' 
3996         getOwnerFrame
3997         (ToolBarDialog): ditto.
3998
3999 2004-07-21  Kim Ho  <kho@redhat.com>
4000
4001         * javax/swing/JRootPane.java:
4002         Ran jalopy.
4003         (layoutContainer): Set the glasspane's size to 
4004         be the same as the content pane.
4005         (createGlassPane): Set opaque property to false.
4006
4007 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4008
4009         * java/awt/Component.java (requestFocus()): Don't handle Panels
4010         specially.
4011         (requestFocus(boolean)): Likewise.
4012         (requestFocusInWindow(boolean)): Likewise.
4013         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4014         Set GTK_CAN_FOCUS flag.
4015
4016 2004-07-21  Kim Ho  <kho@redhat.com>
4017
4018         * Makefile.am: Added new file.
4019         * Makefile.in: Regenerated.
4020         * gcj/Makefile.in: Regenerated.
4021         * include/Makefile.in: Regenerated.
4022         * javax/swing/AbstractButton.java:
4023         Add rollOverEnabled property.
4024         (setRolloverEnabled): Use new property.
4025         (isRolloverEnabled): Use new property.
4026         * javax/swing/JTabbedPane.java:
4027         (setComponent): Remove useless JTabbedPane.this.
4028         * javax/swing/JToolBar.java: Finish implementation.
4029         * javax/swing/plaf/basic/BasicArrowButton.java:
4030         (paint): Moved border painting to a border.
4031         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4032         Change JToolBar look and feel defaults.
4033         * javax/swing/plaf/basic/BasicOptionPaneUI.java
4034         (actionPerformed): Return Integer index instead of name.
4035         (addButtonComponents): Check to see if component is
4036         JButton last.
4037         (createMessageArea): Don't use components that are not
4038         completed yet.
4039         (getIconForType): Use temporary icons.
4040         * javax/swing/plaf/basic/BasicSliderUI.java:
4041         (mousePressed): Do not return if it's on thumb.
4042         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4043         (paintMinorTickForVertSlider): ditto.
4044         (paintMajorTickForHorizSlider): ditto.
4045         (paintMajorTickForVertSlider): ditto.
4046         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4047         Add a border around the SplitPaneDivider.
4048         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4049         Remove comments.
4050         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4051         New file. Implemented.
4052         * javax/swing/plaf/basic/BasicToolBarUI.java:
4053         Implemented.
4054         * testsuite/Makefile.in: Regenerated.
4055
4056 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4057
4058         * javax/swing/Timer.java (run): Queue events each time cycle.
4059
4060 2004-07-21  David Jee  <djee@redhat.com>
4061
4062         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4063         (imageComplete): Call image.imageComplete().
4064         * java/awt/image/MemoryImageSource.java:
4065         Reimplement consumers as a Vector instead of a Hashtable.  This is
4066         because enumeration on a Hashtable is not thread-safe.
4067         (addConsumer): Adapt to Vector consumers.
4068         (isConsumer): Adapt to Vector consumers.
4069         (removeConsumer): Adapt to Vector consumers.
4070         (startProduction): Adapt to Vector consumers. Call imageComplete()
4071         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4072         (newPixels): Adapt to Vector consumers.
4073         (sendPicture): Set the color model of the image consumer.
4074         (newPixels(IIII)): Adapt to Vector consumers.
4075         (newPixels(IIIIB)): Adapt to Vector consumers.
4076
4077 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4078
4079         * java/awt/Component.java (deliverEvent): Implement.
4080         (postEvent): Implement.
4081         (handleEvent): Implement.
4082         (translateEvent): New method.
4083         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
4084         * java/awt/Container.java (deliverEvent): Implement.
4085         * java/awt/Event.java (paramString): Fix formatting.
4086         * java/awt/Font.java (toString): Likewise.
4087