]> gcc.gnu.org Git - gcc.git/blob - libjava/ChangeLog
a9a492f33267ef91b18efbe2c6d5eaa34a109e43
[gcc.git] / libjava / ChangeLog
1 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
2
3 Import/Merge the X.509 certificate code from Classpath.
4
5 * Makefile.am: Add imported files.
6 * Makefile.in: Regenerate.
7
8 2004-11-07 Casey Marshall <csm@gnu.org>
9
10 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
11 priviliged action. Add new algorithms.
12 * gnu/java/security/provider/X509CertificateFactory.java
13 (engineGenerateCertificate): Chain exceptions.
14 (engineGenerateCertificates): Likewise.
15 (engineGenerateCRL): Likewise.
16 (engineGenerateCRLs): Likewise.
17 (engineGenerateCertPath): New methods.
18 (generateCert): Throw exception if 'inStream' is null.
19 (generateCRL): Likewise.
20 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
21 version from GNU Crypto CVS.
22 * gnu/java/security/x509/X509CRL.java: Likewise.
23 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
24 * gnu/java/security/x509/X509Certificate.java: Likewise.
25 * java/security/cert/TrustAnchor.java: Call 'toString' and not
26 toRFC2253.
27 * gnu/java/security/provider/CollectionCertStoreImpl.java,
28 * gnu/java/security/provider/EncodedKeyFactory.java,
29 * gnu/java/security/provider/GnuDHPublicKey.java,
30 * gnu/java/security/provider/GnuRSAPrivateKey.java,
31 * gnu/java/security/provider/GnuRSAPublicKey.java,
32 * gnu/java/security/provider/MD2withRSA.java,
33 * gnu/java/security/provider/MD4withRSA.java,
34 * gnu/java/security/provider/MD5withRSA.java,
35 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
36 * gnu/java/security/provider/RSA.java,
37 * gnu/java/security/provider/RSAKeyFactory.java,
38 * gnu/java/security/provider/SHA1withRSA.java,
39 * gnu/java/security/x509/GnuPKIExtension.java,
40 * gnu/java/security/x509/PolicyNodeImpl.java,
41 * gnu/java/security/x509/Util.java,
42 * gnu/java/security/x509/X509CRLSelectorImpl.java,
43 * gnu/java/security/x509/X509CertPath.java,
44 * gnu/java/security/x509/X509CertSelectorImpl.java,
45 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
46 * gnu/java/security/x509/ext/BasicConstraints.java,
47 * gnu/java/security/x509/ext/CRLNumber.java,
48 * gnu/java/security/x509/ext/CertificatePolicies.java,
49 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
50 * gnu/java/security/x509/ext/Extension.java,
51 * gnu/java/security/x509/ext/GeneralNames.java,
52 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
53 * gnu/java/security/x509/ext/KeyUsage.java,
54 * gnu/java/security/x509/ext/PolicyConstraint.java,
55 * gnu/java/security/x509/ext/PolicyMappings.java,
56 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
57 * gnu/java/security/x509/ext/ReasonCode.java,
58 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
59 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
60
61 2004-11-07 Casey Marshall <csm@gnu.org>
62
63 * gnu/java/security/x509/X509CRL.java:
64 Missed import statements in previous checkin.
65
66 2004-11-07 Casey Marshall <csm@gnu.org>
67
68 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
69 to 'X509CertificateImpl' from previous checkin.
70
71 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
72
73 PR other/14264
74 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
75
76 2004-11-11 Casey Marshall <csm@gnu.org>
77
78 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
79 channel is open.
80 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
81 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
82
83 2004-11-11 Robert Schuster <thebohemian@gmx.net>
84
85 Fixed regression:
86 * gnu/java/beans/IntrospectionIncubator.java:
87 (addMethod): Corrected classification of normal and property methods.
88 (capitalize): Added documentation.
89 (DoubleKey): [class] Added documentation.
90
91 2004-11-09 Tom Tromey <tromey@redhat.com>
92
93 * include/jni.h: Added FIXME.
94
95 2004-11-08 Tom Tromey <tromey@redhat.com>
96
97 * java/util/GregorianCalendar.java: Removed unused imports.
98 * java/util/Vector.java: Removed unused import.
99
100 2004-11-07 Michael Koch <konqueror@gmx.de>
101
102 * java/lang/Process.java:
103 Import cleanups.
104
105 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
106
107 * java/util/zip/ZipEntry.java
108 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
109
110 2004-11-07 Robert Schuster <theBohemian@gmx.net>
111
112 Fixes bug #10908
113 * gnu/java/beans/IntrospectionIncubator.java:
114 (addMethod): static methods are discarded now, too.
115
116 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
117
118 * java/util/GregorianCalendar.java
119 Added/amended documentation.
120
121 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
122
123 * java/util/Collections.java
124 Added documentation.
125 * java/util/SortedMap.java
126 Clarified some method examples.
127 * java/util/SortedSet.java
128 Clarified some method examples.
129
130 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
131
132 * java/util/Currency.java
133 Documented variables and methods more fully.
134 Caches the currency instances, so that a request
135 for a locale, l, only ever returns the same
136 instance (i.e. successive calls to getInstance(l)
137 are reference equivalent (==)).
138
139 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
140
141 * java/util/Date.java
142 Added missing documentation.
143
144 2004-11-06 Michael Koch <konqueror@gmx.de>
145
146 * java/util/zip/CheckedInputStream.java,
147 java/util/zip/InflaterInputStream.java,
148 java/util/zip/ZipFile.java,
149 java/util/zip/ZipInputStream.java:
150 Import cleanups.
151
152 2004-11-06 Tom Tromey <tromey@redhat.com>
153
154 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
155 package-private.
156 (connections): Likewise.
157 (scavenger): Likewise.
158 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
159 package-private.
160 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
161 package-private.
162 (ptr): Likewise.
163 * gnu/classpath/ServiceFactory.java (log): Now package-private.
164
165 2004-11-06 Tom Tromey <tromey@redhat.com>
166
167 * javax/naming/directory/BasicAttributes.java (attributes): Now
168 package-private.
169 * javax/imageio/spi/ServiceRegistry.java (categories): Now
170 package-private.
171
172 2004-11-06 Tom Tromey <tromey@redhat.com>
173
174 * java/net/URLClassLoader.java (URLClassLoader): Now
175 package-private.
176 * java/nio/charset/CoderResult.java (CoderResult): Now
177 package-private.
178 (get): Likewise.
179 (Cache): Likewise. Don't synchronize on `this'.
180 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
181 package-private.
182 * java/util/TimeZone.java (timezones): Now package-private.
183
184 2004-11-06 Tom Tromey <tromey@redhat.com>
185
186 * java/security/Permissions.java (perms): Now package-private.
187 * java/security/UnresolvedPermission.java (permissions): Now
188 package-private.
189
190 2004-11-06 Tom Tromey <tromey@redhat.com>
191
192 * java/io/FilePermission.java: Reindented.
193
194 2004-11-06 Tom Tromey <tromey@redhat.com>
195
196 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
197 package-private.
198 (setBlockDataMode): Likewise.
199
200 2004-11-06 Tom Tromey <tromey@redhat.com>
201
202 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
203 package-private.
204 (Encoder): Likewise.
205 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
206 (Encoder): Likewise.
207 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
208 package-private.
209 (Encoder): Likewise.
210
211 2004-11-06 Mark Wielaard <mark@klomp.org>
212
213 * Makefile.am: Add new javax.imageio files.
214 * Makefile.in: Regenerated.
215
216 2004-11-06 Michael Koch <konqueror@gmx.de>
217
218 * javax/imageio/event/IIOReadProgressListener.java,
219 javax/imageio/event/IIOReadUpdateListener.java,
220 javax/imageio/event/IIOReadWarningListener.java,
221 javax/imageio/event/IIOWriteProgressListener.java,
222 javax/imageio/event/IIOWriteWarningListener.java,
223 javax/imageio/metadata/IIOMetadataFormat.java,
224 javax/imageio/stream/FileCacheImageInputStream.java,
225 javax/imageio/stream/FileCacheImageOutputStream.java,
226 javax/imageio/stream/ImageInputStreamImpl.java:
227 Import cleanup.
228 * javax/imageio/metadata/package.html: New file.
229
230 2004-11-06 Michael Koch <konqueror@gmx.de>
231
232 * javax/imageio/spi/ImageReaderSpi.java
233 (isOwnReader): New method.
234 * javax/imageio/spi/ImageWriterSpi.java
235 (isOwnWriter): Likewise.
236
237 2004-11-06 Michael Koch <konqueror@gmx.de>
238
239 * javax/imageio/ImageWriter.java
240 (convertImageMetadata): New abstract method.
241 (convertStreamMetadata): Likewise.
242 (write): Likewise.
243 * javax/imageio/stream/FileCacheImageInputStream.java
244 (close): Fixed setting of stream to null.
245 (checkStreamClosed): Throws IOException.
246
247 2004-11-06 Michael Koch <konqueror@gmx.de>
248
249 * javax/imageio/stream/FileCacheImageInputStream.java,
250 javax/imageio/stream/FileCacheImageOutputStream.java,
251 javax/imageio/stream/FileImageInputStream.java,
252 javax/imageio/stream/FileImageOutputStream.java,
253 javax/imageio/stream/MemoryCacheImageInputStream.java,
254 javax/imageio/stream/MemoryCacheImageOutputStream.java:
255 New files.
256
257 2004-11-06 Michael Koch <konqueror@gmx.de>
258
259 * javax/imageio/metadata/IIOInvalidTreeException.java,
260 javax/imageio/metadata/IIOMetadataFormatImpl.java,
261 javax/imageio/metadata/IIOMetadataNode.java:
262 New stub files.
263
264 2004-11-06 Michael Koch <konqueror@gmx.de>
265
266 * javax/imageio/stream/ImageInputStreamImpl.java,
267 javax/imageio/stream/ImageOutputStreamImpl.java:
268 New files.
269
270 2004-11-06 Michael Koch <konqueror@gmx.de>
271
272 * javax/imageio/ImageIO.java:
273 Added much new methods.
274
275 2004-11-06 Michael Koch <konqueror@gmx.de>
276
277 * javax/imageio/ImageReader.java,
278 javax/imageio/ImageWriter.java,
279 javax/imageio/spi/ImageWriterSpi.java:
280 Add SOME new methods.
281
282 2004-11-06 Michael Koch <konqueror@gmx.de>
283
284 * javax/imageio/IIOParam.java,
285 javax/imageio/ImageReadParam.java,
286 javax/imageio/ImageReader.java,
287 javax/imageio/ImageWriter.java:
288 Mostly implemented.
289 * javax/imageio/spi/ImageReaderSpi.java,
290 javax/imageio/spi/ImageWriterSpi.java:
291 New files.
292
293 2004-11-06 Michael Koch <konqueror@gmx.de>
294
295 * javax/imageio/ImageWriteParam.java,
296 javax/imageio/metadata/IIOMetadataFormat.java:
297 Implemented.
298
299 2004-11-06 Michael Koch <konqueror@gmx.de>
300
301 * javax/imageio/ImageTypeSpecifier.java:
302 Mostly implemented.
303
304 2004-11-06 Michael Koch <konqueror@gmx.de>
305
306 * javax/imageio/metadata/IIOMetadata.java:
307 Mostly implemented.
308
309 2004-11-06 Michael Koch <konqueror@gmx.de>
310
311 * javax/imageio/IIOImage.java,
312 javax/imageio/ImageReadParam.java,
313 javax/imageio/metadata/IIOMetadataController.java,
314 javax/imageio/metadata/IIOMetadataFormat.java:
315 New files.
316 * javax/imageio/stream/ImageOutputStream.java:
317 Implemented.
318
319 2004-11-06 Michael Koch <konqueror@gmx.de>
320
321 * javax/imageio/IIOParam.java,
322 javax/imageio/IIOParamController.java,
323 javax/imageio/ImageTypeSpecifier.java,
324 javax/imageio/ImageWriteParam.java,
325 javax/imageio/metadata/IIOMetadata.java:
326 New files.
327 * javax/imageio/ImageTranscoder.java:
328 Implemented.
329
330 2004-11-06 Michael Koch <konqueror@gmx.de>
331
332 * javax/imageio/spi/ImageInputStreamSpi.java,
333 javax/imageio/spi/ImageOutputStreamSpi.java:
334 Reworked import startments.
335 * javax/imageio/spi/ServiceRegistry.java:
336 Reworked import startments. Fixed XHTML in javadocs.
337 (ServiceRegistry): Added @param tag to javadoc.
338 * javax/imageio/stream/ImageInputStream.java
339 (mark): Doesn't throws IOException;
340
341 2004-11-06 Michael Koch <konqueror@gmx.de>
342
343 * javax/imageio/ImageIO.java:
344 New file.
345
346 2004-11-06 Michael Koch <konqueror@gmx.de>
347
348 * javax/imageio/spi/IIORegistry.java
349 (static): Don't register ImageReaderSpi.class and
350 ImageWriterSpi.class yet.
351
352 2004-11-06 Michael Koch <konqueror@gmx.de>
353
354 * javax/imageio/spi/IIORegistry.java:
355 New file.
356
357 2004-11-06 Noa Resare <noa@resare.com>
358
359 * java/net/Socket.java (getPort): Return 0 instead of -1 on
360 unconnected sockets.
361
362 2004-11-06 Michael Koch <konqueror@gmx.de>
363
364 * java/lang/StringBuffer.java,
365 java/lang/Throwable.java,
366 java/security/spec/DSAParameterSpec.java,
367 java/util/zip/ZipEntry.java,
368 java/util/zip/ZipFile.java,
369 java/util/zip/ZipInputStream.java,
370 java/util/zip/ZipOutputStream.java:
371 Removed redundant and reordered modifiers.
372
373 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
374
375 * java/io/Vector.java
376 (writeObject): New function to serialized output thread safe.
377
378 * java/io/ObjectOutputStream.java
379 (writeObject): Move the assignment of the class handle to after
380 the assignment of class descriptor handle.
381
382 2004-11-06 Robert Schuster <thebohemian@gmx.net>
383
384 Fixes documentation and indentation
385 * java/beans/PropertyEditorSupport.java:
386 reworked initial API doc
387 (value): changed name from val
388
389 2004-11-06 Robert Schuster <thebohemian@gmx.net>
390
391 Updates to 1.5
392 * java/beans/PropertyEditorSupport.java
393 (PropertyEditorSupport()): Changed modifier to public
394 (PropertyEditorSupport(Object): Changed modifier to public
395 (setSource): New method
396 (getSource): New method
397
398 2004-11-06 Robert Schuster <thebohemian@gmx.net>
399
400 Fixes bug #10799
401 * java/beans/PropertyEditorSupport.java
402 (setValue): Fire property change event
403
404 2004-11-03 Tom Tromey <tromey@redhat.com>
405
406 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
407 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
408 returns jobjectArray.
409 (_Jv_JNIEnv::NewObjectArray): Likewise.
410
411 2004-11-01 Tom Tromey <tromey@redhat.com>
412
413 * verify.cc (state::check_no_uninitialized_objects): Removed.
414 (push_jump): Updated.
415 (push_exception_jump): Likewise.
416 (handle_ret_insn): Likewise.
417 (handle_jsr_insn): Likewise.
418
419 2004-10-30 Mark Wielaard <mark@klomp.org>
420
421 PR libgcj/18234
422 * java/lang/Runtime.java (static): Call init().
423 (Runtime): Remove call to init().
424 (init): Make static.
425
426 2004-10-28 David Daney <ddaney@avtrex.com>
427
428 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
429 * Makefile.am: Build it.
430 * Makefile.in: Regenerate.
431
432 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
433
434 PR libgcj/18104
435 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
436 colon.
437 * Makefile.in: Regenerate.
438 * configure: Regenerate.
439 * configure.ac (CLASSPATH_SEPARATOR): Define.
440 * gcj/Makefile.in: Regenerate.
441 * include/Makefile.in: Regenerate.
442 * testsuite/Makefile.in: Regenerate.
443 * testsuite/lib/libjava.exp (libjava_arguments): Fix
444 CLASSPATH separator handling for Windows.
445
446 2004-10-26 Michael Koch <konqueror@gmx.de>
447
448 * gnu/java/net/protocol/http/Connection.java
449 (getOutputStream): Implicitely switch to POST method.
450
451 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
452
453 * libjava/java/lang/Class.h
454 (java::lang::Class): Correct friend class declaration.
455
456 2004-10-25 Geoffrey Keating <geoffk@apple.com>
457
458 * Makefile.am (DARWIN_CRT_SRC): New.
459 (libgcj_la_SOURCES): Use it.
460 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
461 * darwin.cc: New file.
462 * include/jvm.h (_Jv_RegisterClasses): Constify.
463 (_Jv_RegisterClasses_Counted): New prototype.
464 * java/lang/Class.h: Include stddef.h.
465 (_Jv_RegisterClasses): Constify.
466 (_Jv_RegisterClasses_Counted): New prototype.
467 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
468 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
469 (_Jv_RegisterClasses_Counted): New function.
470 * configure: Regenerate.
471 * Makefile.in: Regenerate.
472 * gcj/Makefile.in: Regenerate.
473 * include/Makefile.in: Regenerate.
474 * testsuite/Makefile.in: Regenerate.
475
476 2004-10-25 Tom Tromey <tromey@redhat.com>
477
478 * java/util/ResourceBundle.java (tryBundle): Use
479 Class.isAssignableFrom rather than catching ClassCastException.
480
481 2004-10-25 Tom Tromey <tromey@redhat.com>
482
483 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
484 initialize `iter'.
485 * gnu/java/text/SentenceBreakIterator.java
486 (SentenceBreakIterator): Don't initialize `iter'.
487 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
488 initialize `iter'.
489 * gnu/java/text/CharacterBreakIterator.java
490 (CharacterBreakIterator): Don't initialize `iter'.
491 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
492 constructor.
493 * java/text/BreakIterator.java: Updated documentation.
494
495 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
496
497 PR other/18138
498 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
499
500 2004-10-23 Michael Koch <konqueror@gmx.de>
501
502 * javax/print/DocFlavor.java,
503 javax/print/attribute/standard/JobStateReason.java,
504 javax/print/attribute/standard/MultipleDocumentHandling.java:
505 Added missing constants.
506
507 2004-10-22 Tom Tromey <tromey@redhat.com>
508
509 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
510 typo.
511
512 2004-10-22 Michael Koch <konqueror@gmx.de>
513
514 PR libjava/14009
515 * gnu/java/net/protocol/http/Connection.java
516 (sendRequest): Handle case when url.getFile() returns an empty string.
517
518 2004-10-22 Michael Koch <konqueror@gmx.de>
519
520 * java/lang/Math.java,
521 java/lang/StackTraceElement.java,
522 java/nio/Buffer.java,
523 java/nio/ByteBuffer.java,
524 java/nio/CharBuffer.java,
525 java/nio/DoubleBuffer.java,
526 java/nio/FloatBuffer.java,
527 java/nio/IntBuffer.java,
528 java/nio/LongBuffer.java,
529 java/nio/ShortBuffer.java,
530 java/nio/charset/Charset.java,
531 java/rmi/server/RMIClassLoader.java,
532 java/rmi/server/RMISocketFactory.java,
533 java/security/Policy.java,
534 java/text/ChoiceFormat.java,
535 java/text/CollationElementIterator.java,
536 java/text/DateFormat.java,
537 java/text/DecimalFormat.java,
538 java/text/DecimalFormatSymbols.java,
539 java/text/MessageFormat.java,
540 java/text/NumberFormat.java,
541 java/text/RuleBasedCollator.java,
542 java/text/SimpleDateFormat.java,
543 java/util/BitSet.java,
544 java/util/Calendar.java,
545 java/util/Collections.java,
546 java/util/IdentityHashMap.java,
547 java/util/Locale.java,
548 java/util/TreeMap.java,
549 java/util/logging/LogRecord.java,
550 java/util/logging/XMLFormatter.java,
551 java/util/prefs/AbstractPreferences.java,
552 java/util/prefs/Preferences.java,
553 javax/crypto/interfaces/DHPrivateKey.java,
554 javax/crypto/interfaces/DHPublicKey.java,
555 javax/crypto/interfaces/PBEKey.java,
556 javax/net/ssl/HandshakeCompletedEvent.java,
557 javax/security/auth/Subject.java:
558 Removed redundant and reordered modifiers.
559
560 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
561
562 * gnu/java/net/natPlainSocketImplPosix.cc
563 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
564 with 'int *' argument instead of 'long *'.
565
566 2004-10-21 Michael Koch <konqueror@gmx.de>
567
568 * java/net/NetworkInterface.java,
569 java/text/Format.java,
570 javax/security/auth/x500/X500Principal.java,
571 javax/security/auth/x500/X500PrivateCredential.java,
572 javax/security/cert/X509CertBridge.java,
573 javax/security/sasl/Sasl.java,
574 javax/sql/XAConnection.java:
575 Import cleanup.
576
577 2004-10-21 Michael Koch <konqueror@gmx.de>
578
579 * javax/net/ssl/HandshakeCompletedEvent.java,
580 javax/net/ssl/KeyManagerFactory.java,
581 javax/net/ssl/SSLContext.java,
582 javax/net/ssl/SSLServerSocketFactory.java,
583 javax/net/ssl/SSLSession.java,
584 javax/net/ssl/SSLSocketFactory.java,
585 javax/net/ssl/TrustManagerFactory.java:
586 Import cleanup.
587
588 2004-10-21 Michael Koch <konqueror@gmx.de>
589
590 * javax/naming/directory/BasicAttribute.java,
591 javax/naming/directory/BasicAttributes.java,
592 javax/naming/directory/InitialDirContext.java,
593 javax/naming/event/NamingEvent.java,
594 javax/naming/ldap/ControlFactory.java,
595 javax/naming/ldap/ExtendedRequest.java,
596 javax/naming/ldap/InitialLdapContext.java,
597 javax/naming/ldap/LdapReferralException.java,
598 javax/naming/spi/DirObjectFactory.java,
599 javax/naming/spi/DirStateFactory.java,
600 javax/naming/spi/DirectoryManager.java,
601 javax/naming/spi/InitialContextFactory.java,
602 javax/naming/spi/InitialContextFactoryBuilder.java,
603 javax/naming/spi/NamingManager.java,
604 javax/naming/spi/ObjectFactory.java,
605 javax/naming/spi/ObjectFactoryBuilder.java,
606 javax/naming/spi/StateFactory.java:
607 Import cleanup.
608
609 2004-10-21 Michael Koch <konqueror@gmx.de>
610
611 * javax/crypto/Cipher.java,
612 javax/crypto/EncryptedPrivateKeyInfo.java,
613 javax/crypto/ExemptionMechanism.java,
614 javax/crypto/KeyAgreement.java,
615 javax/crypto/KeyGenerator.java,
616 javax/crypto/Mac.java,
617 javax/crypto/SecretKeyFactory.java,
618 javax/crypto/SecretKeyFactorySpi.java,
619 javax/crypto/spec/SecretKeySpec.java:
620 Import cleanup.
621
622 2004-10-21 Michael Koch <konqueror@gmx.de>
623
624 * java/security/AlgorithmParameterGenerator.java,
625 java/security/AlgorithmParameters.java,
626 java/security/AlgorithmParametersSpi.java,
627 java/security/AllPermission.java,
628 java/security/BasicPermission.java,
629 java/security/Certificate.java,
630 java/security/CodeSource.java,
631 java/security/DigestInputStream.java,
632 java/security/DigestOutputStream.java,
633 java/security/GuardedObject.java,
634 java/security/KeyFactory.java,
635 java/security/KeyFactorySpi.java,
636 java/security/KeyPairGenerator.java,
637 java/security/KeyStore.java,
638 java/security/KeyStoreSpi.java,
639 java/security/Permissions.java,
640 java/security/Security.java,
641 java/security/Signature.java,
642 java/security/UnresolvedPermission.java,
643 java/security/cert/CertPathBuilder.java,
644 java/security/cert/CertPathValidator.java,
645 java/security/cert/CertStore.java,
646 java/security/cert/Certificate.java,
647 java/security/cert/CertificateFactory.java,
648 java/security/cert/PolicyQualifierInfo.java,
649 java/security/cert/TrustAnchor.java,
650 java/security/cert/X509CRL.java,
651 java/security/cert/X509CRLSelector.java,
652 java/security/cert/X509CertSelector.java:
653 Import cleanup.
654
655 2004-10-21 Michael Koch <konqueror@gmx.de>
656
657 * java/rmi/MarshalledObject.java,
658 java/rmi/Naming.java,
659 java/rmi/activation/Activatable.java,
660 java/rmi/activation/ActivationGroup.java,
661 java/rmi/activation/ActivationGroupDesc.java,
662 java/rmi/activation/ActivationInstantiator.java,
663 java/rmi/activation/ActivationMonitor.java,
664 java/rmi/activation/ActivationSystem.java,
665 java/rmi/activation/Activator.java,
666 java/rmi/registry/LocateRegistry.java,
667 java/rmi/registry/Registry.java,
668 java/rmi/server/LogStream.java,
669 java/rmi/server/ObjID.java,
670 java/rmi/server/RMIClientSocketFactory.java,
671 java/rmi/server/RMIServerSocketFactory.java,
672 java/rmi/server/RMISocketFactory.java,
673 java/rmi/server/RemoteCall.java,
674 java/rmi/server/RemoteServer.java,
675 java/rmi/server/ServerRef.java,
676 java/rmi/server/UID.java,
677 java/rmi/server/UnicastRemoteObject.java:
678 Import cleanup.
679
680 2004-10-21 Tom Tromey <tromey@redhat.com>
681
682 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
683 exception if we hit EOF of `in'.
684 (read): Handle case where inflating returns -1.
685
686 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
687
688 * gnu/java/nio/channels/natFileChannelPosix.cc
689 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
690 argument instead of 'long *'.
691
692 2004-10-21 Tom Tromey <tromey@redhat.com>
693
694 * java/util/ResourceBundle.java (tryBundle): Also ignore
695 ClassCastException.
696
697 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
698
699 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
700 for all sh*-*-linux* targets.
701 * configure: Regenerate.
702 * include/sh-signal.h: New file.
703
704 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
705
706 * java/lang/ieeefp.h: Add m32r support.
707
708 2004-10-20 Andreas Schwab <schwab@suse.de>
709
710 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
711 to uaddr, not int.
712 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
713 Likewise.
714
715 2004-10-20 Michael Koch <konqueror@gmx.de>
716
717 * javax/print/attribute/standard/ColorSupported.java,
718 javax/print/attribute/standard/Compression.java,
719 javax/print/attribute/standard/Copies.java,
720 javax/print/attribute/standard/CopiesSupported.java,
721 javax/print/attribute/standard/DateTimeAtCompleted.java,
722 javax/print/attribute/standard/DateTimeAtCreation.java,
723 javax/print/attribute/standard/DateTimeAtProcessing.java,
724 javax/print/attribute/standard/DocumentName.java,
725 javax/print/attribute/standard/Fidelity.java,
726 javax/print/attribute/standard/Finishings.java,
727 javax/print/attribute/standard/JobHoldUntil.java,
728 javax/print/attribute/standard/JobImpressions.java,
729 javax/print/attribute/standard/JobImpressionsCompleted.java,
730 javax/print/attribute/standard/JobImpressionsSupported.java,
731 javax/print/attribute/standard/JobKOctets.java,
732 javax/print/attribute/standard/JobKOctetsProcessed.java,
733 javax/print/attribute/standard/JobKOctetsSupported.java,
734 javax/print/attribute/standard/JobMediaSheets.java,
735 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
736 javax/print/attribute/standard/JobMediaSheetsSupported.java,
737 javax/print/attribute/standard/JobMessageFromOperator.java,
738 javax/print/attribute/standard/JobName.java,
739 javax/print/attribute/standard/JobOriginatingUserName.java,
740 javax/print/attribute/standard/JobPriority.java,
741 javax/print/attribute/standard/JobPrioritySupported.java,
742 javax/print/attribute/standard/JobSheets.java,
743 javax/print/attribute/standard/JobState.java,
744 javax/print/attribute/standard/JobStateReason.java,
745 javax/print/attribute/standard/JobStateReasons.java,
746 javax/print/attribute/standard/Media.java,
747 javax/print/attribute/standard/MultipleDocumentHandling.java,
748 javax/print/attribute/standard/NumberOfDocuments.java,
749 javax/print/attribute/standard/NumberOfInterveningJobs.java,
750 javax/print/attribute/standard/NumberUp.java,
751 javax/print/attribute/standard/NumberUpSupported.java,
752 javax/print/attribute/standard/OrientationRequested.java,
753 javax/print/attribute/standard/OutputDeviceAssigned.java,
754 javax/print/attribute/standard/PDLOverrideSupported.java,
755 javax/print/attribute/standard/PageRanges.java,
756 javax/print/attribute/standard/PagesPerMinute.java,
757 javax/print/attribute/standard/PagesPerMinuteColor.java,
758 javax/print/attribute/standard/PrintQuality.java,
759 javax/print/attribute/standard/PrinterInfo.java,
760 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
761 javax/print/attribute/standard/PrinterLocation.java,
762 javax/print/attribute/standard/PrinterMakeAndModel.java,
763 javax/print/attribute/standard/PrinterMessageFromOperator.java,
764 javax/print/attribute/standard/PrinterMoreInfo.java,
765 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
766 javax/print/attribute/standard/PrinterName.java,
767 javax/print/attribute/standard/PrinterStateReason.java,
768 javax/print/attribute/standard/PrinterStateReasons.java,
769 javax/print/attribute/standard/PrinterURI.java,
770 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
771 javax/print/attribute/standard/RequestingUserName.java:
772 Reorganized imports and removed redundant final modifiers.
773
774 2004-10-20 Michael Koch <konqueror@gmx.de>
775
776 * javax/security/sasl/SaslClient.java,
777 javax/security/sasl/SaslClientFactory.java,
778 javax/security/sasl/SaslException.java,
779 javax/security/sasl/SaslServer.java,
780 javax/security/sasl/SaslServerFactory.java:
781 Remvoed CVS tags.
782
783 2004-10-20 Michael Koch <konqueror@gmx.de>
784
785 * javax/security/auth/login/NullConfiguration.java,
786 javax/security/auth/x500/X500Principal.java,
787 javax/security/cert/X509Certificate.java,
788 javax/security/sasl/AuthenticationException.java,
789 javax/security/sasl/AuthorizeCallback.java,
790 javax/security/sasl/RealmCallback.java,
791 javax/security/sasl/RealmChoiceCallback.java,
792 javax/security/sasl/Sasl.java,
793 javax/security/sasl/SaslClient.java,
794 javax/security/sasl/SaslClientFactory.java,
795 javax/security/sasl/SaslException.java,
796 javax/security/sasl/SaslServer.java,
797 javax/security/sasl/SaslServerFactory.java:
798 Cleaned up import statements and copyright notices.
799
800 2004-10-20 Michael Koch <konqueror@gmx.de>
801
802 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
803
804 2004-10-20 Michael Koch <konqueror@gmx.de>
805
806 * java/sql/Timestamp.java,
807 java/text/AttributedCharacterIterator.java,
808 java/text/AttributedString.java,
809 java/util/zip/CheckedOutputStream.java,
810 java/util/zip/DeflaterOutputStream.java,
811 java/util/zip/ZipFile.java,
812 javax/crypto/Cipher.java,
813 javax/crypto/ExemptionMechanismException.java,
814 javax/crypto/SecretKey.java,
815 javax/crypto/SecretKeyFactory.java,
816 javax/naming/directory/ModificationItem.java,
817 javax/naming/directory/SearchControls.java,
818 javax/naming/event/NamingListener.java,
819 javax/naming/ldap/Control.java,
820 javax/naming/ldap/ExtendedResponse.java,
821 javax/net/ssl/SSLSocketFactory.java:
822 Reorganized imports and fixed copyright headers.
823
824 2004-10-20 Michael Koch <konqueror@gmx.de>
825
826 * java/util/logging/ConsoleHandler.java,
827 java/util/logging/ErrorManager.java,
828 java/util/logging/FileHandler.java,
829 java/util/logging/Filter.java,
830 java/util/logging/Formatter.java,
831 java/util/logging/Handler.java,
832 java/util/logging/Level.java,
833 java/util/logging/LogManager.java,
834 java/util/logging/LogRecord.java,
835 java/util/logging/Logger.java,
836 java/util/logging/LoggingPermission.java,
837 java/util/logging/MemoryHandler.java,
838 java/util/logging/SimpleFormatter.java,
839 java/util/logging/SocketHandler.java,
840 java/util/logging/StreamHandler.java,
841 java/util/logging/XMLFormatter.java:
842 Standardized copyrigth header.
843
844 2004-10-20 Michael Koch <konqueror@gmx.de>
845
846 * java/security/AlgorithmParameterGenerator.java,
847 java/security/AlgorithmParameters.java,
848 java/security/DigestInputStream.java,
849 java/security/Identity.java,
850 java/security/KeyFactory.java,
851 java/security/KeyPairGenerator.java,
852 java/security/KeyStore.java,
853 java/security/MessageDigest.java,
854 java/security/MessageDigestSpi.java,
855 java/security/Policy.java,
856 java/security/SecureRandom.java,
857 java/security/Security.java,
858 java/security/Signature.java,
859 java/security/SignatureSpi.java,
860 java/security/cert/CertPathBuilder.java,
861 java/security/cert/CertPathValidator.java,
862 java/security/cert/CertStore.java,
863 java/security/cert/Certificate.java,
864 java/security/cert/CertificateFactory.java,
865 java/security/cert/PolicyQualifierInfo.java,
866 java/security/cert/TrustAnchor.java,
867 java/security/cert/X509CRL.java,
868 java/security/cert/X509CRLEntry.java,
869 java/security/cert/X509Certificate.java,
870 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
871 Import statements reorganized, some little formatting issues,
872 used java-style array declarations, added comments in empty catch
873 blocks.
874
875 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
876
877 * java/security/Security.java
878 (static): Use AccessController.doPrivileged to get system property.
879
880 2004-10-18 Sven de Marothy <sven@physto.se>
881
882 * java/nio/ByteBufferHelper.java
883 (putDouble): Use Double.toRawLongBits instead.
884
885 2004-10-18 Mark Wielaard <mark@klomp.org>
886 Andrew Haley <aph@redhat.com>
887
888 * testsuite/libjava.lang/ExtraClassLoader.java: New.
889
890 2004-10-18 Andrew Haley <aph@redhat.com>
891
892 PR java/18036:
893 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
894 and correct logic used to find interpreter.
895
896 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
897
898 * java/util/logging/LogManager.java
899 (findAncestor): Fixed IndexOutOfBoundsException.
900
901 2004-10-18 Michael Koch <konqueror@gmx.de>
902
903 * java/io/BufferedInputStream.java: Fixed @author tag.
904 (read): Simplified expression.
905 (read): Merged javadoc a bit more.
906 (read): Renamed 'remain' to 'totalBytesRead'.
907 * java/io/DataInputStream.java,
908 java/io/DataOutputStream.java,
909 java/io/ObjectInputStream.java,
910 java/io/ObjectOutputStream.java:
911 Reworked modifier order.
912
913 2004-10-18 Michael Koch <konqueror@gmx.de>
914
915 * java/net/Inet4Address.java: Merged file header and javadocs.
916 * java/net/Inet6Address.java: Likewise.
917 * java/net/InetAddress.java
918 (getCanonicalHostName): Create Inet4Address object instead of
919 InetAddress and add comment regarding IPv6.
920 (toString): Simplified.
921
922 2004-10-18 Michael Koch <konqueror@gmx.de>
923
924 * gnu/java/net/protocol/http/Connection.java,
925 java/nio/MappedByteBufferImpl.java,
926 java/text/RuleBasedCollator.java,
927 java/util/ResourceBundle.java:
928 Reworked import statements.
929
930 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
931
932 * java/security/IdentityScope.java
933 (systemScope): Removed useless initializer.
934 * java/security/Policy.java
935 (currentPolicy): Likewise.
936
937 2004-10-18 Michael Koch <konqueror@gmx.de>
938
939 * java/lang/System.java: Revert accidential change.
940
941 2004-10-18 Michael Koch <konqueror@gmx.de>
942
943 * java/lang/Math.java,
944 java/lang/Package.java,
945 java/lang/Runtime.java,
946 java/lang/StrictMath.java,
947 java/lang/System.java,
948 java/lang/Thread.java,
949 java/lang/ThreadLocal.java,
950 java/lang/Void.java:
951 Reworked import statements, HTML in javadocs and modifier orders.
952
953 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
954
955 * java/util/Timer.java
956 (nr): Removed useless initializer.
957 * java/util/logging/LogRecord.java
958 (lastSeqNum): Likewise.
959 * javax/naming/spi/NamingManager.java
960 (icfb, ofb): Likewise.
961
962 2004-10-18 Michael Koch <konqueror@gmx.de>
963
964 * gnu/java/net/PlainDatagramSocketImpl.java:
965 Reworked import statements.
966 * gnu/java/security/provider/DSAParameters.java:
967 Fixed copyrigth years.
968 * java/net/JarURLConnection.java:
969 Fixed HTML in @author tags.
970
971
972 2004-10-18 Michael Koch <konqueror@gmx.de>
973
974 * java/rmi/activation/ActivationSystem.java
975 (SYSTEM_PORT): Initialize with correct port number.
976
977 2004-10-18 Michael Koch <konqueror@gmx.de>
978
979 * java/lang/reflect/Proxy.java: Improved javadocs.
980
981 2004-10-18 Michael Koch <konqueror@gmx.de>
982
983 * java/lang/reflect/AccessibleObject.java
984 (checkPermission): Removed redundant final modifier.
985 (secureSetAccessible): Likewise.
986 * java/lang/reflect/Proxy.java:
987 Reworked import statements.
988 (generate): Removed redundant final modifier.
989 * java/lang/reflect/ReflectPermission.java:
990 Reorder package declaration and import statement.
991
992 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
993
994 * java/lang/reflect/Proxy.java
995 (count): Removed useless initializer.
996
997 2004-10-17 Michael Koch <konqueror@gmx.de>
998
999 * java/net/BindException.java,
1000 java/net/ConnectException.java,
1001 java/net/ContentHandler.java,
1002 java/net/ContentHandlerFactory.java,
1003 java/net/DatagramPacket.java,
1004 java/net/DatagramSocket.java,
1005 java/net/DatagramSocketImpl.java,
1006 java/net/DatagramSocketImplFactory.java,
1007 java/net/FileNameMap.java,
1008 java/net/HttpURLConnection.java,
1009 java/net/MalformedURLException.java,
1010 java/net/MulticastSocket.java,
1011 java/net/NetworkInterface.java,
1012 java/net/NoRouteToHostException.java,
1013 java/net/PasswordAuthentication.java,
1014 java/net/PortUnreachableException.java,
1015 java/net/ProtocolException.java,
1016 java/net/ServerSocket.java,
1017 java/net/Socket.java,
1018 java/net/SocketException.java,
1019 java/net/SocketImpl.java,
1020 java/net/SocketImplFactory.java,
1021 java/net/SocketOptions.java,
1022 java/net/SocketPermission.java,
1023 java/net/SocketTimeoutException.java,
1024 java/net/URI.java,
1025 java/net/URISyntaxException.java,
1026 java/net/URL.java,
1027 java/net/URLDecoder.java,
1028 java/net/URLEncoder.java,
1029 java/net/URLStreamHandler.java,
1030 java/net/URLStreamHandlerFactory.java,
1031 java/net/UnknownHostException.java,
1032 java/net/UnknownServiceException.java:
1033 Big import statement and @author tag cleanup.
1034
1035 2004-10-17 Michael Koch <konqueror@gmx.de>
1036
1037 * gnu/java/security/OID.java,
1038 gnu/java/security/provider/DSAParameters.java,
1039 gnu/java/security/provider/DSASignature.java,
1040 gnu/java/security/x509/X500DistinguishedName.java,
1041 gnu/java/security/x509/X509CRL.java:
1042 Import statements cleaned up.
1043
1044 2004-10-16 Michael Koch <konqueror@gmx.de>
1045
1046 * gnu/java/nio/NIODatagramSocket.java,
1047 gnu/java/nio/ServerSocketChannelImpl.java:
1048 Reorganized import statements.
1049
1050 2004-10-16 Michael Koch <konqueror@gmx.de>
1051
1052 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1053 gnu/java/rmi/rmic/RMIC.java,
1054 gnu/java/rmi/server/RMIHashes.java,
1055 gnu/java/rmi/server/RMIObjectInputStream.java,
1056 gnu/java/rmi/server/RMIObjectOutputStream.java,
1057 gnu/java/rmi/server/UnicastConnection.java,
1058 gnu/java/rmi/server/UnicastConnectionManager.java,
1059 gnu/java/rmi/server/UnicastRemoteCall.java,
1060 gnu/java/rmi/server/UnicastServer.java,
1061 gnu/java/rmi/server/UnicastServerRef.java,
1062 java/rmi/MarshalledObject.java,
1063 java/rmi/Naming.java,
1064 java/rmi/RMISecurityManager.java,
1065 java/rmi/Remote.java,
1066 java/rmi/activation/Activatable.java,
1067 java/rmi/activation/ActivationDesc.java,
1068 java/rmi/activation/ActivationGroup.java,
1069 java/rmi/activation/ActivationGroupDesc.java,
1070 java/rmi/activation/ActivationGroupID.java,
1071 java/rmi/activation/ActivationID.java,
1072 java/rmi/activation/ActivationInstantiator.java,
1073 java/rmi/activation/ActivationMonitor.java,
1074 java/rmi/activation/ActivationSystem.java,
1075 java/rmi/activation/Activator.java,
1076 java/rmi/dgc/DGC.java,
1077 java/rmi/dgc/Lease.java,
1078 java/rmi/dgc/VMID.java,
1079 java/rmi/registry/LocateRegistry.java,
1080 java/rmi/registry/Registry.java,
1081 java/rmi/registry/RegistryHandler.java,
1082 java/rmi/server/LoaderHandler.java,
1083 java/rmi/server/LogStream.java,
1084 java/rmi/server/ObjID.java,
1085 java/rmi/server/Operation.java,
1086 java/rmi/server/RMIClassLoader.java,
1087 java/rmi/server/RMIClassLoaderSpi.java,
1088 java/rmi/server/RMIClientSocketFactory.java,
1089 java/rmi/server/RMIFailureHandler.java,
1090 java/rmi/server/RMIServerSocketFactory.java,
1091 java/rmi/server/RMISocketFactory.java,
1092 java/rmi/server/RemoteCall.java,
1093 java/rmi/server/RemoteObject.java,
1094 java/rmi/server/RemoteRef.java,
1095 java/rmi/server/RemoteServer.java,
1096 java/rmi/server/RemoteStub.java,
1097 java/rmi/server/ServerRef.java,
1098 java/rmi/server/Skeleton.java,
1099 java/rmi/server/SkeletonMismatchException.java,
1100 java/rmi/server/UID.java,
1101 java/rmi/server/UnicastRemoteObject.java,
1102 java/rmi/server/Unreferenced.java:
1103 File headers and import statements cleaned up.
1104
1105 2004-10-16 Michael Koch <konqueror@gmx.de>
1106
1107 * libjava/gnu/java/nio/charset/UTF_16.java,
1108 libjava/gnu/java/nio/charset/UTF_16BE.java,
1109 libjava/gnu/java/nio/charset/UTF_16LE.java,
1110 libjava/java/nio/ByteOrder.java,
1111 libjava/java/nio/MappedByteBuffer.java,
1112 libjava/java/nio/channels/Channels.java,
1113 libjava/java/nio/channels/spi/SelectorProvider.java,
1114 libjava/java/nio/charset/Charset.java:
1115 Cleanup.
1116
1117 2004-10-16 Michael Koch <konqueror@gmx.de>
1118
1119 * gnu/java/nio/charset/UTF_16Encoder.java
1120 (UTF_16Encoder): Fixed maxBytesPerChar handling.
1121
1122 2004-10-16 Michael Koch <konqueror@gmx.de>
1123
1124 * java/math/BigDecimal.java, java/math/BigInteger.java:
1125 Reorganized import statements, removed redundant and
1126 reorganized modifiers.
1127
1128 2004-10-16 Michael Koch <konqueror@gmx.de>
1129
1130 * gnu/java/beans/ExplicitBeanInfo.java:
1131 Explicitely import java.awt.Image.
1132 (getIcon): Fixed off-by-one error.
1133
1134 2004-10-15 Andrew Haley <aph@redhat.com>
1135
1136 * Makefile.am (nat_files, xlib_nat_files): New.
1137 * Makefile.in: Regenerate.
1138
1139 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
1140
1141 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1142 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1143
1144 2004-10-13 Andrew Haley <aph@redhat.com>
1145
1146 * interpret.cc (_Jv_InterpMethod::run): Initialize
1147 _Jv_StartOfInterpreter.
1148 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1149 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1150 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1151 _Unwind_FindEnclosingFunction to discover whether PC is within the
1152 interpreter.
1153
1154 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
1155
1156 PR libgcj/17903:
1157 * testsuite/libjava.lang/md5test.java: New file.
1158 * testsuite/libjava.lang/md5test.out: Likewise.
1159 * testsuite/libjava.lang/shatest.java: Likewise.
1160 * testsuite/libjava.lang/shatest.out: Likewise.
1161
1162 2004-10-11 Richard Henderson <rth@redhat.com>
1163
1164 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1165 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1166
1167 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
1168
1169 * java/util/Calendar.java (set): Invalidate DST_OFFSET
1170 field as a DST boundary may have been crossed.
1171 * java/util/GregorianCalendar.java (add): Throw
1172 IllegalArgumentException on attempt to add to DST_OFFSET or
1173 ZONE_OFFSET fields. Update javadoc.
1174
1175 2004-10-09 Michael Koch <konqueror@gmx.de>
1176
1177 * java/io/CharArrayWriter.java
1178 (resize): Removed redundant 'final' modifier.
1179 * java/io/DataInputStream.java
1180 (readFully): Throw IndexOutOfBoundsException of len < 0.
1181 * java/io/FileDescriptor.java,
1182 java/io/FileInputStream.java,
1183 java/io/FileOutputStream.java,
1184 java/io/ObjectOutputStream.java,
1185 java/io/ObjectStreamClass.java,
1186 java/io/PipedInputStream.java,
1187 java/io/RandomAccessFile.java:
1188 Reorganized import statements.
1189
1190 2004-10-09 Michael Koch <konqueror@gmx.de>
1191
1192 * gnu/java/rmi/rmic/RMIC.java,
1193 gnu/java/rmi/server/RMIHashes.java,
1194 gnu/java/rmi/server/RMIObjectInputStream.java,
1195 gnu/java/rmi/server/UnicastConnection.java,
1196 gnu/java/rmi/server/UnicastConnectionManager.java,
1197 gnu/java/rmi/server/UnicastRemoteCall.java,
1198 gnu/java/rmi/server/UnicastServerRef.java:
1199 Reworked import statements and fixed file headers.
1200
1201 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1202
1203 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1204 emission rule.
1205 * configure: Rebuilt.
1206
1207 2004-09-30 Tom Tromey <tromey@redhat.com>
1208
1209 * java/text/MessageFormat.java (Field): Constructor now
1210 protected.
1211
1212 2004-09-30 Tom Tromey <tromey@redhat.com>
1213
1214 * javax/crypto/MacSpi.java: Fixed typo.
1215
1216 2004-09-30 Michael Koch <konqueror@gmx.de>
1217
1218 * java/net/InetAddress.java: Reformatted.
1219 (loopback): Initialize with Inet4Address object.
1220 (static): Initialize ANY_IF with Inet4Address object.
1221 (InetAddress): Removed unused package-private constructor.
1222
1223 2004-09-30 Michael Koch <konqueror@gmx.de>
1224
1225 * java/beans/Beans.java,
1226 java/beans/EventHandler.java,
1227 java/beans/EventSetDescriptor.java,
1228 java/beans/Introspector.java,
1229 java/beans/PropertyEditorManager.java,
1230 java/beans/beancontext/BeanContext.java,
1231 java/beans/beancontext/BeanContextChild.java,
1232 java/beans/beancontext/BeanContextChildSupport.java,
1233 java/beans/beancontext/BeanContextMembershipEvent.java:
1234 Reordered import statements and removed redundant modifiers.
1235
1236 2004-09-29 Tom Tromey <tromey@redhat.com>
1237
1238 PR libgcj/17715:
1239 * Makefile.in: Rebuilt.
1240 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1241 files.
1242 (all_property_files): New macro.
1243
1244 * Makefile.in: Rebuilt.
1245 * Makefile.am (ordinary_java_source_files): Re-sorted.
1246 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1247
1248 2004-09-28 Tom Tromey <tromey@redhat.com>
1249
1250 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1251
1252 PR libgcj/17222:
1253 * Makefile.am (libgcj.la): Restored.
1254 * Makefile.in: Rebuilt.
1255
1256 2004-09-28 Michael Koch <konqueror@gmx.de>
1257
1258 * java/net/URLConnection.java: Reformatted.
1259 * java/net/URLClassLoader.java: Reformatted.
1260 (getContent): Reordered return of content.
1261 (getContentHandler): Don't check for null explicitely.
1262
1263 2004-09-27 Michael Koch <konqueror@gmx.de>
1264
1265 * java/io/BufferedInputStream.java
1266 (BufferedInputStream): Added Jeroen Frijters to authors.
1267 (count): Don't explicitely initialize with default value.
1268 (pos): Likewise.
1269 (marklimit): Likewise.
1270 (read): Changed boolean expression to match GNU classpath' version.
1271 (reset): Add proper message to exception.
1272 (skip): Check for closed stream.
1273 (refill): Likewise.
1274
1275 2004-09-26 Per Bothner <per@bothner.com>
1276
1277 * prims.cc (unblock_signal): Annotate signum with __unused__ to
1278 avoid warnings in the non-POSIX_VERSION case.
1279 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1280 so place it inside an #if block.
1281 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1282 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
1283 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
1284 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
1285
1286 2004-09-26 Per Bothner <per@bothner.com>
1287
1288 * prims.cc (process_gcj_properties): Optimization.
1289
1290 2004-09-26 Per Bothner <per@bothner.com>
1291
1292 * java/util/Collections.java (sort): Copy from array in forwards
1293 order, rather than reverse order which may be much less efficient.
1294
1295 2004-09-26 Mark Wielaard <mark@klomp.org>
1296
1297 * java/lang/System.java (properties): Make package private.
1298 * java/lang/Throwable.java (StaticData.nl): Initialize through
1299 directly accessing System.properties.getProperty().
1300
1301 * java/lang/Throwable.java (nl): Remove static field.
1302 (StaticData): New private static inner class.
1303 (stackTraceStringBuffer): Use StaticData.nl.
1304
1305 2004-09-26 Casey Marshall <csm@gnu.org>
1306
1307 * java/security/ProtectionDomain.java
1308 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1309 `true'.
1310
1311 * java/security/SecureClassLoader.java
1312 (defineClass): make protection domain dynamically bound.
1313 (getPermissions): call `getCurrentPolicy' to avoid permission
1314 check.
1315
1316 2004-09-25 Mark Wielaard <mark@klomp.org>
1317
1318 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1319 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1320 * Makefile.in: Regenerated.
1321
1322 * gcj/javaprims.h: Regenerated.
1323
1324 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1325 (getDefaultTimeZone): Make package private. Check that GMToffset
1326 contains at least one digit.
1327 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1328 VMTimeZone.
1329 * util/VMTimeZone.java: New file with above methods.
1330
1331 * java/util/natTimeZone.cc: Removed (renamed).
1332 * java/util/natVMTimeZone.cc: Added (renamed).
1333
1334 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1335
1336 * java/util/TimeZone.java
1337 (getDefaultTimeZone): Fixed test to distinguish between hours and
1338 minutes in specified timezone.
1339
1340 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1341
1342 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1343 handling of default package. (generate): Removed confused comments
1344 and code about making Method and Field accessible.
1345
1346 2004-09-25 Tom Tromey <tromey@redhat.com>
1347
1348 PR java/17500:
1349 * testsuite/libjava.compile/pr17500.java: New file.
1350
1351 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
1352 Mark Wielaard <mark@klomp.org>
1353
1354 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1355 * gnu/regexp/RETokenLookAhead.java: New file.
1356
1357 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1358 * Makefile.in: Regenerated.
1359
1360 2004-09-25 Michael Koch <konqueror@gmx.de>
1361
1362 * java/io/ObjectStreamField.java:
1363 Removed unused import statement.
1364
1365 2004-09-24 Tom Tromey <tromey@redhat.com>
1366
1367 PR java/15656:
1368 * testsuite/libjava.compile/pr15656.xfail: New file.
1369 * testsuite/libjava.compile/pr15656.java: new file.
1370
1371 PR java/16789:
1372 * testsuite/libjava.lang/pr16789.out: New file.
1373 * testsuite/libjava.lang/pr16789.java: New file.
1374
1375 2004-09-24 Andrew Haley <aph@redhat.com>
1376
1377 PR java/16927
1378 * testsuite/libjava.compile/AssertBug.java: New file.
1379
1380 2004-09-24 Casey Marshall <csm@gnu.org>
1381
1382 * java/util/PropertyPermissionCollection.java
1383 (implies): avoid infinite loop.
1384
1385 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1386
1387 * javax/security/auth/PrivateCredentialPermission.java
1388 (PrivateCredentialPermission): added serialization UID
1389
1390
1391 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
1392
1393 * gnu/java/rmi/server/UnicastServer.java
1394 (incomingMessageCall): Added code to handle Errors.
1395 * gnu/java/rmi/server/UnicastServerRef.java
1396 (incomingMessageCall): Added code to handle Errors.
1397
1398
1399 2004-09-24 Tom Tromey <tromey@redhat.com>
1400
1401 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1402 (definedPackages): Likewise.
1403
1404 2004-09-24 Michael Koch <konqueror@gmx.de>
1405
1406 * java/io/ObjectInputStream.java:
1407 Re-ordered imports.
1408
1409 2004-09-24 Casey Marshall <csm@gnu.org>
1410
1411 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1412 `ClassNotFoundException'.
1413
1414 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1415
1416 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1417 of Externalizable classes to ObjectStreamClass.
1418 * java/io/ObjectStreamClass.java (newInstance): New method to
1419 instantiate Externalizable (while ignoring the accessibility of
1420 the constructor). (constructor): New field to cache the constructor.
1421
1422 2004-09-24 Mark Wielaard <mark@klomp.org>
1423
1424 * java/net/URL.java (systemClassLoader): New static field.
1425 (getURLStreamHandler): Always use system/application classloader
1426 for finding URLStreamhandler. Remove unecessary instanceof checks.
1427
1428 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1429
1430 * java/net/URL.java
1431 (set): This method now matches the behaviour of the JDK.
1432 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1433
1434 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1435
1436 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1437
1438 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1439
1440 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1441 Don't set authority if host isn't specified.
1442
1443 2004-09-24 Michael Koch <konqueror@gmx.de>
1444
1445 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1446 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1447 * gnu/java/nio/VMPipe.java,
1448 gnu/java/nio/VMSelector.java:
1449 New files.
1450 * gnu/java/nio/natPipeImplEcos.cc,
1451 gnu/java/nio/natPipeImplPosix.cc,
1452 gnu/java/nio/natPipeImplWin32.cc:
1453 Ported to VMPipe.
1454 * gnu/java/nio/natSelectorImplEcos.cc,
1455 gnu/java/nio/natSelectorImplPosix.cc,
1456 gnu/java/nio/natSelectorImplWin32.cc:
1457 Ported to VMSelector.
1458 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1459 gnu/java/nio/VMSelector.java.
1460 * Makefile.in: Regenerated.
1461
1462 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1463
1464 * java/lang/StackTraceElement.java
1465 (className): Renamed field to declaringClass to be compatible
1466 with Sun serialization format.
1467
1468 2004-09-23 Michael Koch <konqueror@gmx.de>
1469
1470 * java/applet/AppletContext.java,
1471 java/applet/Applet.java,
1472 java/applet/AppletStub.java,
1473 java/applet/AudioClip.java:
1474 Jalopied and checkstyle clean.
1475
1476 2004-09-23 Mark Wielaard <mark@klomp.org>
1477
1478 * java/util/Collections.java
1479 (binarySearch(List, Object, Comparator)): Explicitly
1480 reverse direction in list iterator.
1481 (rotate): Just return when list is empty.
1482
1483 2004-09-23 Tom Tromey <tromey@redhat.com>
1484
1485 PR java/17329:
1486 * testsuite/libjava.compile/pr17329.java: New file.
1487
1488 PR java/17380:
1489 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1490 9.2-implicit-7.
1491
1492 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1493
1494 * Makefile.am: Run aclocal with -I ../config
1495 * acinclude.m4: Delete macros picked up from ../config and tidy.
1496 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1497 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1498 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1499
1500 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1501
1502 * aclocal.m4: Regenerate with aclocal 1.9.2.
1503 * configure: Regenerate.
1504 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1505 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1506
1507 2004-09-22 David Daney <ddaney@avtrex.com>
1508
1509 PR libgcj/17623
1510 * java/net/URL.java (URL): Copy userInfo from context.
1511 (getUserInfo): Return cached userInfo if present.
1512
1513 2004-09-22 Tom Tromey <tromey@redhat.com>
1514
1515 PR libgcj/6182:
1516 * mauve-libgcj: Enable java.lang.Character tests.
1517
1518 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1519
1520 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1521 dependencies.
1522 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1523 * Makefile.in: Regenerated.
1524
1525 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1526
1527 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1528 * configure: Regenerate.
1529 * include/config.h.in: Likewise.
1530 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1532 macro to gtkpeer.h.
1533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1534 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1535 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1536 architectures.
1537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1538 Likewise.
1539
1540 2004-09-22 Tom Tromey <tromey@redhat.com>
1541
1542 PR libgcj/14446:
1543 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1544 when comparing CRCs.
1545 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1546 field.
1547 (read()): New overload.
1548
1549 2004-09-21 Tom Tromey <tromey@redhat.com>
1550
1551 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1552 Indentation fix.
1553
1554 2004-09-21 Michael Koch <konqueror@gmx.de>
1555
1556 * java/net/Socket.java
1557 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1558
1559 2004-09-21 Casey Marshall <csm@gnu.org>
1560
1561 * javax/crypto/MacSpi.java (clone): Provide meaningful
1562 implementation.
1563
1564 2004-09-21 Tom Tromey <tromey@redhat.com>
1565
1566 PR libgcj/16869:
1567 * Makefile.in: Rebuilt.
1568 * Makefile.am (MOSTLYCLEANFILES): Removed.
1569 (mostlyclean-local): Remove header files.
1570
1571 2004-09-21 Casey Marshall <csm@gnu.org>
1572
1573 * java/security/cert/X509CRLSelector.java:
1574 (match): remove unreachable try-catch clauses.
1575 Reported by: Dalibor Topic <robilad@kaffe.org>
1576
1577 2004-09-21 Mark Wielaard <mark@klomp.org>
1578
1579 * java/util/TreeMap.java (root): Don't initialize.
1580 (TreeMap(Comparator)): Call fabricateTree(0).
1581 (fabricateTree): Initialize root and size when count is 0.
1582
1583 2004-09-21 Sven de Marothy <sven@physto.se>
1584
1585 * java/nio/ByteBuffer.java (hashCode): Implemented.
1586 * java/nio/CharBuffer.java: Likewise.
1587 * java/nio/DoubleBuffer.java: Likewise.
1588 * java/nio/FloatBuffer.java: Likewise.
1589 * java/nio/LongBuffer.java: Likewise.
1590 * java/nio/IntBuffer.java: Likewise.
1591 * java/nio/ShortBuffer.java: Likewise.
1592
1593 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1594
1595 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1596
1597 2004-09-21 Michael Koch <konqueror@gmx.de>
1598
1599 * javax/net/ssl/SSLServerSocket.java:
1600 Removed comment about "Do not edit this file, it's generated.".
1601
1602 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1603
1604 Import the big Crypto/Jessie/Security merge from Classpath.
1605
1606 * Makefile.am: Add imported files.
1607 * Makefile.in: Regenerate.
1608
1609 2004-08-14 Casey Marshall <csm@gnu.org>
1610
1611 The Big Crypto Merge of 2004.
1612
1613 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1614 Crypto's version.
1615
1616 Files imported from GNU Crypto.
1617 * javax/crypto/BadPaddingException.java
1618 * javax/crypto/Cipher.java
1619 * javax/crypto/CipherInputStream.java
1620 * javax/crypto/CipherOutputStream.java
1621 * javax/crypto/CipherSpi.java
1622 * javax/crypto/EncryptedPrivateKeyInfo.java
1623 * javax/crypto/ExemptionMechanism.java
1624 * javax/crypto/ExemptionMechanismException.java
1625 * javax/crypto/ExemptionMechanismSpi.java
1626 * javax/crypto/IllegalBlockSizeException.java
1627 * javax/crypto/KeyAgreement.java
1628 * javax/crypto/KeyAgreementSpi.java
1629 * javax/crypto/KeyGenerator.java
1630 * javax/crypto/KeyGeneratorSpi.java
1631 * javax/crypto/Mac.java
1632 * javax/crypto/MacSpi.java
1633 * javax/crypto/Makefile.am
1634 * javax/crypto/NoSuchPaddingException.java
1635 * javax/crypto/NullCipher.java
1636 * javax/crypto/NullCipherImpl.java
1637 * javax/crypto/SealedObject.java
1638 * javax/crypto/SecretKey.java
1639 * javax/crypto/SecretKeyFactory.java
1640 * javax/crypto/SecretKeyFactorySpi.java
1641 * javax/crypto/ShortBufferException.java
1642 * javax/crypto/interfaces/DHKey.java
1643 * javax/crypto/interfaces/DHPrivateKey.java
1644 * javax/crypto/interfaces/DHPublicKey.java
1645 * javax/crypto/interfaces/PBEKey.java
1646 * javax/crypto/spec/DESKeySpec.java
1647 * javax/crypto/spec/DESedeKeySpec.java
1648 * javax/crypto/spec/DHGenParameterSpec.java
1649 * javax/crypto/spec/DHParameterSpec.java
1650 * javax/crypto/spec/DHPrivateKeySpec.java
1651 * javax/crypto/spec/DHPublicKeySpec.java
1652 * javax/crypto/spec/IvParameterSpec.java
1653 * javax/crypto/spec/PBEKeySpec.java
1654 * javax/crypto/spec/PBEParameterSpec.java
1655 * javax/crypto/spec/RC2ParameterSpec.java
1656 * javax/crypto/spec/RC5ParameterSpec.java
1657 * javax/crypto/spec/SecretKeySpec.java
1658 * javax/security/auth/AuthPermission.java
1659 * javax/security/auth/DestroyFailedException.java
1660 * javax/security/auth/Destroyable.java
1661 * javax/security/auth/Policy.java
1662 * javax/security/auth/PrivateCredentialPermission.java
1663 * javax/security/auth/RefreshFailedException.java
1664 * javax/security/auth/Refreshable.java
1665 * javax/security/auth/Subject.java
1666 * javax/security/auth/SubjectDomainCombiner.java
1667 * javax/security/auth/callback/Callback.java
1668 * javax/security/auth/callback/CallbackHandler.java
1669 * javax/security/auth/callback/ChoiceCallback.java
1670 * javax/security/auth/callback/ConfirmationCallback.java
1671 * javax/security/auth/callback/LanguageCallback.java
1672 * javax/security/auth/callback/NameCallback.java
1673 * javax/security/auth/callback/PasswordCallback.java
1674 * javax/security/auth/callback/TextInputCallback.java
1675 * javax/security/auth/callback/TextOutputCallback.java
1676 * javax/security/auth/callback/UnsupportedCallbackException.java
1677 * javax/security/auth/login/AccountExpiredException.java
1678 * javax/security/auth/login/AppConfigurationEntry.java
1679 * javax/security/auth/login/Configuration.java
1680 * javax/security/auth/login/CredentialExpiredException.java
1681 * javax/security/auth/login/FailedLoginException.java
1682 * javax/security/auth/login/LoginContext.java
1683 * javax/security/auth/login/LoginException.java
1684 * javax/security/auth/login/NullConfiguration.java
1685 * javax/security/auth/x500/X500PrivateCredential.java
1686 * javax/security/sasl/AuthenticationException.java
1687 * javax/security/sasl/AuthorizeCallback.java
1688 * javax/security/sasl/RealmCallback.java
1689 * javax/security/sasl/RealmChoiceCallback.java
1690 * javax/security/sasl/Sasl.java
1691 * javax/security/sasl/SaslClient.java
1692 * javax/security/sasl/SaslClientFactory.java
1693 * javax/security/sasl/SaslException.java
1694 * javax/security/sasl/SaslServer.java
1695 * javax/security/sasl/SaslServerFactory.java
1696 * org/ietf/jgss/ChannelBinding.java
1697 * org/ietf/jgss/GSSContext.java
1698 * org/ietf/jgss/GSSCredential.java
1699 * org/ietf/jgss/GSSException.java
1700 * org/ietf/jgss/GSSManager.java
1701 * org/ietf/jgss/GSSName.java
1702 * org/ietf/jgss/MessageProp.java
1703 * org/ietf/jgss/Oid.java
1704 * org/ietf/jgss/MessagesBundle.properties
1705
1706 Files imported from Jessie <http://www.nongnu.org/jessie/>
1707 * javax/net/ServerSocketFactory.java
1708 * javax/net/SocketFactory.java
1709 * javax/net/VanillaServerSocketFactory.java
1710 * javax/net/VanillaSocketFactory.java
1711 * javax/net/ssl/HandshakeCompletedEvent.java
1712 * javax/net/ssl/HandshakeCompletedListener.java
1713 * javax/net/ssl/HostnameVerifier.java
1714 * javax/net/ssl/HttpsURLConnection.java
1715 * javax/net/ssl/KeyManager.java
1716 * javax/net/ssl/KeyManagerFactory.java
1717 * javax/net/ssl/KeyManagerFactorySpi.java
1718 * javax/net/ssl/ManagerFactoryParameters.java
1719 * javax/net/ssl/SSLContext.java
1720 * javax/net/ssl/SSLContextSpi.java
1721 * javax/net/ssl/SSLException.java
1722 * javax/net/ssl/SSLHandshakeException.java
1723 * javax/net/ssl/SSLKeyException.java
1724 * javax/net/ssl/SSLPeerUnverifiedException.java
1725 * javax/net/ssl/SSLPermission.java
1726 * javax/net/ssl/SSLProtocolException.java
1727 * javax/net/ssl/SSLServerSocket.java
1728 * javax/net/ssl/SSLServerSocketFactory.java
1729 * javax/net/ssl/SSLSession.java
1730 * javax/net/ssl/SSLSessionBindingEvent.java
1731 * javax/net/ssl/SSLSessionBindingListener.java
1732 * javax/net/ssl/SSLSessionContext.java
1733 * javax/net/ssl/SSLSocket.java
1734 * javax/net/ssl/SSLSocketFactory.java
1735 * javax/net/ssl/TrivialHostnameVerifier.java
1736 * javax/net/ssl/TrustManager.java
1737 * javax/net/ssl/TrustManagerFactory.java
1738 * javax/net/ssl/TrustManagerFactorySpi.java
1739 * javax/net/ssl/X509KeyManager.java
1740 * javax/net/ssl/X509TrustManager.java
1741 * javax/security/cert/Certificate.java
1742 * javax/security/cert/CertificateEncodingException.java
1743 * javax/security/cert/CertificateException.java
1744 * javax/security/cert/CertificateExpiredException.java
1745 * javax/security/cert/CertificateNotYetValidException.java
1746 * javax/security/cert/CertificateParsingException.java
1747 * javax/security/cert/X509CertBridge.java
1748 * javax/security/cert/X509Certificate.java
1749
1750 2004-08-20 Casey Marshall <csm@gnu.org>
1751
1752 * java/security/cert/X509CRLSelector.java: New file.
1753 * java/security/cert/X509CertSelector.java: New file.
1754
1755 2004-09-15 Michael Koch <konqueror@gmx.de>
1756
1757 * gnu/java/net/protocol/file/Handler.java
1758 (openConnection): Don't throw exception if host part for file: URI is
1759 present. setURL() keeps file: protocol if ftp: protocol is not
1760 available.
1761
1762 2004-09-14 Richard Henderson <rth@redhat.com>
1763
1764 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1765 value of sigsuspend.
1766
1767 2004-09-12 Tom Tromey <tromey@redhat.com>
1768
1769 * javax/naming/CompoundName.java (CompoundName): Don't check for
1770 separator in "flat" case.
1771
1772 2004-09-12 Michael Koch <konqueror@gmx.de>
1773
1774 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1775 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1776 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1777 Regenerate.
1778
1779 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1780
1781 PR libgcj/14751
1782 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1783 handle in newly-allocated _Jv_Thread_t.
1784 (_Jv_ThreadDestroyData): Close thread handle.
1785 (_Jv_ThreadStart): Remove obsolete comment.
1786 Store handle of newly-created thread in _Jv_Thread_t.
1787 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1788 before including <windows.h>
1789 #define _Jv_HaveCondDestroy
1790
1791 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1792
1793 * java/lang/natThread.cc (finalize_native): Destroy
1794 join conditional variable and mutex if these destroy
1795 operations are supported.
1796
1797 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1798
1799 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1800 (DEFAULT_PERMISSION): New constant.
1801 (Connection): Create a FilePermission with permission to read file.
1802
1803 2004-09-10 Michael Koch <konqueror@gmx.de>
1804
1805 * gnu/java/net/protocol/file/Connection.java
1806 (getLastModified): Moved around.
1807 (getPermission): Return stored permission.
1808
1809 2004-09-10 Michael Koch <konqueror@gmx.de>
1810
1811 * Makefile.in: Regenerate.
1812
1813 2004-09-10 Michael Koch <konqueror@gmx.de>
1814
1815 * Makefile.am: Reverted accidently commited stuff.
1816 * configure: Regenerated.
1817
1818 2004-09-10 Michael Koch <konqueror@gmx.de>
1819
1820 * gnu/java/net/protocol/file/Connection.java
1821 (lineSeparator): Made non-final.
1822 (static): Removed.
1823 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1824 instead of StringBufferInputStream.
1825
1826 2004-09-10 Michael Koch <konqueror@gmx.de>
1827
1828 * gnu/java/net/protocol/file/Connection.java
1829 (connect): Handle file is a directory case.
1830
1831 2004-09-10 Michael Koch <konqueror@gmx.de>
1832
1833 * Makefile.am
1834 (xlib_includes): Removed.
1835 (AM_CPPFLAGS): Renamed from INCLUDES.
1836 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1837 * Makefile.in: Regenerate.
1838
1839 2004-09-09 Michael Koch <konqueror@gmx.de>
1840
1841 * java/security/ProtectionDomain.java,
1842 * java/util/PropertyPermissionCollection.java:
1843 Fixed javadocs all over.
1844
1845 2004-09-09 Sven de Marothy <sven@physto.se>
1846
1847 Patch from David Gilbert <david.gilbert@object-refinery.com>
1848 * java/lang/Comparable.java: Fixed documentation errors.
1849 * java/util/Arrays.java: Likewise.
1850
1851 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1852
1853 * java/net/Inet4Address.java
1854 (Inet4Address): Added comment to serialization UID.
1855 * java/text/Format.java
1856 (Format): Added comment to serialization UID.
1857
1858 2004-09-09 Michael Koch <konqueror@gmx.de>
1859
1860 * java/lang/System.java
1861 (err): Fixed javadoci to point to setErr() and not setOut().
1862
1863 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1864
1865 (normalizePath): Added special case for windows systems.
1866
1867 2004-09-09 Michael Koch <konqueror@gmx.de>
1868
1869 * java/io/File.java
1870 (dupSeparator): Made private.
1871 (File(URI)): New constructor.
1872 (getParentFile): Fixed javadoc.
1873 (createTempFile): Reformated.
1874 (setReadOnly): Added comment.
1875 (deleteOnExit): Merged javadoc with classpath version.
1876
1877 2004-09-09 Michael Koch <konqueror@gmx.de>
1878
1879 * Makefile.am: Don't try to include deps.mk.
1880 * Makefile.in: Regenerated.
1881
1882 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1883
1884 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1885 .d files.
1886 * configure: Rebuilt.
1887
1888 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1889
1890 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1891 Changed pfn from static local to local.
1892
1893 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1894 H.J. Lu <hongjiu.lu@intel.com>
1895
1896 PR libgcj/17290
1897 * Makefile.am (GCJCOMPILE): Remove definition.
1898 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1899 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1900 * Makefile.in: Rebuilt.
1901
1902 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1903
1904 * configure.ac (enable-gc-debug): Update help for new syntax.
1905 * configure: Regenerate.
1906
1907 2004-09-03 David Daney <ddaney@avtrex.com>
1908
1909 * include/mips-signal.h: Update copyright.
1910
1911 2004-09-03 David Daney <ddaney@avtrex.com>
1912
1913 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1914 * include/mips-signal.h: Added HANDLE_FPE support.
1915
1916 2004-08-31 Michael Koch <konqueror@gmx.de>
1917
1918 * javax/swing/plaf/basic/BasicTextAreaUI.java
1919 (create): New method.
1920 * javax/swing/text/DefaultHighlighter.java
1921 (DefaultHighlightPainter.debugRect): Removed.
1922 * javax/swing/text/StyleContext.java
1923 (DEFAULT_STYLE): New field.
1924
1925 2004-08-31 Michael Koch <konqueror@gmx.de>
1926
1927 * javax/swing/plaf/basic/BasicLookAndFeel.java
1928 (initComponentDefaults): Add keybindings for selection.backward and
1929 selection-forward for text components.
1930 * javax/swing/plaf/basic/BasicTextUI.java
1931 (paintSafely): Paint highlight only when something is actually
1932 selected.
1933 * javax/swing/text/DefaultCaret.java
1934 (handleHighlight): New method.
1935 (setSelectionVisible): Don't do anything when nothing changes.
1936 Handle highlight.
1937 (moveDot): Reimplemented. Handle highlight.
1938 (setDot): Set mark too. Handle highlight.
1939 (getSelectionPainter): New method.
1940 * javax/swing/text/DefaultEditorKit.java
1941 (defaultActions): Added new actions for text selection.
1942 * javax/swing/text/DefaultHighlighter.java
1943 (DefaultHighlightPainter): New inner class.
1944 (DefaultPainter): New field.
1945 (paint): Implemented.
1946 * javax/swing/text/PlainView.java
1947 (paint): Don't draw background here again.
1948 * javax/swing/text/Utilities.java
1949 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1950 (drawTabbedText): Likewise.
1951
1952 2004-08-31 Graydon Hoare <graydon@redhat.com>
1953
1954 * javax/swing/JComponent.java
1955 (resetKeyboardActions): Add null checks.
1956
1957 2004-08-31 Graydon Hoare <graydon@redhat.com>
1958
1959 * javax/swing/DefaultButtonModel.java:
1960 Skip group notification when no group is set.
1961
1962 2004-08-31 Graydon Hoare <graydon@redhat.com>
1963
1964 * javax/swing/JColorChooser.java:
1965 Make a couple inner classes static, for jikes.
1966
1967 2004-08-31 Michael Koch <konqueror@gmx.de>
1968
1969 * javax/swing/plaf/basic/BasicTextUI.java
1970 (RottView.modelToView): New method.
1971 (UpdateHandler): Renamed from EventHandler.
1972 (updateHandler): Renamed from eventHandler.
1973 (modelToView): Implemented.
1974 * javax/swing/text/AbstractDocument.java
1975 (BranchElement.getElement): Return null for non-existing indeces.
1976 (BranchElement.getElementIndex): Return 0 in some corner cases.
1977 * javax/swing/text/FieldView.java
1978 (modelToView): New method.
1979 * javax/swing/text/PlainView.java
1980 (modelToView): Made public.
1981
1982 2004-08-31 Kim Ho <kho@redhat.com>
1983
1984 * Makefile.am: New files.
1985 * Makefile.in: Regenerate.
1986 * gcj/Makefile.in: Regenerate.
1987 * include/Makefile.in: Regenerate.
1988 * java/awt/Color.java: Fix documentation.
1989 (RGBtoHSB): Use floats for conversions.
1990 * javax/swing/ButtonGroup.java: Run Jalopy.
1991 (setSelected): Reimplement.
1992 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1993 (changeState): Let ButtonGroup know that the button
1994 is changing state.
1995 * javax/swing/JColorChooser.java: Implement.
1996 * javax/swing/JLabel.java: Run Jalopy.
1997 * javax/swing/JSpinner.java: Run Jalopy.
1998 (setValue): New method.
1999 * javax/swing/JTabbedPane.java: Run Jalopy.
2000 (removeTabAt): Call correct remove method.
2001 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2002 (getPreviousValue): Compare minimum value.
2003 * javax/swing/Timer.java: Run Jalopy.
2004 (run): Comment out println.
2005 * javax/swing/ToolTipManager.java:
2006 (mouseMoved): Get new tooltip text for location.
2007 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2008 Jalopy and Javadoc.
2009 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2010 Implement.
2011 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2012 Run Jalopy.
2013 (setSelectedColor): Fire ChangeEvent.
2014 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2015 New file. Implement.
2016 * javax/swing/colorchooser/DefaultPreviewPanel.java:
2017 Ditto.
2018 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2019 Ditto.
2020 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2021 Ditto.
2022 * javax/swing/plaf/basic/BasicArrowButton.java:
2023 (getArrow): Fix size of upward pointing button.
2024 * javax/swing/plaf/basic/BasicColorChooserUI.java:
2025 Implement.
2026 * javax/swing/plaf/basic/BasicSliderUI.java:
2027 (getWidthOfWidestLabel): Use preferred dimensions.
2028 (getHeightOfTallestLabel): Ditto.
2029 * javax/swing/plaf/basic/BasicSpinnerUI.java:
2030 Run Jalopy.
2031 (mousePressed): Disable changes to spinner if it is not enabled.
2032 * testsuite/Makefile.in: Regenerate.
2033
2034
2035 2004-08-31 Michael Koch <konqueror@gmx.de>
2036
2037 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2038 javax/swing/plaf/basic/BasicTableUI.java:
2039 Added copyright notice.
2040
2041 2004-08-31 Olga Rodimina <rodimina@redhat.com>
2042
2043 * Makefile.am: Added new files.
2044 * Makefile.in: Regenerate.
2045 * javax/swing/ComboBoxEditor.java: Added javadocs.
2046 * javax/swing/ComboBoxModel.java: Likewise.
2047 * javax/swing/DefaultComboBoxModel.java: Implemented.
2048 * javax/swing/DefaultListCellRenderer.java: Added javadocs
2049 and ran through jalopy to fix formatting style.
2050 (getListCellRendererComponent): Use appropriate border
2051 if renderer has focus and use noFocusBorder when it doesn't.
2052 * javax/swing/JComboBox.java: Implemented.
2053 * javax/swing/JList.java:
2054 (locationToIndex): New Method. Implemented.
2055 (indexToLocation): New Method.
2056 * javax/swing/JPopupMenu.java:
2057 (visible): New field.
2058 (isVisible): Changed to use new field above.
2059 (setVisible): Likewise.
2060 * javax/swing/MutableComboBoxModel.java: Added javadocs.
2061 * javax/swing/plaf/basic/BasicArrowButton.java:
2062 (shadow): Changed default color to Color.gray.
2063 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2064 UI delegate for JComboBox.
2065 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2066 Popup menu containing list of JComboBox's items.
2067 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2068 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2069 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2070 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2071 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2072 (popupMenuWillBecomeVisible): Set selected path to the first
2073 element only if it is of type MenuElement. Also fix formatting
2074 style.
2075 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2076 methods signatures.
2077
2078 2004-08-31 Michael Koch <konqueror@gmx.de>
2079
2080 * javax/swing/text/AbstractDocument.java
2081 (createBranchElement): Use new constructor of BranchElement.
2082 (createLeafElement): Renamed arguments.
2083 (getRootElements): Implemented.
2084 (BranchElement.start): Removed.
2085 (BranchElement.end): Likewise.
2086 (BranchElement.BranchElement): Fixed arguments.
2087 (BranchElement.getEndOffset): Reimplemented.
2088 (BranchElement.getStartOffset): Likewis.
2089 * javax/swing/text/DefaultCaret.java
2090 (paint): Draw simple vertical line as caret instead of a rectangle.
2091 * javax/swing/text/JTextComponent.java
2092 (setText): Use doc directly.
2093 * javax/swing/text/PlainView.java
2094 (nextTabStop): Implemented.
2095 * javax/swing/text/Utilities.java
2096 (drawTabbedText): nextTabStop() returns an absolute x position.
2097 (getTabbedTextWidth): Likewise.
2098
2099 2004-08-31 Graydon Hoare <graydon@redhat.com>
2100
2101 * java/awt/Component.java
2102 (isFocusTraversable): Predicate on isLightweight()
2103 (setFocusable): Set isFocusTraversableOverridden.
2104 (requestFocus): Predicate peer dispatch on !isLightweight()
2105 (requestFocusInWindow): Likewise.
2106 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2107 * java/awt/Container.java
2108 (dispatchEventImpl): Predicate on event mask.
2109 (LightweightDispatcher): Remove focus machinery.
2110 * java/awt/DefaultFocusTraversalPolicy.java
2111 (accept): Expand predicate to include isFocusable().
2112 * java/awt/DefaultKeyboardFocusManager.java:
2113 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2114 * java/awt/KeyboardFocusManager.java
2115 (redispatchEvent): Synchronize on event to prevent feedback.
2116 * javax/swing/AbstractButton.java
2117 (ButtonFocusListener): Remove class.
2118 (init): Set focusPainted, focusable.
2119 * javax/swing/ActionMap.java (get): Check parent for null.
2120 * javax/swing/InputMap.java (get): Likewise.
2121 * javax/swing/JComponent.java
2122 (inputMap_whenFocused): New InputMap.
2123 (inputMap_whenAncestorOfFocused): Likewise.
2124 (inputMap_whenInFocusedWindow): Likewise.
2125 (getActionForKeyStroke): Rewrite.
2126 (getConditionForKeystroke): Likewise.
2127 (ActionListenerProxy): New private class.
2128 (setInputMap): Implement.
2129 (getInputMap): Likewise.
2130 (setActionMap): Likewise.
2131 (getActionMap): Likewise.
2132 (processComponentKeyEvent): New empty method.
2133 (processKeyEvent): Implement.
2134 (processKeyBinding): Likewise.
2135 (resetKeyboardActions): Rewrite.
2136 * javax/swing/KeyStroke.java: Rewrite.
2137 * javax/swing/SwingUtilities.java
2138 (notifyAction): Implement.
2139 (replaceUIActionMap): Likewise.
2140 (replaceUIInputMap): Likewise.
2141 * javax/swing/plaf/basic/BasicButtonListener.java
2142 (focusGained): Implement.
2143 (focusLost): Repaint if focusPainted().
2144 (installKeyboardActions): Install pressed / released actions.
2145 (uninstallKeyboardActions): Implement.
2146 * javax/swing/plaf/basic/BasicButtonUI.java
2147 (focusColor): New field.
2148 (installDefaults): Load focus color, install input map.
2149 (installKeyboardActions): Implement.
2150 (uninstallKeyboardActions): Likewise.
2151 (paintFocus): Rewrite.
2152 * javax/swing/plaf/basic/BasicLookAndFeel.java
2153 (Button.focus): New default, midPurple.
2154 * javax/swing/plaf/basic/BasicTextUI.java
2155 (kit): Make static.
2156 (installUI): Get doc from kit, load defaults.
2157 (getKeymapName): Implement.
2158 (createKeymap): Likewise.
2159 (installKeyboardActions): Likewise.
2160 (getInputMap): Likewise.
2161 (getActionMap): Likewise.
2162 (createActionMap): Likewise.
2163 * javax/swing/text/AbstractDocument.java
2164 (getStartPosition): Implement.
2165 (getEndPosition): Likewise.
2166 * javax/swing/text/DefaultEditorKit.java
2167 (CopyAction): New class.
2168 (CutAction): Likewise.
2169 (DefaultKeyTypedAction): Likewise.
2170 (InsertBreakAction): Likewise.
2171 (InsertContentAction): Likewise.
2172 (InsertTabAction): Likewise.
2173 (PasteAction): Likewise.
2174 (defaultActions): New static table.
2175 (createCaret): Implement.
2176 (getActions): Likewise.
2177 * javax/swing/text/JTextComponent.java
2178 (KeymapWrapper): New private class.
2179 (KeymapActionMap): Likewise.
2180 (DefaultKeymap): New class.
2181 (keymaps): New static table.
2182 (keymap): New field.
2183 (getKeymap): Implement.
2184 (removeKeymap): Likewise.
2185 (addKeymap): Likewise.
2186 (setKeymap): Likewise.
2187 (loadKeymap): Likewise.
2188 (getActions): Likewise.
2189 (margin): New field.
2190 (JTextComponent): Build and install default keymap.
2191 * javax/swing/text/TextAction.java
2192 (textAction): Call super properly.
2193 (getTextComponent): Implement.
2194 * javax/swing/text/Utilities.java
2195 (drawTabbedText): Adjust position by ascent.
2196
2197 2004-08-31 David Jee <djee@redhat.com>
2198
2199 PR AWT/17156
2200
2201 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2202 (setEnabled): Make it a native method.
2203 * java/awt/DefaultKeyboardFocusManager.java
2204 (postProcessKeyEvent): Only post event if the menu item
2205 is active.
2206 * java/awt/MenuItem.java:
2207 Private field 'enabled' should be true by default.
2208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2209 (setEnabled): New function.
2210
2211 2004-08-31 David Jee <djee@redhat.com>
2212
2213 PR AWT/17059
2214
2215 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2216 (nativeSetHelpMenu): New native method declaration.
2217 (addHelpMenu): Call nativeSetHelpMenu().
2218 (addMenu): Remove.
2219 * java/awt/MenuBar.java
2220 (setHelpMenu): Call addNotify() on the new help menu.
2221 (add): Call addNotify() on the new menu.
2222 (addNotify): Set the help menu if one exists.
2223 * java/awt/peer/MenuBarPeer.java
2224 (addMenu): Remove.
2225 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2226 (nativeSetHelpMenu): New method.
2227
2228 2004-08-31 Graydon Hoare <graydon@redhat.com>
2229
2230 * Makefile.am: Add new files.
2231 * Makefile.in: Regenerate.
2232 * javax/swing/Box.java: Fix setting of layout in ctor.
2233 * javax/swing/JScrollPane.java: Scroll headers as well.
2234 * javax/swing/JTable.java: Reimplement.
2235 * javax/swing/JViewPort.java: Only add non-null children.
2236 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2237 * javax/swing/Timer.java: Fix stopping null waker.
2238 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2239 * javax/swing/plaf/basic/BasicTableUI.java: New file.
2240 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2241 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2242 * javax/swing/table/DefaultTableModel.java: Clean up.
2243 * javax/swing/table/JTableHeader.java: Implement.
2244
2245 2004-08-31 Mark Wielaard <mark@klomp.org>
2246
2247 * javax/swing/JSpinner.java (getChangeListeners): Remove double
2248 semi-colon.
2249
2250 2004-08-31 Mark Wielaard <mark@klomp.org>
2251
2252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2253 Declare variables at top of functions/block.
2254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2255
2256 2004-08-31 Mark Wielaard <mark@klomp.org>
2257
2258 * java/lang/Rectangle.java (intersects): Check r.width and r.height
2259 first.
2260
2261 2004-08-31 Michael Koch <konqueror@gmx.de>
2262
2263 * javax/swing/text/PlainView.java
2264 (selectedColor): New field.
2265 (unselectedColor): Likewise.
2266 (font): Likewise.
2267 (updateMetrics): New method.
2268 (lineToRect): Likewise.
2269 (modelToView): Likewise.
2270 (drawSelectedText): Use color from JTextComponent ad draw with
2271 Utilities class.
2272 (drawUnselectedText): Likewise.
2273 (paint): Initialize helper fields.
2274 * javax/swing/text/View.java
2275 (getChildAllocation): New method.
2276 (getViewIndex): Likewise.
2277 (getToolTipText): Likewise.
2278
2279 2004-08-31 Michael Koch <konqueror@gmx.de>
2280
2281 * javax/swing/text/Utilities.java
2282 (drawTabbedText): Reimplemented.
2283 (getTabbedTextWidth): Likewise.
2284
2285 2004-08-31 Michael Koch <konqueror@gmx.de>
2286
2287 * javax/swing/plaf/basic/BasicTextUI.java
2288 (installDefaults): Install caret and highlighter.
2289 (modelToView): Use Bias.Forward when calling sibling.
2290 * javax/swing/text/AbstractDocument.java
2291 (ElementEdit): Implements DocumentEvent.ElementChange.
2292 (ElementEdit.ElementEdit): New method.
2293 (ElementEdit.getChildrenAdded): Likewise.
2294 (ElementEdit.getChildrenRemoved): Likewise.
2295 (ElementEdit.getElement): Likewise.
2296 (ElementEdit.getIndex): Likewise.
2297 * javax/swing/text/DefaultCaret.java
2298 (color): Removed.
2299 (textComponent): Renamed from parent, made private.
2300 (selectionVisible): Renamed from vis_sel, made private.
2301 (blinkRate): Renamed from blink, made private.
2302 (magicCaretPosition): Renamed from magic, made private.
2303 (visible): Renamed from vis, made private.
2304 (dot): Made private.
2305 (mark): Likewise.
2306 (deinstall): Remove as MouseMotionListener.
2307 (install): Initialize textComponent first. Add as MouseMotionListener.
2308 (paint): Reimplemented.
2309 * javax/swing/text/JTextComponent.java
2310 (setCaret): Deinstall old caret, install new one and fire property
2311 change after setting property.
2312 (setHighlighter): Deinstall old highlighter, install new one and fire
2313 property change after setting property.
2314 (setCaretColor): Fire property change after setting property.
2315 (setDisabledTextColor): Likewise.
2316 (setSelectedTextColor): Likewise.
2317 (setSelectionColor): Likewise.
2318 (modelToView): New method.
2319
2320 2004-08-31 Michael Koch <konqueror@gmx.de>
2321
2322 * javax/swing/text/AbstractDocument.java
2323 (getText): Simplified.
2324 * javax/swing/text/Segment.java
2325 (current): New field.
2326 (current): Reimplemented.
2327 (first): Likewise.
2328 (getIndex): Likewise.
2329 (last): Likewise.
2330 (next): Likewise.
2331 (previous): Likewise.
2332 (setIndex): Likewise.
2333
2334 2004-08-31 Michael Koch <konqueror@gmx.de>
2335
2336 * javax/swing/plaf/basic/BasicButtonUI.java
2337 (defaultTextIconGap): Made protected.
2338 (defaultTextShiftOffset): Likewise.
2339 (textShiftOffset): New field.
2340 (clearTextShiftOffset): New method.
2341 (getTextShiftOffset): Likewise.
2342 (setTextShiftOffset): Likewise.
2343
2344 2004-08-31 Michael Koch <konqueror@gmx.de>
2345
2346 * javax/swing/plaf/basic/BasicTextUI.java
2347 (installUI): Add eventHandler as property listener.
2348 (uninstallUI): remove eventHandler as propert listener.
2349 (installDefaults): Added comment.
2350 (installListeners): Likewise.
2351 (installKeyboardActions): Likewise.
2352 (uninstallDefaults): Likewise.
2353 (uninstallListeners): Likewise.
2354 (uninstallKeyboardActions): Likewise.
2355
2356 2004-08-31 Michael Koch <konqueror@gmx.de>
2357
2358 * javax/swing/text/AbstractDocument.java:
2359 Fixed some typos in comments.
2360 (insertString): Reimplemented.
2361 (remove): Likewise.
2362 (replace): New method.
2363 (children): Dont use fully qualified class name.
2364 (DefaultDocumentEvent.offset): Renamed from off.
2365 (DefaultDocumentEvent.length): Renamed from len.
2366 (DefaultDocumentEvent.type): New field.
2367 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2368 (DefaultDocumentEvent.getType): Implemented.
2369
2370 2004-08-31 Michael Koch <konqueror@gmx.de>
2371
2372 * javax/swing/plaf/basic/BasicTextUI.java
2373 (RootView.textComponent): Removed.
2374 (RootView.RootView): Don't initialize textComponent.
2375 (RootView.getViewFactory): New method.
2376 (EventHandler): New inner class.
2377 (rootView): Initialize at instance creation.
2378 (eventHandler): New field.
2379 (installUI): Don't create view hierarchy directly,
2380 call modelChanged() instead.
2381 (modelChanged): New method.
2382 * javax/swing/text/JTextComponent.java
2383 (setDocument): Fire property change event.
2384
2385 2004-08-31 Michael Koch <konqueror@gmx.de>
2386
2387 * javax/swing/plaf/basic/BasicTextUI.java
2388 (RootView.paint): Removed debug output.
2389 (paintSafely): Draw highlighter before text.
2390 (paintBackground): Use background color of text component.
2391 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2392 Reformatted.
2393
2394 2004-08-31 Michael Koch <konqueror@gmx.de>
2395
2396 * javax/swing/plaf/basic/BasicToolBarUI.java
2397 (BasicToolBarUI): Fixed arguments for constructor.
2398 (createUI): Fixed creation of object.
2399
2400 2004-08-31 Michael Koch <konqueror@gmx.de>
2401
2402 * javax/swing/DefaultListSelectionModel.java
2403 (fireValueChanged): Renamed from fireSelectionValueChanged,
2404 made protected.
2405
2406 2004-08-31 Michael Koch <konqueror@gmx.de>
2407
2408 * javax/swing/text/TabSet.java
2409 (TabSet): Implements java.io.Serializable.
2410 * javax/swing/text/TabStop.java
2411 (TabStop): Implements java.io.Serializable.
2412 (TabStop): Made public.
2413
2414 2004-08-31 Michael Koch <konqueror@gmx.de>
2415
2416 * javax/swing/JComponent.java
2417 (setUI): Fire PropertyChange.
2418 * javax/swing/JLabel.java
2419 (text): Renamed from labelText.
2420 (horizontalAlignment): New default vlaue.
2421 (icon): Renamed from activeIcon.
2422 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2423 (displayedMnemonicIndex): Renamed from underlineChar.
2424 (setDisplayedMnemonic): Reimplemented.
2425 * javax/swing/JRadioButton.java
2426 (JRadioButton): New constructors.
2427 * javax/swing/JTextField.java
2428 (JTextField): Throw exception if colums < 0, initialitialz
2429 this.columns directly and initialize document with text conditionally.
2430
2431 2004-08-31 Michael Koch <konqueror@gmx.de>
2432
2433 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2434 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2435 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2436 * javax/swing/text/FieldView.java
2437 (paint): Just call super method for now.
2438 * Makefile.am: Added new files.
2439 * Makefile.in: Regenerated.
2440
2441 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2442
2443 * javax/swing/AbstractSpinnerModel.java,
2444 javax/swing/JSpinner.java,
2445 javax/swing/SpinnerNumberModel.java,
2446 javax/swing/plaf/basic/BasicSpinnerUI.java:
2447 New files.
2448 * javax/swing/plaf/basic/BasicLookAndFeel.java
2449 (initClassDefaults): Added defaults for BasicSpinnerUI.
2450
2451 2004-08-31 Michael Koch <konqueror@gmx.de>
2452
2453 * Makefile.am: Added new files.
2454 * Makefile.in: Regenerated.
2455
2456 2004-08-31 Michael Koch <konqueror@gmx.de>
2457
2458 * javax/swing/TransferHandler.java,
2459 javax/swing/plaf/basic/ComboPopup.java: New files
2460 * Makefile.am: Added javax/swing/TransferHandler.java and
2461 javax/swing/plaf/basic/ComboPopup.java
2462 * Makefile.in: Regenerated.
2463
2464 2004-08-31 Roman Kennke <roman@ontographics.com>
2465
2466 * javax/swing/text/Utilities.java: New file.
2467
2468 2004-08-31 Michael Koch <konqueror@gmx.de>
2469
2470 * Makefile.am: Added javax/swing/text/Utilities.java.
2471 * Makefile.in: Regenerated.
2472
2473 2004-08-31 Graydon Hoare <graydon@redhat.com>
2474
2475 * javax/swing/text/SimpleAttributeSet.java: New file.
2476 * javax/swing/text/StyleConstants.java: New file.
2477 * javax/swing/text/StyleContext.java: New file.
2478 * javax/swing/text/TabSet.java: New file.
2479 * javax/swing/text/TabStop.java: New file.
2480 * javax/swing/text/AbstactDocument.java:
2481 (AbstractElement): Implement attribute support.
2482 * javax/swing/text/AttributeSet.java
2483 (NameAttribute): New static field.
2484 (ResolveAttribute): New static field.
2485 * Makefile.am: Update for new files.
2486 * Makefile.in: Regenerate.
2487
2488 2004-08-31 Craig Black <craig.black@aonix.com>
2489
2490 * gnu/java/awt/peer/gtk/GdkGraphics.java
2491 (drawImage): Add support for scaling pixmaps.
2492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2493 (copyAndScalePixmap): New native method.
2494
2495 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2496
2497 PR AWT/16121
2498 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2499 type-punning compiler warnings using unions.
2500 (throw): Replace bzero with memset.
2501
2502 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2503 Thomas Fitzsimmons <fitzsim@redhat.com>
2504
2505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2506 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2507 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2509 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2510
2511 2004-08-31 Mark Wielaard <mark@klomp.org>
2512
2513 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2514 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2515 and stdlib.h, not gtkpeer.h.
2516 (*vm): New static variable.
2517 (areaPreparedID): Make static.
2518 (areaUpdatedID): Likewise.
2519 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2520 (area_prepared): Likewise.
2521 (area_updated): Likewise.
2522 (closed): Likewise.
2523 (initStaticState): Initialize *vm javaVM.
2524 (pumpBytes): Use given env, not global gdk_env.
2525
2526 2004-08-31 Mark Wielaard <mark@klomp.org>
2527
2528 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2529 comments.
2530
2531 2004-08-31 Sven de Marothy <sven@physto.se>
2532
2533 * java/awt/geom/CubicCurve2D.java: Reindent.
2534 (contains): Implemented.
2535 (intersects): Implemented.
2536 * java/awt/geom/QuadCurve2D.java: Likewise.
2537 * java/awt/geom/GeneralPath.java: Reindent and document.
2538 Fully (re)implemented using separate xpoints and ypoints
2539 float[] coords.
2540 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2541
2542 2004-08-31 Michael Koch <konqueror@gmx.de>
2543
2544 * javax/swing/JMenuItem.java
2545 (getMenuDragMouseListeners): New method.
2546 (getMenuKeyListeners): Likewise.
2547
2548 2004-08-31 Michael Koch <konqueror@gmx.de>
2549
2550 * javax/swing/AbstractButton.java
2551 (model): Made protected.
2552 (actionListener): Likewise.
2553 (changeListener): Likewise.
2554 (itemListener): Likewise.
2555 (multiClickThreshhold): New field.
2556 (getActionListeners): New method.
2557 (getChangeListeners): Likewise.
2558 (getItemListeners): Likewise.
2559 (fireItemStateChanged): Simplified implementation.
2560 (fireActionPerformed): Likewise.
2561 (fireStateChanged): Likewise.
2562 (getMultiClickThreshhold): New method.
2563 (setMultiClickThreshhold): Likewise.
2564
2565 2004-08-31 Tom Tromey <tromey@redhat.com>
2566
2567 * java/awt/image/Kernel.java (clone): Use super.clone().
2568
2569 2004-08-31 David Jee <djee@redhat.com>
2570
2571 PR AWT/16682
2572 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2573 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2574 (nativeSetIconImageFromData): New native method declaration.
2575 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2576 * gnu/java/awt/peer/gtk/GtkImage.java
2577 (getPixelCache): New method.
2578 (getColorModel): New method.
2579 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2580 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2581 (free_pixbuf_data): New helper function.
2582 (nativeSetIconImageFromData): New function.
2583
2584 2004-08-31 Graydon Hoare <graydon@redhat.com>
2585
2586 PR SWING/16576
2587 * javax/swing/JLayeredPane.java
2588 (setLayer): Permit changing layer after addition.
2589 (setPosition): Permit over-length positions.
2590 (layerToRange): Compare intValue()s.
2591 * javax/swing/Box.java (createHorizontalBox): Implement.
2592 (createRigidArea): Likewise.
2593 (createVerticalBox): Likewise.
2594
2595 2004-08-31 Kim Ho <kho@redhat.com>
2596
2597 * java/awt/Component.java:
2598 (processMouseEvent): Consume event after
2599 listeners process it.
2600 (processMouseMotionEvent): ditto.
2601 (processMouseWheelEvent): ditto.
2602 * java/awt/Container.java:
2603 (acquireComponentForMouseEvent):
2604 Do not dispatch to events that have been
2605 removed from the Container.
2606 (handleEvent): Consume the MouseEvents.
2607 * javax/swing/RepaintManager.java:
2608 (paintDirtyRegions): Do not add to list of
2609 damaged areas if the component has no root.
2610
2611 2004-08-31 Michael Koch <konqueror@gmx.de>
2612
2613 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2614
2615 2004-08-31 Mark Wielaard <mark@klomp.org>
2616
2617 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2618 null when a MissingResourceException is thrown. Should never happen.
2619
2620 2004-08-31 Mark Wielaard <mark@klomp.org>
2621
2622 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2623 when argument is null.
2624
2625 2004-08-31 Mark Wielaard <mark@klomp.org>
2626
2627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2628 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2629 Define hid at start of function.
2630 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2631 Likewise.
2632
2633 2004-08-31 Mark Wielaard <mark@klomp.org>
2634
2635 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2636 * javax/swing/JButton.java: Reindent.
2637 * javax/swing/JCheckBox.java: Reindent.
2638
2639 2004-08-31 Mark Wielaard <mark@klomp.org>
2640
2641 * Makefile.am (gtk_c_source_files): Added
2642 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2643 (gtk_awt_peer_sources): Added
2644 gnu/java/awt/peer/gtk/GThreadMutex.java and
2645 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2646 * Makefile.in: Regenerated.
2647
2648 2004-08-31 Archie Cobbs <archie@dellroad.org>
2649
2650 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2651
2652 2004-08-31 Steven Augart <augart@watson.ibm.com>
2653
2654 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2655 Added jfieldID, jmethodID.
2656
2657 2004-08-31 Mark Wielaard <mark@klomp.org>
2658
2659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2660 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2661 gdk_env before calling any gdk or gtk function.
2662
2663 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2664 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2665 (run): Set gtkInitCalled.
2666
2667 2004-08-31 Steven Augart <augart@watson.ibm.com>
2668
2669 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2670 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2671
2672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2673 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2674 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2675 init_glib_threads.
2676 (init_glib_threads): New function.
2677
2678 2004-08-31 Mark Wielaard <mark@klomp.org>
2679
2680 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2681 PRIORITY when not already defined in header file.
2682
2683 2004-08-31 Mark Wielaard <mark@klomp.org>
2684
2685 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2686 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2687
2688 2004-08-31 Steven Augart <augart@watson.ibm.com>
2689
2690 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2691 Implemented missing functions for GTK2.
2692 Added error handling.
2693 Renamed static functions out of the g_ namespace.
2694 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2695 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2696 Rewrote global-reference code.
2697 Eliminated cascading errors.
2698 (mutex_trylock_jni_impl) Fully implemented.
2699 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2700 resolution.
2701 (setup_cache) New function.
2702 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2703 bug where they were not unlocking the GMutex associated with the
2704 condition variable during the wait on that condition variable.
2705
2706 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2707 native/jni/gtk-peer/gthread-jni.c,
2708 native/jni/gtk-peer/gthread-jni.h
2709 (g_thread_jni_functions): Renamed to ...
2710 (portable_native_sync_jni_functions): this name.
2711 (gdk_vm): Renamed to...
2712 (the_vm): this name.
2713
2714 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2715 (gdk_vm): Removed duplicate definition.
2716 (gtkInit): Removed stray message to stdout.
2717 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2718 (gtkInit): Fix a const assignment bug.
2719 (gtkInit): Simplified code.
2720
2721 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2722 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2723 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2724 gnu/java/awt/peer/gtk/GThreadMutex.java:
2725 New files.
2726
2727 2004-08-31 Mark Wielaard <mark@klomp.org>
2728
2729 * javax/swing/Box.java: Put FIXME comment above class declaration.
2730 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2731 * javax/swing/JCheckBox.java: Likewise.
2732 * javax/swing/JDialog.java: Likewise.
2733 * javax/swing/JRadioButton.java: Likewise.
2734 * javax/swing/JToggleButton.java: Likewise.
2735 * javax/swing/UIManager.java: Likewise.
2736 * javax/swing/border/TitledBorder.java: Likewise.
2737 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2738 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2739 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2740 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2741 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2742 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2743 * javax/swing/text/JTextComponent.java: Likewise.
2744
2745 2004-08-31 David Jee <djee@redhat.com>
2746
2747 PR AWT/16682
2748 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2749 (setIconImage): Add a FIXME for unhandled cases.
2750
2751 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2752
2753 PR AWT/16040
2754 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2755 getModifiers. Replace old button masks with new ones.
2756 * gnu/awt/xlib/XEventLoop.java: Likewise.
2757 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2758 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2759 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2760 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2761 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2762 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2763 * java/awt/Component.java: Replace old modifier masks with new
2764 ones.
2765 * java/awt/Container.java: Call getModifiersEx, not
2766 getModifiers.
2767 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2768 old modifier masks.
2769 * javax/swing/JMenuItem.java: Replace old button masks with new
2770 ones.
2771 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2772 getModifiers.
2773 * javax/swing/SwingUtilities.java: Likewise.
2774 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2775 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2777 mask macros with new ones.
2778 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2779 macros with new ones representing new masks.
2780
2781 2004-08-31 Craig Black <craig.black@aonix.com>
2782
2783 * gnu/java/awt/peer/gtk/GdkGraphics.java
2784 (drawRoundRect): Implemented.
2785 (fillRoundRect): Implemented.
2786 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2787 (drawRoundRect): Reimplemented to match GdkGraphics.
2788 (fillRoundRect): Reimplemented to match GdkGraphics.
2789
2790 2004-08-31 Mark Wielaard <mark@klomp.org>
2791
2792 * Makefile.in: Regenerated.
2793
2794 2004-08-31 Michael Koch <konqueror@gmx.de>
2795
2796 * gnu/java/awt/EmbeddedWindow.java
2797 (addNotify): Use AccessController to allow execution of privileged
2798 code.
2799
2800 2004-08-31 Michael Koch <konqueror@gmx.de>
2801
2802 * gnu/java/awt/EmbeddedWindow.java
2803 (static): Removed.
2804 (addNotify): Set peer via reflection.
2805 (setWindowPeer): Removed.
2806 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2807 * Makefile.am (nat_source_files):
2808 Removed gnu/java/awt/natEmbeddedWindow.cc.
2809
2810 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2811
2812 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2813 and gnu/java/security/action/SetAccessibleAction.java.
2814
2815 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2816
2817 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2818 Renamed from 'setName'. New 2-argument form with default value.
2819 (run): Pass default 'value' parameter to System.getProperty().
2820 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2821 typos.
2822
2823 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2824
2825 * gnu/java/security/action/GetPropertyAction.java: New class.
2826 * gnu/java/security/action/SetAccessibleAction.java: New class.
2827
2828 2004-08-31 David Jee <djee@redhat.com>
2829
2830 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2831 (setIconImage): Check if image is null.
2832
2833 2004-08-31 David Jee <djee@redhat.com>
2834
2835 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2836 (create): Set the icon image.
2837 (nativeSetIconImage): New native method declaration.
2838 (setIconImage): Implement.
2839 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2840 (nativeSetIconImage): New function.
2841
2842 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2843
2844 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2845 (filenameFilterCallback): Declare local variable accepted before use.
2846
2847 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2848
2849 * gnu/java/awt/ComponentDataBlitOp.java:
2850 Cleaned up imports.
2851
2852 2004-08-31 Tom Tromey <tromey@redhat.com>
2853
2854 * gnu/java/awt/peer/GLightweightPeer.java,
2855 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2856 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2857 javax/swing/JScrollPane.java: Removed
2858 redundant imports.
2859
2860 2004-08-31 David Jee <djee@redhat.com>
2861
2862 * java/awt/DefaultKeyboardFocusManager.java
2863 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2864 event. Fix shift modifier checking.
2865 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2866 (accel_attach): Remove.
2867 (setupAccelGroup): Remove calls to accel_attach.
2868
2869 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2870
2871 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2872 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2873
2874 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2875 GtkArgList.java.
2876 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2877 * Makefile.in: Regenerate.
2878 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2879 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2880 (create(String)): New method.
2881 (create): Call new create method.
2882 (getArgs): Remove method.
2883 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2884 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2885 (nativeCreate): Rename to create.
2886 (gtkSetLabel): Rename to gtkButtonSetLabel.
2887 (gtkToggleButtonSetActive): New method.
2888 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2889 (setState): Replace set call with gtkToggleButtonSetActive.
2890 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2891 (getArgs): Remove method.
2892 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2893 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2894 (gtkWidgetSetSensitive): New method.
2895 (gtkWidgetSetParent): Likewise.
2896 (GtkComponentPeer): Call setParent, setComponentBounds and
2897 setVisibleAndEnabled.
2898 (setParent): New method.
2899 (setComponentBounds): New method.
2900 (setVisibleAndEnabled): New method.
2901 (setEnabled): Call gtkWidgetSetSensitive.
2902 (getArgs): Remove method.
2903 Remove all set methods.
2904 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2905 gtkWindowSetModal, setTitle and setResizable.
2906 (getArgs): Remove method.
2907 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2908 (setComponentBounds): New method.
2909 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2910 Replace set call with gtkWindowSetResizable.
2911 (getArgs): Remove method.
2912 (create): Call setTitle and setResizable.
2913 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2914 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2915 (gtkWindowSetTitle): New method.
2916 (gtkWindowSetResizable): New method.
2917 (gtkWindowSetModal): New method.
2918 (setParent): New method.
2919 (setVisibleAndEnabled): New method.
2920 (getArgs): Remove method.
2921 (setTitle): Call gtkWindowSetTitle.
2922 (setResizable): Call gtkWindowSetResizable.
2923 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2924 and off locking instrumentation.
2925
2926 2004-08-31 Kim Ho <kho@redhat.com>
2927
2928 * Makefile.am: Add new file.
2929 * Makefile.in: Regenerate.
2930 * gcj/Makefile.in: Regenerate
2931 * include/Makefile.in:
2932 * java/awt/Container.java:
2933 (acquireComponentForMouseEvent): Respect
2934 the event mask when looking for candidate.
2935 * javax/swing/JComponent.java:
2936 Remove toolTip field.
2937 (createToolTip): Create a tooltip on demand.
2938 (setToolTipText): Register with the ToolTipManager.
2939 (getToolTipText(MouseEvent)): Return getToolTipText().
2940 * javax/swing/JToolTip.java: Implement.
2941 * javax/swing/Timer.java: Jalopy.
2942 (restart): Call stop, then start.
2943 (stop): Interrupt the timer rather than wait for
2944 the timer to come to a stop naturally.
2945 * javax/swing/ToolTipManager.java: Implement.
2946 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2947 Change ToolTip.background color.
2948 * javax/swing/plaf/basic/BasicToolTipUI.java:
2949 Implement.
2950 * testsuite/Makefile.in: Regenerate
2951
2952 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2953
2954 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2955 constructor param comments.
2956
2957 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2958
2959 * java/awt/Component.java: Document AWT 1.0 event handler
2960 methods.
2961
2962 2004-08-31 Roman Kennke <roman@ontographics.com>
2963
2964 * javax/swing/Box.java:
2965 (createGlue): Implemented
2966 (createHorizontalGlue): Implemented
2967 (createHorizontalStrut): Implemented
2968 (createVerticalGlue): Implemented
2969 (createVerticalStrut): Implemented
2970
2971 2004-08-31 David Jee <djee@redhat.com>
2972
2973 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2974 (GtkChoicePeer): Do not automatically select first item.
2975 (getHistory): Remove.
2976 (nativeGetSelected): New method.
2977 (nativeRemoveAll): New method.
2978 (add): Use nativeGetSelected() instead of getHistory().
2979 (remove): Likewise.
2980 (removeAll): Call nativeRemoveAll().
2981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2982 (create): Migrate to GtkComboBox.
2983 (append): Likewise.
2984 (nativeAdd): Likewise.
2985 (nativeRemove): Likewise.
2986 (select): Likewise.
2987 (nativeRemoveAll): New method.
2988 (nativeGetSelected): New method.
2989 (selection_changed): New method.
2990 (getHistory): Remove.
2991 (item_activate): Remove.
2992 (item_removed): Remove.
2993 (connect_choice_item_selectable_hook): Remove.
2994
2995 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2996
2997 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2998 variable in setEditable call.
2999
3000 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3001 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3002 (gtkWidgetSetBackground): New method.
3003 (gtkWidgetSetForeground): Likewise.
3004 (create): Set peer's editable state based on awtComponent's.
3005
3006 * java/awt/Button.java (Button()): Use empty string rather than
3007 null in no-label constructor.
3008
3009 2004-08-31 Roman Kennke <roman@ontographics.com>
3010
3011 * javax/swing/BoxLayout.java: Reimplement.
3012
3013 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3014
3015 * gnu/java/awt/peer/gtk/GdkGraphics.java,
3016 gnu_java_awt_peer_gtk_GdkGraphics.c
3017 (initState(GtkComponentPeer)): Don't return array of colour
3018 values.
3019 (GdkGraphics(int,int)): Set default font to size 12.
3020 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3021 component's foreground colour.
3022 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3023 gnu_java_awt_peer_gtk_GdkGraphics2D.c
3024 (initState(GtkComponentPeer)): Don't return array of colour
3025 values.
3026 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3027 colours to component's colours.
3028 (current_colors_of_widget): Remove function.
3029 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3030 Return a new graphics object.
3031 * java/awt/Font.java (toString): Fix format.
3032 * java/awt/Graphics.java (toString): Likewise.
3033
3034 2004-08-31 Craig Black <craig.black@aonix.com>
3035
3036 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3037 (addTearOff): New function.
3038 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3039 New native method.
3040 (init): Call addTearOff() when menu.isTearOff().
3041
3042 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3043
3044 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3045 Default implementation.
3046 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3047 Implement using GdkPixbufDecoder.
3048
3049 2004-08-31 David Jee <djee@redhat.com>
3050
3051 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3052 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3053 setting the size of GtkFileDialogPeers.
3054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3055 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3056 use their default sizes rather than their natural requisitions.
3057
3058 2004-08-31 Michael Koch <konqueror@gmx.de>
3059
3060 * javax/swing/JFormattedTextField.java
3061 (JFormattedTextField): Implemented.
3062 * javax/swing/text/DefaultEditorKit.java
3063 (BeepAction): New inner class.
3064 * javax/swing/text/Segment.java
3065 (partialReturn): New field.
3066 (setPartialReturn): New method.
3067 (isPartialReturn): Likewise.
3068 * javax/swing/text/View.java
3069 (createFragment): Fixed typo.
3070 (getStartOffset): New method.
3071 (getEndOffset): Likewise.
3072
3073 2004-08-31 Michael Koch <konqueror@gmx.de>
3074
3075 * javax/swing/table/DefaultTableColumnModel.java
3076 (serialVersionUID): Made private.
3077 (listenerList): Initialize.
3078 (changeEvent): Initialize.
3079 * javax/swing/table/JTableHeader.java
3080 (JTableHeader): New constructors.
3081 (createDefaultColumnModel): New method.
3082 * javax/swing/table/TableColumn.java
3083 (setHeaderRenderer): Simplified code.
3084 (setCellRenderer): Likewise.
3085 (setWidth): Likewise.
3086
3087 2004-08-31 Tom Tromey <tromey@redhat.com>
3088
3089 * java/text/AttributedString.java (AttributedString): Use
3090 ArrayList to build array of attribute ranges. Don't use
3091 `attribs' before it is set.
3092
3093 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3094
3095 * HACKING: Remove reference to special automake. No longer needed.
3096
3097 2004-08-30 Tom Tromey <tromey@redhat.com>
3098
3099 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3100 return result from `add'.
3101
3102 2004-08-30 Tom Tromey <tromey@redhat.com>
3103
3104 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3105
3106 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3107
3108 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3109
3110 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
3111
3112 * java/io/File.java File(String,String): Fixed handling of empty
3113 path.
3114
3115 2004-08-30 Casey Marshall <csm@gnu.org>
3116
3117 Author e-mail updated for all files.
3118 * gnu/java/security/OID.java (equals): Test if the aurgment is an
3119 instance of OID.
3120 (compareTo): Use `equals'.
3121 * gnu/java/security/der/BitString.java (equals): Test if the
3122 argument is an instance of BitString.
3123 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
3124 class final. Made fields private.
3125 (<init>): New constructor.
3126 (skip): New method.
3127 (makeString): Made static; don't use NIO.
3128 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3129 * gnu/java/security/der/DERWriter.java: Fixed imports.
3130 (writeString): Don't use NIO.
3131 (toIso88591, toUtf16Be, toUtf8): New methods.
3132 * gnu/java/security/der/DERValue.java: Formatting changes only.
3133 * gnu/java/security/der/DER.java: Likewise.
3134
3135 2004-08-30 Tom Tromey <tromey@redhat.com>
3136
3137 * java/nio/CharBuffer.java (put): Fix typo.
3138 * java/nio/DoubleBuffer.java (put): Fix typo.
3139 * java/nio/FloatBuffer.java (put): Fix typo.
3140 * java/nio/IntBuffer.java (put): Fix typo.
3141 * java/nio/LongBuffer.java (put): Fix typo.
3142 * java/nio/ShortBuffer.java (put): Fix typo.
3143
3144 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
3145
3146 * java/nio/ByteBuffer.java (put): Fix typo.
3147
3148 2004-08-30 Casey Marshall <csm@gnu.org>
3149
3150 * java/security/DummyKeyPairGenerator.java (clone): Removed
3151 useless instanceof check.
3152 * java/security/DummyMessageDigest.java (clone): Likewise.
3153 * java/security/DummySignature.java (clone): Likewise.
3154 * java/security/MessageDigest.java (clone): Remove useless
3155 instanceof check.
3156 * java/security/MessageDigestSpi.java (clone): Likewise.
3157 * java/security/Signature.java (clone): Provide meaningful
3158 implementation.
3159 * java/security/SignatureSpi.java (clone): Likewise.
3160
3161 2004-08-29 Mark Wielaard <mark@klomp.org>
3162
3163 * java/util/Arrays.java
3164 (sort(byte[], int, int)): Check fromIndex < 0.
3165 (sort(char[], int, int)): Likewise.
3166 (sort(short[], int, int)): Likewise.
3167 (sort(int[], int, int)): Likewise.
3168 (sort(long[], int, int)): Likewise.
3169 (sort(float[], int, int)): Likewise.
3170 (sort(double[], int, int)): Likewise.
3171 (sort(Object[], int, int, Comparator)): Likewise.
3172 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3173 (qsort(char[], int, int)): Likewise.
3174 (qsort(short[], int, int)): Likewise.
3175 (qsort(int[], int, int)): Likewise.
3176 (qsort(long[], int, int)): Likewise.
3177 (qsort(float[], int, int)): Likewise.
3178 (qsort(double[], int, int)): Likewise.
3179
3180 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
3181
3182 * java/util/AbstractCollection.java, java/util/AbstractList.java,
3183 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3184 java/util/ArrayList.java, java/util/Arrays.java,
3185 java/util/BitSet.java, java/util/Calendar.java,
3186 java/util/Collection.java, java/util/ListIterator.java,
3187 java/util/Map.java, java/util/SortedSet.java:
3188 Added additional exceptions to documentation, along
3189 with some additions and corrections.
3190
3191 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
3192
3193 * configure.ac: Handle --enable-gc-debug.
3194 * configure: Regenerate.
3195 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3196 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3197 Rearrange include file order.
3198 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3199 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3200 (disable_gc_mutex): Delete along with all references.
3201 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3202 adjust for debug header size.
3203 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3204 debug case.
3205 (_Jv_AllocArray): Declare min_heap_addr only if needed.
3206 (gcj_describe_type_fn): New.
3207 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3208 Register gcj_describe_type_fn.
3209 * include/boehm-gc.h:
3210 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3211 Don't define, but declare, for debug case.
3212 * java/lang/natObject.cc:
3213 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3214
3215 2004-08-26 Mark Wielaard <mark@klomp.org>
3216
3217 Fixes PR libgcj/17002:
3218 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3219 a TimeZoneId string and then try to convert that to a TimeZone with
3220 getDefaultSystemTimeZone(String).
3221 (timezones0): Changed type from Hashtable to HashMap.
3222 (timezones): Create HashMap, not Hashtable.
3223 (getDefaultTimeZone): New method, rewritten from CNI version.
3224 (readTimeZoneFile): New method.
3225 (readtzFile): Likewise.
3226 (skipFully): Likewise.
3227 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3228 getDefaultTimeZoneId and rewritten.
3229 (getDefaultTimeZoneId): Rewritten in java.
3230
3231 2004-08-25 David Daney <daney@avtrex.com>
3232
3233 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
3234 * Makefile.in: Regenerated.
3235
3236 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
3237
3238 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3239 only if jvmpi is enabled.
3240 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3241 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3242 (_Jv_AllocString): Likewise.
3243 (_Jv_AllocPtrFreeObject): Likewise.
3244
3245 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
3246
3247 * defineclass.cc: Include <stdio.h>.
3248 * java/lang/natClassLoader.cc: Include <stdio.h>.
3249
3250 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
3251 Michael Koch <konqueror@gmx.de>
3252
3253 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3254 * Makefile.in: Regenerated.
3255
3256 2004-08-20 Michael Koch <konqueror@gmx.de>
3257
3258 * configure.ac: Replaced all AC_TRY_COMPILE macros with
3259 AC_COMPILE_IFELSE macros.
3260
3261 2004-08-20 Michael Koch <konqueror@gmx.de>
3262
3263 * configure.in: Renamed to configure.ac.
3264 * configure.ac: New file.
3265 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3266 include/config.h.in, testsuite/Makefile.in: Regenerated.
3267
3268 2004-08-20 Michael Koch <konqueror@gmx.de>
3269
3270 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3271 * aclocal.m4, configure: Regenerated.
3272
3273 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3274 Michael Koch <konqueror@gmx.de>
3275
3276 * configure.in, Makefile.am: Ported to automake 1.9.
3277 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3278 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3279 Regenerated.
3280
3281 2004-08-19 Tom Tromey <tromey@redhat.com>
3282
3283 * java/net/DatagramSocket.java: Fixed typo.
3284
3285 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3286
3287 PR libgcj/17081
3288 * java/net/URI.java (string): New field. Make all other fields
3289 transient.
3290 (readObject): Implemented.
3291 (writeObject): Implemented.
3292 (URI): Set 'string'.
3293
3294 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3295
3296 PR libgcj/17079
3297 * java/util/logging/Handler.java (isLoggable): Accept record if its
3298 log level equals the threshold level. From Robin Green.
3299
3300 2004-08-18 David Daney <ddaney@avtrex.com>
3301
3302 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
3303 instead of sigwait.
3304
3305 2004-08-17 Michael Koch <konqueror@gmx.de>
3306
3307 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3308 * Makefile.in: Regenerated.
3309
3310 2004-08-16 Tom Tromey <tromey@redhat.com>
3311
3312 PR java/8473:
3313 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3314
3315 2004-08-16 Michael Koch <konqueror@gmx.de>
3316
3317 * Makefile.am
3318 (math_c_files): Renamed from c_files.
3319 (math_c_source_files): Renamed from c_source_files.
3320 * Makefile.in,
3321 gcj/Makefile.in,
3322 include/Makefile.in,
3323 testsuite/Makefile.in: Regenerated.
3324
3325 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
3326
3327 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3328 to avoid autoconf warning.
3329 * configure: Rebuilt.
3330
3331 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
3332
3333 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
3334 localhostAddress to loopbackAddress.
3335 * java/net/natInetAddressWin32.cc (lookup): Likewise.
3336
3337 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3338
3339 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
3340 boehm-gc's include dirs.
3341 * configure: Rebuilt.
3342 * include/boehm-gc.h: Include gc_config.h.
3343
3344 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3345
3346 * java/net/InetAddress.java (loopbackAddress): Renamed from
3347 localhostAddress.
3348 (getByName): Return loopback address for null hostname, without
3349 security check. Use lookup(), not getAllByName.
3350 (getAllByName): Return loopback address for null hostname, without
3351 security check.
3352 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3353 check here.
3354
3355 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3356
3357 PR libgcj/17020
3358 Reported by Robin Green.
3359 * defineclass.cc (handleField): Don't throw exception on unrecognised
3360 modifier. Add FIXME comments for spec compliance.
3361 (handleMethod): Likewise.
3362
3363 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
3364
3365 PR libgcj/16662
3366 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3367 (Almost everywhere): add LOG calls, fix, add comments.
3368 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3369 Add explicit check for LOCKED bit in slow case (PR 16662).
3370 (_Jv_MonitorExit): Add casts in debug-only code.
3371 Always release LOCKED bit before throwing exception.
3372 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3373 isn't. Handle easy cases without lock acquisition.
3374 (Object::wait): Use NotifyAll for lock inflation.
3375
3376 2004-08-12 David Daney <ddaney@avtrex.com>
3377
3378 * testsuite/libjava.lang/Process_1.java: New test.
3379 * testsuite/libjava.lang/Process_2.java: New test.
3380 * testsuite/libjava.lang/Process_3.java: New test.
3381 * testsuite/libjava.lang/Process_4.java: New test.
3382 * testsuite/libjava.lang/Process_5.java: New test.
3383 * testsuite/libjava.lang/Process_6.java: New test.
3384 * testsuite/libjava.lang/Process_1.out: Expected result.
3385 * testsuite/libjava.lang/Process_2.out: Expected result.
3386 * testsuite/libjava.lang/Process_3.out: Expected result.
3387 * testsuite/libjava.lang/Process_4.out: Expected result.
3388 * testsuite/libjava.lang/Process_5.out: Expected result.
3389 * testsuite/libjava.lang/Process_6.out: Expected result.
3390
3391 2004-08-12 David Daney <ddaney@avtrex.com>
3392
3393 PR libgcj/11801
3394 * java/lang/PosixProcess.java: Rewrote.
3395 * java/lang/natPosixProcess.cc: Rewrote.
3396 * java/lang/Runtime.java (execInternal): Declare throws IOException.
3397 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3398 * posix-threads.cc (block_sigchld) New function.
3399 (_Jv_ThreadRegister) Use it.
3400 (_Jv_ThreadStart) Use it.
3401 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3402 * Makefile.am: ... to specify extra native headers.
3403 * configure: Regenerated.
3404 * include/config.h: Regenerated.
3405 * Makefile.in: Regenerated.
3406 * gcj/Makefile.in: Regenerated.
3407 * include/Makefile.in: Regenerated.
3408 * testsuite/Makefile.in: Regenerated.
3409
3410 2004-08-12 Diego Novillo <dnovillo@redhat.com>
3411
3412 PR tree-optimization/16867
3413 * testsuite/libjava.lang/PR16867.java: New test.
3414
3415 2004-08-09 Per Bothner <per@bothner.com>
3416
3417 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3418 with private fields and access methods.
3419 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3420 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3421 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3422 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3423 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3424 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3425 * jni.cc: Likewise.
3426 * resolve.cc: Likewise.
3427 * gcj/field.h: Likewise.
3428 * include/jvm.h: Likewise.
3429 * java/lang/Class.h: Likewise.
3430 * java/lang/natClass.cc: Likwise.
3431 * java/lang/natClassLoader.cc: Likewise
3432 * java/lang/reflect/natMethod.cc: Likewise
3433 * verify.cc: Likewise.
3434 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3435 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3436
3437 2004-08-10 Andrew Haley <aph@redhat.com>
3438
3439 * testsuite/libjava.lang/err14.java: New file.
3440 * testsuite/libjava.lang/err14.out: New file.
3441
3442 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3443
3444 * Makefile.am: Fix missing rename from x_nat_headers to
3445 xlib_nat_headers.
3446 * Makefile.in: Regenerated.
3447
3448 2004-08-04 Andrew Haley <aph@redhat.com>
3449
3450 * java/security/BasicPermission.java: Don't check wildcards.
3451
3452 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3453 Michael Koch <konqueror@gmx.de>
3454
3455 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3456 * configure.in: Replaced all usages of AC_LINK_FILES by
3457 AC_CONFIG_LINKS.
3458 * aclocal.m4,
3459 configure: Regenerated.
3460
3461 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3462 Michael Koch <konqueror@gmx.de>
3463
3464 * acconfig.h: Removed.
3465 * Makefile.am: Rename variables for xlib peer to include xlib and
3466 gtk_c_headers to gtk_jni_headers.
3467 * Makefile.in: Regenerated.
3468
3469 2004-08-04 Andrew Haley <aph@redhat.com>
3470
3471 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3472 debugging.
3473
3474 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3475
3476 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3477 Replace most top level 'dnl' comments with '#' comments, conforming
3478 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3479 help strings.
3480 * configure: Rebuilt.
3481
3482 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3483
3484 * acinclude.m4: Include no-executables.m4.
3485 * aclocal.m4: Rebuild.
3486 * configure.in: Convert to the autoconf 2.59 version of
3487 of the no-executables hack, and also of the nonstandard CXX
3488 hack and the multilibbed CC and CXX hack. Change prerequisite
3489 to autoconf 2.59.
3490 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3491 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3492 testsuite/Makefile.in: Regenerate.
3493
3494 2004-08-03 Tom Tromey <tromey@redhat.com>
3495
3496 * jni.cc: Reindented.
3497
3498 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3499
3500 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3501
3502 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3503
3504 * testsuite/libjava.compile/PR16701.java: New test.
3505
3506 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3507
3508 * java/util/Collection.java, java/util/List.java,
3509 java/util/Map.java, java/util/Set.java,
3510 java/util/SortedMap.java, java/util/SortedSet.java:
3511 Added additional exceptions to documentation.
3512
3513 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3514
3515 PR libgcj/16814
3516 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3517 * configure. Regenerate.
3518 * include/win32.h: Explicitly include winsock2.h
3519 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3520 Winsock api.
3521
3522 2004-07-30 Michael Koch <konqueror@gmx.de>
3523
3524 * java/util/zip/GZIPInputStream.java
3525 (GZIPInputStream): Increase buffer size to 4k.
3526 * java/util/zip/GZIPOutputStream.java
3527 (GZIPOutputStream): Likewise.
3528 * java/util/zip/Inflater.java
3529 (setInput): Merged formating with GNU classpath.
3530 * java/util/zip/InflaterInputStream.java
3531 (InflaterInputStream): Increase buffer size to 4k.
3532 (fill): Throw exception if stream ends early.
3533 (read): Merged endless-loop with GNU classpath.
3534 (skip): Increase buffer size to 2k.
3535
3536 2004-07-30 Michael Koch <konqueror@gmx.de>
3537
3538 * gnu/java/awt/EmbeddedWindow.java
3539 (addNotify): Use AccessController to allow execution of privileged
3540 code.
3541
3542 2004-07-29 Michael Koch <konqueror@gmx.de>
3543
3544 * gnu/java/lang/MainThread.java:
3545 Explicitely import used classes.
3546 (args): Make it type String[].
3547
3548 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3549
3550 * gnu/java/awt/ComponentDataBlitOp.java,
3551 gnu/java/beans/ExplicitBeanInfo.java,
3552 gnu/java/beans/IntrospectionIncubator.java,
3553 gnu/java/beans/editors/ColorEditor.java,
3554 gnu/java/beans/editors/FontEditor.java,
3555 gnu/java/beans/editors/NativeBooleanEditor.java,
3556 gnu/java/beans/editors/NativeByteEditor.java,
3557 gnu/java/beans/editors/NativeDoubleEditor.java,
3558 gnu/java/beans/editors/NativeFloatEditor.java,
3559 gnu/java/beans/editors/NativeIntEditor.java,
3560 gnu/java/beans/editors/NativeLongEditor.java,
3561 gnu/java/beans/editors/NativeShortEditor.java,
3562 gnu/java/beans/editors/StringEditor.java,
3563 gnu/java/io/ClassLoaderObjectInputStream.java,
3564 gnu/java/io/decode/Decoder.java,
3565 gnu/java/io/encode/Encoder.java,
3566 gnu/java/lang/ClassHelper.java,
3567 gnu/java/locale/Calendar.java,
3568 gnu/java/locale/Calendar_de.java,
3569 gnu/java/locale/Calendar_en.java,
3570 gnu/java/locale/Calendar_nl.java,
3571 gnu/java/locale/LocaleInformation_de.java,
3572 gnu/java/locale/LocaleInformation_en.java,
3573 gnu/java/locale/LocaleInformation_nl.java:
3574 Cleaned up imports.
3575
3576 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3577
3578 * README: Remove obsolete info. Update bug URL.
3579 * THANKS: Updated.
3580 * NEWS: Updated with news up to GCC 3.4 release.
3581
3582 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3583
3584 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3585 Renamed from 'setName'. New 2-argument form with default value.
3586 (run): Pass default 'value' parameter to System.getProperty().
3587 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3588 typos.
3589 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3590 not 'setName'.
3591
3592 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3593
3594 * configure.in: Check for minimum GTK version 2.4 requirement.
3595 * configure: Rebuilt.
3596
3597 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3598
3599 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3600 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3601 Reduce sleep time.
3602 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3603 compiler bug.
3604 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3605 address. Reduce sleep times. Synchronize with target threads before
3606 attempting to interrupt them. Don't try to calibrate yeild count,
3607 instead, always loop for a fixed time.
3608 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3609 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3610 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3611 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3612 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3613 * testsuite/libjava.lang/pr179.java: Likewise.
3614 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3615 time. Remove upper bounds check on sleep time.
3616
3617 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3618
3619 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3620 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3621
3622 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3623
3624 * java/io/File.java (toURI): Throw RuntimeException, not
3625 InternalError.
3626 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3627 class name, not instance.
3628
3629 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3630
3631 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3632 and gnu/java/security/action/SetAccessibleAction.java.
3633 * Makefile.in: Rebuilt.
3634
3635 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3636
3637 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3638 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3639 _Jv_InitPrimClass.
3640 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3641 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3642 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3643
3644 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3645
3646 * Makefile.am: Replace jar, rmic and rmiregistry references with
3647 gjar, grmic and grmiregistry.
3648 * configure.in: Likewise.
3649 * Makefile.in: Regenerate.
3650 * configure: Likewise.
3651 * gcj/Makefile.in: Likewise.
3652 * include/Makefile.in: Likewise.
3653 * testsuite/Makefile.in: Likewise.
3654
3655 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3656
3657 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3658 for privileged getProperty calls.
3659 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3660 SetAccessibleAction instead of anonymous class for doPrivileged call.
3661 (getMethod): Likewise.
3662 (setAccessible): New field. PrivilegedAction object to use when
3663 calling setAccessible.
3664 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3665 SetAccessibleAction instead of anonymous class for diPrivileged call.
3666 (setFields): Likewise.
3667 (getClassUID): Likewise.
3668 (findMethod): Likewise.
3669 * gnu/java/security/action/GetPropertyAction.java: New class.
3670 * gnu/java/security/action/SetAccessibleAction.java: New class.
3671
3672 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3673
3674 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3675 for final fields.
3676 * testsuite/libjava.lang/Serialization.java: New test.
3677 * testsuite/libjava.lang/Serialization.out: New.
3678
3679 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3680
3681 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3682 missed in last commit.
3683
3684 2004-07-23 Mark Wielaard <mark@klomp.org>
3685
3686 * java/lang/System.java (static): Set http.agent system property when
3687 not yet set.
3688 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3689 from system property inside AccessController.doPrivileged() call.
3690 (proxyPort): Made package private.
3691 (proxyInUse): Likewise.
3692 (proxyHost): Likewise.
3693 (userAgent): Likewise.
3694
3695 2004-07-23 Mark Wielaard <mark@klomp.org>
3696
3697 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3698 implementation.
3699
3700 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3701
3702 * Makefile.am (ordinary_java_source_files): Add
3703 DefaultContentHandlerFactory.java.
3704 * Makefile.in: Rebuilt.
3705 * java/net/URLConnection.java (defaultFactory): New field.
3706 (getContent):
3707 (getContentHandler): Renamed from 'setContentHandler'. Try
3708 defaultFactory after user-set factory, if any. Search for content
3709 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3710 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3711 Implemented.
3712 (getLastModified): Implemented.
3713 (getPermission): Create file permission here, instead of in
3714 constructor.
3715 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3716 Implemented.
3717 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3718 Implemented.
3719 (getLastModified): Implemented.
3720 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3721 Default implementation.
3722 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3723 Implement using GdkPixbufDecoder.
3724
3725 2004-07-21 Michael Koch <konqueror@gmx.de>
3726
3727 * javax/swing/JTextArea.java
3728 (setLineWrap): Fire property change event after new value is set.
3729 (setTabSize): Likewise.
3730
3731 2004-07-21 Michael Koch <konqueror@gmx.de>
3732
3733 * javax/swing/JTable.java
3734 (autoCreateColumnsFromModel): New field.
3735 (autoResizeMode): Likewise.
3736 (cellEditor): Likewise.
3737 (cellSelectionEnabled): Likewise.
3738 (columnModel): Likewise.
3739 (dataModel): Likewise.
3740 (defaultEditorsByColumnClass): Likewise.
3741 (defaultRenderersByColumnClass): Likewise.
3742 (editingColumn): Likewise.
3743 (editingRow): Likewise.
3744 (gridColor): Likewise.
3745 (preferredViewportSize): Likewise.
3746 (rowHeight): Likewise.
3747 (rowMargin): Likewise.
3748 (rowSelectionAllowed): Likewise.
3749 (selectionBackground): Likewise.
3750 (selectionForeground): Likewise.
3751 (selectionModel): Likewise.
3752 (showHorizontalLines): Likewise.
3753 (showVerticalLines): Likewise.
3754 (tableHeader): Likewise.
3755 (JTable): Implemented.
3756 (getColumnModel): Likewise.
3757 (getSelectedRow): Likewise.
3758 (getSelectionModel): Likewise.
3759 (setModel): Likewise.
3760 (setSelectionModel): Likewise.
3761 (createScrollPaneForTable): New method.
3762 (createDefaultDataModel): Likewise.
3763 (createDefaultListSelectionModel): Likewise.
3764 (getModel): Likewise.
3765 (getTableHeader): Likewise.
3766 (setTableHeader): Likewise.
3767 (getColumnSelectionAllowed): Likewise.
3768 (setColumnSelectionAllowed): Likewise.
3769 (getRowSelectionAllowed): Likewise.
3770 (setRowSelectionAllowed): Likewise.
3771 (getAutoResizeMode): Likewise.
3772 (setAutoResizeMode): Likewise.
3773 (getColumnCount): Likewise.
3774 (getRowCount): Likewise.
3775 (getCellRenderer): Likewise.
3776 * javax/swing/JTree.java
3777 (cellRenderer): New field.
3778 (editable): Likewise.
3779 (rootVisible): Likewise.
3780 (showsRootHandles): Likewise.
3781 (getModel): New method.
3782 (setModel): Likewise.
3783 (isEditable): Likewise.
3784 (setEditable): Likewise.
3785 (isRootVisbile): Likewise.
3786 (setRootVisible): Likewise.
3787 (getShowsRootHandles): Likewise.
3788 (setShowRootHandles): Likewise.
3789 (getCellRenderer): Likewise.
3790 (setCellRenderer): Likewise.
3791
3792 2004-07-21 Michael Koch <konqueror@gmx.de>
3793
3794 * javax/swing/JFormattedTextField.java
3795 (setDocument): Implemented.
3796 * javax/swing/JRootPane.java:
3797 Fixed javadocs.
3798 * javax/swing/JTable.java
3799 (getDefaultRenderer): New method.
3800 * javax/swing/JTextField.java
3801 (setFont): Likewise.
3802 (getPreferredSize): Likewise.
3803 * javax/swing/JToggleButton.java
3804 (getAccessibleContext): Fix javadoc.
3805 * javax/swing/JTree.java:
3806 Add some javadocs.
3807 * javax/swing/JViewport.java:
3808 Likewise.
3809
3810 2004-07-21 David Jee <djee@redhat.com>
3811
3812 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3813 Collect all native method declaration at the top.
3814 (create): Set the filename filter if necessary.
3815 (setDirectory): Call nativeSetDirectory().
3816 (setFilenameFilter): Implement.
3817 (filenameFilterCallback): New method.
3818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3819 (create): Configure dialog to show hidden files.
3820 (filenameFilterCallback): New function.
3821 (nativeSetFilenameFilter): New function.
3822 (nativeSetDirectory): New function.
3823
3824 2004-07-21 Kim Ho <kho@redhat.com>
3825
3826 * javax/swing/plaf/basic/BasicSliderUI.java:
3827 Ran Jalopy.
3828 (paintTrack): Fill the track before painting
3829 the borders.
3830
3831 2004-07-21 Graydon Hoare <graydon@redhat.com>
3832
3833 patch from Roman Kennke <roman@ontographics.com>
3834 * javax/swing/Spring.java: New file.
3835 * javax/swing/SpringLayout.java: New file.
3836 * Makefile.am: Add new files.
3837 * Makefile.in: Regenerate.
3838
3839 2004-07-21 Graydon Hoare <graydon@redhat.com>
3840
3841 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3842 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3843 * javax/swing/ScrollPaneLayout.java: Likewise.
3844
3845 2004-07-21 Kim Ho <kho@redhat.com>
3846
3847 * javax/swing/DefaultDesktopManager.java:
3848 (findMinimum): Removed.
3849 (resizeFrame): Trust the UI to pass valid
3850 bounds.
3851 * javax/swing/JOptionPane.java:
3852 Implemented showInternalXXXDialog methods.
3853 (startModal): New method.
3854 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3855 (BorderListener::mouseDragged): Verify that the new
3856 bounds are valid before passing them to the DesktopManager.
3857 (preferredLayoutSize): Delegate
3858 to getSize.
3859 (minimumLayoutSize): Ditto.
3860 (getSize): New method.
3861 (GlassPaneDispatcher): Reimplemented by copying
3862 a stripped down LightweightDispatcher from Container.
3863 (getMinimumSize): Call minimumLayoutSize.
3864 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3865 Ran Jalopy.
3866 (mousePressed): Add ability to properly close
3867 JInternalFrames.
3868 * javax/swing/plaf/basic/BasicToolBarUI.java:
3869 (DragWindow): Set owner for DragWindow.
3870
3871 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3872
3873 * java/awt/image/ShortLookupTable.java: New file.
3874 * java/awt/image/ByteLookupTable.java: New file.
3875 * Makefile.am: Added new files.
3876 * Makefile.in: Regenerated.
3877
3878 2004-07-21 David Jee <djee@redhat.com>
3879
3880 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3881 (create(GtkContainerPeer)): New native method.
3882 (create()): Call native create(), passing in the parent frame
3883 as the paramter. Natively set the current file and directory.
3884 (setFile): Construct an absolute filename before passing it to
3885 the native peer.
3886 (nativeGetDirectory): New method.
3887 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3888 (window_closed): Removed.
3889 (ok_clicked): Likewise.
3890 (cancel_clicked): Likewise.
3891 (handle_response): New method.
3892 (create): Use GtkFileChooserDialog.
3893 (connectSignals): Connect to handle_response.
3894 (nativeGetDirectory): New method.
3895 (nativeSetFile): Use GtkFileChooserDialog.
3896
3897 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3898
3899 * java/awt/image/LookupTable.java: New file.
3900 * Makefile.am: Added new file.
3901 * Makefile.in: Regenerated.
3902
3903 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3904
3905 * java/awt/image/Kernel.java: New file.
3906 * Makefile.am: Added new file.
3907 * Makefile.in: Regenerated.
3908
3909 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3910
3911 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3912 * javax/swing/JMenu.java: Likewise.
3913 * javax/swing/JMenuBar.java: Likewise.
3914 (MARGIN_CHANGED_PROPERTY): New property.
3915 (setMargin): Implemented.
3916 * javax/swing/JMenuItem.java: Fixed javadocs.
3917 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3918 (LABEL_CHANGED_PROPERTY): New property.
3919 (add): changed to use createActionComponent.
3920 (createActionComponent): Implemented.
3921 (setLabel): Fire PropertyChangeEvent if label property
3922 changes.
3923 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3924 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3925 (ContainerHandler): Repaint if margin property has changed.
3926 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3927 (installUI): Call installComponents().
3928 (uninstallUI): Call uinstallComponents().
3929 * javax/swing/plaf/basic/BasicMenuUI.java:
3930 Fixed javadocs.
3931 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3932 Likewise.
3933
3934 2004-07-21 Kim Ho <kho@redhat.com>
3935
3936 * javax/swing/plaf/basic/BasicToolBarUI.java:
3937 (DragWindow): Use the right constructor.
3938
3939 2004-07-21 Kim Ho <kho@redhat.com>
3940
3941 * javax/swing/JToolBar.java:
3942 (layoutContainer): Use getComponents.
3943 * javax/swing/plaf/basic/BasicToolBarUI.java:
3944 (DragWindow): Don't use SwingUtilities'
3945 getOwnerFrame
3946 (ToolBarDialog): ditto.
3947
3948 2004-07-21 Kim Ho <kho@redhat.com>
3949
3950 * javax/swing/JRootPane.java:
3951 Ran jalopy.
3952 (layoutContainer): Set the glasspane's size to
3953 be the same as the content pane.
3954 (createGlassPane): Set opaque property to false.
3955
3956 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3957
3958 * java/awt/Component.java (requestFocus()): Don't handle Panels
3959 specially.
3960 (requestFocus(boolean)): Likewise.
3961 (requestFocusInWindow(boolean)): Likewise.
3962 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3963 Set GTK_CAN_FOCUS flag.
3964
3965 2004-07-21 Kim Ho <kho@redhat.com>
3966
3967 * Makefile.am: Added new file.
3968 * Makefile.in: Regenerated.
3969 * gcj/Makefile.in: Regenerated.
3970 * include/Makefile.in: Regenerated.
3971 * javax/swing/AbstractButton.java:
3972 Add rollOverEnabled property.
3973 (setRolloverEnabled): Use new property.
3974 (isRolloverEnabled): Use new property.
3975 * javax/swing/JTabbedPane.java:
3976 (setComponent): Remove useless JTabbedPane.this.
3977 * javax/swing/JToolBar.java: Finish implementation.
3978 * javax/swing/plaf/basic/BasicArrowButton.java:
3979 (paint): Moved border painting to a border.
3980 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3981 Change JToolBar look and feel defaults.
3982 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3983 (actionPerformed): Return Integer index instead of name.
3984 (addButtonComponents): Check to see if component is
3985 JButton last.
3986 (createMessageArea): Don't use components that are not
3987 completed yet.
3988 (getIconForType): Use temporary icons.
3989 * javax/swing/plaf/basic/BasicSliderUI.java:
3990 (mousePressed): Do not return if it's on thumb.
3991 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3992 (paintMinorTickForVertSlider): ditto.
3993 (paintMajorTickForHorizSlider): ditto.
3994 (paintMajorTickForVertSlider): ditto.
3995 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3996 Add a border around the SplitPaneDivider.
3997 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3998 Remove comments.
3999 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4000 New file. Implemented.
4001 * javax/swing/plaf/basic/BasicToolBarUI.java:
4002 Implemented.
4003 * testsuite/Makefile.in: Regenerated.
4004
4005 2004-07-21 Graydon Hoare <graydon@redhat.com>
4006
4007 * javax/swing/Timer.java (run): Queue events each time cycle.
4008
4009 2004-07-21 David Jee <djee@redhat.com>
4010
4011 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4012 (imageComplete): Call image.imageComplete().
4013 * java/awt/image/MemoryImageSource.java:
4014 Reimplement consumers as a Vector instead of a Hashtable. This is
4015 because enumeration on a Hashtable is not thread-safe.
4016 (addConsumer): Adapt to Vector consumers.
4017 (isConsumer): Adapt to Vector consumers.
4018 (removeConsumer): Adapt to Vector consumers.
4019 (startProduction): Adapt to Vector consumers. Call imageComplete()
4020 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4021 (newPixels): Adapt to Vector consumers.
4022 (sendPicture): Set the color model of the image consumer.
4023 (newPixels(IIII)): Adapt to Vector consumers.
4024 (newPixels(IIIIB)): Adapt to Vector consumers.
4025
4026 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4027
4028 * java/awt/Component.java (deliverEvent): Implement.
4029 (postEvent): Implement.
4030 (handleEvent): Implement.
4031 (translateEvent): New method.
4032 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
4033 * java/awt/Container.java (deliverEvent): Implement.
4034 * java/awt/Event.java (paramString): Fix formatting.
4035 * java/awt/Font.java (toString): Likewise.
4036 * java/awt/Window.java (postEvent): Implement.
4037
4038 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4039
4040 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4041 Set window's focus owner upon receiving a FOCUS_LOST event.
4042 * java/awt/Window.java (Window()): Refocus the previously
4043 focused component within the window when the window regains the
4044 top-level focus.
4045 (setFocusOwner): New method.
4046 * java/awt/Component.java (requestFocus): Add FIXME.
4047
4048 * libgcj.pc.in: Remove library flags.
4049
4050 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4051
4052 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4053 MOUSE_PRESSED event.
4054 * java/awt/Component.java (requestFocus()): Handle Panel
4055 specially. Post FOCUS_LOST event on opposite component.
4056 (requestFocus(boolean)): Likewise.
4057 (requestFocusInWindow(boolean)): Likewise.
4058 (paramString): Reorder dimension fields.
4059 * java/awt/Container.java (paramString): Fix string format.
4060 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4061 Handle FOCUS_LOST events. Don't handle Windows specially. Only
4062 process key events if the focus owner is non-null.
4063 (dispatchKeyEvent): Likewise.
4064 * java/awt/Frame.java (paramString): Fix formatting.
4065 (generateName): New method.
4066 (getUniqueLong): Likewise.
4067 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4068 the temporary focus owner is null. If so, return the permanent
4069 focus owner.
4070 * java/awt/Panel.java (generateName): New method.
4071 (getUniqueLong): Likewise.
4072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4073 signal handling to make callbacks more specific.
4074
4075 2004-07-21 Michael Koch <konqueror@gmx.de>
4076
4077 * javax/swing/text/Position.java
4078 (Bias): Implemented.
4079
4080 2004-07-21 Michael Koch <konqueror@gmx.de>
4081
4082 * javax/swing/LookAndFeel.java
4083 (provideErrorFeedback): New method.
4084
4085 2004-07-21 Michael Koch <konqueror@gmx.de>
4086
4087 * javax/swing/JTextArea.java
4088 (tabSize): New field.
4089 (getTabSize): New method.
4090 (setTabSize): Likewise.
4091
4092 2004-07-21 Michael Koch <konqueror@gmx.de>
4093
4094 * javax/swing/ActionMap.java:
4095 Fixed javadocs all over.
4096 (serialVersionUID): Made private.
4097 (parent): Don't explicitely initialize with default value.
4098 (get): SImplified.
4099 (keys): Reimplemented.
4100 (allKeys): Likewise.
4101 (convertSet): Removed.
4102 * javax/swing/ComponentInputMap.java:
4103 Fixed javadocs all over.
4104 (ComponentInputMap): Implemented.
4105 (put): Likewise.
4106 (clear): Likewise.
4107 (remove): Likewise.
4108 (SetParent): Likewise.
4109 (getComponent): Likewise.
4110 * javax/swing/InputMap.java:
4111 Fixed javadocs all over.
4112 (serialVersionUID): Made private.
4113 (parent): Don't explicitely initialize with default value.
4114 (get): SImplified.
4115 (keys): Reimplemented.
4116 (allKeys): Likewise.
4117 (convertSet): Removed.
4118
4119 2004-07-21 Michael Koch <konqueror@gmx.de>
4120
4121 * javax/swing/ActionMap.java,
4122 javax/swing/ComponentInputMap.java,
4123 javax/swing/InputMap.java,
4124 javax/swing/table/DefaultTableColumnModel.java,
4125 javax/swing/table/TableColumn.java,
4126 javax/swing/table/TableColumnModel.java,
4127 javax/swing/table/TableModel.java,
4128 javax/swing/text/AbstractDocument.java,
4129 javax/swing/text/TextAction.java:
4130 Reformated.
4131
4132 2004-07-21 Graydon Hoare <graydon@redhat.com>
4133
4134 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
4135 Make method non-static.
4136 * javax/swing/AbstractButton.java:
4137 Rename fields to match property names where possible.
4138 (iconTextGap): New property.
4139 * javax/swing/JCheckBox.java: Match AbstractButton changes.
4140 (init) New method, call from after various constructors.
4141 * javax/swing/JComponent.java (revalidate):
4142 Invalidate before queueing repair.
4143 * javax/swing/JList.java (getPreferredScrollableViewportSize):
4144 Reimplement in terms of visibleRowCount property.
4145 * javax/swing/JMenuButton.java: Match AbstractButton changes.
4146 * javax/swing/JScrollPane.java (createScrollListener):
4147 Remove tracing chatter.
4148 * javax/swing/JToggleButton.java: Match AbstractButton changes.
4149 * javax/swing/RepaintManager.java (addInvalidComponent):
4150 Don't invalidate.
4151 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4152 calculations.
4153 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
4154 Mimic sun behavior on top left/right positioning.
4155 * javax/swing/ViewportLayout.java (preferredLayoutSize):
4156 Remove mistaken use of preferredScrollableViewportSize here.
4157 (layoutContainer): Use view's preferred size as basis.
4158 * javax/swing/plaf/basic/BasicButtonUI.java:
4159 Set, get, and use textIconGap property.
4160 (paint) Paint text returned from layout (with ellipsis).
4161 * javax/swing/plaf/basic/BasicListUI.java:
4162 Remove tracing chatter, correct various minor calculations.
4163 (getCellBounds): Update layout state before calculating.
4164 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4165 Use margin default similar to sun's.
4166 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4167 (createIncreaseIcon): Center icon, minimize margins.
4168 (createDecreaseIcon): Likewise.
4169 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4170 Implement.
4171 (installUI): Call it.
4172 (uninstallDefaults): Implement.
4173 (uninstallUI): Call it.
4174 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4175 Call existing Window constructor.
4176 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4177 Set clip before painting.
4178
4179 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4180
4181 * javax/swing/JMenuItem.java:
4182 (processMouseEvent): Reimplemented to deal with
4183 mouse drag events.
4184 (createMenuDragMouseEvent): New private helper method.
4185 Creates MenuDragMouseEvent.
4186 * javax/swing/MenuSelectionManager.java
4187 (componentForPoint): Implemented.
4188 (isComponentPartOfCurrentMenu): Made public.
4189 (processMouseEvent): Reimplemented to deal with
4190 mouse drag events.
4191 (setSelectedPath): Corrected small mistake that caused
4192 path to be set incorrectly.
4193 (getPath): If given component is JMenu then also add this
4194 menu's popup menu to the selected path.
4195 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4196 (getPath): Ditto.
4197 (getPreferredSize): Call getPreferredMenuItemSize().
4198 (getPreferredItemSize): Moved code from getPreferredSize to here.
4199 (installListeners): Install MouseMotionListeners.
4200 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
4201 if mouse wasn't released in the bounds of this menu item.
4202 (MenuDragMouseHandler): Implemented.
4203 * javax/swing/plaf/basic/BasicMenuUI.java:
4204 (installListeners): Install MouseMotionListener and
4205 MenuDrageMouseListener.
4206 (MenuDragMouseHandler): Implemented.
4207 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4208 (uninstallListeners): Implemented.
4209
4210 2004-07-21 Michael Koch <konqueror@gmx.de>
4211
4212 * javax/swing/JCheckBox.java: Reformated.
4213 (JCheckBox): Fixed all constructors.
4214 (isBorderPaintedFlat): New method.
4215 (setBorderPaintedFlat): New method.
4216 * javax/swing/JEditorPane.java
4217 (createEditorKitForContentType): Made public.
4218 (scrollToReference): Likewise.
4219 * javax/swing/JTextArea.java
4220 (setLineWrap): Fire property change.
4221 * javax/swing/JToggleButton.java
4222 (JToggleButton): New constructor.
4223 (JToggleButton): Simplified.
4224 * javax/swing/text/AttributeSet.java
4225 (FontAttribute): Renamed from FontCharacterAttribute.
4226 * javax/swing/text/JTextComponent.java
4227 (KeyBinBinding): Added javadoc.
4228 (JTextComponent): Likewise.
4229 (getAccessibleContext): Fixed javadoc.
4230 * javax/swing/text/View.java
4231 (View): Added javadoc.
4232 * javax/swing/text/TabableView.java: New file.
4233 * Makefile.am: Added javax/swing/text/TabableView.java.
4234 * Makefile.in: Regenerated.
4235
4236 2004-07-21 Graydon Hoare <graydon@redhat.com>
4237
4238 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4239 * gnu/java/awt/peer/gtk/GtkToolkit.java
4240 (GtkErrorImage): New helper class.
4241 (bufferedImageOrError): New helper method.
4242 (createImage): Use it.
4243
4244 2004-07-21 David Jee <djee@redhat.com>
4245
4246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4247 (setCaretPosition): Scroll the text view so the new caret position
4248 is visible on screen.
4249
4250 2004-07-21 David Jee <djee@redhat.com>
4251
4252 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4253 (setBounds): Do not validate awtComponent here.
4254 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4255 (getPreferredSize): New method.
4256 * java/awt/ScrollPane.java
4257 (ScrollPane): Set default size to 100x100.
4258 (addNotify): If child is not a Panel, wrap it with a new Panel.
4259 (paramString): Implement.
4260
4261 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4262
4263 * javax/swing/JMenu.java:
4264 (setSelected): Display popup menu only if this menu
4265 is showing on the screen.
4266 * javax/swing/JPopupMenu.java:
4267 (processMouseEvent): Added comment.
4268 (processKeyEvent): Likewise.
4269 * javax/swing/MenuSelectionManager.java:
4270 (clearSelectedPath): Only fireStateChanged() after
4271 selected path was changed, not before.
4272 (setSelectedPath): Likewise.
4273 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4274 (paintMenuItem): Corrected position of menu item's
4275 icon.
4276 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4277 (installUI): Correct setDefaultLightWeightPopupEnabled call.
4278 (popupMenuCanceled): Reimplemented.
4279 (popupMenuWillBecomeVisible): Select first menu item by default
4280 when displaying free floating popup menus.
4281 (TopWindowListener): Reimplemented.
4282
4283 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4284
4285 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4286 Panel from being painted twice when it is first shown.
4287
4288 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4289
4290 * java/awt/Window.java: Reverted changes from my
4291 previous patch for creating window without an owner.
4292 * javax/swing/SwingUtilities.java:
4293 (SwingUtilities.OwnerFrame): made static.
4294 (OwnerFrame.setVisible): New method. Overridden with
4295 empty implementation.
4296 (OwnerFrame.isShowing): New method. Ovverridden
4297 to return always true.
4298
4299 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4300
4301 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4302 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4303 (GtkComponentPeer): Remove temporary try/catch block.
4304 (setVisible): Call show and hide.
4305 (show): Make native.
4306 (hide): Likewise.
4307 (getArgs): Don't add "visible" argument.
4308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4309 (property_notify_predicate): Return Bool instead of int.
4310 (find_layout): New function.
4311 (connectJObject): Call find_layout.
4312 (connectSignals): Likewise.
4313 (moveLayout): Likewise.
4314 (gtkLayoutSetVisible): Likewise.
4315
4316 2004-07-21 Mark Wielaard <mark@klomp.org>
4317
4318 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4319 on notifier object before calling notifyAll().
4320
4321 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4322
4323 * java/awt/Window.java: Changed constructors to use new
4324 method that is described below. Constructors call this
4325 methods only if newly created window should have an owner.
4326 (setWindowOwner): New method. Implementation for
4327 this method is moved from this(owner,configuration).
4328 * javax/swing/JWindow.java:
4329 (JWindow): Reimplement to use SwingUtilities.ownerFrame
4330 instead of owner.
4331 * javax/swing/SwingUtilities.java:
4332 (ownerFrame): Change type of this field to OwnerFrame.
4333 (getOwnerFrame): Changed to return object of type OwnerFrame.
4334 (SwingUtilities.OwnerFrame): New class. Represents owner
4335 of a Window that is not provided with one.
4336
4337 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4338
4339 * javax/swing/AbstractButton.java:
4340 (configurePropertiesFromAction): Set action command
4341 to button's text by default if action command is not
4342 explicitely specified.
4343 * javax/swing/JMenu.java: Remove unnecessary listener
4344 and methods relevant to it.
4345 (setSelected): Reimplemented.
4346 (menuSelectionChanged): Moved most part of implementation to
4347 setSelected() and call it instead.
4348 * javax/swing/JMenuItem.java:
4349 (init): Comment out statement that sets paint_border to false.
4350 (configurePropertiesFromAction): Do not set accelerator
4351 for JMenu.
4352 (menuSelectionChanged): Change selected index in the selection
4353 model of menu item's parent.
4354 * javax/swing/JPopupMenu.java:
4355 (remove): Set constraints.fill field to GridBagConstraints.BOTH
4356 instead of GridBagConstraints.HORIZONTAL.
4357 (insert): Likewise.
4358 (createActionChangeListener): Implemented.
4359 (setVisible): Correct location of HeavyWeightMenu and
4360 don't firePopupMenuCanceled().
4361 (menuSelectionChanged): Implemented.
4362 (ActionChangeListener): New Listener. Implemented.
4363 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4364 (BasicMenuBarUI.ContainerHandler): Implemented.
4365 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4366 (paintMenuItem): Uncommented out code that paints
4367 icon, now that icons are working properly.
4368 (PropertyChangeListener): Implemented.
4369 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4370 Added javadocs.
4371 (topWindowListener): New field.
4372 (Constructor): initialize topWindowListener.
4373 (BasicPopupMenuUI.TopWindowListener): Implemented.
4374 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4375 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4376 Implemented.
4377
4378 2004-07-21 Michael Koch <konqueror@gmx.de>
4379
4380 * javax/swing/plaf/basic/BasicButtonUI.java
4381 (paintFocus): Fixed method signature.
4382 (paintButtonPressed): Likewise.
4383 (paintButtonNormal): Likewise.
4384 (paintText): New method.
4385 * javax/swing/plaf/basic/BasicLabelUI.java
4386 (paint): Re-indented.
4387 * javax/swing/plaf/basic/BasicTextUI.java
4388 (installUI): Set parent textComponent to opaque.
4389 * javax/swing/text/DefaultHighlighter.java
4390 (checkPositions): New helper method.
4391 (addHighlight): Throws BadLocationException, check positions.
4392 (changeHighlight): Likewise.
4393 * javax/swing/text/EditorKit.java
4394 (EditorKit): Implements Serializable.
4395 * javax/swing/text/JTextComponent.java
4396 (getUI): Added javadoc.
4397 (setUI): Likewise.
4398 (upadteUI): Added javadoc, don't revalidate and repaint.
4399
4400 2004-07-21 David Jee <djee@redhat.com>
4401
4402 * java/awt/GridBagLayout.java
4403 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4404 * javax/swing/AbstractButton.java
4405 (setText): Reindent.
4406 * javax/swing/RepaintManager.java
4407 (addInvalidComponent): Find the first ancestor that isValidateRoot().
4408
4409 2004-07-21 Michael Koch <konqueror@gmx.de>
4410
4411 * javax/swing/JFormattedTextField.java
4412 (value): New field.
4413 (JFormattedTextField): Implemented.
4414 (getValue): Likewise.
4415 (setValue): Likewise.
4416 * javax/swing/LookAndFeel.java
4417 (getSupportsWindowDecorations): New method.
4418 * javax/swing/UIDefaults.java:
4419 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4420 (addPropertyChangeListener): Made public.
4421 (addResourceBundle): Likewise.
4422 (removeResourceBundle): Likewise.
4423 (setDefaultLocale): Likewise.
4424 * javax/swing/plaf/basic/BasicRootPaneUI.java
4425 (BasicRootPaneUI): Implements PropertyChangeListener.
4426 (propertyChange): New method.
4427 * javax/swing/plaf/basic/BasicTextUI.java
4428 (BasicHighlighter): New inner class.
4429 (createHighlighter): New method.
4430 * javax/swing/plaf/basic/BasicToolBarUI.java
4431 (DragWindow): Extends java.awt.Window.
4432 * javax/swing/text/JTextComponent.java
4433 (getDocument): Removed debug output.
4434 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4435 javax/swing/text/DefaultHighlighter.java,
4436 javax/swing/text/FieldView.java,
4437 javax/swing/text/PlainView.java: New files.
4438 * Makefile.am: Added new files.
4439 * Makefile.in: Regenerated.
4440
4441 2004-07-21 Michael Koch <konqueror@gmx.de>
4442
4443 * javax/swing/JEditorPane.java
4444 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4445 (createEditorKitForContentType): Likewise.
4446 * javax/swing/text/DefaultEditorKit.java
4447 (serialVersionUID): Added constant field.
4448 (EndOfLineStringPropery): Fixed typo.
4449 (DefaultEditorKit): New constructor.
4450 * javax/swing/text/Segment.java:
4451 Import java.text.CharacterIterator.
4452 * javax/swing/text/CharacterIterator.java,
4453 javax/swing/text/PlainEditorKit.java: Removed.
4454 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4455 javax/swing/text/PlainEditorKit.java.
4456 * Makefile.in: Regenerated.
4457
4458 2004-07-21 Michael Koch <konqueror@gmx.de>
4459
4460 * javax/swing/JButton.java,
4461 javax/swing/text/DefaultEditorKit.java,
4462 javax/swing/text/EditorKit.java,
4463 javax/swing/text/Segment.java,
4464 javax/swing/text/StyledEditorKit.java:
4465 Reformatted.
4466
4467 2004-07-21 Michael Koch <konqueror@gmx.de>
4468
4469 * javax/swing/ImageIcon.java
4470 (file): Removed.
4471 (description): Renamed from descr.
4472 (ImageIcon): Added missing constructors.
4473 (setParent): Removed.
4474 (setImageObserver): New method.
4475 (getImageObserver): New method.
4476 (paintIcon): Handle observer = null.
4477 * javax/swing/JButton.java
4478 (removeNotify): Fixed javadoc.
4479 (updateUI): Simplified.
4480 * javax/swing/JRootPane.java
4481 (serialVersionUID): New constant field.
4482 * javax/swing/UIManager.java:
4483 Fixed javadocs all over.
4484 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4485 * javax/swing/text/AbstractDocument.java
4486 (createPosition): Throws BadLocationException.
4487 (getText): Likewise.
4488 (remove): Likewise.
4489 * javax/swing/text/ComponentView.java
4490 (modelToView): Likewise.
4491 * javax/swing/text/DefaultEditorKit.java:
4492 Made all public methods public.
4493 (read): Throws BadLocationException and IOException.
4494 (write): Likewise.
4495 * javax/swing/text/EditorKit.java:
4496 Made all public methods public.
4497 (serialVersionUID): New constant field.
4498 (clone): New method.
4499 (read): Throws BadLocationException and IOException.
4500 (write): Likewise.
4501 * javax/swing/text/Segment.java
4502 (array): Made public.
4503 (count): Likewise.
4504 (offset): Likewise.
4505 (Segment): New constructors.
4506 (clone): Reimplemented.
4507 * javax/swing/text/StyledEditorKit.java
4508 (serialVersionUID): New constant field.
4509
4510 2004-07-21 Graydon Hoare <graydon@redhat.com>
4511
4512 * java/awt/image/BufferedImage.java
4513 (getSource): Implement.
4514 * javax/swing/ImageIcon.java
4515 (ImageIcon): Implement ctor.
4516 * javax/swing/ScrollPaneLayout.java
4517 (preferredLayoutSize): Be more careful about nulls.
4518
4519 2004-07-21 Michael Koch <konqueror@gmx.de>
4520
4521 * javax/swing/text/AttributeSet.java
4522 (CharacterAttribute): New interface
4523 (ColorAttribute): Likewise.
4524 (FontCharacterAttribute): Likewise.
4525 (ParagraphAttribute): Likewise.
4526 * javax/swing/text/DefaultCaret.java
4527 (moveCaret): New method.
4528 (positionCaret): Likewise.
4529 (repaint): Made protected.
4530 * javax/swing/text/JTextComponent.java
4531 (KeyBinding): Made it static.
4532 * javax/swing/text/View.java
4533 (getContainer): Honor parent == null.
4534
4535 2004-07-21 Michael Koch <konqueror@gmx.de>
4536
4537 * javax/swing/text/AbstractDocument.java:
4538 Reformatted.
4539
4540 2004-07-21 Michael Koch <konqueror@gmx.de>
4541
4542 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4543 Import javax.swing.UIManager explicitely.
4544 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4545 (ScrollingButton): Made it static.
4546
4547 2004-07-21 Michael Koch <konqueror@gmx.de>
4548
4549 * javax/swing/UIDefaults.java
4550 (ActiveValue): Made public.
4551 (LazyValue): Likewise.
4552 * javax/swing/plaf/basic/BasicTextUI.java
4553 (RootView): Reintroduced.
4554 (view): Removed.
4555 (rootView): New field.
4556 (installUI): Create document if needed, initialize rootView.
4557 (uninstallUI): Hanle rootView.
4558 (paint): Likewise.
4559 (getRootView): Likewise.
4560 (setView): Likewise.
4561 * javax/swing/text/DefaultCaret.java:
4562 Renamed all "evt" variables to "event".
4563
4564 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4565
4566 * libgcj.spec.in: Add -l-java-util-logging.
4567
4568 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4569
4570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4571 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4572 gtk-xft-dpi can no calculate the right value.
4573 (dpi_changed_cb): Mark *pspec as unsused.
4574
4575 2004-07-21 David Jee <djee@redhat.com>
4576
4577 * java/awt/Component.java
4578 (move): Delegate to setBounds().
4579 (resize): Likewise.
4580 (reshape): Fix so it repaints parent and self only when necessary.
4581
4582 2004-07-21 David Jee <djee@redhat.com>
4583
4584 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4585 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4586 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4587 (setVisible): Likewise.
4588 (show): Likewise.
4589 (hide): Likewise.
4590 (getArgs): Likewise.
4591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4592 (property_notify_predicate): Likewise.
4593 (find_layout): Likewise.
4594 (connectJObject): Likewise.
4595 (connectSignals): Likewise.
4596 (moveLayout): Likewise.
4597 (gtkLayoutSetVisible): Likewise.
4598
4599 2004-07-21 Graydon Hoare <graydon@redhat.com>
4600
4601 * Makefile.am
4602 (jv_convert_LDADD):
4603 (gij_LDADD):
4604 (rmic_LDADD):
4605 (rmiregistry_LDADD): Add lib-java-util-logging.la
4606 * Makefile.in: Regenerate.
4607
4608 2004-07-21 Michael Koch <konqueror@gmx.de>
4609
4610 * javax/swing/text/AbstractDocument.java
4611 (replace): Dont use protected method of java.util.Vector directly.
4612
4613 2004-07-21 Michael Koch <konqueror@gmx.de>
4614
4615 * javax/swing/plaf/basic/BasicTextUI.java
4616 (installUI): Call specialized install methods.
4617 (installDefaults): New method.
4618 (installListeners): Likewise.
4619 (installKeyboardActions): Likewise.
4620 (uninstallUI): Likewise.
4621 (uninstallDefaults): New method.
4622 (uninstallListeners): Likewise.
4623 (uninstallKeyboardActions): Likewise.
4624 (getPropertyPrefix): New abstract method.
4625 (paint): Made final, just call paintSafely().
4626 (paintSavely): New method.
4627 (paintBackground): Likewise.
4628 (getVisibleEditorRect): Likewise.
4629 * javax/swing/text/LayeredHighlighter.java,
4630 javax/swing/text/TabExpander.java: New files.
4631 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4632 and javax/swing/text/TabExpander.java.
4633 * Makefile.in: Regenerated.
4634
4635 2004-07-21 Michael Koch <konqueror@gmx.de>
4636
4637 * javax/swing/plaf/basic/BasicTextUI.java
4638 (BasicTextUI): Made abstract.
4639 (BasicCaret): New inner class.
4640 (view): Don't explicitely initialize with "null".
4641 (textComponent): New field.
4642 (textColor): Removed.
4643 (disabledTextColor): Removed.
4644 (normalBackgroundColor): Removed.
4645 (RootView): Removed commented out inner class.
4646 (createUI): Removed.
4647 (createCaret): New method.
4648 (getComponent): Likewise.
4649 (installUI): Initialize textComponent only.
4650 (getPreferredSize): Use installed JTextComponent.
4651 (setView): New method.
4652 (create): Likewise.
4653 * javax/swing/text/JTextComponent.java
4654 (highlighter): New field.
4655 (caretColor): Likewise.
4656 (disabledTextColor): Likewise.
4657 (seletedTextColor): Likewise.
4658 (selectionColor): Likewise.
4659 (setUI): New method.
4660 (getCaretColor): Likewise.
4661 (setCaretColor): Likewise.
4662 (getDisabledColor): Likewise.
4663 (setDisabledColor): Likewise.
4664 (getSelectedTextColor): Likewise.
4665 (setSelectedTextColor): Likewise.
4666 (getSelectionColor): Likewise.
4667 (setSelectionColor): Likewise.
4668 (getHighlighter): Likewise.
4669 (setHighlighter): Likewise.
4670 (replaceSelection): Likewise.
4671
4672 2004-07-21 Michael Koch <konqueror@gmx.de>
4673
4674 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4675 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4676 * javax/swing/plaf/basic/BasicToolBarUI.java
4677 (BasicToolBarUI): Implements SwingConstants.
4678
4679 2004-07-21 Michael Koch <konqueror@gmx.de>
4680
4681 * javax/swing/JPopupMenu.java: Removed CVS tags.
4682 * javax/swing/UIDefaults.java: Reformatted.
4683 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4684 Explicitely import used classes.
4685
4686 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4687
4688 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4689 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4690 (GtkComponentPeer): Remove temporary try/catch block.
4691 (setVisible): Call show and hide.
4692 (show): Make native.
4693 (hide): Likewise.
4694 (getArgs): Don't add "visible" argument.
4695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4696 (property_notify_predicate): Return Bool instead of int.
4697 (find_layout): New function.
4698 (connectJObject): Call find_layout.
4699 (connectSignals): Likewise.
4700 (moveLayout): Likewise.
4701 (gtkLayoutSetVisible): Likewise.
4702
4703 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4704
4705 * javax/swing/AbstractButton.java:
4706 (setDisplayedMnemonicIndex): Check if button
4707 text is not null before checking its length.
4708 * javax/swing/JMenuItem.java:
4709 (processMouseEvent): Disarm menu item if mouse has
4710 exited it.
4711 * javax/swing/plaf/basic/BasicMenuUI.java:
4712 (MouseInputHandler.mouseEntered): Do not raise
4713 popup menu if this menu is already selected.
4714 (MouseInputHandler.mousePressed): Do not fire
4715 MenuEvents.
4716 (MenuHandler): Implemented.
4717
4718 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4719
4720 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4721 (getSelectedObjects): Implemented.
4722 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4723 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4724 Added javadoc for few methods.
4725 (processMouseEvent): Made public.
4726 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4727 (processMouseEvent): Likewise.
4728
4729 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4730
4731 * javax/swing/AbstractButton.java:
4732 (init): Set display mnemonic index to -1.
4733 (setMnemonic(char)): Use setMnemonic(int).
4734 (setMnemonic(int)): Set display mnemonic index.
4735 (getDisplayedMnemonicIndex): Change method signature
4736 by removing 'index' parameter.
4737 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4738 Added default for Menu.selectionBackground.
4739 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4740 (paintMenuItem): Change background color of the selected
4741 menu item.
4742 (paintText): Paint differently when menu item is disabled.
4743 Also paint mnemonic if it appears in the menu item's label.
4744 (paintAccelerator): Paint accelerator differently
4745 if menu item is disabled.
4746 * javax/swing/plaf/basic/BasicMenuUI.java:
4747 (installDefaults): Install defaults for
4748 selectionForeground and selectionBackground.
4749 (uninstallDefaults): Uninstall defauls for
4750 selectionForeground and selectionBackground.
4751
4752 2004-07-21 Michael Koch <konqueror@gmx.de>
4753
4754 * javax/swing/text/AbstractDocument.java
4755 (BranchElement): Implemented.
4756 (LeafElement): Implemented.
4757 * javax/swing/text/DefaultCaret.java:
4758 Import used classes.
4759 (serialVersionUID): New constant.
4760 * javax/swing/text/JTextComponent.java
4761 (AccessibleJTextComponent): Removed dead declaration.
4762 (caretPos): Removed.
4763 (setCaret): New method.
4764 * javax/swing/text/PlainDocument.java
4765 (rootElement): New field.
4766 (PlainDocument): Initialize rootElement.
4767 (createDefaultRoot): New method.
4768 (getDefaultRootElement): Implemented.
4769 * javax/swing/text/View.java: Reformatted.
4770 * javax/swing/text/ViewFactory.java
4771 (create): Added javadoc.
4772
4773 2004-07-21 Michael Koch <konqueror@gmx.de>
4774
4775 * javax/swing/ToolTipManager.java: Reformatted.
4776
4777 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4778
4779 * javax/swing/AbstractButton.java
4780 (changeEvent): New field.
4781 (fireItemStateChanged): Change source of the event
4782 to 'this' before firing it to button listeners.
4783 (fireActionPerformed): Likewise.
4784 (fireStateChanged): Likewise.
4785 (createActionListener): Do not set source
4786 of the event to AbstractButton.
4787 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4788 (ContainerHandler.componentAdded): Removed
4789 print out statement.
4790 (ContainerHandler.componentRemoved): Likewise.
4791
4792 2004-07-21 Michael Koch <konqueror@gmx.de>
4793
4794 * javax/swing/text/Highlighter.java: New file.
4795 * Makefile.am: Added javax/swing/text/Highlighter.java.
4796 * Makefile.in: Regenerated.
4797
4798 2004-07-21 Michael Koch <konqueror@gmx.de>
4799
4800 * javax/swing/ToolTipManager.java
4801 (stillInsideTimerAction): Fixed constructor arguments.
4802 (outsideTimerAction): Likewise.
4803 (insideTimerAction): Likewise.
4804
4805 2004-07-21 Michael Koch <konqueror@gmx.de>
4806
4807 * javax/swing/JButton.java: Reformatted.
4808 * javax/swing/JFormattedTextField.java
4809 (getUIClassID): Implemented.
4810 * javax/swing/JRootPane.java
4811 (serialVersionUID): New constant.
4812 * javax/swing/JTextField.java
4813 (align): New field.
4814 (JTextField): Simplified.
4815 (getUIClassID): New method.
4816 (getActionListeners): Added @since tag.
4817 (setColumns): Invalidate layout and repaint.
4818 (getHorizontalAlignment): New method.
4819 (setHorizontalAlignment): New method.
4820 (selectAll): Removed.
4821 * javax/swing/SwingUtilities.java
4822 (getAncestorOfClass): Removed redundant @see tag.
4823 (isLeftMouseButton): Fixed implementation.
4824 (isMiddleMouseButton): Likewise.
4825 (isRightMouseButton): Likewise.
4826 * javax/swing/text/AbstractDocument.java
4827 (AttributeContext.addAttribute): New method.
4828 (AttributeContext.addAttributes): New method.
4829 (AttributeContext.getEmptySet): New method.
4830 (AttributeContext.reclaim): New method.
4831 (AttributeContext.removeAttribute): New method.
4832 (AttributeContext.removeAttributes): New method.
4833 * javax/swing/text/Document.java
4834 (createPosition): Throws BadLocationException.
4835 (getText): Likewise.
4836 (remove): Likewise.
4837 * javax/swing/text/JTextComponent.java
4838 (getText): Return null if no document is set. Catch
4839 BadLocationException.
4840 (getUI): Return ui.
4841 (updateUI): Simplified.
4842
4843 2004-07-21 Michael Koch <konqueror@gmx.de>
4844
4845 * javax/swing/JButton.java
4846 (removeNotify): Fixed javadoc.
4847 (updateUI): Simplified.
4848
4849 2004-07-21 David Jee <djee@redhat.com>
4850
4851 * gnu/java/awt/image/ImageDecoder.java
4852 (startProduction): Only add consumer if it's not added yet.
4853 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4854 (GdkPixbufDecoder): Don't call initState() here.
4855 (produce): Call initState() here, to ensure area_prepared and
4856 area_updated signals are properly connected.
4857 * gnu/java/awt/peer/gtk/GtkImage.java
4858 (setColorModel): Use equals() to compare ColorModel objects.
4859 (setPixels): Likewise.
4860 * java/awt/image/ColorModel.java
4861 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4862 * java/awt/image/RGBImageFilter.java
4863 (setColorModel): Set consumer's color model.
4864 (setPixels): Use equals() to compare ColorModel objects.
4865
4866 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4867
4868 * java/net/URLConnection.java (position): New field.
4869 (dateFormat1, dateFormat2, dateFormat3): Removed.
4870 (dateFormats): New field.
4871 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4872 each time instead of re-allocating.
4873 (initializeDateFormats): Initialize 'dateFormats'.
4874
4875 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4876
4877 PR libgcj/16591
4878 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4879 is defined.
4880
4881 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4882
4883 * java/net/Socket.java (getImpl): Now private. Remove comment.
4884
4885 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4886
4887 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4888 of chained Writer when calling super-constructor.
4889 * java/io/FilterWriter.java (FilterWriter): Likewise.
4890 * java/io/PrintWriter.java (PrintWriter): Likewise.
4891
4892 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4893
4894 * prims.cc (process_gcj_properties): Don't increment i within LHS
4895 of assignment.
4896
4897 2004-07-19 Per Bothner <per@bothner.com>
4898
4899 Print -verbose:message on "loading", not initialization.
4900 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4901 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4902 gcj::verbose_class_flag.
4903 * java/lang/natClass.cc (initializeClass): Don't print message here.
4904 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4905 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4906 (_Jv_PrepareCompiledClass): Likewise.
4907
4908 2004-07-18 Matthias Klose <doko@debian.org>
4909
4910 * configure.in: Substitute target_noncanonical.
4911 * configure: Regenerate
4912
4913 2004-07-17 Michael Koch <konqueror@gmx.de>
4914
4915 * java/lang/String.java: Fixed javadocs all over.
4916
4917 2004-07-17 Mark Wielaard <mark@klomp.org>
4918
4919 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4920 when size is smaller.
4921 * java/io/RandomAccessFile.java (setLength): Use truncate for
4922 shrinking the file and seek plus write for expanding the file.
4923
4924 2004-07-17 Michael Koch <konqueror@gmx.de>
4925
4926 * gnu/java/nio/channels/natFileChannelPosix.cc
4927 (implTruncate): Always save current position. Only reposition file
4928 pointer to where we started if not beyond new lenght. Reposition file
4929 pointer to file length if it points beyond the end of file.
4930
4931 2004-07-17 Mark Wielaard <mark@klomp.org>
4932
4933 * javax/swing/Box.java: Put FIXME comment above class declaration.
4934 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4935 * javax/swing/JCheckBox.java: Likewise.
4936 * javax/swing/JDialog.java: Likewise.
4937 * javax/swing/JRadioButton.java: Likewise.
4938 * javax/swing/JToggleButton.java: Likewise.
4939 * javax/swing/UIManager.java: Likewise.
4940 * javax/swing/border/TitledBorder.java: Likewise.
4941 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4942 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4943 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4944 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4945 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4946 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4947 * javax/swing/text/JTextComponent.java: Likewise.
4948
4949 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4950
4951 * java/net/DatagramPacket.java (setAddress): Removed check for
4952 null address.
4953
4954 2004-07-17 Michael Koch <konqueror@gmx.de>
4955
4956 * java/net/DatagramSocket.java
4957 (getLocalAddress): Check if socket is bound or not.
4958 * java/net/Socket.java
4959 (getLocalAddrss): Check if socket is bound or not.
4960 (getPort): Return -1 when not connected. Dont check getImpl() for
4961 null.
4962 (setReuseAddress): Check if socket is closed.
4963 (isConnected): Check if getImpl() returns null.
4964
4965 2004-07-17 Mark Wielaard <mark@klomp.org>
4966
4967 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4968 on notifier object before calling notifyAll().
4969
4970 2004-07-17 Michael Koch <konqueror@gmx.de>
4971
4972 * gnu/java/nio/channels/FileChannelImpl.java
4973 (finalize): Added javadoc.
4974
4975 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4976
4977 * java/text/CollationElementIterator.java
4978 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4979 (setText): Use ArrayList instead of Vector.
4980
4981 2004-07-17 Michael Koch <konqueror@gmx.de>
4982
4983 * java/nio/ByteOrder.java
4984 (static): Removed. Not needed.
4985 Thanks to Patrick Reali for noticing.
4986 * java/nio/charset/CharsetDecoder.java
4987 (decode): Fix for classpath bug #9177: Reset state before flipping.
4988
4989 2004-07-17 Michael Koch <konqueror@gmx.de>
4990
4991 * java/security/Security.java: Fixed javadocs all over.
4992
4993 2004-07-17 Michael Koch <konqueror@gmx.de>
4994
4995 * gnu/java/awt/EmbeddedWindow.java
4996 (static): Removed.
4997 (addNotify): Set peer via reflection.
4998 (setWindowPeer): Removed.
4999 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5000 * Makefile.am (nat_source_files):
5001 Removed gnu/java/awt/natEmbeddedWindow.cc.
5002 * Makefile.in: Regenerated.
5003
5004 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
5005
5006 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5007 assignment.
5008 * configure: Regenerated.
5009
5010 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
5011
5012 * configure.in: Use build_noncanonical rather than build_alias.
5013 * configure: Rebuild.
5014
5015 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5016 by logic refactoring. Move default definition of NATIVE closer
5017 to first alternate definition.
5018 * configure: Regenerate.
5019
5020 * Makefile.am: Set ZIP and GCJH directly using autoconf.
5021 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5022 gcj/Makefile.in: Regenerate.
5023 * configure.in: Set ZIP and GCJH. Remove redundant condition
5024 in AM_CONDITIONAL(NATIVE,...)
5025 * configure: Regenerate.
5026
5027 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
5028
5029 * configure.in: Use target_noncanonical rather than
5030 target_alias for forward-compatibility with autoconf 2.59.
5031 * configure: Regenerate.
5032 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5033 testsuite/Makefile.am: Substitute target_noncanonical.
5034 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5035 testsuite/Makefile.in: Regenerate.
5036
5037 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5038 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5039 * acinclude.m4: Include acx.m4.
5040 * aclocal.m4: Regenerate.
5041 * configure: Regenerate.
5042
5043 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
5044
5045 PR libgcj/16574
5046 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5047 (decimalFormat): New static variable.
5048 (sbuf): Likewise.
5049 (getTime): New. Override Date.getTime().
5050 (toString): Synchronize. Use decimalFormat to format nanos value
5051 correctly. Truncate extra zeros.
5052 (before): Compare getNanos() only if getTime() is equal.
5053 (after): Likewise.
5054
5055 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
5056
5057 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5058 * configure.in: ...here.
5059 * aclocal.m4: Regenerate.
5060 * configure: Regenerate.
5061
5062 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5063 * configure: Rebuilt with autoconf 2.13.
5064 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5065 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5066
5067 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
5068
5069 PR libgcj/16204
5070 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5071 large file support.
5072 * Makefile.in: Rebuilt.
5073 * testsuite/libjava.lang/LargeFile.java: New test case.
5074 * testsuite/libjava.lang/LargeFile.out: New file.
5075
5076 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5077
5078 * java/beans/EventHandler.java: Remove debugging statements.
5079
5080 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5081
5082 * java/beans/EventHandler.java: New file.
5083 * Makefile.am (awt_java_source_files): Add EventHandler.java.
5084 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5085 testsuite/Makefile.in: Regenerate.
5086
5087 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
5088
5089 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5090 flag to the gcj_setup.
5091 (gcj_jacks_run): Check tclsh version and launch jacks directly with
5092 the tclsh.
5093 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5094 deprecation flag change. 58 XFAILS removed.
5095
5096 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
5097
5098 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
5099 -fno-use-divide-subroutine.
5100 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5101 (HANDLE_FPE): Define.
5102 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5103 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5104 (HANDLE_DIVIDE_OVERFLOW): Define.
5105
5106 2004-07-14 Michael Koch <konqueror@gmx.de>
5107 Matthias Klose <doko@debian.org>
5108
5109 * java/awt/im/InputContext.java: Initialize in, line.
5110
5111 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
5112
5113 * interpret.cc (run): Correctly access libffi return values of
5114 integral smaller-than-int type; these are implicitly promoted.
5115
5116 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
5117
5118 PR libgcj/7587
5119 * interpret.cc (compile_mutex): New.
5120 (_Jv_InitInterpreter): New. Initialize compile_mutex.
5121 (run): Lock compile_mutex before calling compile() if compilation is
5122 required.
5123 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5124 * include/java-interp.h (_Jv_InitInterpreter): Declare.
5125
5126 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
5127
5128 PR libgcj/15713
5129 * include/jvm.h (_Jv_value): New union type.
5130 * gcj/field.h (_Jv_Field): Add new _addr union field variants
5131 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
5132 union members.
5133
5134 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
5135
5136 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5137 * gnu/awt/xlib/XOffScreenImage.java
5138 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5139 constructor argument. Add constructor using ImageProducer.
5140 (getSource): Implement.
5141 (imageComplete): New method.
5142 (setColorModel): New method.
5143 (setDimensions): New method.
5144 (setHints): New method.
5145 (setPixels): New method.
5146 (setProperties): New method.
5147 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
5148 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5149
5150 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
5151
5152 PR libgcj/16478
5153 * prims.cc (_Jv_CreateJavaVM): Fix comment.
5154 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5155 (finalizerReady): Now native.
5156 (run): Likewise.
5157 (runFinalizers): Removed.
5158 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5159 a primitive lock, and don't hold it while running the finalizers.
5160 (runFinalizers): Implement. Don't aquire any Java lock.
5161 (finalizerReady): Use lock primitives to signal finalizer thread.
5162
5163 2004-07-11 Mark Wielaard <mark@klomp.org>
5164
5165 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5166 * java/net/URLStreamHandler.java (parseURL): When url file part
5167 doesn't contain a '/' just ignore context.
5168
5169 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
5170
5171 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5172 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5173 (MAKE_THROW_FRAME): Do not modify PSW address.
5174 (INIT_SEGV): Install SIGINFO-style signal handler.
5175 (INIT_FPE): Likewise.
5176
5177 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5178
5179 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5180 status. 21 xfail's removed, 1 added.
5181
5182 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5183
5184 * gcj/javaprims.h: Regenerate CNI namespace definitions.
5185
5186 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
5187
5188 * java/text/MessageFormat.java
5189 (formatInternal): Append "{n}" if argument n is unavailable.
5190 (format(Object, StringBuffer, FieldPosition)): This
5191 should be equivalent to format(Object[],
5192 StringBuffer, FieldPosition).
5193
5194 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5195
5196 * java.util.Calendar.java (cache): New private static field. Cached
5197 mappings of locales->calendar classes.
5198 (ctorArgTypes): New private static field. Singleton argument for
5199 calendar class constructor lookup.
5200 (getInstance): Cache Locale->Calendar class mappings using HashMap.
5201 Optimize by bypassing reflection instantiation for the
5202 GregorianCalendar case.
5203
5204 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5205
5206 * java/util/Calendar.java: Use getSystemClassLoader as argument for
5207 ResourceBundle.getBundle() calls.
5208 * java/util/GregorianCalendar.java: Likewise.
5209 * java/util/Currency.java: Likewise.
5210 * java/text/BreakIterator.java: Likewise.
5211 * java/text/Collator.java: Likewise.
5212 * java/text/DateFormat.java: Likewise.
5213 * java/text/DateFormatSymbols.java: Likewise.
5214 * java/text/DecimalFormatSymbols.java: Likewise.
5215 * java/text/NumberFormat.java: Likewise.
5216 * java/awt/Window.java: Likewise.
5217
5218 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5219
5220 * java/util/ResourceBundle.java (bundleCache): Renamed from
5221 resourceBundleCache. Update comments.
5222 (getObject): Don't catch MissingResourceException.
5223 (getBundle(String)): Remove 'final'. Use system classloader if
5224 getCallingClassLoader returned null.
5225 (getBundle(String, Locale)): Likewise.
5226 (BundleKey): New private class. HashMap key for bundle cache lookup.
5227 (lookupKey): New. Singleton instance of BundleKey.
5228 (nullEntry): New. Cache entry to represent failed lookups.
5229 (getBundle(String, Locale, ClassLoader)): Re-written to use new
5230 caching strategy, no-allocation lookup, and new tryBundle methods.
5231 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
5232 name using given classloader.
5233 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
5234 baseName for given Locale and attempt to load bundle.
5235
5236 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5237
5238 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
5239 illegal protected method calls.
5240
5241 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5242
5243 Fix or remove some bogus test cases.
5244 * testsuite/libjava.compile/pr10459_2.java: Removed.
5245 * testsuite/libjava.compile/pr10459.java: Test using its own method,
5246 not Object.clone().
5247 * testsuite/libjava.compile/inner_data.java: Test against its own
5248 protected field.
5249
5250 2004-07-09 Michael Koch <konqueror@gmx.de>
5251
5252 * scripts/unicode-muncher.pl: Updated to version 2.1
5253 from GNU classpath. Added some clarifications on where to find the
5254 needed files from www.unicode.org.
5255 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5256 gnu/gcj/convert/UnicodeData-3.0.0.txt:
5257 Removed, these can directly be downloaded from www.unicode.org if
5258 needed.
5259 * gnu/java/lang/CharData.java: Regenerated.
5260 * include/java-chartables.h: Regenerated.
5261 * Makefile.am (ordinary_java_source_files):
5262 Removed gnu/java/lang/CharData.java.
5263 * Makefile.in: Regenerated.
5264
5265 2004-07-09 Michael Koch <konqueror@gmx.de>
5266
5267 * java/security/AccessControlContext.java,
5268 java/security/SecureClassLoader.java:
5269 Fixed javadocs.
5270
5271 2004-07-09 Michael Koch <konqueror@gmx.de>
5272
5273 * java/io/ObjectInputStream.java (readFields): Use long datatype
5274 when shifting byte values more then 24 bits left.
5275
5276 2004-07-09 Michael Koch <konqueror@gmx.de>
5277
5278 * java/util/zip/DeflaterOutputStream.java,
5279 java/util/zip/GZIPInputStream.java,
5280 java/util/zip/GZIPOutputStream.java,
5281 java/util/zip/InflaterInputStream.java:
5282 Reformatted. Added javadocs. Reordered all stuff.
5283 Renamed variables to be more clear.
5284
5285 2004-07-09 Michael Koch <konqueror@gmx.de>
5286
5287 * javax/imageio/IIOException.java,
5288 javax/imageio/event/IIOReadProgressListener.java,
5289 javax/imageio/event/IIOReadUpdateListener.java,
5290 javax/imageio/event/IIOReadWarningListener.java,
5291 javax/imageio/event/IIOWriteProgressListener.java,
5292 javax/imageio/event/IIOWriteWarningListener.java:
5293 New files.
5294 * Makefile.am: Added new files.
5295 * Makefile.in: Regenerated.
5296
5297 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
5298
5299 * java/text/RuleBasedCollator.java
5300 (mergeRules): Use ArrayList instead of Vector.
5301 (subParseString): likewise.
5302 (parseString): likewise.
5303 (buildCollationVector): likewise.
5304 (getCollationKey): likewise.
5305
5306 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5307
5308 * java/text/DateFormat.java (parse):
5309 Improved javadoc. Improved exception message.
5310
5311 2004-07-09 Mark Wielaard <mark@klomp.org>
5312
5313 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5314 interrupted() method to clear interupt flag of our Thread.
5315
5316 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5317
5318 * java/nio/Buffer.java,
5319 java/nio/ByteBuffer.java,
5320 java/nio/ByteBufferHelper.java,
5321 java/nio/ByteBufferImpl.java,
5322 java/nio/CharBuffer.java,
5323 java/nio/CharBufferImpl.java,
5324 java/nio/CharViewBufferImpl.java,
5325 java/nio/DirectByteBufferImpl.java,
5326 java/nio/DoubleBuffer.java,
5327 java/nio/DoubleBufferImpl.java,
5328 java/nio/DoubleViewBufferImpl.java,
5329 java/nio/FloatBuffer.java,
5330 java/nio/FloatBufferImpl.java,
5331 java/nio/FloatViewBufferImpl.java,
5332 java/nio/IntBuffer.java,
5333 java/nio/IntBufferImpl.java,
5334 java/nio/IntViewBufferImpl.java,
5335 java/nio/LongBuffer.java,
5336 java/nio/LongBufferImpl.java,
5337 java/nio/LongViewBufferImpl.java,
5338 java/nio/MappedByteBufferImpl.java,
5339 java/nio/ShortBuffer.java,
5340 java/nio/ShortBufferImpl.java,
5341 java/nio/ShortViewBufferImpl.java:
5342 Fixed javadocs all over. Improved input error
5343 checking.
5344
5345 * java/nio/Buffer.java
5346 (checkForUnderflow, checkForOverflow, checkIndex,
5347 checkIfReadOnly, checkArraySize): New helper methods
5348 for error checking.
5349
5350 * java/nio/ByteBufferHelper.java
5351 (checkRemainingForRead, checkRemainingForWrite,
5352 checkAvailableForRead, checkAvailableForWrite): Removed
5353 no longer needed methods.
5354
5355 2004-07-09 Michael Koch <konqueror@gmx.de>
5356
5357 * gnu/regexp/CharIndexedInputStream.java:
5358 Reordered imports to match classpath.
5359
5360 2004-07-09 Michael Koch <konqueror@gmx.de>
5361
5362 * gnu/java/awt/EmbeddedWindow.java:
5363 Load native library for setWindowPeer method.
5364
5365 2004-07-08 Randolph Chung <tausq@debian.org>
5366
5367 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5368 * configure: Regenerate.
5369 * configure.host: Set can_unwind_signal for hppa*-linux.
5370 * include/pa-signal.h: New file.
5371
5372 2004-07-07 Per Bothner <per@bothner.com>
5373
5374 * Makefile.am: Add rules to build libgij from just gij.cc.
5375
5376 * include/jvm.h (namespace jcj): Declare verbose_class_flag
5377 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
5378 (initializeClass): If verbose_class_flag, print message.
5379 * gij.cc (main): Handle -verbose:class flag.
5380
5381 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
5382
5383 * configure.host: Enable hash synchronization on Darwin.
5384 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5385 ';', since this is a comment on Darwin.
5386 (compare_and_swap_release): Likewise.
5387
5388 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
5389
5390 * java/net/URLStreamHandler.java (parseURL): Canonicalize
5391 file portion of URL in addition to spec for file: protocol.
5392
5393 2004-07-05 Anthony Green <green@redhat.com>
5394
5395 * java/io/File.java (toURI): Merge from Classpath.
5396
5397 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5398
5399 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5400 before passing to URL constructor. Rethrow any MalformedURLException
5401 as a RuntimeException. Catch MalformedURLException specifically, not
5402 all exceptions.
5403
5404 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5405
5406 * java/util/Locale.java (readObject): Intern strings read from object
5407 stream.
5408
5409 2004-07-04 Michael Koch <konqueror@gmx.de>
5410
5411 * gnu/gcj/runtime/FirstThread.java,
5412 gnu/gcj/runtime/natFirstThread.cc: Removed.
5413 * gnu/java/lang/MainThread.java,
5414 gnu/java/lang/natMainThread.cc: New files.
5415 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5416 * Makefile.am: Added new files and removed deleted ones.
5417 * Makefile.in: Regenerated.
5418
5419 2004-07-03 Mark Wielaard <mark@klomp.org>
5420 Anthony Green <green@redhat.com>
5421
5422 * java/net/URL.java (getFile): Clarify return value doc.
5423 (getPath): Return null if file is empty - not empty String.
5424 (set): Convert protocol to lower case before doing anything.
5425 Only change the protocol handler if it's different.
5426
5427 2004-07-03 Anthony Green <green@redhat.com>
5428
5429 * java/net/URL.java (URL): Convert protocol to lower case before
5430 doing anything, so we getURLStreamHandler() with the proper value.
5431
5432 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5433
5434 * java/util/Locale.java (hashcode): Made transient.
5435 (hashCode): No longer synchronized.
5436 (equals): Remove comment.
5437 (writeObject): No longer synchronized. Implement using writeObject
5438 calls instead of tweaking hashCode field. Update doc.
5439 (readObject): Implement using readObject calls.
5440
5441 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5442 Andreas Tobler <a.tobler@schweiz.ch>
5443
5444 * configure.host (powerpc-*-darwin*): New case, define
5445 can_unwind_signal.
5446 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5447 * configure: Regenerate.
5448 * include/darwin-signal.h: New.
5449
5450 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5451
5452 * java/beans/Statement.java (doExecute): Fix formatting.
5453
5454 2004-06-29 Per Bothner <per@bothner.com>
5455
5456 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5457 etc etc): Remove needless parenthesis, which causes __stdcall__
5458 attribute on MinGW to get ignored.
5459
5460 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5461
5462 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5463
5464 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5465
5466 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5467
5468 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5469
5470 * java/beans/Expression.java: New file.
5471 * java/beans/Statement.java: New file.
5472 * Makefile.am: Added new files.
5473 * Makefile.in: Re-generate.
5474
5475 2004-06-27 Mark Wielaard <mark@klomp.org>
5476
5477 * java/io/FilePermission.java (usingPerms): Removed.
5478 (actionsString): Made final.
5479 (cachePerms): Renamed to checkPerms.
5480 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5481 on action String.
5482 (FilePermission): Check arguments, call checkPerms().
5483 (equals): Remove cachePerms() call.
5484 (implies): Likewise.
5485
5486 2004-06-27 Mark Wielaard <mark@klomp.org>
5487
5488 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5489 final field.
5490 (sendRequest): Use new field in user-agent http agent.
5491
5492 2004-06-27 Mark Wielaard <mark@klomp.org>
5493
5494 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5495 when argument is null.
5496
5497 2004-06-26 Mark Wielaard <mark@klomp.org>
5498
5499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5500 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5501 GetMethodID call.
5502 (cancel_clicked): Likewise.
5503
5504 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5505
5506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5507 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5508 can not calculate the right value.
5509 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5510
5511 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5512
5513 * testsuite/libjava.jacks/jacks.xfail: Remove
5514 15.9.1-qualified-concrete-20.
5515
5516 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5517
5518 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5519 encoding name to iconv.
5520 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5521
5522 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5523
5524 PR libgcj/16134:
5525 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5526 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5527 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5528
5529 2004-06-21 Andrew Haley <aph@redhat.com>
5530
5531 * java/io/ObjectOutputStream.java: Add DEBUG statements
5532 everywhere.
5533 (dumpElementln): New method.
5534 (depth): New field.
5535 * java/io/ObjectInputStream.java
5536 (currentClassLoader): Make native.
5537 (callersClassLoader): New field.
5538 (depth): New field.
5539 (readObject): ENDBLOCKDATA is generated if the class has a write
5540 method, not if it has a read method.
5541 (readObject): Save and restore this.currentObject and
5542 this.currentObjectStreamClass around calls to callReadMethod().
5543 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5544 method.
5545
5546 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5547
5548 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5549 darwin.
5550
5551 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5552
5553 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5554 if desired, before the default class loader is initialised.
5555 Call INIT_SEGV only if HANDLE_SEGV is defined.
5556
5557 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5558
5559 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5560 directory only if it actually exists.
5561
5562 2004-06-18 Graydon Hoare <graydon@redhat.com>
5563
5564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5565 Fix up non-ansi comments.
5566
5567 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5568
5569 * javax/swing/text/AbstractDocument.java: Adding missing import
5570 for javax.swing.event.EventListenerList.
5571 * javax/swing/text/DefaultCaret.java: Likewise.
5572
5573 2004-06-17 Michael Koch <konqueror@gmx.de>
5574
5575 * javax/swing/JToolBar.java
5576 (name): Removed.
5577 (JToolBar): Use Component.setName(String) instead of doing it all
5578 alone.
5579 * javax/swing/Timer.java
5580 (queueEvent): Added missing modifier.
5581
5582 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5583
5584 * Makefile.am: Added new file.
5585 * Makefile.in: Re-generate.
5586 * javax/swing/JMenu.java:
5587 (insertSeparator): Implemented.
5588 * javax/swing/JPopupMenu.java:
5589 (JPopupMenu.Separator): Implemented.
5590 * javax/swing/MenuSelectionManager.java:
5591 (processMouseEvent): Use java.awt.Component
5592 for event source instead of javax.swing.JComponent.
5593 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5594 New File. Implemented.
5595
5596 2004-06-16 David Jee <djee@redhat.com>
5597
5598 * java/awt/GridBagLayout.java
5599 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5600 Make sure pos_x and pos_y are never negative.
5601
5602 2004-04-16 Andrew Overholt <overholt@redhat.com>
5603
5604 * Makefile.am: Add new file.
5605 * Makefile.in: Re-generate.
5606 * javax/swing/JToolBar.java
5607 Partially implemented.
5608 * javax/swing/plaf/basic/BasicToolBarUI.java
5609 New file. Partially implemented.
5610
5611 2004-06-16 Graydon Hoare <graydon@redhat.com>
5612
5613 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5614 (setComposite): Accept AlphaComposite arguments.
5615 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5616 (createBufferedImage): Add new overloads.
5617 * gnu/java/awt/peer/gtk/GtkToolkit.java
5618 (createImage): Use GdkPixbufDecoder.createBufferedImage
5619 when useGraphics2D() is true.
5620 (getImage): Delegate to createImage.
5621 * javax/swing/JList.java
5622 (isSelectionEmpty):
5623 (getFirstVisibleIndex):
5624 (getLastVisibleIndex):
5625 (setSelectedValue):
5626 (ensureIndexIsVisible): New methods.
5627 * javax/swing/Timer.java: Reimplement.
5628
5629 2004-06-16 Michael Koch <konqueror@gmx.de>
5630
5631 * javax/swing/text/AbstractDocument.java
5632 (AbstracElement): Made public, implements java.io.Serializable.
5633 (AttributeContext): Made public.
5634 (BranchElement): Likewise.
5635 (Content): Likewise.
5636 (DefaultDocumentEvent): Made public, extends
5637 javax.swing.undo.CompoundEdit.
5638 (ElementEdit): Made public, extends
5639 javax.swing.undo.AbstractUndoableEdit.
5640 (LeafElement): Made public.
5641 (LeafElement.LeafElement): Made public.
5642
5643 2004-06-16 Michael Koch <konqueror@gmx.de>
5644
5645 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5646 methods (that were obviously never be intended to get included hi this
5647 class. Added some methods too.
5648
5649 2004-06-16 Michael Koch <konqueror@gmx.de>
5650
5651 * javax/swing/text/PlainDocument.java
5652 (serialVersionUID): New constant.
5653 (lineLimitAttribute): Likewise.
5654 (tabSizeAttribute): Likewise.
5655 (tabSize): New field.
5656 (PlainDocument): Made public.
5657 (PlainDocument): New constructor.
5658
5659 2004-06-16 Michael Koch <konqueror@gmx.de>
5660
5661 * javax/swing/text/AbstractDocument.java
5662 (insertString): Throws BadLocationException.
5663 * javax/swing/text/Document.java
5664 (insertString): Likewise.
5665 * javax/swing/text/JTextComponent.java:
5666 Javadocs and comments cleaned up.
5667
5668 2004-06-16 Michael Koch <konqueror@gmx.de>
5669
5670 * javax/swing/event/UndoableEditListener.java: Reformatted.
5671 * javax/swing/text/AbstractDocument.java
5672 (AbstractDocument): Implements java.io.Serializable.
5673 (doc_list): Removed.
5674 (undo_list): Removed.
5675 (AbstractElement.serialVerionUID): New field.
5676 (BranchElement.serialVerionUID): Likewise.
5677 (DefaultDocumentEvent.serialVerionUID): Likewise.
5678 (ElementEdit.serialVerionUID): Likewise.
5679 (LeafElement.serialVerionUID): Likewise.
5680 (serialVerionUID): Likewise.
5681 (BAD_LOCATION): New constant.
5682 (BidiElementName): Likewise.
5683 (ContentElementName): Likewise.
5684 (ParagraphElementName): Likewise.
5685 (SectionElementName): Likewise.
5686 (ElementNameAttribute): Likewise.
5687 (AbstractDocument): Made protected.
5688 (AbstractDocument): New construtor.
5689 (listenerList): New field.
5690 (fireChangedUpdate): Implemented.
5691 (fireInsertUpdate): Likewise.
5692 (fireRemoveUpdate): Likewise.
5693 (fireUndoableEditUpdate): Likewise.
5694 (getListeners): Likewise.
5695 (addDocumentListener): Likewise.
5696 (removeDocumentListener): Likewise.
5697 (addUndoableEditListener): Likewise.
5698 (removeUndoableEditListener): Likewise.
5699 (getDocumentListeners): New method.
5700 (getUndoableEditListeners): Likewise.
5701 (getAsynchronousLoadPriority): Made public.
5702 (getBidiRootElement): Likewise.
5703 (setAsynchronousLoadPriority): Likewise.
5704 (setDocumentProperties): Likewise.
5705 * javax/swing/text/BadLocationException.java
5706 (serialVerionUID): New field.
5707 * javax/swing/text/DefaultCaret.java
5708 (changeEvent): New field.
5709 (listenerList): Likewise.
5710 (changes): Removed.
5711 (addChangeListener): Reimplemented.
5712 (removeChangeListener): Likewise.
5713 (getListeners): New method.
5714 (getChangeListeners): Likwise.
5715 (getComponent): Likewise.
5716 * javax/swing/text/GapContent.java
5717 (GapContent): Implements java.io.Serializable.
5718 (serialVerionUID): New field.
5719
5720 2004-06-16 Michael Koch <konqueror@gmx.de>
5721
5722 * javax/swing/JTree.java
5723 (treeModel): New field.
5724 (JTree): New constructors, one existing one made public.
5725 (createTreeModel): New method.
5726 (addTreeExpansionListener): Likewise.
5727 (removeTreeExpansionListener): Likewise.
5728 (getTreeExpansionListeners): Likewise.
5729 (fireTreeCollapsed): Likewise.
5730 (fireTreeExpanded): Likewise.
5731 (addTreeSelectionListener): Likewise.
5732 (removeTreeSelectionListener): Likewise.
5733 (getTreeSelectionListeners): Likewise.
5734 (fireValueChanged): Likewise.
5735 (addTreeWillExpandListener): Likewise.
5736 (removeTreeWillExpandListener): Likewise.
5737 (getTreeWillExpandListeners): Likewise.
5738 (fireTreeWillCollapse): Likewise.
5739 (fireTreeWillExpand): Likewise.
5740
5741 2004-06-16 Michael Koch <konqueror@gmx.de>
5742
5743 * javax/swing/JTree.java: Reformatted.
5744
5745 2004-06-16 Michael Koch <konqueror@gmx.de>
5746
5747 * javax/swing/JTextArea.java: New file.
5748 * javax/swing/JTextField.java
5749 (actions): Removed.
5750 (notifyAction): New constant.
5751 (columns): New field.
5752 (JTextField): New constructors.
5753 (createDefaultModel): New method.
5754 (addActionListener): Reimplmemented.
5755 (removeActionListener): Reimplemented.
5756 (getActionListeners): New method.
5757 (fireActionPerformed): New method.
5758 (getColumns): New method.
5759 (setColumne): New method.
5760 * javax/swing/text/JTextComponent.java
5761 (AccessibleJTextComponent.serialVersionUID): New field.
5762 (serialVersionUID): Likewise.
5763 (DEFAULT_KEYMAP): Likewise.
5764 (FOCUS_ACCELERATOR_KEY): Likewise.
5765 (doc): Made private.
5766 (icon_gap): Likewise.
5767 (icon): Likewise.
5768 (align): Likewise.
5769 (JTextComponent): Some constructors removed.
5770 (getScrollableTracksViewportHeight): New method.
5771 (getScrollableTracksViewportWidth): Likewise.
5772 * Makefile.am: Added javax/swing/JTextArea.java.
5773 * Makefile.in: Regenerated.
5774
5775 2004-06-15 Graydon Hoare <graydon@redhat.com>
5776
5777 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5778 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5779 * javax/swing/JViewport.java
5780 (getExtentSize): Return size rather than preferred size.
5781 (toViewCoordinates): New methods.
5782 (getViewSize): Return size rather than preferred size.
5783 (setViewSize): Note view size as set.
5784 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5785 * javax/swing/plaf/basic/BasicScrollBarUI.java
5786 (getPreferredSize): Don't redo layout.
5787 * javax/swing/plaf/basic/BasicViewportUI.java
5788 (paint): Translate image properly and eat exceptions.
5789
5790 2004-06-15 Kim Ho <kho@redhat.com>
5791
5792 * javax/swing/JTabbedPane.java
5793 (setComponent): Remove old component and
5794 add new component.
5795 (setSelectedIndex): Don't operate on the
5796 components if they're null. Don't set index
5797 on the model if the index is the same.
5798 (insertTab): Don't add or hide the component
5799 if it's null. Repaint the container.
5800 * javax/swing/plaf/basic/BasicLookAndFeel.java
5801 Change colors for TabbedPane.
5802 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5803 (mousePressed): Re-layout and paint the component.
5804 (layoutContainer): Don't set location on the view.
5805 (ScrollingViewport::paint): Remove.
5806
5807 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5808
5809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5810 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5811
5812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5813 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5814 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5815 critical region.
5816 (drawLine): Call gdk_flush before leaving GDK critical region.
5817 (fillRect): Likewise.
5818 (drawRect): Likewise.
5819 (copyArea): Likewise.
5820 (copyPixmap): Likewise.
5821 (clearRect): Likewise.
5822 (drawArc): Likewise.
5823 (drawPolyline): Likewise.
5824 (drawPolygon): Likewise.
5825 (fillPolygon): Likewise.
5826 (fillArc): Likewise.
5827 (drawOval): Likewise.
5828 (fillOval): Likewise.
5829
5830 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5831 style parameter.
5832 (GdkFontMetrics): Add style argument to initState call.
5833 (stringWidth(String,int,int,String)): Add style parameter.
5834 (stringWidth(String)): Add style argument to stringWidth call.
5835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5836 (initState): Set pango font style and weight based on AWT style
5837 parameter. Pass default GTK language to
5838 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5839 simply dividing by PANGO_SCALE.
5840 (stringWidth): Set pango font style and weight based on AWT style
5841 parameter.
5842
5843 * java/awt/Button.java (next_button_number): New field.
5844 (paramString): Change output.
5845 (generateName): New method.
5846 (getUniqueLong): New method.
5847
5848 2004-06-14 Kim Ho <kho@redhat.com>
5849
5850 * javax/swing/JTabbedPane.java:
5851 (setComponentAt): Set the component, not
5852 the enabled status.
5853 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5854 (actionPerformed): Let deiconize catch exception.
5855
5856 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5857
5858 * javax/swing/JPopupMenu.java:
5859 (setVisible): Corrected location of a
5860 heavyweight popup menu.
5861
5862 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5863
5864 * javax/swing/MenuSelectionManager.java:
5865 Ran through jalopy to fix formatting style.
5866
5867 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5868
5869 * javax/swing/JLayeredPane.java:
5870 (remove): Revalidate and repaint layered pane after
5871 the component was removed.
5872 javax/swing/JMenu.java:
5873 (setVisible): Display popup menu at the user location,
5874 if one was set by the user.
5875 (setMenuLocation): Reimplemented. Fixed javadoc.
5876 * javax/swing/JMenuBar.java: Added javadoc.
5877 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5878 (MODEL_CHANGED_PROPERTY): New Property.
5879 (isSelected): Implemented.
5880 (setBorderPainted): Fire PropertyChangeEvent
5881 if paintBorder property changes.
5882 (setSelected): Implemented.
5883 (setSelectionModel): Implemented.
5884 * javax/swing/JPopupMenu.java: Added Javadoc
5885 (pack): Implemented.
5886 (setVisible): Reimplemented.
5887 (show): Fixed location.
5888 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5889 Container instead of JPanel.
5890 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5891 (clearSelectedPath): Reimplemented to clear selectedPath
5892 in reverse order.
5893 (processMouseEvent): Reimplemented.
5894 (setSelectedPath): Fire stateChange event indicating that
5895 selected menu path has changed.
5896 (getPath): Change to use ArrayList instead of Vector.
5897 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5898 (installUI): call installKeyboardActions().
5899 (uninstallUI): call uninstallKeyboardActions().
5900
5901 2004-06-13 Michael Koch <konqueror@gmx.de>
5902
5903 * javax/swing/text/DefaultCaret.java,
5904 javax/swing/text/BadLocationException.java:
5905 Reformatted.
5906
5907 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5908
5909 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5910 DEFAULT_COLS): New variables.
5911 (create): Don't allow 0 rows or 0 columns. Instead, set the
5912 values to DEFAULT_ROWS or DEFAULT_COLS.
5913 (getMinimumSize): Likewise.
5914 (getPreferredSize): Likewise.
5915 (minimumSize): Likewise.
5916 (preferredSize): Likewise.
5917 (create): Set peer's editable state.
5918 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5919 zero. Update javadocs.
5920 (TextArea(String)): Likewise.
5921 (TextArea(int,int)): Fix javadocs.
5922 (TextArea(String,int,int,int)): Only throw exception if one of
5923 rows or columns is zero. Fix javadocs.
5924
5925 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5926
5927 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5928 addition to Components.
5929
5930 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5931 wasn't consumed by normal processing, send it to the parent
5932 menu.
5933
5934 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5935 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5936 translation.
5937
5938 2004-06-11 David Jee <djee@redhat.com>
5939
5940 * java/awt/MediaTracker.java
5941 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5942 (addImage(Image,int,int,int)): Likewise.
5943
5944 2004-06-11 Michael Koch <konqueror@gmx.de>
5945
5946 * javax/swing/text/AbstractDocument.java,
5947 javax/swing/text/Document.java,
5948 javax/swing/text/GapContent.java,
5949 javax/swing/text/JTextComponent.java,
5950 javax/swing/text/PlainDocument.java:
5951 Reformatted.
5952
5953 2004-06-11 Michael Koch <konqueror@gmx.de>
5954
5955 * javax/swing/JRootPane.java
5956 (AccessibleJRootPane.serialVersionUID): New field.
5957 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5958 (AccessibleJRootPane.getAccessibleRole): New method.
5959 (RootLayout): Implements Serializable.
5960 (RootLayout.serialVersionUID): New field.
5961 (RootLayout.RootLayout): New constructor.
5962 (setJMenuBar): Made public.
5963 (getJMenuBar): Likewise.
5964 (JRootPane): Likewise.
5965 (createContentPane): Likewise.
5966 (createGlassPane): Likewise.
5967 (createLayeredPane): Likewise.
5968
5969 2004-06-11 Michael Koch <konqueror@gmx.de>
5970
5971 * javax/swing/SwingUtilities.java
5972 (isLeftMouseButton): Fixed javadoc.
5973 (isMiddleMouseButton): Likewise.
5974 (isRightMouseButton): Likewise.
5975
5976 2004-06-11 Michael Koch <konqueror@gmx.de>
5977
5978 * javax/swing/JScrollPane.java
5979 (serialVersionUID): New field.
5980 (columnHeader): Made protected.
5981 (rowHeader): Likewise.
5982 (lowerLeft): Likewise.
5983 (lowerRight): Likewise.
5984 (upperLeft): Likewise.
5985 (upperRight): Likewise.
5986 (horizontalScrollBar): Likewise.
5987 (horizontalScrollBarPolicy): Likewise.
5988 (verticalScrollBar): Likewise.
5989 (verticalScrollBarPolicy): Likewise.
5990 (viewport): Likewise.
5991
5992 2004-06-11 Michael Koch <konqueror@gmx.de>
5993
5994 * javax/swing/LookAndFeel.java: Fixed javadocs.
5995
5996 2004-06-11 Michael Koch <konqueror@gmx.de>
5997
5998 * javax/swing/JEditorPane.java: Fixed javadocs.
5999 (JEditorPane): Removed redundant call to to this().
6000 (fireHyperlinkUpdate): Implemented.
6001
6002 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6003
6004 * javax/swing/JMenu.java: Fixed file name
6005 in the file comment.
6006
6007 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6008
6009 * javax/swing/JMenu.java: Added javadoc.
6010 (JMenu): Added MenuChangeListener to listen to
6011 ChangeEvents occuring in menu's model.
6012 (insert): Throw IllegalArgumentException if
6013 index is less than 0
6014 (setSelected): Reimplement.
6015 (setPopupMenuVisible): Call menu's model isEnabled()
6016 (setDelay): Throw IllegalArgumentException if
6017 given amount of delay is less than 0.
6018 (createActionComponent): Implemented.
6019 (createActionChangeListener): Implemented.
6020 (addSeparator): Implemented.
6021 (getItem): Throw IllegalArgumentException if index is
6022 less than 0.
6023 (getItemCount): Implemented.
6024 (fireMenuSelected): Changed to use menuEvent.
6025 (fireMenuDeselected): Likewise.
6026 (fireMenuCanceled): Likewise.
6027 (setAccelerator): Changed to throw an error if this
6028 method is used.
6029 (doClick): Implemented.
6030 (JMenu.ActionChangedListener): New inner class to handle
6031 PropertyChangeEvents occuring in the actions associated with menu.
6032 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6033 (BasicMenuUI): Added PropertyChangeListener to the menu.
6034 (createChangeListener): Implemented.
6035 (createMenuDragMouseListener): Likewise.
6036 (createMenuKeyListener): Likewise.
6037 (createPropertyChangeListener): Likewise.
6038 (uninstallListeners): Likewise.
6039 (BasicMenuUI.MouseInputHandler): Reimplemented.
6040 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6041 (BasicMenuUI.ChangeHandler): Likewise.
6042 (BasicMenuUI.MenuDragMouseHandler): Likewise.
6043 (BasicMenuUI.MenuKeyHandler): Likewise.
6044
6045 2004-06-10 David Jee <djee@redhat.com>
6046
6047 * java/awt/MediaTracker.java
6048 (imageUpdate): Only do notifyAll() if the image is complete.
6049
6050 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6051
6052 * javax/swing/JApplet.java:
6053 (getJMenuBar): Made public.
6054 (setJMenuBar): Likewise.
6055 * javax/swing/JFrame.java:
6056 (getJMenuBar): Made public.
6057 (setJMenuBar): Likewise.
6058 * javax/swing/JWindow.java:
6059 (getJMenuBar): Removed.
6060 (setJMenuBar): Removed.
6061
6062 2004-06-10 Michael Koch <konqueror@gmx.de>
6063
6064 * javax/swing/JEditorPane.java
6065 (createEditorKitForContentType): Fixed visibility.
6066 (fireHyperlinkUpdate): Likewise.
6067 (getContentType): Likewise.
6068 (getEditorKit): Likewise.
6069 (getEditorKitForContentType): Likewise.
6070 (getPage): Likewise.
6071 (read): Likewise.
6072 (registerEditorKitForContentTyoe): Likewise.
6073 (replaceSelection): Likewise.
6074 (setContentType): Likewise.
6075 (setEditorKit): Likewise.
6076 (setPage): Likewise.
6077
6078 2004-06-10 Michael Koch <konqueror@gmx.de>
6079
6080 * javax/swing/Timer.java
6081 (Timer): New constructor.
6082 * javax/swing/plaf/basic/BasicProgressBarUI.java
6083 (animationTimer): Don't initialize at construction.
6084 (startAnimationTimer): Added since tag.
6085 (stopAnimationTimer): Likewise.
6086 (installUI): Use new Timer constructor.
6087 * javax/swing/plaf/basic/BasicScrollBarUI.java
6088 (installUI): Likewise.
6089 * javax/swing/plaf/basic/BasicSliderUI.java
6090 (installUI): Likewise.
6091
6092 2004-06-10 Michael Koch <konqueror@gmx.de>
6093
6094 * javax/swing/ButtonGroup.java
6095 (serialVersionUID): Made private.
6096 (buttons): Renamed from v, added javadoc.
6097 (sel): Added javadoc.
6098 (ButtonGroup): Likewise.
6099 (add): Likewise.
6100 (remove): Likewise.
6101 (getElements): Likewise.
6102 (getSelection): Likewise.
6103 (setSelected): Likewise.
6104 (isSelected): Likewise.
6105 (getButtonCount): Likewise.
6106
6107 2004-06-10 Michael Koch <konqueror@gmx.de>
6108
6109 * javax/swing/ButtonGroup.java,
6110 javax/swing/ImageIcon.java,
6111 javax/swing/JEditorPane.java,
6112 javax/swing/JRootPane.java,
6113 javax/swing/JTextField.java,
6114 javax/swing/LookAndFeel.java,
6115 javax/swing/plaf/basic/BasicTextUI.java:
6116 Reindented.
6117
6118 2004-06-10 Michael Koch <konqueror@gmx.de>
6119
6120 * javax/swing/text/Style.java: Added javadocs.
6121
6122 2004-06-10 Michael Koch <konqueror@gmx.de>
6123
6124 * javax/swing/JComponent.java
6125 (fireVetoableChange): Removed redundant cast.
6126 * javax/swing/JLabel.java
6127 (getDisabledIcon): Save icon for next call.
6128
6129 2004-06-10 Michael Koch <konqueror@gmx.de>
6130
6131 * javax/swing/KeyStroke.java
6132 (getKeyStroke(char,boolean)): Marked deprecated.
6133
6134 2004-06-10 Michael Koch <konqueror@gmx.de>
6135
6136 * javax/swing/DefaultCellEditor.java,
6137 javax/swing/GrayFilter.java,
6138 javax/swing/event/DocumentEvent.java,
6139 javax/swing/text/JTextComponent.java,
6140 javax/swing/text/MutableAttributeSet.java:
6141 Reindented.
6142
6143 2004-06-10 Michael Koch <konqueror@gmx.de>
6144
6145 * javax/swing/plaf/BorderUIResource.java:
6146 Added serialVersionUID all over.
6147
6148 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
6149
6150 * javax/swing/undo/UndoManager.java: Re-written from scratch.
6151
6152 2004-06-10 Michael Koch <konqueror@gmx.de>
6153
6154 * javax/swing/table/DefaultTableCellRenderer.java
6155 (noFocusBorder): Initialize directly.
6156
6157 2004-06-10 Michael Koch <konqueror@gmx.de>
6158
6159 * javax/swing/plaf/basic/BasicArrowButton.java
6160 (setDirection): Use method argument.
6161
6162 2004-06-10 Michael Koch <konqueror@gmx.de>
6163
6164 * javax/swing/plaf/BorderUIResource.java,
6165 javax/swing/plaf/ComponentUI.java,
6166 javax/swing/undo/CompoundEdit.java,
6167 javax/swing/undo/StateEdit.java:
6168 Fixed javadocs all over.
6169
6170 2004-06-10 Michael Koch <konqueror@gmx.de>
6171
6172 * javax/swing/DefaultButtonModel.java
6173 (ARMED): Made public final, fixed value.
6174 (ENABLED): Likewise.
6175 (PRESSED): Likewise.
6176 (ROLLOVER): Likewise.
6177 (SELECTED): Likewise.
6178 (stateMask): Initialize directly.
6179 (listenerList): Likewise.
6180 (mnemonic): Likewise.
6181 (fireStateChanged): Removed argument, use changeEvent as event.
6182 All places where this method is called are fixed too.
6183 (getActionCommant): Fixed javadoc.
6184 (setGroup): Fixed javadoc.
6185 (getGroup): New method.
6186
6187 2004-06-09 Olga Rodimina <rodimina@redhat.com>
6188
6189 * javax/swing/AbstractButton.java
6190 (AbstractButton): Use init() to initialize the button.
6191 (init): New Method. Initializes AbstractButton.
6192 * javax/swing/JMenuItem.java: Documented.
6193 (JMenuItem): Reimplemented.
6194 (init): Implemented.
6195 (setEnabled): Changed to call super.setEnabled()
6196 (processMouseEvent): Reimplemented.
6197 (fireMenuKeyPressed): Implemented.
6198 (fireMenuKeyReleased): Implemented.
6199 (fireMenuKeyTyped): Implemented.
6200 (menuSelectionChanged): disarm the model if the menu item was
6201 deselected.
6202 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6203 (getPath): Change to use ArrayList instead of Vector.
6204 (getPreferredSize): Renamed variable.
6205 (paintMenuItem): Paint margin area of menu item.
6206 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6207 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6208 menu item's bounds before clearing the selection.
6209
6210 2004-06-09 David Jee <djee@redhat.com>
6211
6212 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6213 (GtkTextComponentPeer): Set caret position to 0.
6214 * java/awt/TextComponent.java
6215 (setText): Set caret position to 0.
6216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6217 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6218 Handle GtkScrolledWindow separately. Fix signal handler blocking.
6219 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6220 Likewise.
6221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6222 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6223 visible.
6224
6225 2004-06-09 Kim Ho <kho@redhat.com>
6226
6227 * Makefile.am: New files
6228 * Makefile.in: Regenerated
6229 * java/awt/Container.java
6230 (getComponentAt): Removed.
6231 * javax/swing/AbstractAction.java
6232 (ENABLED_PROPERTY): New property.
6233 (putValue): Fire PropertyChangeEvents.
6234 (setEnabled): ditto.
6235 (firePropertyChange): Javadoc and implement
6236 convenience method.
6237 * javax/swing/AbstractButton.java
6238 (setAction): Don't create PropertyChangeListener
6239 if new Action is null.
6240 (setIcon): Don't set icon till after comparing
6241 it.
6242 (configurePropertiesFromAction): Check mnemonic
6243 key before calling intValue().
6244 (createActionPropertyChangeListener): Check
6245 properties rather than bulk change.
6246 * javax/swing/DefaultDesktopManager.java:
6247 Implement.
6248 * javax/swing/DesktopManager.java:
6249 Jalopy and javadoc.
6250 * javax/swing/JComponent.java
6251 (fireVetoableChange): Implement.
6252 (paintImmediately): Use root component.
6253 * javax/swing/JDesktopPane.java: Implement
6254 * javax/swing/JInternalFrame.java: Implement
6255 * javax/swing/JLabel.java
6256 (getDisabledIcon): Return grayscaled icon if
6257 no disabled icon specified.
6258 * javax/swing/JMenuBar.java
6259 (getComponentAtIndex): Use getComponent
6260 * javax/swing/JOptionPane.java
6261 (getDesktopPaneForComponent): Use SwingUtilities'
6262 getAncestorOfClass
6263 (getFrameForComponent): ditto.
6264 * javax/swing/JSplitPane.java
6265 (remove): Use getComponent.
6266 * javax/swing/SwingUtilities.java
6267 (convertPoint): Implement.
6268 * javax/swing/plaf/basic/BasicButtonUI.java
6269 (paintButtonNormal): Check opaqueness before
6270 filling background.
6271 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6272 Implement
6273 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6274 Implement.
6275 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6276 Implement.
6277 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6278 Implement.
6279 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6280 Change InternalFrame and Desktop colors.
6281
6282 2004-06-09 David Jee <djee@redhat.com>
6283
6284 * java/awt/Container.java
6285 (remove): Do not set component to invisible.
6286
6287 2004-06-09 Michael Koch <konqueror@gmx.de>
6288
6289 * javax/swing/tree/DefaultMutableTreeNode.java
6290 (getLeafCount): Renamed enum to e.
6291
6292 2004-06-09 Michael Koch <konqueror@gmx.de>
6293
6294 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6295 (positionForMouseEvent): Removed redundant semicolon.
6296 (continueDrag): Use method arguments.
6297
6298 2004-06-09 Michael Koch <konqueror@gmx.de>
6299
6300 * javax/swing/border/TitledBorder.java,
6301 javax/swing/filechooser/FileSystemView.java,
6302 javax/swing/plaf/basic/BasicButtonListener.java,
6303 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6304 javax/swing/plaf/basic/BasicLabelUI.java,
6305 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6306 javax/swing/plaf/basic/BasicScrollBarUI.java,
6307 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6308 javax/swing/plaf/basic/BasicSliderUI.java,
6309 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6310 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6311 javax/swing/table/JTableHeader.java,
6312 javax/swing/text/AbstractDocument.java,
6313 javax/swing/text/DefaultCaret.java,
6314 javax/swing/text/StyledEditorKit.java,
6315 javax/swing/tree/DefaultTreeCellEditor.java:
6316 Reworked import statements.
6317
6318 2004-06-08 Graydon Hoare <graydon@redhat.com>
6319
6320 * javax/swing/Box.java: Temporarily comment out code
6321 broken due to visibility bug.
6322
6323 2004-06-09 Michael Koch <konqueror@gmx.de>
6324
6325 * javax/swing/ImageIcon.java
6326 (ImageIcon): Added missing constructor.
6327
6328 2004-06-08 Michael Koch <konqueror@gmx.de>
6329
6330 * javax/swing/JToggleButton.java
6331 (JToggleButton): New constructor.
6332 (getAccessibleContext): Moved documentation into javadoc.
6333 (getUIClassID): Likewise.
6334
6335 2004-06-08 Michael Koch <konqueror@gmx.de>
6336
6337 * javax/swing/AbstractButton.java
6338 (getDisabledIcon): Create disabled icon if none exists yet.
6339
6340 2004-06-08 Michael Koch <konqueror@gmx.de>
6341
6342 * javax/swing/plaf/basic/BasicLookAndFeel.java
6343 (initClassDefaults): Added FormattedTextFieldUI.
6344 (loadResourceBundle): Renamed enum to e.
6345
6346 2004-06-08 Michael Koch <konqueror@gmx.de>
6347
6348 * javax/swing/plaf/basic/BasicButtonUI.java
6349 (paintIcon): Simplified.
6350 (paintText): Paint disabled button correctly.
6351
6352 2004-06-08 Michael Koch <konqueror@gmx.de>
6353
6354 * javax/swing/JComponent.java
6355 (createToolTip): Use official JToolTip API.
6356
6357 2004-06-08 Michael Koch <konqueror@gmx.de>
6358
6359 * javax/swing/JToolTip.java
6360 (JToolTip): No arguments in API.
6361 (setTipText): New method.
6362
6363 2004-06-08 Michael Koch <konqueror@gmx.de>
6364
6365 * javax/swing/SwingUtilities.java
6366 (isLeftMouseButton): New method.
6367 (isMiddleMouseButton): New method.
6368 (isRightMouseButton): New method.
6369
6370 2004-06-08 Michael Koch <konqueror@gmx.de>
6371
6372 * javax/swing/AbstractButton.java,
6373 javax/swing/CellRendererPane.java,
6374 javax/swing/JCheckBoxMenuItem.java,
6375 javax/swing/JColorChooser.java,
6376 javax/swing/JComboBox.java,
6377 javax/swing/JComponent.java,
6378 javax/swing/JDesktopPane.java,
6379 javax/swing/JFileChooser.java,
6380 javax/swing/JMenu.java,
6381 javax/swing/JMenuItem.java,
6382 javax/swing/JOptionPane.java,
6383 javax/swing/JPasswordField.java,
6384 javax/swing/JPopupMenu.java,
6385 javax/swing/JProgressBar.java,
6386 javax/swing/JRadioButtonMenuItem.java,
6387 javax/swing/JScrollBar.java,
6388 javax/swing/JSeparator.java,
6389 javax/swing/JSlider.java,
6390 javax/swing/JSplitPane.java,
6391 javax/swing/JTabbedPane.java,
6392 javax/swing/JTextField.java,
6393 javax/swing/JToolBar.java,
6394 javax/swing/text/JTextComponent.java:
6395 Fixed all constructors of accessibility classes.
6396
6397 2004-06-08 Michael Koch <konqueror@gmx.de>
6398
6399 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6400 over.
6401
6402 2004-06-08 Michael Koch <konqueror@gmx.de>
6403
6404 * javax/swing/Box.java
6405 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6406 (AccessibleBoxFiller.serialVersionUID): New member variable.
6407 * javax/swing/DefaultButtonModel.java
6408 (stateMask): Made protected.
6409 (listenerList): Likewise.
6410 (changeEvent): Likewise.
6411 (group): Likewise.
6412 (mnemonic): Likewise.
6413 (actionCommand): Likewise.
6414 (getListeners): New method.
6415 (getActionListeners): New method.
6416 (getItemListeners): New method.
6417 (getChangeListeners): New method.
6418 (fireItemStateChanged): Simplified.
6419 (fireActionPerformed): Simplified.
6420 (fireStateChanged): Simplified.
6421 * javax/swing/JFrame.java
6422 (JFrame): Implements WindowContants.
6423 (HIDE_ON_CLOSE): Removed.
6424 (EXIT_ON_CLOSE): Removed.
6425 (DISPOSE_ON_CLOSE): Removed.
6426 (DO_NOTHING_ON_CLOSE): Removed.
6427 (processWindowEvent): Exit with code 0.
6428 (setDefaultCloseOperation): Do security check before setting value.
6429 * javax/swing/JOptionPane.java
6430 (message): Initialize only in constructor.
6431 * javax/swing/JToolTip.java: Removed unused imports.
6432 * javax/swing/JViewport.java
6433 (serialVersionUID): New member variable.
6434 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6435 (BLIT_SCROLL_MODE): Likewise.
6436 (BACKINGSTORE_SCROLL_MODE): Likewise.
6437 (scrollUnderway): Made protected.
6438 (isViewSizeSet): Likewise.
6439 * javax/swing/ListModel.java: Fixed javadoc.
6440 * javax/swing/Popup.java: Likewise.
6441 * javax/swing/RepaintManager.java
6442 (paintDirtyRegions): Don't use internal classes of
6443 java.util.AbstractMap.
6444 * javax/swing/ScrollPaneConstants.java: Reindented.
6445 * javax/swing/ScrollPaneLayout.java
6446 (viewport): Made protected.
6447 (verticalScrollBar): Made protected, renamed to vsb.
6448 (horizontalScrollBar): Made protected, renamed to hsb.
6449 (rowHeader): Made protected, renamed to rowHead.
6450 (columnHeader): Made protected, renamed to colHead.
6451 (lowerLeft): Made protected.
6452 (lowerRight): Made protected.
6453 (upperLeft): Made protected.
6454 (upperRight): Made protected.
6455 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6456 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6457
6458 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6459
6460 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6461 LOADING if flags has SOMEBITS set.
6462
6463 2004-06-07 Michael Koch <konqueror@gmx.de>
6464
6465 * javax/swing/AbstractButton.java: Reorganized imports.
6466 * javax/swing/ActionMap.java: Likewise.
6467 * javax/swing/DefaultButtonModel.java: Likewise.
6468 * javax/swing/DefaultListModel.java: Likewise.
6469 * javax/swing/ImageIcon.java: Likewise.
6470 (serialVersionUID): New member variable.
6471 * javax/swing/JComboBox.java: Reorganized imports.
6472 * javax/swing/JComponent.java: Likewise.
6473 (ui): Made protected.
6474 (listenerList): Made protected.
6475 (TOOL_TIP_TEXT_KEY): New constant.
6476 (scrollRectToVisible): Removed redundant null check.
6477 * javax/swing/JFrame.java: Reorganized imports.
6478 * javax/swing/JInternalFrame.java: Reorganized imports.
6479 * javax/swing/JProgressBar.java: Likewise.
6480 * javax/swing/JRootPane.java: Likewise.
6481 * javax/swing/JScrollBar.java: Likewise.
6482 * javax/swing/JSeparator.java: Likewise.
6483 * javax/swing/JSlider.java: Likewise.
6484 * javax/swing/JTabbedPane.java: Likewise.
6485 * javax/swing/JTextField.java: Likewise.
6486 * javax/swing/JToolBar.java: Likewise.
6487 * javax/swing/JTree.java: Likewise.
6488 * javax/swing/JViewport.java: Likewise.
6489 * javax/swing/JWindow.java: Likewise.
6490 * javax/swing/KeyStroke.java: Likewise.
6491 * javax/swing/LookAndFeel.java: Likewise.
6492 * javax/swing/MenuSelectionManager.java: Likewise.
6493 * javax/swing/SwingUtilities.java: Likewise.
6494 * javax/swing/Timer.java: Likewise.
6495 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6496 * javax/swing/JList.java
6497 (HORIZONTAL_WRAP): Made final, fixed value.
6498 (VERTICAL): Likewise.
6499 (VERTICAL_WRAP): Likewise.
6500
6501 2004-06-07 Michael Koch <konqueror@gmx.de>
6502
6503 * javax/swing/AbstractButton.java
6504 (serialVersionUID): New member variable.
6505 (AccessibleAbstractButton.serialVersionUID): Likewise.
6506 (AbstractButton): Made public.
6507 * javax/swing/Box.java
6508 (AccessibleBox.serialVersionUID): New member variable.
6509 (Filler.serialVersionUID): Likewise.
6510 * javax/swing/DefaultListSelectionModel.java
6511 (serialVersionUID): Likewise.
6512 * javax/swing/JApplet.java
6513 (serialVersionUID): Likewise.
6514 * javax/swing/JCheckBox.java
6515 (serialVersionUID): Likewise.
6516 * javax/swing/JCheckBoxMenuItem.java
6517 (serialVersionUID): Likewise.
6518 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6519 * javax/swing/JColorChooser.java
6520 (serialVersionUID): Likewise.
6521 (AccessibleJColorChooser.serialVersionUID): Likewise.
6522 * javax/swing/JComponent.java
6523 (serialVersionUID): Made private.
6524 (AccessibleJComponent.serialVersionUID): New member variable.
6525 * javax/swing/JDesktopPane.java
6526 (serialVersionUID): Likewise.
6527 * javax/swing/JDialog.java
6528 (serialVersionUID): Likewise.
6529 * javax/swing/JFormattedTextField.java
6530 (serialVersionUID): Fixed value.
6531 * javax/swing/JFrame.java
6532 (serialVersionUID): New member variable.
6533 (getDefaultCloseOpertation): Made public.
6534 * javax/swing/JLayeredPane.java
6535 (serialVersionUID): Likewise.
6536 (LAYER_PROPERTY): Made final, fixed value.
6537 (JLayeredPane): Made public.
6538 * javax/swing/JMenu.java
6539 (AccessibleJMenu.serialVersionUID): New member variable.
6540 (WinListener.serialVersionUID): Likewise.
6541 * javax/swing/JMenuBar.java
6542 (serialVersionUID): Likewise.
6543 (getComponentAtIndex): Added @deprecated tag.
6544 * javax/swing/JMenuItem.java
6545 (serialVersionUID): New member variable.
6546 (AccessibleJMenuItem.serialVersionUID): Likewise.
6547 * javax/swing/JOptionPane.java
6548 (serialVersionUID): Likewise.
6549 (AccessibleJOptionPane.serialVersionUID): Likewise.
6550 * javax/swing/JPopupMenu.java
6551 (serialVersionUID): Likewise.
6552 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6553 (getPopupMenuListeners): New method.
6554 (getComponentAtIndex): Added @deprecated tag.
6555 * javax/swing/JProgressBar.java
6556 (serialVersionUID): New member variable.
6557 (AccessibleJProgressBar.serialVersionUID): Likewise.
6558 * javax/swing/JRadioButton.java
6559 (serialVersionUID): Likewise.
6560 * javax/swing/JRadioButtonMenuItem.java
6561 (serialVersionUID): Likewise.
6562 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6563 * javax/swing/JScrollBar.java
6564 (serialVersionUID): Likewise.
6565 (AccessibleJScrollBar.serialVersionUID): Likewise.
6566 * javax/swing/JSeparator.java
6567 (serialVersionUID): Likewise.
6568 (AccessibleJSeparator.serialVersionUID): Likewise.
6569 * javax/swing/JSlider.java: Fixed javadocs.
6570 (AccessibleJSlider.serialVersionUID): New member variable.
6571 * javax/swing/JSplitPane.java: Added copyright statement.
6572 (serialVersionUID): New member variable.
6573 (AccessibleJSplitPane.serialVersionUID): Likewise.
6574 * javax/swing/JTabbedPane.java
6575 (serialVersionUID): Likewise.
6576 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6577 (ModelListener.serialVersionUID): Likewise.
6578 (ModelListener.ModelListener): New constructor.
6579 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6580 (WRAP_TAB_LAYOUT): Likewise.
6581 * javax/swing/JTable.java
6582 (serialVersionUID): New member variable.
6583 * javax/swing/JToggleButton.java
6584 (serialVersionUID): Likewise.
6585 (ToggleButtonModel): Made static.
6586 (ToggleButtonModel.serialVersionUID): New member variable.
6587 * javax/swing/JToolTip.java
6588 (serialVersionUID): Likewise.
6589 * javax/swing/JTree.java
6590 (serialVersionUID): Likewise.
6591 * javax/swing/JWindow.java
6592 (serialVersionUID): Likewise.
6593 * javax/swing/Timer.java
6594 (serialVersionUID): Likewise.
6595
6596 2004-06-06 Michael Koch <konqueror@gmx.de>
6597
6598 * javax/swing/SwingConstants.java
6599 (NEXT): New constant.
6600 (PREVIOUS): Likewise.
6601 * javax/swing/UIManager.java
6602 (LookAndFeel): Made public.
6603 (LookAndFeel.getClassName): Likewise.
6604 (LookAndFeel.getName): Likewise.
6605
6606 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6607
6608 * javax/swing/JCheckBoxMenuItem.java:
6609 Removed CVS tags.
6610 * javax/swing/JMenu.java: Likewise.
6611 * javax/swing/JMenuBar.java: Likewise.
6612 * javax/swing/JMenuItem.java: Likewise.
6613 * javax/swing/JPopupMenu.java: Likewise.
6614 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6615 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6616 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6617 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6618 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6619 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6620 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6621
6622 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6623
6624 * javax/swing/plaf/basic/BasicMenuUI.java:
6625 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6626 Call getPath() from super class instead.
6627
6628 2004-05-31 David Jee <djee@redhat.com>
6629
6630 * java/awt/Container.java
6631 (remove): Set component visibility to false after removing it.
6632
6633 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6634
6635 * java/awt/Component.java (getForeground): Return SystemColor if
6636 parent is null.
6637 (getBackground): Likewise.
6638
6639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6640 (item_highlighted): New function.
6641 (connectSignals): Set item_highlighted as list's select
6642 function.
6643
6644 * java/applet/Applet.java: Revert changes from 2004-04-29,
6645 2004-03-15 and 2004-03-14.
6646
6647 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6648 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6649 factor.
6650
6651 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6652 "Dialog" as the default font.
6653 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6654 Likewise.
6655 * java/awt/Component.java (getFont): Return "Dialog" font by
6656 default.
6657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6658 Multiply size argument to pango_font_description_set_size by the
6659 DPI conversion factor rather than by PANGO_SCALE.
6660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6661 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6665 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6668 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6670 Divide baseline y coordinate by DPI conversion factor rather
6671 than by PANGO_SCALE.
6672 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6673 (area_prepared): Fix typo.
6674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6675 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6676 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6677 (dpi_conversion_factor): New global variable.
6678 (init_dpi_conversion_factor): New function to calculate and
6679 track DPI conversion factor.
6680 (dpi_changed_cb): New callback.
6681 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6682
6683 2004-05-27 David Jee <djee@redhat.com>
6684
6685 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6686 (getGraphics): Return a new GdkGraphics instance.
6687 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6688 (getGraphics): Call super.getGraphics().
6689
6690 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6691
6692 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6693 (setNativeBounds): Clamp width and height values to >= 0.
6694
6695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6696 (find_fg_color_widget): Handle GtkOptionMenu specially.
6697
6698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6699 (pre_event_handler): Only post configure events to visible
6700 top-level windows.
6701
6702 2004-05-26 David Jee <djee@redhat.com>
6703
6704 * java/awt/BorderLayout.java
6705 (layoutContainer): Fix size calculations.
6706
6707 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6708
6709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6710 (window_wm_protocols_filter): Remove function.
6711 (create): Remove filter that removes WM_TAKE_FOCUS client
6712 messages.
6713
6714 2004-06-17 Anthony Green <green@redhat.com>
6715
6716 * java/util/zip/ZipFile.java (getInputStream): Return null if
6717 entry not found.
6718
6719 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6720 directory contents to the class path.
6721
6722 2004-06-15 Andrew Haley <aph@redhat.com>
6723
6724 * java/lang/natSystem.cc (getenv0): Don't assume environment
6725 variable is Latin 1 coded.
6726
6727 2004-06-14 Andreas Jaeger <aj@suse.de>
6728
6729 * configure.in: Support --enable-version-specific-runtime-libs.
6730 * configure: Regenerated.
6731
6732 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6733
6734 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6735 to pass ClassLoader argument.
6736 * java/util/GregorianCalendar.java: Likewise.
6737 * java/util/Currency.java: Likewise.
6738 * java/text/BreakIterator.java: Likewise.
6739 * java/text/Collator.java: Likewise.
6740 * java/text/DateFormat.java: Likewise.
6741 * java/text/DateFormatSymbols.java: Likewise.
6742 * java/text/DecimalFormatSymbols.java: Likewise.
6743 * java/text/NumberFormat.java: Likewise.
6744 * java/awt/Window.java: Likewise.
6745
6746 2004-06-14 Andrew Haley <aph@redhat.com>
6747
6748 * java/lang/System.java: (getenv0): New method.
6749 (getenv): Add security check. Do the right thing.
6750 * java/lang/natSystem.cc (getenv0): New method.
6751
6752 2004-06-12 Mark Wielaard <mark@klomp.org>
6753
6754 * javax/swing/RepaintManager.java
6755 (paintDirtyRegions): Use entrySet(), not values().
6756
6757 2004-06-10 Mark Wielaard <mark@klomp.org>
6758
6759 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6760 NoSuchMethodError.
6761
6762 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6763
6764 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6765 when we already know the answer.
6766 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6767 (setStartRule,setEndRule): Don't take abs of day number.
6768 (getOffset): Clarify docs. Add argument checks.
6769 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6770 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6771 endTimeMode.
6772
6773 2004-06-10 Tom Tromey <tromey@redhat.com>
6774
6775 * interpret.cc (run): Handle wide fload.
6776
6777 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6778
6779 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6780
6781 2004-06-05 Michael Koch <konqueror@gmx.de>
6782
6783 * javax/swing/SwingConstants.java
6784 (NEXT): New constant.
6785 (PREVIOUS): Likewise.
6786
6787 2004-06-05 Michael Koch <konqueror@gmx.de>
6788
6789 * javax/swing/UIManager.java
6790 (LookAndFeel): Made public.
6791 (LookAndFeel.getName): Likewise.
6792 (LookAndFeel.getClassName): Likewise.
6793
6794 2004-06-03 Michael Koch <konqueror@gmx.de>
6795
6796 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6797 (requestFocus): Revert last changes.
6798 (gtkRequestFocus): Removed.
6799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6800 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6801 Renamed to ...
6802 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6803 Reverted last patch.
6804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6805 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6806 Reverted comment change.
6807
6808 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6809
6810 * javax/swing/JCheckBoxMenuItem.java:
6811 Removed CVS tags.
6812 * javax/swing/JMenu.java: Likewise.
6813 * javax/swing/JMenuBar.java: Likewise.
6814 * javax/swing/JMenuItem.java: Likewise.
6815 * javax/swing/JPopupMenu.java: Likewise.
6816 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6817 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6818 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6819 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6820 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6821 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6822 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6823
6824 2004-06-01 Tom Tromey <tromey@redhat.com>
6825
6826 * java/io/ObjectStreamField.java: Cleaned up imports.
6827
6828 2004-06-01 Michael Koch <konqueror@gmx.de>
6829
6830 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6831
6832 2004-06-01 Mark Wielaard <mark@klomp.org>
6833
6834 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6835
6836 2004-06-01 Michael Koch <konqueror@gmx.de>
6837
6838 * java/security/Security.java
6839 (insertProviderAt): Use equals() instead of ==.
6840 (removeProvicer): Likewise.
6841 (getProvider): Likewise.
6842 * java/security/Signature.java
6843 (sign): Don't set state to UNINITIALIZED.
6844 (verify): Likewise.
6845
6846 2004-06-01 Mark Wielaard <mark@klomp.org>
6847
6848 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6849 Implement by calling gtkRequestFocus.
6850 (gtkRequestFocus): New native method.
6851 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6852 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6853 Renamed to ...
6854 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6855 New function name.
6856 (filter_expose_event_handler):
6857 Mark static.
6858 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6859 (menu_pos): Mark static.
6860
6861 2004-06-01 Michael Koch <konqueror@gmx.de>
6862
6863 * java/text/CollationElementIterator.java,
6864 java/text/CollationKey.java,
6865 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6866 * testsuite/libjava.mauve/xfails: Removed all
6867 java.text.CollationElementIterator tests.
6868
6869 2004-06-01 Michael Koch <konqueror@gmx.de>
6870
6871 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6872 version.
6873 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6874 Java 1.5 keyword usage.
6875
6876 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6877
6878 * javax/swing/plaf/basic/BasicMenuUI.java:
6879 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6880 Call getPath() from super class instead.
6881
6882 2004-05-31 Michael Koch <konqueror@gmx.de>
6883
6884 * java/io/SequenceInputStream.java:
6885 Rename enum to e because enum is a keyword in Java 1.5.
6886
6887 2004-05-31 Michael Koch <konqueror@gmx.de>
6888
6889 * gnu/java/rmi/rmic/CompilerProcess.java:
6890 Fixed javadoc to by XHTML compliant.
6891
6892 2004-05-30 Mark Wielaard <mark@klomp.org>
6893
6894 * java/awt/Toolkit.java (loadSystemColors): Implement.
6895
6896 2004-05-30 Michael Koch <konqueror@gmx.de>
6897
6898 * java/lang/System.java: Reordered imports.
6899
6900 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6901
6902 * java/text/DecimalFormat.java
6903 (parse): Fixed parsing of decimal strings. Number of maximum
6904 digits to be read should now work.
6905 * java/text/SimpleDateFormat.java
6906 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6907 formatter. This fixes DateFormatTest.
6908
6909 2004-05-30 Michael Koch <konqueror@gmx.de>
6910
6911 * java/nio/Buffer.java
6912 (limit): Fixed off by one error.
6913 * java/nio/CharBuffer.java
6914 (wrap): Fixed arguments, added javadocs.
6915
6916 2004-05-30 Michael Koch <konqueror@gmx.de>
6917
6918 * gnu/java/beans/BeanInfoEmbryo.java,
6919 java/awt/im/InputContext.java,
6920 javax/swing/tree/DefaultMutableTreeNode.java:
6921 Rename enum to e because enum is a keyword in Java 1.5.
6922
6923 2004-05-30 Michael Koch <konqueror@gmx.de>
6924
6925 * gnu/java/math/MPN.java,
6926 java/awt/geom/Arc2D.java:
6927 Fixed javadocs all over.
6928
6929 2004-05-30 Michael Koch <konqueror@gmx.de>
6930
6931 * java/awt/DefaultKeyboardFocusManager.java
6932 (dispatchEvent): Call method to get key event dispatchers.
6933 (dispatchKeyEvent): Call method to get key event post processors.
6934 * javax/swing/JComponent.java
6935 (listenerList): Made protected.
6936 * javax/swing/JOptionPane.java
6937 (message): Don't initialize.
6938 (JOptionPane): Set message text.
6939 * javax/swing/JPopupMenu.java
6940 (show): Fixed typo in argument name.
6941 * javax/swing/RepaintManager.java
6942 (paintDirtyRegions): Use public API of java.util.Map.
6943 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6944 (positionForMouseEvent): Removed redundant ';'.
6945 (continueDrag): Use method arguments.
6946
6947 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6948
6949 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6950 results.
6951
6952 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6953
6954 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6955 _Jv_AllocBytes.
6956 * gnu/gcj/RawDataManaged.java: New file.
6957 * java/lang/Thread.java (data): Declare as RawDataManaged.
6958 * java/lang/natThread.cc (init_native): Cast natThread data to
6959 RawDataManaged, not jobject.
6960 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6961 * Makefile.in: Rebuilt.
6962
6963 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6964
6965 * java/util/SimpleTimeZone.java: Reverting my last change until I
6966 can fix it properly.
6967
6968 2004-05-27 Michael Koch <konqueror@gmx.de>
6969
6970 * javax/swing/JPopupMenu.java
6971 (isVisible): Do not use visible directly.
6972 (setVisible): Likewise.
6973 * javax/swing/JWindow.java
6974 (JWindow): call accessible constructor.
6975 * javax/swing/RepaintManager.java
6976 (paintDirtyRegions): Use public methods to obtain iterator.
6977
6978 2004-05-25 David Jee <djee@redhat.com>
6979
6980 * java/awt/Container.java
6981 (remove): Set component's parent to null only after we removed the
6982 component from its parent's layout manager.
6983
6984 2004-05-25 David Jee <djee@redhat.com>
6985
6986 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6987 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6988 is valid.
6989 * gnu/java/awt/peer/gtk/GtkListPeer.java
6990 (getSize): Change native method declaration.
6991 (minimumSize): Pass visible row count into getSize().
6992 (preferredSize): Likewise.
6993 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6994 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6995 natural size. Use visible row count to determine the final height
6996 value to return.
6997
6998 2004-05-21 Graydon Hoare <graydon@redhat.com>
6999
7000 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7001 (setClip): Minor correction to order of operations.
7002
7003 * javax/swing/JScrollPane.java: Extend sketchy implementation.
7004 * javax/swing/ScrollPaneLayout.java: Likewise.
7005 * javax/swing/JViewPort.java: Likewise.
7006 * javax/swing/ViewportLayout.java: Likewise.
7007
7008 * javax/swing/JComponent.java: Rewrite.
7009 * javax/swing/RepaintManager.java: Likewise.
7010
7011 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7012 * javax/swing/JList.java
7013 (setSelectedIndices):
7014 (getSelectedIndices):
7015 (getSelectedValues): New functions.
7016 (getPreferredScrollableViewportSize): Return preferred size.
7017 (getScrollableUnitIncrement):
7018 (getScrollableBlockIncrement): Initial implementations.
7019 * javax/swing/JRootPane.java: Clean up slightly.
7020 (getUI):
7021 (setUI):
7022 (updateUI):
7023 (getUIClassID):
7024 (isValidateRoot): Add overrides from JComponent.
7025 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7026 * javax/swing/UIManager.java (getDimension): Return the dimension.
7027
7028 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7029 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7030 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7031 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7032 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7033 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7034 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7035 * javax/swing/plaf/basic/BasicRootPaneUI.java:
7036 Likewise, and set background.
7037 * javax/swing/plaf/basic/BasicListUI.java:
7038 Likewise, and improve a bit.
7039 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7040 Likewise, and adjust calculations.
7041 * javax/swing/plaf/basic/BasicViewportUI.java:
7042 Likewise, and improve a bit.
7043 * javax/swing/plaf/basic/BasicLookAndFeel.java
7044 (Button.margin): Shrink.
7045
7046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7047 Hack to set horizontal always, workaround pango.
7048
7049 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7051 Synchronize more often, check cairo status after ops,
7052 handle changes to cairo pattern API, check for disposal.
7053
7054 2004-05-21 Olga Rodimina <rodimina@redhat.com>
7055
7056 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7057 (BasicMenuItemUI): Create propertyChangeListener.
7058 (getPath):Implemented.
7059 (installListeners): Add propertyChangeListener to menuItem.
7060 (uninstallListeners): Remove propertyChangeListener from menuItem.
7061 (update): Implemented.
7062 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7063 (mouseEntered): Take insets of popup menu into account when
7064 calculating position of popup menu.
7065
7066 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7067
7068 * Makefile.am: Added new file.
7069 * Makefile.in: Regenerate.
7070 * javax/swing/JMenuBar.java:
7071 Started implementation.
7072 * javax/swing/JPopupMenu.java:
7073 (setVisible): Fixed location of lightweight/mediumweight
7074 popup menu.
7075 (show): Fixed location of PopupMenu.
7076 * javax/swing/plaf/basic/BasicMenuBarUI.java:
7077 New file. UI Delegate for JMenuBar.
7078 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7079 (mouseEntered): Corrected position of the submenu.
7080
7081 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7082
7083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7084 to _gtk_accel_group_attach.
7085 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7086 Likewise.
7087
7088 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7089 package access. Don't override setFont.
7090 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7091 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7092 gtkWidgetRequestFocus package access.
7093 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7094 setFont.
7095 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7096 Give gtkWidgetRequestFocus package access.
7097 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7098 gtkWidgetRequestFocus package access. Don't override setFont.
7099 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7100 setFont.
7101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7102 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7103 region.
7104 (gtkSetFont): Likewise.
7105 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7106 Implement.
7107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7108 (gtkSetFont): Whitespace fix.
7109
7110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7111 (gtkWidgetSetUsize): Remove method.
7112
7113 2004-05-18 David Jee <djee@redhat.com>
7114
7115 * java/awt/image/MemoryImageSource.java
7116 (newPixels(int,int,int,int,boolean)): Set only the specified
7117 rectangle of pixels.
7118 (newPixels(byte[],ColorModel,int,int)): Implement.
7119 (newPixels(int[],ColorModel,int,int)): Implement.
7120
7121 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7122
7123 * Makefile.am: Added new file.
7124 * Makefile.in: Regenerate.
7125 * javax/swing/JMenu.java: Started
7126 implementation.
7127 * javax/swing/JPopupMenu.java:
7128 (insert): If specified index is -1, then
7129 add component at the end.
7130 (isPopupTrigger): Reimplemented.
7131 (JPopupMenu.LightWeightPopup): setBounds
7132 of the lightWeightPopup before adding it
7133 to the layeredPane.
7134 (javax/swing/plaf/basic/BasicIconFactory.java):
7135 (getMenuArrowIcon): Implemented.
7136 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7137 (getPreferredSize): Add size of the arrow icon
7138 if this menu item is instance of JMenu.
7139 (paintMenuItem): Paint arrow icon if this
7140 menu item is a submenu.
7141 * javax/swing/plaf/basic/BasicMenuUI.java:
7142 New File. UI Delegate for JMenu.
7143
7144 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7145
7146 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7147 Post KEY_TYPED events.
7148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7149 (generates_key_typed_event): Remove function.
7150
7151 2004-05-17 Olga Rodimina <rodimina@redhat.com>
7152
7153 * javax/swing/JRootPane.java
7154 (JRootPane.RootLayout): Reimplemented to
7155 set bounds of contentPane and menuBar.
7156 (setJMenuBar): Add menu bar to the layered pane.
7157 (createLayeredPane): Set layout of layeredPane
7158 to null.
7159 * javax/swing/JLayeredPane.java:
7160 (addImpl): Calculate index of the component in the
7161 layeredPane according to the specified position within
7162 the layer.
7163
7164 2004-05-17 David Jee <djee@redhat.com>
7165
7166 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7167 (setPixels): Change color model to the default model after
7168 converting pixels.
7169 * java/awt/image/MemoryImageSource.java
7170 (newPixels): Set only the specified rectangle of pixels.
7171
7172 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7173
7174 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7175 -l-java-beans -l-javax-accessibility -l-javax-swing.
7176
7177 * java/awt/AWTEvent.java (toString): Print source's name rather
7178 than the source itself.
7179
7180 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
7181
7182 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7183 native.
7184 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7185 (gdk_color_to_java_color): New function.
7186 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7187
7188 2004-05-12 David Jee <djee@redhat.com>
7189
7190 * java/awt/image/RGBImageFilter.java:
7191 Initialize origmodel as null.
7192 (makeColor): Fix pixel component order.
7193 (filterRGBPixels): Fix pixel iteration.
7194 (setPixels): Add extra checks for index color model. Convert pixels
7195 to default color model if necessary.
7196 (convertColorModelToDefault): New override method for byte pixels.
7197 (convertColorModelToDefault): For int pixels, fix pixel iteration.
7198 (makeColorbyDefaultCM): New override method for byte pixels.
7199 (makeColorbyDefaultCM): For int pixel, add color model as argument.
7200 (makeColor): Fix pixel component order.
7201
7202 2004-05-11 Kim Ho <kho@redhat.com>
7203
7204 * javax/swing/Box.java:
7205 Comment out more parts of Box.Filler.
7206
7207 2004-05-11 Kim Ho <kho@redhat.com>
7208
7209 * javax/swing/Box.java:
7210 Remove reference to AccessibleAWTComponent so
7211 it compiles again.
7212
7213 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7214
7215 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7216 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7217 implementation of list peer to use GtkTreeView instead of
7218 deprecated GtkCList.
7219
7220 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7221
7222 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7223 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7224 (handleEvent): Remove keyChar argument to
7225 gtkWidgetDispatchKeyEvent calls.
7226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7227 compiler warnings.
7228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7230 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7231 Likewise.
7232
7233 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7234
7235 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7236 (gtkWidgetRequestFocus): Mark protected.
7237 (GtkComponentPeer): Only set the peer's bounds if its component
7238 is valid.
7239 * java/awt/Component.java (static): Set the default keyboard
7240 focus manager.
7241 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7242 requestFocusInWindow(temporary)): Don't request focus if the
7243 component is not showing. Get tree lock before traversing
7244 component hierarchy.
7245 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7246 Only set the global focus owner if it is not a Window.
7247 (processKeyEvent): Consume keystrokes associated with the focus
7248 traversal keystroke.
7249 (focusPreviousComponent, focusNextComponent, upFocusCycle,
7250 downFocusCycle): Call requestFocusInWindow instead of
7251 requestFocus.
7252 * java/awt/EventDispatchThread.java (run): Move setting of
7253 default keyboard focus manager to Component.java.
7254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7255 (awt_keycode_to_keysym): New function.
7256 (gtkWidgetDispatchKeyEvent): Finish implementation.
7257 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7258 (pre_event_handler): Add FIXME comment.
7259
7260 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7261 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7262 (gtkWidgetRequestFocus): New method.
7263 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7264 disable Tab and Shift-Tab keystrokes.
7265 (addNotify, appendText, insertText, replaceText): Simplify peer
7266 retrieval code.
7267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7268 (connectSignals): Remove connections to "commit" signals.
7269 Remove C++-style comments.
7270
7271 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7272 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7273 (handleEvent): Activate GTK button when the space bar key is
7274 pressed.
7275 (gtkActivate): New method.
7276
7277 2004-05-06 David Jee <djee@redhat.com>
7278
7279 * java/awt/image/CropImageFilter.java
7280 (setPixels): Implement for byte array pixels.
7281 * java/awt/image/ReplicateScaleFilter.java
7282 (setPixels): Implement for byte array pixels.
7283 (replicatePixels): Overload for byte array pixels.
7284
7285 2004-05-06 Kim Ho <kho@redhat.com>
7286
7287 * javax/swing/Box.java:
7288 (getAccessibleContext): Return an instance of the
7289 correct class.
7290
7291 2004-05-05 David Jee <djee@redhat.com>
7292
7293 * gnu/java/awt/peer/gtk/GdkGraphics.java
7294 (drawImage): When component is null, use SystemColor.window as
7295 the default bgcolor.
7296 * gnu/java/awt/peer/gtk/GtkImage.java
7297 (setPixels): We can avoid iterating through the pixel rows only
7298 when height is 1.
7299 * java/awt/Image.java
7300 (getScaledInstance): Partially implement.
7301 * java/awt/image/CropImageFilter.java
7302 (setProperties): Fix "filter" property.
7303 (setPixels): Implement.
7304 * java/awt/image/ReplicateScaleFilter.java
7305 (setDimensions): Use scaled dimensions.
7306 (setPixels): Implement.
7307 (replicatePixels): New method.
7308
7309 2004-05-05 David Jee <djee@redhat.com>
7310
7311 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7312 (convertPixels): If either pixels or model is null, return null.
7313 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7314 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7315 is null, do nothing and return.
7316
7317 2004-05-03 Kim Ho <kho@redhat.com>
7318
7319 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7320 (getGraphics): Like GtkFramePeer, the Graphics
7321 object needs to be translate to account for
7322 window decorations.
7323 (postMouseEvent): New method. Account for
7324 translation.
7325 (postExposeEvent): ditto.
7326 * javax/swing/Box.java: Stubbed.
7327 * javax/swing/JDialog.java: Ran through jalopy
7328 to fix indentation.
7329 (JDialog): Call SwingUtilities' getOwnerFrame
7330 for null owners.
7331 (setLayout): Check isRootPaneCheckingEnabled
7332 * javax/swing/JOptionPane.java: Re-implemented.
7333 * javax/swing/SwingUtilities.java:
7334 (getOwnerFrame): Static method to grab a default
7335 owner frame for Dialogs that don't specify owners.
7336 * javax/swing/event/SwingPropertyChangeSupport.java:
7337 (firePropertyChange): Fix early exit condition.
7338 * javax/swing/plaf/basic/BasicLabelUI.java:
7339 (paint): Avoid painting text if it is null
7340 or empty.
7341 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7342 Implement.
7343
7344 2004-05-03 Olga Rodimina <rodimina@redhat.com>
7345
7346 * Makefile.am: Added new file.
7347 * Makefile.in: Regenerate.
7348 * javax/swing/JPopupMenu.java:
7349 Started implementation.
7350 * javax/swing/JWindow.java
7351 (JWindow): call super() if parent for window
7352 is not specified.
7353 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7354 New File. UI Delegate for JPopupMenu.
7355
7356 2004-04-30 Olga Rodimina <rodimina@redhat.com>
7357
7358 * javax/swing/JApplet.java: Indicated that JApplet
7359 implements RootPaneContainer and made method of this
7360 interface public.
7361 * javax/swing/JFrame.java: Ditto.
7362 * javax/swing/JWindow.java: Ditto.
7363
7364 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7365
7366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7367 (nativeSetBounds): Call gdk_window_move in addition to
7368 gtk_window_move.
7369
7370 * java/applet/Applet.java (preferredSize): Call parent's
7371 preferredSize if the applet stub is null.
7372 (minimumSize): Likewise for parent's minimumSize.
7373
7374 2004-04-27 Olga Rodimina <rodimina@redhat.com>
7375
7376 * javax/swing/JMenuItem.java
7377 (createActionPropertyChangeListener): Implemented.
7378 (processMouseEvent): Ditto.
7379 (fireMenuDragMouseEntered): Ditto.
7380 (fireMenuDragMouseExited): Ditto.
7381 (fireMenuDragMouseDragged): Ditto.
7382 (fireMenuDragMouseReleased): Ditto.
7383 (menuSelectionChanged): Ditto.
7384 (getSubElements): Ditto.
7385 (getComponent): Ditto.
7386 (addMenuDragMouseListener): Ditto.
7387 (removeMenuDragMouseListener):Ditto.
7388 (addMenuKeyListener): Ditto.
7389 (removeMenuKeyListener): Ditto.
7390 * javax/swing/plaf/basic/BasicMenuItemUI.java
7391 (doClick): Imlemented.
7392 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7393 Don't handle mouse events here. Pass them to
7394 MenuSelectionManager.
7395
7396 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7397 Used correct version of jalopy configuration
7398 file to fix style in the files below.
7399
7400 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7401
7402 * javax/swing/JCheckBoxMenuItem.java:
7403 Fixed style and removed unnecessary comments.
7404 * javax/swing/JMenuItem.java: Ditto.
7405 * javax/swing/JRadioButtonMenuItem.java: Ditto.
7406 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7407 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7408 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7409
7410 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7411
7412 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7413 C-style.
7414
7415 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7416
7417 * java/awt/ContainerOrderFocusTraversalPolicy.java
7418 (getComponentAfter): Start from current component and work up
7419 the component hierarchy until an acceptable component is found.
7420 Synchronize on tree lock.
7421 (getComponentBefore): Likewise.
7422
7423 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7424
7425 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7426 focus-related debugging messages.
7427 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7428 * java/awt/EventDispatchThread.java: Likewise.
7429 * java/awt/KeyboardFocusManager.java: Likewise.
7430 * java/awt/Window.java: Likewise.
7431 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7433
7434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7435 new C++-style comments to C-style comments.
7436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7437
7438 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7439 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7440 (handleEvent): Dispatch key press and key release events to
7441 backing widget.
7442 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7443 (gtkWidgetRequestFocus): New method.
7444 (gtkWidgetDispatchKeyEvent): Likewise.
7445 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7446 requestFocusInWindow, requestFocusInWindow(boolean),
7447 getFocusCycleRootAncestor, nextFocus, transferFocus,
7448 transferFocusBackward, transferFocusUpCycle, hasFocus,
7449 isFocusOwner): Implement and document focus-handling methods.
7450 (setFocusTraversalKeys): Inherit focus traversal keys when
7451 keystrokes argument is null. Fix focus-handling documentation
7452 throughout class.
7453 * java/awt/Container.java (setFocusTraversalKeys,
7454 getFocusTraversalKeys, areFocusTraversalKeysSet,
7455 isFocusCycleRoot, setFocusTraversalPolicy,
7456 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7457 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7458 Implement and document focus-handling methods.
7459 (transferFocusBackward): Remove method.
7460 (readObject, writeObject): Implement and document serialization
7461 methods.
7462 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7463 and document.
7464 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7465 document.
7466 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7467 partially document.
7468 * java/awt/EventDispatchThread.java (run): Set default keyboard
7469 focus manager. Attempt to dispatch each event to the keyboard
7470 focus manager before normal dispatch.
7471 * java/awt/KeyboardFocusManager.java: Implement and partially
7472 document.
7473 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7474 (show): Focus initial component when window is shown for the
7475 first time.
7476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7477 (pre_event_handler): Replace complex key press and key release
7478 logic with simple callbacks into GtkComponentPeer.
7479 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7480
7481 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7482
7483 * javax/swing/MenuSelectionManager.java
7484 (componentForPoint): Added new method.
7485 (defaultManager): New Method. Implemented.
7486 (getSelectedPath): Ditto.
7487 (isComponentPartOfCurrentMenu): Ditto.
7488 (processKeyEvent): Added new method.
7489 (processMouseEvent): New Method. Implemented.
7490 (setSelectedPath): Ditto.
7491 (getPath): Ditto.
7492
7493 2004-04-19 Kim Ho <kho@redhat.com>
7494
7495 * java/awt/Container.java:
7496 (remove): Set the component's parent to null.
7497 (getComponentAt): Implement.
7498 * javax/swing/JComponent.java:
7499 (JComponent): Initialize defaultLocale
7500 (getDefaultLocale): Implement.
7501 (setDefaultLocale): ditto.
7502 * javax/swing/JSlider.java:
7503 (JSlider): Fix calculation of value.
7504 * javax/swing/JSplitPane.java: Implement.
7505 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7506 Change SplitPane's default divider size.
7507 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7508 (paint): Remove unused code.
7509 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7510 Added comments and ran through jalopy.
7511 (setBasicSplitPaneUI): Get reference to hidden divider
7512 and set up one touch buttons if necessary.
7513 (setBorder): Fire propertyChangeEvent only if
7514 borders are different.
7515 (getPreferredSize): Defer to layout manager.
7516 (propertyChange): Implement.
7517 (oneTouchExpandableChanged): ditto.
7518 (createLeftOneTouchButton): Use BasicArrowButton.
7519 (createRightOneTouchButton): ditto.
7520 (moveDividerTo): New method. Moves the divider
7521 to a set location based on the last divider location.
7522 (BasicSplitPaneDivider::MouseHandler): Implement.
7523 (BasicSplitPaneDivider::OneTouchButton): Removed.
7524 (BasicSplitPaneDivider::DragController): Implement.
7525 (BasicSplitPaneDivider::VerticalDragController):
7526 ditto.
7527 (BasicSplitPaneDivider::DividerLayout): ditto.
7528 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7529 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7530 (calculateLayoutInfo): Don't show component if it's
7531 null.
7532 (paintTab): Fix title paint logic.
7533
7534 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7535
7536 PR libgcj/8321
7537 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7538 (setStartRule,setEndRule): Don't take abs of day number.
7539 (getOffset): Clarify docs. Add argument checks.
7540 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7541 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7542 endTimeMode.
7543 * testsuite/libjava.mauve/xfails
7544 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7545
7546 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7547
7548 Layout interfaces during preparation, not initialization.
7549 * java/lang/natClass.cc (initializeClass): Move
7550 _Jv_LayoutInterfaceMethods call...
7551 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7552
7553 2004-05-19 Anthony Green <green@localhost.localdomain>
7554
7555 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7556 gnu.javax.rmi code.
7557 * Makefile.in: Rebuilt.
7558 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7559 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7560 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7561 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7562 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7563 gnu/javax/rmi/CORBA/DelegateFactory.java,
7564 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7565 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7566 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7567 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7568 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7569 gnu/javax/rmi/PortableServer.java: Remove files.
7570
7571 2004-05-19 Anthony Green <green@redhat.com>
7572
7573 * Makefile.am: Define JAVA_EXT_DIRS.
7574 * Makefile.in: Rebuilt.
7575 * java/lang/natRuntime.cc (insertSystemProperties): Set
7576 java.ext.dirs property.
7577
7578 2004-05-16 Mark Wielaard <mark@klomp.org>
7579
7580 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7581
7582 2004-05-15 Mark Wielaard <mark@klomp.org>
7583
7584 * doc/cni.sgml: Removed, merged into gcj.texi.
7585
7586 2004-05-15 Mark Wielaard <mark@klomp.org>
7587
7588 * Makefile.am (ordinary_java_source_files): Add new javax.print
7589 classes.
7590 * Makefile.in: Regenerated.
7591
7592 2004-05-15 Michael Koch <konqueror@gmx.de>
7593
7594 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7595 javax/print/attribute/standard/DateTimeAtCreation.java,
7596 javax/print/attribute/standard/DateTimeAtProcessing.java,
7597 javax/print/attribute/standard/DocumentName.java,
7598 javax/print/attribute/standard/JobHoldUntil.java,
7599 javax/print/attribute/standard/JobImpressionsCompleted.java,
7600 javax/print/attribute/standard/JobMessageFromOperator.java,
7601 javax/print/attribute/standard/JobName.java,
7602 javax/print/attribute/standard/JobOriginatingUserName.java,
7603 javax/print/attribute/standard/JobPriority.java,
7604 javax/print/attribute/standard/JobPrioritySupported.java,
7605 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7606 javax/print/attribute/standard/OutputDeviceAssigned.java,
7607 javax/print/attribute/standard/PrinterInfo.java,
7608 javax/print/attribute/standard/PrinterLocation.java,
7609 javax/print/attribute/standard/PrinterMakeAndModel.java,
7610 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7611 javax/print/attribute/standard/PrinterName.java,
7612 javax/print/attribute/standard/QueuedJobCount.java,
7613 javax/print/attribute/standard/RequestingUserName.java:
7614 Fixed javadocs all over.
7615
7616 2004-05-15 Michael Koch <konqueror@gmx.de>
7617
7618 * javax/print/DocFlavor.java,
7619 javax/print/attribute/standard/ColorSupported.java,
7620 javax/print/attribute/standard/Compression.java,
7621 javax/print/attribute/standard/CopiesSupported.java,
7622 javax/print/attribute/standard/Fidelity.java,
7623 javax/print/attribute/standard/Finishings.java,
7624 javax/print/attribute/standard/JobImpressionsSupported.java,
7625 javax/print/attribute/standard/JobKOctetsSupported.java,
7626 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7627 javax/print/attribute/standard/JobSheets.java,
7628 javax/print/attribute/standard/JobState.java,
7629 javax/print/attribute/standard/JobStateReason.java,
7630 javax/print/attribute/standard/JobStateReasons.java,
7631 javax/print/attribute/standard/Media.java,
7632 javax/print/attribute/standard/MediaSizeName.java,
7633 javax/print/attribute/standard/MultipleDocumentHandling.java,
7634 javax/print/attribute/standard/NumberUpSupported.java,
7635 javax/print/attribute/standard/OrientationRequested.java,
7636 javax/print/attribute/standard/PDLOverrideSupported.java,
7637 javax/print/attribute/standard/PageRanges.java,
7638 javax/print/attribute/standard/PresentationDirection.java,
7639 javax/print/attribute/standard/PrintQuality.java,
7640 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7641 javax/print/attribute/standard/PrinterMoreInfo.java,
7642 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7643 javax/print/attribute/standard/PrinterResolution.java,
7644 javax/print/attribute/standard/PrinterState.java,
7645 javax/print/attribute/standard/PrinterStateReason.java,
7646 javax/print/attribute/standard/PrinterStateReasons.java,
7647 javax/print/attribute/standard/PrinterURI.java,
7648 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7649 javax/print/attribute/standard/Severity.java,
7650 javax/print/attribute/standard/SheetCollate.java,
7651 javax/print/attribute/standard/Sides.java:
7652 Added serialVersionUID and removed final keyword where it doenst
7653 belong.
7654
7655 2004-05-15 Michael Koch <konqueror@gmx.de>
7656
7657 * javax/print/PrintServiceLookup.java: New file.
7658
7659 2004-05-15 Michael Koch <konqueror@gmx.de>
7660
7661 * javax/print/DocFlavor.java:
7662 Implemented all flavor classes.
7663
7664 2004-05-15 Michael Koch <konqueror@gmx.de>
7665
7666 * javax/print/attribute/standard/ColorSupported.java,
7667 javax/print/attribute/standard/Compression.java,
7668 javax/print/attribute/standard/CopiesSupported.java,
7669 javax/print/attribute/standard/Fidelity.java,
7670 javax/print/attribute/standard/Finishings.java,
7671 javax/print/attribute/standard/JobImpressionsSupported.java,
7672 javax/print/attribute/standard/JobKOctetsSupported.java,
7673 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7674 javax/print/attribute/standard/JobSheets.java,
7675 javax/print/attribute/standard/JobState.java,
7676 javax/print/attribute/standard/JobStateReason.java,
7677 javax/print/attribute/standard/JobStateReasons.java,
7678 javax/print/attribute/standard/Media.java,
7679 javax/print/attribute/standard/MediaSizeName.java,
7680 javax/print/attribute/standard/MultipleDocumentHandling.java,
7681 javax/print/attribute/standard/NumberUpSupported.java,
7682 javax/print/attribute/standard/OrientationRequested.java,
7683 javax/print/attribute/standard/PDLOverrideSupported.java,
7684 javax/print/attribute/standard/PageRanges.java,
7685 javax/print/attribute/standard/PresentationDirection.java,
7686 javax/print/attribute/standard/PrintQuality.java,
7687 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7688 javax/print/attribute/standard/PrinterMoreInfo.java,
7689 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7690 javax/print/attribute/standard/PrinterResolution.java,
7691 javax/print/attribute/standard/PrinterState.java,
7692 javax/print/attribute/standard/PrinterStateReason.java,
7693 javax/print/attribute/standard/PrinterStateReasons.java,
7694 javax/print/attribute/standard/PrinterURI.java,
7695 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7696 javax/print/attribute/standard/Severity.java,
7697 javax/print/attribute/standard/SheetCollate.java,
7698 javax/print/attribute/standard/Sides.java: New files.
7699
7700 2004-05-15 Michael Koch <konqueror@gmx.de>
7701
7702 * javax/print/Doc.java
7703 (getPrintData): Throws IOException.
7704 (getReaderForText): Likewise.
7705 (getStreamForBytes): Likewise.
7706 * javax/print/DocFlavor.java:
7707 Fixed filename in copyright.
7708 (serialVersionUID): New field.
7709 * javax/print/ServiceUIFactory.java:
7710 Made all constants final.
7711 * javax/print/AttributeException.java
7712 javax/print/MultiDoc.java
7713 javax/print/MultiDocPrintJob.java
7714 javax/print/MultiDocPrintService.java
7715 javax/print/StreamPrintService.java
7716 javax/print/URIException.java: New files.
7717 * javax/print/Makefile.am
7718 (EXTRA_DIST): Added all new files.
7719
7720 2004-05-15 Michael Koch <konqueror@gmx.de>
7721
7722 * javax/print/attribute/standard/Copies.java,
7723 javax/print/attribute/standard/DateTimeAtCompleted.java,
7724 javax/print/attribute/standard/DateTimeAtCreation.java,
7725 javax/print/attribute/standard/DateTimeAtProcessing.java,
7726 javax/print/attribute/standard/DocumentName.java,
7727 javax/print/attribute/standard/JobHoldUntil.java,
7728 javax/print/attribute/standard/JobImpressions.java,
7729 javax/print/attribute/standard/JobImpressionsCompleted.java,
7730 javax/print/attribute/standard/JobKOctets.java,
7731 javax/print/attribute/standard/JobKOctetsProcessed.java,
7732 javax/print/attribute/standard/JobMediaSheets.java,
7733 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7734 javax/print/attribute/standard/JobMessageFromOperator.java,
7735 javax/print/attribute/standard/JobName.java,
7736 javax/print/attribute/standard/JobOriginatingUserName.java,
7737 javax/print/attribute/standard/JobPriority.java,
7738 javax/print/attribute/standard/JobPrioritySupported.java,
7739 javax/print/attribute/standard/NumberOfDocuments.java,
7740 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7741 javax/print/attribute/standard/NumberUp.java,
7742 javax/print/attribute/standard/OutputDeviceAssigned.java,
7743 javax/print/attribute/standard/PagesPerMinute.java,
7744 javax/print/attribute/standard/PagesPerMinuteColor.java:
7745 Fixed @return tag all over.
7746
7747 2004-05-15 Michael Koch <konqueror@gmx.de>
7748
7749 * javax/print/attribute/AttributeSetUtilities.java
7750 (verifyCategoryForValue): Fixed typo in javadoc.
7751 * javax/print/attribute/HashAttributeSet.java
7752 (containsKey): Fixed @return tag.
7753 (comtainsValue): Likewise.
7754 (equals): Likewise.
7755 * javax/print/attribute/IntegerSyntax.java
7756 (equals): Likewise.
7757 * javax/print/attribute/ResolutionSyntax.java
7758 (equals): Likewise.
7759 (getCrossFeedResolution): Removed unused code.
7760 (getFeedResolution): Likewise.
7761 * javax/print/attribute/SetOfIntegerSyntax.java
7762 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7763 (equals): Fixed @return tag.
7764 * javax/print/attribute/TextSyntax.java
7765 (TextSyntax): Take locale into account.
7766 (hashCode): Better implementation.
7767
7768 2004-05-15 Michael Koch <konqueror@gmx.de>
7769
7770 * javax/print/CancelablePrintJob.java,
7771 javax/print/Doc.java,
7772 javax/print/DocFlavor.java,
7773 javax/print/DocPrintJob.java,
7774 javax/print/FlavorException.java,
7775 javax/print/PrintException.java,
7776 javax/print/PrintService.java,
7777 javax/print/ServiceUIFactory.java: New files.
7778
7779 2004-05-15 Mark Wielaard <mark@klomp.org>
7780
7781 * gnu/regexp/CharIndexedReader.java: Removed.
7782 * gnu/regexp/REFilterReader.java: Likewise.
7783 * gnu/regexp/RETokenLookAhead.java: Likewise.
7784 * Makefile.am (ordinary_java_source_files): Remove above classes.
7785 * Makefile.in: Regenerated.
7786
7787 2004-05-14 Tom Tromey <tromey@redhat.com>
7788
7789 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7790 not `XGraphicsConfiguration.XOffScreenImage'.
7791
7792 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7793
7794 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7795
7796 2004-05-14 Steven Augart <augart@watson.ibm.com>
7797
7798 * include/jni.h (_Jv_func): Removed.
7799 (struct JNINativeInterface): Use `void *' for reserved slots.
7800 (struct JNIInvokeInterface): Likewise.
7801
7802 2004-05-11 Michael Koch <konqueror@gmx.de>
7803
7804 * gnu/java/net/natPlainSocketImplPosix.cc
7805 (read): Fixed typo in expression.
7806
7807 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7808
7809 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7810 ld_library_additions. Adjust all calls to libjava_invoke to match
7811 the new argument.
7812
7813 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7814 path to cxxflagslist.
7815 Pass path of libstdc++ to libjava_invoke.
7816
7817 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7818 libjava_invoke arguments.
7819
7820 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7821
7822 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7823 reality.
7824
7825 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7826
7827 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7828 main binary against the JNI shared library.
7829
7830 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7831
7832 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7833 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7834 (SimpleTimeZone): Tweak docs. Add new variation.
7835 (setStartRule,setEndRule): Add new variations. Use
7836 startTimeMode and endTimeMode.
7837
7838 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7839
7840 * java/util/Calendar.java (getActualMinimum,
7841 getActualMaximum): Remove abstract. Implement.
7842
7843 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7844
7845 Run the jni tests using the interpreter.
7846 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7847 options_cxx to shared lib compile command.
7848 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7849 they are used to link the shared lib, not the main binary.
7850 Use libjava_invoke to run gij.
7851
7852 2004-05-06 Michael Koch <konqueror@gmx.de>
7853
7854 * java/util/logging/Level.java
7855 (parse): Use == instead of String.equals().
7856
7857 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7858
7859 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7860 verify_field_signature and verify_method_signature, not
7861 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7862 (_Jv_ClassReader::handleField): Likewise.
7863 (_Jv_ClassReader::handleMethod): Likewise.
7864
7865 2004-05-06 Michael Koch <konqueror@gmx.de>
7866
7867 * javax/swing/table/TableColumn.java:
7868 Reformated.
7869
7870 2004-05-06 Michael Koch <konqueror@gmx.de>
7871
7872 * javax/imageio/spi/ImageReaderWriterSpi.java
7873 (ImageReaderWriterSpi): Made it public.
7874 * javax/imageio/stream/ImageInputStream.java:
7875 Clean up imports.
7876
7877 2004-05-06 Michael Koch <konqueror@gmx.de>
7878
7879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7880 Removed empty line.
7881
7882 2004-05-06 Michael Koch <konqueror@gmx.de>
7883
7884 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7885 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7886 New files.
7887 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7888 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7890 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7891 their own source file.
7892 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7893 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7894 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7896 (create): Define variable on top of function.
7897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7898 (menu_pos): Prototyped.
7899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7900 (setTitle): Removed.
7901 * jni/gtk-peer/gthread-jni.c
7902 (gdk_threads_wake): Removed.
7903 * Makefile.am (gtk_c_source_files): Added new files
7904 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7905 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7906 * Makefile.in: Regenerated.
7907
7908 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7909
7910 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7911 call.
7912
7913 2004-05-05 Mark Wielaard <mark@klomp.org>
7914
7915 * javax/swing/AbstractButton.java: Replace special HTML entities with
7916 ASCII equivalent.
7917 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7918 * javax/swing/DefaultButtonModel.java: Likewise.
7919 * javax/swing/DefaultListModel.java: Likewise.
7920 * javax/swing/JList.java: Likewise.
7921 * javax/swing/JSlider.java: Likewise.
7922 * javax/swing/ListModel.java: Likewise.
7923 * javax/swing/Popup.java: Likewise.
7924 * javax/swing/SwingUtilities.java: Likewise.
7925
7926 2004-05-05 Michael Koch <konqueror@gmx.de>
7927
7928 * javax/swing/AbstractButton.java,
7929 javax/swing/ActionMap.java,
7930 javax/swing/DefaultButtonModel.java,
7931 javax/swing/DefaultListModel.java,
7932 javax/swing/ImageIcon.java,
7933 javax/swing/JComboBox.java,
7934 javax/swing/JComponent.java,
7935 javax/swing/JFrame.java,
7936 javax/swing/JInternalFrame.java,
7937 javax/swing/JMenuBar.java,
7938 javax/swing/JMenuItem.java,
7939 javax/swing/JOptionPane.java,
7940 javax/swing/JProgressBar.java,
7941 javax/swing/JRootPane.java,
7942 javax/swing/JScrollBar.java,
7943 javax/swing/JScrollPane.java,
7944 javax/swing/JSeparator.java,
7945 javax/swing/JSlider.java,
7946 javax/swing/JTabbedPane.java,
7947 javax/swing/JTable.java,
7948 javax/swing/JTextField.java,
7949 javax/swing/JToolBar.java,
7950 javax/swing/JToolTip.java,
7951 javax/swing/JTree.java,
7952 javax/swing/JViewport.java,
7953 javax/swing/JWindow.java,
7954 javax/swing/KeyStroke.java,
7955 javax/swing/LookAndFeel.java,
7956 javax/swing/SwingUtilities.java,
7957 javax/swing/Timer.java,
7958 javax/swing/ToolTipManager.java,
7959 javax/swing/UIDefaults.java,
7960 javax/swing/border/TitledBorder.java,
7961 javax/swing/filechooser/FileSystemView.java,
7962 javax/swing/plaf/basic/BasicButtonListener.java,
7963 javax/swing/plaf/basic/BasicButtonUI.java,
7964 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7965 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7966 javax/swing/plaf/basic/BasicLabelUI.java,
7967 javax/swing/plaf/basic/BasicMenuItemUI.java,
7968 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7969 javax/swing/plaf/basic/BasicRootPaneUI.java,
7970 javax/swing/plaf/basic/BasicScrollBarUI.java,
7971 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7972 javax/swing/plaf/basic/BasicSliderUI.java,
7973 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7974 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7975 javax/swing/table/JTableHeader.java,
7976 javax/swing/text/AbstractDocument.java,
7977 javax/swing/text/DefaultCaret.java,
7978 javax/swing/text/StyledEditorKit.java,
7979 javax/swing/tree/DefaultTreeCellEditor.java:
7980 Cleaned up imports.
7981
7982 2004-05-05 Michael Koch <konqueror@gmx.de>
7983
7984 * java/util/prefs/AbstractPreferences.java
7985 (AbstractPreferences): Added parenthesis for clarity.
7986 Closes classpath bug #7940.
7987
7988 2004-05-05 Tom Tromey <tromey@redhat.com>
7989
7990 * javax/naming/CompoundName.java (endsWith): Look at correct
7991 element of source name.
7992
7993 2004-05-05 Mark Wielaard <mark@klomp.org>
7994
7995 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7996 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7997
7998 2004-05-05 Tom Tromey <tromey@redhat.com>
7999
8000 * java/io/BufferedReader.java (skip): Removed unused
8001 variable.
8002
8003 2004-05-05 Michael Koch <konqueror@gmx.de>
8004
8005 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8006
8007 2004-05-05 Dalibor Topic <robilad@kaffe.org>
8008
8009 * java/text/AttributedString.java,
8010 java/text/AttributedStringIterator.java,
8011 java/text/Collator.java,
8012 java/text/DecimalFormatSymbols.java,
8013 java/text/NumberFormat.java,
8014 java/text/RuleBasedCollator.java:
8015 Cleaned up imports.
8016
8017 2004-05-05 Tom Tromey <tromey@redhat.com>
8018
8019 * java/text/Format.java: Cleaned up imports.
8020 * java/text/DecimalFormat.java: Cleaned up imports.
8021 * java/security/SecureRandom.java: Cleaned up imports.
8022 (SecureRandom): Removed unused variable.
8023 * java/security/UnresolvedPermission.java: Cleaned up imports.
8024 * java/util/Date.java (parse): Removed unused variable.
8025 * java/util/ResourceBundle.java: Cleaned up imports.
8026 (getBundle): Removed unused variable.
8027 (tryBundle): Likewise.
8028 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8029
8030 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8031
8032 * java/text/SimpleDateFormat.java:
8033 (formatWithAttribute): New method. It implements
8034 the formatting process with attributes.
8035 (format): Use formatWithAttribute.
8036 (formatToCharacterIterator): New method. Use
8037 formatWithAttribute.
8038
8039 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8040
8041 * java/text/MessageFormat.java:
8042 (class Field): New class.
8043 (formatToCharacterIterator): New method.
8044 (format): Use formatInternal now.
8045 (formatInternal): New method. String formatter should
8046 be done here (with attributes). Attributes merging supported.
8047 (parse): More documentation.
8048 (getFormatsByArgumentIndex): New method.
8049 (setFormatByArgumentIndex): New method.
8050 (setFormatsByArgumentIndex): New method.
8051
8052 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8053
8054 * java/text/DecimalFormat.java
8055 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8056 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8057 (parse): Fixed handling of exponentiation notation and grouping.
8058
8059 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8060
8061 * java/text/DecimalFormat.java
8062 (scanFix): Build attribute array. Fixed error reporting.
8063 (applyPatternWithSymbols): Store attributes for the prefix and
8064 suffix.
8065 (formatInternal): New method. Changed the way the string is
8066 computed. Implemented attributes. Cleant up rounding in
8067 exponential notation.
8068 (format): Use formatInternal.
8069 (formatToCharacterIterator): New method.
8070 (exponentRound, negativePrefixRanges, positivePrefixRanges,
8071 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8072 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8073 New fields.
8074
8075 2004-05-04 Dalibor Topic <robilad@kaffe.org>
8076
8077 * java/security/interfaces/DSAKeyPairGenerator.java,
8078 java/security/interfaces/DSAPrivateKey.java,
8079 java/security/interfaces/DSAPublicKey.java,
8080 java/security/interfaces/RSAPrivateKey.java,
8081 java/security/interfaces/RSAPublicKey.java:
8082 Cleaned up imports.
8083
8084 2004-05-04 Michael Koch <konqueror@gmx.de>
8085
8086 * java/nio/ByteBuffer.java,
8087 java/nio/CharBuffer.java,
8088 java/nio/DoubleBuffer.java,
8089 java/nio/FloatBuffer.java,
8090 java/nio/IntBuffer.java,
8091 java/nio/LongBuffer.java,
8092 java/nio/ShortBuffer.java:
8093 (compareTo): Fixed bogus implementation in all buffer classes.
8094
8095 2004-05-04 Ingo Proetel <proetel@aicas.com>
8096
8097 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8098 32 bit pixels not 8 bit pixels.
8099 (isCompatibleRaster): Added javadoc comment.
8100
8101 2004-05-04 Ingo Proetel <proetel@aicas.com>
8102
8103 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8104 scanline stride.
8105
8106 2004-05-04 Ingo Proetel <proetel@aicas.com>
8107
8108 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8109 (getColorModel): Return the actual color model.
8110 (getRaster): Implemented.
8111 (ColorRaster): New inner class.
8112 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8113 a PaintContext.
8114 * java/awt/Color.java (<init>): Make exception more verbose.
8115 (createContext): Use ColorModel when creating a PaintContext.
8116
8117 2004-05-04 Michael Koch <konqueror@gmx.de>
8118
8119 * gnu/java/text/CharacterBreakIterator.java
8120 (previous): Removed unused variable.
8121
8122 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
8123
8124 * gnu/java/text/FormatBuffer.java,
8125 gnu/java/text/AttributedFormatBuffer.java,
8126 gnu/java/text/StringFormatBuffer.java: New classes to implement
8127 attributed iterators in java.text.
8128 * gnu/java/text/FormatCharacterIterator.java: Moved
8129 from java/text as it is an internal class.
8130 * java/text/FormatCharacterIterator.java: Removed.
8131 * java/text/Format.java:
8132 Import gnu.java.text.FormatCharacterIterator.
8133 * Makefile.am (java_source_files): Added new files.
8134 * Makefile.in: Regenerated.
8135
8136
8137 2004-05-04 Mark Wielaard <mark@klomp.org>
8138
8139 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8140
8141 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
8142
8143 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8144 * Makefile.in: Rebuilt.
8145
8146 2004-05-03 Mark Wielaard <mark@klomp.org>
8147
8148 * gnu/java/security/der/DERReader.java: Call static methods staticly.
8149 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8150 * java/net/URL.java
8151 (set(String, String, int, String, String, String, String, String)):
8152 Assign this.file to path or path + "?" + query.
8153 * java/util/Arrays.java: Call static methods staticly.
8154 * java/util/zip/ZipEntry.java: Likewise.
8155 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8156 dir to this.direction.
8157 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8158 Assign static field only once.
8159 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8160
8161 2004-05-03 Mark Wielaard <mark@klomp.org>
8162
8163 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8164 unused variables hScrollbarHeight and vScrollbarWidth.
8165 (preferredSize): Likewise.
8166 * gnu/java/security/provider/DSAParameters.java (engineToString):
8167 Removed unused call to System.getProperty("line.seperator");
8168 * java/security/Security.java (loadProviders): Return result.
8169
8170 2004-05-03 Tom Tromey <tromey@redhat.com>
8171
8172 * java/net/URLStreamHandler.java (toExternalForm): Removed
8173 unused variables.
8174 unused constructor.
8175 * java/math/BigDecimal.java (divide): Removed unused variable.
8176 * java/lang/Throwable.java: Cleaned up imports.
8177 * java/lang/ClassLoader.java: Cleaned up imports.
8178 * java/io/FilePermission.java (implies): Removed unused
8179 variable.
8180 * java/awt/TextComponent.java: Removed unused import.
8181 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8182 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8183 * gnu/java/text/WordBreakIterator.java: Removed unused import.
8184 * gnu/java/text/SentenceBreakIterator.java: Removed unused
8185 import.
8186 * gnu/java/text/LineBreakIterator.java: Removed unused import.
8187 * gnu/java/text/CharacterBreakIterator.java: Removed
8188 unused import.
8189 * gnu/java/security/provider/DSAKeyPairGenerator.java:
8190 Cleaned up imports.
8191 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8192 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8193 unused method.
8194 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8195 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8196 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8197 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8198 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8199 (lookupProviders): Removed unused variable.
8200 (loadNextServiceProvider): Likewise.
8201 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8202
8203 2004-05-03 Michael Koch <konqueror@gmx.de>
8204
8205 Fixes PR libgcj/14695:
8206 * java/net/NetworkInterface.java
8207 (getByName): Return null when no interface was found.
8208
8209 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
8210 Tom Tromey <tromey@redhat.com>
8211
8212 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8213 additional option "-Wmissing-prototypes" for compiling C sources.
8214 Print actual filename for pass/fail rather than $name.c.
8215 * testsuite/libjava.jni/PR15133.java: New testcase file.
8216 * testsuite/libjava.jni/PR15133.c: Likewise.
8217 * testsuite/libjava.jni/PR15133.out: Likewise.
8218
8219 2004-04-30 Roger Sayle <roger@eyesopen.com>
8220
8221 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8222 ceil and floor.
8223
8224 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
8225
8226 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8227 limit the maximum heap size to avoid unnecessary thrashing.
8228
8229 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
8230
8231 * java/text/CollationElementIterator.java (reset): Reset
8232 lookahead variables.
8233
8234 2004-04-23 Mark Wielaard <mark@klomp.org>
8235
8236 * jni/classpath/jcl.c: Changed C++ comments into C comments.
8237
8238 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8239
8240 * java/sql/DriverManager.java:
8241 Cleaned up imports.
8242
8243 2004-04-23 Michael Koch <konqueror@gmx.de>
8244
8245 * java/net/URL.java
8246 (hashcode): Don't initialize with default value explicitely.
8247 (getContent): Removed redundant "final" keyword.
8248 (openStream): Likewise.
8249 (getURLStreamHandler): Fixed coding style.
8250 * java/net/URLConnection.java
8251 (defaultAllowUserInteraction): Don't initialize with default value
8252 explicitely.
8253 (connected): Likewise.
8254 (doOutput): Likewise.
8255 (ifModifiedSince): Likewise.
8256 (dateformats_initialized): Likewise.
8257 (setURLStreamHander): Use StreamTokenizer where it belongs to.
8258
8259 2004-04-23 Michael Koch <konqueror@gmx.de>
8260
8261 * gnu/java/nio/channels/FileChannelImpl.java
8262 (SET, CUR): Unused, removed.
8263 (read): Implement here directly.
8264 (implRead): Removed.
8265 (write): Implement here directly.
8266 (implWrite): Removed.
8267
8268 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8269
8270 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8271 javax/rmi/CORBA/Stub.java,
8272 javax/rmi/CORBA/Util.java,
8273 javax/rmi/CORBA/ValueHandler.java,
8274 javax/rmi/CORBA/ValueHandler.java,
8275 javax/rmi/PortableRemoteObject.java:
8276 Cleaned up imports.
8277
8278 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8279
8280 * java/util/jar/JarFile.java,
8281 java/util/jar/JarInputStream.java,
8282 java/util/jar/JarOutputStream.java,
8283 java/util/jar/Manifest.java:
8284 Cleaned up imports.
8285
8286 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8287
8288 * java/util/ArrayList.java,
8289 java/util/Calendar.java,
8290 java/util/Currency.java,
8291 java/util/HashMap.java,
8292 java/util/HashSet.java,
8293 java/util/Hashtable.java,
8294 java/util/LinkedList.java,
8295 java/util/Properties.java,
8296 java/util/PropertyPermission.java,
8297 java/util/TimeZone.java,
8298 java/util/TreeMap.java,
8299 java/util/TreeSet.java,
8300 java/util/Vector.java,
8301 java/util/WeakHashMap.java:
8302 Cleaned up imports.
8303
8304 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8305
8306 * java/util/logging/FileHandler.java,
8307 java/util/logging/Formatter.java,
8308 java/util/logging/Handler.java,
8309 java/util/logging/Logger.java,
8310 java/util/logging/SimpleFormatter.java,
8311 java/util/logging/XMLFormatter.java:
8312 Cleaned up imports.
8313
8314 2004-04-22 Mark Wielaard <mark@klomp.org>
8315
8316 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8317 -Wno-long-long flags variable.
8318 (gtk_c_files): Use PEDANTIC_CFLAGS.
8319 * Makefile.in: Regenerated.
8320
8321 2004-04-22 Mark Wielaard <mark@klomp.org>
8322
8323 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8324 Changed C++ comments into C comments.
8325 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8326 Likewise.
8327
8328 2004-04-22 Michael Koch <konqueror@gmx.de>
8329
8330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8331 Merged copyright year with GNU classpath.
8332
8333 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8334
8335 * javax/security/auth/x500/X500Principal.java:
8336 Cleaned up imports.
8337
8338 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8339
8340 * javax/swing/JSlider.java:
8341 Fixed HTML tags in comments.
8342
8343 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8344
8345 * javax/accessibility/AccessibleText.java:
8346 Cleaned up imports.
8347
8348 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
8349
8350 * java/net/URLStreamHandler.java
8351 (parseURL): Convert the file path to using '/' instead of native
8352 file separator.
8353
8354 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
8355
8356 * java/net/URL.java
8357 (userInfo): New field.
8358 (URL): Set authority to the right value.
8359 (setURL): Fixed authority and file initialization.
8360 * java/net/URLStreamHandler.java
8361 (parseURL): Take care of the query tag. Build authority.
8362 (toExternalForm): Fixed URL building using authority.
8363
8364 2004-04-22 Michael Koch <konqueror@gmx.de>
8365
8366 * java/net/Socket.java
8367 (impl): Made package-private.
8368 * java/net/ServerSocket.java
8369 (implAccept): Access Socket.impl field directly.
8370
8371 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8372
8373 * java/util/prefs/Preferences.java,
8374 java/util/prefs/InvalidPreferencesFormatException.java,
8375 java/util/prefs/BackingStoreException.java,
8376 java/util/prefs/AbstractPreferences.java:
8377 Cleaned up imports.
8378
8379 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8380
8381 * java/util/regex/Matcher.java,
8382 java/util/regex/Pattern.java:
8383 Cleaned up imports.
8384
8385 2004-04-22 Michael Koch <konqueror@gmx.de>
8386
8387 * java/nio/charset/IllegalCharsetNameException.java
8388 (charsetName): Made private.
8389 (IllegalCharsetNameException): Added @param tag to javadoc.
8390 (getCharsetName): Added @return tag to javadoc.
8391 * java/nio/charset/MalformedInputException.java
8392 (MalformedInputException): Added @param tag to javadoc.
8393 (getInputLength): Revised method description, added @return tag.
8394 (getMessage): Added @return tag.
8395
8396 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
8397
8398 * java/awt/Font.java (deriveFont): Implement missing variants.
8399 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8400 missing variants.
8401
8402 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
8403
8404 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8405 Set method->index values for interface methods to their itable index.
8406 (initializeClass): Call _Jv_LayoutInterfaceMethods.
8407
8408 2004-04-21 Michael Koch <konqueror@gmx.de>
8409
8410 * java/nio/DirectByteBufferImpl.java
8411 (shiftDown): Made static, give address as argument and
8412 provide a convenience method that overwrites shiftDown in
8413 ByteBufferImpl and calls the native shiftDown.
8414 * java/nio/MappedByteBufferImpl.java
8415 (): Use optimized method in DirectByteBufferImpl.
8416 * java/nio/natDirectByteBufferImpl.cc
8417 (shiftDown): Changed method signature. Removed usage of array_offset.
8418
8419 2004-04-21 Michael Koch <konqueror@gmx.de>
8420
8421 * gnu/java/net/natPlainSocketImplPosix.cc
8422 (SocketInputStream::read): Make sure returned data is a byte value.
8423
8424 2004-04-21 Michael Koch <konqueror@gmx.de>
8425
8426 * gnu/classpath/ServiceFactory.java,
8427 gnu/classpath/ServiceProviderLoadingAction.java,
8428 javax/imageio/ImageReader.java,
8429 javax/imageio/ImageTranscoder.java,
8430 javax/imageio/ImageWriter.java,
8431 javax/imageio/package.html,
8432 javax/imageio/spi/IIOServiceProvider.java,
8433 javax/imageio/spi/ImageInputStreamSpi.java,
8434 javax/imageio/spi/ImageOutputStreamSpi.java,
8435 javax/imageio/spi/ImageReaderWriterSpi.java,
8436 javax/imageio/spi/ImageTranscoderSpi.java,
8437 javax/imageio/spi/RegisterableService.java,
8438 javax/imageio/spi/ServiceRegistry.java,
8439 javax/imageio/spi/package.html,
8440 javax/imageio/stream/IIOByteBuffer.java,
8441 javax/imageio/stream/ImageInputStream.java,
8442 javax/imageio/stream/ImageOutputStream.java,
8443 javax/imageio/stream/package.html:
8444 New files.
8445 * Makefile.am
8446 (ordinary_java_source_files): Added
8447 gnu/classpath/ServiceFactory.java and
8448 gnu/classpath/ServiceProviderLoadingAction.java.
8449 (javax_source_files): Added
8450 javax/imageio/ImageReader.java,
8451 javax/imageio/ImageTranscoder.java,
8452 javax/imageio/ImageWriter.java,
8453 javax/imageio/spi/IIOServiceProvider.java,
8454 javax/imageio/spi/ImageInputStreamSpi.java,
8455 javax/imageio/spi/ImageOutputStreamSpi.java,
8456 javax/imageio/spi/ImageReaderWriterSpi.java,
8457 javax/imageio/spi/ImageTranscoderSpi.java,
8458 javax/imageio/spi/RegisterableService.java,
8459 javax/imageio/spi/ServiceRegistry.java,
8460 javax/imageio/stream/IIOByteBuffer.java,
8461 javax/imageio/stream/ImageInputStream.java and
8462 javax/imageio/stream/ImageOutputStream.java.
8463 * Makefile.in: Regenerated.
8464
8465 2004-04-21 Michael Koch <konqueror@gmx.de>
8466
8467 * java/util/Properties.java
8468 (load): Fix wrongly merged fix.
8469
8470 2004-04-21 Mark Wielaard <mark@klomp.org>
8471
8472 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8473 malloc and free buf.
8474
8475 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8476
8477 * javax/naming/AuthenticationException.java,
8478 javax/naming/AuthenticationNotSupportedException.java,
8479 javax/naming/CannotProceedException.java,
8480 javax/naming/CommunicationException.java,
8481 javax/naming/CompoundName.java,
8482 javax/naming/ConfigurationException.java,
8483 javax/naming/ContextNotEmptyException.java,
8484 javax/naming/InitialContext.java,
8485 javax/naming/InsufficientResourcesException.java,
8486 javax/naming/InterruptedNamingException.java,
8487 javax/naming/LimitExceededException.java,
8488 javax/naming/LinkException.java,
8489 javax/naming/LinkLoopException.java,
8490 javax/naming/LinkRef.java,
8491 javax/naming/MalformedLinkException.java,
8492 javax/naming/Name.java,
8493 javax/naming/NameAlreadyBoundException.java,
8494 javax/naming/NameNotFoundException.java,
8495 javax/naming/NamingSecurityException.java,
8496 javax/naming/NoInitialContextException.java,
8497 javax/naming/NoPermissionException.java,
8498 javax/naming/NotContextException.java,
8499 javax/naming/PartialResultException.java,
8500 javax/naming/ReferralException.java,
8501 javax/naming/ServiceUnavailableException.java,
8502 javax/naming/SizeLimitExceededException.java,
8503 javax/naming/TimeLimitExceededException.java,
8504 javax/naming/directory/Attribute.java,
8505 javax/naming/directory/Attributes.java,
8506 javax/naming/directory/SearchResult.java,
8507 javax/naming/event/NamingExceptionEvent.java,
8508 javax/naming/spi/ResolveResult.java:
8509 Cleaned up imports.
8510
8511 2004-04-21 Mark Wielaard <mark@klomp.org>
8512
8513 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8514 Changed C++ comments into C comments. Removed commented out code.
8515 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8516 Likewise.
8517 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8518 Likewise.
8519 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8520 Likewise.
8521 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8522 Likewise.
8523 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8524 Likewise.
8525 * native/jni/gtk-peer/gthread-jni.c:
8526 Likewise.
8527
8528 2004-04-21 Mark Wielaard <mark@klomp.org>
8529
8530 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8531 static fields defined in interface.
8532 * javax/awt/JDialog.java: Likewise.
8533 (JDialog): Make constructors public.
8534 (getDefaultCloseOperation): Make public.
8535 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8536 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8537 * javax/swing/JViewport.java (JViewport): Make constructor public.
8538
8539 2004-04-21 Michael Koch <konqueror@gmx.de>
8540
8541 * java/util/Map.java
8542 (Entry): Removed redundant "static" modifier.
8543 * java/text/AttributedCharacterIterator.java:
8544 Updated copyright year.
8545
8546 2004-04-20 Michael Koch <konqueror@gmx.de>
8547
8548 * javax/naming/directory/SearchControls.java:
8549 Don't explicitely extend java.lang.Object.
8550 * javax/naming/spi/DirStateFactory.java:
8551 Merged copyright year with GNU classpath.
8552
8553 2004-04-20 Michael Koch <konqueror@gmx.de>
8554
8555 * java/nio/channels/Channels.java:
8556 Merged coding style with GNU classpath.
8557
8558 2004-04-20 Michael Koch <konqueror@gmx.de>
8559
8560 * java/net/ServerSocket.java
8561 Merged coding style from GNU classpath.
8562
8563 2004-04-20 Michael Koch <konqueror@gmx.de>
8564
8565 * java/io/BufferedWriter.java:
8566 Reordered variables to be at top of the class.
8567 (localFlush): Removed redundant final keyword.
8568
8569 2004-04-20 Ingo Proetel <proetel@aicas.com>
8570
8571 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8572
8573 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8574
8575 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8576 for percent and permill check.
8577
8578 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8579
8580 * java/text/FieldPosition.java
8581 (FieldPosition) Constructor now behaves as it should according
8582 to the java documentation.
8583
8584 2004-04-20 Mark Wielaard <mark@klomp.org>
8585
8586 * java/util/Properties.java: Use the word umlaut, not &auml; in api
8587 documentation.
8588
8589 2004-04-20 Michael Koch <konqueror@gmx.de>
8590
8591 * java/nio/Buffer.java,
8592 java/nio/channels/AlreadyConnectedException.java,
8593 java/nio/channels/AsynchronousCloseException.java,
8594 java/nio/channels/ByteChannel.java,
8595 java/nio/channels/CancelledKeyException.java,
8596 java/nio/channels/Channel.java,
8597 java/nio/channels/Channels.java,
8598 java/nio/channels/ClosedByInterruptException.java,
8599 java/nio/channels/ClosedChannelException.java,
8600 java/nio/channels/ClosedSelectorException.java,
8601 java/nio/channels/ConnectionPendingException.java,
8602 java/nio/channels/DatagramChannel.java,
8603 java/nio/channels/FileChannel.java,
8604 java/nio/channels/FileLock.java,
8605 java/nio/channels/FileLockInterruptionException.java,
8606 java/nio/channels/GatheringByteChannel.java,
8607 java/nio/channels/IllegalBlockingModeException.java,
8608 java/nio/channels/IllegalSelectorException.java,
8609 java/nio/channels/InterruptibleChannel.java,
8610 java/nio/channels/NoConnectionPendingException.java,
8611 java/nio/channels/NonReadableChannelException.java,
8612 java/nio/channels/NonWritableChannelException.java,
8613 java/nio/channels/NotYetBoundException.java,
8614 java/nio/channels/NotYetConnectedException.java,
8615 java/nio/channels/OverlappingFileLockException.java,
8616 java/nio/channels/Pipe.java,
8617 java/nio/channels/ReadableByteChannel.java,
8618 java/nio/channels/ScatteringByteChannel.java,
8619 java/nio/channels/SelectableChannel.java,
8620 java/nio/channels/SelectionKey.java,
8621 java/nio/channels/Selector.java,
8622 java/nio/channels/ServerSocketChannel.java,
8623 java/nio/channels/SocketChannel.java,
8624 java/nio/channels/UnresolvedAddressException.java,
8625 java/nio/channels/UnsupportedAddressTypeException.java,
8626 java/nio/channels/WritableByteChannel.java,
8627 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8628 java/nio/channels/spi/AbstractSelectableChannel.java,
8629 java/nio/channels/spi/AbstractSelectionKey.java,
8630 java/nio/channels/spi/AbstractSelector.java,
8631 java/nio/channels/spi/SelectorProvider.java,
8632 java/nio/charset/spi/CharsetProvider.java:
8633 Fixed javadocs and jalopied all over java.nio.
8634
8635 2004-04-20 Michael Koch <konqueror@gmx.de>
8636
8637 * java/nio/ByteBufferImpl.java,
8638 java/nio/CharBufferImpl.java,
8639 java/nio/DirectByteBufferImpl.java,
8640 java/nio/DoubleBufferImpl.java,
8641 java/nio/DoubleViewBufferImpl.java,
8642 java/nio/FloatBufferImpl.java,
8643 java/nio/FloatViewBufferImpl.java,
8644 java/nio/IntBufferImpl.java,
8645 java/nio/IntViewBufferImpl.java,
8646 java/nio/LongBufferImpl.java,
8647 java/nio/LongViewBufferImpl.java,
8648 java/nio/MappedByteBufferImpl.java,
8649 java/nio/ShortBufferImpl.java,
8650 java/nio/ShortViewBufferImpl.java:
8651 Made sure all classes are final and removed final keyword from all
8652 methods.
8653
8654 2004-04-20 Michael Koch <konqueror@gmx.de>
8655
8656 * java/rmi/MarshalledObject.java,
8657 java/rmi/Naming.java,
8658 java/rmi/RemoteException.java,
8659 java/rmi/activation/ActivationException.java,
8660 java/rmi/server/ServerCloneException.java,
8661 java/security/AccessController.java,
8662 java/security/AlgorithmParameterGenerator.java,
8663 java/security/AlgorithmParameters.java,
8664 java/security/CodeSource.java,
8665 java/security/Identity.java,
8666 java/security/IdentityScope.java,
8667 java/security/KeyPairGenerator.java,
8668 java/security/KeyStore.java,
8669 java/security/Security.java,
8670 java/security/Signature.java,
8671 java/security/SignatureSpi.java,
8672 java/security/SignedObject.java,
8673 java/security/spec/DSAParameterSpec.java,
8674 java/security/spec/DSAPrivateKeySpec.java,
8675 java/security/spec/DSAPublicKeySpec.java,
8676 java/sql/Array.java,
8677 java/sql/DatabaseMetaData.java,
8678 java/sql/ResultSet.java,
8679 java/text/ChoiceFormat.java,
8680 java/text/CollationElementIterator.java,
8681 java/text/CollationKey.java,
8682 java/text/Collator.java,
8683 java/text/DateFormat.java,
8684 java/text/DateFormatSymbols.java,
8685 java/text/DecimalFormatSymbols.java,
8686 java/text/Format.java,
8687 java/text/ParsePosition.java,
8688 java/text/RuleBasedCollator.java,
8689 java/text/SimpleDateFormat.java,
8690 java/text/StringCharacterIterator.java,
8691 java/util/Collections.java,
8692 java/util/PropertyResourceBundle.java,
8693 java/util/ResourceBundle.java,
8694 java/util/StringTokenizer.java,
8695 java/util/jar/Attributes.java,
8696 java/util/logging/ConsoleHandler.java,
8697 java/util/logging/LogManager.java,
8698 java/util/logging/MemoryHandler.java,
8699 java/util/logging/SocketHandler.java,
8700 javax/naming/NamingException.java:
8701 Fixed javadoc, coding style and argument names all over.
8702
8703 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8704
8705 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8706 constructor. (valid) Added null check.
8707
8708 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8709
8710 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8711 * java/io/FileOutputStream.java
8712 (FileOutputStream) Reorganized constructors. Constructors now
8713 check whether the given path is directory.
8714
8715 2004-04-20 Michael Koch <konqueror@gmx.de>
8716
8717 * java/net/Authenticator.java,
8718 java/net/BindException.java,
8719 java/net/ConnectException.java,
8720 java/net/ContentHandler.java,
8721 java/net/ContentHandlerFactory.java,
8722 java/net/DatagramPacket.java,
8723 java/net/DatagramSocket.java,
8724 java/net/DatagramSocketImpl.java,
8725 java/net/DatagramSocketImplFactory.java,
8726 java/net/FileNameMap.java,
8727 java/net/HttpURLConnection.java,
8728 java/net/Inet4Address.java,
8729 java/net/Inet6Address.java,
8730 java/net/InetAddress.java,
8731 java/net/InetSocketAddress.java,
8732 java/net/JarURLConnection.java,
8733 java/net/MalformedURLException.java,
8734 java/net/MulticastSocket.java,
8735 java/net/NetPermission.java,
8736 java/net/NetworkInterface.java,
8737 java/net/NoRouteToHostException.java,
8738 java/net/PasswordAuthentication.java,
8739 java/net/PortUnreachableException.java,
8740 java/net/ProtocolException.java,
8741 java/net/ServerSocket.java,
8742 java/net/Socket.java,
8743 java/net/SocketAddress.java,
8744 java/net/SocketException.java,
8745 java/net/SocketImpl.java,
8746 java/net/SocketImplFactory.java,
8747 java/net/SocketOptions.java,
8748 java/net/SocketPermission.java,
8749 java/net/SocketTimeoutException.java,
8750 java/net/URI.java,
8751 java/net/URISyntaxException.java,
8752 java/net/URL.java,
8753 java/net/URLClassLoader.java,
8754 java/net/URLConnection.java,
8755 java/net/URLDecoder.java,
8756 java/net/URLEncoder.java,
8757 java/net/URLStreamHandler.java,
8758 java/net/URLStreamHandlerFactory.java,
8759 java/net/UnknownHostException.java,
8760 java/net/UnknownServiceException.java:
8761 Fixed javadocs, coding style and argument names all over.
8762
8763 2004-04-20 Michael Koch <konqueror@gmx.de>
8764
8765 * java/lang/Byte.java,
8766 java/lang/CharSequence.java,
8767 java/lang/ClassLoader.java,
8768 java/lang/Compiler.java,
8769 java/lang/Double.java,
8770 java/lang/Float.java,
8771 java/lang/Integer.java,
8772 java/lang/Long.java,
8773 java/lang/Math.java,
8774 java/lang/Number.java,
8775 java/lang/Package.java,
8776 java/lang/Runtime.java,
8777 java/lang/RuntimePermission.java,
8778 java/lang/SecurityManager.java,
8779 java/lang/Short.java,
8780 java/lang/StringBuffer.java,
8781 java/lang/System.java,
8782 java/lang/ThreadGroup.java,
8783 java/lang/Throwable.java,
8784 java/lang/reflect/InvocationHandler.java,
8785 java/lang/reflect/Proxy.java:
8786 Fixed javadocs, coding style and argument names all over.
8787
8788 2004-04-20 Michael Koch <konqueror@gmx.de>
8789
8790 * java/io/BufferedWriter.java,
8791 java/io/ByteArrayInputStream.java,
8792 java/io/CharArrayWriter.java,
8793 java/io/DataInput.java,
8794 java/io/DataInputStream.java,
8795 java/io/File.java,
8796 java/io/FilterInputStream.java,
8797 java/io/InputStream.java,
8798 java/io/InputStreamReader.java,
8799 java/io/ObjectInputStream.java,
8800 java/io/ObjectStreamClass.java,
8801 java/io/PipedInputStream.java,
8802 java/io/PipedReader.java,
8803 java/io/PushbackInputStream.java,
8804 java/io/PushbackReader.java,
8805 java/io/RandomAccessFile.java,
8806 java/io/SerializablePermission.java,
8807 java/io/StreamTokenizer.java,
8808 java/io/StringWriter.java,
8809 java/io/WriteAbortedException.java,
8810 java/io/Writer.java:
8811 Fixed javadocs all over, rename arguments to match javadocs,
8812 fixed coding style.
8813
8814 2004-04-20 Ingo Proetel <proetel@aicas.com>
8815
8816 * java/awt/FontMetrics.java:
8817 (charsWidth): fixed accumulation of total_width
8818 (getWidth): simple default implementation
8819 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8820 in Rectangle constructor.
8821 * java/awt/image/Raster.java (toString): Added method.
8822 * java/awt/image/SampleModel.java (<init>): Added error cause
8823 information to thrown exception.
8824 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8825 New method.
8826 (setDataElements): New method.
8827 (setPixels): New method.
8828 (toString): New method.
8829
8830 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8831
8832 * java/awt/image/ComponentColorModel.java
8833 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8834 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8835 Mauve tests on this method. Improved documentation.
8836
8837 2004-04-20 Michael Koch <konqueror@gmx.de>
8838
8839 * javax/swing/JLayeredPane.java,
8840 javax/swing/plaf/BorderUIResource.java,
8841 javax/swing/plaf/ComponentUI.java,
8842 javax/swing/undo/CompoundEdit.java,
8843 javax/swing/undo/StateEdit.java:
8844 Fixed HTML tags in javadocs all over.
8845
8846 2004-04-20 Michael Koch <konqueror@gmx.de>
8847
8848 * javax/print/attribute/EnumSyntax.java
8849 (getOffset): Made protected.
8850 * javax/print/attribute/HashAttributeSet.java
8851 (HashAttributeSet): Likewise.
8852 * javax/print/attribute/ResolutionSyntax.java
8853 (getFeedResolution): Fixed typo in exception name.
8854 (getCrossFeedResolution): Likewise.
8855 * javax/print/attribute/SetOfIntegerSyntax.java
8856 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8857 * javax/print/attribute/TextSyntax.java
8858 (TextSyntax): Handle locale correctly.
8859 (hashCode): Calc better hashcode value.
8860 (equals): Fixed @return tag.
8861 (toString): New method.
8862
8863 2004-04-20 Michael Koch <konqueror@gmx.de>
8864
8865 * gnu/java/nio/FileLockImpl.java
8866 (static): Removed, not needed anymore.
8867 * gnu/java/nio/channels/FileChannelImpl.java
8868 (FileChannelImpl): Made final.
8869 (mode): Made private.
8870 (READ, WRITE, APPEND): Made public.
8871 (EXCL, SYNC, DSYNC): Likewise.
8872 (static): Load native JNI library, when needed.
8873 (length): Unused, removed.
8874 (available): Made public.
8875 (implPosition): Throws IOException.
8876 (seek): Likewise.
8877 (implTruncate): Likewise.
8878 (unlock): Likewise.
8879 (lock): Likewise.
8880
8881 2004-04-20 Michael Koch <konqueror@gmx.de>
8882
8883 * java/awt/AWTPermission.java,
8884 java/awt/Component.java,
8885 java/awt/ComponentOrientation.java,,
8886 java/awt/Dialog.java,
8887 java/awt/FontMetrics.java,
8888 java/awt/Graphics.java,
8889 java/awt/datatransfer/DataFlavor.java,
8890 java/beans/Introspector.java,
8891 java/beans/PropertyEditor.java,
8892 java/beans/PropertyEditorManager.java,
8893 java/beans/beancontext/BeanContextServiceProvider.java:
8894 Fixed HTML tags in javadocs all over.
8895
8896 2004-04-20 Mark Wielaard <mark@klomp.org>
8897
8898 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8899 MissingResourceException is thrown.
8900 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8901 null when a MissingResourceException is thrown. Should never happen.
8902
8903 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8904
8905 * java/awt/image/DataBufferShort.java,
8906 java/awt/image/DataBufferFloat.java,
8907 java/awt/image/DataBufferDouble.java,
8908 java/awt/image/PixelInterleavedSampleModel.java: New files.
8909 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8910 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8911
8912 2004-04-20 Michael Koch <konqueror@gmx.de>
8913
8914 * Makefile.am (java_source_files): Added
8915 java/awt/image/DataBufferDouble.java,
8916 java/awt/image/DataBufferFloat.java,
8917 java/awt/image/DataBufferShort.java and
8918 java/awt/image/PixelInterleavedSampleModel.java.
8919 * Makefile.in: Regenerated.
8920
8921 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8922
8923 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8924 undocumented CNI calls.
8925 * include/java-interp.h (_Jv_InterpClass): No longer
8926 extends java.lang.Class.
8927 * java/lang/Class.h (Class): Add new field `aux_info'.
8928 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8929 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8930 Use Class->aux_info instead.
8931 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8932 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8933 Use Class->aux_info instead.
8934 * java/io/natObjectInputStream.cc (allocateObject): Use
8935 _Jv_AllocObject.
8936 * java/lang/natClass.cc (newInstance): Likewise.
8937 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8938 * java/lang/natObject.cc (clone): Likewise.
8939 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8940 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8941 JvAllocObject. Allocate klass->aux_info here for interpreted
8942 class.
8943
8944 2004-04-17 Mark Wielaard <mark@klomp.org>
8945
8946 * javax/swing/JToggleButton.java (ToggleButtonModel):
8947 Make public static inner class.
8948 * javax/swing/JTabbedPane.java (setComponentAt):
8949 Call Page.setComponent().
8950 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8951 (WRAP_TAB_LAYOUT): Make public, value is 0.
8952 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8953 Make private static inner class.
8954
8955 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8956
8957 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8958 arguments to match new signature. Remove FIXME comments.
8959
8960 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8961
8962 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8963 Remove method.
8964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8965 unused code.
8966
8967 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8968
8969 * Makefile.am: Added new file.
8970 * Makefile.in: Regenerate.
8971 * javax/swing/ImageIcon.java:
8972 (ImageIcon(file)): set description of the icon
8973 to the file name
8974 * javax/swing/JCheckBoxMenuItem.java:
8975 Mostly Implemented. Work in progress.
8976 * javax/swing/JRadioButtonMenuItem.java:
8977 Reimplement constructors to use JToggleButtonModel.
8978 * javax/swing/plaf/basic/BasicIconFactory.java:
8979 (getCheckBoxMenuItemIcon): return check box
8980 icon.
8981 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8982 paint menu item selected only when it is armed and
8983 pressed.
8984
8985 2004-04-02 David Jee <djee@redhat.com>
8986
8987 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8988 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8989 * java/awt/Component.java
8990 (add): Set the parent of the popup as this component.
8991 * java/awt/PopupMenu.java
8992 (addNotify): Create popup menu when peer is null.
8993 (show): Call addNotify() if peer is null.
8994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8995 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8996 argument for gtk_menu_popup() as zero. This causes the popup menu to
8997 respond to any mouse button.
8998
8999 2004-03-31 Olga Rodimina <rodimina@redhat.com>
9000
9001 * Makefile.am: Added new file.
9002 * Makefile.in: Regenerate.
9003 * javax/swing/JRadioButtonMenuItem.java:
9004 Implemented.
9005 * javax/swing/plaf/basic/BasicIconFactory.java:
9006 (getRadioButtonMenuItemIcon): Return
9007 radio button icon.
9008 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9009 (getPreferredSize): Add size of checkIcon if it
9010 exists.
9011 (installDefaults): Don't initialize checkIcon.
9012 It's value will be set in subclasses.
9013 (uninstallDefaults): remove uninstallation of
9014 checkIcon.
9015 (paint): Moved code to paintMenuItem().
9016 (paintMenuItem): Implemented.
9017 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9018 UI delegate for JRadioButtonMenuItem.
9019
9020 2004-03-29 Olga Rodimina <rodimina@redhat.com>
9021
9022 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9023 Corrected position of the accelerator.
9024
9025 2004-03-29 Olga Rodimina <rodimina@redhat.com>
9026
9027 * Makefile.am: Added new file.
9028 * Makefile.in: Regenerate.
9029 * javax/swing/JMenuItem.java: Partly
9030 implemented. Work in progress
9031 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9032 Changed default value of acceleratorDelimiter.
9033 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9034 New class. Partly implemented.
9035
9036 2004-03-26 Mark Wielaard <mark@klomp.org>
9037
9038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9039 (item_activate): Declare label before use.
9040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9041 (gtkSetFont): Removed unused variable label.
9042 (addExposeFilter): Declare variables before use.
9043 (removeExposeFilter): Likewise.
9044 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9045 (ok_clicked): Declare str_fileName before use.
9046
9047 2004-03-26 David Jee <djee@redhat.com>
9048
9049 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9050 (addSeparator): Remove.
9051 * java/awt/Menu.java
9052 (separator): Remove static final MenuItem field.
9053 (separatorLabel): New static final String field.
9054 (addSeparator): Do not use peer method; use add(MenuItem) instead.
9055 Use separatorLabel to denote that it is a separator.
9056 (insertSeparator): Create a new MenuItem with separatorLabel, instead
9057 of reusing the static separator instance, because a MenuItem instance
9058 can't be added more than once without being cloned.
9059 * java/awt/peer/MenuPeer.java
9060 (addSeparator): Remove from interface.
9061
9062 2004-03-26 David Jee <djee@redhat.com>
9063
9064 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9065 (connectSignals): New native method declaration.
9066 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9067 * java/awt/MenuItem.java
9068 (getActionCommand): Return the label if the action command is not set.
9069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9070 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9071 gtk_menu_shell_append().
9072 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9073 (item_activate): Fix argument type.
9074 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9075 signal here.
9076 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9077 method.
9078 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9079 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9080 given. Add the menu widget's top-level GtkWindow to the global window
9081 group, so it can grab the pointer.
9082 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9083 gtk_menu_shell_append().
9084
9085 2004-03-23 Graydon Hoare <graydon@redhat.com>
9086
9087 * java/text/AttributedString.java
9088 (addAttribute): Fix off-by-one.
9089 (getIterator): Likewise.
9090 * java/text/AttributedStringIterator.java
9091 (getRunLimit): Correct logic.
9092 (getRunStart): Likewise.
9093 (getAttribute): Fix inequality.
9094 (getAttributes): Likewise.
9095 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9096
9097 2004-03-23 Kim Ho <kho@redhat.com>
9098
9099 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9100 (calculateSizes): Return real width and height.
9101
9102 2004-03-23 Kim Ho <kho@redhat.com>
9103
9104 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9105 (calculateTabRects): Set the selectedRun before
9106 trying to rotate tabs.
9107
9108 2004-03-23 Kim Ho <kho@redhat.com>
9109
9110 * Makefile.am: New file
9111 * Makefile.in: Regenerate
9112 * java/awt/Graphics.java: (drawRect):
9113 Draw to the correct point.
9114 * javax/swing/DefaultSingleSelectionModel.java
9115 (isSelected): Return true if the selected index
9116 is not -1.
9117 * javax/swing/JLabel.java: Do not change mnemonic
9118 index if text is null.
9119 * javax/swing/JProgressBar.java: Use JComponent's
9120 EventListenerList.
9121 * javax/swing/JScrollBar.java: Ditto.
9122 * javax/swing/JSlider.java: Ditto.
9123 * javax/swing/JTabbedPane.java: Reimplement.
9124 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9125 Add defaults for TabbedPane.
9126 * javax/swing/plaf/basic/BasicArrowButton.java:
9127 Implement
9128 * javax/swing/plaf/basic/BasicProgressBarUI.java:
9129 (paintDeterminate): Don't paint String if it's
9130 empty.
9131 (paintIndeterminate): ditto.
9132 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9133 Reimplement.
9134
9135 2004-03-19 Michael Koch <konqueror@gmx.de>
9136
9137 * java/awt/image/AffineTransformOp.java
9138 (AffineTransformOp): Made public.
9139 * javax/swing/JComponent.java
9140 (listenerList): Made protected.
9141 (accessibleContext): Likewise.
9142 * javax/swing/JList.java
9143 (valueChanged): Dont use internal fields of ListSelectionEvent.
9144 * javax/swing/JViewport.java
9145 (getView): Dont use internal fields of Component.
9146 (addImpl): Likewise.
9147 * javax/swing/Timer.java
9148 (isRunning): Made public.
9149 (start): Likewise.
9150 (stop): Likewise.
9151 * javax/swing/UIDefaults.java
9152 (getInt): Made public.
9153 * javax/swing/plaf/basic/BasicListUI.java
9154 (mousePressed): Dont use internal fields of MouseEvent.
9155 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9156 * javax/swing/plaf/basic/BasicScrollBarUI.java
9157 (arrowIcon): Made static.
9158 * javax/swing/plaf/basic/BasicViewportUI.java
9159 (stateChanged): Dont use internal field on ChangeEvent.
9160 * javax/swing/text/JTextComponent.java
9161 (getUI): Call UIManager.getUI().
9162 (updateUI): Use getUI().
9163
9164 2004-03-19 Graydon Hoare <graydon@redhat.com>
9165
9166 * javax/swing/JComponent.java: Turn off double buffer by default.
9167 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9168 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9169 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
9170 Use cairo to copy areas.
9171 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9172 Initialize and set clip region.
9173
9174 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9175
9176 * java/applet/Applet.java (preferredSize): Override deprecated
9177 variant of getPreferredSize.
9178 (minimumSize): Override deprecated variant of getMinimumSize.
9179
9180 2004-03-15 Olga Rodimina <rodimina@redhat.com>
9181
9182 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9183 (drawImage(img,xform,bgcolor,obs)): New Method.
9184 Helper function that every drawImage method will
9185 use.
9186 (drawRaster): Added new parameter, bgcolor. All
9187 transparent pixels are changed to bgcolor before
9188 image is drawn.
9189 (drawRenderedImage): Fixed to use changed drawRaster().
9190 (drawImage(image,xform,obs): Fixed to use new helper function
9191 (drawImage(image,op,x,y)): Ditto.
9192 (drawImage (img,x,y,observer)): Ditto.
9193 ((PainterThread) bgcolor): New Field.
9194 ((PainterThread) (setPixels)): Changed all transparent pixels
9195 to bgcolor.
9196 (drawImage(img,x,y,width,height,bgcolor,observer)):
9197 Fixed FIXME - all the transparent pixels are
9198 changed to the specified bgcolor.
9199 (drawImage(img, x, y, width, height, observer): Changed to
9200 use function above.
9201 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
9202 Fixed FIXME- changed all transparent pixels to bgcolor.
9203 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9204 Changed to use function above.
9205
9206 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9207
9208 * java/applet/Applet.java (dimensions): New field.
9209 (getDimensions): New method.
9210 (getPreferredSize): Call getDimensions.
9211 (getMinimumSize): Likewise.
9212
9213 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9214
9215 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9216 * jni/classpath/jnilink.c: Likewise.
9217
9218 * java/applet/Applet.java (getPreferredSize): New method.
9219 (getMinimumSize): New method.
9220
9221 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
9222
9223 * prims.cc (_Jv_AllocObject): Remove `size' argument.
9224 (_Jv_AllocObjectNoFinalizer): Likewise.
9225 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9226 (_Jv_AllocPtrFreeObject): Likewise.
9227 (_Jv_AllocString): Moved from natString.cc. Call collector interface
9228 directly even in the JVMPI case.
9229 * gcj/cni.h (JvAllocObject): Remove `size' argument from
9230 _Jv_AllocObject calls.
9231 * gcj/javaprims.h: Update prototypes.
9232 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9233 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9234 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9235
9236 2004-04-14 Andrew Haley <aph@redhat.com>
9237 Bryce McKinlay <mckinlay@redhat.com>
9238
9239 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9240 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9241 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9242
9243 * testsuite/libjava.lang/InvokeInterface.java: New file.
9244 * testsuite/libjava.lang/InvokeInterface.out: New file.
9245
9246 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
9247
9248 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9249 modified lookup().
9250 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9251 StackTraceElement directly.
9252 (newElement): New native helper method to create StackTraceElement
9253 bypassing Java access control.
9254 (createStackTraceElement): Use newElement() instead of directly
9255 calling StackTraceElement's constructor.
9256 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9257
9258 2004-04-01 Michael Koch <konqueror@gmx.de>
9259
9260 * java/lang/SecurityManager.java
9261 (checkAwtEventQueueAccess): Implemented.
9262
9263 2004-04-01 Gary Benson <gbenson@redhat.com>
9264
9265 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9266 (_Jv_SearchMethodInClass): Likewise.
9267
9268 2004-03-26 Peter Moon <peterm@miraculum.com>
9269
9270 * java/text/NumberFormat.java: Fix spelling of setCurrency
9271 method.
9272
9273 2004-03-21 Anthony Green <green@redhat.com>
9274
9275 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9276 recursion when searching for the system ClassLoader.
9277
9278 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
9279
9280 * java/net/ServerSocket.java
9281 (accept): Close the socket when error occured.
9282
9283 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
9284
9285 * java/net/URI.java (parseURI): Added unquoting.
9286 (unquote): New method.
9287 (quoteAuthority): Implemented.
9288 (quote(String,String)): New method.
9289 (quotePath): Implemented.
9290 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9291 (getSchemeSpecificPart): Removed FIXME comment.
9292 (getRawAuthority): Return new rawAuthority field.
9293 (getAuthority): Removed FIXME comment.
9294 (getRawUserInfo): Return new rawUserInfo field.
9295 (getUserInfo): Removed FIXME comment.
9296 (getRawPath): Return new rawPath field.
9297 (getPath): Removed FIXME comment.
9298 (getRawQuery): Return new rawQuery field.
9299 (getQuery): Removed FIXME comment.
9300 (getRawFragment): Return new rawFragment field.
9301 (getFragment): Removed FIXME comment.
9302
9303 2004-03-20 Michael Koch <konqueror@gmx.de>
9304
9305 * java/net/URLConnection.java: Merged copyright year with classpath.
9306
9307 2004-03-20 Norbert Frese <postfach@nfrese.net>
9308
9309 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9310 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9311 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9312 rmi-message.
9313 (getObjectInputStream): Return object reference, throw IOException if null.
9314 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9315 (getObjectOutputStream): Return object reference, throw IOException if null.
9316 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9317 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9318 (UnicastConnectionManager): Throw RemoteException if port is not available.
9319 (getInstance): Throw RemoteException.
9320 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9321 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9322 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9323 Collect Exceptions which are returned by a rmi-call and fix void returns.
9324 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9325 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9326 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9327 (dispatch): Answer ping messages which are sent by other java implementions.
9328 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9329 for every rmi-message and fix void return problems.
9330 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9331 (UnicastServerRef): Throw RemoteException.
9332 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9333 In some situations it is necessary to export a subclass of the class which has the _Stub.
9334 For instance when the class with has the _Stub is abstract.
9335 (findStubSkelClass): New method which looks for the class which has the _Stub.
9336 (getClientHost): Implementated.
9337 * gcc/libjava/java/rmi/server/RemoteServer.java
9338 (getClientHost): Implementated.
9339 * gcc/libjava/Makefile.am (rmi_java_source_files):
9340 Added gnu/java/rmi/server/RMIIncomingThread.java.
9341 * Makefile.in: Regenerated.
9342
9343 2004-03-20 Michael Koch <konqueror@gmx.de>
9344
9345 * java/net/InetAddress.java
9346 (getLocalHostname): Added javadoc.
9347
9348 2004-03-19 Per Bothner <per@bothner.com>
9349
9350 * configure.in: FILE variable overrides FLATFORM when linking
9351 natFileChannelXXX.cc.
9352
9353 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
9354 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
9355
9356 2004-03-19 Per Bothner <per@bothner.com>
9357
9358 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
9359 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
9360 * Makefile.am: Update accordingly.
9361 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
9362 as aliases for UnicodeLittle and UnicodeBig.
9363
9364 2004-03-20 Mark Wielaard <mark@klomp.org>
9365
9366 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9367 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9368 Don't access ws when it is null.
9369 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9370 Likewise.
9371
9372 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
9373
9374 * java/lang/ThreadGroup.java (list): Changed print to println.
9375
9376 2004-03-19 Mark Wielaard <mark@klomp.org>
9377
9378 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9379 happy.
9380
9381 2004-02-10 Randolph Chung <tausq@debian.org>
9382
9383 * configure.in: Build java for hppa target.
9384 * configure: Regenerate.
9385 * libjava/configure.host (hppa-*): Add target.
9386 * libjava/sysdeps/pa/lock.h: New file.
9387
9388 2004-03-19 Mark Wielaard <mark@klomp.org>
9389
9390 Reported by Stephen Crawley
9391 * java/io/FilePermission.java (implies): Use String.length() -1 to
9392 access last char of String.
9393
9394 2004-03-19 Michael Koch <konqueror@gmx.de>
9395
9396 * java/awt/image/AffineTransformOp.java
9397 (AffineTransformOp): Made public.
9398 * javax/swing/JComponent.java
9399 (listenerList): Made protected.
9400 (accessibleContext): Likewise.
9401 * javax/swing/JList.java
9402 (valueChanged): Dont use internal fields of ListSelectionEvent.
9403 * javax/swing/JViewport.java
9404 (getView): Dont use internal fields of Component.
9405 (addImpl): Likewise.
9406 * javax/swing/Timer.java
9407 (isRunning): Made public.
9408 (start): Likewise.
9409 (stop): Likewise.
9410 * javax/swing/UIDefaults.java
9411 (getInt): Made public.
9412 * javax/swing/plaf/basic/BasicListUI.java
9413 (mousePressed): Dont use internal fields of MouseEvent.
9414 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9415 * javax/swing/plaf/basic/BasicScrollBarUI.java
9416 (arrowIcon): Made static.
9417 * javax/swing/plaf/basic/BasicViewportUI.java
9418 (stateChanged): Dont use internal field on ChangeEvent.
9419 * javax/swing/text/JTextComponent.java
9420 (getUI): Call UIManager.getUI().
9421 (updateUI): Use getUI().
9422
9423 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9424
9425 * verify.cc: Undef PC.
9426
9427 2004-03-18 Michael Koch <konqueror@gmx.de>
9428
9429 * java/nio/channels/spi/AbstractSelectableChannel.java
9430 (keys): Initialize at declaration.
9431 (locate): keys cant be null.
9432 (add): Removed.
9433 (addSelectionKey): New method.
9434 (removeSelectionKey): New method.
9435 * java/nio/channels/spi/AbstractSelectionKey.java
9436 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9437 * java/nio/channels/spi/AbstractSelector.java
9438 (provider): Javadoc added.
9439 (cancelledKeys): Javadoc added.
9440 (cancelKey): Javadoc added, add key to cancelledKeys.
9441 (deregister): Implemented.
9442
9443 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9444
9445 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9446 MAP_FAILED to void *.
9447
9448 2004-03-12 Graydon Hoare <graydon@redhat.com>
9449
9450 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9451 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9452 * javax/swing/JList.java (ListListener): Revalidate on changes.
9453 * javax/swing/JScrollPane.java: Reimplement.
9454 * javax/swing/JViewport.java: Reimplement.
9455 * javax/swing/ScrollPaneLayout.java: Reimplement.
9456 * javax/swing/ViewportLayout.java: Tidy up.
9457 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9458 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9459 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9460 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9461 backing store only.
9462
9463 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9464
9465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9466 (window_wm_protocols_filter): New function.
9467 (window_focus_in_cb): Remove function.
9468 (window_focus_out_cb): Likewise.
9469 (window_focus_or_active_state_change_cb): New function.
9470 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9471 (connectSignals): Don't attach handlers to focus-in-event or
9472 focus-out-event signals. Handle notify signal.
9473
9474 2004-03-11 David Jee <djee@redhat.com>
9475
9476 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9477 (gtkSetLabel): New native method declaration.
9478 (setLabel): Use gtkSetLabel.
9479 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9480 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9481
9482 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9483
9484 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9485 black when color argument is null.
9486
9487 2004-03-10 Kim Ho <kho@redhat.com>
9488
9489 * java/awt/Container.java: Remove check
9490 for drag events.
9491
9492 2004-03-10 Kim Ho <kho@redhat.com>
9493
9494 * java/awt/Container.java: (visitChild):
9495 Remove candidate clip. Use the component
9496 clip to intersect.
9497 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9498 (handleEvent): Use the PaintEvent's clip.
9499
9500 2004-03-10 Kim Ho <kho@redhat.com>
9501
9502 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9503 (handleEvent): Don't set the clip for the
9504 Graphics object.
9505
9506 2004-03-09 Graydon Hoare <graydon@redhat.com>
9507
9508 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9509 Fix double <-> fixed macros, reset font transform.
9510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9511 Likewise.
9512
9513 2004-03-09  Kim Ho <kho@redhat.com>
9514
9515 * java/awt/Container.java: (visitChild): Move
9516 the x and y coordinate of the component rectangle
9517 to correct position.
9518 (handleEvent): Forward drag events to the pressed
9519 component.
9520 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9521 Fix comments.
9522 (ArrowButtonListener::mousePressed): Stop the
9523 existing timer.
9524 (mouseDragged): Implement.
9525 (TrackListener::mousePressed): Only react if
9526 the press doesn't occur on the thumb, otherwise
9527 just set the offset.
9528 (TrackListener::mouseReleased): Unset the isAdjusting
9529 value.
9530 (createIncreaseIcon): Switch icon.
9531 (createDecreaseIcon): Switch icon.
9532 (calculatePreferredSize): Use width.
9533 (getThumbBounds): Use the top as the lower value.
9534 (layoutVScrollBar): Switch the button locations.
9535 (paintIncreaseHighlight): Paint correct side of thumb.
9536 (paintDecreaseHighlight): ditto.
9537 (valueForYPosition): Use top as the lower value.
9538 * javax/swing/plaf/basic/BasicSliderUI.java:
9539 Fix comments.
9540 (mouseDragged): Implement.
9541 (mousePressed): Only react when the thumb isn't
9542 pressed, otherwise just set offset.
9543 (mouseReleased): Handle a release of the thumb.
9544 (scrollDueToClickInTrack): Stop the timer first.
9545 * javax/swing/JProgressBar.java:
9546 (setString): Fix change condition.
9547 * javax/swing/JSeparator.java:
9548 Remove println's.
9549
9550 2004-03-08 David Jee <djee@redhat.com>
9551
9552 * java/awt/image/AffineTransformOp.java:
9553 (filter): Use Graphics2D interface instead of directly using the
9554 GdkGraphics2D peer.
9555
9556 2004-03-05 David Jee <djee@redhat.com>
9557
9558 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9559 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9560 * java/awt/Container.java
9561 (acquireComponentForMouseEvent): Fixed.
9562 (handleEvent): Fixed.
9563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9564 (state_to_awt_mods_with_button_states): New method.
9565 (pre_event_handler): Fixed mouse event generation.
9566
9567 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9568
9569 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9570 (GdkGraphics2D (BufferedImage)): Initialize
9571 pixmap associated with specified BufferedImage.
9572 (setPaint): Changed implementation of Texture
9573 Paint to use AffineTransformOp.
9574 * java/awt/image/AffineTransformOp.java
9575 (createCompatibleDestRaster): Throw RasterFormatException
9576 if resulting width or height of raster is 0.
9577
9578 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9579
9580 * java/awt/image/AffineTransformOp.java:
9581 Removed unnecessary field interpolationType.
9582 Formatted some of the lines to be consistent with
9583 the GNU style.
9584 (AffineTransformOp): Create new RenderingHints
9585 containing specified interpolation type.
9586 (createCompatibleDestImage): Implemented.
9587 (createCompatibleDestRaster): Implemented.
9588 (filter): Implemented.
9589 (getBounds2D(BufferedImage)): Implemented.
9590 (getBounds2D(Raster)): Implemented.
9591 (getInterpolationType): Get interpolation value from
9592 rendering hints.
9593
9594 2004-03-04 David Jee <djee@redhat.com>
9595
9596 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9597 (setFont): Check if child peers are null.
9598
9599 2004-03-04 Graydon Hoare <graydon@redhat.com>
9600
9601 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9602 .libs in -L option.
9603 (libjava_arguments): Add new libraries to argument list.
9604
9605 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9606
9607 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9608 * Makefile.in: Re-generated.
9609 * java/awt/image/AffineTransformOp.java: New Class.
9610
9611 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9612
9613 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9614 (setPaint): Interpret correctly TexturePaint's
9615 anchor rectangle.
9616 (drawImage): Fixed scale factors of the affine
9617 transform.
9618
9619 2004-02-27 David Jee <djee@redhat.com>
9620
9621 * gnu/java/awt/peer/gtk/GdkGraphics.java
9622 (GdkGraphics(Component)): Inherit font from component.
9623 (drawString): Use font style.
9624 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9625 (gtkSetFont): New native method declaration.
9626 (setFont): New method.
9627 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9628 (gtkSetFont): New native method declaration.
9629 (setFont): Call new native method gtkSetFont.
9630 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9631 (setFont): For all child components who do not their fonts set,
9632 set their peers' fonts with this container's font.
9633 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9634 Move all native method declarations to the top for readability.
9635 (gtkSetFont): New native method declaration.
9636 (setFont): New method.
9637 * java/awt/Component.java
9638 (setFont): Invalidate after setting the font.
9639 * java/awt/Container.java
9640 (invalidateTree): New method.
9641 (setFont): Invalidate the container tree after setting the font.
9642 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9643 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9644 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9645 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9647 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9648 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9649 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9650
9651 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9652
9653 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9654 (updateBufferedImage): New helper function.
9655 Updates BufferedImage in memory if it was changed.
9656 (draw): changed to update BufferedImage in memory after
9657 this drawing operation
9658 (fill): Ditto.
9659 (draw3DRect): Ditto.
9660 (fill3DRect): Ditto.
9661 (clearRect): Ditto.
9662 (drawRaster): Ditto.
9663 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9664 no affine transformation.
9665 (drawGlyphVector): Ditto.
9666
9667 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9668
9669 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9670 (isBufferedImageGraphics): New Helper function.
9671 Returns true if this graphics2d can be used to draw
9672 into buffered image and false otherwise.
9673 (updateImagePixels): New Helper function.
9674 Updates pixels in the BufferedImage.
9675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9676 (getImagePixels): New function. Returns pixels
9677 of the buffered image associated with
9678 this Graphics2D.
9679
9680 2004-02-26 David Jee <djee@redhat.com>
9681
9682 * java/awt/BorderLayout.java
9683 (layoutContainer): Fix width and height calculations to ensure
9684 that they're non-negative.
9685 * java/awt/Component.java
9686 (setBackground): If c is null, inherit from closest ancestor whose
9687 background color is set.
9688
9689 2004-02-26  Kim Ho  <kho@redhat.com>
9690
9691 * Makefile.am: Add new files.
9692 * Makefile.in: Re-generate.
9693 * javax/swing/JProgressBar.java:
9694 (JProgressBar(int, int int)): Throw
9695 IllegalArgumentException if orientation is
9696 invalid.
9697 (JProgressBar(BoundedRangeModel)): Create
9698 ChangeListener and register it. UpdateUI.
9699 (getChangeListeners): Implement.
9700 (setModel): Reset ChangeListener.
9701 * javax/swing/JScrollBar.java: Implement.
9702 * javax/swing/JSeparator.java: Implement.
9703 * javax/swing/JSlider.java:
9704 (JSlider(int, int, int, int)): Throw
9705 IllegalArgumentException if orientation
9706 is invalid.
9707 (getChangeListeners): Fix method name.
9708 * javax/swing/SwingUtilities.java:
9709 (layoutCompoundLabel): If there is no text,
9710 set the text rectangle dimensions to 0.
9711 * javax/swing/plaf/basic/BasicButtonUI.java:
9712 (paint): If there is no text, don't paint it.
9713 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9714 Implement.
9715 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9716 Implement.
9717 * javax/swing/plaf/basic/BasicSliderUI.java:
9718 (propertyChange): If the model changes, change
9719 the listeners accordingly.
9720
9721 2004-02-25 Graydon Hoare <graydon@redhat.com>
9722
9723 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9724 * javax/swing/JList.java: Reimplement.
9725 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9726 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9727 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9728 * javax/swing/ListModel.java: Javadoc.
9729 * javax/swing/ListSelectionModel.java: Add missing methods.
9730 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9731 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9732 * javax/swing/ListModel.java: Javadoc and corrections.
9733 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9734
9735 2004-02-25 David Jee <djee@redhat.com>
9736
9737 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9738 (GtkFontPeer): Change default size to 12.
9739 * gnu/java/awt/peer/gtk/GtkToolkit.java
9740 (getFontPeer): Change default size to 12.
9741 (getClasspathFontPeer): Likewise. Set default name to "Default".
9742 * java/awt/Font.java
9743 (Font(Map)): Call Font(String,Map).
9744 (Font(String,Map)): If attrs is null, initialize it as an empty
9745 HashMap, which will ensure that the Font will get default attributes.
9746
9747 2004-02-25 David Jee <djee@redhat.com>
9748
9749 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9750 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9751 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9752 * gnu/java/awt/peer/gtk/GtkToolkit.java
9753 (getFontPeer(String,int)): Call the new overload method with size 1.
9754 (getFontPeer(String,int,int)): New method. Overloaded with size
9755 attribute.
9756 (getClasspathFontPeer): Set the size of the font.
9757
9758 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9759
9760 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9761 (bimage): New field.
9762 (GdkGraphics2D): New Constructor. Constructs Graphics
9763 object that can be used to draw into the Buffered Image.
9764 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9765 (GdkGraphicsEnvironment): Fixed to include public
9766 keyword.
9767 (createGraphics): Implemented.
9768 * gnu/java/awt/peer/gtk/GtkToolkit.java
9769 (getLocalGraphicsEnvironment): Implemented.
9770 * java/awt/GraphicsEnvironment.java:
9771 (getLocalGraphicsEnvironment): Implemented.
9772 * java/awt/image/BufferedImage.java:
9773 (createGraphics): Implemented.
9774
9775 2004-02-24 David Jee <djee@redhat.com>
9776
9777 * java/awt/Component.java
9778 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9779 * java/awt/Container.java
9780 (addNotifyContainerChildren): Fix event enabling.
9781
9782 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9783
9784 * Makefile.am: Added
9785 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9786 * Makefile.in: Re-generated.
9787 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9788 New Class.
9789
9790 2004-02-19 Kim Ho <kho@redhat.com>
9791
9792 * Makefile.am: Add BasicProgressBarUI
9793 * Makefile.in: Regenerate.
9794 * javax/swing/JProgressBar.java:
9795 Re-implement.
9796 * javax/swing/plaf/basic/BasicLookAndFeel.java
9797 Add constants for JProgressBar.
9798 * javax/swing/plaf/basic/BasicProgressBarUI.java
9799 Implement.
9800 * javax/swing/plaf/basic/BasicSliderUI.java
9801 Change comments.
9802 (calculateGeometry): New method
9803 (paint): Remove unnecessary size calculations.
9804
9805 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9806
9807 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9808 (drawRaster): Fixed small error that caused
9809 imageToUser transformation to be set incorrectly.
9810 (toString): Implemented.
9811
9812 2004-02-18 David Jee <djee@redhat.com>
9813
9814 * java/awt/CardLayout.java
9815 (addLayoutComponent): Show the first component added as the default.
9816 (removeLayoutComponent): After removing, show the next component.
9817 (gotoComponent): If there is only one component, show it and return.
9818
9819 2004-02-18 Kim Ho <kho@redhat.com>
9820
9821 * javax/swing/JSlider.java: Re-order
9822 modifiers.
9823 * javax/swing/JLabel.java: Re-order
9824 modifiers.
9825 * javax/swing/JComponent.java:
9826 (addPropertyChangeListener):
9827 Implement.
9828 (removePropertyChangeListener):
9829 ditto.
9830 (firePropertyChangeEvent):
9831 ditto.
9832
9833 2004-02-17 David Jee <djee@redhat.com>
9834
9835 * java/awt/Component.java
9836 (show): Dispatch ComponentEvent via system event queue.
9837 (hide): Likewise.
9838 (move): Likewise.
9839 (resize): Likewise.
9840 (reshape): Likewise.
9841 * java/awt/Window.java
9842 (setBoundsCallback): Likewise.
9843
9844 2004-02-17 David Jee <djee@redhat.com>
9845
9846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9847 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9848 Use gtk_widget_set_size_request() instead of the deprecated
9849 gtk_widget_set_usize().
9850
9851 2004-02-17 Kim Ho <kho@redhat.com>
9852
9853 * javax/swing/JSlider.java: Fix comments and
9854 make property strings constants.
9855 (createStandardLabels): Use the labels
9856 preferred size as bounds.
9857 * javax/swing/plaf/basic/BasicSliderUI.java
9858 Fix comments.
9859 (ScrollHandler::actionPerformed): Don't
9860 calculate the timer stop value. Let the
9861 MouseListeners find the stop location.
9862 (getPreferredHorizontalSize): Re-implement.
9863 (getPreferredVerticalSize): ditto.
9864 (getMinimumHorizontalSize): ditto.
9865 (getMinimumVerticalSize): ditto.
9866 (getPreferredSize): ditto.
9867 (getMinimumSize): ditto.
9868 (getMaximumSize): ditto.
9869 (paintTicks): Use doubles to find the
9870 tick location.
9871 (paintHorizontalLabel):  Use preferredSize
9872 as initial width and height.
9873 (paintVerticalLabel): ditto.
9874
9875 2004-02-17 Kim Ho <kho@redhat.com>
9876
9877 * javax/swing/JLabel.java: Changed
9878 property strings to constants.
9879 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9880 New property.
9881 (setText): Change mnemonic index if
9882 text is too short.
9883 (setDisplayedMnemonicIndex): Fire property
9884 change event.
9885 (getDisplayedMnemonicIndex): Remove check
9886 against short text.
9887
9888 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9889
9890 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9891 (drawImage(img,xform,obs)): Invert xform before
9892 passing the xform to cairo.
9893 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9894 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9895 implemented.
9896 (drawImage (img,x,y,w,h,obs)): Implemented.
9897 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9898 bgcolor,obs)): Partly implemented.
9899 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9900 Implemented.
9901 * java/awt/image/BufferedImage.java:
9902 (copyData): if dest is null, create raster with same
9903 dimensions as the current image.
9904
9905 2004-02-16 Graydon Hoare <graydon@redhat.com>
9906
9907 * javax/swing/plaf/basic/BasicLabelUI.java
9908 (getPreferredSize): Use layoutCL.
9909 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9910 (getPreferredButtonSize): Start with empty view rect, layout using
9911 component's preferred alignment.
9912 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9913 List defaults.
9914
9915 2004-02-16 David Jee <djee@redhat.com>
9916
9917 * java/awt/Component.java
9918 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9919 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9920 (move): Erase old bounds and repaint new bounds. Dispatch
9921 COMPONENT_MOVED ComponentEvent.
9922 (resize): Erase old bounds and repaint new bounds. Dispatch
9923 COMPONENT_RESIZED ComponentEvent.
9924 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9925 ComponentEvents.
9926 * java/awt/Window.java
9927 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9928 ComponentEvents.
9929
9930 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9931
9932 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9933 (setRenderingHint): Added implementation of
9934 Interpolation rendering hints.
9935 (setRenderingHints): Ditto.
9936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9937 (drawPixels): fixed to allow user to choose type
9938 of filtering that should be used when displaying images.
9939 (cairoSurfaceSetFilter): New method. Sets filter type for
9940 interpolation of pixel values.
9941
9942 2004-02-16 David Jee <djee@redhat.com>
9943
9944 * java/awt/GridBagLayout.java
9945 (calcCellSizes): Rows or columns with zero sizes should still be
9946 considered for extra space distribution.
9947
9948 2004-02-16 Kim Ho <kho@redhat.com>
9949
9950 * javax/swing/JLabel.java: Re-implement.
9951 * javax/swing/plaf/basic/BasicLabelUI.java
9952 Re-implement.
9953 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9954 Added constant.
9955
9956 2004-02-16  Kim Ho  <kho@redhat.com>
9957
9958 * javax/swing/JSlider.java: Fix indentation and comments.
9959 (setModel): Remove null check to conform with Sun's.
9960 (setOrientation): Throw exception if not
9961 HORIZONTAL or VERTICAL.
9962 (getInverted): Use private variable instead of
9963 ComponentOrientation.
9964 (setInverted): ditto.
9965 * javax/swing/plaf/basic/BasicSliderUI.java:
9966 Fix indentation and comments.
9967 (propertyChange): Remove check for inverted slider, handle
9968 in main paint.
9969 (getMinimumSize): Return preferred size.
9970 (getMaximumSize): ditto.
9971 (calculateFocusRect): Don't relocate rectangle.
9972 (drawInverted): Return XOR of the slider's inversion and
9973 the component's orientation.
9974 (paint): Update leftToRightCache
9975
9976 2004-02-13 David Jee <djee@redhat.com>
9977
9978 * java/awt/GridBagLayout.java
9979 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9980 code to helper methods.
9981 (sortBySpan): New helper method.
9982 (distributeSizeAndWeight): Likewise.
9983 (calcCellWeights): Likewise.
9984 (calcCellSizes): Add comments.
9985
9986 2004-02-13 David Jee <djee@redhat.com>
9987
9988 * java/awt/Component.java
9989 (show): Only do something if component is invisible at the moment.
9990 (hide): Only do something if component is visible at the moment.
9991 (reshape): If lightweight, erase old bounds and repaint new bounds.
9992
9993 2004-02-13  Kim Ho  <kho@redhat.com>
9994
9995 * Makefile.am: Updated for new file.
9996 * Makefile.in: Regenerated.
9997 * javax/swing/JSlider.java: Reimplement.
9998 * javax/swing/SwingUtilities.java
9999 (layoutCompoundLabel): Use icon height
10000 instead of width.
10001 (paintComponent): Implement.
10002 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10003 Add JSlider defaults.
10004 * javax/swing/plaf/basic/BasicSliderUI.java:
10005 Implement. New file.
10006
10007 2004-03-17 Michael Koch <konqueror@gmx.de>
10008
10009 * gnu/java/net/PlainDatagramSocketImpl.java
10010 (RECEIVE_LOCK): New member field.
10011 (SEND_LOCK): New member field.
10012 (send0): New method.
10013 (send): Synchronize on SEND_LOCK.
10014 (receive0): New method.
10015 (receive): Synchronize on RECEIVE_LOCK.
10016 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10017 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10018 gnu/java/net/natPlainDatagramSocketImplWin32.cc
10019 (send0): Renamed from send.
10020 (receive0): Renamed from receive.
10021 2004-03-17 Michael Koch <konqueror@gmx.de>
10022
10023 * gnu/java/net/natPlainSocketImplPosix.cc
10024 (write): Just call write(jbyteArray, offset, len).
10025 (read): Just call read(jbyteArray, offset, len).
10026
10027 2004-03-16 Michael Koch <konqueror@gmx.de>
10028
10029 * javax/swing/JTabbedPane.java
10030 (serialVersionUID): New field.
10031
10032 2004-03-16 Norbert Frese <postfach@nfrese.net>
10033
10034 * java/net/InetAddress.java
10035 (getByName): Handle hostname == "" case.
10036
10037 2004-03-16 Dalibor Topic <robilad@kaffe.org>
10038
10039 Reported by: Adam Heath <doogie@debian.org>
10040 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10041 class loader.
10042
10043 2004-03-15 Michael Koch <konqueror@gmx.de>
10044
10045 * java/util/Locale.java: Reverting my last patch
10046 and add a comment why the original version was okay.
10047
10048 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
10049
10050 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10051 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10052 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10053 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10054
10055 2004-03-12 Michael Koch <konqueror@gmx.de>
10056
10057 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10058
10059 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
10060
10061 * java/net/URI.java (toURL): Implemented.
10062
10063 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
10064
10065 * java/net/URI.java
10066 (URI_REGEXP) updated to contain scheme specific part.
10067 (SCHEME_SPEC_PART_GROUP) new constant.
10068 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10069 updated to make room for SCHEME_SPEC_PART_GROUP.
10070 (parseURI) parse scheme specific part.
10071 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10072 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10073 getQuery, getFragment) implemented.
10074
10075 2004-03-12 Dalibor Topic <robilad@kaffe.org>
10076
10077 * libraries/javalib/java/net/URI.java
10078 partially implemented using java.util.regex.
10079 (URI_REGEXP) new constant. Used to parse URIs.
10080 (SCHEME_GROUP) new constant representing index of scheme group
10081 in parsed URI.
10082 (AUTHORITY_GROUP) new constant representing index of authority
10083 group in parsed URI.
10084 (PATH_GROUP) new constant representing index of path group in
10085 parsed URI.
10086 (QUERY_GROUP) new constant representing index of query group in
10087 parsed URI.
10088 (FRAGMENT_GROUP) new constant representing index of fragment
10089 group in parsed URI.
10090 (getURIGroup) new static utility method.
10091 (parseURI) implemented.
10092 (quote) stub for new static utility method.
10093 (quoteAuthority) stub for new static utility method.
10094 (quoteHost) stub for new static utility method.
10095 (quotePath) stub for new static utility method.
10096 (quoteUserInfo) stub for new static utility method.
10097 (URI) implemented.
10098 (create) don't throw URISyntaxException. Implemented.
10099 (toString) implemented.
10100
10101 2004-03-12 Michael Koch <konqueror@gmx.de>
10102
10103 * java/net/HttpURLConnection.java
10104 (getResponseCode): Fix another typo in javadoc.
10105
10106 2004-03-11 Michael Koch <konqueror@gmx.de>
10107
10108 * java/util/logging/Level.java
10109 (parse): Use String.equals() instead of ==.
10110
10111 2004-03-11 Michael Koch <konqueror@gmx.de>
10112
10113 * gnu/java/net/protocol/jar/Connection.java
10114 (getContentLength): New method.
10115
10116 2004-03-11 Michael Koch <konqueror@gmx.de>
10117
10118 * gnu/java/net/PlainSocketImpl.java:
10119 Reformated to merge better with classpath's version.
10120
10121 2004-03-11 Michael Koch <konqueror@gmx.de>
10122
10123 * java/util/Locale.java
10124 (getISO3Language): Use String.equals() instead of ==.
10125 (getISO3Country): Likewise.
10126
10127 2004-03-11 Dalibor Topic <robilad@kaffe.org>
10128
10129 * java/text/AttributedString.java
10130 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10131 Use HashMap instead of Hashtable since value can be null, and
10132 you can not store a null value in a Hashtable.
10133
10134 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10135
10136 * java/text/AttributedStringIterator.java
10137 (getAllAttributesKey): Return only keys concerned
10138 by the current iterator.
10139 (getAttributes): Use strict inequality for
10140 end_index.
10141
10142 2004-03-11 Michael Koch <konqueror@gmx.de>
10143
10144 * java/net/HttpURLConnection.java:
10145 Fixed typo in javadoc.
10146
10147 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10148
10149 * java/io/BufferedInputStream.java (marktarget): New field for max
10150 mark limit.
10151 (CHUNKSIZE): New constant for incremental mark buffer allocation.
10152 (mark): Use new fields.
10153 (read): Likewise.
10154 (read(byte[],int,int)): Likewise.
10155 (skip): Likewise.
10156 (refill): Likewise.
10157
10158 2004-03-11 Mark Wielaard <mark@klomp.org>
10159
10160 * java/beans/BeanDescriptor.java (BeanDescriptor):
10161 Set the FeatureDescriptor programmatic name.
10162
10163 2004-03-11 Michael Koch <konqueror@gmx.de>
10164
10165 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10166 This file was was just copied form java/io/natFileDescriptorEcos.cc
10167 and never changed to compile correctly.
10168
10169 2004-03-11 Michael Koch <konqueror@gmx.de>
10170
10171 * gnu/java/nio/PipeImpl.java
10172 (SourceChannelImpl): Made final.
10173 (read): Implemented.
10174 (SinkChannelImpl): Made final.
10175 (write): Implemented.
10176
10177 2004-03-11 Michael Koch <konqueror@gmx.de>
10178
10179 * gnu/java/net/PlainDatagramSocketImpl.java:
10180 Reformated to match classpath's version more.
10181
10182 2004-03-11 Michael Koch <konqueror@gmx.de>
10183
10184 * gnu/java/awt/peer/ClasspathFontPeer.java:
10185 Fixed javadoc to be correct xhtml.
10186 * gnu/java/awt/peer/gtk/GtkArgList.java
10187 (add): Use Boolean.valueOf() instead of new Boolean().
10188
10189 2004-03-09 Michael Koch <konqueror@gmx.de>
10190
10191 * java/lang/Thread.java
10192 (runnable): Moved around.
10193 (daemon): Renamed from daemon_flag.
10194 (contextClassLoader): Renamed from context_class_loader.
10195 (Thread): Reordered constructors.
10196 (activeCount): Use group directly.
10197 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10198 (holdsLock): Reworked javadoc.
10199 (setDaemon): Reworked.
10200 * java/lang/natThread.cc
10201 (destroy): Removed.
10202
10203 2004-03-08 Anthony Green <green@redhat.com>
10204
10205 * Makefile.am: Build property resource files into libgcj.
10206 * Makefile.in: Rebuilt.
10207 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10208 java/util/regex/PatternSyntaxException.java,
10209 gnu/regexp/CharIndexed.java,
10210 gnu/regexp/CharIndexedCharArray.java,
10211 gnu/regexp/CharIndexedInputStream.java,
10212 gnu/regexp/CharIndexedReader.java,
10213 gnu/regexp/CharIndexedString.java,
10214 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10215 gnu/regexp/REException.java,
10216 gnu/regexp/REFilterInputStream.java,
10217 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10218 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10219 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10220 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10221 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10222 gnu/regexp/RETokenLookAhead.java,
10223 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10224 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10225 gnu/regexp/RETokenStart.java,
10226 gnu/regexp/RETokenWordBoundary.java,
10227 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10228
10229 2004-03-03 Per Bothner <per@bothner.com>
10230
10231 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10232 Optimize when argument is a FileChannelImpl.
10233 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10234 New native methods.
10235 * java/nio/channels/natChannels.cc: New file for new native methods.
10236 * Makefile.am: Update accordingly.
10237
10238 2004-03-02 Jan Hubicka <jh@suse.cz>
10239
10240 * configure.host: Pass -fno-omit-frame-pointer for i386.
10241 * configure.in: Likewise.
10242 * configure: Regenerate.
10243
10244 2004-03-01 Per Bothner <per@bothner.com>
10245
10246 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
10247
10248 2004-02-29 Per Bothner <per@bothner.com>
10249
10250 * java/nio/channels/FileChannelImpl.java: Moved to package
10251 gnu/java/nio/channels, since we need to refer to it from java.io.
10252 * java/nio/channels/natFileChannelImpl.cc: Removed file.
10253 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
10254 from java/nio/channels. Don't depend on FileDescriptor.
10255 (in, out, err): New static fields.
10256 (mode): New field.
10257 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
10258 from FileDescriptor.
10259 (by): Removed MappedByteBuffer field.
10260 (map): New working implementation.
10261 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
10262 some code "ported" from natFileDescriptoPosix.cc.
10263 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
10264 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
10265 * java/io/FileDescriptor.java: Implement on top of FileChannel.
10266 Remove native methods.
10267 * Makefile.am, configure.in: Updated accordingly.
10268
10269 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
10270 (ch): New FileChannelImpl field. Update constructor to match.
10271 (releaseImpl): Remove native method. Instead ...
10272 (release): Call unlock on channel.
10273 * gnu/java/nio/natFileLockImpl.cc: Removed file.
10274
10275 * java/io/natFileDescriptorEcos.cc: Remove file.
10276 * java/io/natFileDescriptorPosix.cc: Remove file.
10277 * java/io/natFileDescriptorWin32.cc: Remove file.
10278 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
10279 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
10280 (<init>(FileChannelImpl)): New package-private constructor.
10281 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
10282 (available, close, read, skip): Implement using FileChannelImpl.
10283 (getFD): Allocate FileDescriptor if needed.
10284 (getChannel): Is now trivial.
10285 * java/io/FileOutputStream.java: Corresponding changes.
10286 * java/io/RandomAccessFile.java: Corresponding changes.
10287
10288 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10289 unmapImpl): New dummy methods, to be overridden by subclass.
10290 (finalize, isLoaded, load, force): New methods.
10291 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
10292 Now works, at least for read mapping.
10293
10294 * java/lang/natPosixProcess.cc (startProcess): Implement standard
10295 streams using FileChannelImpl, not FileDescriptor.
10296 * java/lang/natWin32Process.cc (startProcess): Likewise.
10297
10298 2004-02-28 Michael Koch <konqueror@gmx.de>
10299
10300 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10301 wrong code.
10302
10303 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
10304
10305 * java/io/ObjectInputStream.java
10306 (readClassDescriptor): Keep elements of the mapping non null.
10307 (checkTypeConsistency): New method.
10308 (readFields): Fixed main loop and base logic. Small reindentation.
10309 * java/io/ObjectStreamField.java
10310 (lookupField): New method to update the field reference.
10311 (checkFieldType): New method.
10312 * java/io/ObjectStreamClass.java
10313 (setClass, setFields): Call lookupField when building the field
10314 database. Check the real field type.
10315
10316 2004-02-28 Michael Koch <konqueror@gmx.de>
10317
10318 * java/nio/ByteOrder.java
10319 (nativeOrder): Use equals() to compare strings.
10320
10321 2004-02-26 Michael Koch <konqueror@gmx.de>
10322
10323 * gnu/java/nio/FileLockImpl.java
10324 (finalize): Made protected.
10325 * java/nio/channels/FileChannel.java
10326 (MapMode.READ_ONLY): Made final.
10327 (MapMode.READ_WRITE): Made final.
10328 (MapMode.PRIVATE): Made final.
10329 * java/nio/channels/SocketChannel.java
10330 (open): Simplified code.
10331 * java/nio/channels/spi/AbstractSelectableChannel.java
10332 (registered): Unused, removed.
10333 (keyFor): Check channel is open, only locate key
10334 and not add a new one.
10335 (register): Don't delete attachments.
10336
10337 2004-02-26 Michael Koch <konqueror@gmx.de>
10338
10339 * gnu/java/awt/ComponentDataBlitOp.java
10340 (INSTANCE): Made final.
10341 * gnu/java/awt/image/ImageDecoder.java:
10342 Reworked imports.
10343 (cm): Unused, removed.
10344
10345 2004-02-26 Michael Koch <konqueror@gmx.de>
10346
10347 * gnu/java/nio/DatagramChannelImpl.java
10348 (send): Check if target address is resolved.
10349
10350 2004-02-26 Michael Koch <konqueror@gmx.de>
10351
10352 * Makefile.am: Generate and install headers for inner classes in
10353 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10354 * Makefile.in: Regenerated.
10355
10356 2004-02-24 Anthony Green <green@redhat.com>
10357
10358 * java/lang/StringBuffer.java: No need to NULL out remainder of
10359 buffer since ensureCapacity_unsynchronized will have done this for
10360 us.
10361
10362 2004-02-20 Michael Koch <konqueror@gmx.de>
10363
10364 * gnu/java/net/protocol/jar/Handler.java
10365 (): Removed unneeded check for file != null. java.net.URL.getFile()
10366 returns an empty string but never null.
10367
10368 2004-02-20 Michael Koch <konqueror@gmx.de>
10369
10370 * gnu/gcj/convert/Convert.java
10371 (main): Use equals() to compare strings.
10372
10373 2004-02-20 Michael Koch <konqueror@gmx.de>
10374
10375 * javax/swing/AbstractButton.java: Made several constants final.
10376 (getRolloverSelectedIcon): Made public.
10377 (getSelectedIcon): Made public.
10378
10379 2004-02-16 Per Bothner <per@bothner.com>
10380
10381 * java/nio/CharBufferImpl.java: Inline super constructor.
10382 * java/nio/DoubleBufferImpl.java: Likewise.
10383 * java/nio/FloatBufferImpl.java: Likewise.
10384 * java/nio/IntBufferImpl.java: Likewise.
10385 * java/nio/LongBufferImpl.java: Likewise.
10386 * java/nio/ShortBufferImpl.java: Likewise.
10387 * java/nio/CharBuffer.java: Remove unused constructor.
10388 * java/nio/DoubleBuffer.java: Likewise.
10389 * java/nio/FloatBuffer.java: Likewise.
10390 * java/nio/IntBuffer.java: Likewise.
10391 * java/nio/LongBuffer.java: Likewise.
10392 * java/nio/ShortBuffer.java: Likewise.
10393 * java/nio/CharViewBufferImpl.java: New convenience constructor.
10394 Fix buggy call to super constructor.
10395 * java/nio/DoubleViewBufferImpl.java: Likewise.
10396 * java/nio/FloatViewBufferImpl.java: Likewise.
10397 * java/nio/IntViewBufferImpl.java: Likewise.
10398 * java/nio/LongViewBufferImpl.java: Likewise.
10399 * java/nio/ShortViewBufferImpl.java: Likewise.
10400
10401 * java/nio/ByteBuffer.java (endian): Make non-private so other
10402 java.nio classes can inherit it.
10403 (<init>): Don't bother clearing array_offset.
10404 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
10405 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
10406 Remove redundant test.
10407
10408 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10409 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10410 Use new XxxViewBufferImpl constructors.
10411 * java/nio/MappedByteBufferImpl.java: Likewise.
10412 * java/nio/DirectByteBufferImpl.java: Likewise.
10413
10414 * java/nio/ByteBufferImpl.java: Remove one constructor.
10415 Inline super in remaining constructor.
10416 * java/nio/ByteBuffer.java: Remove unused constructor.
10417
10418 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
10419
10420 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
10421 * java/nio/DirectByteBufferImpl.java (owner): New field.
10422 (offset): Remove unused field.
10423 (<init>): Modify one and add another constructor. Change callers.
10424 (allocateDirect): Removed - not used.
10425 (getImpl, putImpl): Make static and pass address explicitly,
10426 to make them useful for MappedByteBufferImpl.
10427 (get, put): Check for underflow. Modify for new getImpl.
10428 (getImpl): New native method where target is array.
10429 (get(byte[],int,int)): Use the above.
10430 (adjustAddress): New static native method.
10431 (slice, duplicate, asReadOnly): New implementations.
10432 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10433 adjustAddress): New or updated native methods.
10434
10435 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10436
10437 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10438 overflow of fieldmapping.
10439
10440 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10441
10442 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10443
10444 2004-02-14 Per Bothner <per@bothner.com>
10445
10446 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10447 Set closed before calling implCloseChannel, as in the spec.
10448
10449 2004-02-09 Graydon Hoare <graydon@redhat.com>
10450
10451 * javax/swing/ToggleButtonModel.java: Remove dead class.
10452 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10453 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10454 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10455 * Makefile.am: Update for new and removed files.
10456 * Makefile.in: Regenerate.
10457
10458 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10459 * javax/swing/AbstractButton.java
10460 (AbstractButton): Initialize fields correctly in ctor.
10461 * javax/swing/JCheckbox.java
10462 (JCheckBox): Override painting flags.
10463 * javax/swing/DefaultButtonModel.java: Conform to sun.
10464 * javax/swing/JComponent.java (paint): Fill with background color
10465 if available.
10466 (processComponentKeyEvent)
10467 (processFocusEvent)
10468 (processKeyEvent)
10469 (processMouseMotionEvent): Remove event-consuming empty methods.
10470 (getUIClassID): Return "ComponentUI" not "JComponent"
10471 * javax/swing/JFrame.java: Remove some debugging chatter.
10472 (JFrame): Subscribe to window events.
10473 * javax/swing/JRadioButton.java
10474 (JRadioButton): Override painting flags.
10475 * javax/swing/JRootPane.java
10476 (JRootPane): Set background from UIDefaults.
10477 * javax/swing/JToggleButton.java
10478 (ToggleButtonModel): New inner class.
10479 (JToggleButton): Override layout alighment.
10480 * javax/swing/SwingUtilities.java:
10481 (getLocalBounds): Return width and height, not x and y.
10482 (calculateInnerArea): Use local bounds, not bounds.
10483 (layoutCompoundLabel): Provide overridden form.
10484 (layoutCompoundLabel): Correct bugs.
10485 * javax/swing/UIDefaults.java: Correct comment.
10486 * javax/swing/plaf/basic/BasicButtonUI.java:
10487 Move most logic into defaults, external listener.
10488 (paintIcon): Implement icon painting.
10489 (paint): Fix state painting to conform to changes in model.
10490 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10491 Remove most dead/wrong methods.
10492 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10493 * javax/swing/plaf/basic/BasicIconFactory.java:
10494 (DummyIcon): New class.
10495 (getMenuItemCheckIcon)
10496 (getMenuItemArrowIcon)
10497 (getMenuArrowIcon)
10498 (getCheckBoxMenuItemIcon)
10499 (getRadioButtonMenuItemIcon)
10500 (createEmptyFrameIcon): Return DummyIcons, not null.
10501 (getCheckBoxIcon): Implement an icon that looks like sun's.
10502 (getRadioButtonIcon): Implement an icon that looks like sun's.
10503 * javax/swing/plaf/basic/BasicLookAndFeel.java
10504 (initComponentDefaults): Fix impossible values, add some missing.
10505 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10506 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10507 Remove most dead/wrong methods.
10508 (icon): New field.
10509 (getDefaultIcon): New method.
10510 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10511 Remove most dead/wrong methods.
10512 * javax/swing/plaf/metal/MetalLookAndFeel.java
10513 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10515 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10516 Implement "clearing" as drawing, when on pixmap drawables.
10517
10518 * javax/swing/JButton.java (getUIClassID):
10519 * javax/swing/JCheckBox.java (getUIClassID):
10520 * javax/swing/JEditorPane.java (getUIClassID):
10521 * javax/swing/JLabel.java (getUIClassID):
10522 * javax/swing/JList.java (getUIClassID):
10523 * javax/swing/JOptionPane.java (getUIClassID):
10524 * javax/swing/JPanel.java (getUIClassID):
10525 * javax/swing/JPasswordField.java (uiClassID):
10526 * javax/swing/JRadioButton.java (getUIClassID):
10527 * javax/swing/JRootPane.java (getUIClassID):
10528 * javax/swing/JScrollPane.java (getUIClassID):
10529 * javax/swing/JTabbedPane.java (getUIClassID):
10530 * javax/swing/JToggleButton.java (getUIClassID):
10531 * javax/swing/JTree.java (getUIClassID):
10532 * javax/swing/JViewport.java (getUIClassID):
10533 * javax/swing/text/JTextComponent.java (getUIClassID):
10534 Return "fooUI" not "Jfoo"
10535
10536 2004-02-11 Michael Koch <konqueror@gmx.de>
10537
10538 * java/net/DatagramSocket.java
10539 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10540 Boolean object.
10541 (setBroadcast): Likewise.
10542 * java/net/MulticastSocket.java
10543 (setLoopbackMode): Likewise.
10544 * java/net/ServerSocket.java
10545 (setReuseAddress): Likewise.
10546 * java/net/Socket.java
10547 (setTcpNoDelay): Likewise.
10548 (setSoLinger): Likewise.
10549 (setOOBInline): Likewise.
10550 (setKeepAlive): Likewise.
10551 (setReuseAddress): Likewise.
10552 * java/net/URLConnection.java
10553 (setContentHandler): Replace == with equals().
10554 * java/net/URLStreamHandler.java
10555 (hostSEquals): Fix checking host addresses.
10556 (toExternalForm): Dont check protocol for null. We know already its
10557 not null.
10558
10559 2004-02-10 David Jee <djee@redhat.com>
10560
10561 * java/awt/BorderLayout.java
10562 (calcCompSize): Invisible components get zero dimensions.
10563 * java/awt/Button.java
10564 (setLabel): Set actionCommand.
10565 * java/awt/Component.java
10566 (show): Invalidate component and parent container.
10567 (hide): Likewise.
10568
10569 2004-02-10 David Jee <djee@redhat.com>
10570
10571 * java/awt/GridBagLayout.java
10572 (GridBagLayout): New private field, internalcomptable.
10573 (lookupInternalConstraints): New method.
10574 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10575 (GetLayoutInfo): Reimplement.
10576 (calcCellSizes): Ignore rows/columns with size 0.
10577
10578 2004-02-10 Michael Koch <konqueror@gmx.de>
10579
10580 * gnu/java/awt/EmbeddedWindow.java
10581 (setHandle): Use java.awt.Component.getPeer() instead of
10582 java.awt.Component.peer directly.
10583
10584 2004-02-10 David Jee <djee@redhat.com>
10585
10586 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10587 (gtkSetLabel): New native method definition.
10588 (setLabel): Use gtkSetLabel.
10589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10590 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10591
10592 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10593
10594 * include/powerpc-signal.h: Revert 2004-01-21 change.
10595 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10596 from syscall for ppc32 versions.
10597
10598 2004-02-08 Per Bothner <per@bothner.com>
10599
10600 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10601 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10602 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10603 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10604 Pass ByteOrder parameter to most methods, since the underlying
10605 ByteBuffer's order isn't always what we should use.
10606 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10607 * java/nio/DirectByteBufferImpl.java: Likewise.
10608 Use ByteBufferHelper methods.
10609 * java/nio/MappedByteBufferImpl.java: Likewise.
10610 (compact): Use shiftDown.
10611 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10612 (get, put): Use ByteBufferHelper.
10613 (compact): Use new shiftDown method.
10614 (duplicate(boolean)): New helper method.
10615 (duplicate, asReadOnlyBuffer): Use it.
10616 (order): Return endian field.
10617 * java/nio/DoubleViewBufferImpl.java: Likewise.
10618 * java/nio/FloatViewBufferImpl.java: Likewise.
10619 * java/nio/IntViewBufferImpl.java: Likewise.
10620 * java/nio/LongViewBufferImpl.java: Likewise.
10621 * java/nio/ShortViewBufferImpl.java: Likewise.
10622 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10623 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10624 (compact): Re-implement using shiftDown.
10625
10626 2004-02-08 Andreas Jaeger <aj@suse.de>
10627
10628 * include/x86_64-signal.h: Fix typo.
10629
10630 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10631
10632 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10633 qualifier to _regs.
10634 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10635
10636 2004-02-06 Michael Koch <konqueror@gmx.de>
10637
10638 * java/io/ObjectInputStream.java
10639 (currentClassLoader): Reverted to old version of this method.
10640
10641 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10642
10643 * java/io/ObjectInputStream.java: Made all calls
10644 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10645 use cached info from ObjectStreamClass. (readClassDescriptor):
10646 Cache more information in ObjectStreamClass. (processResolution,
10647 readFields): Use cached info from ObjectStreamClass.
10648 (newObject): Throw exception instead of returning null for failure.
10649 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10650 setCharField, setDoubleField, setFloatField, setIntField,
10651 setLongField, setShortField, setObjectField, readObjectParams):
10652 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10653 check.
10654 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10655 (setClass): Added call to cacheMethods() (findMethod): New method.
10656 (cacheMethods): New method. (ObjectStreamClass): Added call to
10657 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10658 AccessController.doPrivileged to invoke setAccessible.
10659 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10660 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10661 New fields.
10662 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10663 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10664 isPrimitive): Made safe for cases where type == null.
10665 (setBooleanField, setByteField, setCharField, setShortField,
10666 setIntField, setLongField, setFloatField, setDoubleField,
10667 setObjectField): New methods.
10668
10669 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10670
10671 * java/awt/Component.java (getFont): Return a default font
10672 instead of null.
10673
10674 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10675 (Scrollbar (int, int, int, int, int)): Make default page
10676 increment 10.
10677 (setValues): Only call peer.setValues if one of the values has
10678 changed.
10679 (generateName): New method.
10680 (getUniqueLong): New method.
10681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10682 (range_scrollbar): Remove structure.
10683 (post_adjustment_event): Remove function.
10684 (post_change_event): Accept jobject argument.
10685 (create): Cast jints to gdoubles. Round scrollbar values to the
10686 nearest integer. Clamp min, max and value settings.
10687 (connectJObject): Connect hook to widget->window.
10688 (connectSignals): Remove range_scrollbar structure variables.
10689 Remove "move-slider" connection. Pass global peer reference to
10690 "value-changed" callback.
10691 (setLineIncrement): Cast jint value to gdouble.
10692 (setPageIncrement): Likewise.
10693 (setValues): Likewise. Clamp min, max and value settings.
10694
10695 2004-02-05 Michael Koch <konqueror@gmx.de>
10696
10697 * javax/swing/AbstractCellEditor.java
10698 (getCellEditorValue): Removed.
10699 * javax/swing/Box.java: Reformated.
10700 (serialVersionUID): New field.
10701 * javax/swing/ButtonGroup.java:
10702 Removed some weird whitespace.
10703 * javax/swing/CellEditor.java: Reformated.
10704 * javax/swing/CellRendererPane.java
10705 (serialVersionUID): New field.
10706 (AccessibleCellRendererPaneserialVersionUID): New field.
10707 * javax/swing/DefaultListModel.java
10708 (serialVersionUID): New field.
10709 * javax/swing/JEditorPane.java
10710 (serialVersionUID): New field.
10711 (setPage): Throws IOException.
10712 (addHyperlinkListener): Implemented.
10713 (removeHyperlinkListener): Implemented.
10714 (getHyperlinkListener): New method.
10715 * javax/swing/JFileChooser.java
10716 (serialVersionUID): New field.
10717 (AccessibleJFileChooser.serialVersionUID): New field.
10718 (addActionListener): Implemented.
10719 (removeActionListener): Implemented.
10720 (getActionListeners): New method.
10721 * javax/swing/JFormattedTextField.java
10722 (serialVersionUID): New field.
10723 (AbstractFormatter.serialVersionUID): New field.
10724 (clone): Throws CloneNotSupportedException
10725 (setEditValid): Add missing argument.
10726 (stringToValue): Throws ParseExcpetion.
10727 (valueToString): Throws ParseException.
10728 (commitEdit): Throws ParseException.
10729 * javax/swing/JLabel.java
10730 (serialVersionUID): New field.
10731 * javax/swing/JList.java
10732 (serialVersionUID): New field.
10733 (addListSelectionListener): Reformated.
10734 (removeListSelectionListener): Reformated.
10735 (getListSelectionListeners): New method.
10736 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10737 Reformated.
10738 (serialVersionUID): New field.
10739 * javax/swing/table/AbstractTableModel.java
10740 (getValueAt): Removed.
10741 (getColumnCount): Removed.
10742 (getRowCount): Removed.
10743
10744 2004-02-05 Michael Koch <konqueror@gmx.de>
10745
10746 * java/awt/datatransfer/DataFlavor.java
10747 (imageFlavor): Javadoc added.
10748 (javaJVMLocalObjectType): Fixed.
10749
10750 2004-02-05 Michael Koch <konqueror@gmx.de>
10751
10752 * java/lang/Thread.java
10753 (Thread): Reordered.
10754 (setContextClassLoader): Fixed javadoc comment.
10755 (setPriority): Reordered.
10756 (yield): Reordered.
10757 (initialize_native): Reordered.
10758 (gen_name): Reordered.
10759
10760 2004-02-05 Michael Koch <konqueror@gmx.de>
10761
10762 * java/lang/Thread.java: Reordered fields, reformated much code,
10763 no functional changes, some variables renamed, javadoc comments
10764 merged.
10765
10766 2004-02-05 Michael Koch <konqueror@gmx.de>
10767
10768 * java/util/zip/Deflater.java,
10769 java/util/zip/DeflaterOutputStream.java,
10770 java/util/zip/GZIPInputStream.java:
10771 Reformated and javadoc comments merged from classpath.
10772
10773 2004-02-05 Michael Koch <konqueror@gmx.de>
10774
10775 * gnu/java/nio/NIOServerSocket.java
10776 (impl): Unused, removed.
10777 * gnu/java/nio/SocketChannelImpl.java
10778 (finnishConnect): Don't throw NoConnectionPendingException if not
10779 connected or no connection pending.
10780
10781 2004-02-02 Graydon Hoare <graydon@redhat.com>
10782
10783 * javax/swing/SwingUtilities.java: Many new functions.
10784 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10785 * javax/swing/basic/BasicGraphicsUtils.java
10786 (getPreferredButtonSize): Start layout from top-left corner.
10787
10788 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10789
10790 * java/awt/geom/AffineTransform.java:
10791 Corrected comments on the field definitions for
10792 m11 and m10.
10793 (shear): Fixed few errors that caused shear
10794 transformation to be performed incorrectly.
10795 (createInverse): Fixed to return correct
10796 inverse of the given matrix.
10797
10798 2004-02-03 Tom Tromey <tromey@redhat.com>
10799
10800 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10801 PATH or LD_LIBRARY_PATH is not set in parent environment.
10802
10803 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10804
10805 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10806 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10807 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10808 java/awt/Component.java, java/awt/Container.java,
10809 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10810 java/awt/LayoutManager2.java, java/awt/List.java,
10811 java/awt/Menu.java, java/awt/MenuBar.java,
10812 java/awt/MenuItem.java, java/awt/Polygon.java,
10813 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10814 java/awt/Scrollbar.java, java/awt/TextArea.java,
10815 java/awt/TextField.java,
10816 java/awt/image/renderable/RenderContext.java,
10817 javax/swing/JApplet.java: Fix handling of alias methods, where a
10818 method has been deprecated in favour of a new one with the same
10819 funtion but a different name. Put the method implementation in
10820 the deprecated method and have the new method call the
10821 deprecated one. Make all other code call the new method.
10822
10823 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10824
10825 * gnu/java/nio/DatagramChannelImpl.java
10826 (inChannelOperation): New field.
10827 (isInChannelOperation): New accessor.
10828 (setInChannelOperation): New modifier.
10829 (receive): Use capacity() - position() of destination
10830 buffer instead of remaining(). Set and reset our "in
10831 channel operation indicator" before and after delegating
10832 the receive to our datagram socket. Removed testing code.
10833 Update destination buffer's current position if it is
10834 backed by a byte array (hasArray() is true).
10835 (send): Set and reset our "in channel operation indicator"
10836 before and after delegating the send to our datagram socket.
10837 Removed testing code. Update source buffer's current position
10838 if it is backed by a byte array (hasArray() is true).
10839 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10840 Use capacity() - position() of destination buffer instead
10841 of remaining().
10842 * java/net/DatagramSocket.java (receive): Don't throw an
10843 IllegalBlockingModeException if we have a non-blocking
10844 channel which initiated this operation.
10845 (send): Likewise.
10846
10847 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10848
10849 * configure.in: Add pkgconfig check for glib and gthread.
10850 * configure: Regenerate.
10851
10852 2004-02-01 Michael Koch <konqueror@gmx.de>
10853
10854 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10855 arguments.
10856 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10857 * verify.cc (debug_print): Mark 'fmt' unused.
10858
10859 2004-01-30 Michael Koch <konqueror@gmx.de>
10860
10861 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10862 * configure: Regenerated.
10863 * glib-2.0.m4: Removed.
10864 * gtk-2.0.m4: Removed.
10865 * libart.m4: Removed.
10866 * pkg.m4: New file.
10867
10868 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10869
10870 * gnu/java/net/PlainSocketImpl.java
10871 (inChannelOperation): New field.
10872 (isInChannelOperation): New accessor.
10873 (setInChannelOperation): New modifier.
10874 * gnu/java/nio/ServerSocketChannelImpl.java
10875 (accept): Set and reset our server socket's PlainSocketImpl's
10876 "in channel operation" indicator before and after delegating
10877 the accept to our server socket.
10878 * gnu/java/nio/SocketChannelImpl.java
10879 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10880 operation" indicator before and after delegating the operation to
10881 our socket.
10882 (read): Likewise.
10883 (write): Likewise.
10884 * java/net/ServerSocket.java (implAccept): Don't throw an
10885 IllegalBlockingModeException if we have a non-blocking
10886 channel which initiated this accept operation.
10887 * java/net/Socket.java (connect): Don't throw an
10888 IllegalBlockingModeException if we have a non-blocking
10889 channel which initiated this connect operation.
10890 * java/nio/channels/spi/AbstractSelectableChannel.java
10891 (configureBlocking): Only call implConfigureBlocking() if
10892 the desired blocking mode is different from our current one.
10893
10894 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10895
10896 * java/io/BufferedReader.java (sbuf): New field.
10897 (readLine): Use String.valueOf instead of new String() as per
10898 Per Bothner's suggestion. Use instance sbuf field instead of a
10899 local StringBuffer instance.
10900 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10901 caller's buffer to refill().
10902 (read(void)): Pass our internal work buffer to refill if our
10903 input queue is empty.
10904 (refill): Changed return type to int. Use the specified buffer
10905 instead of our work buffer as per Bryce McKinlay's suggestion.
10906 Return the number of characters read or -1 for EOF.
10907
10908 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10909
10910 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10911
10912 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10913
10914 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10915 * Makefile.in: Re-generated.
10916 * gnu/awt/xlib/XFontPeer.java: New file.
10917 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10918 (setClip): Commented out debug printout.
10919 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10920 (getFontPeer): Return XFontPeer.
10921 (getLocalGraphicsEnvironment): New method.
10922 (getClasspathFontPeer): New method.
10923 (createFont): New method.
10924
10925 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10926
10927 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10928 return null.
10929
10930 2004-01-29 Kim Ho <kho@redhat.com>
10931
10932 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10933 (gtkLayoutSetVisible): New method
10934 (setMenuBar): Hide layout before setting MenuBar
10935 and reshow it after.
10936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10937 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10938
10939 2004-01-28 Michael Koch <konqueror@gmx.de>
10940
10941 * gnu/java/lang/ClassHelper.java
10942 (getPackagePortion): Removed.
10943
10944 2004-01-28 Michael Koch <konqueror@gmx.de>
10945
10946 * javax/swing/JComponent.java
10947 (listenerList): Initalize globally.
10948 (ancestor_list): Removed.
10949 (veto_list): Removed.
10950 (change_list): Removed.
10951 (get_veto_list): Removed.
10952 (get_change_list): Removed.
10953 (get_ancestor_list): Removed.
10954 (removeAncestorListener): Reimplemented.
10955 (removePropertyChangeListener): Likewise.
10956 (removeVetoableChangeListener): Likewise.
10957 (addAncestorListener): Likewise.
10958 (addPropertyChangeListener): Likewise.
10959 (addVetoableChangeListener): Likewise.
10960 (getListeners): New method.
10961 (getAncestorListeners): Likewise.
10962 (getVetoableChangeListeners): Likewise.
10963 (fireVetoableChange): Throws PropertyVetoException.
10964 * javax/swing/JEditorPane.java
10965 (JEditorPane): Throws IOException.
10966
10967 2004-01-28 David Jee <djee@redhat.com>
10968
10969 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10970 (create): Set the default foreground color to
10971 java.awt.SystemColor.windowText.
10972
10973 2004-01-27 Michael Koch <konqueror@gmx.de>
10974
10975 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10976 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10977 Reindented to merge with classpath.
10978
10979 2004-01-27 David Jee <djee@redhat.com>
10980
10981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10982 (addExposeFilter): Handle GtkFramePeer separately.
10983 (removeExposeFilter): Likewise.
10984
10985 2004-01-27 Michael Koch <konqueror@gmx.de>
10986
10987 * gnu/java/net/protocol/http/Connection.java
10988 (getOutputStream): Fixed typo.
10989
10990 2004-01-27 Michael Koch <konqueror@gmx.de>
10991
10992 * java/lang/Class.java
10993 (getConstructor): Removed SecurityException from throws clause.
10994 (_getConstructors): Likewise.
10995 (getConstructors): Likewise.
10996 (getDeclaredConstructor): Likewise.
10997 (getDeclaredClasses): Likewise.
10998 (getDeclaredConstructors): Likewise.
10999 (getDeclaredField): Likewise.
11000 (getDeclaredMethod): Likewise.
11001 (getDeclaredMethods): Likewise.
11002 (getField): Likewise.
11003 (getMethod): Likewise.
11004 (getMethods): Likewise.
11005
11006 2004-01-27 Kim Ho <kho@redhat.com>
11007
11008 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11009 (removeMenuBarPeer): Remove MenuBarPeer argument.
11010 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11011 (dispose): Call native method.
11012 * java/awt/Frame.java (setMenuBar): Create and remove
11013 MenuBar peers only if the Frame has a peer.
11014 (addNotify): Create the MenuBar peer if one exists.
11015 (removeNotify): Remove MenuBar peer if one exists.
11016 * java/awt/Menu.java: Fix imports.
11017 (addNotify): Don't use full class name.
11018 (removeNotify): Call removeNotify on all children.
11019 * java/awt/MenuBar.java (removeNotify): Call
11020 removeNotify on all children.
11021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11022 (removeMenuBarPeer): Remove MenuBarPeer argument.
11023 Iterate through children to find the Frame's MenuBar.
11024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11025 New file.
11026 (dispose): Remove references to the MenuComponent.
11027
11028 2004-01-27 Michael Koch <konqueror@gmx.de>
11029
11030 * javax/swing/AbstractCellEditor.java: Reformated.
11031 * javax/swing/DefaultListSelectionModel.java
11032 (listenerList): Made protected.
11033 (addListSelectionListener): Javadoc added.
11034 (removeListSelectionListener): Likewise.
11035 (getListeners): Likewise.
11036 (getListSelectionListeners): Likewise.
11037 * javax/swing/JComboBox.java: Merged copyright year.
11038 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11039
11040 2004-01-26 Andrew Haley <aph@redhat.com>
11041
11042 * javax/swing/table/JTableHeader.java: Extend JComponent
11043
11044 2004-01-26 Kim Ho <kho@redhat.com>
11045
11046 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11047 Fix spacing.
11048
11049 2004-01-26 Kim Ho <kho@redhat.com>
11050
11051 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11052 method.
11053 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11054 height and let the Layout Managers readjust anything that
11055 needs to move.
11056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11057 (moveLayout): New method. Shift everything in the Gtk
11058 layout in the Y direction by an offset.
11059
11060 2004-01-26 David Jee <djee@redhat.com>
11061
11062 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11063 (handleEvent): Implemented. Handles PaintEvents.
11064 (paint): Implemented. Use GTK native methods to queue updates
11065 for this heavyweight peer.
11066 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11067 (handleEvent): Removed.
11068 * java/awt/Component.java
11069 (paint): Implemented. Explictly paint the heavyweight peer.
11070 (update): Clear the background for heavyweight components.
11071 (paintAll): No need to call peer.paint() anymore.
11072 (processEvent): Don't process PaintEvents here. It's now done in
11073 the peer's handleEvent().
11074 (processPaintEvent): Removed.
11075 * java/awt/Container.java
11076 (paint): No need to call super.paint(). Visit heavyweight
11077 children as well.
11078 (update): Don't clear the background here. It's done in
11079 Component.update().
11080 (visitChildren): Added check to not recurse into Containers.
11081 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11082 (filter_expose_event_handler): New method. Filter unwanted
11083 expose events while painting heavyweight peers.
11084 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11085 New method. Connect filter and block pre_event_handler.
11086 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11087 New method. Disconnect filter and unblock pre_event_handler.
11088 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11089 New method. Invalidate and update given area.
11090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11091 (pre_event_handler): Add checks for unwanted expose events.
11092
11093 2004-01-26 David Jee <djee@redhat.com>
11094
11095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11096 (find_bg_color_widget): For GtkButton, return its child.
11097
11098 2004-01-26 Kim Ho <kho@redhat.com>
11099
11100 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11101 private.
11102 (setMenuBar): Grab MenuBar height and change insets.
11103 (setBounds): Account for MenuBar height.
11104 (postInsetsChangedEvent): Ditto.
11105 (postSizeAllocateEvent): Remove.
11106 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11107 (menubar_resize_cb): Remove
11108 (setMenuBarPeer): Remove callback.
11109 (getMenuBarHeight): Use size requisition instead of
11110 allocation.
11111
11112 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11113
11114 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
11115 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11116 when peer is null.
11117 (setColumns): Remove FIXME -- peer will retrieve number of
11118 columns by calling getColumns.
11119 (setRows): Likewise for number of rows.
11120 (next_text_number): New field.
11121 (paramString): Fix param string.
11122 (generateName): New method.
11123 (getUniqueLong): New method.
11124
11125 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11126
11127 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11128 image observer of image loading status.
11129 (getImage (String)): Start image production.
11130 (getImage (URL)): Likewise.
11131
11132 2004-01-25 Michael Koch <konqueror@gmx.de>
11133
11134 * java/lang/Class.java: Imports reworked, reformated.
11135 (Class): Javadoc added.
11136 (forName): Likewise.
11137 (getClasses): Likewise.
11138 (getClassLoader): Likewise.
11139 (getComponentType): Likewise.
11140 (getConstructor): Likewise.
11141 (getConstructors): Likewise.
11142 (getDeclaredConstructor): Likewise.
11143 (getDeclaredClasses): Likewise.
11144 (getDeclaredConstructors): Likewise.
11145 (getDeclaredField): Likewise.
11146 (getDeclaredMethod): Likewise.
11147 (getDeclaredMethods): Likewise.
11148 (getDeclaringClass): Likewise.
11149 (getField): Likewise.
11150 (getInterfaces): Likewise.
11151 (getMethod): Likewise.
11152 (getMethods): Likewise.
11153 (getModifiers): Likewise.
11154 (getName): Likewise.
11155 (getResource): Likewise.
11156 (getResourceAsStream): Likewise.
11157 (getSigners): Likewise.
11158 (setSigners): Likewise.
11159 (getSuperclass): Likewise.
11160 (isArray): Likewise.
11161 (isAssignableFrom): Likewise.
11162 (isInstance): Likewise.
11163 (isInterface): Likewise.
11164 (isPrimitive): Likewise.
11165 (newInstance): Likewise.
11166 (getProtectionDomain): Likewise.
11167 (toString): Likewise.
11168 (Class): Moved.
11169 (initializeClass): Likewise.
11170 (finalize): Likewise.
11171
11172 2004-01-24 Michael Koch <konqueror@gmx.de>
11173
11174 * gnu/java/net/protocol/jar/Connection.java
11175 (hdrHash): Removed.
11176 (hdrVec): Removed.
11177 (gotHeaders): Removed.
11178 (getHeaderField): Removed.
11179 (getHeaderFields): Removed.
11180 (getHeaderFieldKey): Removed.
11181 (getKey): Removed.
11182 (getField): Removed.
11183 (getHeaders): Removed.
11184
11185 2004-01-24 Michael Koch <konqueror@gmx.de>
11186
11187 * Makefile.am: Added library version to gtk peer lib.
11188 * Makefile.in: Regenerated.
11189
11190 2004-01-24 Michael Koch <konqueror@gmx.de>
11191
11192 * java/util/zip/InflaterInputStream.java: Merged class documentation
11193 with classpath.
11194
11195 2004-01-21 Jakub Jelinek <jakub@redhat.com>
11196
11197 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11198 header. For __powerpc64__ provide the default-signal.h definitions
11199 for now.
11200 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11201 instead of the dummy definitions.
11202 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11203 (powerpc64*-*): Remove with_libffi_default.
11204 Only add -mminimal-toc for 64-bit compilations.
11205 * configure.in: Use powerpc-signal.h on powerpc64 as well.
11206 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11207 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11208 * configure: Rebuilt.
11209
11210 2004-01-23 Michael Koch <konqueror@gmx.de>
11211
11212 * gnu/java/nio/FileLockImpl.java: Compile fixes.
11213
11214 2004-01-23 Michael Koch <konqueror@gmx.de>
11215
11216 * java/lang/VMClassLoader.java: Reworked imports.
11217
11218 2004-01-23 Michael Koch <konqueror@gmx.de>
11219
11220 * javax/swing/AbstractAction.java: Reformated.
11221
11222 2004-01-23 Michael Koch <konqueror@gmx.de>
11223
11224 * java/text/CollationElementIterator.java:
11225 (setText): New method.
11226
11227 2004-01-23 Michael Koch <konqueror@gmx.de>
11228
11229 * gnu/java/nio/FileLockImpl.java:
11230 Fixed filename in copyright.
11231 (released): Removed.
11232 (finalize): New method.
11233 * gnu/java/nio/natFileLockImpl.cc
11234 (releaseImpl): Implemented.
11235 * java/nio/channels/FileChannelImpl.java:
11236 Reworked imports.
11237 (lock): Implemented.
11238 (lockImpl): New method.
11239 (tryLock): Implemented.
11240 (tryLockImpl): New method.
11241 * java/nio/channels/natFileChannelImpl.cc
11242 (lockImpl): New method.
11243 (tryLockImpl): New method.
11244
11245 2004-01-23 Michael Koch <konqueror@gmx.de>
11246
11247 * java/io/FileDescriptor.java
11248 (lock): New method.
11249 (tryLock): New method.
11250 (unlock): New method.
11251 * java/io/natFileDescriptorEcos.cc
11252 (lock): New method.
11253 (tryLock): New method.
11254 (unlock): New method.
11255 * java/io/natFileDescriptorPosix.cc
11256 (lock): New method.
11257 (tryLock): New method.
11258 (unlock): New method.
11259 * java/io/natFileDescriptorWin32.cc
11260 (lock): New method.
11261 (tryLock): New method.
11262 (unlock): New method.
11263
11264 2004-01-23 Michael Koch <konqueror@gmx.de>
11265
11266 * java/io/FileDescriptor.java
11267 (sync): Moved around, added javadoc.
11268 (valid): Likewise.
11269 (open): Likewise.
11270 (write): Likewise.
11271 (close): Likewise.
11272 (setLength): Likewise.
11273 (seek): Likewise.
11274 (getLength): Likewise.
11275 (getFilePointer): Likewise.
11276 (read): Likewise.
11277 (available): Likewise.
11278 (finalize): Likewise.
11279
11280 2004-01-23 Michael Koch <konqueror@gmx.de>
11281
11282 * javax/swing/AbstractAction.java: Reformated.
11283 (getPropertyChangeListeners): New method.
11284 * javax/swing/AbstractCellEditor.java: Reformated.
11285 (getCellEditorListeners): New method.
11286 * javax/swing/DefaultListSelectionModel.java
11287 (listenerList): New field.
11288 (listeners): Removed.
11289 (get_listeners): Removed.
11290 (addListSelectionListener): Rewritten.
11291 (removeListSelectionListener): Rewritten.
11292 (getListSelectionListeners): New method.
11293 (getListeners): New method.
11294 * javax/swing/JComboBox.java: Imports reworked.
11295 (addActionListener): Implemented.
11296 (removeActionListener): Implemented.
11297 (addItemListener): Implemented.
11298 (removeItemListener): Implemented.
11299 (addPopupMenuListener): Implemented.
11300 (removePopupMenuListener): Implemented.
11301 (getActionListeners): New method.
11302 (getItemListeners): New method.
11303 (getPopupMenuListeners): New method.
11304
11305 2004-01-23 Michael Koch <konqueror@gmx.de>
11306
11307 * gnu/java/net/protocol/http/Connection.java
11308 (connect): Don't initialize bufferedOutputStream if not needed.
11309 (sendRequest): Set property for content length if content is present.
11310 Write content only if present.
11311 (getOutputStream): Check if already connected, dont connect,
11312 initalize bufferedOutputStream if needed.
11313
11314 2004-01-23 Michael Koch <konqueror@gmx.de>
11315
11316 * java/io/FileDescriptor.java
11317 (in, out, err): Added javadoc.
11318 (static): Merged loading code.
11319 (fd, position): Moved around.
11320
11321 2004-01-23 Michael Koch <konqueror@gmx.de>
11322
11323 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11324 New file.
11325
11326 2004-01-23 Michael Koch <konqueror@gmx.de>
11327
11328 * java/lang/Class.java,
11329 java/lang/Object.java,
11330 java/lang/Thread.java: Merged copyright with classpath.
11331
11332 2004-01-23 Michael Koch <konqueror@gmx.de>
11333
11334 * java/io/FileDescriptor.java: Merged copyright with classpath to
11335 start merging this class.
11336
11337 2004-01-22 Tom Tromey <tromey@redhat.com>
11338
11339 PR libgcj/13107:
11340 * testsuite/libjava.lang/pr13107_2.xfail: New file.
11341 * testsuite/libjava.lang/pr13107_3.xfail: New file.
11342 * testsuite/libjava.lang/pr13107_3.java: New file.
11343 * testsuite/libjava.lang/pr13107_3.out: New file.
11344 * testsuite/libjava.lang/pr13107_2.java: New file.
11345 * testsuite/libjava.lang/pr13107_2.out: New file.
11346 * testsuite/libjava.lang/pr13107.java: New file.
11347 * testsuite/libjava.lang/pr13107.out: New file.
11348 * verify.cc (jsr_ptrs): Removed.
11349 (entry_points): Likewise.
11350 (struct subr_info): Likewise.
11351 (struct subr_entry_info): Likewise.
11352 (type_val::unused_by_subroutine_type): Likewise.
11353 (type::merge): Don't handle unused_by_subroutine_type.
11354 (type::print): Likewise.
11355 (state::flags): Removed.
11356 (state::subroutine): Likewise.
11357 (state::seen_subrs): Likewise.
11358 (state::NO_STACK): Likewise.
11359 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11360 (state): Updated all methods.
11361 (state::clean_subrs): Removed.
11362 (state::state): Removed `ret_semantics' flag.
11363 (state::copy): Likewise.
11364 (state::add_subr): Removed.
11365 (state::enter_subroutine): Likewise.
11366 (type::set_return_address): New method.
11367 (handle_jsr_insn): Set return address on the type. Always
11368 invalidate PC after call.
11369 (check_nonrecursive_call): Removed.
11370 (~_Jv_BytecodeVerifier): Updated.
11371 (branch_prepass): Removed special handling of jsr.
11372 (note_branch_target): Likewise.
11373 (get_subroutine): Removed.
11374 (state::merge): Don't merge subroutines and don't handle
11375 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
11376 (state::note_variable): Removed.
11377 (state::is_unmerged_ret_state): Likewise.
11378 (state::print): Updated.
11379 (set_variable): Likewise.
11380 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
11381 and jsr_semantics arguments. Updated for new reverification
11382 list.
11383 (pop_jump): Rewrote.
11384 (construct_primitive_array_type): Updated.
11385 (state::next): Removed.
11386 (INVALID_STATE): New define.
11387 (state::INVALID): Removed.
11388 (state::NO_NEXT): New value.
11389 (state::pc, state::next): New fields.
11390 (state::get_pc): New method.
11391 (next_verify_pc): Removed.
11392 (next_verify_state): New field.
11393 (verify_instructions_0): Always check for falling off end.
11394 (linked): New type.
11395 (linked_utf8): Removed.
11396 (states): Changed type.
11397 (type::state_mergeable_p): New method.
11398 (state::state_mergeable_p): Likewise.
11399 (handle_ret_insn): Removed most code.
11400 (state::reverify): New method.
11401 (add_new_state): Likewise.
11402 (state::set_pc): Likewise.
11403
11404 2004-01-22 Jeff Sturm <jsturm@one-point.com>
11405
11406 PR java/13733
11407 * testsuite/libjava.compile/PR13733.java: New file.
11408 * testsuite/libjava.compile/PR13733.xfail: New file.
11409
11410 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
11411 Michael Koch <konqueror@gmx.de>
11412
11413 * javax/swing/table/DefaultTableCellRenderer.java
11414 (DefaultTableCellRenderer): Added javadoc for the class and for
11415 the constructor, Border instance, create an EmptyBorder.
11416 (UIResource): Removed the comment at the end of the class
11417 (setForeground): New method.
11418 (setBackground): New method.
11419 (updateUI): New method.
11420 (getTableCellRendererComponent): Rewritten with the help of
11421 dvholten and Stephane Meslin-Weber.
11422 (validate): New method.
11423 (repaint): New method.
11424 (firePropertyChange): New method.
11425 (setValue): New method.
11426
11427 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11428
11429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11430 (connectJObject): Replace printf calls with g_assert statements.
11431 Move property-notify-event signal connection to ...
11432 (connectSignals): Connect property-notify-event signal. Iterate
11433 through the vbox's children to find layout.
11434
11435 2004-01-22 Graydon Hoare <graydon@redhat.com>
11436
11437 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11438 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11439 Predicate static initialization on GtkToolkit.useGraphics2D().
11440 * java/awt/Component.java (processPaintEvent): Consume event.
11441 * javax/swing/AbstractButton.java: Reimplement, document.
11442 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11443 * javax/swing/JComponent.java (paint): Use double buffer.
11444 (listenerList): Enable member.
11445 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11446 * javax/swing/JToggleButton.java
11447 (JToggleButton): Modify model constructor.
11448 * javax/swing/SwingUtilities.java
11449 (layoutCompoundLabel): Adjust arithmetic.
11450 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11451 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11452 (getPreferredButtonSize): Include margins in calculation.
11453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11454 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11455 Receive up events from subordinate layout component.
11456
11457 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11458
11459 * java/awt/Component.java (show): Set visible to true before
11460 showing the peer.
11461
11462 2004-01-21 Kim Ho <kho@redhat.com>
11463
11464 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11465 Fix comments.
11466 (removeMenuBarPeer): Make package private.
11467 (setMenuBarPeer): Make package private.
11468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11469 (menubar_resize_cb): Mark attributes unused.
11470 (getMenuBarHeight): ditto.
11471
11472 2004-01-21 David Jee <djee@redhat.com>
11473
11474 * java/awt/Container.java
11475 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11476 dispatching MOUSE_ENTERED event twice. Translate the point for
11477 the mouse event target before dispatching the event.
11478
11479 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11480
11481 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11482 lib_org_w3c_dom_la_LDFLAGS): New.
11483 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11484 * Makefile.in: Rebuilt.
11485
11486 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11487
11488 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11489 Calculate proper offsets for heavyweight components packed in
11490 lightweight containers.
11491
11492 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11493 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11494 (native create): Add width parameter.
11495 (create): Calculate text entry width based on current font's
11496 metrics and number of columns. Set TextField's font if not
11497 already set. Call native create.
11498 (gtkEntryGetBorderWidth): New native method.
11499 (gtkEntryGetSize): Remove method.
11500 (getMinimumSize): Call minimumSize.
11501 (getPreferredSize): Call preferredSize.
11502 (minimumSize): Calculate minimum size based on backing
11503 GtkEntry's borders, font metrics and number of columns.
11504 (preferredSize): Likewise for preferred size.
11505 (get_border_width): New static function.
11506
11507 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11508 Override GtkWindowPeer's setResizable method to account for menu
11509 bar height when setting the frame's size.
11510
11511 2004-01-19 Matthias Klose <doko@debian.org>
11512
11513 * libtool-version: Increased `current' to 6.
11514
11515 2004-01-19 Kim Ho <kho@redhat.com>
11516
11517 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11518 (connectJObject): Iterate through the vbox's children to find layout.
11519
11520 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11521
11522 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11523 isDispatchThread method to replace wrong test condition.
11524
11525 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11526
11527 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11528 events to the queue out of order by acquiring locks in the proper
11529 order and not by releasing one before acquiring the other.
11530
11531 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11532
11533 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11534 visible so that dialog can be reused.
11535
11536 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11537
11538 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11539 events may be handled by any queue in the stack.
11540
11541 2004-01-19 Kim Ho <kho@redhat.com>
11542
11543 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11544 MenuBarPeer parameter.
11545 (removeMenuBarPeer): New native method.
11546 (setMenuBar): Call remove if menu bar is null. Adjust insets
11547 appropriately.
11548 (postSizeAllocateEvent): New method. Called when menu bar size is
11549 allocated. Adjust insets and redo layout.
11550 (GtkFramePeer): Set menu bar during frame creation.
11551 (postConfigureEvent): Adjust position and size to accomodate
11552 menu bar.
11553 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11554 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11555 (addNotify): Create the peer if it doesn't exist and call addNotify
11556 for the menu's items.
11557 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11558 * java/awt/MenuItem.java (addNotify): Create the peer if it
11559 doesn't exist.
11560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11561 (removeMenuBarPeer): New method. Remove menu bar on the current
11562 frame.
11563 (setMenuBarPeer): Add the menu bar to the current frame and the
11564 callback for size-allocate events on the menu bar.
11565 (getMenuBarHeight): Add menu bar parameter.
11566 (menubar_resize_cb): New callback method for postSizeAllocate events.
11567
11568 Also: Fix indentation on last ChangeLog entry.
11569
11570 2004-01-16 Kim Ho <kho@redhat.com>
11571
11572 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11573 (gtkWidgetGetDimensions): Remove.
11574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11575 (gtkWidgetGetDimensions): Remove.
11576
11577 2004-01-16 Tom Tromey <tromey@redhat.com>
11578
11579 * java/awt/Container.java: Typo and indentation fixes.
11580
11581 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11582 * java/lang/natVMClassLoader.cc: ...here. New file.
11583 * Makefile.in: Rebuilt.
11584 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11585
11586 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11587
11588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11589 Discard GDK_ENTER_NOTIFY related to ungrabs.
11590
11591 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11592
11593 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11594 is called for an intermediate queue.
11595
11596 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11597
11598 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11599 (window_property_changed_cb): Set id_set.
11600
11601 2004-01-16 Kim Ho <kho@redhat.com>
11602
11603 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11604 it is a FileDialog and has dimensions of 0 by 0, then the initial
11605 size is set to size request plus insets.
11606 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11607 (gtkWidgetGetDimensions): Override method.
11608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11609 (gtkWidgetGetDimensions): Override method. Returns size request plus
11610 insets.
11611
11612 2004-01-16 Andrew Haley <aph@redhat.com>
11613
11614 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11615 * sysdep/i386/locks.h: Likewise.
11616
11617 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11618
11619 * java/awt/EventDispatchThread.java (run): Stop running when
11620 interrupted.
11621 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11622 Reset the queue after transferring its contents.
11623 (push): Start a new dispatch thread if none is running.
11624
11625 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11626
11627 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11628 (doPolygon): set fill rule of polygon to
11629 WIND_EVEN_ODD by default.
11630
11631 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11632
11633 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11634 Implemented rendering hints related methods.
11635 (getDefaultHints): New helper method. Returns
11636 default rendering hints.
11637 (walkPath): changed to normalize path if
11638 the KEY_STROKE_CONTROL key is in "normalize" mode.
11639 (draw3DRect): changed coordinates of rectangle by +0.5
11640 if in "normalize" mode.
11641
11642 2004-01-15 Tom Tromey <tromey@redhat.com>
11643
11644 * Makefile.in: Rebuilt.
11645 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11646 (%.lo: %.java) Filter out StackTrace.lo.
11647
11648 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11649
11650 * configure.in: Add in AC_PREREQ(2.13)
11651 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11652 FIXME comment.
11653
11654 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11655 Tom Tromey <tromey@redhat.com>
11656
11657 PR libgcj/12001:
11658 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11659 array to superclass.
11660 (init): Changed interface; add URLs here.
11661 (initialize): New static method.
11662 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11663 (_Jv_RunMain): ... not here.
11664
11665 2004-01-14 Michael Koch <konqueror@gmx.de>
11666
11667 * java/text/MessageFormat.java:
11668 Added descriptions to exceptions.
11669 This fixes PR libgcj/2429.
11670
11671 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11672
11673 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11674 (push): Make sure push is performed at the top of the thread stack.
11675
11676 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11677
11678 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11679 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11680 (native create): Add width and height parameters. Set text
11681 view's size request according to new parameters.
11682 (create): Calculate text view size based on current font's
11683 metrics and number of rows and columns. Set TextArea's font if
11684 not already set. Call native create.
11685 (getMinimumSize): Call minimumSize.
11686 (getPreferredSize): Call preferredSize.
11687 (getHScrollbarHeight): New method.
11688 (getVScrollbarWidth): New method.
11689 (minimumSize): Calculate minimum size based on scrollbar
11690 visibility, scrollbar sizes, font metrics and number of rows and
11691 columns.
11692 (preferredSize): Likewise for preferred size.
11693 (gtkTextGetSize): Remove method.
11694
11695 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11696
11697 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11698 (initializeInsets): Remove method.
11699 (GtkComponentPeer): Initialize insets field. Remove call to
11700 initializeInsets.
11701 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11702 Remove method.
11703 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11704 Remove method.
11705 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11706 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11707 (latestInsets): Remove field.
11708 (native create): Add insets parameter. Call
11709 window_get_frame_extents. Set the window's default size and
11710 size request based on its frame extents.
11711 (create): Initialize insets.
11712 (postInsetsChangedEvent): New method.
11713 (postConfigureEvent): Remove parameters top, left, bottom,
11714 right. Remove insets-related logic.
11715 (connectJObject): Handle property-notify-event.
11716 (window_get_frame_extents, request_frame_extents,
11717 property_notify_predicate, window_property_changed_cb): New
11718 static functions.
11719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11720 (pre_event_handler): Remove insets-related logic for configure
11721 events.
11722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11723 Update postConfigureEvent signature.
11724
11725 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11726
11727 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11728 to handle Window "Closing" events.
11729
11730 2004-01-13  David Jee  <djee@redhat.com>
11731
11732 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11733 (setBackground): New method. Children with no explicitly-set
11734 background will be repainted with the parent container's new
11735 background color.
11736
11737 2004-01-13  David Jee  <djee@redhat.com>
11738
11739 * Makefile.am: Add BitwiseXORComposite.java.
11740 * Makefile.in: Regenerated.
11741 * gcj/Makefile.in: Regenerated.
11742 * include/Makefile.in: Regenerated.
11743 * testsuite/Makefile.in: Regenerated.
11744
11745 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11746
11747 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11748 not show modal dialogs twice and so that it allows showing a modal
11749 dialog from another modal dialog.
11750
11751 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11752
11753 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11754 and run secondary dispatch thread to process event queue while this
11755 thread is blocked.
11756
11757 2004-01-12 Graydon Hoare <graydon@redhat.com>
11758
11759 * gnu/java/awt/gtk/GdkGraphics2D.java
11760 (static): Check GtkToolkit before initializing static state.
11761 (Graphics2D): Don't construct transform with 0.5 unit offset.
11762
11763 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11764
11765 * gnu/java/awt/BitwiseXORComposite.java: Add.
11766 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11767 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11768 (BitwiseXORComposite): Remove inner class.
11769
11770 2004-01-11 Michael Koch <konqueror@gmx.de>
11771
11772 * gnu/java/lang/reflect/TypeSignature.java
11773 (getEncodingOfClass): Documentation fixed.
11774 (getClassForEncoding): Give class loader to Class.forName().
11775 Documentation fixed.
11776
11777 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11778
11779 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11780
11781 2004-01-11 Michael Koch <konqueror@gmx.de>
11782
11783 * javax/swing/undo/StateEditable.java
11784 (RCSID): Removed redundant modifiers.
11785
11786 2004-01-10 Michael Koch <konqueror@gmx.de>
11787
11788 * javax/print/attribute/EnumSyntax.java
11789 (getStringTable): Made protected.
11790 (getEnumValueTable): Likewise.
11791 * javax/print/attribute/standard/JobKOctetsProcessed.java
11792 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11793 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11794 (JobMediaSheetsCompleted): Made class final.
11795 * javax/print/attribute/standard/OutputDeviceAssigned.java
11796 (getName): Fixed typo.
11797 * javax/print/attribute/standard/RequestingUserName.java
11798 (serialVersionUID): Fixed value.
11799
11800 2004-01-10 Michael Koch <konqueror@gmx.de>
11801
11802 * javax/swing/plaf/basic/BasicButtonUI.java,
11803 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11804 javax/swing/plaf/basic/BasicListUI.java,
11805 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11806 javax/swing/plaf/basic/BasicPanelUI.java,
11807 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11808 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11809 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11810 javax/swing/plaf/basic/BasicViewportUI.java:
11811 Fixed import statements.
11812
11813 2004-01-10 Michael Koch <konqueror@gmx.de>
11814
11815 * gnu/java/awt/image/ImageDecoder.java
11816 (produce): Made public.
11817 * gnu/java/awt/peer/GLightweightPeer.java,
11818 gnu/java/awt/peer/gtk/GtkToolkit.java:
11819 Reformated.
11820
11821 2004-01-10 Michael Koch <konqueror@gmx.de>
11822
11823 * javax/swing/JRadioButtonMenuItem.java,
11824 javax/swing/JSeparator.java,
11825 javax/swing/JSplitPane.java,
11826 javax/swing/JTextPane.java,
11827 javax/swing/JToolBar.java,
11828 javax/swing/ListCellRenderer.java,
11829 javax/swing/ListModel.java,
11830 javax/swing/MenuElement.java,
11831 javax/swing/OverlayLayout.java,
11832 javax/swing/ProgressMonitor.java,
11833 javax/swing/ProgressMonitorInputStream.java,
11834 javax/swing/Renderer.java,
11835 javax/swing/RootPaneContainer.java,
11836 javax/swing/Scrollable.java,
11837 javax/swing/SingleSelectionModel.java,
11838 javax/swing/ToolTipManager.java,
11839 javax/swing/ViewportLayout.java,
11840 javax/swing/event/DocumentEvent.java,
11841 javax/swing/event/SwingPropertyChangeSupport.java,
11842 javax/swing/event/TreeSelectionEvent.java,
11843 javax/swing/event/UndoableEditEvent.java,
11844 javax/swing/text/AbstractDocument.java,
11845 javax/swing/text/AttributeSet.java,
11846 javax/swing/text/Caret.java,
11847 javax/swing/text/ComponentView.java,
11848 javax/swing/text/DefaultCaret.java,
11849 javax/swing/text/DefaultEditorKit.java,
11850 javax/swing/text/Document.java,
11851 javax/swing/text/EditorKit.java,
11852 javax/swing/text/GapContent.java,
11853 javax/swing/text/Keymap.java,
11854 javax/swing/text/MutableAttributeSet.java,
11855 javax/swing/text/PlainEditorKit.java,
11856 javax/swing/text/Segment.java,
11857 javax/swing/text/Style.java,
11858 javax/swing/text/StyledDocument.java,
11859 javax/swing/text/StyledEditorKit.java,
11860 javax/swing/text/TextAction.java,
11861 javax/swing/text/View.java: Fixed import statements.
11862
11863 2004-01-08 Graydon Hoare <graydon@redhat.com>
11864
11865 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11866 djee@redhat.com's recent inverse ordering of Container elements.
11867
11868 2004-01-09 Michael Koch <konqueror@gmx.de>
11869
11870 * gnu/java/lang/ArrayHelper.java
11871 (equalsArray): Removed.
11872
11873 2004-01-09 Andrew Haley <aph@redhat.com>
11874
11875 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11876 a Utf8Const field before looking at its class.
11877
11878 2004-01-09 Michael Koch <konqueror@gmx.de>
11879
11880 * javax/print/attribute/standard/DocumentName.java,
11881 javax/print/attribute/standard/JobHoldUntil.java,
11882 javax/print/attribute/standard/JobMessageFromOperator.java,
11883 javax/print/attribute/standard/JobName.java,
11884 javax/print/attribute/standard/JobOriginatingUserName.java,
11885 javax/print/attribute/standard/OutputDeviceAssigned.java,
11886 javax/print/attribute/standard/PrinterInfo.java,
11887 javax/print/attribute/standard/PrinterLocation.java,
11888 javax/print/attribute/standard/PrinterMakeAndModel.java,
11889 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11890 javax/print/attribute/standard/PrinterName.java,
11891 javax/print/attribute/standard/RequestingUserName.java: New files.
11892 * Makefile.am (javax_source_files): Added new files.
11893 * Makefile.in: Regenerated.
11894
11895 2004-01-09 Michael Koch <konqueror@gmx.de>
11896
11897 * javax/swing/AbstractAction.java,
11898 javax/swing/AbstractSet.java,
11899 javax/swing/Action.java,
11900 javax/swing/ActionMap.java,
11901 javax/swing/BoundedRangeModel.java,
11902 javax/swing/ButtonModel.java,
11903 javax/swing/CellEditor.java,
11904 javax/swing/CellRendererPane.java,
11905 javax/swing/ComboBoxEditor.java,
11906 javax/swing/DebugGraphics.java,
11907 javax/swing/DefaultCellEditor.java,
11908 javax/swing/DefaultCellRenderer.java,
11909 javax/swing/DefaultComboBoxModel.java,
11910 javax/swing/DefaultDesktopManager.java,
11911 javax/swing/DefaultFocusManager.java,
11912 javax/swing/DefaultListCellRenderer.java,
11913 javax/swing/Icon.java,
11914 javax/swing/JButton.java,
11915 javax/swing/JCheckBoxMenuItem.java,
11916 javax/swing/JDesktopPane.java,
11917 javax/swing/JEditorPane.java,
11918 javax/swing/JMenu.java,
11919 javax/swing/JPanel.java,
11920 javax/swing/JPasswordField.java,
11921 javax/swing/JPopupMenu.java,
11922 javax/swing/JProgressBar.java: Reworked imports.
11923
11924 2004-01-09 Michael Koch <konqueror@gmx.de>
11925
11926 * java/awt/geom/PathIterator.java
11927 (WIND_EVEN_ODD): Removed redundant modifiers.
11928 (WIND_NON_ZERO): Likewise.
11929 (SEG_MOVETO): Likewise.
11930 (SEG_LINETO): Likewise.
11931 (SEG_QUADTO): Likewise.
11932 (SEG_CUBICTO): Likewise.
11933 (SEG_CLOSE): Likewise.
11934 * java/awt/image/SinglePixelPackedSampleModel.java:
11935 Removed redundant semicolon.
11936 * java/io/ObjectInputStream.java
11937 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11938 * java/util/logging/Filter.java
11939 (isLoggable): Removed redundant modifier.
11940 * java/util/logging/LogManager.java:
11941 Removed redundant semicolon.
11942 * java/util/logging/XMLFormatter.java
11943 (format): Removed unused variable "key".
11944
11945 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11946
11947 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11948 New name for the former setFile native method.
11949 (setFile): New method.
11950 (setDirectory): Implemented.
11951 (connectSignals): New native method.
11952 (setFilenameFilter): Improve comment.
11953 (getGraphics): Comment.
11954 (gtkHideFileDialog): New method.
11955 (gtkDisposeFileDialog): New method.
11956 (gtkSetFilename): New method.
11957 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11958 for FileDialog for now.
11959 (hide): New method.
11960 (dispose): New method.
11961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11962 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11963 deprecated creation functions. Make dialog modal. Add it to the
11964 window group.
11965 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11966 function.
11967 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11968 Rename to...
11969 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11970 name.
11971 (window_closed): New function.
11972 (ok_clicked): New function.
11973 (cancel_clicked): New function.
11974
11975 2004-01-08 Michael Koch <konqueror@gmx.de>
11976
11977 * javax/swing/JLayeredPane.java: Revert changes to standard
11978 boilerplate, reworked imports.
11979
11980 2004-01-07 Tom Tromey <tromey@redhat.com>
11981
11982 PR libgcj/13439:
11983 * verify.cc (state::merge): Copy changed locals out of subroutine
11984 in NO_STACK case.
11985 (state::FLAG_CHANGED): New const.
11986 (state::FLAG_UNUSED): Likewise.
11987 (state::local_changed): Removed. Updated all users.
11988 (state::flags): New field.
11989 (state::merge): Added jsr_semantics argument, more logic.
11990 (push_jump_merge): Added jsr_semantics argument.
11991 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11992 merging through the jsr instruction.
11993
11994 2004-01-07 Tom Tromey <tromey@redhat.com>
11995
11996 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11997 backslash-newline.
11998
11999 2004-01-07 Graydon Hoare <graydon@redhat.com>
12000
12001 * java/awt/Container.java (LightweightDispatcher): Implement.
12002 (visitChild): Reuse graphics object.
12003 (dispatchEventImpl): Optionally dispatch to lightweight.
12004 (addNotifyContainerChildren): Build LightweightDispatcher.
12005
12006 2004-01-07 David Jee <djee@redhat.com>
12007
12008 * java/awt/Container.java
12009 (update): Clear only the clipped region, instead of clearing the
12010 entire Container.
12011 (visitChildren): Visit children in descending order.
12012
12013 2004-01-07 Michael Koch <konqueror@gmx.de>
12014
12015 * java/lang/reflect/Array.java: Merged documentation with classpath.
12016
12017 2004-01-07 Michael Koch <konqueror@gmx.de>
12018
12019 * java/text/CollationElementIterator.java
12020 (textIndex): Renamed from index.
12021 * java/text/CollationKey.java
12022 (collator): New member.
12023 (CollationKey): New argument for parent collator.
12024 (equals): Check for same collator, source string and key array.
12025 * java/text/RuleBasedCollator.java:
12026 Reformated.
12027 (RuleBasedCollator): Don't re-initialize frenchAccents with default
12028 value.
12029 (getCollationElementIterator): Rewritten.
12030 (getCollationKey): Added new argument to CollationKey constructor.
12031
12032 2004-01-07 Michael Koch <konqueror@gmx.de>
12033
12034 * gnu/java/nio/DatagramChannelImpl.java
12035 (blocking): Removed.
12036 (DatagramChannelImpl): Call configureBlocking().
12037 (implConfigureBlocking): Dont initialize blocking.
12038 * gnu/java/nio/ServerSocketChannelImpl.java
12039 (blocking): Removed.
12040 (ServerSocketChannelImpl): Call configureBlocking().
12041 (implConfigureBlocking): Dont initialize blocking.
12042 * gnu/java/nio/SocketChannelImpl.java
12043 (blocking): Removed.
12044 (SocketChannelImpl): Call configureBlocking().
12045 (implConfigureBlocking): Dont initialize blocking.
12046 (connect): Use isBlocking().
12047 * java/nio/channels/spi/AbstractSelectableChannel.java
12048 (configureBlocking): Use blockingLock() instead of LOCK.
12049 Set blocking after successfully called implConfigureBlocking().
12050 (register): Use blockingLock() instead of LOCK.
12051
12052 2004-01-07 Michael Koch <konqueror@gmx.de>
12053
12054 * java/net/ServerSocket.java (isBound): Fixed documentation.
12055
12056 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
12057
12058 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12059 (changeEvent): Create event object on demand.
12060 (DefaultBoundedRangeModel, toString, setValue, setExtent,
12061 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12062 fireStateChanged): Re-written.
12063 * javax/swing/event/EventListenerList.java: Reformatted, document
12064 typical usage.
12065 (toString): Implemented.
12066 (getListeners): Re-written.
12067 (remove): Re-written.
12068 (add): Re-written.
12069 (NO_LISTENERS): New singleton field.
12070 (listenerList): Declare as transient; document.
12071 (serialVersionUID): Document.
12072 (getListenerCount(Class)): More efficient implementation,
12073 also accepts null argument. Improve Javadoc.
12074 (getListenerCount()): Remove unnecessary cast; docfix.
12075 * javax/swing/undo/UndoableEditSupport.java:
12076 Re-format, document.
12077 (UndoableEditSupport): Set realSource field. Improve documentation.
12078 (_postEdit): Iterate over cloned listener vector.
12079 (toString): Don't emit realSource.
12080 (beginUpdate, endUpdate): Support nested updates.
12081 (postEdit): Use compound edit if present.
12082
12083 2004-01-06 Graydon Hoare <graydon@redhat.com>
12084
12085 * java/awt/Container.java (swapComponents): Add forgotten
12086 function, required for JLayeredPane change.
12087
12088 2004-01-06 Michael Koch <konqueror@gmx.de>
12089
12090 * java/text/CollationElementIterator.java: Reformated.
12091 (CollationElementIterator): Changed order of arguments.
12092 * java/text/RuleBasedCollator.java
12093 (RuleBasedCollator): Merged class documentation.
12094 (CollationElement): Added documentation.
12095 (compare): Reformated, renamed arguments.
12096 (equals): Likewise.
12097 (getCollationElementIterator): Likewise.
12098 (getCollationKey): Likewise.
12099
12100 2004-01-06 Graydon Hoare <graydon@redhat.com>
12101
12102 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12103
12104 2004-01-06 Michael Koch <konqueror@gmx.de>
12105
12106 * gnu/java/net/protocol/file/Connection.java:
12107 Reformated copyright.
12108 (hdrHash): Removed.
12109 (hdrVec): Removed.
12110 (gotHeaders): Removed.
12111 (getHeaderField): Removed.
12112 (getHeaderField): Removed.
12113 (getHeaderFieldKey): Removed.
12114 (getKey): Removed.
12115 (getField): Removed.
12116 (getHeaders): Removed.
12117
12118 2004-01-06 Michael Koch <konqueror@gmx.de>
12119
12120 * javax/print/attribute/standard/DateTimeAtCompleted.java,
12121 javax/print/attribute/standard/DateTimeAtCreation.java,
12122 javax/print/attribute/standard/DateTimeAtProcessing.java,
12123 javax/print/attribute/standard/JobImpressionsCompleted.java,
12124 javax/print/attribute/standard/JobKOctets.java,
12125 javax/print/attribute/standard/JobKOctetsProcessed.java,
12126 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12127 javax/print/attribute/standard/JobPrioritySupported.java: New files.
12128 * Makefile.am (javax_source_files): Added new files.
12129 * Makefile.in: Regenerated.
12130
12131 2004-01-06 Michael Koch <konqueror@gmx.de>
12132
12133 * java/net/URLConnection.java
12134 (contentHandler): Removed.
12135 (locale): Removed.
12136 (getHeaderFields): Return an empty map instead of null.
12137 (getContent): Connect if needed, renamed "cType" to "type" and
12138 "contentHandler" to "ch" and made it a local variable.
12139 (getPermission): Don't use package in class name.
12140 (setDefaultRequestProperty): Fixed typo in documentation.
12141 (initializeDateFormats): Made locale a local variable.
12142
12143 2004-01-06 Michael Koch <konqueror@gmx.de>
12144
12145 * java/lang/Package.java
12146 (getPackage): Get the current class loader directly.
12147 * java/lang/SecurityManager.java
12148 (currentLoadedClass): Dont iterate over class contexts.
12149 (classLoaderDepth): Don't check class loaders if everything is allowed.
12150
12151 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12152
12153 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12154 (pre_event_handler): Set all insets to 0 when a Configure event
12155 is received for a GtkPlug.
12156 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12157 Make handle long, not int.
12158 (EmbeddedWindow()): New constructor.
12159 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
12160 long, not int.
12161 (setHandle): New method.
12162 (getHandle): Return long, not int.
12163 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12164 declaration.
12165 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12166 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12167 (create(long)): Take long parameter, not int. Cast gtk_plug_new
12168 argument to GdkNativeWindow.
12169 (construct): New method.
12170 (embed): New method.
12171
12172 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12173 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12174 (create(int, int)): New method.
12175 (create): Call new create method.
12176 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12177 methods.
12178 (childResized): Remove native implementation. Implement in
12179 Java.
12180 (getHScrollbarHeight, getVScrollbarWidth): Call
12181 gtk_widget_size_request to get scrollbar dimensions.
12182 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
12183 call getVScrollbarWidth and getHScrollbarHeight when vertical
12184 and horizontal scrollbars respectively are needed.
12185 (doLayout): Enlarge child if it is smaller than the viewport.
12186
12187 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12188
12189 * java/awt/Dialog.java (constructor): Accept null title as per spec.
12190 * java/awt/FileDialog.java (constructor): Throw exception on invalid
12191 argument as per spec.
12192
12193 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12194
12195 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12196 (insert): Ditto.
12197 (remove): Ditto. Also, Check for valid argument.
12198 (removeAll): Use peer interface method.
12199 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12200 native add function.
12201 (nativeRemove): New name for native remove function.
12202 (getHistory): New native function.
12203 (constructor): Generate ItemEvent.
12204 (add): Ditto, if selection is changed.
12205 (remove): Ditto, ditto.
12206 (removeAll): Add implementation.
12207 (handleEvent): Remove. Dead code.
12208 (choicePostItemEvent): Add comment.
12209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12210 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12211 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12212 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
12213 comments and fix condition to change selection.
12214 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12215 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
12216 remove all capability.
12217 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12218 (item_activate): Add cast to remove compiler warning.
12219
12220 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12221
12222 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12223 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12224 (getPreferredSize): Call preferredSize.
12225 (preferredSize): Call gtkWidgetGetPreferredDimensions.
12226 (getMinimumSize): Call minimumSize.
12227 (minimumSize): Call gtkWidgetGetPreferredDimensions.
12228 (gtkWidgetGetDimensions): Return the peer widget's current size
12229 request.
12230 (gtkWidgetGetPreferredDimensions): Return the peer widget's
12231 natural size request.
12232
12233 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
12234
12235 Thanks to Brian Gough <bjg@network-theory.com>
12236 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12237 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12238
12239 2004-01-04 Matthias Klose <doko@debian.org>
12240
12241 * aclocal.m4: Rebuilt using "aclocal -I .".
12242 * configure: Rebuilt.
12243
12244 2004-01-03 Per Bothner <per@bothner.com>
12245
12246 * java/util/Date.java (parse): Fix a number of problems.
12247 (skipParens): Remove no-longer-needed method.
12248
This page took 0.526756 seconds and 4 git commands to generate.